2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_zlib_configure_flags
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
658 extra_isl_gmp_configure_flags
659 extra_mpc_mpfr_configure_flags
660 extra_mpc_gmp_configure_flags
661 extra_mpfr_configure_flags
677 extra_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
756 enable_compressed_debug_sections
758 enable_libquadmath_support
782 enable_isl_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
789 with_debug_prefix_map
792 enable_serial_configure
793 with_build_time_tools
794 enable_maintainer_mode
795 enable_stage1_checking
799 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 as_fn_error
"path to source, $srcdir, contains spaces"
1377 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures this package to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-as-accelerator-for=ARG
1471 build as offload target compiler. Specify offload
1473 --enable-offload-targets=LIST
1474 enable offloading to devices from comma-separated
1475 LIST of TARGET
[=DIR
]. Use optional path to
find
1476 offload target compiler during the build
1477 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1478 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1479 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1480 Enable compressed debug sections
for gas
, gold or ld
1482 --disable-libquadmath do not build libquadmath directory
1483 --disable-libquadmath-support
1484 disable libquadmath support
for Fortran
1485 --enable-libada build libada directory
1486 --enable-libssp build libssp directory
1487 --disable-libstdcxx do not build libstdc
++-v3 directory
1488 --enable-liboffloadmic=ARG
1489 build liboffloadmic
[ARG
={no
,host,target
}]
1490 --enable-bootstrap enable bootstrapping
[yes if native build
]
1491 --disable-isl-version-check
1492 disable check
for isl version
1493 --enable-lto enable link
time optimization support
1494 --enable-linker-plugin-configure-flags=FLAGS
1495 additional flags
for configuring linker plugins
1497 --enable-linker-plugin-flags=FLAGS
1498 additional flags
for configuring and building linker
1500 --enable-stage1-languages[=all
]
1501 choose additional languages to build during stage1.
1502 Mostly useful
for compiler development
1503 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1505 --enable-vtable-verify Enable vtable verification feature
1506 --enable-serial-[{host,target,build}-]configure
1507 force sequential configuration of sub-packages for
1508 the host, target or build machine, or all
1510 --enable-maintainer-mode
1511 enable make rules and dependencies not useful (and
1512 sometimes confusing) to the casual installer
1513 --enable-stage1-checking[=all]
1514 choose additional checking for stage1 of the
1516 --enable-werror enable -Werror in bootstrap stage2 and later
1517 --enable-host-shared build host code as shared libraries
1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1522 --with-build-libsubdir=DIR Directory where to find libraries for build system
1523 --with-system-zlib use installed libz
1524 --with-mpc=PATH specify prefix directory for installed MPC package.
1525 Equivalent to --with-mpc-include=PATH/include plus
1526 --with-mpc-lib=PATH/lib
1527 --with-mpc-include=PATH specify directory for installed MPC include files
1528 --with-mpc-lib=PATH specify directory for the installed MPC library
1529 --with-mpfr-dir=PATH this option has been REMOVED
1530 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1531 Equivalent to --with-mpfr-include=PATH/include plus
1532 --with-mpfr-lib=PATH/lib
1533 --with-mpfr-include=PATH
1534 specify directory for installed MPFR include files
1535 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1536 --with-gmp-dir=PATH this option has been REMOVED
1537 --with-gmp=PATH specify prefix directory for the installed GMP
1538 package. Equivalent to
1539 --with-gmp-include=PATH/include plus
1540 --with-gmp-lib=PATH/lib
1541 --with-gmp-include=PATH specify directory for installed GMP include files
1542 --with-gmp-lib=PATH specify directory for the installed GMP library
1543 --with-stage1-libs=LIBS libraries for stage1
1544 --with-stage1-ldflags=FLAGS
1545 linker flags for stage1
1546 --with-boot-libs=LIBS libraries for stage2 and later
1547 --with-boot-ldflags=FLAGS
1548 linker flags for stage2 and later
1549 --with-isl=PATH Specify prefix directory for the installed isl
1550 package. Equivalent to
1551 --with-isl-include=PATH/include plus
1552 --with-isl-lib=PATH/lib
1553 --with-isl-include=PATH Specify directory for installed isl include files
1554 --with-isl-lib=PATH Specify the directory for the installed isl library
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1575 additional configure arguments for build directories
1577 additional configure arguments for host directories
1579 additional configure arguments for target directories
1582 DLLTOOL DLLTOOL for the host
1584 LIPO LIPO for the host
1586 RANLIB RANLIB for the host
1587 STRIP STRIP for the host
1588 WINDRES WINDRES for the host
1589 WINDMC WINDMC for the host
1590 OBJCOPY OBJCOPY for the host
1591 OBJDUMP OBJDUMP for the host
1592 READELF READELF for the host
1602 GFORTRAN for the target
1610 DLLTOOL for the target
1618 OBJCOPY for the target
1620 OBJDUMP for the target
1622 RANLIB for the target
1624 READELF for the target
1626 STRIP for the target
1628 WINDRES for the target
1630 WINDMC for the target
1632 Use these variables to override the choices made by `configure' or to
help
1633 it to
find libraries and programs with nonstandard names
/locations.
1635 Report bugs to the package provider.
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1659 ac_abs_top_builddir
=$ac_pwd
1660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir
=$ac_top_build_prefix
1665 .
) # We are building in place.
1667 ac_top_srcdir
=$ac_top_builddir_sub
1668 ac_abs_top_srcdir
=$ac_pwd ;;
1669 [\\/]* | ?
:[\\/]* ) # Absolute name.
1670 ac_srcdir
=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir
=$srcdir
1672 ac_abs_top_srcdir
=$srcdir ;;
1674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1699 generated by GNU Autoconf
2.64
1701 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1702 This configure
script is free software
; the Free Software Foundation
1703 gives unlimited permission to copy
, distribute and modify it.
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile
()
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 rm -f conftest.
$ac_objext
1719 if { { ac_try
="$ac_compile"
1721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.
$ac_objext; then :
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.
$ac_ext >&5
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_cxx_try_link LINENO
1789 # -------------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_cxx_try_link
()
1793 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1794 rm -f conftest.
$ac_objext conftest
$ac_exeext
1795 if { { ac_try
="$ac_link"
1797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_cxx_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 } # ac_fn_cxx_try_link
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 rm -f conftest.$ac_objext conftest$ac_exeext
1841 if { { ac_try="$ac_link"
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err
; then
1851 grep -v '^ *+' conftest.err
>conftest.er1
1852 cat conftest.er1
>&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest
$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 $as_test_x conftest
$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_try_link
1879 cat >config.log
<<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1883 It was created by $as_me, which was
1884 generated by GNU Autoconf 2.64. Invocation command line was
1896 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1897 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1898 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1899 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1900 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1902 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1903 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1905 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1906 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1907 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1908 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1909 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1910 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1911 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 $as_echo "PATH: $as_dir"
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1944 ac_must_keep_next
=false
1950 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1951 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1952 |
-silent |
--silent |
--silen |
--sile |
--sil)
1955 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1958 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1960 as_fn_append ac_configure_args1
" '$ac_arg'"
1961 if test $ac_must_keep_next = true
; then
1962 ac_must_keep_next
=false
# Got value, back to normal.
1965 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1966 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1967 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1968 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1969 case "$ac_configure_args0 " in
1970 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973 -* ) ac_must_keep_next
=true
;;
1976 as_fn_append ac_configure_args
" '$ac_arg'"
1981 { ac_configure_args0
=; unset ac_configure_args0
;}
1982 { ac_configure_args1
=; unset ac_configure_args1
;}
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log. We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990 # Save into config.log some information that might help in debugging.
1995 ## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2033 ## ----------------- ##
2034 ## Output variables. ##
2035 ## ----------------- ##
2038 for ac_var in $ac_subst_vars
2040 eval ac_val=\$$ac_var
2042 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -n "$ac_subst_files"; then
2050 ## ------------------- ##
2051 ## File substitutions. ##
2052 ## ------------------- ##
2055 for ac_var
in $ac_subst_files
2057 eval ac_val
=\$
$ac_var
2059 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -s confdefs.h; then
2076 test "$ac_signal" != 0 &&
2077 $as_echo "$as_me: caught signal $ac_signal"
2078 $as_echo "$as_me: exit $exit_status"
2080 rm -f core *.core core.conftest.* &&
2081 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2084 for ac_signal
in 1 2 13 15; do
2085 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2090 rm -f -r conftest
* confdefs.h
2092 $as_echo "/* confdefs.h */" > confdefs.h
2094 # Predefined preprocessor variables.
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_NAME "$PACKAGE_NAME"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_STRING "$PACKAGE_STRING"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_URL "$PACKAGE_URL"
2121 # Let the site file select an alternate cache file if it wants to.
2122 # Prefer an explicitly selected file to automatically selected ones.
2125 if test -n "$CONFIG_SITE"; then
2126 ac_site_file1
=$CONFIG_SITE
2127 elif test "x$prefix" != xNONE
; then
2128 ac_site_file1
=$prefix/share
/config.site
2129 ac_site_file2
=$prefix/etc
/config.site
2131 ac_site_file1
=$ac_default_prefix/share
/config.site
2132 ac_site_file2
=$ac_default_prefix/etc
/config.site
2134 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2136 test "x$ac_site_file" = xNONE
&& continue
2137 if test -r "$ac_site_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2139 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2140 sed 's/^/| /' "$ac_site_file" >&5
2145 if test -r "$cache_file"; then
2146 # Some versions of bash will fail to source /dev/null (special
2147 # files actually), so we avoid doing that.
2148 if test -f "$cache_file"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2153 *) .
"./$cache_file";;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
2162 # Check that the precious variables saved in the cache have kept the same
2164 ac_cache_corrupted
=false
2165 for ac_var
in $ac_precious_vars; do
2166 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2167 eval ac_new_set
=\
$ac_env_${ac_var}_set
2168 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2169 eval ac_new_val
=\
$ac_env_${ac_var}_value
2170 case $ac_old_set,$ac_new_set in
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2174 ac_cache_corrupted
=: ;;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2177 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2178 ac_cache_corrupted
=: ;;
2181 if test "x$ac_old_val" != "x$ac_new_val"; then
2182 # differences in whitespace do not lead to failure.
2183 ac_old_val_w
=`echo x $ac_old_val`
2184 ac_new_val_w
=`echo x $ac_new_val`
2185 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2188 ac_cache_corrupted
=:
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2192 eval $ac_var=\
$ac_old_val
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2195 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2200 # Pass precious variables to config.status.
2201 if test "$ac_new_set" = set; then
2203 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2204 *) ac_arg
=$ac_var=$ac_new_val ;;
2206 case " $ac_configure_args " in
2207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2208 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2212 if $ac_cache_corrupted; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2217 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2219 ## -------------------- ##
2220 ## Main body of script. ##
2221 ## -------------------- ##
2224 ac_cpp
='$CPP $CPPFLAGS'
2225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2238 # if PWD already has a value, it is probably wrong.
2239 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2241 # Export original configure arguments for use by sub-configures.
2242 # Quote arguments with shell meta charatcers.
2243 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2244 set -- "$progname" "$@"
2248 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2249 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2250 # if the argument is of the form -foo=baz, quote the baz part only
2251 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2254 # Add the quoted argument to the list.
2255 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2257 if test "$silent" = yes; then
2258 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2260 # Remove the initial space we just introduced and, as these will be
2261 # expanded by make, quote '$'.
2262 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2265 # Find the build, host, and target systems.
2267 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2268 for ac_t
in install-sh
install.sh shtool
; do
2269 if test -f "$ac_dir/$ac_t"; then
2271 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2276 if test -z "$ac_aux_dir"; then
2277 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2280 # These three variables are undocumented and unsupported,
2281 # and are intended to be withdrawn in a future Autoconf release.
2282 # They can cause serious problems if a builder's source tree is in a directory
2283 # whose full name contains unusual characters.
2284 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2285 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2286 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2289 # Make sure we can run config.sub.
2290 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2291 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2294 $as_echo_n "checking build system type... " >&6; }
2295 if test "${ac_cv_build+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 ac_build_alias
=$build_alias
2299 test "x$ac_build_alias" = x
&&
2300 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2301 test "x$ac_build_alias" = x
&&
2302 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2303 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2304 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2308 $as_echo "$ac_cv_build" >&6; }
2309 case $ac_cv_build in
2311 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2314 ac_save_IFS
=$IFS; IFS
='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2327 case ${build_alias} in
2328 "") build_noncanonical
=${build} ;;
2329 *) build_noncanonical
=${build_alias} ;;
2334 case ${host_alias} in
2335 "") host_noncanonical
=${build_noncanonical} ;;
2336 *) host_noncanonical
=${host_alias} ;;
2341 case ${target_alias} in
2342 "") target_noncanonical
=${host_noncanonical} ;;
2343 *) target_noncanonical
=${target_alias} ;;
2349 test "$host_noncanonical" = "$target_noncanonical" &&
2350 test "$program_prefix$program_suffix$program_transform_name" = \
2352 program_transform_name
=s
,y
,y
,
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2355 $as_echo_n "checking host system type... " >&6; }
2356 if test "${ac_cv_host+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 if test "x$host_alias" = x
; then
2360 ac_cv_host
=$ac_cv_build
2362 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2363 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2368 $as_echo "$ac_cv_host" >&6; }
2371 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2374 ac_save_IFS
=$IFS; IFS
='-'
2380 # Remember, the first character of IFS is used to create $*,
2381 # except with old shells:
2384 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2388 $as_echo_n "checking target system type... " >&6; }
2389 if test "${ac_cv_target+set}" = set; then :
2390 $as_echo_n "(cached) " >&6
2392 if test "x$target_alias" = x
; then
2393 ac_cv_target
=$ac_cv_host
2395 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2396 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2401 $as_echo "$ac_cv_target" >&6; }
2402 case $ac_cv_target in
2404 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2406 target
=$ac_cv_target
2407 ac_save_IFS
=$IFS; IFS
='-'
2413 # Remember, the first character of IFS is used to create $*,
2414 # except with old shells:
2417 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2420 # The aliases save the names the user supplied, while $host etc.
2421 # will get canonicalized.
2422 test -n "$target_alias" &&
2423 test "$program_prefix$program_suffix$program_transform_name" = \
2425 program_prefix
=${target_alias}-
2427 test "$program_prefix" != NONE
&&
2428 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2429 # Use a double $ so make ignores it.
2430 test "$program_suffix" != NONE
&&
2431 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2432 # Double any \ or $.
2433 # By default was `s,x,x', remove it if useless.
2434 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2435 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2439 # Get 'install' or 'install-sh' and its variants.
2440 # Find a good install program. We prefer a C program (faster),
2441 # so one script is as good as another. But avoid the broken or
2442 # incompatible versions:
2443 # SysV /etc/install, /usr/sbin/install
2444 # SunOS /usr/etc/install
2445 # IRIX /sbin/install
2447 # AmigaOS /C/install, which installs bootblocks on floppy discs
2448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2451 # OS/2's system install, which has a completely different semantic
2452 # ./install, which can be erroneously created by make from ./install.sh.
2453 # Reject install programs that cannot install multiple files.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2456 if test -z "$INSTALL"; then
2457 if test "${ac_cv_path_install+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 # Account for people who put trailing slashes in PATH elements.
2466 case $as_dir/ in #((
2467 .
/ | .
// |
/[cC
]/* | \
2468 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2469 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2472 # OSF1 and SCO ODT 3.0 have their own names for install.
2473 # Don't use installbsd from OSF since it installs stuff as root
2475 for ac_prog
in ginstall scoinst
install; do
2476 for ac_exec_ext
in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2478 if test $ac_prog = install &&
2479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2480 # AIX install. It has an incompatible calling convention.
2482 elif test $ac_prog = install &&
2483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2484 # program-specific install script used by HP pwplus--don't use.
2487 rm -rf conftest.one conftest.two conftest.dir
2488 echo one
> conftest.one
2489 echo two
> conftest.two
2491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2492 test -s conftest.one
&& test -s conftest.two
&&
2493 test -s conftest.dir
/conftest.one
&&
2494 test -s conftest.dir
/conftest.two
2496 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2509 rm -rf conftest.one conftest.two conftest.dir
2512 if test "${ac_cv_path_install+set}" = set; then
2513 INSTALL
=$ac_cv_path_install
2515 # As a last resort, use the slow shell script. Don't cache a
2516 # value for INSTALL within a source directory, because that will
2517 # break other packages using the cache if that directory is
2518 # removed, or if the value is a relative name.
2519 INSTALL
=$ac_install_sh
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2523 $as_echo "$INSTALL" >&6; }
2525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2526 # It thinks the first close brace ends the variable substitution.
2527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2531 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2534 $as_echo_n "checking whether ln works... " >&6; }
2535 if test "${acx_cv_prog_LN+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 rm -f conftestdata_t
2539 echo >conftestdata_f
2540 if ln conftestdata_f conftestdata_t
2>/dev
/null
2546 rm -f conftestdata_f conftestdata_t
2549 if test $acx_cv_prog_LN = no
; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2552 $as_echo "no, using $LN" >&6; }
2554 LN
="$acx_cv_prog_LN"
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2560 $as_echo_n "checking whether ln -s works... " >&6; }
2562 if test "$LN_S" = "ln -s"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564 $as_echo "yes" >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2567 $as_echo "no, using $LN_S" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2571 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2572 if test "${ac_cv_path_SED+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2576 for ac_i
in 1 2 3 4 5 6 7; do
2577 ac_script
="$ac_script$as_nl$ac_script"
2579 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2580 { ac_script
=; unset ac_script
;}
2581 if test -z "$SED"; then
2582 ac_path_SED_found
=false
2583 # Loop through the user's path and test for each of PROGNAME-LIST
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_prog
in sed gsed
; do
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2592 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2593 # Check for GNU ac_path_SED and select it if it is found.
2594 # Check for GNU $ac_path_SED
2595 case `"$ac_path_SED" --version 2>&1` in
2597 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2600 $as_echo_n 0123456789 >"conftest.in"
2603 cat "conftest.in" "conftest.in" >"conftest.tmp"
2604 mv "conftest.tmp" "conftest.in"
2605 cp "conftest.in" "conftest.nl"
2606 $as_echo '' >> "conftest.nl"
2607 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2610 if test $ac_count -gt ${ac_path_SED_max-0}; then
2611 # Best one so far, save it but keep looking for a better one
2612 ac_cv_path_SED
="$ac_path_SED"
2613 ac_path_SED_max
=$ac_count
2615 # 10*(2^10) chars as input seems more than enough
2616 test $ac_count -gt 10 && break
2618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2621 $ac_path_SED_found && break 3
2626 if test -z "$ac_cv_path_SED"; then
2627 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2635 $as_echo "$ac_cv_path_SED" >&6; }
2636 SED
="$ac_cv_path_SED"
2639 for ac_prog
in gawk mawk nawk
awk
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_AWK+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$AWK"; then
2649 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_AWK
="$ac_prog"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$AWK"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2671 $as_echo "$AWK" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$AWK" && break
2682 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2684 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2686 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2687 INSTALL
="${srcpwd}/install-sh -c"
2690 # Set srcdir to "." if that's what it is.
2691 # This is important for multilib support.
2693 if test "${pwd}" = "${srcpwd}" ; then
2701 ### To add a new directory to the tree, first choose whether it is a target
2702 ### or a host dependent tool. Then put it into the appropriate list
2703 ### (library or tools, host or target), doing a dependency sort.
2705 # Subdirs will be configured in the order listed in build_configdirs,
2706 # configdirs, or target_configdirs; see the serialization section below.
2708 # Dependency sorting is only needed when *configuration* must be done in
2709 # a particular order. In all cases a dependency should be specified in
2710 # the Makefile, whether or not it's implicitly specified here.
2712 # Double entries in build_configdirs, configdirs, or target_configdirs may
2713 # cause circular dependencies and break everything horribly.
2715 # these library is used by various programs built for the build
2718 build_libs
="build-libiberty build-libcpp"
2720 # these tools are built for the build environment
2721 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2723 # these libraries are used by various programs built for the host environment
2725 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2727 # these tools are built for the host environment
2728 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2729 # know that we are building the simulator.
2730 # binutils, gas and ld appear in that order because it makes sense to run
2731 # "make check" in that particular order.
2732 # If --enable-gold is used, "gold" may replace "ld".
2733 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"
2735 # these libraries are built for the target environment, and are built after
2736 # the host libraries and the host tools (which may be a cross compiler)
2737 # Note that libiberty is not a target library.
2738 target_libraries
="target-libgcc \
2739 target-libbacktrace \
2744 target-liboffloadmic \
2747 target-libstdc++-v3 \
2748 target-libsanitizer \
2752 target-libquadmath \
2753 target-libgfortran \
2760 # these tools are built using the target libraries, and are intended to
2761 # run only in the target environment
2763 # note: any program that *uses* libraries that are in the "target_libraries"
2764 # list belongs in this list.
2766 target_tools
="target-rda"
2768 ################################################################################
2770 ## All tools belong in one of the four categories, and are assigned above
2771 ## We assign ${configdirs} this way to remove all embedded newlines. This
2772 ## is important because configure will choke if they ever get through.
2773 ## ${configdirs} is directories we build using the host tools.
2774 ## ${target_configdirs} is directories we build using the target tools.
2775 configdirs
=`echo ${host_libs} ${host_tools}`
2776 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2777 build_configdirs
=`echo ${build_libs} ${build_tools}`
2781 ################################################################################
2783 srcname
="gnu development package"
2785 # This gets set non-empty for some net releases of packages.
2788 # Define is_cross_compiler to save on calls to 'test'.
2790 if test x
"${host}" = x
"${target}" ; then
2791 is_cross_compiler
=no
2793 is_cross_compiler
=yes
2796 # Find the build and target subdir names.
2798 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2799 # have matching libraries, they should use host libraries: Makefile.tpl
2800 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2801 # However, they still use the build modules, because the corresponding
2802 # host modules (e.g. bison) are only built for the host when bootstrap
2804 # - build_subdir is where we find build modules, and never changes.
2805 # - build_libsubdir is where we find build libraries, and can be overridden.
2807 # Prefix 'build-' so this never conflicts with target_subdir.
2808 build_subdir
="build-${build_noncanonical}"
2810 # Check whether --with-build-libsubdir was given.
2811 if test "${with_build_libsubdir+set}" = set; then :
2812 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2814 build_libsubdir
="$build_subdir"
2817 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2818 if ( test $srcdir = .
&& test -d gcc
) \
2819 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2820 host_subdir
="host-${host_noncanonical}"
2825 target_subdir
=${target_noncanonical}
2827 # Be sure to cover against remnants of an in-tree build.
2828 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2829 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2830 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2833 # Skipdirs are removed silently.
2835 # Noconfigdirs are removed loudly.
2839 # Make sure we don't let GNU ld be added if we didn't want it.
2840 if test x
$with_gnu_ld = xno
; then
2842 noconfigdirs
="$noconfigdirs ld gold"
2846 # Make sure we don't let GNU as be added if we didn't want it.
2847 if test x
$with_gnu_as = xno
; then
2849 noconfigdirs
="$noconfigdirs gas"
2854 # Check whether --with-system-zlib was given.
2855 if test "${with_system_zlib+set}" = set; then :
2856 withval
=$with_system_zlib;
2859 # Make sure we don't let ZLIB be added if we didn't want it.
2860 if test x
$with_system_zlib = xyes
; then
2861 use_included_zlib
=no
2862 noconfigdirs
="$noconfigdirs zlib"
2865 # some tools are so dependent upon X11 that if we're not building with X,
2866 # it's not even worth trying to configure, much less build, that tool.
2869 yes |
"") ;; # the default value for this tree is that X11 is available
2871 skipdirs
="${skipdirs} tk itcl libgui"
2872 # We won't be able to build gdbtk without X.
2875 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2878 # Some are only suitable for cross toolchains.
2879 # Remove these if host=target.
2880 cross_only
="target-libgloss target-newlib target-opcodes"
2882 case $is_cross_compiler in
2883 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2886 # If both --with-headers and --with-libs are specified, default to
2888 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2889 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2890 if test x
"${with_newlib}" = x
; then
2895 # Recognize --with-newlib/--without-newlib.
2896 case ${with_newlib} in
2897 no
) skipdirs
="${skipdirs} target-newlib" ;;
2898 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2901 # Check whether --enable-as-accelerator-for was given.
2902 if test "${enable_as_accelerator_for+set}" = set; then :
2903 enableval
=$enable_as_accelerator_for;
2907 # Check whether --enable-offload-targets was given.
2908 if test "${enable_offload_targets+set}" = set; then :
2909 enableval
=$enable_offload_targets;
2910 if test x
"$enable_offload_targets" = x
; then
2911 as_fn_error
"no offload targets specified" "$LINENO" 5
2915 enable_offload_targets
=
2919 # Handle --enable-gold, --enable-ld.
2920 # --disable-gold [--enable-ld]
2921 # Build only ld. Default option.
2922 # --enable-gold [--enable-ld]
2923 # Build both gold and ld. Install gold as "ld.gold", install ld
2924 # as "ld.bfd" and "ld".
2925 # --enable-gold=default [--enable-ld]
2926 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2927 # install ld as "ld.bfd".
2928 # --enable-gold[=default] --disable-ld
2929 # Build only gold, which is then installed as both "ld.gold" and "ld".
2930 # --enable-gold --enable-ld=default
2931 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2933 # In other words, ld is default
2934 # --enable-gold=default --enable-ld=default
2938 # Check whether --enable-gold was given.
2939 if test "${enable_gold+set}" = set; then :
2940 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2945 case "${ENABLE_GOLD}" in
2947 # Check for ELF target.
2950 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2951 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2952 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2953 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2955 *-*-linux*aout
* |
*-*-linux*oldld
*)
2963 if test "$is_elf" = "yes"; then
2964 # Check for target supported by gold.
2966 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2967 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2968 configdirs
="$configdirs gold"
2969 if test x
${ENABLE_GOLD} = xdefault
; then
2980 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2984 # Check whether --enable-ld was given.
2985 if test "${enable_ld+set}" = set; then :
2986 enableval
=$enable_ld; ENABLE_LD
=$enableval
2992 case "${ENABLE_LD}" in
2994 if test x
${default_ld} != x
; then
2995 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3001 if test x
${ENABLE_GOLD} != xyes
; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3003 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3005 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3008 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3013 # Decide the default method for compressing debug sections.
3014 # Provide a configure time option to override our default.
3015 # Check whether --enable-compressed_debug_sections was given.
3016 if test "${enable_compressed_debug_sections+set}" = set; then :
3017 enableval
=$enable_compressed_debug_sections;
3018 if test x
"$enable_compressed_debug_sections" = xyes
; then
3019 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3023 enable_compressed_debug_sections
=
3027 # Configure extra directories which are host specific
3031 configdirs
="$configdirs libtermcap" ;;
3034 # A target can indicate whether a language isn't supported for some reason.
3035 # Only spaces may be used in this macro; not newlines or tabs.
3036 unsupported_languages
=
3038 # Remove more programs from consideration, based on the host or
3039 # target this usually means that a port of the program doesn't
3043 i
[3456789]86-*-msdosdjgpp*)
3044 noconfigdirs
="$noconfigdirs tcl tk itcl"
3049 # Check whether --enable-libquadmath was given.
3050 if test "${enable_libquadmath+set}" = set; then :
3051 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3053 ENABLE_LIBQUADMATH
=yes
3056 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3057 noconfigdirs
="$noconfigdirs target-libquadmath"
3061 # Check whether --enable-libquadmath-support was given.
3062 if test "${enable_libquadmath_support+set}" = set; then :
3063 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3065 ENABLE_LIBQUADMATH_SUPPORT
=yes
3068 enable_libquadmath_support
=
3069 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3070 enable_libquadmath_support
=no
3074 # Check whether --enable-libada was given.
3075 if test "${enable_libada+set}" = set; then :
3076 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3081 if test "${ENABLE_LIBADA}" != "yes" ; then
3082 noconfigdirs
="$noconfigdirs gnattools"
3085 # Check whether --enable-libssp was given.
3086 if test "${enable_libssp+set}" = set; then :
3087 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3093 # Check whether --enable-libstdcxx was given.
3094 if test "${enable_libstdcxx+set}" = set; then :
3095 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3097 ENABLE_LIBSTDCXX
=default
3100 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3101 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3104 # If this is accelerator compiler and its target is intelmic we enable
3105 # target liboffloadmic by default. If this is compiler with offloading
3106 # for intelmic we enable host liboffloadmic by default. Otherwise
3107 # liboffloadmic is disabled by default.
3108 # Check whether --enable-liboffloadmic was given.
3109 if test "${enable_liboffloadmic+set}" = set; then :
3110 enableval
=$enable_liboffloadmic; case "$enableval" in
3112 enable_liboffloadmic
=$enableval ;;
3114 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3117 if test x
"$enable_as_accelerator_for" != x
; then
3119 *-intelmic-* |
*-intelmicemul-*)
3120 enable_liboffloadmic
=target
3121 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3124 enable_liboffloadmic
=no
3128 case "${enable_offload_targets}" in
3129 *-intelmic-* |
*-intelmicemul-*)
3130 enable_liboffloadmic
=host
3131 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3134 enable_liboffloadmic
=no
3142 # Enable libgomp by default on hosted POSIX systems, and a few others.
3143 if test x
$enable_libgomp = x
; then
3145 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3147 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3149 *-*-solaris2* |
*-*-hpux11*)
3151 *-*-darwin* |
*-*-aix*)
3156 noconfigdirs
="$noconfigdirs target-libgomp"
3161 # Disable libatomic on unsupported systems.
3162 if test -d ${srcdir}/libatomic
; then
3163 if test x
$enable_libatomic = x
; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3165 $as_echo_n "checking for libatomic support... " >&6; }
3166 if (srcdir
=${srcdir}/libatomic
; \
3167 .
${srcdir}/configure.tgt
; \
3168 test -n "$UNSUPPORTED")
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 noconfigdirs
="$noconfigdirs target-libatomic"
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3180 # Disable libcilkrts on unsupported systems.
3181 if test -d ${srcdir}/libcilkrts
; then
3182 if test x
$enable_libcilkrts = x
; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3184 $as_echo_n "checking for libcilkrts support... " >&6; }
3185 if (srcdir
=${srcdir}/libcilkrts
; \
3186 .
${srcdir}/configure.tgt
; \
3187 test -n "$UNSUPPORTED")
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 noconfigdirs
="$noconfigdirs target-libcilkrts"
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3199 # Disable liboffloadmic on unsupported systems.
3200 if test -d ${srcdir}/liboffloadmic
; then
3201 if test x
$enable_liboffloadmic != xno
; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3203 $as_echo_n "checking for liboffloadmic support... " >&6; }
3204 if (srcdir
=${srcdir}/liboffloadmic
; \
3205 .
${srcdir}/configure.tgt
; \
3206 test -n "$UNSUPPORTED")
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3210 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3218 # Disable libitm on unsupported systems.
3219 if test -d ${srcdir}/libitm
; then
3220 if test x
$enable_libitm = x
; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3222 $as_echo_n "checking for libitm support... " >&6; }
3223 if (srcdir
=${srcdir}/libitm
; \
3224 .
${srcdir}/configure.tgt
; \
3225 test -n "$UNSUPPORTED")
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 noconfigdirs
="$noconfigdirs target-libitm"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3237 # Disable libsanitizer on unsupported systems.
3238 if test -d ${srcdir}/libsanitizer
; then
3239 if test x
$enable_libsanitizer = x
; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3241 $as_echo_n "checking for libsanitizer support... " >&6; }
3242 if (srcdir
=${srcdir}/libsanitizer
; \
3243 .
${srcdir}/configure.tgt
; \
3244 test -n "$UNSUPPORTED")
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 noconfigdirs
="$noconfigdirs target-libsanitizer"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3256 # Disable libvtv on unsupported systems.
3257 if test -d ${srcdir}/libvtv
; then
3258 if test x
$enable_libvtv = x
; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3260 $as_echo_n "checking for libvtv support... " >&6; }
3261 if (srcdir
=${srcdir}/libvtv
; \
3262 .
${srcdir}/configure.tgt
; \
3263 test "$VTV_SUPPORTED" != "yes")
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3267 noconfigdirs
="$noconfigdirs target-libvtv"
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3270 $as_echo "yes" >&6; }
3276 # Enable libmpx on supported systems by request.
3277 if test -d ${srcdir}/libmpx
; then
3278 if test x
$enable_libmpx = x
; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3280 $as_echo_n "checking for libmpx support... " >&6; }
3281 if (srcdir
=${srcdir}/libmpx
; \
3282 .
${srcdir}/configure.tgt
; \
3283 test "$LIBMPX_SUPPORTED" != "yes")
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 noconfigdirs
="$noconfigdirs target-libmpx"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3297 # Disable libquadmath for some systems.
3300 noconfigdirs
="$noconfigdirs target-libquadmath"
3302 # libquadmath is unused on AIX and libquadmath build process use of
3303 # LD_LIBRARY_PATH can break AIX bootstrap.
3304 powerpc-
*-aix* | rs6000-
*-aix*)
3305 noconfigdirs
="$noconfigdirs target-libquadmath"
3309 # Disable libssp for some systems.
3312 # No hosted I/O support.
3313 noconfigdirs
="$noconfigdirs target-libssp"
3315 powerpc-
*-aix* | rs6000-
*-aix*)
3316 noconfigdirs
="$noconfigdirs target-libssp"
3319 # libssp uses a misaligned load to trigger a fault, but the RL78
3320 # doesn't fault for those - instead, it gives a build-time error
3321 # for explicit misaligned loads.
3322 noconfigdirs
="$noconfigdirs target-libssp"
3325 # No hosted I/O support.
3326 noconfigdirs
="$noconfigdirs target-libssp"
3330 # Disable libstdc++-v3 for some systems.
3331 # Allow user to override this if they pass --enable-libstdc++-v3
3332 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3335 # VxWorks uses the Dinkumware C++ library.
3336 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3339 # the C++ libraries don't build on top of CE's C libraries
3340 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3343 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3346 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3351 # Disable Fortran for some systems.
3354 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3355 unsupported_languages
="$unsupported_languages fortran"
3359 # Disable libffi for some systems.
3363 i
[3456789]86-*-darwin*)
3365 x86_64-
*-darwin[912]*)
3368 noconfigdirs
="$noconfigdirs target-libffi"
3371 noconfigdirs
="$noconfigdirs target-libffi"
3374 noconfigdirs
="$noconfigdirs target-libffi"
3377 noconfigdirs
="$noconfigdirs target-libffi"
3380 noconfigdirs
="$noconfigdirs target-libffi"
3383 noconfigdirs
="$noconfigdirs target-libffi"
3386 noconfigdirs
="$noconfigdirs target-libffi"
3388 aarch64
*-*-freebsd*)
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"
3403 cris-
*-* | crisv32-
*-*)
3407 *) # See PR46792 regarding target-libffi.
3408 noconfigdirs
="$noconfigdirs target-libffi";;
3412 noconfigdirs
="$noconfigdirs target-libffi"
3417 noconfigdirs
="$noconfigdirs target-libffi"
3420 noconfigdirs
="$noconfigdirs target-libffi"
3422 i
[3456789]86-w64-mingw*)
3423 noconfigdirs
="$noconfigdirs target-libffi"
3425 i
[3456789]86-*-mingw*)
3426 noconfigdirs
="$noconfigdirs target-libffi"
3429 noconfigdirs
="$noconfigdirs target-libffi"
3432 noconfigdirs
="$noconfigdirs target-libffi"
3435 # copied from rs6000-*-* entry
3436 noconfigdirs
="$noconfigdirs target-libffi"
3439 noconfigdirs
="$noconfigdirs target-libffi"
3442 noconfigdirs
="$noconfigdirs target-libffi"
3445 noconfigdirs
="$noconfigdirs target-libffi"
3449 # Disable the go frontend on systems where it is known to not work. Please keep
3450 # this in sync with contrib/config-list.mk.
3452 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3453 unsupported_languages
="$unsupported_languages go"
3457 # Disable libgo for some systems where it is known to not work.
3458 # For testing, you can easily override this with --enable-libgo.
3459 if test x
$enable_libgo = x
; then
3463 noconfigdirs
="$noconfigdirs target-libgo"
3465 *-*-cygwin* |
*-*-mingw*)
3466 noconfigdirs
="$noconfigdirs target-libgo"
3469 noconfigdirs
="$noconfigdirs target-libgo"
3474 # Default libgloss CPU subdirectory.
3475 libgloss_dir
="$target_cpu"
3478 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3482 libgloss_dir
=aarch64
3487 cris-
*-* | crisv32-
*-*)
3496 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3497 libgloss_dir
=m68hc11
3499 m68
*-*-* | fido-
*-*)
3513 # Disable newlib and libgloss for various target OSes.
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3518 i
[3456789]86-*-linux*)
3519 # This section makes it possible to build newlib natively on linux.
3520 # If we are using a cross compiler then don't configure newlib.
3521 if test x
${is_cross_compiler} != xno
; then
3522 noconfigdirs
="$noconfigdirs target-newlib"
3524 noconfigdirs
="$noconfigdirs target-libgloss"
3525 # If we are not using a cross compiler, do configure newlib.
3526 # Note however, that newlib will only be configured in this situation
3527 # if the --with-newlib option has been given, because otherwise
3528 # 'target-newlib' will appear in skipdirs.
3530 i
[3456789]86-*-rdos*)
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3533 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3537 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3546 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3552 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3554 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
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"
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3584 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3585 noconfigdirs
="$noconfigdirs sim target-rda"
3588 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3589 noconfigdirs
="$noconfigdirs sim target-rda"
3592 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3593 noconfigdirs
="$noconfigdirs sim target-rda"
3595 i
[3456789]86-*-darwin*)
3596 noconfigdirs
="$noconfigdirs ld gprof"
3597 noconfigdirs
="$noconfigdirs sim target-rda"
3599 x86_64-
*-darwin[912]*)
3600 noconfigdirs
="$noconfigdirs ld gas gprof"
3601 noconfigdirs
="$noconfigdirs sim target-rda"
3604 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3605 noconfigdirs
="$noconfigdirs sim target-rda"
3610 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3611 && test -f /usr
/local
/include
/gmp.h
; then
3616 # Remove unsupported stuff on all kaOS configurations.
3617 noconfigdirs
="$noconfigdirs target-libgloss"
3624 noconfigdirs
="$noconfigdirs target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-libgloss"
3628 # this is not caught below because this stanza matches earlier
3630 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3633 # The tpf target doesn't support gdb yet.
3635 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3638 noconfigdirs
="$noconfigdirs target-rda"
3643 # ld works, but does not support shared libraries.
3644 # gas doesn't generate exception information.
3645 noconfigdirs
="$noconfigdirs gas ld"
3648 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3651 # newlib is not 64 bit ready
3652 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3654 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3655 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3658 noconfigdirs
="$noconfigdirs sim"
3661 noconfigdirs
="$noconfigdirs target-libgloss"
3664 noconfigdirs
="$noconfigdirs ld target-libgloss"
3667 if test x
${with_avrlibc} != xno
; then
3668 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3671 c4x-
*-* | tic4x-
*-*)
3672 noconfigdirs
="$noconfigdirs target-libgloss"
3675 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3678 noconfigdirs
="$noconfigdirs target-libgloss"
3681 noconfigdirs
="$noconfigdirs gdb"
3684 noconfigdirs
="$noconfigdirs gdb"
3687 noconfigdirs
="$noconfigdirs target-rda gprof"
3690 noconfigdirs
="$noconfigdirs"
3693 noconfigdirs
="$noconfigdirs target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3698 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3701 noconfigdirs
="$noconfigdirs gdb"
3704 noconfigdirs
="$noconfigdirs gdb ld"
3712 hppa
*-*-openbsd* | \
3718 noconfigdirs
="$noconfigdirs ld"
3721 noconfigdirs
="$noconfigdirs gdb"
3724 # No gdb support yet.
3725 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3728 # No ld support yet.
3729 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3732 # No ld support yet.
3733 noconfigdirs
="$noconfigdirs libgui itcl ld"
3735 i
[3456789]86-w64-mingw*)
3737 i
[3456789]86-*-mingw*)
3738 target_configdirs
="$target_configdirs target-winsup"
3741 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3742 noconfigdirs
="$noconfigdirs target-libgloss"
3743 # always build newlib if winsup directory is present.
3744 if test -d "$srcdir/winsup/cygwin"; then
3745 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3746 elif test -d "$srcdir/newlib"; then
3747 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3751 noconfigdirs
="$noconfigdirs target-libgloss"
3753 i
[3456789]86-*-sco3.2v5
*)
3754 # The linker does not yet know about weak symbols in COFF,
3755 # and is not configured to handle mixed ELF and COFF.
3756 noconfigdirs
="$noconfigdirs ld target-libgloss"
3758 i
[3456789]86-*-sco*)
3759 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3761 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3762 noconfigdirs
="$noconfigdirs target-libgloss"
3764 i
[3456789]86-*-sysv4*)
3765 noconfigdirs
="$noconfigdirs target-libgloss"
3767 i
[3456789]86-*-beos*)
3768 noconfigdirs
="$noconfigdirs gdb"
3770 i
[3456789]86-*-rdos*)
3771 noconfigdirs
="$noconfigdirs gdb"
3774 noconfigdirs
="$noconfigdirs gdb"
3777 noconfigdirs
="$noconfigdirs sim"
3780 # copied from rs6000-*-* entry
3781 noconfigdirs
="$noconfigdirs gprof"
3783 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3784 target_configdirs
="$target_configdirs target-winsup"
3785 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3786 # always build newlib.
3787 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3789 # This is temporary until we can link against shared libraries
3790 powerpcle-
*-solaris*)
3791 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3794 noconfigdirs
="$noconfigdirs gdb"
3797 noconfigdirs
="$noconfigdirs gprof"
3800 noconfigdirs
="$noconfigdirs gprof"
3803 noconfigdirs
="$noconfigdirs gprof"
3806 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3809 noconfigdirs
="$noconfigdirs gprof"
3811 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3812 if test x
$with_newlib = xyes
; then
3813 noconfigdirs
="$noconfigdirs gprof"
3817 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3820 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3823 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3827 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3828 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3829 noconfigdirs
="$noconfigdirs ld gas gprof"
3832 noconfigdirs
="$noconfigdirs gprof"
3835 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3838 noconfigdirs
="$noconfigdirs gdb"
3845 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3849 if test x
${is_cross_compiler} = xno
; then
3854 noconfigdirs
="$noconfigdirs sim"
3856 tilepro
*-*-* | tilegx
*-*-*)
3857 noconfigdirs
="$noconfigdirs sim"
3860 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3863 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3867 # If we aren't building newlib, then don't build libgloss, since libgloss
3868 # depends upon some newlib header files.
3869 case "${noconfigdirs}" in
3870 *target-libgloss
*) ;;
3871 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3874 # Work in distributions that contain no compiler tools, like Autoconf.
3875 host_makefile_frag
=/dev
/null
3876 if test -d ${srcdir}/config
; then
3878 i
[3456789]86-*-msdosdjgpp*)
3879 host_makefile_frag
="config/mh-djgpp"
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3884 $as_echo_n "checking to see if cat works as expected... " >&6; }
3885 echo a
>cygwin-cat-check
3886 if test `cat cygwin-cat-check` = a
; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3894 as_fn_error
"The cat command does not ignore carriage return characters.
3895 Please either mount the build directory in binary mode or run the following
3896 commands before running any configure script:
3902 host_makefile_frag
="config/mh-cygwin"
3905 host_makefile_frag
="config/mh-mingw"
3908 host_makefile_frag
="config/mh-alpha-linux"
3911 host_makefile_frag
="config/mh-pa-hpux10"
3914 host_makefile_frag
="config/mh-pa"
3917 host_makefile_frag
="config/mh-pa"
3920 host_makefile_frag
="config/mh-darwin"
3923 host_makefile_frag
="config/mh-ppc-aix"
3926 host_makefile_frag
="config/mh-ppc-aix"
3931 if test "${build}" != "${host}" ; then
3932 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3933 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3934 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3935 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3936 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3937 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3938 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3939 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3940 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3941 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3942 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3943 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3944 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3946 AR_FOR_BUILD
="\$(AR)"
3947 AS_FOR_BUILD
="\$(AS)"
3948 CC_FOR_BUILD
="\$(CC)"
3949 CXX_FOR_BUILD
="\$(CXX)"
3950 GCJ_FOR_BUILD
="\$(GCJ)"
3951 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3952 GOC_FOR_BUILD
="\$(GOC)"
3953 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3954 LD_FOR_BUILD
="\$(LD)"
3955 NM_FOR_BUILD
="\$(NM)"
3956 RANLIB_FOR_BUILD
="\$(RANLIB)"
3957 WINDRES_FOR_BUILD
="\$(WINDRES)"
3958 WINDMC_FOR_BUILD
="\$(WINDMC)"
3962 ac_cpp
='$CPP $CPPFLAGS'
3963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3966 if test -n "$ac_tool_prefix"; then
3967 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3968 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if test "${ac_cv_prog_CC+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -n "$CC"; then
3975 ac_cv_prog_CC
="$CC" # Let the user override the test.
3977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir
=.
3982 for ac_exec_ext
in '' $ac_executable_extensions; do
3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 if test -n "$CC"; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3997 $as_echo "$CC" >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4005 if test -z "$ac_cv_prog_CC"; then
4007 # Extract the first word of "gcc", so it can be a program name with args.
4008 set dummy gcc
; ac_word
=$2
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4012 $as_echo_n "(cached) " >&6
4014 if test -n "$ac_ct_CC"; then
4015 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024 ac_cv_prog_ac_ct_CC
="gcc"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4035 if test -n "$ac_ct_CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4037 $as_echo "$ac_ct_CC" >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4043 if test "x$ac_ct_CC" = x
; then
4046 case $cross_compiling:$ac_tool_warned in
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4050 ac_tool_warned
=yes ;;
4058 if test -z "$CC"; then
4059 if test -n "$ac_tool_prefix"; then
4060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4061 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if test "${ac_cv_prog_CC+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4067 if test -n "$CC"; then
4068 ac_cv_prog_CC
="$CC" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4077 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 if test -n "$CC"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4090 $as_echo "$CC" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4099 if test -z "$CC"; then
4100 # Extract the first word of "cc", so it can be a program name with args.
4101 set dummy cc
; ac_word
=$2
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4103 $as_echo_n "checking for $ac_word... " >&6; }
4104 if test "${ac_cv_prog_CC+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -n "$CC"; then
4108 ac_cv_prog_CC
="$CC" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4119 ac_prog_rejected
=yes
4123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 if test $ac_prog_rejected = yes; then
4131 # We found a bogon in the path, so make sure we never use it.
4132 set dummy
$ac_cv_prog_CC
4134 if test $# != 0; then
4135 # We chose a different compiler from the bogus one.
4136 # However, it has the same basename, so the bogon will be chosen
4137 # first if we set CC to just the basename; use the full file name.
4139 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4145 if test -n "$CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4147 $as_echo "$CC" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4155 if test -z "$CC"; then
4156 if test -n "$ac_tool_prefix"; then
4157 for ac_prog
in cl.exe
4159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4160 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4162 $as_echo_n "checking for $ac_word... " >&6; }
4163 if test "${ac_cv_prog_CC+set}" = set; then :
4164 $as_echo_n "(cached) " >&6
4166 if test -n "$CC"; then
4167 ac_cv_prog_CC
="$CC" # Let the user override the test.
4169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir
=.
4174 for ac_exec_ext
in '' $ac_executable_extensions; do
4175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4176 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 if test -n "$CC"; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4189 $as_echo "$CC" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192 $as_echo "no" >&6; }
4196 test -n "$CC" && break
4199 if test -z "$CC"; then
4201 for ac_prog
in cl.exe
4203 # Extract the first word of "$ac_prog", so it can be a program name with args.
4204 set dummy
$ac_prog; ac_word
=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$ac_ct_CC"; then
4211 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4220 ac_cv_prog_ac_ct_CC
="$ac_prog"
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4231 if test -n "$ac_ct_CC"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4233 $as_echo "$ac_ct_CC" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4240 test -n "$ac_ct_CC" && break
4243 if test "x$ac_ct_CC" = x
; then
4246 case $cross_compiling:$ac_tool_warned in
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4250 ac_tool_warned
=yes ;;
4259 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4261 as_fn_error
"no acceptable C compiler found in \$PATH
4262 See \`config.log' for more details." "$LINENO" 5; }
4264 # Provide some information about the compiler.
4265 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4268 for ac_option
in --version -v -V -qversion; do
4269 { { ac_try
="$ac_compiler $ac_option >&5"
4271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4278 if test -s conftest.err; then
4280 ... rest of stderr output deleted ...
4281 10q' conftest.err >conftest.er1
4282 cat conftest.er1 >&5
4283 rm -f conftest.er1 conftest.err
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4300 ac_clean_files_save=$ac_clean_files
4301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4302 # Try to create an executable without -o first, disregard a.out.
4303 # It will help us diagnose broken compilers, and finding out an intuition
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4306 $as_echo_n "checking for C compiler default output file name... " >&6; }
4307 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4309 # The possible output files:
4310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4313 for ac_file in $ac_files
4316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4317 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4322 if { { ac_try="$ac_link_default"
4324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4325 *) ac_try_echo
=$ac_try;;
4327 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_link_default") 2>&5
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }; then :
4333 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4334 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4335 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4336 # so that the user can short-circuit this test for compilers unknown to
4338 for ac_file
in $ac_files ''
4340 test -f "$ac_file" ||
continue
4342 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4345 # We found the default executable, but exeext='' is most
4349 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4351 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4353 # We set ac_cv_exeext here because the later test for it is not
4354 # safe: cross compilers may not add the suffix if given an `-o'
4355 # argument, so we may need to know it at that point already.
4356 # Even if this section looks crufty: it has the advantage of
4363 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4369 $as_echo "$ac_file" >&6; }
4370 if test -z "$ac_file"; then :
4371 $as_echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4376 { as_fn_set_status
77
4377 as_fn_error
"C compiler cannot create executables
4378 See \`config.log' for more details." "$LINENO" 5; }; }
4380 ac_exeext
=$ac_cv_exeext
4382 # Check that the compiler produces executables we can run. If not, either
4383 # the compiler is broken, or we cross compile.
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4385 $as_echo_n "checking whether the C compiler works... " >&6; }
4386 # If not cross compiling, check that we can run a simple program.
4387 if test "$cross_compiling" != yes; then
4388 if { ac_try
='./$ac_file'
4389 { { case "(($ac_try" in
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_try") 2>&5
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; }; }; then
4401 if test "$cross_compiling" = maybe; then
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 as_fn_error "cannot run C compiled programs.
4407 If you meant to cross compile
, use \
`--host'.
4408 See \`config.log
' for more details." "$LINENO" 5; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4413 $as_echo "yes" >&6; }
4415 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4416 ac_clean_files=$ac_clean_files_save
4417 # Check that the compiler produces executables we can run. If not, either
4418 # the compiler is broken, or we cross compile.
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4420 $as_echo_n "checking whether we are cross compiling... " >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4422 $as_echo "$cross_compiling" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4425 $as_echo_n "checking for suffix of executables... " >&6; }
4426 if { { ac_try="$ac_link"
4428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4432 $as_echo "$ac_try_echo"; } >&5
4433 (eval "$ac_link") 2>&5
4435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436 test $ac_status = 0; }; then :
4437 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4438 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4439 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4441 for ac_file
in conftest.exe conftest conftest.
*; do
4442 test -f "$ac_file" ||
continue
4444 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4445 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4454 See \`config.log' for more details." "$LINENO" 5; }
4456 rm -f conftest
$ac_cv_exeext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4458 $as_echo "$ac_cv_exeext" >&6; }
4460 rm -f conftest.
$ac_ext
4461 EXEEXT
=$ac_cv_exeext
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4464 $as_echo_n "checking for suffix of object files... " >&6; }
4465 if test "${ac_cv_objext+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4479 rm -f conftest.o conftest.obj
4480 if { { ac_try
="$ac_compile"
4482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4483 *) ac_try_echo=$ac_try;;
4485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4486 $as_echo "$ac_try_echo"; } >&5
4487 (eval "$ac_compile") 2>&5
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }; then :
4491 for ac_file in conftest.o conftest.obj conftest.*; do
4492 test -f "$ac_file" || continue;
4494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4495 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4500 $as_echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.$ac_ext >&5
4503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4505 as_fn_error "cannot compute suffix of object files
: cannot compile
4506 See \
`config.log' for more details." "$LINENO" 5; }
4508 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4511 $as_echo "$ac_cv_objext" >&6; }
4512 OBJEXT=$ac_cv_objext
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4515 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4516 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4533 if ac_fn_c_try_compile "$LINENO"; then :
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4543 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4544 if test $ac_compiler_gnu = yes; then
4549 ac_test_CFLAGS=${CFLAGS+set}
4550 ac_save_CFLAGS=$CFLAGS
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4552 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4553 if test "${ac_cv_prog_cc_g+set}" = set; then :
4554 $as_echo_n "(cached) " >&6
4556 ac_save_c_werror_flag=$ac_c_werror_flag
4557 ac_c_werror_flag=yes
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4571 if ac_fn_c_try_compile "$LINENO"; then :
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 if ac_fn_c_try_compile "$LINENO"; then :
4589 ac_c_werror_flag=$ac_save_c_werror_flag
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4602 if ac_fn_c_try_compile "$LINENO"; then :
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 ac_c_werror_flag=$ac_save_c_werror_flag
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4613 $as_echo "$ac_cv_prog_cc_g" >&6; }
4614 if test "$ac_test_CFLAGS" = set; then
4615 CFLAGS=$ac_save_CFLAGS
4616 elif test $ac_cv_prog_cc_g = yes; then
4617 if test "$GCC" = yes; then
4623 if test "$GCC" = yes; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4630 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4631 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4634 ac_cv_prog_cc_c89=no
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 #include <sys/types.h>
4641 #include <sys/stat.h>
4642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4643 struct buf { int x; };
4644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4645 static char *e (p, i)
4651 static char *f (char * (*g) (char **, int), char **p, ...)
4656 s = g (p, va_arg (v,int));
4661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4662 function prototypes and stuff, but not '\xHH' hex character constants.
4663 These don't provoke an error unfortunately, instead are silently treated
4664 as 'x'. The following induces an error, until -std is added to get
4665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4666 array size at least. It's necessary to write '\x00'==0 to get something
4667 that's true only with -std. */
4668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4670 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4671 inside strings and character constants. */
4673 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4675 int test (int i, double x);
4676 struct s1 {int (*f) (int a);};
4677 struct s2 {int (*f) (double a);};
4678 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4689 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4690 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4692 CC="$ac_save_CC $ac_arg"
4693 if ac_fn_c_try_compile "$LINENO"; then :
4694 ac_cv_prog_cc_c89=$ac_arg
4696 rm -f core conftest.err conftest.$ac_objext
4697 test "x$ac_cv_prog_cc_c89" != "xno" && break
4699 rm -f conftest.$ac_ext
4704 case "x$ac_cv_prog_cc_c89" in
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4707 $as_echo "none needed" >&6; } ;;
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4710 $as_echo "unsupported" >&6; } ;;
4712 CC="$CC $ac_cv_prog_cc_c89"
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4714 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4716 if test "x$ac_cv_prog_cc_c89" != xno; then :
4721 ac_cpp='$CPP $CPPFLAGS'
4722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727 ac_cpp='$CXXCPP $CPPFLAGS'
4728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4731 if test -z "$CXX"; then
4732 if test -n "$CCC"; then
4735 if test -n "$ac_tool_prefix"; then
4736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if test "${ac_cv_prog_CXX+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 if test -n "$CXX"; then
4746 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 if test -n "$CXX"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4768 $as_echo "$CXX" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4775 test -n "$CXX" && break
4778 if test -z "$CXX"; then
4780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4782 # Extract the first word of "$ac_prog", so it can be a program name with args.
4783 set dummy $ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$ac_ct_CXX"; then
4790 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_prog_ac_ct_CXX="$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4810 if test -n "$ac_ct_CXX"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4812 $as_echo "$ac_ct_CXX" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$ac_ct_CXX" && break
4822 if test "x$ac_ct_CXX" = x; then
4825 case $cross_compiling:$ac_tool_warned in
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829 ac_tool_warned=yes ;;
4837 # Provide some information about the compiler.
4838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4841 for ac_option in --version -v -V -qversion; do
4842 { { ac_try="$ac_compiler $ac_option >&5"
4844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4845 *) ac_try_echo
=$ac_try;;
4847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4851 if test -s conftest.err
; then
4853 ... rest of stderr output deleted ...
4854 10q' conftest.err
>conftest.er1
4855 cat conftest.er1
>&5
4856 rm -f conftest.er1 conftest.err
4858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4859 test $ac_status = 0; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4863 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4864 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4881 if ac_fn_cxx_try_compile
"$LINENO"; then :
4886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4887 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4891 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4892 if test $ac_compiler_gnu = yes; then
4897 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4898 ac_save_CXXFLAGS
=$CXXFLAGS
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4900 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4901 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4902 $as_echo_n "(cached) " >&6
4904 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4905 ac_cxx_werror_flag
=yes
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4919 if ac_fn_cxx_try_compile
"$LINENO"; then :
4920 ac_cv_prog_cxx_g
=yes
4923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4934 if ac_fn_cxx_try_compile
"$LINENO"; then :
4937 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_cxx_try_compile
"$LINENO"; then :
4951 ac_cv_prog_cxx_g
=yes
4953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4958 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4961 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4962 if test "$ac_test_CXXFLAGS" = set; then
4963 CXXFLAGS
=$ac_save_CXXFLAGS
4964 elif test $ac_cv_prog_cxx_g = yes; then
4965 if test "$GXX" = yes; then
4971 if test "$GXX" = yes; then
4978 ac_cpp
='$CPP $CPPFLAGS'
4979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4984 # We must set the default linker to the linker used by gcc for the correct
4985 # operation of libtool. If LD is not defined and we are using gcc, try to
4986 # set the LD default to the ld used by gcc.
4987 if test -z "$LD"; then
4988 if test "$GCC" = yes; then
4991 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4993 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4995 case $gcc_prog_ld in
4996 # Accept absolute paths.
4997 [\\/]* |
[A-Za-z
]:[\\/]*)
4998 LD
="$gcc_prog_ld" ;;
5003 # Check whether -static-libstdc++ -static-libgcc is supported.
5005 if test "$GCC" = yes; then
5006 saved_LDFLAGS
="$LDFLAGS"
5008 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5010 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5012 ac_cpp
='$CXXCPP $CPPFLAGS'
5013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5021 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5022 #error -static-libstdc++ not implemented
5026 if ac_fn_cxx_try_link
"$LINENO"; then :
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5028 $as_echo "yes" >&6; }; have_static_libs
=yes
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5033 rm -f core conftest.err conftest.
$ac_objext \
5034 conftest
$ac_exeext conftest.
$ac_ext
5036 ac_cpp
='$CPP $CPPFLAGS'
5037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5042 LDFLAGS
="$saved_LDFLAGS"
5048 if test -n "$ac_tool_prefix"; then
5049 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5050 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$GNATBIND"; then
5057 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 GNATBIND
=$ac_cv_prog_GNATBIND
5077 if test -n "$GNATBIND"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5079 $as_echo "$GNATBIND" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5087 if test -z "$ac_cv_prog_GNATBIND"; then
5088 ac_ct_GNATBIND
=$GNATBIND
5089 # Extract the first word of "gnatbind", so it can be a program name with args.
5090 set dummy gnatbind
; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$ac_ct_GNATBIND"; then
5097 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5117 if test -n "$ac_ct_GNATBIND"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5119 $as_echo "$ac_ct_GNATBIND" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5125 if test "x$ac_ct_GNATBIND" = x
; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned
=yes ;;
5134 GNATBIND
=$ac_ct_GNATBIND
5137 GNATBIND
="$ac_cv_prog_GNATBIND"
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5142 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5148 if test -n "$GNATMAKE"; then
5149 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 GNATMAKE
=$ac_cv_prog_GNATMAKE
5169 if test -n "$GNATMAKE"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5171 $as_echo "$GNATMAKE" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 if test -z "$ac_cv_prog_GNATMAKE"; then
5180 ac_ct_GNATMAKE
=$GNATMAKE
5181 # Extract the first word of "gnatmake", so it can be a program name with args.
5182 set dummy gnatmake
; ac_word
=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5186 $as_echo_n "(cached) " >&6
5188 if test -n "$ac_ct_GNATMAKE"; then
5189 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5209 if test -n "$ac_ct_GNATMAKE"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5211 $as_echo "$ac_ct_GNATMAKE" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5217 if test "x$ac_ct_GNATMAKE" = x
; then
5220 case $cross_compiling:$ac_tool_warned in
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5224 ac_tool_warned
=yes ;;
5226 GNATMAKE
=$ac_ct_GNATMAKE
5229 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5233 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5234 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5235 $as_echo_n "(cached) " >&6
5237 cat >conftest.adb
<<EOF
5238 procedure conftest is begin null; end conftest;
5240 acx_cv_cc_gcc_supports_ada
=no
5241 # There is a bug in old released versions of GCC which causes the
5242 # driver to exit successfully when the appropriate language module
5243 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5244 # Therefore we must check for the error message as well as an
5245 # unsuccessful exit.
5246 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5247 # given a .adb file, but produce no object file. So we must check
5248 # if an object file was really produced to guard against this.
5249 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5250 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5251 acx_cv_cc_gcc_supports_ada
=yes
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5256 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5258 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5265 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5266 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5271 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5272 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5273 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5276 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5279 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5280 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5283 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5290 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5291 do_compare
="$gcc_cv_prog_cmp_skip"
5295 # Check whether --enable-bootstrap was given.
5296 if test "${enable_bootstrap+set}" = set; then :
5297 enableval
=$enable_bootstrap;
5299 enable_bootstrap
=default
5303 # Issue errors and warnings for invalid/strange bootstrap combinations.
5304 if test -r $srcdir/gcc
/configure
; then
5310 case "$have_compiler:$host:$target:$enable_bootstrap" in
5313 # Default behavior. Enable bootstrap if we have a compiler
5314 # and we are in a native configuration.
5315 yes:$build:$build:default
)
5316 enable_bootstrap
=yes ;;
5319 enable_bootstrap
=no
;;
5321 # We have a compiler and we are in a native configuration, bootstrap is ok
5322 yes:$build:$build:yes)
5325 # Other configurations, but we have a compiler. Assume the user knows
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5329 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5332 # No compiler: if they passed --enable-bootstrap explicitly, fail
5334 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5336 # Fail if wrong command line
5338 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5342 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5343 # C++98 compiler can still start the bootstrap.
5344 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5345 CXX
="$CXX -std=gnu++98"
5348 # Used for setting $lt_cv_objdir
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5350 $as_echo_n "checking for objdir... " >&6; }
5351 if test "${lt_cv_objdir+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5354 rm -f .libs
2>/dev
/null
5355 mkdir .libs
2>/dev
/null
5356 if test -d .libs
; then
5359 # MS-DOS does not allow filenames that begin with a dot.
5362 rmdir .libs
2>/dev
/null
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5365 $as_echo "$lt_cv_objdir" >&6; }
5366 objdir
=$lt_cv_objdir
5372 cat >>confdefs.h
<<_ACEOF
5373 #define LT_OBJDIR "$lt_cv_objdir/"
5378 # Check for GMP, MPFR and MPC
5379 gmplibs
="-lmpc -lmpfr -lgmp"
5383 # Specify a location for mpc
5384 # check for this first so it ends up on the link line before mpfr.
5386 # Check whether --with-mpc was given.
5387 if test "${with_mpc+set}" = set; then :
5392 # Check whether --with-mpc-include was given.
5393 if test "${with_mpc_include+set}" = set; then :
5394 withval
=$with_mpc_include;
5398 # Check whether --with-mpc-lib was given.
5399 if test "${with_mpc_lib+set}" = set; then :
5400 withval
=$with_mpc_lib;
5404 if test "x$with_mpc" != x
; then
5405 gmplibs
="-L$with_mpc/lib $gmplibs"
5406 gmpinc
="-I$with_mpc/include $gmpinc"
5408 if test "x$with_mpc_include" != x
; then
5409 gmpinc
="-I$with_mpc_include $gmpinc"
5411 if test "x$with_mpc_lib" != x
; then
5412 gmplibs
="-L$with_mpc_lib $gmplibs"
5414 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5415 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5416 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5417 # Do not test the mpc version. Assume that it is sufficient, since
5418 # it is in the source tree, and the library has not been built yet
5419 # but it would be included on the link line in the version check below
5420 # hence making the test fail.
5424 # Specify a location for mpfr
5425 # check for this first so it ends up on the link line before gmp.
5427 # Check whether --with-mpfr-dir was given.
5428 if test "${with_mpfr_dir+set}" = set; then :
5429 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5430 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5435 # Check whether --with-mpfr was given.
5436 if test "${with_mpfr+set}" = set; then :
5441 # Check whether --with-mpfr-include was given.
5442 if test "${with_mpfr_include+set}" = set; then :
5443 withval
=$with_mpfr_include;
5447 # Check whether --with-mpfr-lib was given.
5448 if test "${with_mpfr_lib+set}" = set; then :
5449 withval
=$with_mpfr_lib;
5453 if test "x$with_mpfr" != x
; then
5454 gmplibs
="-L$with_mpfr/lib $gmplibs"
5455 gmpinc
="-I$with_mpfr/include $gmpinc"
5457 if test "x$with_mpfr_include" != x
; then
5458 gmpinc
="-I$with_mpfr_include $gmpinc"
5460 if test "x$with_mpfr_lib" != x
; then
5461 gmplibs
="-L$with_mpfr_lib $gmplibs"
5463 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5464 # MPFR v3.1.0 moved the sources into a src sub-directory.
5465 if ! test -d ${srcdir}/mpfr
/src
; then
5466 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5468 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5469 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5470 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5471 # Do not test the mpfr version. Assume that it is sufficient, since
5472 # it is in the source tree, and the library has not been built yet
5473 # but it would be included on the link line in the version check below
5474 # hence making the test fail.
5478 # Specify a location for gmp
5480 # Check whether --with-gmp-dir was given.
5481 if test "${with_gmp_dir+set}" = set; then :
5482 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5483 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5488 # Check whether --with-gmp was given.
5489 if test "${with_gmp+set}" = set; then :
5494 # Check whether --with-gmp-include was given.
5495 if test "${with_gmp_include+set}" = set; then :
5496 withval
=$with_gmp_include;
5500 # Check whether --with-gmp-lib was given.
5501 if test "${with_gmp_lib+set}" = set; then :
5502 withval
=$with_gmp_lib;
5507 if test "x$with_gmp" != x
; then
5508 gmplibs
="-L$with_gmp/lib $gmplibs"
5509 gmpinc
="-I$with_gmp/include $gmpinc"
5511 if test "x$with_gmp_include" != x
; then
5512 gmpinc
="-I$with_gmp_include $gmpinc"
5514 if test "x$with_gmp_lib" != x
; then
5515 gmplibs
="-L$with_gmp_lib $gmplibs"
5517 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5518 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5519 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5520 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5521 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5522 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5523 # Do not test the gmp version. Assume that it is sufficient, since
5524 # it is in the source tree, and the library has not been built yet
5525 # but it would be included on the link line in the version check below
5526 # hence making the test fail.
5530 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5532 saved_CFLAGS
="$CFLAGS"
5533 CFLAGS
="$CFLAGS $gmpinc"
5534 # Check for the recommended and required versions of GMP.
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5536 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5545 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5546 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5547 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5555 if ac_fn_c_try_compile
"$LINENO"; then :
5556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5563 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5564 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5565 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5573 if ac_fn_c_try_compile
"$LINENO"; then :
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5575 $as_echo "yes" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5578 $as_echo "buggy but acceptable" >&6; }
5580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }; have_gmp
=no
5585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5587 # If we have GMP, check the MPFR version.
5588 if test x
"$have_gmp" = xyes
; then
5589 # Check for the recommended and required versions of MPFR.
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5591 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5600 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5608 if ac_fn_c_try_compile
"$LINENO"; then :
5609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5617 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5625 if ac_fn_c_try_compile
"$LINENO"; then :
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5627 $as_echo "yes" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5630 $as_echo "buggy but acceptable" >&6; }
5632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }; have_gmp
=no
5637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5640 # Check for the MPC header version.
5641 if test x
"$have_gmp" = xyes
; then
5642 # Check for the recommended and required versions of MPC.
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5644 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5652 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5660 if ac_fn_c_try_compile
"$LINENO"; then :
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5668 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5678 $as_echo "yes" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5681 $as_echo "buggy but acceptable" >&6; }
5683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }; have_gmp
=no
5688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5691 # Now check the MPFR library.
5692 if test x
"$have_gmp" = xyes
; then
5694 LIBS
="$LIBS $gmplibs"
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5696 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5710 mpfr_atan2 (n, n, x, GMP_RNDN);
5711 mpfr_erfc (n, x, GMP_RNDN);
5712 mpfr_subnormalize (x, t, GMP_RNDN);
5716 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5717 mpc_cosh (c, c, MPC_RNDNN);
5718 mpc_pow (c, c, c, MPC_RNDNN);
5719 mpc_acosh (c, c, MPC_RNDNN);
5726 if ac_fn_c_try_link
"$LINENO"; then :
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5728 $as_echo "yes" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }; have_gmp
=no
5733 rm -f core conftest.err conftest.
$ac_objext \
5734 conftest
$ac_exeext conftest.
$ac_ext
5738 CFLAGS
="$saved_CFLAGS"
5740 # The library versions listed in the error message below should match
5741 # the HARD-minimums enforced above.
5742 if test x
$have_gmp != xyes
; then
5743 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5744 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5745 their locations. Source code for these libraries can be found at
5746 their respective hosting sites as well as at
5747 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5748 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5749 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5750 make sure that you have installed both the libraries and the header
5751 files. They may be located in separate packages." "$LINENO" 5
5755 # Flags needed for both GMP, MPFR and/or MPC.
5763 # Libraries to use for stage1 or when not bootstrapping.
5765 # Check whether --with-stage1-libs was given.
5766 if test "${with_stage1_libs+set}" = set; then :
5767 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5770 stage1_libs
=$withval
5778 # Linker flags to use for stage1 or when not bootstrapping.
5780 # Check whether --with-stage1-ldflags was given.
5781 if test "${with_stage1_ldflags+set}" = set; then :
5782 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5785 stage1_ldflags
=$withval
5789 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5790 # if supported. But if the user explicitly specified the libraries to use,
5791 # trust that they are doing what they want.
5792 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5793 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5799 # Libraries to use for stage2 and later builds.
5801 # Check whether --with-boot-libs was given.
5802 if test "${with_boot_libs+set}" = set; then :
5803 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5806 poststage1_libs
=$withval
5814 # Linker flags to use for stage2 and later builds.
5816 # Check whether --with-boot-ldflags was given.
5817 if test "${with_boot_ldflags+set}" = set; then :
5818 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5821 poststage1_ldflags
=$withval
5825 # In stages 2 and 3, default to linking libstdc++ and libgcc
5826 # statically. But if the user explicitly specified the libraries to
5827 # use, trust that they are doing what they want.
5828 if test "$poststage1_libs" = ""; then
5829 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5835 # GCC GRAPHITE dependency isl.
5836 # Basic setup is inlined here, actual checks are in config/isl.m4
5839 # Check whether --with-isl was given.
5840 if test "${with_isl+set}" = set; then :
5845 # Treat --without-isl as a request to disable
5846 # GRAPHITE support and skip all following checks.
5847 if test "x$with_isl" != "xno"; then
5851 # Check whether --with-isl-include was given.
5852 if test "${with_isl_include+set}" = set; then :
5853 withval
=$with_isl_include;
5857 # Check whether --with-isl-lib was given.
5858 if test "${with_isl_lib+set}" = set; then :
5859 withval
=$with_isl_lib;
5863 # Check whether --enable-isl-version-check was given.
5864 if test "${enable_isl_version_check+set}" = set; then :
5865 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5867 ENABLE_ISL_CHECK
=yes
5871 # Initialize isllibs and islinc.
5880 isllibs
="-L$with_isl/lib"
5881 islinc
="-I$with_isl/include"
5884 if test "x${with_isl_include}" != x
; then
5885 islinc
="-I$with_isl_include"
5887 if test "x${with_isl_lib}" != x
; then
5888 isllibs
="-L$with_isl_lib"
5890 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5891 && test -d ${srcdir}/isl
; then
5892 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5893 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5896 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5899 isllibs
="${isllibs} -lisl"
5903 if test "${ENABLE_ISL_CHECK}" = yes ; then
5904 _isl_saved_CFLAGS
=$CFLAGS
5905 _isl_saved_LDFLAGS
=$LDFLAGS
5906 _isl_saved_LIBS
=$LIBS
5908 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5909 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5910 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5913 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5916 #include <isl/ctx.h>
5920 isl_ctx_get_max_operations (isl_ctx_alloc ());
5925 if ac_fn_c_try_link
"$LINENO"; then :
5930 rm -f core conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5933 $as_echo "$gcc_cv_isl" >&6; }
5935 if test "${gcc_cv_isl}" = no
; then
5936 { $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
5937 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5941 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5944 #include <isl/schedule.h>
5948 isl_options_set_schedule_serialize_sccs (NULL, 0);
5953 if ac_fn_c_try_link
"$LINENO"; then :
5954 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5956 ac_has_isl_options_set_schedule_serialize_sccs
=no
5958 rm -f core conftest.err conftest.
$ac_objext \
5959 conftest
$ac_exeext conftest.
$ac_ext
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5961 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5963 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5968 CFLAGS
=$_isl_saved_CFLAGS
5969 LDFLAGS
=$_isl_saved_LDFLAGS
5970 LIBS
=$_isl_saved_LIBS
5978 if test "x${with_isl}" = xno
; then
5979 graphite_requested
=no
5980 elif test "x${with_isl}" != x \
5981 ||
test "x${with_isl_include}" != x \
5982 ||
test "x${with_isl_lib}" != x
; then
5983 graphite_requested
=yes
5985 graphite_requested
=no
5990 if test "${gcc_cv_isl}" = no
; then
5995 if test "${graphite_requested}" = yes \
5996 && test "x${isllibs}" = x \
5997 && test "x${islinc}" = x
; then
5999 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6005 # If the isl check failed, disable builds of in-tree variant of isl
6006 if test "x$with_isl" = xno ||
6007 test "x$gcc_cv_isl" = xno
; then
6008 noconfigdirs
="$noconfigdirs isl"
6015 # Check for LTO support.
6016 # Check whether --enable-lto was given.
6017 if test "${enable_lto+set}" = set; then :
6018 enableval
=$enable_lto; enable_lto
=$enableval
6020 enable_lto
=yes; default_enable_lto
=yes
6029 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6030 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6031 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6040 if test $target_elf = yes; then :
6041 # ELF platforms build the lto-plugin always.
6042 build_lto_plugin
=yes
6045 if test x
"$default_enable_lto" = x
"yes" ; then
6047 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6048 # On other non-ELF platforms, LTO has yet to be validated.
6052 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6053 # It would also be nice to check the binutils support, but we don't
6054 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6055 # warn during gcc/ subconfigure; unless you're bootstrapping with
6056 # -flto it won't be needed until after installation anyway.
6058 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6059 *) if test x
"$enable_lto" = x
"yes"; then
6060 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6065 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6066 # Build it unless LTO was explicitly disabled.
6068 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6075 # Check whether --enable-linker-plugin-configure-flags was given.
6076 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6077 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6079 extra_linker_plugin_configure_flags
=
6083 # Check whether --enable-linker-plugin-flags was given.
6084 if test "${enable_linker_plugin_flags+set}" = set; then :
6085 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6087 extra_linker_plugin_flags
=
6093 # By default, C and C++ are the only stage 1 languages.
6094 stage1_languages
=,c
,
6096 # Target libraries that we bootstrap.
6097 bootstrap_target_libs
=,target-libgcc
,
6099 # Figure out what language subdirectories are present.
6100 # Look if the user specified --enable-languages="..."; if not, use
6101 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6103 # NB: embedded tabs in this IF block -- do not untabify
6104 if test -d ${srcdir}/gcc
; then
6105 if test x
"${enable_languages+set}" != xset
; then
6106 if test x
"${LANGUAGES+set}" = xset
; then
6107 enable_languages
="${LANGUAGES}"
6108 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6110 enable_languages
=all
6113 if test x
"${enable_languages}" = x ||
6114 test x
"${enable_languages}" = xyes
;
6116 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6120 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6122 # 'f95' is the old name for the 'fortran' language. We issue a warning
6123 # and make the substitution.
6124 case ,${enable_languages}, in
6126 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6127 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6131 # If bootstrapping, C++ must be enabled.
6132 case ",$enable_languages,:$enable_bootstrap" in
6135 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6136 enable_languages
="${enable_languages},c++"
6138 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6143 # First scan to see if an enabled language requires some other language.
6144 # We assume that a given config-lang.in will list all the language
6145 # front ends it requires, even if some are required indirectly.
6146 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6147 case ${lang_frag} in
6149 # The odd quoting in the next line works around
6150 # an apparent bug in bash 1.12 on linux.
6151 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6153 # From the config-lang.in, get $language, $lang_requires, and
6154 # $lang_requires_boot_languages.
6157 lang_requires_boot_languages
=
6159 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6160 case ,${enable_languages}, in
6164 echo " \`$other' language required by \`$language'; enabling" 1>&2
6165 enable_languages
="${enable_languages},${other}"
6169 for other
in ${lang_requires_boot_languages} ; do
6170 if test "$other" != "c"; then
6171 case ,${enable_stage1_languages}, in
6175 case ,${enable_languages}, in
6177 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6178 enable_stage1_languages
="$enable_stage1_languages,${other}"
6189 new_enable_languages
=,c
,
6191 # If LTO is enabled, add the LTO front end.
6192 if test "$enable_lto" = "yes" ; then
6193 case ,${enable_languages}, in
6195 *) enable_languages
="${enable_languages},lto" ;;
6197 if test "${build_lto_plugin}" = "yes" ; then
6198 configdirs
="$configdirs lto-plugin"
6202 # If we're building an offloading compiler, add the LTO front end.
6203 if test x
"$enable_as_accelerator_for" != x
; then
6204 case ,${enable_languages}, in
6206 *) enable_languages
="${enable_languages},lto" ;;
6210 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6211 potential_languages
=,c
,
6213 enabled_target_libs
=
6214 disabled_target_libs
=
6216 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6217 case ${lang_frag} in
6219 # The odd quoting in the next line works around
6220 # an apparent bug in bash 1.12 on linux.
6221 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6223 # From the config-lang.in, get $language, $target_libs,
6224 # $lang_dirs, $boot_language, and $build_by_default
6230 build_by_default
=yes
6232 if test x
${language} = x
; then
6233 echo "${lang_frag} doesn't set \$language." 1>&2
6237 if test "$language" = "c++"; then
6242 case ,${enable_languages}, in
6244 # Language was explicitly selected; include it
6245 # unless it is C, which is enabled by default.
6246 if test "$language" != "c"; then
6251 # 'all' was selected, select it if it is a default language
6252 if test "$language" != "c"; then
6253 add_this_lang
=${build_by_default}
6258 # Disable languages that need other directories if these aren't available.
6259 for i
in $subdir_requires; do
6260 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6261 case ,${enable_languages}, in
6263 # Specifically requested language; tell them.
6264 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6268 add_this_lang
=unsupported
6273 # Disable Ada if no preexisting GNAT is available.
6274 case ,${enable_languages},:${language}:${have_gnat} in
6275 *,${language},*:ada
:no
)
6276 # Specifically requested language; tell them.
6277 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6281 add_this_lang
=unsupported
6285 # Disable a language that is unsupported by the target.
6286 case " $unsupported_languages " in
6288 add_this_lang
=unsupported
6292 case $add_this_lang in
6294 # Remove language-dependent dirs.
6295 disabled_target_libs
="$disabled_target_libs $target_libs"
6296 noconfigdirs
="$noconfigdirs $lang_dirs"
6299 # Remove language-dependent dirs; still show language as supported.
6300 disabled_target_libs
="$disabled_target_libs $target_libs"
6301 noconfigdirs
="$noconfigdirs $lang_dirs"
6302 potential_languages
="${potential_languages}${language},"
6305 new_enable_languages
="${new_enable_languages}${language},"
6306 potential_languages
="${potential_languages}${language},"
6307 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6308 enabled_target_libs
="$enabled_target_libs $target_libs"
6309 case "${boot_language}:,$enable_stage1_languages," in
6310 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6311 # Add to (comma-separated) list of stage 1 languages.
6312 case ",$stage1_languages," in
6313 *,$language,* |
,yes, |
,all
,) ;;
6314 *) stage1_languages
="${stage1_languages}${language}," ;;
6316 # We need to bootstrap any supporting libraries.
6317 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6326 # Add target libraries which are only needed for disabled languages
6328 if test -n "$disabled_target_libs"; then
6329 for dir
in $disabled_target_libs; do
6330 case " $enabled_target_libs " in
6332 *) noconfigdirs
="$noconfigdirs $dir" ;;
6337 # Check whether --enable-stage1-languages was given.
6338 if test "${enable_stage1_languages+set}" = set; then :
6339 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6341 # Set it to something that will have no effect in the loop below
6342 enable_stage1_languages
=c
;;
6344 enable_stage1_languages
=`echo $new_enable_languages | \
6345 sed -e "s/^,//" -e "s/,$//" ` ;;
6347 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6348 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6351 # Add "good" languages from enable_stage1_languages to stage1_languages,
6352 # while "bad" languages go in missing_languages. Leave no duplicates.
6353 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6354 case $potential_languages in
6356 case $stage1_languages in
6358 *) stage1_languages
="$stage1_languages$i," ;;
6361 case $missing_languages in
6363 *) missing_languages
="$missing_languages$i," ;;
6370 # Remove leading/trailing commas that were added for simplicity
6371 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6372 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6373 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6374 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6376 if test "x$missing_languages" != x
; then
6378 The following requested languages could not be built: ${missing_languages}
6379 Supported languages are: ${potential_languages}" "$LINENO" 5
6381 if test "x$new_enable_languages" != "x$enable_languages"; then
6382 echo The following languages will be built
: ${new_enable_languages}
6383 enable_languages
="$new_enable_languages"
6387 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6390 # Handle --disable-<component> generically.
6391 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6392 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6393 varname
=`echo $dirname | sed -e s/+/_/g`
6394 if eval test x\
${enable_${varname}} "=" xno
; then
6395 noconfigdirs
="$noconfigdirs $dir"
6399 # Check for Boehm's garbage collector
6400 # Check whether --enable-objc-gc was given.
6401 if test "${enable_objc_gc+set}" = set; then :
6402 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6403 *,objc
,*:*:yes:*target-boehm-gc
*)
6404 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6410 # Make sure we only build Boehm's garbage collector if required.
6411 case ,${enable_languages},:${enable_objc_gc} in
6413 # Keep target-boehm-gc if requested for Objective-C.
6416 # Otherwise remove target-boehm-gc.
6417 noconfigdirs
="$noconfigdirs target-boehm-gc"
6421 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6422 case ,${enable_languages}, in
6424 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6425 case "${noconfigdirs}" in
6426 *target-libstdc
++-v3*)
6427 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6433 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6437 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6438 # $build_configdirs and $target_configdirs.
6439 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6442 for dir
in .
$skipdirs $noconfigdirs ; do
6443 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6444 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6445 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6446 if test -r $srcdir/$dirname/configure
; then
6447 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6450 notsupp
="$notsupp $dir"
6454 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6455 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6456 if test -r $srcdir/$dirname/configure
; then
6457 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6460 notsupp
="$notsupp $dir"
6464 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6465 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6466 if test -r $srcdir/$dirname/configure
; then
6467 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6470 notsupp
="$notsupp $dir"
6476 # Quietly strip out all directories which aren't configurable in this tree.
6477 # This relies on all configurable subdirectories being autoconfiscated, which
6479 build_configdirs_all
="$build_configdirs"
6481 for i
in ${build_configdirs_all} ; do
6482 j
=`echo $i | sed -e s/build-//g`
6483 if test -f ${srcdir}/$j/configure
; then
6484 build_configdirs
="${build_configdirs} $i"
6488 configdirs_all
="$configdirs"
6490 for i
in ${configdirs_all} ; do
6491 if test -f ${srcdir}/$i/configure
; then
6492 configdirs
="${configdirs} $i"
6496 target_configdirs_all
="$target_configdirs"
6498 for i
in ${target_configdirs_all} ; do
6499 j
=`echo $i | sed -e s/target-//g`
6500 if test -f ${srcdir}/$j/configure
; then
6501 target_configdirs
="${target_configdirs} $i"
6505 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6506 # so we have to add it after the preceding checks.
6507 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6509 case " $configdirs " in
6511 # If we can build libiberty, we can also build libiberty-linker-plugin.
6512 configdirs
="$configdirs libiberty-linker-plugin"
6513 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6514 --with-libiberty=../libiberty-linker-plugin";;
6516 as_fn_error
"libiberty missing" "$LINENO" 5;;
6520 # Sometimes we have special requirements for the host libiberty.
6521 extra_host_libiberty_configure_flags
=
6522 extra_host_zlib_configure_flags
=
6523 case " $configdirs " in
6524 *" lto-plugin "* |
*" libcc1 "*)
6525 # When these are to be built as shared libraries, the same applies to
6527 extra_host_libiberty_configure_flags
=--enable-shared
6530 # When bfd is to be built as a shared library, the same applies to
6532 if test "$enable_shared" = "yes"; then
6533 extra_host_zlib_configure_flags
=--enable-host-shared
6540 # Produce a warning message for the subdirs we can't configure.
6541 # This isn't especially interesting in the Cygnus tree, but in the individual
6542 # FSF releases, it's important to let people know when their machine isn't
6543 # supported by the one or two programs in a package.
6545 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6546 # If $appdirs is non-empty, at least one of those directories must still
6547 # be configured, or we error out. (E.g., if the gas release supports a
6548 # specified target in some subdirs but not the gas subdir, we shouldn't
6549 # pretend that all is well.)
6550 if test -n "$appdirs" ; then
6551 for dir
in $appdirs ; do
6552 if test -r $dir/Makefile.
in ; then
6553 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6557 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6563 if test -n "$appdirs" ; then
6564 echo "*** This configuration is not supported by this package." 1>&2
6568 # Okay, some application will build, or we don't care to check. Still
6569 # notify of subdirs not getting built.
6570 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6571 echo " ${notsupp}" 1>&2
6572 echo " (Any other directories should still work fine.)" 1>&2
6580 # To find our prefix, in gcc_cv_tool_prefix.
6582 # The user is always right.
6583 if test "${PATH_SEPARATOR+set}" != set; then
6584 echo "#! /bin/sh" >conf$$.sh
6585 echo "exit 0" >>conf$$.sh
6587 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6597 if test "x$exec_prefix" = xNONE
; then
6598 if test "x$prefix" = xNONE
; then
6599 gcc_cv_tool_prefix
=$ac_default_prefix
6601 gcc_cv_tool_prefix
=$prefix
6604 gcc_cv_tool_prefix
=$exec_prefix
6607 # If there is no compiler in the tree, use the PATH only. In any
6608 # case, if there is no compiler in the tree nobody should use
6609 # AS_FOR_TARGET and LD_FOR_TARGET.
6610 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6611 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6612 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6613 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6614 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6615 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6616 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6617 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6622 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6623 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6631 # Check whether --with-build-sysroot was given.
6632 if test "${with_build_sysroot+set}" = set; then :
6633 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6634 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6637 SYSROOT_CFLAGS_FOR_TARGET
=
6643 # Check whether --with-debug-prefix-map was given.
6644 if test "${with_debug_prefix_map+set}" = set; then :
6645 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6646 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6647 for debug_map
in $withval; do
6648 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6652 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6657 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6658 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6659 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6660 # We want to ensure that TARGET libraries (which we know are built with
6661 # gcc) are built with "-O2 -g", so include those options when setting
6662 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6663 if test "x$CFLAGS_FOR_TARGET" = x
; then
6664 if test "x${is_cross_compiler}" = xyes
; then
6665 CFLAGS_FOR_TARGET
="-g -O2"
6667 CFLAGS_FOR_TARGET
=$CFLAGS
6670 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6673 *" -g "* |
*" -g3 "*) ;;
6674 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6680 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6681 if test "x${is_cross_compiler}" = xyes
; then
6682 CXXFLAGS_FOR_TARGET
="-g -O2"
6684 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6685 case " $CXXFLAGS " in
6687 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6689 case " $CXXFLAGS " in
6690 *" -g "* |
*" -g3 "*) ;;
6691 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6699 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6700 # the named directory are copied to $(tooldir)/sys-include.
6701 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6702 if test x
${is_cross_compiler} = xno
; then
6703 echo 1>&2 '***' --with-headers is only supported when cross compiling
6706 if test x
"${with_headers}" != xyes
; then
6707 x
=${gcc_cv_tool_prefix}
6708 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6712 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6713 # the name directories are copied to $(tooldir)/lib. Multiple directories
6715 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6716 if test x
${is_cross_compiler} = xno
; then
6717 echo 1>&2 '***' --with-libs is only supported when cross compiling
6720 if test x
"${with_libs}" != xyes
; then
6721 # Copy the libraries in reverse order, so that files in the first named
6722 # library override files in subsequent libraries.
6723 x
=${gcc_cv_tool_prefix}
6724 for l
in ${with_libs}; do
6725 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6730 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6732 # This is done by determining whether or not the appropriate directory
6733 # is available, and by checking whether or not specific configurations
6734 # have requested that this magic not happen.
6736 # The command line options always override the explicit settings in
6737 # configure.ac, and the settings in configure.ac override this magic.
6739 # If the default for a toolchain is to use GNU as and ld, and you don't
6740 # want to do that, then you should use the --without-gnu-as and
6741 # --without-gnu-ld options for the configure script. Similarly, if
6742 # the default is to use the included zlib and you don't want to do that,
6743 # you should use the --with-system-zlib option for the configure script.
6745 if test x
${use_gnu_as} = x
&&
6746 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6748 extra_host_args
="$extra_host_args --with-gnu-as"
6751 if test x
${use_gnu_ld} = x
&&
6752 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6754 extra_host_args
="$extra_host_args --with-gnu-ld"
6757 if test x
${use_included_zlib} = x
&&
6758 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6761 with_system_zlib
=yes
6762 extra_host_args
="$extra_host_args --with-system-zlib"
6765 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6766 # can detect this case.
6768 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6770 extra_host_args
="$extra_host_args --with-newlib"
6773 # Handle ${copy_dirs}
6774 set fnord
${copy_dirs}
6776 while test $# != 0 ; do
6777 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6780 echo Copying
$1 to
$2
6782 # Use the install script to create the directory and all required
6783 # parent directories.
6784 if test -d $2 ; then
6788 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6791 # Copy the directory, assuming we have tar.
6792 # FIXME: Should we use B in the second tar? Not all systems support it.
6793 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6795 # It is the responsibility of the user to correctly adjust all
6796 # symlinks. If somebody can figure out how to handle them correctly
6797 # here, feel free to add the code.
6804 # Determine a target-dependent exec_prefix that the installed
6805 # gcc will search in. Keep this list sorted by triplet, with
6806 # the *-*-osname triplets last.
6809 i
[34567]86-pc-msdosdjgpp*)
6810 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6815 md_exec_prefix
=/usr
/ccs
/bin
6819 extra_arflags_for_target
=
6820 extra_nmflags_for_target
=
6821 extra_ranlibflags_for_target
=
6822 target_makefile_frag
=/dev
/null
6825 target_makefile_frag
="config/mt-spu"
6827 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6828 target_makefile_frag
="config/mt-sde"
6830 mipsisa
*-*-elfoabi*)
6831 target_makefile_frag
="config/mt-mips-elfoabi"
6833 mips
*-*-*linux
* | mips
*-*-gnu*)
6834 target_makefile_frag
="config/mt-mips-gnu"
6837 target_makefile_frag
="config/mt-nios2-elf"
6839 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6840 target_makefile_frag
="config/mt-gnu"
6842 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6843 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6844 # commands to handle both 32-bit and 64-bit objects. These flags are
6845 # harmless if we're using GNU nm or ar.
6846 extra_arflags_for_target
=" -X32_64"
6847 extra_nmflags_for_target
=" -B -X32_64"
6851 alphaieee_frag
=/dev
/null
6854 # This just makes sure to use the -mieee option to build target libs.
6855 # This should probably be set individually by each library.
6856 alphaieee_frag
="config/mt-alphaieee"
6860 # If --enable-target-optspace always use -Os instead of -O2 to build
6861 # the target libraries, similarly if it is not specified, use -Os
6862 # on selected platforms.
6863 ospace_frag
=/dev
/null
6864 case "${enable_target_optspace}:${target}" in
6866 ospace_frag
="config/mt-ospace"
6869 ospace_frag
="config/mt-d30v"
6871 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6872 ospace_frag
="config/mt-ospace"
6877 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6881 # Some systems (e.g., one of the i386-aix systems the gas testers are
6882 # using) don't handle "\$" correctly, so don't use it here.
6883 tooldir
='${exec_prefix}'/${target_noncanonical}
6884 build_tooldir
=${tooldir}
6886 # Create a .gdbinit file which runs the one in srcdir
6887 # and tells GDB to look there for source files.
6889 if test -r ${srcdir}/.gdbinit
; then
6892 *) cat > .
/.gdbinit
<<EOF
6896 source ${srcdir}/.gdbinit
6902 # Make sure that the compiler is able to generate an executable. If it
6903 # can't, we are probably in trouble. We don't care whether we can run the
6904 # executable--we might be using a cross compiler--we only care whether it
6905 # can be created. At this point the main configure script has set CC.
6907 echo "int main () { return 0; }" > conftest.c
6908 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6909 if test $?
= 0 ; then
6910 if test -s conftest ||
test -s conftest.exe
; then
6916 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6917 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6924 # Decide which environment variable is used to find dynamic libraries.
6926 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6927 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6928 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6929 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6932 # On systems where the dynamic library environment variable is PATH,
6933 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6934 # built executables to PATH.
6935 if test "$RPATH_ENVVAR" = PATH
; then
6936 GCC_SHLIB_SUBDIR
=/shlib
6941 # Adjust the toplevel makefile according to whether bootstrap was selected.
6942 case $enable_bootstrap in
6944 bootstrap_suffix
=bootstrap
6945 BUILD_CONFIG
=bootstrap-debug
6948 bootstrap_suffix
=no-bootstrap
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6954 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6957 # Check whether --with-build-config was given.
6958 if test "${with_build_config+set}" = set; then :
6959 withval
=$with_build_config; case $with_build_config in
6960 yes) with_build_config
= ;;
6961 no
) with_build_config
= BUILD_CONFIG
= ;;
6966 if test "x${with_build_config}" != x
; then
6967 BUILD_CONFIG
=$with_build_config
6969 case $BUILD_CONFIG in
6971 if echo "int f (void) { return 0; }" > conftest.c
&&
6972 ${CC} -c conftest.c
&&
6973 mv conftest.o conftest.o.g0
&&
6974 ${CC} -c -g conftest.c
&&
6975 mv conftest.o conftest.o.g
&&
6976 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6981 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6986 $as_echo "$BUILD_CONFIG" >&6; }
6989 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6991 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6992 # Check whether --enable-vtable-verify was given.
6993 if test "${enable_vtable_verify+set}" = set; then :
6994 enableval
=$enable_vtable_verify; case "$enableval" in
6995 yes) enable_vtable_verify
=yes ;;
6996 no
) enable_vtable_verify
=no
;;
6997 *) enable_vtable_verify
=no
;;
7000 enable_vtable_verify
=no
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7004 $as_echo "$enable_vtable_verify" >&6; }
7006 # Record target_configdirs and the configure arguments for target and
7007 # build configuration in Makefile.
7008 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7009 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7010 bootstrap_fixincludes
=no
7012 # If we are building libgomp, bootstrap it.
7013 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7014 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7017 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7018 # or bootstrap-ubsan, bootstrap it.
7019 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7020 case "$BUILD_CONFIG" in
7021 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7022 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7023 bootstrap_fixincludes
=yes
7028 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7029 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7030 test "$enable_vtable_verify" != no
; then
7031 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7034 # If we are building libmpx, bootstrap it.
7035 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7036 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7039 # Determine whether gdb needs tk/tcl or not.
7040 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7041 # and in that case we want gdb to be built without tk. Ugh!
7042 # In fact I believe gdb is the *only* package directly dependent on tk,
7043 # so we should be able to put the 'maybe's in unconditionally and
7044 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7045 # 100% sure that that's safe though.
7047 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7048 case "$enable_gdbtk" in
7052 GDB_TK
="${gdb_tk}" ;;
7054 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7055 # distro. Eventually someone will fix this and move Insight, nee
7056 # gdbtk to a separate directory.
7057 if test -d ${srcdir}/gdb
/gdbtk
; then
7064 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7065 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7067 # Strip out unwanted targets.
7069 # While at that, we remove Makefiles if we were started for recursive
7070 # configuration, so that the top-level Makefile reconfigures them,
7071 # like we used to do when configure itself was recursive.
7073 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7074 # but now we're fixing up the Makefile ourselves with the additional
7075 # commands passed to AC_CONFIG_FILES. Use separate variables
7076 # extrasub-{build,host,target} not because there is any reason to split
7077 # the substitutions up that way, but only to remain below the limit of
7078 # 99 commands in a script, for HP-UX sed.
7079 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7081 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7082 yes:yes:*\ gold\
*:*,c
++,*) ;;
7083 yes:yes:*\ gold\
*:*)
7084 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7089 for module
in ${build_configdirs} ; do
7090 if test -z "${no_recursion}" \
7091 && test -f ${build_subdir}/${module}/Makefile
; then
7092 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7093 rm -f ${build_subdir}/${module}/Makefile
7095 extrasub_build
="$extrasub_build
7096 /^@if build-$module\$/d
7097 /^@endif build-$module\$/d
7098 /^@if build-$module-$bootstrap_suffix\$/d
7099 /^@endif build-$module-$bootstrap_suffix\$/d"
7102 for module
in ${configdirs} ; do
7103 if test -z "${no_recursion}"; then
7104 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7105 if test -f ${file}; then
7106 echo 1>&2 "*** removing ${file} to force reconfigure"
7111 case ${module},${bootstrap_fixincludes} in
7112 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7113 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7115 extrasub_host
="$extrasub_host
7117 /^@endif $module\$/d
7118 /^@if $module-$host_bootstrap_suffix\$/d
7119 /^@endif $module-$host_bootstrap_suffix\$/d"
7122 for module
in ${target_configdirs} ; do
7123 if test -z "${no_recursion}" \
7124 && test -f ${target_subdir}/${module}/Makefile
; then
7125 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7126 rm -f ${target_subdir}/${module}/Makefile
7129 # We only bootstrap target libraries listed in bootstrap_target_libs.
7130 case $bootstrap_target_libs in
7131 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7132 *) target_bootstrap_suffix
=no-bootstrap
;;
7135 extrasub_target
="$extrasub_target
7136 /^@if target-$module\$/d
7137 /^@endif target-$module\$/d
7138 /^@if target-$module-$target_bootstrap_suffix\$/d
7139 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7142 # Do the final fixup along with target modules.
7143 extrasub_target
="$extrasub_target
7144 /^@if /,/^@endif /d"
7146 # Create the serialization dependencies. This uses a temporary file.
7148 # Check whether --enable-serial-configure was given.
7149 if test "${enable_serial_configure+set}" = set; then :
7150 enableval
=$enable_serial_configure;
7154 case ${enable_serial_configure} in
7156 enable_serial_build_configure
=yes
7157 enable_serial_host_configure
=yes
7158 enable_serial_target_configure
=yes
7162 # These force 'configure's to be done one at a time, to avoid problems
7163 # with contention over a shared config.cache.
7165 echo '# serdep.tmp' > serdep.tmp
7167 test "x${enable_serial_build_configure}" = xyes
&&
7168 for item
in ${build_configdirs} ; do
7171 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7176 test "x${enable_serial_host_configure}" = xyes
&&
7177 for item
in ${configdirs} ; do
7180 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7185 test "x${enable_serial_target_configure}" = xyes
&&
7186 for item
in ${target_configdirs} ; do
7189 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7193 serialization_dependencies
=serdep.tmp
7196 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7197 # target, nonopt, and variable assignments. These are the ones we
7198 # might not want to pass down to subconfigures. The exception being
7199 # --cache-file=/dev/null, which is used to turn off the use of cache
7200 # files altogether, and which should be passed on to subconfigures.
7201 # Also strip program-prefix, program-suffix, and program-transform-name,
7202 # so that we can pass down a consistent program-transform-name.
7207 eval "set -- $ac_configure_args"
7210 if test X
"$skip_next" = X
"yes"; then
7214 if test X
"$keep_next" = X
"yes"; then
7217 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7219 baseargs
="$baseargs '$ac_arg'"
7220 tbaseargs
="$tbaseargs '$ac_arg'"
7225 # Handle separated arguments. Based on the logic generated by
7228 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7229 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7230 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7231 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7245 --with-* |
--without-*)
7246 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7250 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7253 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7262 mpc | mpfr | gmp | isl
)
7263 # If we're processing --with-$lib, --with-$lib-include or
7264 # --with-$lib-lib, for one of the libs above, and target is
7265 # different from host, don't pass the current argument to any
7266 # target library's configure.
7267 if test x
$is_cross_compiler = xyes
; then
7276 --cache-file=/dev
/null | \
7277 -cache-file=/dev
/null
)
7278 # Handled here to avoid the test to skip args below.
7279 baseargs
="$baseargs '$ac_arg'"
7280 tbaseargs
="$tbaseargs '$ac_arg'"
7281 # Assert: $separate_arg should always be no.
7282 keep_next
=$separate_arg
7298 -program-prefix* | \
7299 -program-suffix* | \
7300 -program-transform-name* )
7301 skip_next
=$separate_arg
7305 # An option. Add it.
7308 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7310 baseargs
="$baseargs '$ac_arg'"
7311 if test X
"$skip_targ" = Xno
; then
7312 tbaseargs
="$tbaseargs '$ac_arg'"
7314 keep_next
=$separate_arg
7317 # Either a variable assignment, or a nonopt (triplet). Don't
7318 # pass it down; let the Makefile handle this.
7323 # Remove the initial space we just introduced and, as these will be
7324 # expanded by make, quote '$'.
7325 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7327 # Add in --program-transform-name, after --program-prefix and
7328 # --program-suffix have been applied to it. Autoconf has already
7329 # doubled dollar signs and backslashes in program_transform_name; we want
7330 # the backslashes un-doubled, and then the entire thing wrapped in single
7331 # quotes, because this will be expanded first by make and then by the shell.
7332 # Also, because we want to override the logic in subdir configure scripts to
7333 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7334 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7335 ${program_transform_name}
7337 gcc_transform_name
=`cat conftestsed.out`
7338 rm -f conftestsed.out
7339 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7340 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7341 if test "$silent" = yes; then
7342 baseargs
="$baseargs --silent"
7343 tbaseargs
="$tbaseargs --silent"
7345 baseargs
="$baseargs --disable-option-checking"
7346 tbaseargs
="$tbaseargs --disable-option-checking"
7348 # Record and document user additions to sub configure arguments.
7353 # For the build-side libraries, we just need to pretend we're native,
7354 # and not use the same cache file. Multilibs are neither needed nor
7355 # desired. We can't even use the same cache file for all build-side
7356 # libraries, as they're compiled differently; some with C, some with
7357 # C++ or with different feature-enabling options.
7358 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7360 # For host modules, accept cache file option, or specification as blank.
7361 case "${cache_file}" in
7363 cache_file_option
="" ;;
7364 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7365 cache_file_option
="--cache-file=${cache_file}" ;;
7367 cache_file_option
="--cache-file=../${cache_file}" ;;
7370 # Host dirs don't like to share a cache file either, horribly enough.
7371 # This seems to be due to autoconf 2.5x stupidity.
7372 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7374 target_configargs
="$target_configargs ${tbaseargs}"
7376 # Passing a --with-cross-host argument lets the target libraries know
7377 # whether they are being built with a cross-compiler or being built
7378 # native. However, it would be better to use other mechanisms to make the
7379 # sorts of decisions they want to make on this basis. Please consider
7380 # this option to be deprecated. FIXME.
7381 if test x
${is_cross_compiler} = xyes
; then
7382 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7385 # Special user-friendly check for native x86_64-linux build, if
7386 # multilib is not explicitly enabled.
7387 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7388 x86_64-
*linux
*:yes:$build:$build:)
7389 # Make sure we have a development environment that handles 32-bit
7391 echo "int main () { return 0; }" > conftest.c
7392 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7393 if test $?
= 0 ; then
7394 if test -s conftest ||
test -s conftest.exe
; then
7399 if test x
${dev64} != xyes
; then
7400 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
7405 # Default to --enable-multilib.
7406 if test x
${enable_multilib} = x
; then
7407 target_configargs
="--enable-multilib ${target_configargs}"
7410 # Pass --with-newlib if appropriate. Note that target_configdirs has
7411 # changed from the earlier setting of with_newlib.
7412 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7413 target_configargs
="--with-newlib ${target_configargs}"
7416 # Different target subdirs use different values of certain variables
7417 # (notably CXX). Worse, multilibs use *lots* of different values.
7418 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7419 # it doesn't automatically accept command-line overrides of them.
7420 # This means it's not safe for target subdirs to share a cache file,
7421 # which is disgusting, but there you have it. Hopefully this can be
7422 # fixed in future. It's still worthwhile to use a cache file for each
7423 # directory. I think.
7425 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7426 # We need to pass --target, as newer autoconf's requires consistency
7427 # for target_alias and gcc doesn't manage it consistently.
7428 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7431 case " $target_configdirs " in
7433 case " $target_configargs " in
7434 *" --with-newlib "*)
7437 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7441 # If we're not building GCC, don't discard standard headers.
7442 if test -d ${srcdir}/gcc
; then
7443 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7445 if test "${build}" != "${host}"; then
7446 # On Canadian crosses, CC_FOR_TARGET will have already been set
7447 # by `configure', so we won't have an opportunity to add -Bgcc/
7448 # to it. This is right: we don't want to search that directory
7449 # for binaries, but we want the header files in there, so add
7451 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7453 # Someone might think of using the pre-installed headers on
7454 # Canadian crosses, in case the installed compiler is not fully
7455 # compatible with the compiler being built. In this case, it
7456 # would be better to flag an error than risking having
7457 # incompatible object files being constructed. We can't
7458 # guarantee that an error will be flagged, but let's hope the
7459 # compiler will do it, when presented with incompatible header
7464 case "${target}-${is_cross_compiler}" in
7465 i
[3456789]86-*-linux*-no)
7466 # Here host == target, so we don't need to build gcc,
7467 # so we don't want to discard standard headers.
7468 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7471 # If we're building newlib, use its generic headers last, but search
7472 # for any libc-related directories first (so make it the last -B
7474 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7476 # If we're building libgloss, find the startup file, simulator library
7477 # and linker script.
7478 case " $target_configdirs " in
7480 # Look for startup file, simulator library and maybe linker script.
7481 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7482 # Look for libnosys.a in case the target needs it.
7483 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7484 # Most targets have the linker script in the source directory.
7485 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7496 x86_64-
*mingw
* |
*-w64-mingw*)
7497 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7498 # however, use a symlink named 'mingw' in ${prefix} .
7499 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7502 # MinGW can't be handled as Cygwin above since it does not use newlib.
7503 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'
7507 # Allow the user to override the flags for
7508 # our build compiler if desired.
7509 if test x
"${build}" = x
"${host}" ; then
7510 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7511 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7512 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7515 # On Canadian crosses, we'll be searching the right directories for
7516 # the previously-installed cross compiler, so don't bother to add
7517 # flags for directories within the install tree of the compiler
7518 # being built; programs in there won't even run.
7519 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7520 # Search for pre-installed headers if nothing else fits.
7521 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7524 if test "x
${use_gnu_ld}" = x &&
7525 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7526 # Arrange for us to find uninstalled linker scripts.
7527 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7530 # Search for other target-specific linker scripts and such.
7533 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7537 # Makefile fragments.
7538 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7540 eval fragval=\$$frag
7541 if test $fragval != /dev/null; then
7542 eval $frag=${srcdir}/$fragval
7550 # Miscellanea: directories, flags, etc.
7559 # Build module lists & subconfigure args.
7563 # Host module lists & subconfigure args.
7568 # Target module lists & subconfigure args.
7590 # Generate default definitions for YACC, M4, LEX and other programs that run
7591 # on the build machine. These are used if the Makefile can't locate these
7592 # programs in objdir.
7593 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7595 for ac_prog in 'bison -y' byacc yacc
7597 # Extract the first word of "$ac_prog", so it can be a program name with args.
7598 set dummy $ac_prog; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7600 $as_echo_n "checking
for $ac_word...
" >&6; }
7601 if test "${ac_cv_prog_YACC+set}" = set; then :
7602 $as_echo_n "(cached
) " >&6
7604 if test -n "$YACC"; then
7605 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_YACC="$ac_prog"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7624 YACC=$ac_cv_prog_YACC
7625 if test -n "$YACC"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7627 $as_echo "$YACC" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7630 $as_echo "no
" >&6; }
7634 test -n "$YACC" && break
7636 test -n "$YACC" || YACC="$MISSING bison
-y"
7638 case " $build_configdirs " in
7639 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7642 for ac_prog in bison
7644 # Extract the first word of "$ac_prog", so it can be a program name with args.
7645 set dummy $ac_prog; ac_word=$2
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7647 $as_echo_n "checking
for $ac_word...
" >&6; }
7648 if test "${ac_cv_prog_BISON+set}" = set; then :
7649 $as_echo_n "(cached
) " >&6
7651 if test -n "$BISON"; then
7652 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658 test -z "$as_dir" && as_dir=.
7659 for ac_exec_ext in '' $ac_executable_extensions; do
7660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7661 ac_cv_prog_BISON="$ac_prog"
7662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7671 BISON=$ac_cv_prog_BISON
7672 if test -n "$BISON"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7674 $as_echo "$BISON" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7677 $as_echo "no
" >&6; }
7681 test -n "$BISON" && break
7683 test -n "$BISON" || BISON="$MISSING bison
"
7685 case " $build_configdirs " in
7686 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7689 for ac_prog in gm4 gnum4 m4
7691 # Extract the first word of "$ac_prog", so it can be a program name with args.
7692 set dummy $ac_prog; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7694 $as_echo_n "checking
for $ac_word...
" >&6; }
7695 if test "${ac_cv_prog_M4+set}" = set; then :
7696 $as_echo_n "(cached
) " >&6
7698 if test -n "$M4"; then
7699 ac_cv_prog_M4="$M4" # Let the user override the test.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708 ac_cv_prog_M4="$ac_prog"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7719 if test -n "$M4"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7721 $as_echo "$M4" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7724 $as_echo "no
" >&6; }
7728 test -n "$M4" && break
7730 test -n "$M4" || M4="$MISSING m4"
7732 case " $build_configdirs " in
7733 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7736 for ac_prog in flex lex
7738 # Extract the first word of "$ac_prog", so it can be a program name with args.
7739 set dummy $ac_prog; ac_word=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7741 $as_echo_n "checking
for $ac_word...
" >&6; }
7742 if test "${ac_cv_prog_LEX+set}" = set; then :
7743 $as_echo_n "(cached
) " >&6
7745 if test -n "$LEX"; then
7746 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755 ac_cv_prog_LEX="$ac_prog"
7756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7766 if test -n "$LEX"; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7768 $as_echo "$LEX" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7771 $as_echo "no
" >&6; }
7775 test -n "$LEX" && break
7777 test -n "$LEX" || LEX="$MISSING flex
"
7779 case " $build_configdirs " in
7780 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7781 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7786 # Extract the first word of "$ac_prog", so it can be a program name with args.
7787 set dummy $ac_prog; ac_word=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7789 $as_echo_n "checking
for $ac_word...
" >&6; }
7790 if test "${ac_cv_prog_FLEX+set}" = set; then :
7791 $as_echo_n "(cached
) " >&6
7793 if test -n "$FLEX"; then
7794 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803 ac_cv_prog_FLEX="$ac_prog"
7804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7813 FLEX=$ac_cv_prog_FLEX
7814 if test -n "$FLEX"; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7816 $as_echo "$FLEX" >&6; }
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7819 $as_echo "no
" >&6; }
7823 test -n "$FLEX" && break
7825 test -n "$FLEX" || FLEX="$MISSING flex
"
7827 case " $build_configdirs " in
7828 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7831 for ac_prog in makeinfo
7833 # Extract the first word of "$ac_prog", so it can be a program name with args.
7834 set dummy $ac_prog; ac_word=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7836 $as_echo_n "checking
for $ac_word...
" >&6; }
7837 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7838 $as_echo_n "(cached
) " >&6
7840 if test -n "$MAKEINFO"; then
7841 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir=.
7848 for ac_exec_ext in '' $ac_executable_extensions; do
7849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7850 ac_cv_prog_MAKEINFO="$ac_prog"
7851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7860 MAKEINFO=$ac_cv_prog_MAKEINFO
7861 if test -n "$MAKEINFO"; then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7863 $as_echo "$MAKEINFO" >&6; }
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7866 $as_echo "no
" >&6; }
7870 test -n "$MAKEINFO" && break
7872 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7874 case " $build_configdirs " in
7875 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7878 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7879 # higher, else we use the "missing
" dummy.
7880 if ${MAKEINFO} --version \
7881 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7884 MAKEINFO="$MISSING makeinfo
"
7890 # FIXME: expect and dejagnu may become build tools?
7892 for ac_prog in expect
7894 # Extract the first word of "$ac_prog", so it can be a program name with args.
7895 set dummy $ac_prog; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7897 $as_echo_n "checking
for $ac_word...
" >&6; }
7898 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7899 $as_echo_n "(cached
) " >&6
7901 if test -n "$EXPECT"; then
7902 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_EXPECT="$ac_prog"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 EXPECT=$ac_cv_prog_EXPECT
7922 if test -n "$EXPECT"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7924 $as_echo "$EXPECT" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7927 $as_echo "no
" >&6; }
7931 test -n "$EXPECT" && break
7933 test -n "$EXPECT" || EXPECT="expect
"
7935 case " $configdirs " in
7937 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7941 for ac_prog in runtest
7943 # Extract the first word of "$ac_prog", so it can be a program name with args.
7944 set dummy $ac_prog; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7946 $as_echo_n "checking
for $ac_word...
" >&6; }
7947 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7948 $as_echo_n "(cached
) " >&6
7950 if test -n "$RUNTEST"; then
7951 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7960 ac_cv_prog_RUNTEST="$ac_prog"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 RUNTEST=$ac_cv_prog_RUNTEST
7971 if test -n "$RUNTEST"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7973 $as_echo "$RUNTEST" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7976 $as_echo "no
" >&6; }
7980 test -n "$RUNTEST" && break
7982 test -n "$RUNTEST" || RUNTEST="runtest
"
7984 case " $configdirs " in
7986 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7993 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7994 ncn_target_tool_prefix=
7995 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7999 if test -n "$AR"; then
8001 elif test -n "$ac_cv_prog_AR"; then
8005 if test -n "$ac_cv_prog_AR"; then
8006 for ncn_progname in ar; do
8007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8008 set dummy ${ncn_progname}; ac_word=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8010 $as_echo_n "checking
for $ac_word...
" >&6; }
8011 if test "${ac_cv_prog_AR+set}" = set; then :
8012 $as_echo_n "(cached
) " >&6
8014 if test -n "$AR"; then
8015 ac_cv_prog_AR="$AR" # Let the user override the test.
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 test -z "$as_dir" && as_dir=.
8022 for ac_exec_ext in '' $ac_executable_extensions; do
8023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8024 ac_cv_prog_AR="${ncn_progname}"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8035 if test -n "$AR"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8037 $as_echo "$AR" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8040 $as_echo "no
" >&6; }
8047 for ncn_progname in ar; do
8048 if test -n "$ncn_tool_prefix"; then
8049 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8050 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8052 $as_echo_n "checking
for $ac_word...
" >&6; }
8053 if test "${ac_cv_prog_AR+set}" = set; then :
8054 $as_echo_n "(cached
) " >&6
8056 if test -n "$AR"; then
8057 ac_cv_prog_AR="$AR" # Let the user override the test.
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8066 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8077 if test -n "$AR"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8079 $as_echo "$AR" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8082 $as_echo "no
" >&6; }
8087 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8089 set dummy ${ncn_progname}; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8091 $as_echo_n "checking
for $ac_word...
" >&6; }
8092 if test "${ac_cv_prog_AR+set}" = set; then :
8093 $as_echo_n "(cached
) " >&6
8095 if test -n "$AR"; then
8096 ac_cv_prog_AR="$AR" # Let the user override the test.
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_prog_AR="${ncn_progname}"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8116 if test -n "$AR"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8118 $as_echo "$AR" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8121 $as_echo "no
" >&6; }
8126 test -n "$ac_cv_prog_AR" && break
8129 if test -z "$ac_cv_prog_AR" ; then
8131 if test $build = $host ; then
8134 AR="${ncn_tool_prefix}$2"
8140 if test -n "$AS"; then
8142 elif test -n "$ac_cv_prog_AS"; then
8146 if test -n "$ac_cv_prog_AS"; then
8147 for ncn_progname in as; do
8148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8149 set dummy ${ncn_progname}; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8151 $as_echo_n "checking
for $ac_word...
" >&6; }
8152 if test "${ac_cv_prog_AS+set}" = set; then :
8153 $as_echo_n "(cached
) " >&6
8155 if test -n "$AS"; then
8156 ac_cv_prog_AS="$AS" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_prog_AS="${ncn_progname}"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8176 if test -n "$AS"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8178 $as_echo "$AS" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8181 $as_echo "no
" >&6; }
8188 for ncn_progname in as; do
8189 if test -n "$ncn_tool_prefix"; then
8190 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8191 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8193 $as_echo_n "checking
for $ac_word...
" >&6; }
8194 if test "${ac_cv_prog_AS+set}" = set; then :
8195 $as_echo_n "(cached
) " >&6
8197 if test -n "$AS"; then
8198 ac_cv_prog_AS="$AS" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8207 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8218 if test -n "$AS"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8220 $as_echo "$AS" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8223 $as_echo "no
" >&6; }
8228 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8230 set dummy ${ncn_progname}; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8232 $as_echo_n "checking
for $ac_word...
" >&6; }
8233 if test "${ac_cv_prog_AS+set}" = set; then :
8234 $as_echo_n "(cached
) " >&6
8236 if test -n "$AS"; then
8237 ac_cv_prog_AS="$AS" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_AS="${ncn_progname}"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8257 if test -n "$AS"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8259 $as_echo "$AS" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8262 $as_echo "no
" >&6; }
8267 test -n "$ac_cv_prog_AS" && break
8270 if test -z "$ac_cv_prog_AS" ; then
8272 if test $build = $host ; then
8275 AS="${ncn_tool_prefix}$2"
8281 if test -n "$DLLTOOL"; then
8282 ac_cv_prog_DLLTOOL=$DLLTOOL
8283 elif test -n "$ac_cv_prog_DLLTOOL"; then
8284 DLLTOOL=$ac_cv_prog_DLLTOOL
8287 if test -n "$ac_cv_prog_DLLTOOL"; then
8288 for ncn_progname in dlltool; do
8289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8290 set dummy ${ncn_progname}; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8292 $as_echo_n "checking
for $ac_word...
" >&6; }
8293 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8294 $as_echo_n "(cached
) " >&6
8296 if test -n "$DLLTOOL"; then
8297 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_prog_DLLTOOL="${ncn_progname}"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8316 DLLTOOL=$ac_cv_prog_DLLTOOL
8317 if test -n "$DLLTOOL"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8319 $as_echo "$DLLTOOL" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8322 $as_echo "no
" >&6; }
8329 for ncn_progname in dlltool; do
8330 if test -n "$ncn_tool_prefix"; then
8331 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8332 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8334 $as_echo_n "checking
for $ac_word...
" >&6; }
8335 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8336 $as_echo_n "(cached
) " >&6
8338 if test -n "$DLLTOOL"; then
8339 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8358 DLLTOOL=$ac_cv_prog_DLLTOOL
8359 if test -n "$DLLTOOL"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8361 $as_echo "$DLLTOOL" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8364 $as_echo "no
" >&6; }
8369 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8371 set dummy ${ncn_progname}; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8373 $as_echo_n "checking
for $ac_word...
" >&6; }
8374 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8375 $as_echo_n "(cached
) " >&6
8377 if test -n "$DLLTOOL"; then
8378 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8387 ac_cv_prog_DLLTOOL="${ncn_progname}"
8388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8397 DLLTOOL=$ac_cv_prog_DLLTOOL
8398 if test -n "$DLLTOOL"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8400 $as_echo "$DLLTOOL" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8403 $as_echo "no
" >&6; }
8408 test -n "$ac_cv_prog_DLLTOOL" && break
8411 if test -z "$ac_cv_prog_DLLTOOL" ; then
8413 if test $build = $host ; then
8416 DLLTOOL="${ncn_tool_prefix}$2"
8422 if test -n "$LD"; then
8424 elif test -n "$ac_cv_prog_LD"; then
8428 if test -n "$ac_cv_prog_LD"; then
8429 for ncn_progname in ld; do
8430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8431 set dummy ${ncn_progname}; ac_word=$2
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8433 $as_echo_n "checking
for $ac_word...
" >&6; }
8434 if test "${ac_cv_prog_LD+set}" = set; then :
8435 $as_echo_n "(cached
) " >&6
8437 if test -n "$LD"; then
8438 ac_cv_prog_LD="$LD" # Let the user override the test.
8440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444 test -z "$as_dir" && as_dir=.
8445 for ac_exec_ext in '' $ac_executable_extensions; do
8446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8447 ac_cv_prog_LD="${ncn_progname}"
8448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8458 if test -n "$LD"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8460 $as_echo "$LD" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8463 $as_echo "no
" >&6; }
8470 for ncn_progname in ld; do
8471 if test -n "$ncn_tool_prefix"; then
8472 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8473 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8475 $as_echo_n "checking
for $ac_word...
" >&6; }
8476 if test "${ac_cv_prog_LD+set}" = set; then :
8477 $as_echo_n "(cached
) " >&6
8479 if test -n "$LD"; then
8480 ac_cv_prog_LD="$LD" # Let the user override the test.
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 test -z "$as_dir" && as_dir=.
8487 for ac_exec_ext in '' $ac_executable_extensions; do
8488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8489 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8500 if test -n "$LD"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8502 $as_echo "$LD" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8505 $as_echo "no
" >&6; }
8510 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8512 set dummy ${ncn_progname}; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8514 $as_echo_n "checking
for $ac_word...
" >&6; }
8515 if test "${ac_cv_prog_LD+set}" = set; then :
8516 $as_echo_n "(cached
) " >&6
8518 if test -n "$LD"; then
8519 ac_cv_prog_LD="$LD" # Let the user override the test.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_prog_LD="${ncn_progname}"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8539 if test -n "$LD"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8541 $as_echo "$LD" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8544 $as_echo "no
" >&6; }
8549 test -n "$ac_cv_prog_LD" && break
8552 if test -z "$ac_cv_prog_LD" ; then
8554 if test $build = $host ; then
8557 LD="${ncn_tool_prefix}$2"
8563 if test -n "$LIPO"; then
8564 ac_cv_prog_LIPO=$LIPO
8565 elif test -n "$ac_cv_prog_LIPO"; then
8566 LIPO=$ac_cv_prog_LIPO
8569 if test -n "$ac_cv_prog_LIPO"; then
8570 for ncn_progname in lipo; do
8571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8572 set dummy ${ncn_progname}; ac_word=$2
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8574 $as_echo_n "checking
for $ac_word...
" >&6; }
8575 if test "${ac_cv_prog_LIPO+set}" = set; then :
8576 $as_echo_n "(cached
) " >&6
8578 if test -n "$LIPO"; then
8579 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8585 test -z "$as_dir" && as_dir=.
8586 for ac_exec_ext in '' $ac_executable_extensions; do
8587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8588 ac_cv_prog_LIPO="${ncn_progname}"
8589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8598 LIPO=$ac_cv_prog_LIPO
8599 if test -n "$LIPO"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8601 $as_echo "$LIPO" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8604 $as_echo "no
" >&6; }
8611 for ncn_progname in lipo; do
8612 if test -n "$ncn_tool_prefix"; then
8613 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8614 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8616 $as_echo_n "checking
for $ac_word...
" >&6; }
8617 if test "${ac_cv_prog_LIPO+set}" = set; then :
8618 $as_echo_n "(cached
) " >&6
8620 if test -n "$LIPO"; then
8621 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8630 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8640 LIPO=$ac_cv_prog_LIPO
8641 if test -n "$LIPO"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8643 $as_echo "$LIPO" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8646 $as_echo "no
" >&6; }
8651 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8653 set dummy ${ncn_progname}; ac_word=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8655 $as_echo_n "checking
for $ac_word...
" >&6; }
8656 if test "${ac_cv_prog_LIPO+set}" = set; then :
8657 $as_echo_n "(cached
) " >&6
8659 if test -n "$LIPO"; then
8660 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8669 ac_cv_prog_LIPO="${ncn_progname}"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 LIPO=$ac_cv_prog_LIPO
8680 if test -n "$LIPO"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8682 $as_echo "$LIPO" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8685 $as_echo "no
" >&6; }
8690 test -n "$ac_cv_prog_LIPO" && break
8693 if test -z "$ac_cv_prog_LIPO" ; then
8695 if test $build = $host ; then
8698 LIPO="${ncn_tool_prefix}$2"
8704 if test -n "$NM"; then
8706 elif test -n "$ac_cv_prog_NM"; then
8710 if test -n "$ac_cv_prog_NM"; then
8711 for ncn_progname in nm; do
8712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8713 set dummy ${ncn_progname}; ac_word=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8715 $as_echo_n "checking
for $ac_word...
" >&6; }
8716 if test "${ac_cv_prog_NM+set}" = set; then :
8717 $as_echo_n "(cached
) " >&6
8719 if test -n "$NM"; then
8720 ac_cv_prog_NM="$NM" # Let the user override the test.
8722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir=.
8727 for ac_exec_ext in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_prog_NM="${ncn_progname}"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8740 if test -n "$NM"; then
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8742 $as_echo "$NM" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8745 $as_echo "no
" >&6; }
8752 for ncn_progname in nm; do
8753 if test -n "$ncn_tool_prefix"; then
8754 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8755 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8757 $as_echo_n "checking
for $ac_word...
" >&6; }
8758 if test "${ac_cv_prog_NM+set}" = set; then :
8759 $as_echo_n "(cached
) " >&6
8761 if test -n "$NM"; then
8762 ac_cv_prog_NM="$NM" # Let the user override the test.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8771 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8782 if test -n "$NM"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8784 $as_echo "$NM" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8787 $as_echo "no
" >&6; }
8792 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8794 set dummy ${ncn_progname}; ac_word=$2
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8796 $as_echo_n "checking
for $ac_word...
" >&6; }
8797 if test "${ac_cv_prog_NM+set}" = set; then :
8798 $as_echo_n "(cached
) " >&6
8800 if test -n "$NM"; then
8801 ac_cv_prog_NM="$NM" # Let the user override the test.
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 test -z "$as_dir" && as_dir=.
8808 for ac_exec_ext in '' $ac_executable_extensions; do
8809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8810 ac_cv_prog_NM="${ncn_progname}"
8811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8821 if test -n "$NM"; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8823 $as_echo "$NM" >&6; }
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8826 $as_echo "no
" >&6; }
8831 test -n "$ac_cv_prog_NM" && break
8834 if test -z "$ac_cv_prog_NM" ; then
8836 if test $build = $host ; then
8839 NM="${ncn_tool_prefix}$2"
8845 if test -n "$RANLIB"; then
8846 ac_cv_prog_RANLIB=$RANLIB
8847 elif test -n "$ac_cv_prog_RANLIB"; then
8848 RANLIB=$ac_cv_prog_RANLIB
8851 if test -n "$ac_cv_prog_RANLIB"; then
8852 for ncn_progname in ranlib; do
8853 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8854 set dummy ${ncn_progname}; ac_word=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8856 $as_echo_n "checking
for $ac_word...
" >&6; }
8857 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8858 $as_echo_n "(cached
) " >&6
8860 if test -n "$RANLIB"; then
8861 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir=.
8868 for ac_exec_ext in '' $ac_executable_extensions; do
8869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8870 ac_cv_prog_RANLIB="${ncn_progname}"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8880 RANLIB=$ac_cv_prog_RANLIB
8881 if test -n "$RANLIB"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8883 $as_echo "$RANLIB" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8886 $as_echo "no
" >&6; }
8893 for ncn_progname in ranlib; do
8894 if test -n "$ncn_tool_prefix"; then
8895 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8896 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8898 $as_echo_n "checking
for $ac_word...
" >&6; }
8899 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8900 $as_echo_n "(cached
) " >&6
8902 if test -n "$RANLIB"; then
8903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8912 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8922 RANLIB=$ac_cv_prog_RANLIB
8923 if test -n "$RANLIB"; then
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8925 $as_echo "$RANLIB" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8928 $as_echo "no
" >&6; }
8933 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8934 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8935 set dummy ${ncn_progname}; ac_word=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8937 $as_echo_n "checking
for $ac_word...
" >&6; }
8938 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8939 $as_echo_n "(cached
) " >&6
8941 if test -n "$RANLIB"; then
8942 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir=.
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_prog_RANLIB="${ncn_progname}"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8961 RANLIB=$ac_cv_prog_RANLIB
8962 if test -n "$RANLIB"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8964 $as_echo "$RANLIB" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8967 $as_echo "no
" >&6; }
8972 test -n "$ac_cv_prog_RANLIB" && break
8975 if test -z "$ac_cv_prog_RANLIB" ; then
8981 if test -n "$STRIP"; then
8982 ac_cv_prog_STRIP=$STRIP
8983 elif test -n "$ac_cv_prog_STRIP"; then
8984 STRIP=$ac_cv_prog_STRIP
8987 if test -n "$ac_cv_prog_STRIP"; then
8988 for ncn_progname in strip; do
8989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8990 set dummy ${ncn_progname}; ac_word=$2
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8992 $as_echo_n "checking
for $ac_word...
" >&6; }
8993 if test "${ac_cv_prog_STRIP+set}" = set; then :
8994 $as_echo_n "(cached
) " >&6
8996 if test -n "$STRIP"; then
8997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_STRIP="${ncn_progname}"
9007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9016 STRIP=$ac_cv_prog_STRIP
9017 if test -n "$STRIP"; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9019 $as_echo "$STRIP" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9022 $as_echo "no
" >&6; }
9029 for ncn_progname in strip; do
9030 if test -n "$ncn_tool_prefix"; then
9031 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9032 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9034 $as_echo_n "checking
for $ac_word...
" >&6; }
9035 if test "${ac_cv_prog_STRIP+set}" = set; then :
9036 $as_echo_n "(cached
) " >&6
9038 if test -n "$STRIP"; then
9039 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045 test -z "$as_dir" && as_dir=.
9046 for ac_exec_ext in '' $ac_executable_extensions; do
9047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9058 STRIP=$ac_cv_prog_STRIP
9059 if test -n "$STRIP"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9061 $as_echo "$STRIP" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9064 $as_echo "no
" >&6; }
9069 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9071 set dummy ${ncn_progname}; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9073 $as_echo_n "checking
for $ac_word...
" >&6; }
9074 if test "${ac_cv_prog_STRIP+set}" = set; then :
9075 $as_echo_n "(cached
) " >&6
9077 if test -n "$STRIP"; then
9078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_prog_STRIP="${ncn_progname}"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9097 STRIP=$ac_cv_prog_STRIP
9098 if test -n "$STRIP"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9100 $as_echo "$STRIP" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9103 $as_echo "no
" >&6; }
9108 test -n "$ac_cv_prog_STRIP" && break
9111 if test -z "$ac_cv_prog_STRIP" ; then
9117 if test -n "$WINDRES"; then
9118 ac_cv_prog_WINDRES=$WINDRES
9119 elif test -n "$ac_cv_prog_WINDRES"; then
9120 WINDRES=$ac_cv_prog_WINDRES
9123 if test -n "$ac_cv_prog_WINDRES"; then
9124 for ncn_progname in windres; do
9125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9126 set dummy ${ncn_progname}; ac_word=$2
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9128 $as_echo_n "checking
for $ac_word...
" >&6; }
9129 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9130 $as_echo_n "(cached
) " >&6
9132 if test -n "$WINDRES"; then
9133 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9139 test -z "$as_dir" && as_dir=.
9140 for ac_exec_ext in '' $ac_executable_extensions; do
9141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9142 ac_cv_prog_WINDRES="${ncn_progname}"
9143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9152 WINDRES=$ac_cv_prog_WINDRES
9153 if test -n "$WINDRES"; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9155 $as_echo "$WINDRES" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9158 $as_echo "no
" >&6; }
9165 for ncn_progname in windres; do
9166 if test -n "$ncn_tool_prefix"; then
9167 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9168 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9170 $as_echo_n "checking
for $ac_word...
" >&6; }
9171 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9172 $as_echo_n "(cached
) " >&6
9174 if test -n "$WINDRES"; then
9175 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181 test -z "$as_dir" && as_dir=.
9182 for ac_exec_ext in '' $ac_executable_extensions; do
9183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9184 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9194 WINDRES=$ac_cv_prog_WINDRES
9195 if test -n "$WINDRES"; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9197 $as_echo "$WINDRES" >&6; }
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9200 $as_echo "no
" >&6; }
9205 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9207 set dummy ${ncn_progname}; ac_word=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9209 $as_echo_n "checking
for $ac_word...
" >&6; }
9210 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9211 $as_echo_n "(cached
) " >&6
9213 if test -n "$WINDRES"; then
9214 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_WINDRES="${ncn_progname}"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9233 WINDRES=$ac_cv_prog_WINDRES
9234 if test -n "$WINDRES"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9236 $as_echo "$WINDRES" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9239 $as_echo "no
" >&6; }
9244 test -n "$ac_cv_prog_WINDRES" && break
9247 if test -z "$ac_cv_prog_WINDRES" ; then
9249 if test $build = $host ; then
9252 WINDRES="${ncn_tool_prefix}$2"
9258 if test -n "$WINDMC"; then
9259 ac_cv_prog_WINDMC=$WINDMC
9260 elif test -n "$ac_cv_prog_WINDMC"; then
9261 WINDMC=$ac_cv_prog_WINDMC
9264 if test -n "$ac_cv_prog_WINDMC"; then
9265 for ncn_progname in windmc; do
9266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9267 set dummy ${ncn_progname}; ac_word=$2
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9269 $as_echo_n "checking
for $ac_word...
" >&6; }
9270 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9271 $as_echo_n "(cached
) " >&6
9273 if test -n "$WINDMC"; then
9274 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 test -z "$as_dir" && as_dir=.
9281 for ac_exec_ext in '' $ac_executable_extensions; do
9282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9283 ac_cv_prog_WINDMC="${ncn_progname}"
9284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9293 WINDMC=$ac_cv_prog_WINDMC
9294 if test -n "$WINDMC"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9296 $as_echo "$WINDMC" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9299 $as_echo "no
" >&6; }
9306 for ncn_progname in windmc; do
9307 if test -n "$ncn_tool_prefix"; then
9308 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9309 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9311 $as_echo_n "checking
for $ac_word...
" >&6; }
9312 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9313 $as_echo_n "(cached
) " >&6
9315 if test -n "$WINDMC"; then
9316 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322 test -z "$as_dir" && as_dir=.
9323 for ac_exec_ext in '' $ac_executable_extensions; do
9324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9325 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9335 WINDMC=$ac_cv_prog_WINDMC
9336 if test -n "$WINDMC"; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9338 $as_echo "$WINDMC" >&6; }
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9341 $as_echo "no
" >&6; }
9346 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9348 set dummy ${ncn_progname}; ac_word=$2
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9350 $as_echo_n "checking
for $ac_word...
" >&6; }
9351 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9352 $as_echo_n "(cached
) " >&6
9354 if test -n "$WINDMC"; then
9355 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364 ac_cv_prog_WINDMC="${ncn_progname}"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9374 WINDMC=$ac_cv_prog_WINDMC
9375 if test -n "$WINDMC"; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9377 $as_echo "$WINDMC" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9380 $as_echo "no
" >&6; }
9385 test -n "$ac_cv_prog_WINDMC" && break
9388 if test -z "$ac_cv_prog_WINDMC" ; then
9390 if test $build = $host ; then
9393 WINDMC="${ncn_tool_prefix}$2"
9399 if test -n "$OBJCOPY"; then
9400 ac_cv_prog_OBJCOPY=$OBJCOPY
9401 elif test -n "$ac_cv_prog_OBJCOPY"; then
9402 OBJCOPY=$ac_cv_prog_OBJCOPY
9405 if test -n "$ac_cv_prog_OBJCOPY"; then
9406 for ncn_progname in objcopy; do
9407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9408 set dummy ${ncn_progname}; ac_word=$2
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9410 $as_echo_n "checking
for $ac_word...
" >&6; }
9411 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9412 $as_echo_n "(cached
) " >&6
9414 if test -n "$OBJCOPY"; then
9415 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9424 ac_cv_prog_OBJCOPY="${ncn_progname}"
9425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9434 OBJCOPY=$ac_cv_prog_OBJCOPY
9435 if test -n "$OBJCOPY"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9437 $as_echo "$OBJCOPY" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9440 $as_echo "no
" >&6; }
9447 for ncn_progname in objcopy; do
9448 if test -n "$ncn_tool_prefix"; then
9449 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9450 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9452 $as_echo_n "checking
for $ac_word...
" >&6; }
9453 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9454 $as_echo_n "(cached
) " >&6
9456 if test -n "$OBJCOPY"; then
9457 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir=.
9464 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9466 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9476 OBJCOPY=$ac_cv_prog_OBJCOPY
9477 if test -n "$OBJCOPY"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9479 $as_echo "$OBJCOPY" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9482 $as_echo "no
" >&6; }
9487 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9489 set dummy ${ncn_progname}; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9491 $as_echo_n "checking
for $ac_word...
" >&6; }
9492 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9493 $as_echo_n "(cached
) " >&6
9495 if test -n "$OBJCOPY"; then
9496 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9505 ac_cv_prog_OBJCOPY="${ncn_progname}"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9515 OBJCOPY=$ac_cv_prog_OBJCOPY
9516 if test -n "$OBJCOPY"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9518 $as_echo "$OBJCOPY" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9521 $as_echo "no
" >&6; }
9526 test -n "$ac_cv_prog_OBJCOPY" && break
9529 if test -z "$ac_cv_prog_OBJCOPY" ; then
9531 if test $build = $host ; then
9534 OBJCOPY="${ncn_tool_prefix}$2"
9540 if test -n "$OBJDUMP"; then
9541 ac_cv_prog_OBJDUMP=$OBJDUMP
9542 elif test -n "$ac_cv_prog_OBJDUMP"; then
9543 OBJDUMP=$ac_cv_prog_OBJDUMP
9546 if test -n "$ac_cv_prog_OBJDUMP"; then
9547 for ncn_progname in objdump; do
9548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9549 set dummy ${ncn_progname}; ac_word=$2
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9551 $as_echo_n "checking
for $ac_word...
" >&6; }
9552 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9553 $as_echo_n "(cached
) " >&6
9555 if test -n "$OBJDUMP"; then
9556 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9562 test -z "$as_dir" && as_dir=.
9563 for ac_exec_ext in '' $ac_executable_extensions; do
9564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9565 ac_cv_prog_OBJDUMP="${ncn_progname}"
9566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9575 OBJDUMP=$ac_cv_prog_OBJDUMP
9576 if test -n "$OBJDUMP"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9578 $as_echo "$OBJDUMP" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9581 $as_echo "no
" >&6; }
9588 for ncn_progname in objdump; do
9589 if test -n "$ncn_tool_prefix"; then
9590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9593 $as_echo_n "checking
for $ac_word...
" >&6; }
9594 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9595 $as_echo_n "(cached
) " >&6
9597 if test -n "$OBJDUMP"; then
9598 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9607 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9617 OBJDUMP=$ac_cv_prog_OBJDUMP
9618 if test -n "$OBJDUMP"; then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9620 $as_echo "$OBJDUMP" >&6; }
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9623 $as_echo "no
" >&6; }
9628 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9630 set dummy ${ncn_progname}; ac_word=$2
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9632 $as_echo_n "checking
for $ac_word...
" >&6; }
9633 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9634 $as_echo_n "(cached
) " >&6
9636 if test -n "$OBJDUMP"; then
9637 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9643 test -z "$as_dir" && as_dir=.
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9646 ac_cv_prog_OBJDUMP="${ncn_progname}"
9647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9656 OBJDUMP=$ac_cv_prog_OBJDUMP
9657 if test -n "$OBJDUMP"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9659 $as_echo "$OBJDUMP" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9662 $as_echo "no
" >&6; }
9667 test -n "$ac_cv_prog_OBJDUMP" && break
9670 if test -z "$ac_cv_prog_OBJDUMP" ; then
9672 if test $build = $host ; then
9675 OBJDUMP="${ncn_tool_prefix}$2"
9681 if test -n "$READELF"; then
9682 ac_cv_prog_READELF=$READELF
9683 elif test -n "$ac_cv_prog_READELF"; then
9684 READELF=$ac_cv_prog_READELF
9687 if test -n "$ac_cv_prog_READELF"; then
9688 for ncn_progname in readelf; do
9689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9690 set dummy ${ncn_progname}; ac_word=$2
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9692 $as_echo_n "checking
for $ac_word...
" >&6; }
9693 if test "${ac_cv_prog_READELF+set}" = set; then :
9694 $as_echo_n "(cached
) " >&6
9696 if test -n "$READELF"; then
9697 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9706 ac_cv_prog_READELF="${ncn_progname}"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9716 READELF=$ac_cv_prog_READELF
9717 if test -n "$READELF"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9719 $as_echo "$READELF" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9722 $as_echo "no
" >&6; }
9729 for ncn_progname in readelf; do
9730 if test -n "$ncn_tool_prefix"; then
9731 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9732 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9734 $as_echo_n "checking
for $ac_word...
" >&6; }
9735 if test "${ac_cv_prog_READELF+set}" = set; then :
9736 $as_echo_n "(cached
) " >&6
9738 if test -n "$READELF"; then
9739 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir=.
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9748 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9758 READELF=$ac_cv_prog_READELF
9759 if test -n "$READELF"; then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9761 $as_echo "$READELF" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9764 $as_echo "no
" >&6; }
9769 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9771 set dummy ${ncn_progname}; ac_word=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9773 $as_echo_n "checking
for $ac_word...
" >&6; }
9774 if test "${ac_cv_prog_READELF+set}" = set; then :
9775 $as_echo_n "(cached
) " >&6
9777 if test -n "$READELF"; then
9778 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 test -z "$as_dir" && as_dir=.
9785 for ac_exec_ext in '' $ac_executable_extensions; do
9786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9787 ac_cv_prog_READELF="${ncn_progname}"
9788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9797 READELF=$ac_cv_prog_READELF
9798 if test -n "$READELF"; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9800 $as_echo "$READELF" >&6; }
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9803 $as_echo "no
" >&6; }
9808 test -n "$ac_cv_prog_READELF" && break
9811 if test -z "$ac_cv_prog_READELF" ; then
9813 if test $build = $host ; then
9816 READELF="${ncn_tool_prefix}$2"
9827 # Check whether --with-build-time-tools was given.
9828 if test "${with_build_time_tools+set}" = set; then :
9829 withval=$with_build_time_tools; case x"$withval" in
9832 with_build_time_tools=
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9834 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9838 with_build_time_tools=
9844 if test -n "$CC_FOR_TARGET"; then
9845 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9846 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9847 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9850 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9851 for ncn_progname in cc gcc; do
9852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9853 set dummy ${ncn_progname}; ac_word=$2
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9855 $as_echo_n "checking
for $ac_word...
" >&6; }
9856 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9857 $as_echo_n "(cached
) " >&6
9859 if test -n "$CC_FOR_TARGET"; then
9860 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9866 test -z "$as_dir" && as_dir=.
9867 for ac_exec_ext in '' $ac_executable_extensions; do
9868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9869 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9879 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9880 if test -n "$CC_FOR_TARGET"; then
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9882 $as_echo "$CC_FOR_TARGET" >&6; }
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9885 $as_echo "no
" >&6; }
9892 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9893 for ncn_progname in cc gcc; do
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9895 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9896 if test -x $with_build_time_tools/${ncn_progname}; then
9897 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9899 $as_echo "yes" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9903 $as_echo "no
" >&6; }
9908 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9909 for ncn_progname in cc gcc; do
9910 if test -n "$ncn_target_tool_prefix"; then
9911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9914 $as_echo_n "checking
for $ac_word...
" >&6; }
9915 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9916 $as_echo_n "(cached
) " >&6
9918 if test -n "$CC_FOR_TARGET"; then
9919 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925 test -z "$as_dir" && as_dir=.
9926 for ac_exec_ext in '' $ac_executable_extensions; do
9927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9928 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9938 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9939 if test -n "$CC_FOR_TARGET"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9941 $as_echo "$CC_FOR_TARGET" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9944 $as_echo "no
" >&6; }
9949 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9951 set dummy ${ncn_progname}; ac_word=$2
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9953 $as_echo_n "checking
for $ac_word...
" >&6; }
9954 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9955 $as_echo_n "(cached
) " >&6
9957 if test -n "$CC_FOR_TARGET"; then
9958 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9964 test -z "$as_dir" && as_dir=.
9965 for ac_exec_ext in '' $ac_executable_extensions; do
9966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9967 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9977 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9978 if test -n "$CC_FOR_TARGET"; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9980 $as_echo "$CC_FOR_TARGET" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9983 $as_echo "no
" >&6; }
9988 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9992 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9994 if test $build = $target ; then
9997 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10000 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10005 if test -n "$CXX_FOR_TARGET"; then
10006 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10007 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10008 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10011 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10012 for ncn_progname in c++ g++ cxx gxx; do
10013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10014 set dummy ${ncn_progname}; ac_word=$2
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10016 $as_echo_n "checking
for $ac_word...
" >&6; }
10017 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10018 $as_echo_n "(cached
) " >&6
10020 if test -n "$CXX_FOR_TARGET"; then
10021 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10024 for as_dir in $PATH
10027 test -z "$as_dir" && as_dir=.
10028 for ac_exec_ext in '' $ac_executable_extensions; do
10029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10030 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10040 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10041 if test -n "$CXX_FOR_TARGET"; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10043 $as_echo "$CXX_FOR_TARGET" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10046 $as_echo "no
" >&6; }
10053 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10054 for ncn_progname in c++ g++ cxx gxx; do
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10056 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10057 if test -x $with_build_time_tools/${ncn_progname}; then
10058 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10060 $as_echo "yes" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10064 $as_echo "no
" >&6; }
10069 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10070 for ncn_progname in c++ g++ cxx gxx; do
10071 if test -n "$ncn_target_tool_prefix"; then
10072 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10073 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10075 $as_echo_n "checking
for $ac_word...
" >&6; }
10076 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10077 $as_echo_n "(cached
) " >&6
10079 if test -n "$CXX_FOR_TARGET"; then
10080 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in $PATH
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10089 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10099 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10100 if test -n "$CXX_FOR_TARGET"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10102 $as_echo "$CXX_FOR_TARGET" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10105 $as_echo "no
" >&6; }
10110 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10112 set dummy ${ncn_progname}; ac_word=$2
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10114 $as_echo_n "checking
for $ac_word...
" >&6; }
10115 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10116 $as_echo_n "(cached
) " >&6
10118 if test -n "$CXX_FOR_TARGET"; then
10119 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10122 for as_dir in $PATH
10125 test -z "$as_dir" && as_dir=.
10126 for ac_exec_ext in '' $ac_executable_extensions; do
10127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10128 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10138 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10139 if test -n "$CXX_FOR_TARGET"; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10141 $as_echo "$CXX_FOR_TARGET" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10144 $as_echo "no
" >&6; }
10149 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10153 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10154 set dummy c++ g++ cxx gxx
10155 if test $build = $target ; then
10156 CXX_FOR_TARGET="$2"
10158 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10161 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10166 if test -n "$GCC_FOR_TARGET"; then
10167 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10168 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10169 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10172 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10173 for ncn_progname in gcc; do
10174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10175 set dummy ${ncn_progname}; ac_word=$2
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10177 $as_echo_n "checking
for $ac_word...
" >&6; }
10178 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10179 $as_echo_n "(cached
) " >&6
10181 if test -n "$GCC_FOR_TARGET"; then
10182 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10185 for as_dir in $PATH
10188 test -z "$as_dir" && as_dir=.
10189 for ac_exec_ext in '' $ac_executable_extensions; do
10190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10191 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10201 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10202 if test -n "$GCC_FOR_TARGET"; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10204 $as_echo "$GCC_FOR_TARGET" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10207 $as_echo "no
" >&6; }
10214 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10215 for ncn_progname in gcc; do
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10217 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10218 if test -x $with_build_time_tools/${ncn_progname}; then
10219 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10221 $as_echo "yes" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10225 $as_echo "no
" >&6; }
10230 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10231 for ncn_progname in gcc; do
10232 if test -n "$ncn_target_tool_prefix"; then
10233 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10234 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10236 $as_echo_n "checking
for $ac_word...
" >&6; }
10237 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10238 $as_echo_n "(cached
) " >&6
10240 if test -n "$GCC_FOR_TARGET"; then
10241 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10244 for as_dir in $PATH
10247 test -z "$as_dir" && as_dir=.
10248 for ac_exec_ext in '' $ac_executable_extensions; do
10249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10250 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10260 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10261 if test -n "$GCC_FOR_TARGET"; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10263 $as_echo "$GCC_FOR_TARGET" >&6; }
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10266 $as_echo "no
" >&6; }
10271 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10273 set dummy ${ncn_progname}; ac_word=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10275 $as_echo_n "checking
for $ac_word...
" >&6; }
10276 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10277 $as_echo_n "(cached
) " >&6
10279 if test -n "$GCC_FOR_TARGET"; then
10280 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10299 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10300 if test -n "$GCC_FOR_TARGET"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10302 $as_echo "$GCC_FOR_TARGET" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10305 $as_echo "no
" >&6; }
10310 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10314 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10315 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10317 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10322 if test -n "$GCJ_FOR_TARGET"; then
10323 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10324 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10325 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10328 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10329 for ncn_progname in gcj; do
10330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10331 set dummy ${ncn_progname}; ac_word=$2
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10333 $as_echo_n "checking
for $ac_word...
" >&6; }
10334 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10335 $as_echo_n "(cached
) " >&6
10337 if test -n "$GCJ_FOR_TARGET"; then
10338 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10341 for as_dir in $PATH
10344 test -z "$as_dir" && as_dir=.
10345 for ac_exec_ext in '' $ac_executable_extensions; do
10346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10347 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10357 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10358 if test -n "$GCJ_FOR_TARGET"; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10360 $as_echo "$GCJ_FOR_TARGET" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10363 $as_echo "no
" >&6; }
10370 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10371 for ncn_progname in gcj; do
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10373 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10374 if test -x $with_build_time_tools/${ncn_progname}; then
10375 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10377 $as_echo "yes" >&6; }
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10381 $as_echo "no
" >&6; }
10386 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10387 for ncn_progname in gcj; do
10388 if test -n "$ncn_target_tool_prefix"; then
10389 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10390 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10392 $as_echo_n "checking
for $ac_word...
" >&6; }
10393 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10394 $as_echo_n "(cached
) " >&6
10396 if test -n "$GCJ_FOR_TARGET"; then
10397 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10403 test -z "$as_dir" && as_dir=.
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10406 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10416 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10417 if test -n "$GCJ_FOR_TARGET"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10419 $as_echo "$GCJ_FOR_TARGET" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10422 $as_echo "no
" >&6; }
10427 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10429 set dummy ${ncn_progname}; ac_word=$2
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10431 $as_echo_n "checking
for $ac_word...
" >&6; }
10432 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10433 $as_echo_n "(cached
) " >&6
10435 if test -n "$GCJ_FOR_TARGET"; then
10436 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in $PATH
10442 test -z "$as_dir" && as_dir=.
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10455 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10456 if test -n "$GCJ_FOR_TARGET"; then
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10458 $as_echo "$GCJ_FOR_TARGET" >&6; }
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10461 $as_echo "no
" >&6; }
10466 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10470 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10472 if test $build = $target ; then
10473 GCJ_FOR_TARGET="$2"
10475 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10478 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10483 if test -n "$GFORTRAN_FOR_TARGET"; then
10484 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10485 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10486 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10489 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10490 for ncn_progname in gfortran; do
10491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10492 set dummy ${ncn_progname}; ac_word=$2
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10494 $as_echo_n "checking
for $ac_word...
" >&6; }
10495 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10496 $as_echo_n "(cached
) " >&6
10498 if test -n "$GFORTRAN_FOR_TARGET"; then
10499 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10502 for as_dir in $PATH
10505 test -z "$as_dir" && as_dir=.
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10508 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10518 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10519 if test -n "$GFORTRAN_FOR_TARGET"; then
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10521 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10524 $as_echo "no
" >&6; }
10531 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10532 for ncn_progname in gfortran; do
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10534 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10535 if test -x $with_build_time_tools/${ncn_progname}; then
10536 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10538 $as_echo "yes" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10542 $as_echo "no
" >&6; }
10547 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10548 for ncn_progname in gfortran; do
10549 if test -n "$ncn_target_tool_prefix"; then
10550 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10551 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10553 $as_echo_n "checking
for $ac_word...
" >&6; }
10554 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10555 $as_echo_n "(cached
) " >&6
10557 if test -n "$GFORTRAN_FOR_TARGET"; then
10558 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10561 for as_dir in $PATH
10564 test -z "$as_dir" && as_dir=.
10565 for ac_exec_ext in '' $ac_executable_extensions; do
10566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10567 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10577 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10578 if test -n "$GFORTRAN_FOR_TARGET"; then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10580 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10583 $as_echo "no
" >&6; }
10588 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10589 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10590 set dummy ${ncn_progname}; ac_word=$2
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10592 $as_echo_n "checking
for $ac_word...
" >&6; }
10593 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10594 $as_echo_n "(cached
) " >&6
10596 if test -n "$GFORTRAN_FOR_TARGET"; then
10597 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10600 for as_dir in $PATH
10603 test -z "$as_dir" && as_dir=.
10604 for ac_exec_ext in '' $ac_executable_extensions; do
10605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10606 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10616 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10617 if test -n "$GFORTRAN_FOR_TARGET"; then
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10619 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10622 $as_echo "no
" >&6; }
10627 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10631 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10633 if test $build = $target ; then
10634 GFORTRAN_FOR_TARGET="$2"
10636 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10639 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10644 if test -n "$GOC_FOR_TARGET"; then
10645 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10646 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10647 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10650 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10651 for ncn_progname in gccgo; do
10652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10653 set dummy ${ncn_progname}; ac_word=$2
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10655 $as_echo_n "checking
for $ac_word...
" >&6; }
10656 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10657 $as_echo_n "(cached
) " >&6
10659 if test -n "$GOC_FOR_TARGET"; then
10660 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10663 for as_dir in $PATH
10666 test -z "$as_dir" && as_dir=.
10667 for ac_exec_ext in '' $ac_executable_extensions; do
10668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10669 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10679 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10680 if test -n "$GOC_FOR_TARGET"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10682 $as_echo "$GOC_FOR_TARGET" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10685 $as_echo "no
" >&6; }
10692 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10693 for ncn_progname in gccgo; do
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10695 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10696 if test -x $with_build_time_tools/${ncn_progname}; then
10697 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10699 $as_echo "yes" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10703 $as_echo "no
" >&6; }
10708 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10709 for ncn_progname in gccgo; do
10710 if test -n "$ncn_target_tool_prefix"; then
10711 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10712 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10714 $as_echo_n "checking
for $ac_word...
" >&6; }
10715 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10716 $as_echo_n "(cached
) " >&6
10718 if test -n "$GOC_FOR_TARGET"; then
10719 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722 for as_dir in $PATH
10725 test -z "$as_dir" && as_dir=.
10726 for ac_exec_ext in '' $ac_executable_extensions; do
10727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10728 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10738 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10739 if test -n "$GOC_FOR_TARGET"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10741 $as_echo "$GOC_FOR_TARGET" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10744 $as_echo "no
" >&6; }
10749 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10751 set dummy ${ncn_progname}; ac_word=$2
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10753 $as_echo_n "checking
for $ac_word...
" >&6; }
10754 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10755 $as_echo_n "(cached
) " >&6
10757 if test -n "$GOC_FOR_TARGET"; then
10758 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10761 for as_dir in $PATH
10764 test -z "$as_dir" && as_dir=.
10765 for ac_exec_ext in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10777 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10778 if test -n "$GOC_FOR_TARGET"; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10780 $as_echo "$GOC_FOR_TARGET" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10783 $as_echo "no
" >&6; }
10788 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10792 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10794 if test $build = $target ; then
10795 GOC_FOR_TARGET="$2"
10797 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10800 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10805 cat > conftest.c << \EOF
10810 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10811 have_gcc_for_target=yes
10813 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10814 have_gcc_for_target=no
10821 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10822 if test -n "$with_build_time_tools"; then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10824 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10825 if test -x $with_build_time_tools/ar; then
10826 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10827 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10829 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10832 $as_echo "no
" >&6; }
10834 elif test $build != $host && test $have_gcc_for_target = yes; then
10835 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10836 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10837 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10840 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10841 # Extract the first word of "ar", so it can be a program name with args.
10842 set dummy ar; ac_word=$2
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10844 $as_echo_n "checking
for $ac_word...
" >&6; }
10845 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10846 $as_echo_n "(cached
) " >&6
10848 case $AR_FOR_TARGET in
10850 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $gcc_cv_tool_dirs
10857 test -z "$as_dir" && as_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10871 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10872 if test -n "$AR_FOR_TARGET"; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10874 $as_echo "$AR_FOR_TARGET" >&6; }
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10877 $as_echo "no
" >&6; }
10882 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10885 if test -n "$AR_FOR_TARGET"; then
10886 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10887 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10888 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10891 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10892 for ncn_progname in ar; do
10893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10894 set dummy ${ncn_progname}; ac_word=$2
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10896 $as_echo_n "checking
for $ac_word...
" >&6; }
10897 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10898 $as_echo_n "(cached
) " >&6
10900 if test -n "$AR_FOR_TARGET"; then
10901 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10904 for as_dir in $PATH
10907 test -z "$as_dir" && as_dir=.
10908 for ac_exec_ext in '' $ac_executable_extensions; do
10909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10910 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10920 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10921 if test -n "$AR_FOR_TARGET"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10923 $as_echo "$AR_FOR_TARGET" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10926 $as_echo "no
" >&6; }
10933 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10934 for ncn_progname in ar; do
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10936 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10937 if test -x $with_build_time_tools/${ncn_progname}; then
10938 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10940 $as_echo "yes" >&6; }
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10944 $as_echo "no
" >&6; }
10949 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10950 for ncn_progname in ar; do
10951 if test -n "$ncn_target_tool_prefix"; then
10952 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10953 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10955 $as_echo_n "checking
for $ac_word...
" >&6; }
10956 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10957 $as_echo_n "(cached
) " >&6
10959 if test -n "$AR_FOR_TARGET"; then
10960 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10963 for as_dir in $PATH
10966 test -z "$as_dir" && as_dir=.
10967 for ac_exec_ext in '' $ac_executable_extensions; do
10968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10969 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10979 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10980 if test -n "$AR_FOR_TARGET"; then
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10982 $as_echo "$AR_FOR_TARGET" >&6; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10985 $as_echo "no
" >&6; }
10990 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10991 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10992 set dummy ${ncn_progname}; ac_word=$2
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10994 $as_echo_n "checking
for $ac_word...
" >&6; }
10995 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10996 $as_echo_n "(cached
) " >&6
10998 if test -n "$AR_FOR_TARGET"; then
10999 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11002 for as_dir in $PATH
11005 test -z "$as_dir" && as_dir=.
11006 for ac_exec_ext in '' $ac_executable_extensions; do
11007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11008 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11018 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11019 if test -n "$AR_FOR_TARGET"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11021 $as_echo "$AR_FOR_TARGET" >&6; }
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11024 $as_echo "no
" >&6; }
11029 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11033 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11035 if test $build = $target ; then
11038 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11041 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11045 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11051 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11052 if test -n "$with_build_time_tools"; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11054 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11055 if test -x $with_build_time_tools/as; then
11056 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11057 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11059 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11062 $as_echo "no
" >&6; }
11064 elif test $build != $host && test $have_gcc_for_target = yes; then
11065 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11066 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11067 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11070 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11071 # Extract the first word of "as
", so it can be a program name with args.
11072 set dummy as; ac_word=$2
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11074 $as_echo_n "checking
for $ac_word...
" >&6; }
11075 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11076 $as_echo_n "(cached
) " >&6
11078 case $AS_FOR_TARGET in
11080 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11084 for as_dir in $gcc_cv_tool_dirs
11087 test -z "$as_dir" && as_dir=.
11088 for ac_exec_ext in '' $ac_executable_extensions; do
11089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11090 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11101 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11102 if test -n "$AS_FOR_TARGET"; then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11104 $as_echo "$AS_FOR_TARGET" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11107 $as_echo "no
" >&6; }
11112 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11115 if test -n "$AS_FOR_TARGET"; then
11116 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11117 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11118 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11121 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11122 for ncn_progname in as; do
11123 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11124 set dummy ${ncn_progname}; ac_word=$2
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11126 $as_echo_n "checking
for $ac_word...
" >&6; }
11127 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11128 $as_echo_n "(cached
) " >&6
11130 if test -n "$AS_FOR_TARGET"; then
11131 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11134 for as_dir in $PATH
11137 test -z "$as_dir" && as_dir=.
11138 for ac_exec_ext in '' $ac_executable_extensions; do
11139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11140 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11150 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11151 if test -n "$AS_FOR_TARGET"; then
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11153 $as_echo "$AS_FOR_TARGET" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11156 $as_echo "no
" >&6; }
11163 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11164 for ncn_progname in as; do
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11166 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11167 if test -x $with_build_time_tools/${ncn_progname}; then
11168 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11170 $as_echo "yes" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11174 $as_echo "no
" >&6; }
11179 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11180 for ncn_progname in as; do
11181 if test -n "$ncn_target_tool_prefix"; then
11182 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11183 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11185 $as_echo_n "checking
for $ac_word...
" >&6; }
11186 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11187 $as_echo_n "(cached
) " >&6
11189 if test -n "$AS_FOR_TARGET"; then
11190 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11193 for as_dir in $PATH
11196 test -z "$as_dir" && as_dir=.
11197 for ac_exec_ext in '' $ac_executable_extensions; do
11198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11199 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11209 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11210 if test -n "$AS_FOR_TARGET"; then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11212 $as_echo "$AS_FOR_TARGET" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11215 $as_echo "no
" >&6; }
11220 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11222 set dummy ${ncn_progname}; ac_word=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11224 $as_echo_n "checking
for $ac_word...
" >&6; }
11225 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11226 $as_echo_n "(cached
) " >&6
11228 if test -n "$AS_FOR_TARGET"; then
11229 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11232 for as_dir in $PATH
11235 test -z "$as_dir" && as_dir=.
11236 for ac_exec_ext in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11248 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11249 if test -n "$AS_FOR_TARGET"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11251 $as_echo "$AS_FOR_TARGET" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11254 $as_echo "no
" >&6; }
11259 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11263 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11265 if test $build = $target ; then
11268 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11271 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11275 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11281 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11282 if test -n "$with_build_time_tools"; then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11284 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11285 if test -x $with_build_time_tools/dlltool; then
11286 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11287 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11289 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11292 $as_echo "no
" >&6; }
11294 elif test $build != $host && test $have_gcc_for_target = yes; then
11295 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11296 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11297 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11300 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11301 # Extract the first word of "dlltool
", so it can be a program name with args.
11302 set dummy dlltool; ac_word=$2
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11304 $as_echo_n "checking
for $ac_word...
" >&6; }
11305 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11306 $as_echo_n "(cached
) " >&6
11308 case $DLLTOOL_FOR_TARGET in
11310 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11314 for as_dir in $gcc_cv_tool_dirs
11317 test -z "$as_dir" && as_dir=.
11318 for ac_exec_ext in '' $ac_executable_extensions; do
11319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11320 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11331 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11332 if test -n "$DLLTOOL_FOR_TARGET"; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11334 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11337 $as_echo "no
" >&6; }
11342 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11345 if test -n "$DLLTOOL_FOR_TARGET"; then
11346 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11347 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11348 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11351 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11352 for ncn_progname in dlltool; do
11353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11354 set dummy ${ncn_progname}; ac_word=$2
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11356 $as_echo_n "checking
for $ac_word...
" >&6; }
11357 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11358 $as_echo_n "(cached
) " >&6
11360 if test -n "$DLLTOOL_FOR_TARGET"; then
11361 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11364 for as_dir in $PATH
11367 test -z "$as_dir" && as_dir=.
11368 for ac_exec_ext in '' $ac_executable_extensions; do
11369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11370 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11380 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11381 if test -n "$DLLTOOL_FOR_TARGET"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11383 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11386 $as_echo "no
" >&6; }
11393 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11394 for ncn_progname in dlltool; do
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11396 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11397 if test -x $with_build_time_tools/${ncn_progname}; then
11398 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11400 $as_echo "yes" >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11404 $as_echo "no
" >&6; }
11409 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11410 for ncn_progname in dlltool; do
11411 if test -n "$ncn_target_tool_prefix"; then
11412 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11413 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11415 $as_echo_n "checking
for $ac_word...
" >&6; }
11416 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11417 $as_echo_n "(cached
) " >&6
11419 if test -n "$DLLTOOL_FOR_TARGET"; then
11420 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11423 for as_dir in $PATH
11426 test -z "$as_dir" && as_dir=.
11427 for ac_exec_ext in '' $ac_executable_extensions; do
11428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11429 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11439 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11440 if test -n "$DLLTOOL_FOR_TARGET"; then
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11442 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11445 $as_echo "no
" >&6; }
11450 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11452 set dummy ${ncn_progname}; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11454 $as_echo_n "checking
for $ac_word...
" >&6; }
11455 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11456 $as_echo_n "(cached
) " >&6
11458 if test -n "$DLLTOOL_FOR_TARGET"; then
11459 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 for as_dir in $PATH
11465 test -z "$as_dir" && as_dir=.
11466 for ac_exec_ext in '' $ac_executable_extensions; do
11467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11468 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11478 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11479 if test -n "$DLLTOOL_FOR_TARGET"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11481 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11484 $as_echo "no
" >&6; }
11489 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11493 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11495 if test $build = $target ; then
11496 DLLTOOL_FOR_TARGET="$2"
11498 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11501 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11505 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11511 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11512 if test -n "$with_build_time_tools"; then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11514 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11515 if test -x $with_build_time_tools/ld; then
11516 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11517 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11519 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11522 $as_echo "no
" >&6; }
11524 elif test $build != $host && test $have_gcc_for_target = yes; then
11525 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11526 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11527 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11530 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11531 # Extract the first word of "ld
", so it can be a program name with args.
11532 set dummy ld; ac_word=$2
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11534 $as_echo_n "checking
for $ac_word...
" >&6; }
11535 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11536 $as_echo_n "(cached
) " >&6
11538 case $LD_FOR_TARGET in
11540 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11544 for as_dir in $gcc_cv_tool_dirs
11547 test -z "$as_dir" && as_dir=.
11548 for ac_exec_ext in '' $ac_executable_extensions; do
11549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11550 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11561 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11562 if test -n "$LD_FOR_TARGET"; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11564 $as_echo "$LD_FOR_TARGET" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11567 $as_echo "no
" >&6; }
11572 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11575 if test -n "$LD_FOR_TARGET"; then
11576 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11577 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11578 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11581 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11582 for ncn_progname in ld; do
11583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11584 set dummy ${ncn_progname}; ac_word=$2
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11586 $as_echo_n "checking
for $ac_word...
" >&6; }
11587 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11588 $as_echo_n "(cached
) " >&6
11590 if test -n "$LD_FOR_TARGET"; then
11591 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11594 for as_dir in $PATH
11597 test -z "$as_dir" && as_dir=.
11598 for ac_exec_ext in '' $ac_executable_extensions; do
11599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11600 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11610 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11611 if test -n "$LD_FOR_TARGET"; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11613 $as_echo "$LD_FOR_TARGET" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11616 $as_echo "no
" >&6; }
11623 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11624 for ncn_progname in ld; do
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11626 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11627 if test -x $with_build_time_tools/${ncn_progname}; then
11628 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11630 $as_echo "yes" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11634 $as_echo "no
" >&6; }
11639 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11640 for ncn_progname in ld; do
11641 if test -n "$ncn_target_tool_prefix"; then
11642 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11643 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11645 $as_echo_n "checking
for $ac_word...
" >&6; }
11646 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11647 $as_echo_n "(cached
) " >&6
11649 if test -n "$LD_FOR_TARGET"; then
11650 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11653 for as_dir in $PATH
11656 test -z "$as_dir" && as_dir=.
11657 for ac_exec_ext in '' $ac_executable_extensions; do
11658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11659 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11669 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11670 if test -n "$LD_FOR_TARGET"; then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11672 $as_echo "$LD_FOR_TARGET" >&6; }
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11675 $as_echo "no
" >&6; }
11680 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11681 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11682 set dummy ${ncn_progname}; ac_word=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11684 $as_echo_n "checking
for $ac_word...
" >&6; }
11685 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11686 $as_echo_n "(cached
) " >&6
11688 if test -n "$LD_FOR_TARGET"; then
11689 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11692 for as_dir in $PATH
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11708 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11709 if test -n "$LD_FOR_TARGET"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11711 $as_echo "$LD_FOR_TARGET" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11714 $as_echo "no
" >&6; }
11719 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11723 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11725 if test $build = $target ; then
11728 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11731 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11735 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11741 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11742 if test -n "$with_build_time_tools"; then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11744 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11745 if test -x $with_build_time_tools/lipo; then
11746 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11747 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11749 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11752 $as_echo "no
" >&6; }
11754 elif test $build != $host && test $have_gcc_for_target = yes; then
11755 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11756 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11757 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11760 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11761 # Extract the first word of "lipo
", so it can be a program name with args.
11762 set dummy lipo; ac_word=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11764 $as_echo_n "checking
for $ac_word...
" >&6; }
11765 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11766 $as_echo_n "(cached
) " >&6
11768 case $LIPO_FOR_TARGET in
11770 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11774 for as_dir in $gcc_cv_tool_dirs
11777 test -z "$as_dir" && as_dir=.
11778 for ac_exec_ext in '' $ac_executable_extensions; do
11779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11780 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11791 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11792 if test -n "$LIPO_FOR_TARGET"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11794 $as_echo "$LIPO_FOR_TARGET" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11797 $as_echo "no
" >&6; }
11802 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11805 if test -n "$LIPO_FOR_TARGET"; then
11806 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11807 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11808 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11811 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11812 for ncn_progname in lipo; do
11813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11814 set dummy ${ncn_progname}; ac_word=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11816 $as_echo_n "checking
for $ac_word...
" >&6; }
11817 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11818 $as_echo_n "(cached
) " >&6
11820 if test -n "$LIPO_FOR_TARGET"; then
11821 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11827 test -z "$as_dir" && as_dir=.
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11830 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11840 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11841 if test -n "$LIPO_FOR_TARGET"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11843 $as_echo "$LIPO_FOR_TARGET" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11846 $as_echo "no
" >&6; }
11853 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11854 for ncn_progname in lipo; do
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11856 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11857 if test -x $with_build_time_tools/${ncn_progname}; then
11858 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11860 $as_echo "yes" >&6; }
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11864 $as_echo "no
" >&6; }
11869 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11870 for ncn_progname in lipo; do
11871 if test -n "$ncn_target_tool_prefix"; then
11872 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11873 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11875 $as_echo_n "checking
for $ac_word...
" >&6; }
11876 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11877 $as_echo_n "(cached
) " >&6
11879 if test -n "$LIPO_FOR_TARGET"; then
11880 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11886 test -z "$as_dir" && as_dir=.
11887 for ac_exec_ext in '' $ac_executable_extensions; do
11888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11889 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11899 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11900 if test -n "$LIPO_FOR_TARGET"; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11902 $as_echo "$LIPO_FOR_TARGET" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11905 $as_echo "no
" >&6; }
11910 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11912 set dummy ${ncn_progname}; ac_word=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11914 $as_echo_n "checking
for $ac_word...
" >&6; }
11915 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11916 $as_echo_n "(cached
) " >&6
11918 if test -n "$LIPO_FOR_TARGET"; then
11919 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11925 test -z "$as_dir" && as_dir=.
11926 for ac_exec_ext in '' $ac_executable_extensions; do
11927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11938 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11939 if test -n "$LIPO_FOR_TARGET"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11941 $as_echo "$LIPO_FOR_TARGET" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11944 $as_echo "no
" >&6; }
11949 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11953 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11955 if test $build = $target ; then
11956 LIPO_FOR_TARGET="$2"
11958 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11961 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11965 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11971 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11972 if test -n "$with_build_time_tools"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11974 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11975 if test -x $with_build_time_tools/nm; then
11976 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11977 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11979 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11982 $as_echo "no
" >&6; }
11984 elif test $build != $host && test $have_gcc_for_target = yes; then
11985 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11986 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11987 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11990 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11991 # Extract the first word of "nm
", so it can be a program name with args.
11992 set dummy nm; ac_word=$2
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11994 $as_echo_n "checking
for $ac_word...
" >&6; }
11995 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11996 $as_echo_n "(cached
) " >&6
11998 case $NM_FOR_TARGET in
12000 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12004 for as_dir in $gcc_cv_tool_dirs
12007 test -z "$as_dir" && as_dir=.
12008 for ac_exec_ext in '' $ac_executable_extensions; do
12009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12010 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12021 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12022 if test -n "$NM_FOR_TARGET"; then
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12024 $as_echo "$NM_FOR_TARGET" >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12027 $as_echo "no
" >&6; }
12032 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12035 if test -n "$NM_FOR_TARGET"; then
12036 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12037 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12038 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12041 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12042 for ncn_progname in nm; do
12043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12044 set dummy ${ncn_progname}; ac_word=$2
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12046 $as_echo_n "checking
for $ac_word...
" >&6; }
12047 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12048 $as_echo_n "(cached
) " >&6
12050 if test -n "$NM_FOR_TARGET"; then
12051 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12054 for as_dir in $PATH
12057 test -z "$as_dir" && as_dir=.
12058 for ac_exec_ext in '' $ac_executable_extensions; do
12059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12060 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12070 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12071 if test -n "$NM_FOR_TARGET"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12073 $as_echo "$NM_FOR_TARGET" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12076 $as_echo "no
" >&6; }
12083 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12084 for ncn_progname in nm; do
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12086 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12087 if test -x $with_build_time_tools/${ncn_progname}; then
12088 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12090 $as_echo "yes" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12094 $as_echo "no
" >&6; }
12099 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12100 for ncn_progname in nm; do
12101 if test -n "$ncn_target_tool_prefix"; then
12102 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12103 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12105 $as_echo_n "checking
for $ac_word...
" >&6; }
12106 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12107 $as_echo_n "(cached
) " >&6
12109 if test -n "$NM_FOR_TARGET"; then
12110 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12113 for as_dir in $PATH
12116 test -z "$as_dir" && as_dir=.
12117 for ac_exec_ext in '' $ac_executable_extensions; do
12118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12119 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12129 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12130 if test -n "$NM_FOR_TARGET"; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12132 $as_echo "$NM_FOR_TARGET" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12135 $as_echo "no
" >&6; }
12140 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12141 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12142 set dummy ${ncn_progname}; ac_word=$2
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12144 $as_echo_n "checking
for $ac_word...
" >&6; }
12145 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12146 $as_echo_n "(cached
) " >&6
12148 if test -n "$NM_FOR_TARGET"; then
12149 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12152 for as_dir in $PATH
12155 test -z "$as_dir" && as_dir=.
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12158 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12168 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12169 if test -n "$NM_FOR_TARGET"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12171 $as_echo "$NM_FOR_TARGET" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12174 $as_echo "no
" >&6; }
12179 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12183 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12185 if test $build = $target ; then
12188 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12191 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12195 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12201 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12202 if test -n "$with_build_time_tools"; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12204 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12205 if test -x $with_build_time_tools/objcopy; then
12206 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12207 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12209 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12212 $as_echo "no
" >&6; }
12214 elif test $build != $host && test $have_gcc_for_target = yes; then
12215 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12216 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12217 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12220 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12221 # Extract the first word of "objcopy
", so it can be a program name with args.
12222 set dummy objcopy; ac_word=$2
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12224 $as_echo_n "checking
for $ac_word...
" >&6; }
12225 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12226 $as_echo_n "(cached
) " >&6
12228 case $OBJCOPY_FOR_TARGET in
12230 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12234 for as_dir in $gcc_cv_tool_dirs
12237 test -z "$as_dir" && as_dir=.
12238 for ac_exec_ext in '' $ac_executable_extensions; do
12239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12240 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12251 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12252 if test -n "$OBJCOPY_FOR_TARGET"; then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12254 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12257 $as_echo "no
" >&6; }
12262 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12265 if test -n "$OBJCOPY_FOR_TARGET"; then
12266 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12267 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12268 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12271 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12272 for ncn_progname in objcopy; do
12273 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12274 set dummy ${ncn_progname}; ac_word=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12276 $as_echo_n "checking
for $ac_word...
" >&6; }
12277 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12278 $as_echo_n "(cached
) " >&6
12280 if test -n "$OBJCOPY_FOR_TARGET"; then
12281 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12284 for as_dir in $PATH
12287 test -z "$as_dir" && as_dir=.
12288 for ac_exec_ext in '' $ac_executable_extensions; do
12289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12290 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12300 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12301 if test -n "$OBJCOPY_FOR_TARGET"; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12303 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12306 $as_echo "no
" >&6; }
12313 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12314 for ncn_progname in objcopy; do
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12316 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12317 if test -x $with_build_time_tools/${ncn_progname}; then
12318 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12320 $as_echo "yes" >&6; }
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12324 $as_echo "no
" >&6; }
12329 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12330 for ncn_progname in objcopy; do
12331 if test -n "$ncn_target_tool_prefix"; then
12332 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12333 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12335 $as_echo_n "checking
for $ac_word...
" >&6; }
12336 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12337 $as_echo_n "(cached
) " >&6
12339 if test -n "$OBJCOPY_FOR_TARGET"; then
12340 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12343 for as_dir in $PATH
12346 test -z "$as_dir" && as_dir=.
12347 for ac_exec_ext in '' $ac_executable_extensions; do
12348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12349 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12359 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12360 if test -n "$OBJCOPY_FOR_TARGET"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12362 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12365 $as_echo "no
" >&6; }
12370 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12372 set dummy ${ncn_progname}; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12374 $as_echo_n "checking
for $ac_word...
" >&6; }
12375 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12376 $as_echo_n "(cached
) " >&6
12378 if test -n "$OBJCOPY_FOR_TARGET"; then
12379 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12388 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12398 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12399 if test -n "$OBJCOPY_FOR_TARGET"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12401 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12404 $as_echo "no
" >&6; }
12409 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12413 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12415 if test $build = $target ; then
12416 OBJCOPY_FOR_TARGET="$2"
12418 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12421 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12425 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12431 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12432 if test -n "$with_build_time_tools"; then
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12434 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12435 if test -x $with_build_time_tools/objdump; then
12436 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12437 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12439 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12442 $as_echo "no
" >&6; }
12444 elif test $build != $host && test $have_gcc_for_target = yes; then
12445 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12446 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12447 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12450 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12451 # Extract the first word of "objdump
", so it can be a program name with args.
12452 set dummy objdump; ac_word=$2
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12454 $as_echo_n "checking
for $ac_word...
" >&6; }
12455 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12456 $as_echo_n "(cached
) " >&6
12458 case $OBJDUMP_FOR_TARGET in
12460 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12464 for as_dir in $gcc_cv_tool_dirs
12467 test -z "$as_dir" && as_dir=.
12468 for ac_exec_ext in '' $ac_executable_extensions; do
12469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12470 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12481 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12482 if test -n "$OBJDUMP_FOR_TARGET"; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12484 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12487 $as_echo "no
" >&6; }
12492 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12495 if test -n "$OBJDUMP_FOR_TARGET"; then
12496 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12497 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12498 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12501 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12502 for ncn_progname in objdump; do
12503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12504 set dummy ${ncn_progname}; ac_word=$2
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12506 $as_echo_n "checking
for $ac_word...
" >&6; }
12507 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12508 $as_echo_n "(cached
) " >&6
12510 if test -n "$OBJDUMP_FOR_TARGET"; then
12511 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12514 for as_dir in $PATH
12517 test -z "$as_dir" && as_dir=.
12518 for ac_exec_ext in '' $ac_executable_extensions; do
12519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12520 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12530 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12531 if test -n "$OBJDUMP_FOR_TARGET"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12533 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12536 $as_echo "no
" >&6; }
12543 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12544 for ncn_progname in objdump; do
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12546 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12547 if test -x $with_build_time_tools/${ncn_progname}; then
12548 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12550 $as_echo "yes" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12554 $as_echo "no
" >&6; }
12559 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12560 for ncn_progname in objdump; do
12561 if test -n "$ncn_target_tool_prefix"; then
12562 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12563 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12565 $as_echo_n "checking
for $ac_word...
" >&6; }
12566 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12567 $as_echo_n "(cached
) " >&6
12569 if test -n "$OBJDUMP_FOR_TARGET"; then
12570 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12573 for as_dir in $PATH
12576 test -z "$as_dir" && as_dir=.
12577 for ac_exec_ext in '' $ac_executable_extensions; do
12578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12579 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12589 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12590 if test -n "$OBJDUMP_FOR_TARGET"; then
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12592 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12595 $as_echo "no
" >&6; }
12600 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12602 set dummy ${ncn_progname}; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12604 $as_echo_n "checking
for $ac_word...
" >&6; }
12605 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12606 $as_echo_n "(cached
) " >&6
12608 if test -n "$OBJDUMP_FOR_TARGET"; then
12609 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12612 for as_dir in $PATH
12615 test -z "$as_dir" && as_dir=.
12616 for ac_exec_ext in '' $ac_executable_extensions; do
12617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12618 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12628 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12629 if test -n "$OBJDUMP_FOR_TARGET"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12631 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12634 $as_echo "no
" >&6; }
12639 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12643 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12645 if test $build = $target ; then
12646 OBJDUMP_FOR_TARGET="$2"
12648 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12651 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12655 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12661 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12662 if test -n "$with_build_time_tools"; then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12664 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12665 if test -x $with_build_time_tools/ranlib; then
12666 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12667 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12669 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12672 $as_echo "no
" >&6; }
12674 elif test $build != $host && test $have_gcc_for_target = yes; then
12675 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12676 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12677 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12680 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12681 # Extract the first word of "ranlib
", so it can be a program name with args.
12682 set dummy ranlib; ac_word=$2
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12684 $as_echo_n "checking
for $ac_word...
" >&6; }
12685 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12686 $as_echo_n "(cached
) " >&6
12688 case $RANLIB_FOR_TARGET in
12690 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12694 for as_dir in $gcc_cv_tool_dirs
12697 test -z "$as_dir" && as_dir=.
12698 for ac_exec_ext in '' $ac_executable_extensions; do
12699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12700 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12711 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12712 if test -n "$RANLIB_FOR_TARGET"; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12714 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12717 $as_echo "no
" >&6; }
12722 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12725 if test -n "$RANLIB_FOR_TARGET"; then
12726 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12727 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12728 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12731 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12732 for ncn_progname in ranlib; do
12733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12734 set dummy ${ncn_progname}; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12736 $as_echo_n "checking
for $ac_word...
" >&6; }
12737 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12738 $as_echo_n "(cached
) " >&6
12740 if test -n "$RANLIB_FOR_TARGET"; then
12741 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12744 for as_dir in $PATH
12747 test -z "$as_dir" && as_dir=.
12748 for ac_exec_ext in '' $ac_executable_extensions; do
12749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12750 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12760 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12761 if test -n "$RANLIB_FOR_TARGET"; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12763 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12766 $as_echo "no
" >&6; }
12773 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12774 for ncn_progname in ranlib; do
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12776 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12777 if test -x $with_build_time_tools/${ncn_progname}; then
12778 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12780 $as_echo "yes" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12784 $as_echo "no
" >&6; }
12789 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12790 for ncn_progname in ranlib; do
12791 if test -n "$ncn_target_tool_prefix"; then
12792 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12793 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12795 $as_echo_n "checking
for $ac_word...
" >&6; }
12796 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12797 $as_echo_n "(cached
) " >&6
12799 if test -n "$RANLIB_FOR_TARGET"; then
12800 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803 for as_dir in $PATH
12806 test -z "$as_dir" && as_dir=.
12807 for ac_exec_ext in '' $ac_executable_extensions; do
12808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12809 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12819 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12820 if test -n "$RANLIB_FOR_TARGET"; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12822 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12825 $as_echo "no
" >&6; }
12830 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12832 set dummy ${ncn_progname}; ac_word=$2
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12834 $as_echo_n "checking
for $ac_word...
" >&6; }
12835 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12836 $as_echo_n "(cached
) " >&6
12838 if test -n "$RANLIB_FOR_TARGET"; then
12839 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12845 test -z "$as_dir" && as_dir=.
12846 for ac_exec_ext in '' $ac_executable_extensions; do
12847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12848 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12858 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12859 if test -n "$RANLIB_FOR_TARGET"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12861 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12864 $as_echo "no
" >&6; }
12869 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12873 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12875 if test $build = $target ; then
12876 RANLIB_FOR_TARGET="$2"
12878 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12881 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12885 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12891 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12892 if test -n "$with_build_time_tools"; then
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12894 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12895 if test -x $with_build_time_tools/readelf; then
12896 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12897 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12899 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12902 $as_echo "no
" >&6; }
12904 elif test $build != $host && test $have_gcc_for_target = yes; then
12905 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12906 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12907 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12910 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12911 # Extract the first word of "readelf
", so it can be a program name with args.
12912 set dummy readelf; ac_word=$2
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12914 $as_echo_n "checking
for $ac_word...
" >&6; }
12915 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12916 $as_echo_n "(cached
) " >&6
12918 case $READELF_FOR_TARGET in
12920 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12924 for as_dir in $gcc_cv_tool_dirs
12927 test -z "$as_dir" && as_dir=.
12928 for ac_exec_ext in '' $ac_executable_extensions; do
12929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12930 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12941 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12942 if test -n "$READELF_FOR_TARGET"; then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12944 $as_echo "$READELF_FOR_TARGET" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12947 $as_echo "no
" >&6; }
12952 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12955 if test -n "$READELF_FOR_TARGET"; then
12956 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12957 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12958 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12961 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12962 for ncn_progname in readelf; do
12963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12964 set dummy ${ncn_progname}; ac_word=$2
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12966 $as_echo_n "checking
for $ac_word...
" >&6; }
12967 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12968 $as_echo_n "(cached
) " >&6
12970 if test -n "$READELF_FOR_TARGET"; then
12971 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12974 for as_dir in $PATH
12977 test -z "$as_dir" && as_dir=.
12978 for ac_exec_ext in '' $ac_executable_extensions; do
12979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12980 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12990 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12991 if test -n "$READELF_FOR_TARGET"; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12993 $as_echo "$READELF_FOR_TARGET" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12996 $as_echo "no
" >&6; }
13003 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13004 for ncn_progname in readelf; do
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13006 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13007 if test -x $with_build_time_tools/${ncn_progname}; then
13008 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13010 $as_echo "yes" >&6; }
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13014 $as_echo "no
" >&6; }
13019 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13020 for ncn_progname in readelf; do
13021 if test -n "$ncn_target_tool_prefix"; then
13022 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13023 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13025 $as_echo_n "checking
for $ac_word...
" >&6; }
13026 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13027 $as_echo_n "(cached
) " >&6
13029 if test -n "$READELF_FOR_TARGET"; then
13030 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13033 for as_dir in $PATH
13036 test -z "$as_dir" && as_dir=.
13037 for ac_exec_ext in '' $ac_executable_extensions; do
13038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13039 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13049 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13050 if test -n "$READELF_FOR_TARGET"; then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13052 $as_echo "$READELF_FOR_TARGET" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13055 $as_echo "no
" >&6; }
13060 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13061 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13062 set dummy ${ncn_progname}; ac_word=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13064 $as_echo_n "checking
for $ac_word...
" >&6; }
13065 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13066 $as_echo_n "(cached
) " >&6
13068 if test -n "$READELF_FOR_TARGET"; then
13069 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13072 for as_dir in $PATH
13075 test -z "$as_dir" && as_dir=.
13076 for ac_exec_ext in '' $ac_executable_extensions; do
13077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13078 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13088 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13089 if test -n "$READELF_FOR_TARGET"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13091 $as_echo "$READELF_FOR_TARGET" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13094 $as_echo "no
" >&6; }
13099 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13103 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13105 if test $build = $target ; then
13106 READELF_FOR_TARGET="$2"
13108 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13111 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13115 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13121 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13122 if test -n "$with_build_time_tools"; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13124 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13125 if test -x $with_build_time_tools/strip; then
13126 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13127 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13129 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13132 $as_echo "no
" >&6; }
13134 elif test $build != $host && test $have_gcc_for_target = yes; then
13135 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13136 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13137 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13140 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13141 # Extract the first word of "strip
", so it can be a program name with args.
13142 set dummy strip; ac_word=$2
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13144 $as_echo_n "checking
for $ac_word...
" >&6; }
13145 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13146 $as_echo_n "(cached
) " >&6
13148 case $STRIP_FOR_TARGET in
13150 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13154 for as_dir in $gcc_cv_tool_dirs
13157 test -z "$as_dir" && as_dir=.
13158 for ac_exec_ext in '' $ac_executable_extensions; do
13159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13160 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13171 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13172 if test -n "$STRIP_FOR_TARGET"; then
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13174 $as_echo "$STRIP_FOR_TARGET" >&6; }
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13177 $as_echo "no
" >&6; }
13182 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13185 if test -n "$STRIP_FOR_TARGET"; then
13186 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13187 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13188 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13191 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13192 for ncn_progname in strip; do
13193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13194 set dummy ${ncn_progname}; ac_word=$2
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13196 $as_echo_n "checking
for $ac_word...
" >&6; }
13197 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13198 $as_echo_n "(cached
) " >&6
13200 if test -n "$STRIP_FOR_TARGET"; then
13201 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13204 for as_dir in $PATH
13207 test -z "$as_dir" && as_dir=.
13208 for ac_exec_ext in '' $ac_executable_extensions; do
13209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13210 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13220 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13221 if test -n "$STRIP_FOR_TARGET"; then
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13223 $as_echo "$STRIP_FOR_TARGET" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13226 $as_echo "no
" >&6; }
13233 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13234 for ncn_progname in strip; do
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13236 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13237 if test -x $with_build_time_tools/${ncn_progname}; then
13238 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13240 $as_echo "yes" >&6; }
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13244 $as_echo "no
" >&6; }
13249 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13250 for ncn_progname in strip; do
13251 if test -n "$ncn_target_tool_prefix"; then
13252 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13253 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13255 $as_echo_n "checking
for $ac_word...
" >&6; }
13256 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13257 $as_echo_n "(cached
) " >&6
13259 if test -n "$STRIP_FOR_TARGET"; then
13260 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13263 for as_dir in $PATH
13266 test -z "$as_dir" && as_dir=.
13267 for ac_exec_ext in '' $ac_executable_extensions; do
13268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13269 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13279 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13280 if test -n "$STRIP_FOR_TARGET"; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13282 $as_echo "$STRIP_FOR_TARGET" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13285 $as_echo "no
" >&6; }
13290 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13292 set dummy ${ncn_progname}; ac_word=$2
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13294 $as_echo_n "checking
for $ac_word...
" >&6; }
13295 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13296 $as_echo_n "(cached
) " >&6
13298 if test -n "$STRIP_FOR_TARGET"; then
13299 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13302 for as_dir in $PATH
13305 test -z "$as_dir" && as_dir=.
13306 for ac_exec_ext in '' $ac_executable_extensions; do
13307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13308 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13318 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13319 if test -n "$STRIP_FOR_TARGET"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13321 $as_echo "$STRIP_FOR_TARGET" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13324 $as_echo "no
" >&6; }
13329 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13333 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13335 if test $build = $target ; then
13336 STRIP_FOR_TARGET="$2"
13338 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13341 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13345 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13351 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13352 if test -n "$with_build_time_tools"; then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13354 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13355 if test -x $with_build_time_tools/windres; then
13356 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13357 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13359 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13362 $as_echo "no
" >&6; }
13364 elif test $build != $host && test $have_gcc_for_target = yes; then
13365 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13366 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13367 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13370 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13371 # Extract the first word of "windres
", so it can be a program name with args.
13372 set dummy windres; ac_word=$2
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13374 $as_echo_n "checking
for $ac_word...
" >&6; }
13375 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13376 $as_echo_n "(cached
) " >&6
13378 case $WINDRES_FOR_TARGET in
13380 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13384 for as_dir in $gcc_cv_tool_dirs
13387 test -z "$as_dir" && as_dir=.
13388 for ac_exec_ext in '' $ac_executable_extensions; do
13389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13390 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13401 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13402 if test -n "$WINDRES_FOR_TARGET"; then
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13404 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13407 $as_echo "no
" >&6; }
13412 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13415 if test -n "$WINDRES_FOR_TARGET"; then
13416 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13417 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13418 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13421 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13422 for ncn_progname in windres; do
13423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13424 set dummy ${ncn_progname}; ac_word=$2
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13426 $as_echo_n "checking
for $ac_word...
" >&6; }
13427 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13428 $as_echo_n "(cached
) " >&6
13430 if test -n "$WINDRES_FOR_TARGET"; then
13431 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13434 for as_dir in $PATH
13437 test -z "$as_dir" && as_dir=.
13438 for ac_exec_ext in '' $ac_executable_extensions; do
13439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13440 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13450 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13451 if test -n "$WINDRES_FOR_TARGET"; then
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13453 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13456 $as_echo "no
" >&6; }
13463 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13464 for ncn_progname in windres; do
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13466 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13467 if test -x $with_build_time_tools/${ncn_progname}; then
13468 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13470 $as_echo "yes" >&6; }
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13474 $as_echo "no
" >&6; }
13479 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13480 for ncn_progname in windres; do
13481 if test -n "$ncn_target_tool_prefix"; then
13482 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13483 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13485 $as_echo_n "checking
for $ac_word...
" >&6; }
13486 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13487 $as_echo_n "(cached
) " >&6
13489 if test -n "$WINDRES_FOR_TARGET"; then
13490 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 for as_dir in $PATH
13496 test -z "$as_dir" && as_dir=.
13497 for ac_exec_ext in '' $ac_executable_extensions; do
13498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13499 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13509 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13510 if test -n "$WINDRES_FOR_TARGET"; then
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13512 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13515 $as_echo "no
" >&6; }
13520 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13522 set dummy ${ncn_progname}; ac_word=$2
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13524 $as_echo_n "checking
for $ac_word...
" >&6; }
13525 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13526 $as_echo_n "(cached
) " >&6
13528 if test -n "$WINDRES_FOR_TARGET"; then
13529 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13532 for as_dir in $PATH
13535 test -z "$as_dir" && as_dir=.
13536 for ac_exec_ext in '' $ac_executable_extensions; do
13537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13538 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13548 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13549 if test -n "$WINDRES_FOR_TARGET"; then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13551 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13554 $as_echo "no
" >&6; }
13559 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13563 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13565 if test $build = $target ; then
13566 WINDRES_FOR_TARGET="$2"
13568 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13571 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13575 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13581 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13582 if test -n "$with_build_time_tools"; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13584 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13585 if test -x $with_build_time_tools/windmc; then
13586 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13587 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13589 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13592 $as_echo "no
" >&6; }
13594 elif test $build != $host && test $have_gcc_for_target = yes; then
13595 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13596 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13597 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13600 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13601 # Extract the first word of "windmc
", so it can be a program name with args.
13602 set dummy windmc; ac_word=$2
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13604 $as_echo_n "checking
for $ac_word...
" >&6; }
13605 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13606 $as_echo_n "(cached
) " >&6
13608 case $WINDMC_FOR_TARGET in
13610 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13614 for as_dir in $gcc_cv_tool_dirs
13617 test -z "$as_dir" && as_dir=.
13618 for ac_exec_ext in '' $ac_executable_extensions; do
13619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13620 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13631 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13632 if test -n "$WINDMC_FOR_TARGET"; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13634 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13637 $as_echo "no
" >&6; }
13642 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13645 if test -n "$WINDMC_FOR_TARGET"; then
13646 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13647 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13648 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13651 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13652 for ncn_progname in windmc; do
13653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13654 set dummy ${ncn_progname}; ac_word=$2
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13656 $as_echo_n "checking
for $ac_word...
" >&6; }
13657 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13658 $as_echo_n "(cached
) " >&6
13660 if test -n "$WINDMC_FOR_TARGET"; then
13661 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13664 for as_dir in $PATH
13667 test -z "$as_dir" && as_dir=.
13668 for ac_exec_ext in '' $ac_executable_extensions; do
13669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13670 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13680 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13681 if test -n "$WINDMC_FOR_TARGET"; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13683 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13686 $as_echo "no
" >&6; }
13693 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13694 for ncn_progname in windmc; do
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13696 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13697 if test -x $with_build_time_tools/${ncn_progname}; then
13698 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13700 $as_echo "yes" >&6; }
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13704 $as_echo "no
" >&6; }
13709 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13710 for ncn_progname in windmc; do
13711 if test -n "$ncn_target_tool_prefix"; then
13712 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13713 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13715 $as_echo_n "checking
for $ac_word...
" >&6; }
13716 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13717 $as_echo_n "(cached
) " >&6
13719 if test -n "$WINDMC_FOR_TARGET"; then
13720 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13723 for as_dir in $PATH
13726 test -z "$as_dir" && as_dir=.
13727 for ac_exec_ext in '' $ac_executable_extensions; do
13728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13729 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13739 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13740 if test -n "$WINDMC_FOR_TARGET"; then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13742 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13745 $as_echo "no
" >&6; }
13750 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13752 set dummy ${ncn_progname}; ac_word=$2
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13754 $as_echo_n "checking
for $ac_word...
" >&6; }
13755 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13756 $as_echo_n "(cached
) " >&6
13758 if test -n "$WINDMC_FOR_TARGET"; then
13759 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13762 for as_dir in $PATH
13765 test -z "$as_dir" && as_dir=.
13766 for ac_exec_ext in '' $ac_executable_extensions; do
13767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13768 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13778 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13779 if test -n "$WINDMC_FOR_TARGET"; then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13781 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13784 $as_echo "no
" >&6; }
13789 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13793 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13795 if test $build = $target ; then
13796 WINDMC_FOR_TARGET="$2"
13798 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13801 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13805 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13809 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13812 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13813 if test "x
${build}" != "x
${host}" ; then
13814 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13815 # We already found the complete path
13816 ac_dir=`dirname $AR_FOR_TARGET`
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13818 $as_echo "pre-installed
in $ac_dir" >&6; }
13820 # Canadian cross, just use what we found
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13822 $as_echo "pre-installed
" >&6; }
13826 case " ${configdirs} " in
13831 if test $ok = yes; then
13832 # An in-tree tool is available and we can use it
13833 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13835 $as_echo "just compiled
" >&6; }
13836 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13837 # We already found the complete path
13838 ac_dir=`dirname $AR_FOR_TARGET`
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13840 $as_echo "pre-installed
in $ac_dir" >&6; }
13841 elif test "x
$target" = "x
$host"; then
13842 # We can use an host tool
13843 AR_FOR_TARGET='$(AR)'
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13845 $as_echo "host tool
" >&6; }
13847 # We need a cross tool
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13849 $as_echo "pre-installed
" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13854 $as_echo_n "checking where to
find the target as...
" >&6; }
13855 if test "x
${build}" != "x
${host}" ; then
13856 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13857 # We already found the complete path
13858 ac_dir=`dirname $AS_FOR_TARGET`
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13860 $as_echo "pre-installed
in $ac_dir" >&6; }
13862 # Canadian cross, just use what we found
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13864 $as_echo "pre-installed
" >&6; }
13868 case " ${configdirs} " in
13873 if test $ok = yes; then
13874 # An in-tree tool is available and we can use it
13875 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13877 $as_echo "just compiled
" >&6; }
13878 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13879 # We already found the complete path
13880 ac_dir=`dirname $AS_FOR_TARGET`
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13882 $as_echo "pre-installed
in $ac_dir" >&6; }
13883 elif test "x
$target" = "x
$host"; then
13884 # We can use an host tool
13885 AS_FOR_TARGET='$(AS)'
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13887 $as_echo "host tool
" >&6; }
13889 # We need a cross tool
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13891 $as_echo "pre-installed
" >&6; }
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13896 $as_echo_n "checking where to
find the target cc...
" >&6; }
13897 if test "x
${build}" != "x
${host}" ; then
13898 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13899 # We already found the complete path
13900 ac_dir=`dirname $CC_FOR_TARGET`
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13902 $as_echo "pre-installed
in $ac_dir" >&6; }
13904 # Canadian cross, just use what we found
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13906 $as_echo "pre-installed
" >&6; }
13910 case " ${configdirs} " in
13915 if test $ok = yes; then
13916 # An in-tree tool is available and we can use it
13917 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13919 $as_echo "just compiled
" >&6; }
13920 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13921 # We already found the complete path
13922 ac_dir=`dirname $CC_FOR_TARGET`
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13924 $as_echo "pre-installed
in $ac_dir" >&6; }
13925 elif test "x
$target" = "x
$host"; then
13926 # We can use an host tool
13927 CC_FOR_TARGET='$(CC)'
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13929 $as_echo "host tool
" >&6; }
13931 # We need a cross tool
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13933 $as_echo "pre-installed
" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13938 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13939 if test "x
${build}" != "x
${host}" ; then
13940 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13941 # We already found the complete path
13942 ac_dir=`dirname $CXX_FOR_TARGET`
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13944 $as_echo "pre-installed
in $ac_dir" >&6; }
13946 # Canadian cross, just use what we found
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13948 $as_echo "pre-installed
" >&6; }
13952 case " ${configdirs} " in
13956 case ,${enable_languages}, in
13960 if test $ok = yes; then
13961 # An in-tree tool is available and we can use it
13962 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'
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13964 $as_echo "just compiled
" >&6; }
13965 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13966 # We already found the complete path
13967 ac_dir=`dirname $CXX_FOR_TARGET`
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13969 $as_echo "pre-installed
in $ac_dir" >&6; }
13970 elif test "x
$target" = "x
$host"; then
13971 # We can use an host tool
13972 CXX_FOR_TARGET='$(CXX)'
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13974 $as_echo "host tool
" >&6; }
13976 # We need a cross tool
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13978 $as_echo "pre-installed
" >&6; }
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13983 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13984 if test "x
${build}" != "x
${host}" ; then
13985 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13986 # We already found the complete path
13987 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13989 $as_echo "pre-installed
in $ac_dir" >&6; }
13991 # Canadian cross, just use what we found
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13993 $as_echo "pre-installed
" >&6; }
13997 case " ${configdirs} " in
14001 case ,${enable_languages}, in
14005 if test $ok = yes; then
14006 # An in-tree tool is available and we can use it
14007 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'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14009 $as_echo "just compiled
" >&6; }
14010 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14011 # We already found the complete path
14012 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14014 $as_echo "pre-installed
in $ac_dir" >&6; }
14015 elif test "x
$target" = "x
$host"; then
14016 # We can use an host tool
14017 RAW_CXX_FOR_TARGET='$(CXX)'
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14019 $as_echo "host tool
" >&6; }
14021 # We need a cross tool
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14023 $as_echo "pre-installed
" >&6; }
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14028 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14029 if test "x
${build}" != "x
${host}" ; then
14030 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14031 # We already found the complete path
14032 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14034 $as_echo "pre-installed
in $ac_dir" >&6; }
14036 # Canadian cross, just use what we found
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14038 $as_echo "pre-installed
" >&6; }
14042 case " ${configdirs} " in
14047 if test $ok = yes; then
14048 # An in-tree tool is available and we can use it
14049 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14051 $as_echo "just compiled
" >&6; }
14052 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14053 # We already found the complete path
14054 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14056 $as_echo "pre-installed
in $ac_dir" >&6; }
14057 elif test "x
$target" = "x
$host"; then
14058 # We can use an host tool
14059 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14061 $as_echo "host tool
" >&6; }
14063 # We need a cross tool
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14065 $as_echo "pre-installed
" >&6; }
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14070 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14071 if test "x
${build}" != "x
${host}" ; then
14072 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14073 # We already found the complete path
14074 ac_dir=`dirname $GCC_FOR_TARGET`
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14076 $as_echo "pre-installed
in $ac_dir" >&6; }
14078 # Canadian cross, just use what we found
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14080 $as_echo "pre-installed
" >&6; }
14084 case " ${configdirs} " in
14089 if test $ok = yes; then
14090 # An in-tree tool is available and we can use it
14091 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14093 $as_echo "just compiled
" >&6; }
14094 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14095 # We already found the complete path
14096 ac_dir=`dirname $GCC_FOR_TARGET`
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14098 $as_echo "pre-installed
in $ac_dir" >&6; }
14099 elif test "x
$target" = "x
$host"; then
14100 # We can use an host tool
14101 GCC_FOR_TARGET='$()'
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14103 $as_echo "host tool
" >&6; }
14105 # We need a cross tool
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14107 $as_echo "pre-installed
" >&6; }
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14112 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14113 if test "x
${build}" != "x
${host}" ; then
14114 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14115 # We already found the complete path
14116 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14118 $as_echo "pre-installed
in $ac_dir" >&6; }
14120 # Canadian cross, just use what we found
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14122 $as_echo "pre-installed
" >&6; }
14126 case " ${configdirs} " in
14130 case ,${enable_languages}, in
14134 if test $ok = yes; then
14135 # An in-tree tool is available and we can use it
14136 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14138 $as_echo "just compiled
" >&6; }
14139 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14140 # We already found the complete path
14141 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14143 $as_echo "pre-installed
in $ac_dir" >&6; }
14144 elif test "x
$target" = "x
$host"; then
14145 # We can use an host tool
14146 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14148 $as_echo "host tool
" >&6; }
14150 # We need a cross tool
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14152 $as_echo "pre-installed
" >&6; }
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14157 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14158 if test "x
${build}" != "x
${host}" ; then
14159 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14160 # We already found the complete path
14161 ac_dir=`dirname $GOC_FOR_TARGET`
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14163 $as_echo "pre-installed
in $ac_dir" >&6; }
14165 # Canadian cross, just use what we found
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14167 $as_echo "pre-installed
" >&6; }
14171 case " ${configdirs} " in
14175 case ,${enable_languages}, in
14179 if test $ok = yes; then
14180 # An in-tree tool is available and we can use it
14181 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14183 $as_echo "just compiled
" >&6; }
14184 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14185 # We already found the complete path
14186 ac_dir=`dirname $GOC_FOR_TARGET`
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14188 $as_echo "pre-installed
in $ac_dir" >&6; }
14189 elif test "x
$target" = "x
$host"; then
14190 # We can use an host tool
14191 GOC_FOR_TARGET='$(GOC)'
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14193 $as_echo "host tool
" >&6; }
14195 # We need a cross tool
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14197 $as_echo "pre-installed
" >&6; }
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14202 $as_echo_n "checking where to
find the target ld...
" >&6; }
14203 if test "x
${build}" != "x
${host}" ; then
14204 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14205 # We already found the complete path
14206 ac_dir=`dirname $LD_FOR_TARGET`
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14208 $as_echo "pre-installed
in $ac_dir" >&6; }
14210 # Canadian cross, just use what we found
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14212 $as_echo "pre-installed
" >&6; }
14216 case " ${configdirs} " in
14221 if test $ok = yes; then
14222 # An in-tree tool is available and we can use it
14223 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14225 $as_echo "just compiled
" >&6; }
14226 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14227 # We already found the complete path
14228 ac_dir=`dirname $LD_FOR_TARGET`
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14230 $as_echo "pre-installed
in $ac_dir" >&6; }
14231 elif test "x
$target" = "x
$host"; then
14232 # We can use an host tool
14233 LD_FOR_TARGET='$(LD)'
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14235 $as_echo "host tool
" >&6; }
14237 # We need a cross tool
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14239 $as_echo "pre-installed
" >&6; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14244 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14245 if test "x
${build}" != "x
${host}" ; then
14246 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14247 # We already found the complete path
14248 ac_dir=`dirname $LIPO_FOR_TARGET`
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14250 $as_echo "pre-installed
in $ac_dir" >&6; }
14252 # Canadian cross, just use what we found
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14254 $as_echo "pre-installed
" >&6; }
14257 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14258 # We already found the complete path
14259 ac_dir=`dirname $LIPO_FOR_TARGET`
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14261 $as_echo "pre-installed
in $ac_dir" >&6; }
14262 elif test "x
$target" = "x
$host"; then
14263 # We can use an host tool
14264 LIPO_FOR_TARGET='$(LIPO)'
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14266 $as_echo "host tool
" >&6; }
14268 # We need a cross tool
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14270 $as_echo "pre-installed
" >&6; }
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14275 $as_echo_n "checking where to
find the target nm...
" >&6; }
14276 if test "x
${build}" != "x
${host}" ; then
14277 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14278 # We already found the complete path
14279 ac_dir=`dirname $NM_FOR_TARGET`
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14281 $as_echo "pre-installed
in $ac_dir" >&6; }
14283 # Canadian cross, just use what we found
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14285 $as_echo "pre-installed
" >&6; }
14289 case " ${configdirs} " in
14294 if test $ok = yes; then
14295 # An in-tree tool is available and we can use it
14296 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14298 $as_echo "just compiled
" >&6; }
14299 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14300 # We already found the complete path
14301 ac_dir=`dirname $NM_FOR_TARGET`
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14303 $as_echo "pre-installed
in $ac_dir" >&6; }
14304 elif test "x
$target" = "x
$host"; then
14305 # We can use an host tool
14306 NM_FOR_TARGET='$(NM)'
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14308 $as_echo "host tool
" >&6; }
14310 # We need a cross tool
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14312 $as_echo "pre-installed
" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14317 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14318 if test "x
${build}" != "x
${host}" ; then
14319 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14320 # We already found the complete path
14321 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14323 $as_echo "pre-installed
in $ac_dir" >&6; }
14325 # Canadian cross, just use what we found
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14327 $as_echo "pre-installed
" >&6; }
14331 case " ${configdirs} " in
14336 if test $ok = yes; then
14337 # An in-tree tool is available and we can use it
14338 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14340 $as_echo "just compiled
" >&6; }
14341 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14342 # We already found the complete path
14343 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14345 $as_echo "pre-installed
in $ac_dir" >&6; }
14346 elif test "x
$target" = "x
$host"; then
14347 # We can use an host tool
14348 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14350 $as_echo "host tool
" >&6; }
14352 # We need a cross tool
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14354 $as_echo "pre-installed
" >&6; }
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14359 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14360 if test "x
${build}" != "x
${host}" ; then
14361 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14362 # We already found the complete path
14363 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14365 $as_echo "pre-installed
in $ac_dir" >&6; }
14367 # Canadian cross, just use what we found
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14369 $as_echo "pre-installed
" >&6; }
14373 case " ${configdirs} " in
14378 if test $ok = yes; then
14379 # An in-tree tool is available and we can use it
14380 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14382 $as_echo "just compiled
" >&6; }
14383 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14384 # We already found the complete path
14385 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14387 $as_echo "pre-installed
in $ac_dir" >&6; }
14388 elif test "x
$target" = "x
$host"; then
14389 # We can use an host tool
14390 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14392 $as_echo "host tool
" >&6; }
14394 # We need a cross tool
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14396 $as_echo "pre-installed
" >&6; }
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14401 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14402 if test "x
${build}" != "x
${host}" ; then
14403 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14404 # We already found the complete path
14405 ac_dir=`dirname $RANLIB_FOR_TARGET`
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14407 $as_echo "pre-installed
in $ac_dir" >&6; }
14409 # Canadian cross, just use what we found
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14411 $as_echo "pre-installed
" >&6; }
14415 case " ${configdirs} " in
14420 if test $ok = yes; then
14421 # An in-tree tool is available and we can use it
14422 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14424 $as_echo "just compiled
" >&6; }
14425 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14426 # We already found the complete path
14427 ac_dir=`dirname $RANLIB_FOR_TARGET`
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14429 $as_echo "pre-installed
in $ac_dir" >&6; }
14430 elif test "x
$target" = "x
$host"; then
14431 # We can use an host tool
14432 RANLIB_FOR_TARGET='$(RANLIB)'
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14434 $as_echo "host tool
" >&6; }
14436 # We need a cross tool
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14438 $as_echo "pre-installed
" >&6; }
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14443 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14444 if test "x
${build}" != "x
${host}" ; then
14445 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14446 # We already found the complete path
14447 ac_dir=`dirname $READELF_FOR_TARGET`
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14449 $as_echo "pre-installed
in $ac_dir" >&6; }
14451 # Canadian cross, just use what we found
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14453 $as_echo "pre-installed
" >&6; }
14457 case " ${configdirs} " in
14462 if test $ok = yes; then
14463 # An in-tree tool is available and we can use it
14464 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14466 $as_echo "just compiled
" >&6; }
14467 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14468 # We already found the complete path
14469 ac_dir=`dirname $READELF_FOR_TARGET`
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14471 $as_echo "pre-installed
in $ac_dir" >&6; }
14472 elif test "x
$target" = "x
$host"; then
14473 # We can use an host tool
14474 READELF_FOR_TARGET='$(READELF)'
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14476 $as_echo "host tool
" >&6; }
14478 # We need a cross tool
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14480 $as_echo "pre-installed
" >&6; }
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14485 $as_echo_n "checking where to
find the target strip...
" >&6; }
14486 if test "x
${build}" != "x
${host}" ; then
14487 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14488 # We already found the complete path
14489 ac_dir=`dirname $STRIP_FOR_TARGET`
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14491 $as_echo "pre-installed
in $ac_dir" >&6; }
14493 # Canadian cross, just use what we found
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14495 $as_echo "pre-installed
" >&6; }
14499 case " ${configdirs} " in
14504 if test $ok = yes; then
14505 # An in-tree tool is available and we can use it
14506 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14508 $as_echo "just compiled
" >&6; }
14509 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14510 # We already found the complete path
14511 ac_dir=`dirname $STRIP_FOR_TARGET`
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14513 $as_echo "pre-installed
in $ac_dir" >&6; }
14514 elif test "x
$target" = "x
$host"; then
14515 # We can use an host tool
14516 STRIP_FOR_TARGET='$(STRIP)'
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14518 $as_echo "host tool
" >&6; }
14520 # We need a cross tool
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14522 $as_echo "pre-installed
" >&6; }
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14527 $as_echo_n "checking where to
find the target windres...
" >&6; }
14528 if test "x
${build}" != "x
${host}" ; then
14529 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14530 # We already found the complete path
14531 ac_dir=`dirname $WINDRES_FOR_TARGET`
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14533 $as_echo "pre-installed
in $ac_dir" >&6; }
14535 # Canadian cross, just use what we found
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14537 $as_echo "pre-installed
" >&6; }
14541 case " ${configdirs} " in
14546 if test $ok = yes; then
14547 # An in-tree tool is available and we can use it
14548 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14550 $as_echo "just compiled
" >&6; }
14551 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14552 # We already found the complete path
14553 ac_dir=`dirname $WINDRES_FOR_TARGET`
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14555 $as_echo "pre-installed
in $ac_dir" >&6; }
14556 elif test "x
$target" = "x
$host"; then
14557 # We can use an host tool
14558 WINDRES_FOR_TARGET='$(WINDRES)'
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14560 $as_echo "host tool
" >&6; }
14562 # We need a cross tool
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14564 $as_echo "pre-installed
" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14569 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14570 if test "x
${build}" != "x
${host}" ; then
14571 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14572 # We already found the complete path
14573 ac_dir=`dirname $WINDMC_FOR_TARGET`
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14575 $as_echo "pre-installed
in $ac_dir" >&6; }
14577 # Canadian cross, just use what we found
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14579 $as_echo "pre-installed
" >&6; }
14583 case " ${configdirs} " in
14588 if test $ok = yes; then
14589 # An in-tree tool is available and we can use it
14590 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14592 $as_echo "just compiled
" >&6; }
14593 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14594 # We already found the complete path
14595 ac_dir=`dirname $WINDMC_FOR_TARGET`
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14597 $as_echo "pre-installed
in $ac_dir" >&6; }
14598 elif test "x
$target" = "x
$host"; then
14599 # We can use an host tool
14600 WINDMC_FOR_TARGET='$(WINDMC)'
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14602 $as_echo "host tool
" >&6; }
14604 # We need a cross tool
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14606 $as_echo "pre-installed
" >&6; }
14614 # Certain tools may need extra flags.
14615 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14616 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14617 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14619 # When building target libraries, except in a Canadian cross, we use
14620 # the same toolchain as the compiler we just built.
14621 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14622 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14623 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14624 if test $host = $build; then
14625 case " $configdirs " in
14627 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14628 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14629 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14639 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14640 # Check whether --enable-maintainer-mode was given.
14641 if test "${enable_maintainer_mode+set}" = set; then :
14642 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14644 USE_MAINTAINER_MODE=no
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14648 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14651 if test "$USE_MAINTAINER_MODE" = yes; then
14652 MAINTAINER_MODE_TRUE=
14653 MAINTAINER_MODE_FALSE='#'
14655 MAINTAINER_MODE_TRUE='#'
14656 MAINTAINER_MODE_FALSE=
14658 MAINT=$MAINTAINER_MODE_TRUE
14660 # ---------------------
14661 # GCC bootstrap support
14662 # ---------------------
14664 # Stage specific cflags for build.
14669 yes) stage1_cflags="-g -Wa,-J" ;;
14670 *) stage1_cflags="-g -J" ;;
14676 # Enable --enable-checking in stage1 of the compiler.
14677 # Check whether --enable-stage1-checking was given.
14678 if test "${enable_stage1_checking+set}" = set; then :
14679 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14681 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14682 # For --disable-checking or implicit --enable-checking=release, avoid
14683 # setting --enable-checking=gc in the default stage1 checking for LTO
14684 # bootstraps. See PR62077.
14685 case $BUILD_CONFIG in
14687 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14689 stage1_checking=--enable-checking=yes,types;;
14691 if test "x
$enable_checking" = x && \
14692 test -d ${srcdir}/gcc && \
14693 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14694 stage1_checking=--enable-checking=yes,types,extra
14697 stage1_checking=--enable-checking=$enable_checking,types
14703 # Enable -Werror in bootstrap stage2 and later.
14704 # Check whether --enable-werror was given.
14705 if test "${enable_werror+set}" = set; then :
14706 enableval=$enable_werror;
14708 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14715 case ${enable_werror} in
14716 yes) stage2_werror_flag="--enable-werror-always" ;;
14717 *) stage2_werror_flag="" ;;
14721 # Enable --enable-host-shared.
14722 # Check whether --enable-host-shared was given.
14723 if test "${enable_host_shared+set}" = set; then :
14724 enableval=$enable_host_shared; host_shared=$enableval
14731 # PR jit/64780: Require the user to explicitly specify
14732 # --enable-host-shared if the jit is enabled, hinting
14733 # that they might want to do a separate configure/build of
14734 # the jit, to avoid users from slowing down the rest of the
14735 # compiler by enabling the jit.
14736 if test ${host_shared} = "no
" ; then
14737 case "${enable_languages}" in
14740 Enabling language
\"jit
\" requires
--enable-host-shared.
14742 --enable-host-shared typically slows the rest of the compiler down by
14743 a few
%, so you must explicitly
enable it.
14745 If you want to build both the jit and the regular compiler
, it is often
14746 best to
do this via two separate configure
/builds
, in separate
14747 directories
, to avoid imposing the performance cost of
14748 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14755 # Specify what files to not compare during bootstrap.
14757 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14759 hppa*64*-*-hpux*) ;;
14760 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14761 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14765 ac_config_files="$ac_config_files Makefile
"
14767 cat >confcache <<\_ACEOF
14768 # This file is a shell script that caches the results of configure
14769 # tests run on this system so they can be shared between configure
14770 # scripts and configure runs, see configure's option --config-cache.
14771 # It is not useful on other systems. If it contains results you don't
14772 # want to keep, you may remove or edit it.
14774 # config.status only pays attention to the cache file if you give it
14775 # the --recheck option to rerun configure.
14777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14779 # following values.
14783 # The following way of writing the cache mishandles newlines in values,
14784 # but we know of no workaround that is simple, portable, and efficient.
14785 # So, we kill variables containing newlines.
14786 # Ultrix sh set writes to stderr and can't be redirected directly,
14787 # and sets the high bit in the cache file unless we assign to the vars.
14789 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14790 eval ac_val=\$$ac_var
14794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14795 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14798 _ | IFS | as_nl) ;; #(
14799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14800 *) { eval $ac_var=; unset $ac_var;} ;;
14806 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14807 *${as_nl}ac_space=\ *)
14808 # `set' does not quote correctly, so add quotes: double-quote
14809 # substitution turns \\\\ into \\, and sed turns \\ into \.
14812 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14815 # `set' quotes correctly as required by POSIX, so do not add quotes.
14816 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14827 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14829 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14830 if test -w "$cache_file"; then
14831 test "x
$cache_file" != "x
/dev
/null
" &&
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14833 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14834 cat confcache >$cache_file
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14837 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14842 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14843 # Let make expand exec_prefix.
14844 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14846 # Transform confdefs.h into DEFS.
14847 # Protect against shell expansion while executing Makefile rules.
14848 # Protect against Makefile macro expansion.
14850 # If the first sed substitution is executed (which looks for macros that
14851 # take arguments), then branch to the quote section. Otherwise,
14852 # look for a macro that doesn't take arguments.
14862 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14864 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14868 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14881 DEFS=`sed -n "$ac_script" confdefs.h`
14886 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14887 # 1. Remove the extension, and $U if already installed.
14888 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14889 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14891 # will be set to the directory where LIBOBJS objects are built.
14892 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14893 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14895 LIBOBJS=$ac_libobjs
14897 LTLIBOBJS=$ac_ltlibobjs
14901 : ${CONFIG_STATUS=./config.status}
14903 ac_clean_files_save=$ac_clean_files
14904 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14906 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14908 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14910 # Generated by $as_me.
14911 # Run this file to recreate the current configuration.
14912 # Compiler output produced by configure, useful for debugging
14913 # configure, is in config.log if it exists.
14916 ac_cs_recheck=false
14919 SHELL=\${CONFIG_SHELL-$SHELL}
14922 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14923 ## -------------------- ##
14924 ## M4sh Initialization. ##
14925 ## -------------------- ##
14927 # Be more Bourne compatible
14928 DUALCASE=1; export DUALCASE # for MKS sh
14929 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14933 # is contrary to our usage. Disable this feature.
14934 alias -g '${1+"$@"}'='"$@"'
14935 setopt NO_GLOB_SUBST
14937 case `(set -o) 2>/dev/null` in #(
14949 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14950 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14951 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14952 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14953 # Prefer a ksh shell builtin over an external printf program on Solaris,
14954 # but without wasting forks for bash or zsh.
14955 if test -z "$BASH_VERSION$ZSH_VERSION" \
14956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14957 as_echo
='print -r --'
14958 as_echo_n
='print -rn --'
14959 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14960 as_echo
='printf %s\n'
14961 as_echo_n
='printf %s'
14963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14964 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14965 as_echo_n
='/usr/ucb/echo -n'
14967 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14968 as_echo_n_body
='eval
14972 expr "X$arg" : "X\\(.*\\)$as_nl";
14973 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14975 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14977 export as_echo_n_body
14978 as_echo_n
='sh -c $as_echo_n_body as_echo'
14980 export as_echo_body
14981 as_echo
='sh -c $as_echo_body as_echo'
14984 # The user is always right.
14985 if test "${PATH_SEPARATOR+set}" != set; then
14987 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14988 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14995 # We need space, tab and new line, in precisely that order. Quoting is
14996 # there to prevent editors from complaining about space-tab.
14997 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14998 # splitting by setting IFS to empty value.)
15001 # Find who we are. Look in the path if we contain no directory separator.
15003 *[\\/]* ) as_myself
=$0 ;;
15004 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15005 for as_dir
in $PATH
15008 test -z "$as_dir" && as_dir
=.
15009 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15015 # We did not find ourselves, most probably we were run as `sh COMMAND'
15016 # in which case we are not to be found in the path.
15017 if test "x$as_myself" = x
; then
15020 if test ! -f "$as_myself"; then
15021 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15025 # Unset variables that we do not need and which cause bugs (e.g. in
15026 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15027 # suppresses any "Segmentation fault" message there. '((' could
15028 # trigger a bug in pdksh 5.2.14.
15029 for as_var
in BASH_ENV ENV MAIL MAILPATH
15030 do eval test x\
${$as_var+set} = xset \
15031 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15044 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15047 # as_fn_error ERROR [LINENO LOG_FD]
15048 # ---------------------------------
15049 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15050 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15051 # script with status $?, using 1 if that was 0.
15054 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15056 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15057 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15059 $as_echo "$as_me: error: $1" >&2
15060 as_fn_exit
$as_status
15064 # as_fn_set_status STATUS
15065 # -----------------------
15066 # Set $? to STATUS, without forking.
15067 as_fn_set_status
()
15070 } # as_fn_set_status
15072 # as_fn_exit STATUS
15073 # -----------------
15074 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15078 as_fn_set_status
$1
15084 # Portably unset VAR.
15087 { eval $1=; unset $1;}
15089 as_unset
=as_fn_unset
15090 # as_fn_append VAR VALUE
15091 # ----------------------
15092 # Append the text in VALUE to the end of the definition contained in VAR. Take
15093 # advantage of any shell optimizations that allow amortized linear growth over
15094 # repeated appends, instead of the typical quadratic growth present in naive
15096 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15097 eval 'as_fn_append ()
15108 # as_fn_arith ARG...
15109 # ------------------
15110 # Perform arithmetic evaluation on the ARGs, and store the result in the
15111 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15112 # must be portable across $(()) and expr.
15113 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15114 eval 'as_fn_arith ()
15121 as_val
=`expr "$@" || test $? -eq 1`
15126 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15127 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15133 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15134 as_basename
=basename
15139 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15145 as_me
=`$as_basename -- "$0" ||
15146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15147 X"$0" : 'X\(//\)$' \| \
15148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15150 sed '/^.*\/\([^/][^/]*\)\/*$/{
15164 # Avoid depending upon Character Ranges.
15165 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15166 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15167 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15168 as_cr_digits
='0123456789'
15169 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15171 ECHO_C
= ECHO_N
= ECHO_T
=
15172 case `echo -n x` in #(((((
15174 case `echo 'xy\c'` in
15175 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15177 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15184 rm -f conf$$ conf$$.exe conf$$.
file
15185 if test -d conf$$.dir
; then
15186 rm -f conf$$.dir
/conf$$.
file
15189 mkdir conf$$.dir
2>/dev
/null
15191 if (echo >conf$$.
file) 2>/dev
/null
; then
15192 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15194 # ... but there are two gotchas:
15195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15197 # In both cases, we have to default to `cp -p'.
15198 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15208 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15209 rmdir conf$$.dir
2>/dev
/null
15214 # Create "$as_dir" as a directory, including parents if necessary.
15219 -*) as_dir
=.
/$as_dir;;
15221 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15225 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15226 *) as_qdir
=$as_dir;;
15228 as_dirs
="'$as_qdir' $as_dirs"
15229 as_dir
=`$as_dirname -- "$as_dir" ||
15230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15231 X"$as_dir" : 'X\(//\)[^/]' \| \
15232 X"$as_dir" : 'X\(//\)$' \| \
15233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15234 $as_echo X"$as_dir" |
15235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15239 /^X\(\/\/\)[^/].*/{
15252 test -d "$as_dir" && break
15254 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15255 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15259 if mkdir
-p .
2>/dev
/null
; then
15260 as_mkdir_p
='mkdir -p "$as_dir"'
15262 test -d .
/-p && rmdir .
/-p
15266 if test -x / >/dev
/null
2>&1; then
15267 as_test_x
='test -x'
15269 if ls -dL / >/dev
/null
2>&1; then
15276 if test -d "$1"; then
15282 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15283 ???[sx]*):;;*)false;;esac;fi
15287 as_executable_p
=$as_test_x
15289 # Sed expression to map a string onto a valid CPP name.
15290 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15292 # Sed expression to map a string onto a valid variable name.
15293 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15297 ## ----------------------------------- ##
15298 ## Main body of $CONFIG_STATUS script. ##
15299 ## ----------------------------------- ##
15301 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15304 # Save the log message, to keep $0 and so on meaningful, and to
15305 # report actual input values of CONFIG_FILES etc. instead of their
15306 # values after options handling.
15308 This file was extended by $as_me, which was
15309 generated by GNU Autoconf 2.64. Invocation command line was
15311 CONFIG_FILES = $CONFIG_FILES
15312 CONFIG_HEADERS = $CONFIG_HEADERS
15313 CONFIG_LINKS = $CONFIG_LINKS
15314 CONFIG_COMMANDS = $CONFIG_COMMANDS
15317 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15322 case $ac_config_files in *"
15323 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15329 # Files that config.status was made for.
15330 config_files="$ac_config_files"
15334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15336 \`$as_me' instantiates files and other configuration actions
15337 from templates according to the current configuration. Unless the files
15338 and actions are specified as TAGs, all are instantiated by default.
15340 Usage: $0 [OPTION]... [TAG]...
15342 -h, --help print this help, then exit
15343 -V, --version print version number and configuration settings, then exit
15344 -q, --quiet, --silent
15345 do not print progress messages
15346 -d, --debug don't remove temporary files
15347 --recheck update $as_me by reconfiguring in the same conditions
15348 --file=FILE[:TEMPLATE]
15349 instantiate the configuration file FILE
15351 Configuration files:
15354 Report bugs to the package provider."
15357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15360 configured by $0, generated by GNU Autoconf 2.64,
15361 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15363 Copyright (C) 2009 Free Software Foundation, Inc.
15364 This config.status script is free software; the Free Software Foundation
15365 gives unlimited permission to copy, distribute and modify it."
15371 test -n "\$AWK" || AWK=awk
15374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15375 # The default lists apply if the user does not specify any file.
15381 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15382 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15393 # Handling of the options.
15394 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15396 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15397 $as_echo "$ac_cs_version"; exit ;;
15398 --debug |
--debu |
--deb |
--de |
--d |
-d )
15400 --file |
--fil |
--fi |
--f )
15403 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15405 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15406 ac_need_defaults
=false
;;
15407 --he |
--h |
--help |
--hel |
-h )
15408 $as_echo "$ac_cs_usage"; exit ;;
15409 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15410 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15413 # This is an error.
15414 -*) as_fn_error
"unrecognized option: \`$1'
15415 Try \`$0 --help' for more information." ;;
15417 *) as_fn_append ac_config_targets
" $1"
15418 ac_need_defaults
=false
;;
15424 ac_configure_extra_args
=
15426 if $ac_cs_silent; then
15428 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15433 if \$ac_cs_recheck; then
15434 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15436 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15437 CONFIG_SHELL='$SHELL'
15438 export CONFIG_SHELL
15443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15448 ## Running $as_me. ##
15454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15458 extrasub_build="$extrasub_build"
15459 extrasub_host="$extrasub_host"
15460 extrasub_target="$extrasub_target"
15464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15466 # Handling of arguments.
15467 for ac_config_target
in $ac_config_targets
15469 case $ac_config_target in
15470 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15472 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15477 # If the user did not use the arguments to specify the items to instantiate,
15478 # then the envvar interface is used. Set only those that are not.
15479 # We use the long form for the default assignment because of an extremely
15480 # bizarre bug on SunOS 4.1.3.
15481 if $ac_need_defaults; then
15482 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15485 # Have a temporary directory for convenience. Make it in the build tree
15486 # simply because there is no reason against having it here, and in addition,
15487 # creating and moving files from /tmp can sometimes cause problems.
15488 # Hook for its removal unless debugging.
15489 # Note that there is a small window in which the directory will not be cleaned:
15490 # after its creation but before its name has been assigned to `$tmp'.
15494 trap 'exit_status=$?
15495 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15497 trap 'as_fn_exit 1' 1 2 13 15
15499 # Create a (secure) tmp directory for tmp files.
15502 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15503 test -n "$tmp" && test -d "$tmp"
15506 tmp
=.
/conf$$
-$RANDOM
15507 (umask 077 && mkdir
"$tmp")
15508 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15510 # Set up the scripts for CONFIG_FILES section.
15511 # No need to generate them if there are no CONFIG_FILES.
15512 # This happens for instance with `./config.status config.h'.
15513 if test -n "$CONFIG_FILES"; then
15515 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15516 ac_cs_awk_getline
=:
15517 ac_cs_awk_pipe_init
=
15518 ac_cs_awk_read_file
='
15519 while ((getline aline < (F[key])) > 0)
15522 ac_cs_awk_pipe_fini
=
15524 ac_cs_awk_getline
=false
15525 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15526 ac_cs_awk_read_file
='
15528 print "cat " F[key] " &&"
15529 '$ac_cs_awk_pipe_init
15530 # The final `:' finishes the AND list.
15531 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15533 ac_cr
=`echo X | tr X '\015'`
15534 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15535 # But we know of no other shell where ac_cr would be empty at this
15536 # point, so we can use a bashism as a fallback.
15537 if test "x$ac_cr" = x
; then
15538 eval ac_cr
=\$
\'\\r
\'
15540 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15541 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15544 ac_cs_awk_cr
=$ac_cr
15547 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15550 # Create commands to substitute file output variables.
15552 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15553 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15554 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15557 } >conf$
$files.sh
&&
15558 . .
/conf$
$files.sh ||
15559 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15560 rm -f conf$
$files.sh
15563 echo "cat >conf$$subs.awk <<_ACEOF" &&
15564 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15566 } >conf$$subs.sh ||
15567 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15568 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15570 for ac_last_try in false false false false false :; do
15571 . ./conf$$subs.sh ||
15572 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15574 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15575 if test $ac_delim_n = $ac_delim_num; then
15577 elif $ac_last_try; then
15578 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15580 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15583 rm -f conf$$subs.sh
15585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15586 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15590 s/^/S["/; s
/!.
*/"]=/
15600 s/\(.\{148\}\).*/\1/
15602 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15607 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15614 s/\(.\{148\}\).*/\1/
15616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15620 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15625 ' <conf$$subs.awk | sed '
15630 ' >>$CONFIG_STATUS || ac_write_fail=1
15631 rm -f conf$$subs.awk
15632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15634 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15635 for (key in S) S_is_set[key] = 1
15637 \$ac_cs_awk_pipe_init
15641 nfields = split(line, field, "@
")
15643 len = length(field[1])
15644 for (i = 2; i < nfields; i++) {
15646 keylen = length(key)
15647 if (S_is_set[key]) {
15649 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15650 len += length(value) + length(field[++i])
15655 if (nfields == 3 && !substed) {
15657 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15658 \$ac_cs_awk_read_file
15664 \$ac_cs_awk_pipe_fini
15667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15668 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15669 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15672 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15673 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15676 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15677 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15678 # trailing colons and then remove the whole line if VPATH becomes empty
15679 # (actually we leave an empty line to preserve line numbers).
15680 if test "x
$srcdir" = x.; then
15681 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15682 s/:*\$(srcdir):*/:/
15683 s/:*\${srcdir}:*/:/
15685 s/^\([^=]*=[ ]*\):*/\1/
15691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15692 fi # test -n "$CONFIG_FILES"
15695 eval set X " :F
$CONFIG_FILES "
15700 :[FHLC]) ac_mode=$ac_tag; continue;;
15702 case $ac_mode$ac_tag in
15704 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15705 :[FH]-) ac_tag=-:-;;
15706 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15723 -) ac_f="$tmp/stdin";;
15724 *) # Look for the file first in the build tree, then in the source tree
15725 # (if the path is not absolute). The absolute path cannot be DOS-style,
15726 # because $ac_f cannot contain `:'.
15730 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15732 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15734 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15735 as_fn_append ac_file_inputs " '$ac_f'"
15738 # Let's still pretend it is `configure' which instantiates (i.e., don't
15739 # use $as_me), people would be surprised to read:
15740 # /* config.h. Generated by config.status. */
15741 configure_input='Generated from '`
15742 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15744 if test x"$ac_file" != x-; then
15745 configure_input="$ac_file.
$configure_input"
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15747 $as_echo "$as_me: creating
$ac_file" >&6;}
15749 # Neutralize special characters interpreted by sed in replacement strings.
15750 case $configure_input in #(
15751 *\&* | *\|* | *\\* )
15752 ac_sed_conf_input=`$as_echo "$configure_input" |
15753 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15754 *) ac_sed_conf_input=$configure_input;;
15758 *:-:* | *:-) cat >"$tmp/stdin
" \
15759 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15764 ac_dir=`$as_dirname -- "$ac_file" ||
15765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15766 X"$ac_file" : 'X\(//\)[^/]' \| \
15767 X"$ac_file" : 'X\(//\)$' \| \
15768 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15769 $as_echo X"$ac_file" |
15770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15774 /^X\(\/\/\)[^/].*/{
15787 as_dir="$ac_dir"; as_fn_mkdir_p
15791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15793 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15794 # A "..
" for each directory in $ac_dir_suffix.
15795 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15796 case $ac_top_builddir_sub in
15797 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15798 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15801 ac_abs_top_builddir=$ac_pwd
15802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15803 # for backward compatibility:
15804 ac_top_builddir=$ac_top_build_prefix
15807 .) # We are building in place.
15809 ac_top_srcdir=$ac_top_builddir_sub
15810 ac_abs_top_srcdir=$ac_pwd ;;
15811 [\\/]* | ?:[\\/]* ) # Absolute name.
15812 ac_srcdir=$srcdir$ac_dir_suffix;
15813 ac_top_srcdir=$srcdir
15814 ac_abs_top_srcdir=$srcdir ;;
15815 *) # Relative name.
15816 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15817 ac_top_srcdir=$ac_top_build_prefix$srcdir
15818 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15830 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15831 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15836 # If the template does not know about datarootdir, expand it.
15837 # FIXME: This hack should be removed a few years after 2.60.
15838 ac_datarootdir_hack=; ac_datarootdir_seen=
15849 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15850 *datarootdir*) ac_datarootdir_seen=yes;;
15851 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15853 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15856 ac_datarootdir_hack='
15857 s&@datadir@&$datadir&g
15858 s&@docdir@&$docdir&g
15859 s&@infodir@&$infodir&g
15860 s&@localedir@&$localedir&g
15861 s&@mandir@&$mandir&g
15862 s&\\\${datarootdir}&$datarootdir&g' ;;
15866 # Neutralize VPATH when `$srcdir' = `.'.
15867 # Shell code in configure.ac might set extrasub.
15868 # FIXME: do we really want to maintain this feature?
15869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15870 ac_sed_extra="$ac_vpsub
15873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15875 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15876 s|@configure_input@|
$ac_sed_conf_input|
;t t
15877 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15878 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15879 s
&@srcdir@
&$ac_srcdir&;t t
15880 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15881 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15882 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15883 s
&@builddir@
&$ac_builddir&;t t
15884 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15885 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15886 s
&@INSTALL@
&$ac_INSTALL&;t t
15887 $ac_datarootdir_hack
15889 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15890 if $ac_cs_awk_getline; then
15891 $AWK -f "$tmp/subs.
awk"
15893 $AWK -f "$tmp/subs.
awk" | $SHELL
15895 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15898 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15901 which seems to be undefined. Please make sure it is defined." >&5
15902 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15903 which seems to be undefined. Please make sure it is defined." >&2;}
15907 -) cat "$tmp/out" && rm -f "$tmp/out";;
15908 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15910 || as_fn_error "could not create $ac_file" "$LINENO" 5
15918 case $ac_file$ac_mode in
15919 "Makefile":F) sed "$extrasub_build" Makefile |
15920 sed "$extrasub_host" |
15921 sed "$extrasub_target" > mf$$
15922 mv -f mf$$ Makefile ;;
15930 ac_clean_files=$ac_clean_files_save
15932 test $ac_write_fail = 0 ||
15933 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15936 # configure is writing to config.log, and then calls config.status.
15937 # config.status does its own redirection, appending to config.log.
15938 # Unfortunately, on DOS this fails, as config.log is still kept open
15939 # by configure, so config.status won't be able to
write to it
; its
15940 # output is simply discarded. So we exec the FD to /dev/null,
15941 # effectively closing config.log, so it can be properly (re)opened and
15942 # appended to by config.status. When coming back to configure, we
15943 # need to make the FD available again.
15944 if test "$no_create" != yes; then
15946 ac_config_status_args
=
15947 test "$silent" = yes &&
15948 ac_config_status_args
="$ac_config_status_args --quiet"
15950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15953 # would make configure fail if this is the last instruction.
15954 $ac_cs_success || as_fn_exit $?
15956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}