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
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files
='serialization_dependencies
741 enable_option_checking
746 enable_libquadmath_support
749 enable_build_with_cxx
769 enable_ppl_version_check
774 enable_cloog_version_check
776 enable_stage1_languages
779 with_debug_prefix_map
782 enable_serial_configure
783 with_build_time_tools
784 enable_maintainer_mode
785 enable_stage1_checking
788 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
905 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
908 -build |
--build |
--buil |
--bui |
--bu)
909 ac_prev
=build_alias
;;
910 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
911 build_alias
=$ac_optarg ;;
913 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
914 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
915 ac_prev
=cache_file
;;
916 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
917 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
918 cache_file
=$ac_optarg ;;
921 cache_file
=config.cache
;;
923 -datadir |
--datadir |
--datadi |
--datad)
925 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
926 datadir
=$ac_optarg ;;
928 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
929 |
--dataroo |
--dataro |
--datar)
930 ac_prev
=datarootdir
;;
931 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
932 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
933 datarootdir
=$ac_optarg ;;
935 -disable-* |
--disable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=no
;;
951 -docdir |
--docdir |
--docdi |
--doc |
--do)
953 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
956 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
958 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
961 -enable-* |
--enable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=\
$ac_optarg ;;
977 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
978 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
979 |
--exec |
--exe |
--ex)
980 ac_prev
=exec_prefix
;;
981 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
982 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
983 |
--exec=* |
--exe=* |
--ex=*)
984 exec_prefix
=$ac_optarg ;;
986 -gas |
--gas |
--ga |
--g)
987 # Obsolete; use --with-gas.
990 -help |
--help |
--hel |
--he |
-h)
992 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
993 ac_init_help
=recursive
;;
994 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
995 ac_init_help
=short
;;
997 -host |
--host |
--hos |
--ho)
998 ac_prev
=host_alias
;;
999 -host=* |
--host=* |
--hos=* |
--ho=*)
1000 host_alias
=$ac_optarg ;;
1002 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1004 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1006 htmldir
=$ac_optarg ;;
1008 -includedir |
--includedir |
--includedi |
--included |
--include \
1009 |
--includ |
--inclu |
--incl |
--inc)
1010 ac_prev
=includedir
;;
1011 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1012 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1013 includedir
=$ac_optarg ;;
1015 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1017 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1018 infodir
=$ac_optarg ;;
1020 -libdir |
--libdir |
--libdi |
--libd)
1022 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1023 libdir
=$ac_optarg ;;
1025 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1026 |
--libexe |
--libex |
--libe)
1027 ac_prev
=libexecdir
;;
1028 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1029 |
--libexe=* |
--libex=* |
--libe=*)
1030 libexecdir
=$ac_optarg ;;
1032 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1033 ac_prev
=localedir
;;
1034 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1035 localedir
=$ac_optarg ;;
1037 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1038 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1039 ac_prev
=localstatedir
;;
1040 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1041 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1042 localstatedir
=$ac_optarg ;;
1044 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1046 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1047 mandir
=$ac_optarg ;;
1049 -nfp |
--nfp |
--nf)
1050 # Obsolete; use --without-fp.
1053 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1054 |
--no-cr |
--no-c |
-n)
1057 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1058 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1061 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1062 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1063 |
--oldin |
--oldi |
--old |
--ol |
--o)
1064 ac_prev
=oldincludedir
;;
1065 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1066 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1067 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1068 oldincludedir
=$ac_optarg ;;
1070 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1072 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1073 prefix
=$ac_optarg ;;
1075 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1076 |
--program-pre |
--program-pr |
--program-p)
1077 ac_prev
=program_prefix
;;
1078 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1079 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1080 program_prefix
=$ac_optarg ;;
1082 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1083 |
--program-suf |
--program-su |
--program-s)
1084 ac_prev
=program_suffix
;;
1085 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1086 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1087 program_suffix
=$ac_optarg ;;
1089 -program-transform-name |
--program-transform-name \
1090 |
--program-transform-nam |
--program-transform-na \
1091 |
--program-transform-n |
--program-transform- \
1092 |
--program-transform |
--program-transfor \
1093 |
--program-transfo |
--program-transf \
1094 |
--program-trans |
--program-tran \
1095 |
--progr-tra |
--program-tr |
--program-t)
1096 ac_prev
=program_transform_name
;;
1097 -program-transform-name=* |
--program-transform-name=* \
1098 |
--program-transform-nam=* |
--program-transform-na=* \
1099 |
--program-transform-n=* |
--program-transform-=* \
1100 |
--program-transform=* |
--program-transfor=* \
1101 |
--program-transfo=* |
--program-transf=* \
1102 |
--program-trans=* |
--program-tran=* \
1103 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1104 program_transform_name
=$ac_optarg ;;
1106 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1108 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1109 pdfdir
=$ac_optarg ;;
1111 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1113 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1117 |
-silent |
--silent |
--silen |
--sile |
--sil)
1120 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1122 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1127 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1128 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1132 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1133 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site |
--site |
--sit)
1139 -site=* |
--site=* |
--sit=*)
1142 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1144 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1148 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1151 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1155 ac_prev
=target_alias
;;
1156 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1162 -version |
--version |
--versio |
--versi |
--vers |
-V)
1163 ac_init_version
=: ;;
1166 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=\
$ac_optarg ;;
1181 -without-* |
--without-*)
1182 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1202 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1205 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1209 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1212 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) as_fn_error
"unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information."
1220 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1224 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error
"missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val
=\$
$ac_var
1260 # Remove trailing slashes.
1263 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\
$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$
]* | ?
:[\\/]* ) continue;;
1269 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1271 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target
=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x
; then
1283 if test "x$build_alias" = x
; then
1284 cross_compiling
=maybe
1285 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1286 If a cross compiler is detected then cross compile mode will be used." >&2
1287 elif test "x$build_alias" != "x$host_alias"; then
1293 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1295 test "$silent" = yes && exec 6>/dev
/null
1298 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di
=`ls -di .` &&
1300 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1301 as_fn_error
"working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 as_fn_error
"pwd does not report name of working directory"
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted
=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir
=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$as_myself" : 'X\(//\)[^/]' \| \
1313 X"$as_myself" : 'X\(//\)$' \| \
1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted
=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1342 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1344 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 as_fn_error
"path to source, $srcdir, contains spaces"
1363 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures this package to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1444 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1448 if test -n "$ac_init_help"; then
1453 --disable-option-checking ignore unrecognized
--enable/--with options
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1457 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1458 --disable-libquadmath do not build libquadmath directory
1459 --disable-libquadmath-support
1460 disable libquadmath support
for Fortran
1461 --enable-libada build libada directory
1462 --enable-libssp build libssp directory
1463 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1464 --disable-ppl-version-check disable check
for PPL version
1465 --enable-cloog-backend[=BACKEND
]
1466 set the CLooG BACKEND used to either isl
, ppl or
1467 ppl-legacy
(default
)
1468 --disable-cloog-version-check
1469 disable check
for CLooG version
1470 --enable-lto enable link
time optimization support
1471 --enable-stage1-languages[=all
] choose additional languages to build during
1472 stage1. Mostly useful
for compiler development.
1473 --enable-objc-gc enable use of Boehm
's garbage collector with the
1474 GNU Objective-C runtime
1475 --enable-bootstrap enable bootstrapping [yes if native build]
1476 --enable-serial-[{host,target,build}-]configure
1477 force sequential configuration of
1478 sub-packages for the host, target or build
1479 machine, or all sub-packages
1480 --enable-maintainer-mode enable make rules and dependencies not useful
1481 (and sometimes confusing) to the casual installer
1482 --enable-stage1-checking[=all] choose additional checking for stage1
1484 --enable-werror enable -Werror in bootstrap stage2 and later
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-build-libsubdir=DIR Directory where to find libraries for build system
1490 --with-mpc=PATH specify prefix directory for installed MPC package.
1491 Equivalent to --with-mpc-include=PATH/include
1492 plus --with-mpc-lib=PATH/lib
1493 --with-mpc-include=PATH
1494 specify directory for installed MPC include files
1495 --with-mpc-lib=PATH specify directory for the installed MPC library
1496 --with-mpfr-dir=PATH this option has been REMOVED
1497 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1498 Equivalent to --with-mpfr-include=PATH/include
1499 plus --with-mpfr-lib=PATH/lib
1500 --with-mpfr-include=PATH
1501 specify directory for installed MPFR include files
1502 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1503 --with-gmp-dir=PATH this option has been REMOVED
1504 --with-gmp=PATH specify prefix directory for the installed GMP package.
1505 Equivalent to --with-gmp-include=PATH/include
1506 plus --with-gmp-lib=PATH/lib
1507 --with-gmp-include=PATH specify directory for installed GMP include files
1508 --with-gmp-lib=PATH specify directory for the installed GMP library
1509 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1510 when linking with PPL
1511 --with-stage1-ldflags=FLAGS Linker flags for stage1
1512 -with-stage1-libs=LIBS Libraries for stage1
1513 --with-boot-libs=LIBS Libraries for stage2 and later
1514 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1515 --with-ppl=PATH Specify prefix directory for the installed PPL package
1516 Equivalent to --with-ppl-include=PATH/include
1517 plus --with-ppl-lib=PATH/lib
1518 --with-ppl-include=PATH Specify directory for installed PPL include files
1519 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1520 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1521 package. Equivalent to
1522 --with-cloog-include=PATH/include plus
1523 --with-cloog-lib=PATH/lib
1524 --with-cloog-include=PATH
1525 Specify directory for installed CLooG include files
1526 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1528 --with-build-sysroot=SYSROOT
1529 use sysroot as the system root during the build
1530 --with-debug-prefix-map='A
=B C
=D ...
'
1531 map A to B, C to D ... in debug information
1532 --with-build-config='NAME NAME2...
'
1533 Use config/NAME.mk build configuration
1534 --with-build-time-tools=PATH
1535 use given path to find target tools during the build
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1548 additional configure arguments for build directories
1550 additional configure arguments for host directories
1552 additional configure arguments for target directories
1555 DLLTOOL DLLTOOL for the host
1557 LIPO LIPO for the host
1559 RANLIB RANLIB for the host
1560 STRIP STRIP for the host
1561 WINDRES WINDRES for the host
1562 WINDMC WINDMC for the host
1563 OBJCOPY OBJCOPY for the host
1564 OBJDUMP OBJDUMP for the host
1574 GFORTRAN for the target
1582 DLLTOOL for the target
1590 OBJDUMP for the target
1592 RANLIB for the target
1594 STRIP for the target
1596 WINDRES for the target
1598 WINDMC for the target
1600 Use these variables to override the choices made by `configure' or to
help
1601 it to
find libraries and programs with nonstandard names
/locations.
1603 Report bugs to the package provider.
1608 if test "$ac_init_help" = "recursive"; then
1609 # If there are subdirs, report their specific --help.
1610 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1611 test -d "$ac_dir" ||
1612 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1617 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1619 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1620 # A ".." for each directory in $ac_dir_suffix.
1621 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1622 case $ac_top_builddir_sub in
1623 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1624 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1627 ac_abs_top_builddir
=$ac_pwd
1628 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1629 # for backward compatibility:
1630 ac_top_builddir
=$ac_top_build_prefix
1633 .
) # We are building in place.
1635 ac_top_srcdir
=$ac_top_builddir_sub
1636 ac_abs_top_srcdir
=$ac_pwd ;;
1637 [\\/]* | ?
:[\\/]* ) # Absolute name.
1638 ac_srcdir
=$srcdir$ac_dir_suffix;
1639 ac_top_srcdir
=$srcdir
1640 ac_abs_top_srcdir
=$srcdir ;;
1642 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1643 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1644 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1646 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1648 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1649 # Check for guested configure.
1650 if test -f "$ac_srcdir/configure.gnu"; then
1652 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1653 elif test -f "$ac_srcdir/configure"; then
1655 $SHELL "$ac_srcdir/configure" --help=recursive
1657 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1659 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1663 test -n "$ac_init_help" && exit $ac_status
1664 if $ac_init_version; then
1667 generated by GNU Autoconf
2.64
1669 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1670 This configure
script is free software
; the Free Software Foundation
1671 gives unlimited permission to copy
, distribute and modify it.
1676 ## ------------------------ ##
1677 ## Autoconf initialization. ##
1678 ## ------------------------ ##
1680 # ac_fn_c_try_compile LINENO
1681 # --------------------------
1682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1683 ac_fn_c_try_compile
()
1685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1686 rm -f conftest.
$ac_objext
1687 if { { ac_try
="$ac_compile"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_compile") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && {
1703 test -z "$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1705 } && test -s conftest.$ac_objext; then :
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716 } # ac_fn_c_try_compile
1718 # ac_fn_cxx_try_compile LINENO
1719 # ----------------------------
1720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_cxx_try_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext
1725 if { { ac_try="$ac_compile"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_compile") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_cxx_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest.
$ac_objext; then :
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1754 } # ac_fn_cxx_try_compile
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1762 rm -f conftest.
$ac_objext conftest
$ac_exeext
1763 if { { ac_try
="$ac_link"
1765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest$ac_exeext && {
1782 test "$cross_compiling" = yes ||
1783 $as_test_x conftest$ac_exeext
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794 # interfere with the next link command; also delete a directory that is
1795 # left behind by Apple's compiler. We do this before executing the actions.
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 } # ac_fn_c_try_link
1801 cat >config.log <<_ACEOF
1802 This file contains any messages produced by compilers while
1803 running configure, to aid debugging if configure makes a mistake.
1805 It was created by $as_me, which was
1806 generated by GNU Autoconf 2.64. Invocation command line was
1818 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1819 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1820 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1821 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1822 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1824 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1825 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1827 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1828 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1829 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1830 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1831 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1832 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1833 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841 test -z "$as_dir" && as_dir=.
1842 $as_echo "PATH: $as_dir"
1858 # Keep a trace of the command line.
1859 # Strip out --no-create and --no-recursion so they do not pile up.
1860 # Strip out --silent because we don't want to record it for future runs.
1861 # Also quote any args containing shell meta-characters.
1862 # Make two passes to allow for proper duplicate-argument suppression.
1866 ac_must_keep_next=false
1872 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil)
1877 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1880 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1882 as_fn_append ac_configure_args1 " '$ac_arg'"
1883 if test $ac_must_keep_next = true; then
1884 ac_must_keep_next=false # Got value, back to normal.
1887 *=* | --config-cache | -C | -disable-* | --disable-* \
1888 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1889 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1890 | -with-* | --with-* | -without-* | --without-* | --x)
1891 case "$ac_configure_args0 " in
1892 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1895 -* ) ac_must_keep_next=true ;;
1898 as_fn_append ac_configure_args " '$ac_arg'"
1903 { ac_configure_args0=; unset ac_configure_args0;}
1904 { ac_configure_args1=; unset ac_configure_args1;}
1906 # When interrupted or exit'd, cleanup temporary files, and complete
1907 # config.log. We remove comments because anyway the quotes in there
1908 # would cause problems or look ugly.
1909 # WARNING: Use '\'' to represent an apostrophe within the trap.
1910 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1911 trap 'exit_status=$?
1912 # Save into config.log some information that might help in debugging.
1917 ## ---------------- ##
1918 ## Cache variables. ##
1919 ## ---------------- ##
1922 # The following way of writing the cache mishandles newlines in values,
1924 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1925 eval ac_val=\$$ac_var
1929 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1933 _ | IFS | as_nl) ;; #(
1934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1935 *) { eval $ac_var=; unset $ac_var;} ;;
1940 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1941 *${as_nl}ac_space=\ *)
1943 "s/'\''/'\''\\\\'\'''\''/g;
1944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1955 ## ----------------- ##
1956 ## Output variables. ##
1957 ## ----------------- ##
1960 for ac_var in $ac_subst_vars
1962 eval ac_val=\$$ac_var
1964 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1966 $as_echo "$ac_var='\''$ac_val'\''"
1970 if test -n "$ac_subst_files"; then
1972 ## ------------------- ##
1973 ## File substitutions. ##
1974 ## ------------------- ##
1977 for ac_var in $ac_subst_files
1979 eval ac_val=\$$ac_var
1981 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983 $as_echo "$ac_var='\''$ac_val'\''"
1988 if test -s confdefs.h; then
1998 test "$ac_signal" != 0 &&
1999 $as_echo "$as_me: caught signal $ac_signal"
2000 $as_echo "$as_me: exit $exit_status"
2002 rm -f core *.core core.conftest.* &&
2003 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2006 for ac_signal in 1 2 13 15; do
2007 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2011 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2012 rm -f -r conftest* confdefs.h
2014 $as_echo "/* confdefs.h */" > confdefs.h
2016 # Predefined preprocessor variables.
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_NAME "$PACKAGE_NAME"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_STRING "$PACKAGE_STRING"
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_URL "$PACKAGE_URL"
2043 # Let the site file select an alternate cache file if it wants to.
2044 # Prefer an explicitly selected file to automatically selected ones.
2047 if test -n "$CONFIG_SITE"; then
2048 ac_site_file1=$CONFIG_SITE
2049 elif test "x$prefix" != xNONE; then
2050 ac_site_file1=$prefix/share/config.site
2051 ac_site_file2=$prefix/etc/config.site
2053 ac_site_file1=$ac_default_prefix/share/config.site
2054 ac_site_file2=$ac_default_prefix/etc/config.site
2056 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058 test "x$ac_site_file" = xNONE && continue
2059 if test -r "$ac_site_file"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2062 sed 's/^/| /' "$ac_site_file" >&5
2067 if test -r "$cache_file"; then
2068 # Some versions of bash will fail to source /dev/null (special
2069 # files actually), so we avoid doing that.
2070 if test -f "$cache_file"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2072 $as_echo "$as_me: loading cache $cache_file" >&6;}
2074 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2075 *) . "./$cache_file";;
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2080 $as_echo "$as_me: creating cache $cache_file" >&6;}
2084 # Check that the precious variables saved in the cache have kept the same
2086 ac_cache_corrupted=false
2087 for ac_var in $ac_precious_vars; do
2088 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2089 eval ac_new_set=\$ac_env_${ac_var}_set
2090 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2091 eval ac_new_val=\$ac_env_${ac_var}_value
2092 case $ac_old_set,$ac_new_set in
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2095 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2096 ac_cache_corrupted=: ;;
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2099 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2100 ac_cache_corrupted=: ;;
2103 if test "x$ac_old_val" != "x$ac_new_val"; then
2104 # differences in whitespace do not lead to failure.
2105 ac_old_val_w=`echo x
$ac_old_val`
2106 ac_new_val_w=`echo x
$ac_new_val`
2107 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2109 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2110 ac_cache_corrupted=:
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2113 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2114 eval $ac_var=\$ac_old_val
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2117 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2119 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2122 # Pass precious variables to config.status.
2123 if test "$ac_new_set" = set; then
2125 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2126 *) ac_arg=$ac_var=$ac_new_val ;;
2128 case " $ac_configure_args " in
2129 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2130 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2134 if $ac_cache_corrupted; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2138 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2139 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2141 ## -------------------- ##
2142 ## Main body of script. ##
2143 ## -------------------- ##
2146 ac_cpp='$CPP $CPPFLAGS'
2147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2160 # if PWD already has a value, it is probably wrong.
2161 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2163 # Export original configure arguments for use by sub-configures.
2164 # Quote arguments with shell meta charatcers.
2165 TOPLEVEL_CONFIGURE_ARGUMENTS=
2166 set -- "$progname" "$@"
2170 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2171 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2172 # if the argument is of the form -foo=baz, quote the baz part only
2173 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2176 # Add the quoted argument to the list.
2177 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2179 if test "$silent" = yes; then
2180 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2182 # Remove the initial space we just introduced and, as these will be
2183 # expanded by make, quote '$'.
2184 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2187 # Find the build, host, and target systems.
2189 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2190 for ac_t in install-sh install.sh shtool; do
2191 if test -f "$ac_dir/$ac_t"; then
2193 ac_install_sh="$ac_aux_dir/$ac_t -c"
2198 if test -z "$ac_aux_dir"; then
2199 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2211 # Make sure we can run config.sub.
2212 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2213 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2216 $as_echo_n "checking build system type... " >&6; }
2217 if test "${ac_cv_build+set}" = set; then :
2218 $as_echo_n "(cached) " >&6
2220 ac_build_alias=$build_alias
2221 test "x$ac_build_alias" = x &&
2222 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2223 test "x$ac_build_alias" = x &&
2224 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2225 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2226 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2230 $as_echo "$ac_cv_build" >&6; }
2231 case $ac_cv_build in
2233 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2236 ac_save_IFS=$IFS; IFS='-'
2242 # Remember, the first character of IFS is used to create $*,
2243 # except with old shells:
2246 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2249 case ${build_alias} in
2250 "") build_noncanonical=${build} ;;
2251 *) build_noncanonical=${build_alias} ;;
2256 case ${host_alias} in
2257 "") host_noncanonical=${build_noncanonical} ;;
2258 *) host_noncanonical=${host_alias} ;;
2263 case ${target_alias} in
2264 "") target_noncanonical=${host_noncanonical} ;;
2265 *) target_noncanonical=${target_alias} ;;
2271 test "$host_noncanonical" = "$target_noncanonical" &&
2272 test "$program_prefix$program_suffix$program_transform_name" = \
2274 program_transform_name=s,y,y,
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2277 $as_echo_n "checking host system type... " >&6; }
2278 if test "${ac_cv_host+set}" = set; then :
2279 $as_echo_n "(cached) " >&6
2281 if test "x$host_alias" = x; then
2282 ac_cv_host=$ac_cv_build
2284 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2285 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2290 $as_echo "$ac_cv_host" >&6; }
2293 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2296 ac_save_IFS=$IFS; IFS='-'
2302 # Remember, the first character of IFS is used to create $*,
2303 # except with old shells:
2306 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2310 $as_echo_n "checking target system type... " >&6; }
2311 if test "${ac_cv_target+set}" = set; then :
2312 $as_echo_n "(cached) " >&6
2314 if test "x$target_alias" = x; then
2315 ac_cv_target=$ac_cv_host
2317 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2318 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2323 $as_echo "$ac_cv_target" >&6; }
2324 case $ac_cv_target in
2326 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2328 target=$ac_cv_target
2329 ac_save_IFS=$IFS; IFS='-'
2335 # Remember, the first character of IFS is used to create $*,
2336 # except with old shells:
2339 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2342 # The aliases save the names the user supplied, while $host etc.
2343 # will get canonicalized.
2344 test -n "$target_alias" &&
2345 test "$program_prefix$program_suffix$program_transform_name" = \
2347 program_prefix=${target_alias}-
2349 test "$program_prefix" != NONE &&
2350 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2351 # Use a double $ so make ignores it.
2352 test "$program_suffix" != NONE &&
2353 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2354 # Double any \ or $.
2355 # By default was `s
,x
,x
', remove it if useless.
2356 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2357 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2361 # Get 'install' or 'install-sh
' and its variants.
2362 # Find a good install program. We prefer a C program (faster),
2363 # so one script is as good as another. But avoid the broken or
2364 # incompatible versions:
2365 # SysV /etc/install, /usr/sbin/install
2366 # SunOS /usr/etc/install
2367 # IRIX /sbin/install
2369 # AmigaOS /C/install, which installs bootblocks on floppy discs
2370 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2373 # OS/2's system install, which has a completely different semantic
2374 # ./install, which can be erroneously created by make from ./install.sh.
2375 # Reject install programs that cannot install multiple files.
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2378 if test -z "$INSTALL"; then
2379 if test "${ac_cv_path_install+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 # Account for people who put trailing slashes in PATH elements.
2388 case $as_dir/ in #((
2389 .
/ | .
// |
/[cC
]/* | \
2390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2391 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2394 # OSF1 and SCO ODT 3.0 have their own names for install.
2395 # Don't use installbsd from OSF since it installs stuff as root
2397 for ac_prog
in ginstall scoinst
install; do
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2400 if test $ac_prog = install &&
2401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2402 # AIX install. It has an incompatible calling convention.
2404 elif test $ac_prog = install &&
2405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2406 # program-specific install script used by HP pwplus--don't use.
2409 rm -rf conftest.one conftest.two conftest.dir
2410 echo one
> conftest.one
2411 echo two
> conftest.two
2413 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2414 test -s conftest.one
&& test -s conftest.two
&&
2415 test -s conftest.dir
/conftest.one
&&
2416 test -s conftest.dir
/conftest.two
2418 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2431 rm -rf conftest.one conftest.two conftest.dir
2434 if test "${ac_cv_path_install+set}" = set; then
2435 INSTALL
=$ac_cv_path_install
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for INSTALL within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 INSTALL
=$ac_install_sh
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2445 $as_echo "$INSTALL" >&6; }
2447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2448 # It thinks the first close brace ends the variable substitution.
2449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2453 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2456 $as_echo_n "checking whether ln works... " >&6; }
2457 if test "${acx_cv_prog_LN+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2460 rm -f conftestdata_t
2461 echo >conftestdata_f
2462 if ln conftestdata_f conftestdata_t
2>/dev
/null
2468 rm -f conftestdata_f conftestdata_t
2471 if test $acx_cv_prog_LN = no
; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2474 $as_echo "no, using $LN" >&6; }
2476 LN
="$acx_cv_prog_LN"
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2478 $as_echo "yes" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2482 $as_echo_n "checking whether ln -s works... " >&6; }
2484 if test "$LN_S" = "ln -s"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2486 $as_echo "yes" >&6; }
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2489 $as_echo "no, using $LN_S" >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2493 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2494 if test "${ac_cv_path_SED+set}" = set; then :
2495 $as_echo_n "(cached) " >&6
2497 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2498 for ac_i
in 1 2 3 4 5 6 7; do
2499 ac_script
="$ac_script$as_nl$ac_script"
2501 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2502 { ac_script
=; unset ac_script
;}
2503 if test -z "$SED"; then
2504 ac_path_SED_found
=false
2505 # Loop through the user's path and test for each of PROGNAME-LIST
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_prog
in sed gsed
; do
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2514 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2515 # Check for GNU ac_path_SED and select it if it is found.
2516 # Check for GNU $ac_path_SED
2517 case `"$ac_path_SED" --version 2>&1` in
2519 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2522 $as_echo_n 0123456789 >"conftest.in"
2525 cat "conftest.in" "conftest.in" >"conftest.tmp"
2526 mv "conftest.tmp" "conftest.in"
2527 cp "conftest.in" "conftest.nl"
2528 $as_echo '' >> "conftest.nl"
2529 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2530 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2531 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2532 if test $ac_count -gt ${ac_path_SED_max-0}; then
2533 # Best one so far, save it but keep looking for a better one
2534 ac_cv_path_SED
="$ac_path_SED"
2535 ac_path_SED_max
=$ac_count
2537 # 10*(2^10) chars as input seems more than enough
2538 test $ac_count -gt 10 && break
2540 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2543 $ac_path_SED_found && break 3
2548 if test -z "$ac_cv_path_SED"; then
2549 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2557 $as_echo "$ac_cv_path_SED" >&6; }
2558 SED
="$ac_cv_path_SED"
2561 for ac_prog
in gawk mawk nawk
awk
2563 # Extract the first word of "$ac_prog", so it can be a program name with args.
2564 set dummy
$ac_prog; ac_word
=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_AWK+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$AWK"; then
2571 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_exec_ext
in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_AWK
="$ac_prog"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 if test -n "$AWK"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2593 $as_echo "$AWK" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2600 test -n "$AWK" && break
2604 ### we might need to use some other shell than /bin/sh for running subshells
2605 ### If we are on Windows, search for the shell. This will permit people
2606 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2607 ### without also having to set CONFIG_SHELL. This code will work when
2608 ### using bash, which sets OSTYPE.
2611 if test x
${CONFIG_SHELL} = x
; then
2612 if test ! -f /bin
/sh
; then
2613 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2614 CONFIG_SHELL
=${SHELL}
2617 for prog
in sh sh.exe bash bash.exe
; do
2618 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2619 for dir
in $PATH; do
2620 test -z "$dir" && dir
=.
2621 if test -f $dir/$prog; then
2622 CONFIG_SHELL
=$dir/$prog
2628 test -n "${CONFIG_SHELL}" && break
2636 config_shell
=${CONFIG_SHELL-/bin/sh}
2638 moveifchange
=${srcdir}/move-if-change
2640 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2642 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2644 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2645 INSTALL
="${srcpwd}/install-sh -c"
2648 # Set srcdir to "." if that's what it is.
2649 # This is important for multilib support.
2651 if test "${pwd}" = "${srcpwd}" ; then
2659 ### To add a new directory to the tree, first choose whether it is a target
2660 ### or a host dependent tool. Then put it into the appropriate list
2661 ### (library or tools, host or target), doing a dependency sort.
2663 # Subdirs will be configured in the order listed in build_configdirs,
2664 # configdirs, or target_configdirs; see the serialization section below.
2666 # Dependency sorting is only needed when *configuration* must be done in
2667 # a particular order. In all cases a dependency should be specified in
2668 # the Makefile, whether or not it's implicitly specified here.
2670 # Double entries in build_configdirs, configdirs, or target_configdirs may
2671 # cause circular dependencies and break everything horribly.
2673 # these library is used by various programs built for the build
2676 build_libs
="build-libiberty"
2678 # these tools are built for the build environment
2679 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2681 # these libraries are used by various programs built for the host environment
2683 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2685 # these tools are built for the host environment
2686 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2687 # know that we are building the simulator.
2688 # binutils, gas and ld appear in that order because it makes sense to run
2689 # "make check" in that particular order.
2690 # If --enable-gold is used, "gold" may replace "ld".
2691 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2693 # libgcj represents the runtime libraries only used by gcj.
2694 libgcj
="target-libffi \
2699 # these libraries are built for the target environment, and are built after
2700 # the host libraries and the host tools (which may be a cross compiler)
2702 target_libraries
="target-libgcc \
2707 target-libstdc++-v3 \
2710 target-libquadmath \
2711 target-libgfortran \
2719 # these tools are built using the target libraries, and are intended to
2720 # run only in the target environment
2722 # note: any program that *uses* libraries that are in the "target_libraries"
2723 # list belongs in this list. those programs are also very likely
2724 # candidates for the "native_only" list which follows
2726 target_tools
="target-examples target-groff target-gperf target-rda"
2728 ################################################################################
2730 ## All tools belong in one of the four categories, and are assigned above
2731 ## We assign ${configdirs} this way to remove all embedded newlines. This
2732 ## is important because configure will choke if they ever get through.
2733 ## ${configdirs} is directories we build using the host tools.
2734 ## ${target_configdirs} is directories we build using the target tools.
2735 configdirs
=`echo ${host_libs} ${host_tools}`
2736 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2737 build_configdirs
=`echo ${build_libs} ${build_tools}`
2741 ################################################################################
2743 srcname
="gnu development package"
2745 # This gets set non-empty for some net releases of packages.
2748 # Define is_cross_compiler to save on calls to 'test'.
2750 if test x
"${host}" = x
"${target}" ; then
2751 is_cross_compiler
=no
2753 is_cross_compiler
=yes
2756 # Find the build and target subdir names.
2758 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2759 # have matching libraries, they should use host libraries: Makefile.tpl
2760 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2761 # However, they still use the build modules, because the corresponding
2762 # host modules (e.g. bison) are only built for the host when bootstrap
2764 # - build_subdir is where we find build modules, and never changes.
2765 # - build_libsubdir is where we find build libraries, and can be overridden.
2767 # Prefix 'build-' so this never conflicts with target_subdir.
2768 build_subdir
="build-${build_noncanonical}"
2770 # Check whether --with-build-libsubdir was given.
2771 if test "${with_build_libsubdir+set}" = set; then :
2772 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2774 build_libsubdir
="$build_subdir"
2777 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2778 if ( test $srcdir = .
&& test -d gcc
) \
2779 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2780 host_subdir
="host-${host_noncanonical}"
2785 target_subdir
=${target_noncanonical}
2787 # Be sure to cover against remnants of an in-tree build.
2788 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2789 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2790 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2793 # Skipdirs are removed silently.
2795 # Noconfigdirs are removed loudly.
2799 # Make sure we don't let GNU ld be added if we didn't want it.
2800 if test x
$with_gnu_ld = xno
; then
2802 noconfigdirs
="$noconfigdirs ld gold"
2806 # Make sure we don't let GNU as be added if we didn't want it.
2807 if test x
$with_gnu_as = xno
; then
2809 noconfigdirs
="$noconfigdirs gas"
2813 # Make sure we don't let ZLIB be added if we didn't want it.
2814 if test x
$with_system_zlib = xyes
; then
2815 use_included_zlib
=no
2816 noconfigdirs
="$noconfigdirs zlib"
2819 # some tools are so dependent upon X11 that if we're not building with X,
2820 # it's not even worth trying to configure, much less build, that tool.
2823 yes |
"") ;; # the default value for this tree is that X11 is available
2825 skipdirs
="${skipdirs} tk itcl libgui"
2826 # We won't be able to build gdbtk without X.
2829 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2832 # Some tools are only suitable for building in a "native" situation.
2833 # Remove these if host!=target.
2834 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2836 # Similarly, some are only suitable for cross toolchains.
2837 # Remove these if host=target.
2838 cross_only
="target-libgloss target-newlib target-opcodes"
2840 case $is_cross_compiler in
2841 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2842 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2845 # If both --with-headers and --with-libs are specified, default to
2847 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2848 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2849 if test x
"${with_newlib}" = x
; then
2854 # Recognize --with-newlib/--without-newlib.
2855 case ${with_newlib} in
2856 no
) skipdirs
="${skipdirs} target-newlib" ;;
2857 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2860 # Handle --enable-gold, --enable-ld.
2861 # --disable-gold [--enable-ld]
2862 # Build only ld. Default option.
2863 # --enable-gold [--enable-ld]
2864 # Build both gold and ld. Install gold as "ld.gold", install ld
2865 # as "ld.bfd" and "ld".
2866 # --enable-gold=default [--enable-ld]
2867 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2868 # install ld as "ld.bfd".
2869 # --enable-gold[=default] --disable-ld
2870 # Build only gold, which is then installed as both "ld.gold" and "ld".
2871 # --enable-gold --enable-ld=default
2872 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2874 # In other words, ld is default
2875 # --enable-gold=default --enable-ld=default
2879 # Check whether --enable-gold was given.
2880 if test "${enable_gold+set}" = set; then :
2881 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2886 case "${ENABLE_GOLD}" in
2888 # Check for ELF target.
2891 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2892 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2893 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2895 *-*-linux*aout
* |
*-*-linux*oldld
*)
2903 if test "$is_elf" = "yes"; then
2904 # Check for target supported by gold.
2906 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2907 configdirs
="$configdirs gold"
2908 if test x
${ENABLE_GOLD} = xdefault
; then
2919 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2923 # Check whether --enable-ld was given.
2924 if test "${enable_ld+set}" = set; then :
2925 enableval
=$enable_ld; ENABLE_LD
=$enableval
2931 case "${ENABLE_LD}" in
2933 if test x
${default_ld} != x
; then
2934 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2940 if test x
${ENABLE_GOLD} != xyes
; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2942 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2944 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2947 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2951 # Configure extra directories which are host specific
2955 configdirs
="$configdirs libtermcap" ;;
2958 # A target can indicate whether a language isn't supported for some reason.
2959 # Only spaces may be used in this macro; not newlines or tabs.
2960 unsupported_languages
=
2962 # Remove more programs from consideration, based on the host or
2963 # target this usually means that a port of the program doesn't
2968 noconfigdirs
="$noconfigdirs byacc"
2970 i
[3456789]86-*-vsta)
2971 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2973 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2974 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2977 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2979 i
[3456789]86-*-mingw32*)
2980 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2981 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2983 i
[3456789]86-*-beos*)
2984 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2987 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2990 noconfigdirs
="$noconfigdirs rcs"
2993 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2996 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
3001 # Check whether --enable-libquadmath was given.
3002 if test "${enable_libquadmath+set}" = set; then :
3003 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3005 ENABLE_LIBQUADMATH
=yes
3008 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3009 noconfigdirs
="$noconfigdirs target-libquadmath"
3013 # Check whether --enable-libquadmath-support was given.
3014 if test "${enable_libquadmath_support+set}" = set; then :
3015 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3017 ENABLE_LIBQUADMATH_SUPPORT
=yes
3020 enable_libquadmath_support
=
3021 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3022 enable_libquadmath_support
=no
3026 # Check whether --enable-libada was given.
3027 if test "${enable_libada+set}" = set; then :
3028 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3033 if test "${ENABLE_LIBADA}" != "yes" ; then
3034 noconfigdirs
="$noconfigdirs gnattools"
3037 # Check whether --enable-libssp was given.
3038 if test "${enable_libssp+set}" = set; then :
3039 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3045 # Save it here so that, even in case of --enable-libgcj, if the Java
3046 # front-end isn't enabled, we still get libgcj disabled.
3047 libgcj_saved
=$libgcj
3048 case $enable_libgcj in
3050 # If we reset it here, it won't get added to noconfigdirs in the
3051 # target-specific build rules, so it will be forcibly enabled
3052 # (unless the Java language itself isn't enabled).
3056 # Make sure we get it printed in the list of not supported target libs.
3057 # Don't disable libffi, though, other languages use it.
3058 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3059 # Clear libgcj_saved so that even if java is enabled libffi won't be
3066 # Disable libmudflap on some systems.
3067 if test x
$enable_libmudflap = x
; then
3069 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3070 # Enable libmudflap by default in GNU and friends.
3073 # Enable libmudflap by default in FreeBSD.
3076 # Disable it by default everywhere else.
3077 noconfigdirs
="$noconfigdirs target-libmudflap"
3082 # Disable libgomp on non POSIX hosted systems.
3083 if test x
$enable_libgomp = x
; then
3084 # Enable libgomp by default on hosted POSIX systems.
3086 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3088 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3090 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3092 *-*-darwin* |
*-*-aix*)
3095 noconfigdirs
="$noconfigdirs target-libgomp"
3100 # Default libgloss CPU subdirectory.
3101 libgloss_dir
="$target_cpu"
3105 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3108 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3109 noconfigdirs
="$noconfigdirs sim target-rda"
3111 i
[3456789]86-*-darwin*)
3112 noconfigdirs
="$noconfigdirs ld gprof"
3113 noconfigdirs
="$noconfigdirs sim target-rda"
3115 x86_64-
*-darwin[912]*)
3116 noconfigdirs
="$noconfigdirs ld gas gprof"
3117 noconfigdirs
="$noconfigdirs sim target-rda"
3120 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3121 noconfigdirs
="$noconfigdirs sim target-rda"
3122 noconfigdirs
="$noconfigdirs ${libgcj}"
3124 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3125 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3128 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3129 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3130 && test -f /usr
/local
/include
/gmp.h
; then
3134 # Skip some stuff that's unsupported on some FreeBSD configurations.
3140 noconfigdirs
="$noconfigdirs ${libgcj}"
3145 # Remove unsupported stuff on all kaOS configurations.
3146 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3147 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3148 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3149 noconfigdirs
="$noconfigdirs target-libgloss"
3152 # Skip some stuff on all NetBSD configurations.
3153 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3155 # Skip some stuff that's unsupported on some NetBSD configurations.
3157 i
*86-*-netbsdelf*) ;;
3158 arm
*-*-netbsdelf*) ;;
3160 noconfigdirs
="$noconfigdirs ${libgcj}"
3165 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3168 skipdirs
="${skipdirs} target-libiberty"
3169 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3171 # The tpf target doesn't support gdb yet.
3173 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3176 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3179 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3182 # ld works, but does not support shared libraries.
3183 # newlib is not 64 bit ready. I'm not sure about fileutils.
3184 # gas doesn't generate exception information.
3185 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3188 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3191 # newlib is not 64 bit ready
3192 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3195 # newlib is not 64 bit ready
3196 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3199 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3202 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3204 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3205 noconfigdirs
="$noconfigdirs ${libgcj}"
3206 noconfigdirs
="$noconfigdirs target-examples"
3207 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3208 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3209 noconfigdirs
="$noconfigdirs expect dejagnu"
3210 # the C++ libraries don't build on top of CE's C libraries
3211 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3212 noconfigdirs
="$noconfigdirs target-newlib"
3214 *-*-cygwin*) ;; # keep gdb and readline
3215 *) noconfigdirs
="$noconfigdirs gdb readline"
3221 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3225 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3226 noconfigdirs
="$noconfigdirs ${libgcj}"
3229 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3230 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3233 arm
*-*-linux-gnueabi)
3234 noconfigdirs
="$noconfigdirs target-qthreads"
3235 case ${with_newlib} in
3236 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3241 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3245 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3248 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3251 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3254 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3257 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3260 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3263 unsupported_languages
="$unsupported_languages java"
3264 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3265 if test x
${is_cross_compiler} != xno
; then
3266 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3269 c4x-
*-* | tic4x-
*-*)
3270 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3272 c54x
*-*-* | tic54x-
*-*)
3273 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3276 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3278 cris-
*-* | crisv32-
*-*)
3279 unsupported_languages
="$unsupported_languages java"
3282 unsupported_languages
="$unsupported_languages fortran"
3283 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3284 *-*-elf) # See PR46792 regarding target-libffi.
3285 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3287 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3289 unsupported_languages
="$unsupported_languages fortran"
3290 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3295 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3298 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3301 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3303 ep9312-
*-elf | ep9312-
*-coff)
3307 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3310 noconfigdirs
="$noconfigdirs ${libgcj}"
3313 noconfigdirs
="$noconfigdirs ${libgcj}"
3314 noconfigdirs
="$noconfigdirs gprof"
3317 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3320 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3322 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3324 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3325 # In this case, it's because the hppa64-linux target is for
3326 # the kernel only at this point and has no libc, and thus no
3327 # headers, crt*.o, etc., all of which are needed by these.
3328 noconfigdirs
="$noconfigdirs target-zlib"
3330 parisc
*-*-linux* | hppa
*-*-linux*)
3334 hppa
*-*-openbsd* | \
3336 noconfigdirs
="$noconfigdirs ${libgcj}"
3339 noconfigdirs
="$noconfigdirs ld shellutils"
3345 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3346 # build on HP-UX 10.20.
3347 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3350 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3353 # No gdb support yet.
3354 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3357 # No gdb or ld support yet.
3358 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3361 # No gdb or ld support yet.
3362 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3366 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3367 noconfigdirs
="$noconfigdirs ${libgcj}"
3370 i
[3456789]86-*-linux*)
3371 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3372 # not build java stuff by default.
3375 noconfigdirs
="$noconfigdirs ${libgcj}";;
3378 # This section makes it possible to build newlib natively on linux.
3379 # If we are using a cross compiler then don't configure newlib.
3380 if test x
${is_cross_compiler} != xno
; then
3381 noconfigdirs
="$noconfigdirs target-newlib"
3383 noconfigdirs
="$noconfigdirs target-libgloss"
3384 # If we are not using a cross compiler, do configure newlib.
3385 # Note however, that newlib will only be configured in this situation
3386 # if the --with-newlib option has been given, because otherwise
3387 # 'target-newlib' will appear in skipdirs.
3389 i
[3456789]86-w64-mingw*)
3390 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3392 i
[3456789]86-*-mingw*)
3393 target_configdirs
="$target_configdirs target-winsup"
3394 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3397 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3400 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3401 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3402 # always build newlib if winsup directory is present.
3403 if test -d "$srcdir/winsup/cygwin"; then
3404 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3405 elif test -d "$srcdir/newlib"; then
3406 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3409 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3410 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3413 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3415 i
[3456789]86-*-sco3.2v5
*)
3416 # The linker does not yet know about weak symbols in COFF,
3417 # and is not configured to handle mixed ELF and COFF.
3418 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3420 i
[3456789]86-*-sco*)
3421 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3423 i
[3456789]86-*-solaris2*)
3424 noconfigdirs
="$noconfigdirs target-libgloss"
3426 i
[3456789]86-*-sysv4*)
3427 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3429 i
[3456789]86-*-beos*)
3430 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3432 i
[3456789]86-*-rdos*)
3433 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3436 noconfigdirs
="$noconfigdirs ${libgcj}"
3438 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3439 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3440 libgloss_dir
=m68hc11
3443 noconfigdirs
="$noconfigdirs ${libgcj}"
3446 noconfigdirs
="$noconfigdirs ${libgcj}"
3448 m68
*-*-* | fido-
*-*)
3452 # The EPOC C++ environment does not support exceptions or rtti,
3453 # and so building libstdc++-v3 tends not to always work.
3454 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3457 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3458 unsupported_languages
="$unsupported_languages fortran java"
3461 noconfigdirs
="$noconfigdirs ${libgcj}"
3464 noconfigdirs
="$noconfigdirs ${libgcj}"
3467 noconfigdirs
="$noconfigdirs sim"
3470 # copied from rs6000-*-* entry
3471 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3473 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3474 target_configdirs
="$target_configdirs target-winsup"
3475 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3476 # always build newlib.
3477 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3479 # This is temporary until we can link against shared libraries
3480 powerpcle-
*-solaris*)
3481 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3485 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3488 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3495 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3498 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3501 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3504 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3507 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3510 skipdirs
="$skipdirs target-libiberty"
3511 noconfigdirs
="$noconfigdirs ${libgcj}"
3512 if test x
$with_newlib = xyes
; then
3513 noconfigdirs
="$noconfigdirs gprof"
3518 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3521 # Linking libjava exceeds command-line length limits on at least
3522 # IRIX 6.2, but not on IRIX 6.5.
3523 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3524 # <oldham@codesourcery.com>
3525 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3528 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3534 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3538 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3542 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3543 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3544 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3545 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3549 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3551 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3554 sparclet-
*-aout* | sparc86x-
*-*)
3558 noconfigdirs
="$noconfigdirs ${libgcj}"
3561 noconfigdirs
="$noconfigdirs ${libgcj}"
3565 noconfigdirs
="$noconfigdirs ${libgcj}"
3569 noconfigdirs
="$noconfigdirs ${libgcj}"
3570 if test x
${is_cross_compiler} != xno
; then
3571 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3576 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3577 noconfigdirs
="$noconfigdirs ${libgcj}"
3579 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3582 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3585 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3588 noconfigdirs
="$noconfigdirs ${libgcj}"
3591 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3597 noconfigdirs
="$noconfigdirs ${libgcj}"
3600 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3602 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3609 noconfigdirs
="$noconfigdirs ${libgcj}"
3613 # If we aren't building newlib, then don't build libgloss, since libgloss
3614 # depends upon some newlib header files.
3615 case "${noconfigdirs}" in
3616 *target-libgloss
*) ;;
3617 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3620 # Work in distributions that contain no compiler tools, like Autoconf.
3622 host_makefile_frag
=/dev
/null
3623 if test -d ${srcdir}/config
; then
3626 # Avoid "too much defining" errors from HPUX compiler.
3627 tentative_cc
="cc -Wp,-H256000"
3628 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3629 # If it's HP/UX ar, this should be harmless.
3633 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3636 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3637 # chokes on bfd, the compiler won't let you assign integers to enums, and
3638 # other problems. Defining CC to gcc is a questionable way to say "don't use
3639 # the apollo compiler" (the preferred version of GCC could be called cc,
3640 # or whatever), but I'm not sure leaving CC as cc is any better...
3641 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3642 # Used to have BISON=yacc.
3646 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3649 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3650 tentative_cc
="cc -Xa"
3651 host_makefile_frag
="config/mh-cxux"
3653 m88k-motorola-sysv
*)
3656 tentative_cc
="cc -Wf,-XNg1000"
3657 host_makefile_frag
="config/mh-decstation"
3660 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3661 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3662 host_makefile_frag
="config/mh-necv4"
3665 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3666 # environment. Also bump switch table size so that cp-parse will
3667 # compile. Bump string length limit so linker builds.
3668 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3671 host_makefile_frag
="config/mh-sysv4"
3674 # This is for a MIPS running RISC/os 4.52C.
3676 # This is needed for GDB, but needs to be in the top-level make because
3677 # if a library is compiled with the bsd headers and gets linked with the
3678 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3679 # a different size).
3680 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3681 # known except to select the sysv environment. Could we use /proc instead?
3682 # These "sysv environments" and "bsd environments" often end up being a pain.
3684 # This is not part of CFLAGS because perhaps not all C compilers have this
3686 tentative_cc
="cc -systype sysv"
3691 i
[3456789]86-*-sysv5*)
3692 host_makefile_frag
="config/mh-sysv5"
3694 i
[3456789]86-*-dgux*)
3695 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3696 host_makefile_frag
="config/mh-dgux386"
3698 i
[3456789]86-ncr-sysv4.3
*)
3699 # The MetaWare compiler will generate a copyright message unless you
3700 # turn it off by adding the -Hnocopyr flag.
3701 tentative_cc
="cc -Hnocopyr"
3703 i
[3456789]86-ncr-sysv4*)
3704 # for an NCR 3000 (i486/SVR4) system.
3705 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3706 # This compiler not only emits obnoxious copyright messages every time
3707 # you run it, but it chokes and dies on a whole bunch of GNU source
3708 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3709 tentative_cc
="/usr/ccs/ATT/cc"
3710 host_makefile_frag
="config/mh-ncr3000"
3712 i
[3456789]86-*-sco3.2v5
*)
3714 i
[3456789]86-*-sco*)
3715 # The native C compiler botches some simple uses of const. Unfortunately,
3716 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3717 tentative_cc
="cc -Dconst="
3718 host_makefile_frag
="config/mh-sco"
3720 i
[3456789]86-*-udk*)
3721 host_makefile_frag
="config/mh-sysv5"
3723 i
[3456789]86-*-solaris2*)
3724 host_makefile_frag
="config/mh-sysv4"
3726 i
[3456789]86-*-msdosdjgpp*)
3727 host_makefile_frag
="config/mh-djgpp"
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3732 $as_echo_n "checking to see if cat works as expected... " >&6; }
3733 echo a
>cygwin-cat-check
3734 if test `cat cygwin-cat-check` = a
; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3737 $as_echo "yes" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 as_fn_error
"The cat command does not ignore carriage return characters.
3743 Please either mount the build directory in binary mode or run the following
3744 commands before running any configure script:
3750 host_makefile_frag
="config/mh-cygwin"
3753 host_makefile_frag
="config/mh-mingw"
3756 host_makefile_frag
="config/mh-interix"
3759 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3763 host_makefile_frag
="config/mh-solaris"
3766 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3767 # without overflowing the jump tables (-J says to use a 32 bit table)
3768 tentative_cc
="cc -J"
3771 tentative_cc
="cc -Wp,-H256000"
3772 host_makefile_frag
="config/mh-pa-hpux10"
3774 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3775 tentative_cc
="cc -Wp,-H256000"
3776 host_makefile_frag
="config/mh-pa"
3779 host_makefile_frag
="config/mh-pa"
3781 *-hp-hpux* |
*-*-hiux*)
3782 tentative_cc
="cc -Wp,-H256000"
3785 # /bin/cc is less than useful for our purposes. Always use GCC
3786 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3787 host_makefile_frag
="config/mh-lynxrs6k"
3790 host_makefile_frag
="config/mh-darwin"
3793 host_makefile_frag
="config/mh-ppc-aix"
3796 host_makefile_frag
="config/mh-ppc-aix"
3799 # /bin/cc is less than useful for our purposes. Always use GCC
3800 tentative_cc
="/bin/gcc"
3803 host_makefile_frag
="config/mh-sysv4"
3805 # This is placed last to prevent interfering with the cases above.
3807 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3808 host_makefile_frag
="config/mh-x86omitfp"
3813 # If we aren't going to be using gcc, see if we can extract a definition
3814 # of CC from the fragment.
3815 # Actually, use the 'pre-extracted' version above.
3816 if test -z "${CC}" && test "${build}" = "${host}" ; then
3817 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3819 for dir
in $PATH; do
3820 test -z "$dir" && dir
=.
3821 if test -f $dir/gcc
; then
3827 if test -z "${found}" && test -n "${tentative_cc}" ; then
3832 if test "${build}" != "${host}" ; then
3833 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3834 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3835 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3836 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3837 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3838 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3839 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3840 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3841 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3842 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3843 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3844 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3845 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3847 AR_FOR_BUILD
="\$(AR)"
3848 AS_FOR_BUILD
="\$(AS)"
3849 CC_FOR_BUILD
="\$(CC)"
3850 CXX_FOR_BUILD
="\$(CXX)"
3851 GCJ_FOR_BUILD
="\$(GCJ)"
3852 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3853 GOC_FOR_BUILD
="\$(GOC)"
3854 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3855 LD_FOR_BUILD
="\$(LD)"
3856 NM_FOR_BUILD
="\$(NM)"
3857 RANLIB_FOR_BUILD
="\$(RANLIB)"
3858 WINDRES_FOR_BUILD
="\$(WINDRES)"
3859 WINDMC_FOR_BUILD
="\$(WINDMC)"
3863 ac_cpp
='$CPP $CPPFLAGS'
3864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3867 if test -n "$ac_tool_prefix"; then
3868 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3869 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$CC"; then
3876 ac_cv_prog_CC
="$CC" # Let the user override the test.
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_exec_ext
in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 if test -n "$CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3898 $as_echo "$CC" >&6; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3906 if test -z "$ac_cv_prog_CC"; then
3908 # Extract the first word of "gcc", so it can be a program name with args.
3909 set dummy gcc
; ac_word
=$2
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3911 $as_echo_n "checking for $ac_word... " >&6; }
3912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 if test -n "$ac_ct_CC"; then
3916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925 ac_cv_prog_ac_ct_CC
="gcc"
3926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3936 if test -n "$ac_ct_CC"; then
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3938 $as_echo "$ac_ct_CC" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3941 $as_echo "no" >&6; }
3944 if test "x$ac_ct_CC" = x
; then
3947 case $cross_compiling:$ac_tool_warned in
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3951 ac_tool_warned
=yes ;;
3959 if test -z "$CC"; then
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3962 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if test "${ac_cv_prog_CC+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$CC"; then
3969 ac_cv_prog_CC
="$CC" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
4000 if test -z "$CC"; then
4001 # Extract the first word of "cc", so it can be a program name with args.
4002 set dummy cc
; ac_word
=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if test "${ac_cv_prog_CC+set}" = set; then :
4006 $as_echo_n "(cached) " >&6
4008 if test -n "$CC"; then
4009 ac_cv_prog_CC
="$CC" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4020 ac_prog_rejected
=yes
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 if test $ac_prog_rejected = yes; then
4032 # We found a bogon in the path, so make sure we never use it.
4033 set dummy
$ac_cv_prog_CC
4035 if test $# != 0; then
4036 # We chose a different compiler from the bogus one.
4037 # However, it has the same basename, so the bogon will be chosen
4038 # first if we set CC to just the basename; use the full file name.
4040 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4046 if test -n "$CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4048 $as_echo "$CC" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4056 if test -z "$CC"; then
4057 if test -n "$ac_tool_prefix"; then
4058 for ac_prog
in cl.exe
4060 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4061 set dummy
$ac_tool_prefix$ac_prog; 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$ac_prog"
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; }
4097 test -n "$CC" && break
4100 if test -z "$CC"; then
4102 for ac_prog
in cl.exe
4104 # Extract the first word of "$ac_prog", so it can be a program name with args.
4105 set dummy
$ac_prog; ac_word
=$2
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4107 $as_echo_n "checking for $ac_word... " >&6; }
4108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -n "$ac_ct_CC"; then
4112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4118 test -z "$as_dir" && as_dir
=.
4119 for ac_exec_ext
in '' $ac_executable_extensions; do
4120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4121 ac_cv_prog_ac_ct_CC
="$ac_prog"
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4132 if test -n "$ac_ct_CC"; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4134 $as_echo "$ac_ct_CC" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4141 test -n "$ac_ct_CC" && break
4144 if test "x$ac_ct_CC" = x
; then
4147 case $cross_compiling:$ac_tool_warned in
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4151 ac_tool_warned
=yes ;;
4160 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error
"no acceptable C compiler found in \$PATH
4163 See \`config.log' for more details." "$LINENO" 5; }
4165 # Provide some information about the compiler.
4166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4169 for ac_option
in --version -v -V -qversion; do
4170 { { ac_try
="$ac_compiler $ac_option >&5"
4172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4179 if test -s conftest.err; then
4181 ... rest of stderr output deleted ...
4182 10q' conftest.err >conftest.er1
4183 cat conftest.er1 >&5
4184 rm -f conftest.er1 conftest.err
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4201 ac_clean_files_save=$ac_clean_files
4202 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4203 # Try to create an executable without -o first, disregard a.out.
4204 # It will help us diagnose broken compilers, and finding out an intuition
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4207 $as_echo_n "checking for C compiler default output file name... " >&6; }
4208 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4210 # The possible output files:
4211 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4214 for ac_file in $ac_files
4217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4218 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4223 if { { ac_try="$ac_link_default"
4225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4226 *) ac_try_echo
=$ac_try;;
4228 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4229 $as_echo "$ac_try_echo"; } >&5
4230 (eval "$ac_link_default") 2>&5
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }; then :
4234 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4235 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4236 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4237 # so that the user can short-circuit this test for compilers unknown to
4239 for ac_file
in $ac_files ''
4241 test -f "$ac_file" ||
continue
4243 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4246 # We found the default executable, but exeext='' is most
4250 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4252 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4254 # We set ac_cv_exeext here because the later test for it is not
4255 # safe: cross compilers may not add the suffix if given an `-o'
4256 # argument, so we may need to know it at that point already.
4257 # Even if this section looks crufty: it has the advantage of
4264 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4270 $as_echo "$ac_file" >&6; }
4271 if test -z "$ac_file"; then :
4272 $as_echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4277 { as_fn_set_status
77
4278 as_fn_error
"C compiler cannot create executables
4279 See \`config.log' for more details." "$LINENO" 5; }; }
4281 ac_exeext
=$ac_cv_exeext
4283 # Check that the compiler produces executables we can run. If not, either
4284 # the compiler is broken, or we cross compile.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 # If not cross compiling, check that we can run a simple program.
4288 if test "$cross_compiling" != yes; then
4289 if { ac_try
='./$ac_file'
4290 { { case "(($ac_try" in
4291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 $as_echo "$ac_try_echo"; } >&5
4296 (eval "$ac_try") 2>&5
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }; }; then
4302 if test "$cross_compiling" = maybe; then
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error "cannot run C compiled programs.
4308 If you meant to cross compile
, use \
`--host'.
4309 See \`config.log
' for more details." "$LINENO" 5; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4314 $as_echo "yes" >&6; }
4316 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4317 ac_clean_files=$ac_clean_files_save
4318 # Check that the compiler produces executables we can run. If not, either
4319 # the compiler is broken, or we cross compile.
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4321 $as_echo_n "checking whether we are cross compiling... " >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4323 $as_echo "$cross_compiling" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4326 $as_echo_n "checking for suffix of executables... " >&6; }
4327 if { { ac_try="$ac_link"
4329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4333 $as_echo "$ac_try_echo"; } >&5
4334 (eval "$ac_link") 2>&5
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }; then :
4338 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4339 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4340 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4342 for ac_file
in conftest.exe conftest conftest.
*; do
4343 test -f "$ac_file" ||
continue
4345 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4346 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4354 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4355 See \`config.log' for more details." "$LINENO" 5; }
4357 rm -f conftest
$ac_cv_exeext
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4359 $as_echo "$ac_cv_exeext" >&6; }
4361 rm -f conftest.
$ac_ext
4362 EXEEXT
=$ac_cv_exeext
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4365 $as_echo_n "checking for suffix of object files... " >&6; }
4366 if test "${ac_cv_objext+set}" = set; then :
4367 $as_echo_n "(cached) " >&6
4369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4380 rm -f conftest.o conftest.obj
4381 if { { ac_try
="$ac_compile"
4383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_compile") 2>&5
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 for ac_file in conftest.o conftest.obj conftest.*; do
4393 test -f "$ac_file" || continue;
4395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4396 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4401 $as_echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
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 compute suffix of object files
: cannot compile
4407 See \
`config.log' for more details." "$LINENO" 5; }
4409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4412 $as_echo "$ac_cv_objext" >&6; }
4413 OBJEXT=$ac_cv_objext
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4417 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4434 if ac_fn_c_try_compile "$LINENO"; then :
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4444 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4445 if test $ac_compiler_gnu = yes; then
4450 ac_test_CFLAGS=${CFLAGS+set}
4451 ac_save_CFLAGS=$CFLAGS
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4453 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4454 if test "${ac_cv_prog_cc_g+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4457 ac_save_c_werror_flag=$ac_c_werror_flag
4458 ac_c_werror_flag=yes
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4472 if ac_fn_c_try_compile "$LINENO"; then :
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4487 if ac_fn_c_try_compile "$LINENO"; then :
4490 ac_c_werror_flag=$ac_save_c_werror_flag
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_c_try_compile "$LINENO"; then :
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4514 $as_echo "$ac_cv_prog_cc_g" >&6; }
4515 if test "$ac_test_CFLAGS" = set; then
4516 CFLAGS=$ac_save_CFLAGS
4517 elif test $ac_cv_prog_cc_g = yes; then
4518 if test "$GCC" = yes; then
4524 if test "$GCC" = yes; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4532 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 ac_cv_prog_cc_c89=no
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4541 #include <sys/types.h>
4542 #include <sys/stat.h>
4543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4544 struct buf { int x; };
4545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4546 static char *e (p, i)
4552 static char *f (char * (*g) (char **, int), char **p, ...)
4557 s = g (p, va_arg (v,int));
4562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4563 function prototypes and stuff, but not '\xHH' hex character constants.
4564 These don't provoke an error unfortunately, instead are silently treated
4565 as 'x'. The following induces an error, until -std is added to get
4566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4567 array size at least. It's necessary to write '\x00'==0 to get something
4568 that's true only with -std. */
4569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4572 inside strings and character constants. */
4574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4576 int test (int i, double x);
4577 struct s1 {int (*f) (int a);};
4578 struct s2 {int (*f) (double a);};
4579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4593 CC="$ac_save_CC $ac_arg"
4594 if ac_fn_c_try_compile "$LINENO"; then :
4595 ac_cv_prog_cc_c89=$ac_arg
4597 rm -f core conftest.err conftest.$ac_objext
4598 test "x$ac_cv_prog_cc_c89" != "xno" && break
4600 rm -f conftest.$ac_ext
4605 case "x$ac_cv_prog_cc_c89" in
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4608 $as_echo "none needed" >&6; } ;;
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4611 $as_echo "unsupported" >&6; } ;;
4613 CC="$CC $ac_cv_prog_cc_c89"
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4615 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4617 if test "x$ac_cv_prog_cc_c89" != xno; then :
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 ac_cpp='$CXXCPP $CPPFLAGS'
4629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4632 if test -z "$CXX"; then
4633 if test -n "$CCC"; then
4636 if test -n "$ac_tool_prefix"; then
4637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if test "${ac_cv_prog_CXX+set}" = set; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$CXX"; then
4647 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 if test -n "$CXX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4669 $as_echo "$CXX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$CXX" && break
4679 if test -z "$CXX"; then
4681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 # Extract the first word of "$ac_prog", so it can be a program name with args.
4684 set dummy $ac_prog; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$ac_ct_CXX"; then
4691 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700 ac_cv_prog_ac_ct_CXX="$ac_prog"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4711 if test -n "$ac_ct_CXX"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4713 $as_echo "$ac_ct_CXX" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 test -n "$ac_ct_CXX" && break
4723 if test "x$ac_ct_CXX" = x; then
4726 case $cross_compiling:$ac_tool_warned in
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4730 ac_tool_warned=yes ;;
4738 # Provide some information about the compiler.
4739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4742 for ac_option in --version -v -V -qversion; do
4743 { { ac_try="$ac_compiler $ac_option >&5"
4745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4746 *) ac_try_echo
=$ac_try;;
4748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4752 if test -s conftest.err
; then
4754 ... rest of stderr output deleted ...
4755 10q' conftest.err
>conftest.er1
4756 cat conftest.er1
>&5
4757 rm -f conftest.er1 conftest.err
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4764 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4765 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4788 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4792 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4793 if test $ac_compiler_gnu = yes; then
4798 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4799 ac_save_CXXFLAGS
=$CXXFLAGS
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4801 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4802 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4806 ac_cxx_werror_flag
=yes
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4820 if ac_fn_cxx_try_compile
"$LINENO"; then :
4821 ac_cv_prog_cxx_g
=yes
4824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4835 if ac_fn_cxx_try_compile
"$LINENO"; then :
4838 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4851 if ac_fn_cxx_try_compile
"$LINENO"; then :
4852 ac_cv_prog_cxx_g
=yes
4854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4862 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4863 if test "$ac_test_CXXFLAGS" = set; then
4864 CXXFLAGS
=$ac_save_CXXFLAGS
4865 elif test $ac_cv_prog_cxx_g = yes; then
4866 if test "$GXX" = yes; then
4872 if test "$GXX" = yes; then
4879 ac_cpp
='$CPP $CPPFLAGS'
4880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4885 # We must set the default linker to the linker used by gcc for the correct
4886 # operation of libtool. If LD is not defined and we are using gcc, try to
4887 # set the LD default to the ld used by gcc.
4888 if test -z "$LD"; then
4889 if test "$GCC" = yes; then
4892 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4894 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4896 case $gcc_prog_ld in
4897 # Accept absolute paths.
4898 [\\/]* |
[A-Za-z
]:[\\/]*)
4899 LD
="$gcc_prog_ld" ;;
4907 if test -n "$ac_tool_prefix"; then
4908 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4909 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$GNATBIND"; then
4916 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir
=.
4923 for ac_exec_ext
in '' $ac_executable_extensions; do
4924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 GNATBIND
=$ac_cv_prog_GNATBIND
4936 if test -n "$GNATBIND"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4938 $as_echo "$GNATBIND" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4946 if test -z "$ac_cv_prog_GNATBIND"; then
4947 ac_ct_GNATBIND
=$GNATBIND
4948 # Extract the first word of "gnatbind", so it can be a program name with args.
4949 set dummy gnatbind
; ac_word
=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4955 if test -n "$ac_ct_GNATBIND"; then
4956 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir
=.
4963 for ac_exec_ext
in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4976 if test -n "$ac_ct_GNATBIND"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4978 $as_echo "$ac_ct_GNATBIND" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4984 if test "x$ac_ct_GNATBIND" = x
; then
4987 case $cross_compiling:$ac_tool_warned in
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned
=yes ;;
4993 GNATBIND
=$ac_ct_GNATBIND
4996 GNATBIND
="$ac_cv_prog_GNATBIND"
4999 if test -n "$ac_tool_prefix"; then
5000 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5001 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$GNATMAKE"; then
5008 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 GNATMAKE
=$ac_cv_prog_GNATMAKE
5028 if test -n "$GNATMAKE"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5030 $as_echo "$GNATMAKE" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5038 if test -z "$ac_cv_prog_GNATMAKE"; then
5039 ac_ct_GNATMAKE
=$GNATMAKE
5040 # Extract the first word of "gnatmake", so it can be a program name with args.
5041 set dummy gnatmake
; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$ac_ct_GNATMAKE"; then
5048 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5068 if test -n "$ac_ct_GNATMAKE"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5070 $as_echo "$ac_ct_GNATMAKE" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5076 if test "x$ac_ct_GNATMAKE" = x
; then
5079 case $cross_compiling:$ac_tool_warned in
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned
=yes ;;
5085 GNATMAKE
=$ac_ct_GNATMAKE
5088 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5092 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5093 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 cat >conftest.adb
<<EOF
5097 procedure conftest is begin null; end conftest;
5099 acx_cv_cc_gcc_supports_ada
=no
5100 # There is a bug in old released versions of GCC which causes the
5101 # driver to exit successfully when the appropriate language module
5102 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5103 # Therefore we must check for the error message as well as an
5104 # unsuccessful exit.
5105 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5106 # given a .adb file, but produce no object file. So we must check
5107 # if an object file was really produced to guard against this.
5108 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5109 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5110 acx_cv_cc_gcc_supports_ada
=yes
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5115 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5117 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5124 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5125 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5130 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5131 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5132 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5135 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5138 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5139 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5142 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5149 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5150 do_compare
="$gcc_cv_prog_cmp_skip"
5154 # See if we are building gcc with C++.
5155 # Check whether --enable-build-with-cxx was given.
5156 if test "${enable_build_with_cxx+set}" = set; then :
5157 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5159 ENABLE_BUILD_WITH_CXX
=no
5163 # Used for setting $lt_cv_objdir
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5165 $as_echo_n "checking for objdir... " >&6; }
5166 if test "${lt_cv_objdir+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
5169 rm -f .libs
2>/dev
/null
5170 mkdir .libs
2>/dev
/null
5171 if test -d .libs
; then
5174 # MS-DOS does not allow filenames that begin with a dot.
5177 rmdir .libs
2>/dev
/null
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5180 $as_echo "$lt_cv_objdir" >&6; }
5181 objdir
=$lt_cv_objdir
5187 cat >>confdefs.h
<<_ACEOF
5188 #define LT_OBJDIR "$lt_cv_objdir/"
5193 # Check for GMP, MPFR and MPC
5194 gmplibs
="-lmpc -lmpfr -lgmp"
5198 # Specify a location for mpc
5199 # check for this first so it ends up on the link line before mpfr.
5201 # Check whether --with-mpc was given.
5202 if test "${with_mpc+set}" = set; then :
5207 # Check whether --with-mpc-include was given.
5208 if test "${with_mpc_include+set}" = set; then :
5209 withval
=$with_mpc_include;
5213 # Check whether --with-mpc-lib was given.
5214 if test "${with_mpc_lib+set}" = set; then :
5215 withval
=$with_mpc_lib;
5219 if test "x$with_mpc" != x
; then
5220 gmplibs
="-L$with_mpc/lib $gmplibs"
5221 gmpinc
="-I$with_mpc/include $gmpinc"
5223 if test "x$with_mpc_include" != x
; then
5224 gmpinc
="-I$with_mpc_include $gmpinc"
5226 if test "x$with_mpc_lib" != x
; then
5227 gmplibs
="-L$with_mpc_lib $gmplibs"
5229 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5230 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5231 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5232 # Do not test the mpc version. Assume that it is sufficient, since
5233 # it is in the source tree, and the library has not been built yet
5234 # but it would be included on the link line in the version check below
5235 # hence making the test fail.
5239 # Specify a location for mpfr
5240 # check for this first so it ends up on the link line before gmp.
5242 # Check whether --with-mpfr-dir was given.
5243 if test "${with_mpfr_dir+set}" = set; then :
5244 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5245 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5250 # Check whether --with-mpfr was given.
5251 if test "${with_mpfr+set}" = set; then :
5256 # Check whether --with-mpfr-include was given.
5257 if test "${with_mpfr_include+set}" = set; then :
5258 withval
=$with_mpfr_include;
5262 # Check whether --with-mpfr-lib was given.
5263 if test "${with_mpfr_lib+set}" = set; then :
5264 withval
=$with_mpfr_lib;
5268 if test "x$with_mpfr" != x
; then
5269 gmplibs
="-L$with_mpfr/lib $gmplibs"
5270 gmpinc
="-I$with_mpfr/include $gmpinc"
5272 if test "x$with_mpfr_include" != x
; then
5273 gmpinc
="-I$with_mpfr_include $gmpinc"
5275 if test "x$with_mpfr_lib" != x
; then
5276 gmplibs
="-L$with_mpfr_lib $gmplibs"
5278 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5279 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5280 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5281 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5282 # Do not test the mpfr version. Assume that it is sufficient, since
5283 # it is in the source tree, and the library has not been built yet
5284 # but it would be included on the link line in the version check below
5285 # hence making the test fail.
5289 # Specify a location for gmp
5291 # Check whether --with-gmp-dir was given.
5292 if test "${with_gmp_dir+set}" = set; then :
5293 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5294 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5299 # Check whether --with-gmp was given.
5300 if test "${with_gmp+set}" = set; then :
5305 # Check whether --with-gmp-include was given.
5306 if test "${with_gmp_include+set}" = set; then :
5307 withval
=$with_gmp_include;
5311 # Check whether --with-gmp-lib was given.
5312 if test "${with_gmp_lib+set}" = set; then :
5313 withval
=$with_gmp_lib;
5318 if test "x$with_gmp" != x
; then
5319 gmplibs
="-L$with_gmp/lib $gmplibs"
5320 gmpinc
="-I$with_gmp/include $gmpinc"
5322 if test "x$with_gmp_include" != x
; then
5323 gmpinc
="-I$with_gmp_include $gmpinc"
5325 if test "x$with_gmp_lib" != x
; then
5326 gmplibs
="-L$with_gmp_lib $gmplibs"
5328 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5329 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5330 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5331 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5332 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5333 # Do not test the gmp version. Assume that it is sufficient, since
5334 # it is in the source tree, and the library has not been built yet
5335 # but it would be included on the link line in the version check below
5336 # hence making the test fail.
5340 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5342 saved_CFLAGS
="$CFLAGS"
5343 CFLAGS
="$CFLAGS $gmpinc"
5344 # Check for the recommended and required versions of GMP.
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5346 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5355 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5356 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5357 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5365 if ac_fn_c_try_compile
"$LINENO"; then :
5366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5373 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5374 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5375 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5383 if ac_fn_c_try_compile
"$LINENO"; then :
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5385 $as_echo "yes" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5388 $as_echo "buggy but acceptable" >&6; }
5390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }; have_gmp
=no
5395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5397 # If we have GMP, check the MPFR version.
5398 if test x
"$have_gmp" = xyes
; then
5399 # Check for the recommended and required versions of MPFR.
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5401 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5410 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5418 if ac_fn_c_try_compile
"$LINENO"; then :
5419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5427 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5435 if ac_fn_c_try_compile
"$LINENO"; then :
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5437 $as_echo "yes" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5440 $as_echo "buggy but acceptable" >&6; }
5442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }; have_gmp
=no
5447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5450 # Check for the MPC header version.
5451 if test x
"$have_gmp" = xyes
; then
5452 # Check for the recommended and required versions of MPC.
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5454 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5462 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5470 if ac_fn_c_try_compile
"$LINENO"; then :
5471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5478 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5486 if ac_fn_c_try_compile
"$LINENO"; then :
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5488 $as_echo "yes" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5491 $as_echo "buggy but acceptable" >&6; }
5493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }; have_gmp
=no
5498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5501 # Now check the MPFR library.
5502 if test x
"$have_gmp" = xyes
; then
5504 LIBS
="$LIBS $gmplibs"
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5506 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5520 mpfr_atan2 (n, n, x, GMP_RNDN);
5521 mpfr_erfc (n, x, GMP_RNDN);
5522 mpfr_subnormalize (x, t, GMP_RNDN);
5526 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5527 mpc_cosh (c, c, MPC_RNDNN);
5528 mpc_pow (c, c, c, MPC_RNDNN);
5529 mpc_acosh (c, c, MPC_RNDNN);
5536 if ac_fn_c_try_link
"$LINENO"; then :
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5538 $as_echo "yes" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }; have_gmp
=no
5543 rm -f core conftest.err conftest.
$ac_objext \
5544 conftest
$ac_exeext conftest.
$ac_ext
5548 CFLAGS
="$saved_CFLAGS"
5550 # The library versions listed in the error message below should match
5551 # the HARD-minimums enforced above.
5552 if test x
$have_gmp != xyes
; then
5553 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5554 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5555 their locations. Source code for these libraries can be found at
5556 their respective hosting sites as well as at
5557 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5558 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5559 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5560 make sure that you have installed both the libraries and the header
5561 files. They may be located in separate packages." "$LINENO" 5
5565 # Flags needed for both GMP, MPFR and/or MPC.
5572 # Allow host libstdc++ to be specified for static linking with PPL.
5574 # Check whether --with-host-libstdcxx was given.
5575 if test "${with_host_libstdcxx+set}" = set; then :
5576 withval
=$with_host_libstdcxx;
5580 case $with_host_libstdcxx in
5582 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5586 # Linker flags to use for stage1 or when not boostrapping.
5588 # Check whether --with-stage1-ldflags was given.
5589 if test "${with_stage1_ldflags+set}" = set; then :
5590 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5593 stage1_ldflags
=$withval
5601 # Libraries to use for stage1 or when not bootstrapping.
5603 # Check whether --with-stage1-libs was given.
5604 if test "${with_stage1_libs+set}" = set; then :
5605 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5608 stage1_libs
=$withval
5611 stage1_libs
=$with_host_libstdcxx
5616 # Libraries to use for stage2 and later builds. This defaults to the
5617 # argument passed to --with-host-libstdcxx.
5619 # Check whether --with-boot-libs was given.
5620 if test "${with_boot_libs+set}" = set; then :
5621 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5624 poststage1_libs
=$withval
5627 poststage1_libs
=$with_host_libstdcxx
5632 # Linker flags to use for stage2 and later builds.
5634 # Check whether --with-boot-ldflags was given.
5635 if test "${with_boot_ldflags+set}" = set; then :
5636 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5639 poststage1_ldflags
=$withval
5643 # In stages 2 and 3, default to linking libstdc++ and libgcc
5644 # statically. But if the user explicitly specified the libraries to
5645 # use, trust that they are doing what they want.
5646 if test "$poststage1_libs" = ""; then
5647 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5654 ppllibs
=" -lppl_c -lppl -lgmpxx"
5658 # Check whether --with-ppl was given.
5659 if test "${with_ppl+set}" = set; then :
5664 # Check whether --with-ppl-include was given.
5665 if test "${with_ppl_include+set}" = set; then :
5666 withval
=$with_ppl_include;
5670 # Check whether --with-ppl-lib was given.
5671 if test "${with_ppl_lib+set}" = set; then :
5672 withval
=$with_ppl_lib;
5683 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5684 pplinc
="-I$with_ppl/include $pplinc"
5687 if test "x$with_ppl_include" != x
; then
5688 pplinc
="-I$with_ppl_include $pplinc"
5690 if test "x$with_ppl_lib" != x
; then
5691 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5693 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5694 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5695 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5696 enable_ppl_version_check
=no
5699 # Check whether --enable-ppl-version-check was given.
5700 if test "${enable_ppl_version_check+set}" = set; then :
5701 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5703 ENABLE_PPL_CHECK
=yes
5707 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5708 saved_CFLAGS
="$CFLAGS"
5709 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5711 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5719 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5727 if ac_fn_c_try_compile
"$LINENO"; then :
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5729 $as_echo "yes" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 CFLAGS
="$saved_CFLAGS"
5738 # Flags needed for PPL
5747 # Check whether --with-cloog was given.
5748 if test "${with_cloog+set}" = set; then :
5749 withval
=$with_cloog;
5753 # Check whether --with-cloog-include was given.
5754 if test "${with_cloog_include+set}" = set; then :
5755 withval
=$with_cloog_include;
5759 # Check whether --with-cloog-lib was given.
5760 if test "${with_cloog_lib+set}" = set; then :
5761 withval
=$with_cloog_lib;
5765 # Check whether --enable-cloog-backend was given.
5766 if test "${enable_cloog_backend+set}" = set; then :
5767 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5769 elif test "x${enableval}" = "xppl"; then
5772 cloog_backend
=ppl-legacy
5775 cloog_backend
=ppl-legacy
5778 # Check whether --enable-cloog-version-check was given.
5779 if test "${enable_cloog_version_check+set}" = set; then :
5780 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5782 ENABLE_CLOOG_CHECK
=yes
5786 # Initialize clooglibs and clooginc.
5795 clooglibs
="-L$with_cloog/lib"
5796 clooginc
="-I$with_cloog/include"
5799 if test "x${with_cloog_include}" != x
; then
5800 clooginc
="-I$with_cloog_include"
5802 if test "x${with_cloog_lib}" != x
; then
5803 clooglibs
="-L$with_cloog_lib"
5810 if test "x$with_ppl" = "xno"; then
5813 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5814 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5815 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5816 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5818 if test "x$with_cloog" != "xno"; then
5822 _cloog_saved_CFLAGS
=$CFLAGS
5823 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5824 _cloog_saved_LDFLAGS
=$LDFLAGS
5825 _cloog_saved_LIBS
=$LIBS
5827 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5829 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5830 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5831 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5833 case $cloog_backend in
5835 CFLAGS
="${CFLAGS} ${pplinc}"
5836 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5838 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5839 if test "${gcc_cv_cloog_type+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5845 #include "cloog/cloog.h"
5849 #ifndef CLOOG_PPL_BACKEND
5856 if ac_fn_c_try_link
"$LINENO"; then :
5857 gcc_cv_cloog_type
="PPL Legacy"
5859 gcc_cv_cloog_type
=no
5861 rm -f core conftest.err conftest.
$ac_objext \
5862 conftest
$ac_exeext conftest.
$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5865 $as_echo "$gcc_cv_cloog_type" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5869 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5870 if test "${gcc_cv_cloog_type+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5873 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5876 #include "cloog/cloog.h"
5885 if ac_fn_c_try_link
"$LINENO"; then :
5886 gcc_cv_cloog_type
="ISL"
5888 gcc_cv_cloog_type
=no
5890 rm -f core conftest.err conftest.
$ac_objext \
5891 conftest
$ac_exeext conftest.
$ac_ext
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5894 $as_echo "$gcc_cv_cloog_type" >&6; }
5897 CFLAGS
="${CFLAGS} ${pplinc}"
5898 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5900 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5901 if test "${gcc_cv_cloog_type+set}" = set; then :
5902 $as_echo_n "(cached) " >&6
5904 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5907 #include "cloog/cloog.h"
5908 #include "cloog/ppl/cloog.h"
5917 if ac_fn_c_try_link
"$LINENO"; then :
5918 gcc_cv_cloog_type
="PPL"
5920 gcc_cv_cloog_type
=no
5922 rm -f core conftest.err conftest.
$ac_objext \
5923 conftest
$ac_exeext conftest.
$ac_ext
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5926 $as_echo "$gcc_cv_cloog_type" >&6; }
5929 gcc_cv_cloog_type
=""
5932 case $gcc_cv_cloog_type in
5934 clooginc
="${clooginc}"
5935 clooglibs
="${clooglibs} -lcloog"
5939 clooginc
="${clooginc} ${_cloogorginc}"
5940 clooglibs
="${clooglibs} -lcloog-isl"
5944 clooginc
="${clooginc} ${_cloogorginc}"
5945 clooglibs
="${clooglibs} -lcloog-ppl"
5955 LIBS
=$_cloog_saved_LIBS
5956 CFLAGS
=$_cloog_saved_CFLAGS
5957 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5958 LDFLAGS
=$_cloog_saved_LDFLAGS
5964 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5965 _cloog_saved_CFLAGS
=$CFLAGS
5966 _cloog_saved_LDFLAGS
=$LDFLAGS
5968 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5969 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5971 if test "${cloog_org}" = yes ; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5973 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5974 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5975 $as_echo_n "(cached) " >&6
5977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 #include "cloog/cloog.h"
5983 #if CLOOG_VERSION_MAJOR != 0 \
5984 || CLOOG_VERSION_MINOR != 14 \
5985 || CLOOG_VERSION_REVISION < 0
5992 if ac_fn_c_try_compile
"$LINENO"; then :
5993 gcc_cv_cloog_ct_0_14_0
=yes
5995 gcc_cv_cloog_ct_0_14_0
=no
5997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
6000 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
6001 elif test "${cloog_org}" = no
; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
6003 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
6004 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
6005 $as_echo_n "(cached) " >&6
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6009 #include "cloog/cloog.h"
6013 #if CLOOG_VERSION_MAJOR != 0 \
6014 || CLOOG_VERSION_MINOR != 15 \
6015 || CLOOG_VERSION_REVISION < 5
6022 if ac_fn_c_try_compile
"$LINENO"; then :
6023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6025 #include "cloog/cloog.h"
6029 #if CLOOG_VERSION_MAJOR != 0 \
6030 || CLOOG_VERSION_MINOR != 15 \
6031 || CLOOG_VERSION_REVISION < 9
6038 if ac_fn_c_try_compile
"$LINENO"; then :
6039 gcc_cv_cloog_ct_0_15_5
=yes
6041 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6045 gcc_cv_cloog_ct_0_15_5
=no
6047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6050 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6053 CFLAGS
=$_cloog_saved_CFLAGS
6054 LDFLAGS
=$_cloog_saved_LDFLAGS
6063 if test "x${with_cloog}" != x \
6064 ||
test "x${with_cloog_include}" != x \
6065 ||
test "x${with_cloog_lib}" != x
; then
6066 graphite_requested
=yes
6068 graphite_requested
=no
6073 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6074 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6075 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6080 if test "${graphite_requested}" = yes \
6081 && test "x${clooglibs}" = x \
6082 && test "x${clooginc}" = x
; then
6084 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6090 # Check for LTO support.
6091 # Check whether --enable-lto was given.
6092 if test "${enable_lto+set}" = set; then :
6093 enableval
=$enable_lto; enable_lto
=$enableval
6095 enable_lto
=yes; default_enable_lto
=yes
6104 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6105 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6106 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6114 if test $target_elf = yes; then :
6115 # ELF platforms build the lto-plugin always.
6116 build_lto_plugin
=yes
6119 if test x
"$default_enable_lto" = x
"yes" ; then
6121 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6122 # On other non-ELF platforms, LTO has yet to be validated.
6126 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6127 # It would also be nice to check the binutils support, but we don't
6128 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6129 # warn during gcc/ subconfigure; unless you're bootstrapping with
6130 # -flto it won't be needed until after installation anyway.
6132 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6133 *) if test x
"$enable_lto" = x
"yes"; then
6134 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6139 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6140 # Build it unless LTO was explicitly disabled.
6142 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6150 # By default, C is the only stage 1 language.
6151 stage1_languages
=,c
,
6153 # Target libraries that we bootstrap.
6154 bootstrap_target_libs
=,target-libgcc
,
6156 # Figure out what language subdirectories are present.
6157 # Look if the user specified --enable-languages="..."; if not, use
6158 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6160 # NB: embedded tabs in this IF block -- do not untabify
6161 if test -d ${srcdir}/gcc
; then
6162 if test x
"${enable_languages+set}" != xset
; then
6163 if test x
"${LANGUAGES+set}" = xset
; then
6164 enable_languages
="${LANGUAGES}"
6165 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6167 enable_languages
=all
6170 if test x
"${enable_languages}" = x ||
6171 test x
"${enable_languages}" = xyes
;
6173 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6177 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6179 # 'f95' is the old name for the 'fortran' language. We issue a warning
6180 # and make the substitution.
6181 case ,${enable_languages}, in
6183 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6184 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6188 # First scan to see if an enabled language requires some other language.
6189 # We assume that a given config-lang.in will list all the language
6190 # front ends it requires, even if some are required indirectly.
6191 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6192 case ${lang_frag} in
6194 # The odd quoting in the next line works around
6195 # an apparent bug in bash 1.12 on linux.
6196 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6198 # From the config-lang.in, get $language, $lang_requires, and
6199 # $lang_requires_boot_languages.
6202 lang_requires_boot_languages
=
6204 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6205 case ,${enable_languages}, in
6209 echo " \`$other' language required by \`$language'; enabling" 1>&2
6210 enable_languages
="${enable_languages},${other}"
6214 for other
in ${lang_requires_boot_languages} ; do
6215 if test "$other" != "c"; then
6216 case ,${enable_stage1_languages}, in
6220 case ,${enable_languages}, in
6222 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6223 enable_stage1_languages
="$enable_stage1_languages,${other}"
6234 new_enable_languages
=,c
,
6236 # If LTO is enabled, add the LTO front end.
6237 extra_host_libiberty_configure_flags
=
6238 if test "$enable_lto" = "yes" ; then
6239 case ,${enable_languages}, in
6241 *) enable_languages
="${enable_languages},lto" ;;
6243 if test "${build_lto_plugin}" = "yes" ; then
6244 configdirs
="$configdirs lto-plugin"
6245 extra_host_libiberty_configure_flags
=--enable-shared
6250 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6251 potential_languages
=,c
,
6253 enabled_target_libs
=
6254 disabled_target_libs
=
6256 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6257 case ${lang_frag} in
6259 # The odd quoting in the next line works around
6260 # an apparent bug in bash 1.12 on linux.
6261 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6263 # From the config-lang.in, get $language, $target_libs,
6264 # $lang_dirs, $boot_language, and $build_by_default
6270 build_by_default
=yes
6272 if test x
${language} = x
; then
6273 echo "${lang_frag} doesn't set \$language." 1>&2
6277 if test "$language" = "c++" \
6278 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6282 case ,${enable_languages}, in
6284 # Language was explicitly selected; include it.
6288 # 'all' was selected, select it if it is a default language
6289 add_this_lang
=${build_by_default}
6296 # Disable languages that need other directories if these aren't available.
6297 for i
in $subdir_requires; do
6298 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6299 case ,${enable_languages}, in
6301 # Specifically requested language; tell them.
6302 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6306 add_this_lang
=unsupported
6311 # Disable Ada if no preexisting GNAT is available.
6312 case ,${enable_languages},:${language}:${have_gnat} in
6313 *,${language},*:ada
:no
)
6314 # Specifically requested language; tell them.
6315 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6319 add_this_lang
=unsupported
6323 # Disable a language that is unsupported by the target.
6324 case " $unsupported_languages " in
6326 add_this_lang
=unsupported
6330 case $add_this_lang in
6332 # Remove language-dependent dirs.
6333 disabled_target_libs
="$disabled_target_libs $target_libs"
6334 noconfigdirs
="$noconfigdirs $lang_dirs"
6337 # Remove language-dependent dirs; still show language as supported.
6338 disabled_target_libs
="$disabled_target_libs $target_libs"
6339 noconfigdirs
="$noconfigdirs $lang_dirs"
6340 potential_languages
="${potential_languages}${language},"
6343 new_enable_languages
="${new_enable_languages}${language},"
6344 potential_languages
="${potential_languages}${language},"
6345 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6346 enabled_target_libs
="$enabled_target_libs $target_libs"
6347 case "${boot_language}:,$enable_stage1_languages," in
6348 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6349 # Add to (comma-separated) list of stage 1 languages.
6350 case ",$stage1_languages," in
6351 *,$language,* |
,yes, |
,all
,) ;;
6352 *) stage1_languages
="${stage1_languages}${language}," ;;
6354 # We need to bootstrap any supporting libraries.
6355 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6364 # Add target libraries which are only needed for disabled languages
6366 if test -n "$disabled_target_libs"; then
6367 for dir
in $disabled_target_libs; do
6368 case " $enabled_target_libs " in
6370 *) noconfigdirs
="$noconfigdirs $dir" ;;
6375 # Check whether --enable-stage1-languages was given.
6376 if test "${enable_stage1_languages+set}" = set; then :
6377 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6379 # Set it to something that will have no effect in the loop below
6380 enable_stage1_languages
=c
;;
6382 enable_stage1_languages
=`echo $new_enable_languages | \
6383 sed -e "s/^,//" -e "s/,$//" ` ;;
6385 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6386 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6389 # Add "good" languages from enable_stage1_languages to stage1_languages,
6390 # while "bad" languages go in missing_languages. Leave no duplicates.
6391 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6392 case $potential_languages in
6394 case $stage1_languages in
6396 *) stage1_languages
="$stage1_languages$i," ;;
6399 case $missing_languages in
6401 *) missing_languages
="$missing_languages$i," ;;
6408 # Remove leading/trailing commas that were added for simplicity
6409 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6410 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6411 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6412 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6414 if test "x$missing_languages" != x
; then
6416 The following requested languages could not be built: ${missing_languages}
6417 Supported languages are: ${potential_languages}" "$LINENO" 5
6419 if test "x$new_enable_languages" != "x$enable_languages"; then
6420 echo The following languages will be built
: ${new_enable_languages}
6421 enable_languages
="$new_enable_languages"
6425 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6428 # Handle --disable-<component> generically.
6429 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6430 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6431 varname
=`echo $dirname | sed -e s/+/_/g`
6432 if eval test x\
${enable_${varname}} "=" xno
; then
6433 noconfigdirs
="$noconfigdirs $dir"
6437 # Check for Boehm's garbage collector
6438 # Check whether --enable-objc-gc was given.
6439 if test "${enable_objc_gc+set}" = set; then :
6440 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6441 *,objc
,*:*:yes:*target-boehm-gc
*)
6442 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6448 # Make sure we only build Boehm's garbage collector if required.
6449 case ,${enable_languages},:${enable_objc_gc} in
6451 # Keep target-boehm-gc if requested for Objective-C.
6454 # Otherwise remove target-boehm-gc depending on target-libjava.
6455 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6456 noconfigdirs
="$noconfigdirs target-boehm-gc"
6461 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6462 # $build_configdirs and $target_configdirs.
6463 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6466 for dir
in .
$skipdirs $noconfigdirs ; do
6467 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6468 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6469 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6470 if test -r $srcdir/$dirname/configure
; then
6471 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6474 notsupp
="$notsupp $dir"
6478 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6479 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6480 if test -r $srcdir/$dirname/configure
; then
6481 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6484 notsupp
="$notsupp $dir"
6488 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6489 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6490 if test -r $srcdir/$dirname/configure
; then
6491 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6494 notsupp
="$notsupp $dir"
6500 # Sometimes the tools are distributed with libiberty but with no other
6501 # libraries. In that case, we don't want to build target-libiberty.
6502 # Don't let libgcc imply libiberty either.
6503 if test -n "${target_configdirs}" ; then
6506 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6507 if test "$i" = "libgcc"; then
6508 libgcc
=target-libgcc
6509 elif test "$i" != "libiberty" ; then
6510 if test -r $srcdir/$i/configure
; then
6516 if test -z "${others}" ; then
6517 target_configdirs
=$libgcc
6521 # Quietly strip out all directories which aren't configurable in this tree.
6522 # This relies on all configurable subdirectories being autoconfiscated, which
6524 build_configdirs_all
="$build_configdirs"
6526 for i
in ${build_configdirs_all} ; do
6527 j
=`echo $i | sed -e s/build-//g`
6528 if test -f ${srcdir}/$j/configure
; then
6529 build_configdirs
="${build_configdirs} $i"
6533 configdirs_all
="$configdirs"
6535 for i
in ${configdirs_all} ; do
6536 if test -f ${srcdir}/$i/configure
; then
6537 configdirs
="${configdirs} $i"
6541 target_configdirs_all
="$target_configdirs"
6543 for i
in ${target_configdirs_all} ; do
6544 j
=`echo $i | sed -e s/target-//g`
6545 if test -f ${srcdir}/$j/configure
; then
6546 target_configdirs
="${target_configdirs} $i"
6550 # Produce a warning message for the subdirs we can't configure.
6551 # This isn't especially interesting in the Cygnus tree, but in the individual
6552 # FSF releases, it's important to let people know when their machine isn't
6553 # supported by the one or two programs in a package.
6555 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6556 # If $appdirs is non-empty, at least one of those directories must still
6557 # be configured, or we error out. (E.g., if the gas release supports a
6558 # specified target in some subdirs but not the gas subdir, we shouldn't
6559 # pretend that all is well.)
6560 if test -n "$appdirs" ; then
6561 for dir
in $appdirs ; do
6562 if test -r $dir/Makefile.
in ; then
6563 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6567 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6573 if test -n "$appdirs" ; then
6574 echo "*** This configuration is not supported by this package." 1>&2
6578 # Okay, some application will build, or we don't care to check. Still
6579 # notify of subdirs not getting built.
6580 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6581 echo " ${notsupp}" 1>&2
6582 echo " (Any other directories should still work fine.)" 1>&2
6590 # To find our prefix, in gcc_cv_tool_prefix.
6592 # The user is always right.
6593 if test "${PATH_SEPARATOR+set}" != set; then
6594 echo "#! /bin/sh" >conf$$.sh
6595 echo "exit 0" >>conf$$.sh
6597 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6607 if test "x$exec_prefix" = xNONE
; then
6608 if test "x$prefix" = xNONE
; then
6609 gcc_cv_tool_prefix
=$ac_default_prefix
6611 gcc_cv_tool_prefix
=$prefix
6614 gcc_cv_tool_prefix
=$exec_prefix
6617 # If there is no compiler in the tree, use the PATH only. In any
6618 # case, if there is no compiler in the tree nobody should use
6619 # AS_FOR_TARGET and LD_FOR_TARGET.
6620 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6621 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6622 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6623 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6624 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6625 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6626 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6627 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6632 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6633 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6641 # Check whether --with-build-sysroot was given.
6642 if test "${with_build_sysroot+set}" = set; then :
6643 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6644 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6647 SYSROOT_CFLAGS_FOR_TARGET
=
6653 # Check whether --with-debug-prefix-map was given.
6654 if test "${with_debug_prefix_map+set}" = set; then :
6655 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6656 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6657 for debug_map
in $withval; do
6658 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6662 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6667 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6668 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6669 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6670 # We want to ensure that TARGET libraries (which we know are built with
6671 # gcc) are built with "-O2 -g", so include those options when setting
6672 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6673 if test "x$CFLAGS_FOR_TARGET" = x
; then
6674 CFLAGS_FOR_TARGET
=$CFLAGS
6677 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6680 *" -g "* |
*" -g3 "*) ;;
6681 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6686 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6687 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6688 case " $CXXFLAGS " in
6690 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6692 case " $CXXFLAGS " in
6693 *" -g "* |
*" -g3 "*) ;;
6694 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
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.in, and the settings in configure.in 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.
6810 md_exec_prefix
=/gnu
/lib
/gcc-lib
6812 i
[34567]86-pc-msdosdjgpp*)
6813 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6815 i
[34567]86-*-sco3.2v5
*)
6816 if test $with_gnu_as = yes; then
6817 md_exec_prefix
=/usr
/gnu
/bin
6819 md_exec_prefix
=/usr
/ccs
/bin
/elf
6824 powerpc-
*-chorusos* | \
6825 powerpc
*-*-eabi* | \
6826 powerpc
*-*-sysv* | \
6827 powerpc
*-*-kaos* | \
6829 md_exec_prefix
=/usr
/ccs
/bin
6834 md_exec_prefix
=/usr
/ccs
/bin
6849 md_exec_prefix
=/usr
/ccs
/bin
6853 extra_arflags_for_target
=
6854 extra_nmflags_for_target
=
6855 extra_ranlibflags_for_target
=
6856 target_makefile_frag
=/dev
/null
6859 target_makefile_frag
="config/mt-mep"
6862 target_makefile_frag
="config/mt-spu"
6865 target_makefile_frag
="config/mt-sde"
6867 mipsisa
*-*-elfoabi*)
6868 target_makefile_frag
="config/mt-mips-elfoabi"
6870 mips
*-*-*linux
* | mips
*-*-gnu*)
6871 target_makefile_frag
="config/mt-mips-gnu"
6874 target_makefile_frag
="config/mt-netware"
6876 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6877 target_makefile_frag
="config/mt-gnu"
6879 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6880 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6881 # commands to handle both 32-bit and 64-bit objects. These flags are
6882 # harmless if we're using GNU nm or ar.
6883 extra_arflags_for_target
=" -X32_64"
6884 extra_nmflags_for_target
=" -B -X32_64"
6887 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6888 extra_ranlibflags_for_target
=" -c"
6890 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6891 target_makefile_frag
="config/mt-wince"
6895 alphaieee_frag
=/dev
/null
6898 # This just makes sure to use the -mieee option to build target libs.
6899 # This should probably be set individually by each library.
6900 alphaieee_frag
="config/mt-alphaieee"
6904 # If --enable-target-optspace always use -Os instead of -O2 to build
6905 # the target libraries, similarly if it is not specified, use -Os
6906 # on selected platforms.
6907 ospace_frag
=/dev
/null
6908 case "${enable_target_optspace}:${target}" in
6910 ospace_frag
="config/mt-ospace"
6913 ospace_frag
="config/mt-d30v"
6915 :m32r-
* |
:d10v-
* |
:fr30-
*)
6916 ospace_frag
="config/mt-ospace"
6921 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6925 # Default to using --with-stabs for certain targets.
6926 if test x
${with_stabs} = x
; then
6930 mips
*-*-* | alpha
*-*-osf*)
6932 extra_host_args
="${extra_host_args} --with-stabs"
6937 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6938 # them automatically.
6941 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6945 # Some systems (e.g., one of the i386-aix systems the gas testers are
6946 # using) don't handle "\$" correctly, so don't use it here.
6947 tooldir
='${exec_prefix}'/${target_noncanonical}
6948 build_tooldir
=${tooldir}
6950 # Create a .gdbinit file which runs the one in srcdir
6951 # and tells GDB to look there for source files.
6953 if test -r ${srcdir}/.gdbinit
; then
6956 *) cat > .
/.gdbinit
<<EOF
6960 source ${srcdir}/.gdbinit
6966 # Make sure that the compiler is able to generate an executable. If it
6967 # can't, we are probably in trouble. We don't care whether we can run the
6968 # executable--we might be using a cross compiler--we only care whether it
6969 # can be created. At this point the main configure script has set CC.
6971 echo "int main () { return 0; }" > conftest.c
6972 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6973 if test $?
= 0 ; then
6974 if test -s conftest ||
test -s conftest.exe
; then
6980 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6981 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6988 # The Solaris /usr/ucb/cc compiler does not appear to work.
6990 sparc-sun-solaris2
*)
6991 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6992 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6994 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6995 if test -d /opt
/cygnus
/bin
; then
6996 if test "$could_use" = "" ; then
6997 could_use
="/opt/cygnus/bin"
6999 could_use
="$could_use or /opt/cygnus/bin"
7002 if test "$could_use" = "" ; then
7003 echo "Warning: compilation may fail because you're using"
7004 echo "/usr/ucb/cc. You should change your PATH or CC "
7005 echo "variable and rerun configure."
7007 echo "Warning: compilation may fail because you're using"
7008 echo "/usr/ucb/cc, when you should use the C compiler from"
7009 echo "$could_use. You should change your"
7010 echo "PATH or CC variable and rerun configure."
7016 # Decide which environment variable is used to find dynamic libraries.
7018 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7019 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7020 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7021 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7024 # On systems where the dynamic library environment variable is PATH,
7025 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7026 # built executables to PATH.
7027 if test "$RPATH_ENVVAR" = PATH
; then
7028 GCC_SHLIB_SUBDIR
=/shlib
7033 # Record target_configdirs and the configure arguments for target and
7034 # build configuration in Makefile.
7035 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7036 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7038 # If we are building libgomp, bootstrap it.
7039 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7040 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7043 # Determine whether gdb needs tk/tcl or not.
7044 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7045 # and in that case we want gdb to be built without tk. Ugh!
7046 # In fact I believe gdb is the *only* package directly dependent on tk,
7047 # so we should be able to put the 'maybe's in unconditionally and
7048 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7049 # 100% sure that that's safe though.
7051 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7052 case "$enable_gdbtk" in
7056 GDB_TK
="${gdb_tk}" ;;
7058 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7059 # distro. Eventually someone will fix this and move Insight, nee
7060 # gdbtk to a separate directory.
7061 if test -d ${srcdir}/gdb
/gdbtk
; then
7068 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7069 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7071 # Strip out unwanted targets.
7073 # While at that, we remove Makefiles if we were started for recursive
7074 # configuration, so that the top-level Makefile reconfigures them,
7075 # like we used to do when configure itself was recursive.
7077 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7078 # but now we're fixing up the Makefile ourselves with the additional
7079 # commands passed to AC_CONFIG_FILES. Use separate variables
7080 # extrasub-{build,host,target} not because there is any reason to split
7081 # the substitutions up that way, but only to remain below the limit of
7082 # 99 commands in a script, for HP-UX sed.
7083 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7085 # Check whether --enable-bootstrap was given.
7086 if test "${enable_bootstrap+set}" = set; then :
7087 enableval
=$enable_bootstrap;
7089 enable_bootstrap
=default
7093 # Issue errors and warnings for invalid/strange bootstrap combinations.
7094 case "$configdirs" in
7095 *gcc
*) have_compiler
=yes ;;
7096 *) have_compiler
=no
;;
7099 case "$have_compiler:$host:$target:$enable_bootstrap" in
7102 # Default behavior. Enable bootstrap if we have a compiler
7103 # and we are in a native configuration.
7104 yes:$build:$build:default
)
7105 enable_bootstrap
=yes ;;
7108 enable_bootstrap
=no
;;
7110 # We have a compiler and we are in a native configuration, bootstrap is ok
7111 yes:$build:$build:yes)
7114 # Other configurations, but we have a compiler. Assume the user knows
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7118 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7121 # No compiler: if they passed --enable-bootstrap explicitly, fail
7123 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7125 # Fail if wrong command line
7127 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7131 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7134 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7138 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7139 yes:yes:*\ gold\
*:*,c
++,*) ;;
7140 yes:yes:*\ gold\
*:*)
7141 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7145 # Adjust the toplevel makefile according to whether bootstrap was selected.
7146 case $enable_bootstrap in
7148 bootstrap_suffix
=bootstrap
7149 BUILD_CONFIG
=bootstrap-debug
7152 bootstrap_suffix
=no-bootstrap
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7158 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7161 # Check whether --with-build-config was given.
7162 if test "${with_build_config+set}" = set; then :
7163 withval
=$with_build_config; case $with_build_config in
7164 yes) with_build_config
= ;;
7165 no
) with_build_config
= BUILD_CONFIG
= ;;
7170 if test "x${with_build_config}" != x
; then
7171 BUILD_CONFIG
=$with_build_config
7173 case $BUILD_CONFIG in
7175 if echo "int f (void) { return 0; }" > conftest.c
&&
7176 ${CC} -c conftest.c
&&
7177 mv conftest.o conftest.o.g0
&&
7178 ${CC} -c -g conftest.c
&&
7179 mv conftest.o conftest.o.g
&&
7180 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7185 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7190 $as_echo "$BUILD_CONFIG" >&6; }
7194 for module
in ${build_configdirs} ; do
7195 if test -z "${no_recursion}" \
7196 && test -f ${build_subdir}/${module}/Makefile
; then
7197 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7198 rm -f ${build_subdir}/${module}/Makefile
7200 extrasub_build
="$extrasub_build
7201 /^@if build-$module\$/d
7202 /^@endif build-$module\$/d
7203 /^@if build-$module-$bootstrap_suffix\$/d
7204 /^@endif build-$module-$bootstrap_suffix\$/d"
7207 for module
in ${configdirs} ; do
7208 if test -z "${no_recursion}"; then
7209 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7210 if test -f ${file}; then
7211 echo 1>&2 "*** removing ${file} to force reconfigure"
7216 extrasub_host
="$extrasub_host
7218 /^@endif $module\$/d
7219 /^@if $module-$bootstrap_suffix\$/d
7220 /^@endif $module-$bootstrap_suffix\$/d"
7223 for module
in ${target_configdirs} ; do
7224 if test -z "${no_recursion}" \
7225 && test -f ${target_subdir}/${module}/Makefile
; then
7226 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7227 rm -f ${target_subdir}/${module}/Makefile
7230 # We only bootstrap target libraries listed in bootstrap_target_libs.
7231 case $bootstrap_target_libs in
7232 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7233 *) target_bootstrap_suffix
=no-bootstrap
;;
7236 extrasub_target
="$extrasub_target
7237 /^@if target-$module\$/d
7238 /^@endif target-$module\$/d
7239 /^@if target-$module-$target_bootstrap_suffix\$/d
7240 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7243 # Do the final fixup along with target modules.
7244 extrasub_target
="$extrasub_target
7245 /^@if /,/^@endif /d"
7247 # Create the serialization dependencies. This uses a temporary file.
7249 # Check whether --enable-serial-configure was given.
7250 if test "${enable_serial_configure+set}" = set; then :
7251 enableval
=$enable_serial_configure;
7255 case ${enable_serial_configure} in
7257 enable_serial_build_configure
=yes
7258 enable_serial_host_configure
=yes
7259 enable_serial_target_configure
=yes
7263 # These force 'configure's to be done one at a time, to avoid problems
7264 # with contention over a shared config.cache.
7266 echo '# serdep.tmp' > serdep.tmp
7268 test "x${enable_serial_build_configure}" = xyes
&&
7269 for item
in ${build_configdirs} ; do
7272 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7277 test "x${enable_serial_host_configure}" = xyes
&&
7278 for item
in ${configdirs} ; do
7281 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7286 test "x${enable_serial_target_configure}" = xyes
&&
7287 for item
in ${target_configdirs} ; do
7290 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7294 serialization_dependencies
=serdep.tmp
7297 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7298 # target, nonopt, and variable assignments. These are the ones we
7299 # might not want to pass down to subconfigures. The exception being
7300 # --cache-file=/dev/null, which is used to turn off the use of cache
7301 # files altogether, and which should be passed on to subconfigures.
7302 # Also strip program-prefix, program-suffix, and program-transform-name,
7303 # so that we can pass down a consistent program-transform-name.
7307 eval "set -- $ac_configure_args"
7310 if test X
"$skip_next" = X
"yes"; then
7314 if test X
"$keep_next" = X
"yes"; then
7317 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7319 baseargs
="$baseargs '$ac_arg'"
7324 # Handle separated arguments. Based on the logic generated by
7327 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7328 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7329 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7330 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7342 --cache-file=/dev
/null | \
7343 -cache-file=/dev
/null
)
7344 # Handled here to avoid the test to skip args below.
7345 baseargs
="$baseargs '$ac_arg'"
7346 # Assert: $separate_arg should always be no.
7347 keep_next
=$separate_arg
7363 -program-prefix* | \
7364 -program-suffix* | \
7365 -program-transform-name* )
7366 skip_next
=$separate_arg
7370 # An option. Add it.
7373 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7375 baseargs
="$baseargs '$ac_arg'"
7376 keep_next
=$separate_arg
7379 # Either a variable assignment, or a nonopt (triplet). Don't
7380 # pass it down; let the Makefile handle this.
7385 # Remove the initial space we just introduced and, as these will be
7386 # expanded by make, quote '$'.
7387 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7389 # Add in --program-transform-name, after --program-prefix and
7390 # --program-suffix have been applied to it. Autoconf has already
7391 # doubled dollar signs and backslashes in program_transform_name; we want
7392 # the backslashes un-doubled, and then the entire thing wrapped in single
7393 # quotes, because this will be expanded first by make and then by the shell.
7394 # Also, because we want to override the logic in subdir configure scripts to
7395 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7396 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7397 ${program_transform_name}
7399 gcc_transform_name
=`cat conftestsed.out`
7400 rm -f conftestsed.out
7401 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7402 if test "$silent" = yes; then
7403 baseargs
="$baseargs --silent"
7405 baseargs
="$baseargs --disable-option-checking"
7407 # Record and document user additions to sub configure arguments.
7412 # For the build-side libraries, we just need to pretend we're native,
7413 # and not use the same cache file. Multilibs are neither needed nor
7415 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7417 # For host modules, accept cache file option, or specification as blank.
7418 case "${cache_file}" in
7420 cache_file_option
="" ;;
7421 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7422 cache_file_option
="--cache-file=${cache_file}" ;;
7424 cache_file_option
="--cache-file=../${cache_file}" ;;
7427 # Host dirs don't like to share a cache file either, horribly enough.
7428 # This seems to be due to autoconf 2.5x stupidity.
7429 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7431 target_configargs
="$target_configargs ${baseargs}"
7433 # Passing a --with-cross-host argument lets the target libraries know
7434 # whether they are being built with a cross-compiler or being built
7435 # native. However, it would be better to use other mechanisms to make the
7436 # sorts of decisions they want to make on this basis. Please consider
7437 # this option to be deprecated. FIXME.
7438 if test x
${is_cross_compiler} = xyes
; then
7439 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7442 # Default to --enable-multilib.
7443 if test x
${enable_multilib} = x
; then
7444 target_configargs
="--enable-multilib ${target_configargs}"
7447 # Pass --with-newlib if appropriate. Note that target_configdirs has
7448 # changed from the earlier setting of with_newlib.
7449 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7450 target_configargs
="--with-newlib ${target_configargs}"
7453 # Different target subdirs use different values of certain variables
7454 # (notably CXX). Worse, multilibs use *lots* of different values.
7455 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7456 # it doesn't automatically accept command-line overrides of them.
7457 # This means it's not safe for target subdirs to share a cache file,
7458 # which is disgusting, but there you have it. Hopefully this can be
7459 # fixed in future. It's still worthwhile to use a cache file for each
7460 # directory. I think.
7462 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7463 # We need to pass --target, as newer autoconf's requires consistency
7464 # for target_alias and gcc doesn't manage it consistently.
7465 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7468 case " $target_configdirs " in
7470 case " $target_configargs " in
7471 *" --with-newlib "*)
7474 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include'
7478 # If we're not building GCC, don't discard standard headers.
7479 if test -d ${srcdir}/gcc
; then
7480 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7482 if test "${build}" != "${host}"; then
7483 # On Canadian crosses, CC_FOR_TARGET will have already been set
7484 # by `configure', so we won't have an opportunity to add -Bgcc/
7485 # to it. This is right: we don't want to search that directory
7486 # for binaries, but we want the header files in there, so add
7488 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7490 # Someone might think of using the pre-installed headers on
7491 # Canadian crosses, in case the installed compiler is not fully
7492 # compatible with the compiler being built. In this case, it
7493 # would be better to flag an error than risking having
7494 # incompatible object files being constructed. We can't
7495 # guarantee that an error will be flagged, but let's hope the
7496 # compiler will do it, when presented with incompatible header
7501 case "${target}-${is_cross_compiler}" in
7502 i
[3456789]86-*-linux*-no)
7503 # Here host == target, so we don't need to build gcc,
7504 # so we don't want to discard standard headers.
7505 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7508 # If we're building newlib, use its generic headers last, but search
7509 # for any libc-related directories first (so make it the last -B
7511 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7513 # If we're building libgloss, find the startup file, simulator library
7514 # and linker script.
7515 case " $target_configdirs " in
7517 # Look for startup file, simulator library and maybe linker script.
7518 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7519 # Look for libnosys.a in case the target needs it.
7520 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7521 # Most targets have the linker script in the source directory.
7522 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7533 x86_64-
*mingw
* |
*-w64-mingw*)
7534 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7535 # however, use a symlink named 'mingw' in ${prefix} .
7536 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7539 # MinGW can't be handled as Cygwin above since it does not use newlib.
7540 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'
7544 # Allow the user to override the flags for
7545 # our build compiler if desired.
7546 if test x
"${build}" = x
"${host}" ; then
7547 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7548 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7549 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7552 # On Canadian crosses, we'll be searching the right directories for
7553 # the previously-installed cross compiler, so don't bother to add
7554 # flags for directories within the install tree of the compiler
7555 # being built; programs in there won't even run.
7556 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7557 # Search for pre-installed headers if nothing else fits.
7558 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7561 if test "x
${use_gnu_ld}" = x &&
7562 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7563 # Arrange for us to find uninstalled linker scripts.
7564 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7567 # Search for other target-specific linker scripts and such.
7570 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7574 # Makefile fragments.
7575 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7577 eval fragval=\$$frag
7578 if test $fragval != /dev/null; then
7579 eval $frag=${srcdir}/$fragval
7587 # Miscellanea: directories, flags, etc.
7596 # Build module lists & subconfigure args.
7600 # Host module lists & subconfigure args.
7605 # Target module lists & subconfigure args.
7628 # Generate default definitions for YACC, M4, LEX and other programs that run
7629 # on the build machine. These are used if the Makefile can't locate these
7630 # programs in objdir.
7631 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7633 for ac_prog in 'bison -y' byacc yacc
7635 # Extract the first word of "$ac_prog", so it can be a program name with args.
7636 set dummy $ac_prog; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7638 $as_echo_n "checking
for $ac_word...
" >&6; }
7639 if test "${ac_cv_prog_YACC+set}" = set; then :
7640 $as_echo_n "(cached
) " >&6
7642 if test -n "$YACC"; then
7643 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652 ac_cv_prog_YACC="$ac_prog"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7662 YACC=$ac_cv_prog_YACC
7663 if test -n "$YACC"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7665 $as_echo "$YACC" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7668 $as_echo "no
" >&6; }
7672 test -n "$YACC" && break
7674 test -n "$YACC" || YACC="$MISSING bison
-y"
7676 case " $build_configdirs " in
7677 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7678 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7681 for ac_prog in bison
7683 # Extract the first word of "$ac_prog", so it can be a program name with args.
7684 set dummy $ac_prog; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7686 $as_echo_n "checking
for $ac_word...
" >&6; }
7687 if test "${ac_cv_prog_BISON+set}" = set; then :
7688 $as_echo_n "(cached
) " >&6
7690 if test -n "$BISON"; then
7691 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7700 ac_cv_prog_BISON="$ac_prog"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7710 BISON=$ac_cv_prog_BISON
7711 if test -n "$BISON"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7713 $as_echo "$BISON" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7716 $as_echo "no
" >&6; }
7720 test -n "$BISON" && break
7722 test -n "$BISON" || BISON="$MISSING bison
"
7724 case " $build_configdirs " in
7725 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7728 for ac_prog in gm4 gnum4 m4
7730 # Extract the first word of "$ac_prog", so it can be a program name with args.
7731 set dummy $ac_prog; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if test "${ac_cv_prog_M4+set}" = set; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$M4"; then
7738 ac_cv_prog_M4="$M4" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_prog_M4="$ac_prog"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 if test -n "$M4"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7760 $as_echo "$M4" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7767 test -n "$M4" && break
7769 test -n "$M4" || M4="$MISSING m4"
7771 case " $build_configdirs " in
7772 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7775 for ac_prog in flex lex
7777 # Extract the first word of "$ac_prog", so it can be a program name with args.
7778 set dummy $ac_prog; ac_word=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7780 $as_echo_n "checking
for $ac_word...
" >&6; }
7781 if test "${ac_cv_prog_LEX+set}" = set; then :
7782 $as_echo_n "(cached
) " >&6
7784 if test -n "$LEX"; then
7785 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_prog_LEX="$ac_prog"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7805 if test -n "$LEX"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7807 $as_echo "$LEX" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7810 $as_echo "no
" >&6; }
7814 test -n "$LEX" && break
7816 test -n "$LEX" || LEX="$MISSING flex
"
7818 case " $build_configdirs " in
7819 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7820 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7825 # Extract the first word of "$ac_prog", so it can be a program name with args.
7826 set dummy $ac_prog; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7828 $as_echo_n "checking
for $ac_word...
" >&6; }
7829 if test "${ac_cv_prog_FLEX+set}" = set; then :
7830 $as_echo_n "(cached
) " >&6
7832 if test -n "$FLEX"; then
7833 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7842 ac_cv_prog_FLEX="$ac_prog"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 FLEX=$ac_cv_prog_FLEX
7853 if test -n "$FLEX"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7855 $as_echo "$FLEX" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7858 $as_echo "no
" >&6; }
7862 test -n "$FLEX" && break
7864 test -n "$FLEX" || FLEX="$MISSING flex
"
7866 case " $build_configdirs " in
7867 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7870 for ac_prog in makeinfo
7872 # Extract the first word of "$ac_prog", so it can be a program name with args.
7873 set dummy $ac_prog; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7875 $as_echo_n "checking
for $ac_word...
" >&6; }
7876 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7877 $as_echo_n "(cached
) " >&6
7879 if test -n "$MAKEINFO"; then
7880 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889 ac_cv_prog_MAKEINFO="$ac_prog"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 MAKEINFO=$ac_cv_prog_MAKEINFO
7900 if test -n "$MAKEINFO"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7902 $as_echo "$MAKEINFO" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7905 $as_echo "no
" >&6; }
7909 test -n "$MAKEINFO" && break
7911 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7913 case " $build_configdirs " in
7914 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7917 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7918 # higher, else we use the "missing
" dummy.
7919 if ${MAKEINFO} --version \
7920 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7923 MAKEINFO="$MISSING makeinfo
"
7929 # FIXME: expect and dejagnu may become build tools?
7931 for ac_prog in expect
7933 # Extract the first word of "$ac_prog", so it can be a program name with args.
7934 set dummy $ac_prog; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7936 $as_echo_n "checking
for $ac_word...
" >&6; }
7937 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7938 $as_echo_n "(cached
) " >&6
7940 if test -n "$EXPECT"; then
7941 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950 ac_cv_prog_EXPECT="$ac_prog"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7960 EXPECT=$ac_cv_prog_EXPECT
7961 if test -n "$EXPECT"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7963 $as_echo "$EXPECT" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7970 test -n "$EXPECT" && break
7972 test -n "$EXPECT" || EXPECT="expect
"
7974 case " $configdirs " in
7976 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7980 for ac_prog in runtest
7982 # Extract the first word of "$ac_prog", so it can be a program name with args.
7983 set dummy $ac_prog; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7985 $as_echo_n "checking
for $ac_word...
" >&6; }
7986 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7987 $as_echo_n "(cached
) " >&6
7989 if test -n "$RUNTEST"; then
7990 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_prog_RUNTEST="$ac_prog"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8009 RUNTEST=$ac_cv_prog_RUNTEST
8010 if test -n "$RUNTEST"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8012 $as_echo "$RUNTEST" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8015 $as_echo "no
" >&6; }
8019 test -n "$RUNTEST" && break
8021 test -n "$RUNTEST" || RUNTEST="runtest
"
8023 case " $configdirs " in
8025 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8032 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8033 ncn_target_tool_prefix=
8034 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8038 if test -n "$AR"; then
8040 elif test -n "$ac_cv_prog_AR"; then
8044 if test -n "$ac_cv_prog_AR"; then
8045 for ncn_progname in ar; do
8046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8047 set dummy ${ncn_progname}; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8049 $as_echo_n "checking
for $ac_word...
" >&6; }
8050 if test "${ac_cv_prog_AR+set}" = set; then :
8051 $as_echo_n "(cached
) " >&6
8053 if test -n "$AR"; then
8054 ac_cv_prog_AR="$AR" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_AR="${ncn_progname}"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8074 if test -n "$AR"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8076 $as_echo "$AR" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8079 $as_echo "no
" >&6; }
8086 for ncn_progname in ar; do
8087 if test -n "$ncn_tool_prefix"; then
8088 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8089 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8128 set dummy ${ncn_progname}; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8130 $as_echo_n "checking
for $ac_word...
" >&6; }
8131 if test "${ac_cv_prog_AR+set}" = set; then :
8132 $as_echo_n "(cached
) " >&6
8134 if test -n "$AR"; then
8135 ac_cv_prog_AR="$AR" # Let the user override the test.
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8144 ac_cv_prog_AR="${ncn_progname}"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8155 if test -n "$AR"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8157 $as_echo "$AR" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8160 $as_echo "no
" >&6; }
8165 test -n "$ac_cv_prog_AR" && break
8168 if test -z "$ac_cv_prog_AR" ; then
8170 if test $build = $host ; then
8173 AR="${ncn_tool_prefix}$2"
8179 if test -n "$AS"; then
8181 elif test -n "$ac_cv_prog_AS"; then
8185 if test -n "$ac_cv_prog_AS"; then
8186 for ncn_progname in as; do
8187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8188 set dummy ${ncn_progname}; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8190 $as_echo_n "checking
for $ac_word...
" >&6; }
8191 if test "${ac_cv_prog_AS+set}" = set; then :
8192 $as_echo_n "(cached
) " >&6
8194 if test -n "$AS"; then
8195 ac_cv_prog_AS="$AS" # Let the user override the test.
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_prog_AS="${ncn_progname}"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 if test -n "$AS"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8217 $as_echo "$AS" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8220 $as_echo "no
" >&6; }
8227 for ncn_progname in as; do
8228 if test -n "$ncn_tool_prefix"; then
8229 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8230 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8269 set dummy ${ncn_progname}; ac_word=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8271 $as_echo_n "checking
for $ac_word...
" >&6; }
8272 if test "${ac_cv_prog_AS+set}" = set; then :
8273 $as_echo_n "(cached
) " >&6
8275 if test -n "$AS"; then
8276 ac_cv_prog_AS="$AS" # Let the user override the test.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_prog_AS="${ncn_progname}"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8296 if test -n "$AS"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8298 $as_echo "$AS" >&6; }
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8301 $as_echo "no
" >&6; }
8306 test -n "$ac_cv_prog_AS" && break
8309 if test -z "$ac_cv_prog_AS" ; then
8311 if test $build = $host ; then
8314 AS="${ncn_tool_prefix}$2"
8320 if test -n "$DLLTOOL"; then
8321 ac_cv_prog_DLLTOOL=$DLLTOOL
8322 elif test -n "$ac_cv_prog_DLLTOOL"; then
8323 DLLTOOL=$ac_cv_prog_DLLTOOL
8326 if test -n "$ac_cv_prog_DLLTOOL"; then
8327 for ncn_progname in dlltool; do
8328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8329 set dummy ${ncn_progname}; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8331 $as_echo_n "checking
for $ac_word...
" >&6; }
8332 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8333 $as_echo_n "(cached
) " >&6
8335 if test -n "$DLLTOOL"; then
8336 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_prog_DLLTOOL="${ncn_progname}"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8355 DLLTOOL=$ac_cv_prog_DLLTOOL
8356 if test -n "$DLLTOOL"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8358 $as_echo "$DLLTOOL" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8361 $as_echo "no
" >&6; }
8368 for ncn_progname in dlltool; do
8369 if test -n "$ncn_tool_prefix"; then
8370 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8371 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8410 set dummy ${ncn_progname}; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8412 $as_echo_n "checking
for $ac_word...
" >&6; }
8413 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8414 $as_echo_n "(cached
) " >&6
8416 if test -n "$DLLTOOL"; then
8417 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_prog_DLLTOOL="${ncn_progname}"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8436 DLLTOOL=$ac_cv_prog_DLLTOOL
8437 if test -n "$DLLTOOL"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8439 $as_echo "$DLLTOOL" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8442 $as_echo "no
" >&6; }
8447 test -n "$ac_cv_prog_DLLTOOL" && break
8450 if test -z "$ac_cv_prog_DLLTOOL" ; then
8452 if test $build = $host ; then
8455 DLLTOOL="${ncn_tool_prefix}$2"
8461 if test -n "$LD"; then
8463 elif test -n "$ac_cv_prog_LD"; then
8467 if test -n "$ac_cv_prog_LD"; then
8468 for ncn_progname in ld; do
8469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8470 set dummy ${ncn_progname}; ac_word=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8472 $as_echo_n "checking
for $ac_word...
" >&6; }
8473 if test "${ac_cv_prog_LD+set}" = set; then :
8474 $as_echo_n "(cached
) " >&6
8476 if test -n "$LD"; then
8477 ac_cv_prog_LD="$LD" # Let the user override the test.
8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir=.
8484 for ac_exec_ext in '' $ac_executable_extensions; do
8485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8486 ac_cv_prog_LD="${ncn_progname}"
8487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8497 if test -n "$LD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8499 $as_echo "$LD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8502 $as_echo "no
" >&6; }
8509 for ncn_progname in ld; do
8510 if test -n "$ncn_tool_prefix"; then
8511 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8512 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8551 set dummy ${ncn_progname}; ac_word=$2
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8553 $as_echo_n "checking
for $ac_word...
" >&6; }
8554 if test "${ac_cv_prog_LD+set}" = set; then :
8555 $as_echo_n "(cached
) " >&6
8557 if test -n "$LD"; then
8558 ac_cv_prog_LD="$LD" # Let the user override the test.
8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8564 test -z "$as_dir" && as_dir=.
8565 for ac_exec_ext in '' $ac_executable_extensions; do
8566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8567 ac_cv_prog_LD="${ncn_progname}"
8568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8578 if test -n "$LD"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8580 $as_echo "$LD" >&6; }
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8583 $as_echo "no
" >&6; }
8588 test -n "$ac_cv_prog_LD" && break
8591 if test -z "$ac_cv_prog_LD" ; then
8593 if test $build = $host ; then
8596 LD="${ncn_tool_prefix}$2"
8602 if test -n "$LIPO"; then
8603 ac_cv_prog_LIPO=$LIPO
8604 elif test -n "$ac_cv_prog_LIPO"; then
8605 LIPO=$ac_cv_prog_LIPO
8608 if test -n "$ac_cv_prog_LIPO"; then
8609 for ncn_progname in lipo; do
8610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8611 set dummy ${ncn_progname}; ac_word=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8613 $as_echo_n "checking
for $ac_word...
" >&6; }
8614 if test "${ac_cv_prog_LIPO+set}" = set; then :
8615 $as_echo_n "(cached
) " >&6
8617 if test -n "$LIPO"; then
8618 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir=.
8625 for ac_exec_ext in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_prog_LIPO="${ncn_progname}"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8637 LIPO=$ac_cv_prog_LIPO
8638 if test -n "$LIPO"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8640 $as_echo "$LIPO" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8643 $as_echo "no
" >&6; }
8650 for ncn_progname in lipo; do
8651 if test -n "$ncn_tool_prefix"; then
8652 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8653 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8692 set dummy ${ncn_progname}; ac_word=$2
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8694 $as_echo_n "checking
for $ac_word...
" >&6; }
8695 if test "${ac_cv_prog_LIPO+set}" = set; then :
8696 $as_echo_n "(cached
) " >&6
8698 if test -n "$LIPO"; then
8699 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8705 test -z "$as_dir" && as_dir=.
8706 for ac_exec_ext in '' $ac_executable_extensions; do
8707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8708 ac_cv_prog_LIPO="${ncn_progname}"
8709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8718 LIPO=$ac_cv_prog_LIPO
8719 if test -n "$LIPO"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8721 $as_echo "$LIPO" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8724 $as_echo "no
" >&6; }
8729 test -n "$ac_cv_prog_LIPO" && break
8732 if test -z "$ac_cv_prog_LIPO" ; then
8734 if test $build = $host ; then
8737 LIPO="${ncn_tool_prefix}$2"
8743 if test -n "$NM"; then
8745 elif test -n "$ac_cv_prog_NM"; then
8749 if test -n "$ac_cv_prog_NM"; then
8750 for ncn_progname in nm; do
8751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8752 set dummy ${ncn_progname}; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8754 $as_echo_n "checking
for $ac_word...
" >&6; }
8755 if test "${ac_cv_prog_NM+set}" = set; then :
8756 $as_echo_n "(cached
) " >&6
8758 if test -n "$NM"; then
8759 ac_cv_prog_NM="$NM" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_NM="${ncn_progname}"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8779 if test -n "$NM"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8781 $as_echo "$NM" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8784 $as_echo "no
" >&6; }
8791 for ncn_progname in nm; do
8792 if test -n "$ncn_tool_prefix"; then
8793 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8794 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8833 set dummy ${ncn_progname}; ac_word=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8835 $as_echo_n "checking
for $ac_word...
" >&6; }
8836 if test "${ac_cv_prog_NM+set}" = set; then :
8837 $as_echo_n "(cached
) " >&6
8839 if test -n "$NM"; then
8840 ac_cv_prog_NM="$NM" # Let the user override the test.
8842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir=.
8847 for ac_exec_ext in '' $ac_executable_extensions; do
8848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8849 ac_cv_prog_NM="${ncn_progname}"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8860 if test -n "$NM"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8862 $as_echo "$NM" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8865 $as_echo "no
" >&6; }
8870 test -n "$ac_cv_prog_NM" && break
8873 if test -z "$ac_cv_prog_NM" ; then
8875 if test $build = $host ; then
8878 NM="${ncn_tool_prefix}$2"
8884 if test -n "$RANLIB"; then
8885 ac_cv_prog_RANLIB=$RANLIB
8886 elif test -n "$ac_cv_prog_RANLIB"; then
8887 RANLIB=$ac_cv_prog_RANLIB
8890 if test -n "$ac_cv_prog_RANLIB"; then
8891 for ncn_progname in ranlib; do
8892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8893 set dummy ${ncn_progname}; ac_word=$2
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8895 $as_echo_n "checking
for $ac_word...
" >&6; }
8896 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8897 $as_echo_n "(cached
) " >&6
8899 if test -n "$RANLIB"; then
8900 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir=.
8907 for ac_exec_ext in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_prog_RANLIB="${ncn_progname}"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8919 RANLIB=$ac_cv_prog_RANLIB
8920 if test -n "$RANLIB"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8922 $as_echo "$RANLIB" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8925 $as_echo "no
" >&6; }
8932 for ncn_progname in ranlib; do
8933 if test -n "$ncn_tool_prefix"; then
8934 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8935 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8974 set dummy ${ncn_progname}; ac_word=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8976 $as_echo_n "checking
for $ac_word...
" >&6; }
8977 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8978 $as_echo_n "(cached
) " >&6
8980 if test -n "$RANLIB"; then
8981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8990 ac_cv_prog_RANLIB="${ncn_progname}"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9000 RANLIB=$ac_cv_prog_RANLIB
9001 if test -n "$RANLIB"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9003 $as_echo "$RANLIB" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9006 $as_echo "no
" >&6; }
9011 test -n "$ac_cv_prog_RANLIB" && break
9014 if test -z "$ac_cv_prog_RANLIB" ; then
9020 if test -n "$STRIP"; then
9021 ac_cv_prog_STRIP=$STRIP
9022 elif test -n "$ac_cv_prog_STRIP"; then
9023 STRIP=$ac_cv_prog_STRIP
9026 if test -n "$ac_cv_prog_STRIP"; then
9027 for ncn_progname in strip; do
9028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9029 set dummy ${ncn_progname}; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9031 $as_echo_n "checking
for $ac_word...
" >&6; }
9032 if test "${ac_cv_prog_STRIP+set}" = set; then :
9033 $as_echo_n "(cached
) " >&6
9035 if test -n "$STRIP"; then
9036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_STRIP="${ncn_progname}"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9055 STRIP=$ac_cv_prog_STRIP
9056 if test -n "$STRIP"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9058 $as_echo "$STRIP" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9061 $as_echo "no
" >&6; }
9068 for ncn_progname in strip; do
9069 if test -n "$ncn_tool_prefix"; then
9070 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9071 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9110 set dummy ${ncn_progname}; ac_word=$2
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9112 $as_echo_n "checking
for $ac_word...
" >&6; }
9113 if test "${ac_cv_prog_STRIP+set}" = set; then :
9114 $as_echo_n "(cached
) " >&6
9116 if test -n "$STRIP"; then
9117 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9126 ac_cv_prog_STRIP="${ncn_progname}"
9127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9136 STRIP=$ac_cv_prog_STRIP
9137 if test -n "$STRIP"; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9139 $as_echo "$STRIP" >&6; }
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9142 $as_echo "no
" >&6; }
9147 test -n "$ac_cv_prog_STRIP" && break
9150 if test -z "$ac_cv_prog_STRIP" ; then
9156 if test -n "$WINDRES"; then
9157 ac_cv_prog_WINDRES=$WINDRES
9158 elif test -n "$ac_cv_prog_WINDRES"; then
9159 WINDRES=$ac_cv_prog_WINDRES
9162 if test -n "$ac_cv_prog_WINDRES"; then
9163 for ncn_progname in windres; do
9164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9165 set dummy ${ncn_progname}; ac_word=$2
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9167 $as_echo_n "checking
for $ac_word...
" >&6; }
9168 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9169 $as_echo_n "(cached
) " >&6
9171 if test -n "$WINDRES"; then
9172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir=.
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9181 ac_cv_prog_WINDRES="${ncn_progname}"
9182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9191 WINDRES=$ac_cv_prog_WINDRES
9192 if test -n "$WINDRES"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9194 $as_echo "$WINDRES" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9197 $as_echo "no
" >&6; }
9204 for ncn_progname in windres; do
9205 if test -n "$ncn_tool_prefix"; then
9206 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9207 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9246 set dummy ${ncn_progname}; ac_word=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9248 $as_echo_n "checking
for $ac_word...
" >&6; }
9249 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9250 $as_echo_n "(cached
) " >&6
9252 if test -n "$WINDRES"; then
9253 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 test -z "$as_dir" && as_dir=.
9260 for ac_exec_ext in '' $ac_executable_extensions; do
9261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9262 ac_cv_prog_WINDRES="${ncn_progname}"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9272 WINDRES=$ac_cv_prog_WINDRES
9273 if test -n "$WINDRES"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9275 $as_echo "$WINDRES" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9278 $as_echo "no
" >&6; }
9283 test -n "$ac_cv_prog_WINDRES" && break
9286 if test -z "$ac_cv_prog_WINDRES" ; then
9288 if test $build = $host ; then
9291 WINDRES="${ncn_tool_prefix}$2"
9297 if test -n "$WINDMC"; then
9298 ac_cv_prog_WINDMC=$WINDMC
9299 elif test -n "$ac_cv_prog_WINDMC"; then
9300 WINDMC=$ac_cv_prog_WINDMC
9303 if test -n "$ac_cv_prog_WINDMC"; then
9304 for ncn_progname in windmc; do
9305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9306 set dummy ${ncn_progname}; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9308 $as_echo_n "checking
for $ac_word...
" >&6; }
9309 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9310 $as_echo_n "(cached
) " >&6
9312 if test -n "$WINDMC"; then
9313 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_WINDMC="${ncn_progname}"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9332 WINDMC=$ac_cv_prog_WINDMC
9333 if test -n "$WINDMC"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9335 $as_echo "$WINDMC" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9338 $as_echo "no
" >&6; }
9345 for ncn_progname in windmc; do
9346 if test -n "$ncn_tool_prefix"; then
9347 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9348 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9387 set dummy ${ncn_progname}; ac_word=$2
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9389 $as_echo_n "checking
for $ac_word...
" >&6; }
9390 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9391 $as_echo_n "(cached
) " >&6
9393 if test -n "$WINDMC"; then
9394 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9400 test -z "$as_dir" && as_dir=.
9401 for ac_exec_ext in '' $ac_executable_extensions; do
9402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9403 ac_cv_prog_WINDMC="${ncn_progname}"
9404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9413 WINDMC=$ac_cv_prog_WINDMC
9414 if test -n "$WINDMC"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9416 $as_echo "$WINDMC" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9419 $as_echo "no
" >&6; }
9424 test -n "$ac_cv_prog_WINDMC" && break
9427 if test -z "$ac_cv_prog_WINDMC" ; then
9429 if test $build = $host ; then
9432 WINDMC="${ncn_tool_prefix}$2"
9438 if test -n "$OBJCOPY"; then
9439 ac_cv_prog_OBJCOPY=$OBJCOPY
9440 elif test -n "$ac_cv_prog_OBJCOPY"; then
9441 OBJCOPY=$ac_cv_prog_OBJCOPY
9444 if test -n "$ac_cv_prog_OBJCOPY"; then
9445 for ncn_progname in objcopy; do
9446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9447 set dummy ${ncn_progname}; ac_word=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9449 $as_echo_n "checking
for $ac_word...
" >&6; }
9450 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9451 $as_echo_n "(cached
) " >&6
9453 if test -n "$OBJCOPY"; then
9454 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir=.
9461 for ac_exec_ext in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_prog_OBJCOPY="${ncn_progname}"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9473 OBJCOPY=$ac_cv_prog_OBJCOPY
9474 if test -n "$OBJCOPY"; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9476 $as_echo "$OBJCOPY" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9479 $as_echo "no
" >&6; }
9486 for ncn_progname in objcopy; do
9487 if test -n "$ncn_tool_prefix"; then
9488 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9489 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9528 set dummy ${ncn_progname}; ac_word=$2
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9530 $as_echo_n "checking
for $ac_word...
" >&6; }
9531 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9532 $as_echo_n "(cached
) " >&6
9534 if test -n "$OBJCOPY"; then
9535 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir=.
9542 for ac_exec_ext in '' $ac_executable_extensions; do
9543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9544 ac_cv_prog_OBJCOPY="${ncn_progname}"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9554 OBJCOPY=$ac_cv_prog_OBJCOPY
9555 if test -n "$OBJCOPY"; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9557 $as_echo "$OBJCOPY" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9560 $as_echo "no
" >&6; }
9565 test -n "$ac_cv_prog_OBJCOPY" && break
9568 if test -z "$ac_cv_prog_OBJCOPY" ; then
9570 if test $build = $host ; then
9573 OBJCOPY="${ncn_tool_prefix}$2"
9579 if test -n "$OBJDUMP"; then
9580 ac_cv_prog_OBJDUMP=$OBJDUMP
9581 elif test -n "$ac_cv_prog_OBJDUMP"; then
9582 OBJDUMP=$ac_cv_prog_OBJDUMP
9585 if test -n "$ac_cv_prog_OBJDUMP"; then
9586 for ncn_progname in objdump; do
9587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9588 set dummy ${ncn_progname}; ac_word=$2
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9590 $as_echo_n "checking
for $ac_word...
" >&6; }
9591 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9592 $as_echo_n "(cached
) " >&6
9594 if test -n "$OBJDUMP"; then
9595 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9604 ac_cv_prog_OBJDUMP="${ncn_progname}"
9605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9614 OBJDUMP=$ac_cv_prog_OBJDUMP
9615 if test -n "$OBJDUMP"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9617 $as_echo "$OBJDUMP" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9620 $as_echo "no
" >&6; }
9627 for ncn_progname in objdump; do
9628 if test -n "$ncn_tool_prefix"; then
9629 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9630 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9669 set dummy ${ncn_progname}; ac_word=$2
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9671 $as_echo_n "checking
for $ac_word...
" >&6; }
9672 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9673 $as_echo_n "(cached
) " >&6
9675 if test -n "$OBJDUMP"; then
9676 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682 test -z "$as_dir" && as_dir=.
9683 for ac_exec_ext in '' $ac_executable_extensions; do
9684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9685 ac_cv_prog_OBJDUMP="${ncn_progname}"
9686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9695 OBJDUMP=$ac_cv_prog_OBJDUMP
9696 if test -n "$OBJDUMP"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9698 $as_echo "$OBJDUMP" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9701 $as_echo "no
" >&6; }
9706 test -n "$ac_cv_prog_OBJDUMP" && break
9709 if test -z "$ac_cv_prog_OBJDUMP" ; then
9711 if test $build = $host ; then
9714 OBJDUMP="${ncn_tool_prefix}$2"
9725 # Check whether --with-build-time-tools was given.
9726 if test "${with_build_time_tools+set}" = set; then :
9727 withval=$with_build_time_tools; case x"$withval" in
9730 with_build_time_tools=
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9732 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9736 with_build_time_tools=
9742 if test -n "$CC_FOR_TARGET"; then
9743 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9744 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9745 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9748 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9749 for ncn_progname in cc gcc; do
9750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9751 set dummy ${ncn_progname}; ac_word=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9753 $as_echo_n "checking
for $ac_word...
" >&6; }
9754 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9755 $as_echo_n "(cached
) " >&6
9757 if test -n "$CC_FOR_TARGET"; then
9758 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9777 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9778 if test -n "$CC_FOR_TARGET"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9780 $as_echo "$CC_FOR_TARGET" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9783 $as_echo "no
" >&6; }
9790 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9791 for ncn_progname in cc gcc; do
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9793 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9794 if test -x $with_build_time_tools/${ncn_progname}; then
9795 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9797 $as_echo "yes" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9801 $as_echo "no
" >&6; }
9806 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9807 for ncn_progname in cc gcc; do
9808 if test -n "$ncn_target_tool_prefix"; then
9809 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9810 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9812 $as_echo_n "checking
for $ac_word...
" >&6; }
9813 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9814 $as_echo_n "(cached
) " >&6
9816 if test -n "$CC_FOR_TARGET"; then
9817 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9823 test -z "$as_dir" && as_dir=.
9824 for ac_exec_ext in '' $ac_executable_extensions; do
9825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9826 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9836 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9837 if test -n "$CC_FOR_TARGET"; then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9839 $as_echo "$CC_FOR_TARGET" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9842 $as_echo "no
" >&6; }
9847 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9849 set dummy ${ncn_progname}; ac_word=$2
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9851 $as_echo_n "checking
for $ac_word...
" >&6; }
9852 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9853 $as_echo_n "(cached
) " >&6
9855 if test -n "$CC_FOR_TARGET"; then
9856 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9862 test -z "$as_dir" && as_dir=.
9863 for ac_exec_ext in '' $ac_executable_extensions; do
9864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9865 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9875 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9876 if test -n "$CC_FOR_TARGET"; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9878 $as_echo "$CC_FOR_TARGET" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9881 $as_echo "no
" >&6; }
9886 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9890 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9892 if test $build = $target ; then
9895 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9898 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9903 if test -n "$CXX_FOR_TARGET"; then
9904 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9905 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9906 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9909 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9910 for ncn_progname in c++ g++ cxx gxx; do
9911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9912 set dummy ${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_CXX_FOR_TARGET+set}" = set; then :
9916 $as_echo_n "(cached
) " >&6
9918 if test -n "$CXX_FOR_TARGET"; then
9919 ac_cv_prog_CXX_FOR_TARGET="$CXX_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_CXX_FOR_TARGET="${ncn_progname}"
9929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9938 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9939 if test -n "$CXX_FOR_TARGET"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9941 $as_echo "$CXX_FOR_TARGET" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9944 $as_echo "no
" >&6; }
9951 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9952 for ncn_progname in c++ g++ cxx gxx; do
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9954 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9955 if test -x $with_build_time_tools/${ncn_progname}; then
9956 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9958 $as_echo "yes" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9962 $as_echo "no
" >&6; }
9967 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9968 for ncn_progname in c++ g++ cxx gxx; do
9969 if test -n "$ncn_target_tool_prefix"; then
9970 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9971 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9973 $as_echo_n "checking
for $ac_word...
" >&6; }
9974 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9975 $as_echo_n "(cached
) " >&6
9977 if test -n "$CXX_FOR_TARGET"; then
9978 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9984 test -z "$as_dir" && as_dir=.
9985 for ac_exec_ext in '' $ac_executable_extensions; do
9986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9987 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9997 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9998 if test -n "$CXX_FOR_TARGET"; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10000 $as_echo "$CXX_FOR_TARGET" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10003 $as_echo "no
" >&6; }
10008 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10009 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10010 set dummy ${ncn_progname}; ac_word=$2
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10012 $as_echo_n "checking
for $ac_word...
" >&6; }
10013 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10014 $as_echo_n "(cached
) " >&6
10016 if test -n "$CXX_FOR_TARGET"; then
10017 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10026 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10036 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10037 if test -n "$CXX_FOR_TARGET"; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10039 $as_echo "$CXX_FOR_TARGET" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10042 $as_echo "no
" >&6; }
10047 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10051 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10052 set dummy c++ g++ cxx gxx
10053 if test $build = $target ; then
10054 CXX_FOR_TARGET="$2"
10056 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10059 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10064 if test -n "$GCC_FOR_TARGET"; then
10065 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10066 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10067 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10070 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10071 for ncn_progname in gcc; do
10072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10073 set dummy ${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_GCC_FOR_TARGET+set}" = set; then :
10077 $as_echo_n "(cached
) " >&6
10079 if test -n "$GCC_FOR_TARGET"; then
10080 ac_cv_prog_GCC_FOR_TARGET="$GCC_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_GCC_FOR_TARGET="${ncn_progname}"
10090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10099 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10100 if test -n "$GCC_FOR_TARGET"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10102 $as_echo "$GCC_FOR_TARGET" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10105 $as_echo "no
" >&6; }
10112 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10113 for ncn_progname in gcc; do
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10115 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10116 if test -x $with_build_time_tools/${ncn_progname}; then
10117 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10119 $as_echo "yes" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10123 $as_echo "no
" >&6; }
10128 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10129 for ncn_progname in gcc; do
10130 if test -n "$ncn_target_tool_prefix"; then
10131 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10132 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10134 $as_echo_n "checking
for $ac_word...
" >&6; }
10135 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10136 $as_echo_n "(cached
) " >&6
10138 if test -n "$GCC_FOR_TARGET"; then
10139 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10142 for as_dir in $PATH
10145 test -z "$as_dir" && as_dir=.
10146 for ac_exec_ext in '' $ac_executable_extensions; do
10147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10148 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10158 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10159 if test -n "$GCC_FOR_TARGET"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10161 $as_echo "$GCC_FOR_TARGET" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10164 $as_echo "no
" >&6; }
10169 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10171 set dummy ${ncn_progname}; ac_word=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10173 $as_echo_n "checking
for $ac_word...
" >&6; }
10174 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10175 $as_echo_n "(cached
) " >&6
10177 if test -n "$GCC_FOR_TARGET"; then
10178 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181 for as_dir in $PATH
10184 test -z "$as_dir" && as_dir=.
10185 for ac_exec_ext in '' $ac_executable_extensions; do
10186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10187 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10197 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10198 if test -n "$GCC_FOR_TARGET"; then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10200 $as_echo "$GCC_FOR_TARGET" >&6; }
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10203 $as_echo "no
" >&6; }
10208 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10212 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10213 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10215 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10220 if test -n "$GCJ_FOR_TARGET"; then
10221 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10222 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10223 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10226 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10227 for ncn_progname in gcj; do
10228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10229 set dummy ${ncn_progname}; ac_word=$2
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10231 $as_echo_n "checking
for $ac_word...
" >&6; }
10232 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10233 $as_echo_n "(cached
) " >&6
10235 if test -n "$GCJ_FOR_TARGET"; then
10236 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10239 for as_dir in $PATH
10242 test -z "$as_dir" && as_dir=.
10243 for ac_exec_ext in '' $ac_executable_extensions; do
10244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10245 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10255 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10256 if test -n "$GCJ_FOR_TARGET"; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10258 $as_echo "$GCJ_FOR_TARGET" >&6; }
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10261 $as_echo "no
" >&6; }
10268 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10269 for ncn_progname in gcj; do
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10271 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10272 if test -x $with_build_time_tools/${ncn_progname}; then
10273 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10275 $as_echo "yes" >&6; }
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10279 $as_echo "no
" >&6; }
10284 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10285 for ncn_progname in gcj; do
10286 if test -n "$ncn_target_tool_prefix"; then
10287 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10288 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10290 $as_echo_n "checking
for $ac_word...
" >&6; }
10291 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10292 $as_echo_n "(cached
) " >&6
10294 if test -n "$GCJ_FOR_TARGET"; then
10295 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10298 for as_dir in $PATH
10301 test -z "$as_dir" && as_dir=.
10302 for ac_exec_ext in '' $ac_executable_extensions; do
10303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10304 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10314 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10315 if test -n "$GCJ_FOR_TARGET"; then
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10317 $as_echo "$GCJ_FOR_TARGET" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10320 $as_echo "no
" >&6; }
10325 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10327 set dummy ${ncn_progname}; ac_word=$2
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10329 $as_echo_n "checking
for $ac_word...
" >&6; }
10330 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10331 $as_echo_n "(cached
) " >&6
10333 if test -n "$GCJ_FOR_TARGET"; then
10334 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10337 for as_dir in $PATH
10340 test -z "$as_dir" && as_dir=.
10341 for ac_exec_ext in '' $ac_executable_extensions; do
10342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10343 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10353 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10354 if test -n "$GCJ_FOR_TARGET"; then
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10356 $as_echo "$GCJ_FOR_TARGET" >&6; }
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10359 $as_echo "no
" >&6; }
10364 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10368 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10370 if test $build = $target ; then
10371 GCJ_FOR_TARGET="$2"
10373 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10376 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10381 if test -n "$GFORTRAN_FOR_TARGET"; then
10382 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10383 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10384 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10387 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10388 for ncn_progname in gfortran; do
10389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10390 set dummy ${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_GFORTRAN_FOR_TARGET+set}" = set; then :
10394 $as_echo_n "(cached
) " >&6
10396 if test -n "$GFORTRAN_FOR_TARGET"; then
10397 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_progname}"
10407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10416 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10417 if test -n "$GFORTRAN_FOR_TARGET"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10419 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10422 $as_echo "no
" >&6; }
10429 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10430 for ncn_progname in gfortran; do
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10432 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10433 if test -x $with_build_time_tools/${ncn_progname}; then
10434 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10436 $as_echo "yes" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10440 $as_echo "no
" >&6; }
10445 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10446 for ncn_progname in gfortran; do
10447 if test -n "$ncn_target_tool_prefix"; then
10448 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10449 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10451 $as_echo_n "checking
for $ac_word...
" >&6; }
10452 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10453 $as_echo_n "(cached
) " >&6
10455 if test -n "$GFORTRAN_FOR_TARGET"; then
10456 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10459 for as_dir in $PATH
10462 test -z "$as_dir" && as_dir=.
10463 for ac_exec_ext in '' $ac_executable_extensions; do
10464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10465 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10475 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10476 if test -n "$GFORTRAN_FOR_TARGET"; then
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10478 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10481 $as_echo "no
" >&6; }
10486 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10487 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10488 set dummy ${ncn_progname}; ac_word=$2
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10490 $as_echo_n "checking
for $ac_word...
" >&6; }
10491 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10492 $as_echo_n "(cached
) " >&6
10494 if test -n "$GFORTRAN_FOR_TARGET"; then
10495 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10498 for as_dir in $PATH
10501 test -z "$as_dir" && as_dir=.
10502 for ac_exec_ext in '' $ac_executable_extensions; do
10503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10504 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10514 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10515 if test -n "$GFORTRAN_FOR_TARGET"; then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10517 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10520 $as_echo "no
" >&6; }
10525 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10529 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10531 if test $build = $target ; then
10532 GFORTRAN_FOR_TARGET="$2"
10534 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10537 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10542 if test -n "$GOC_FOR_TARGET"; then
10543 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10544 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10545 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10548 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10549 for ncn_progname in gccgo; do
10550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10551 set dummy ${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_GOC_FOR_TARGET+set}" = set; then :
10555 $as_echo_n "(cached
) " >&6
10557 if test -n "$GOC_FOR_TARGET"; then
10558 ac_cv_prog_GOC_FOR_TARGET="$GOC_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_GOC_FOR_TARGET="${ncn_progname}"
10568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10577 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10578 if test -n "$GOC_FOR_TARGET"; then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10580 $as_echo "$GOC_FOR_TARGET" >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10583 $as_echo "no
" >&6; }
10590 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10591 for ncn_progname in gccgo; do
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10593 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10594 if test -x $with_build_time_tools/${ncn_progname}; then
10595 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10597 $as_echo "yes" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10601 $as_echo "no
" >&6; }
10606 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10607 for ncn_progname in gccgo; do
10608 if test -n "$ncn_target_tool_prefix"; then
10609 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10610 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10612 $as_echo_n "checking
for $ac_word...
" >&6; }
10613 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10614 $as_echo_n "(cached
) " >&6
10616 if test -n "$GOC_FOR_TARGET"; then
10617 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10620 for as_dir in $PATH
10623 test -z "$as_dir" && as_dir=.
10624 for ac_exec_ext in '' $ac_executable_extensions; do
10625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10626 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10636 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10637 if test -n "$GOC_FOR_TARGET"; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10639 $as_echo "$GOC_FOR_TARGET" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10642 $as_echo "no
" >&6; }
10647 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10649 set dummy ${ncn_progname}; ac_word=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10651 $as_echo_n "checking
for $ac_word...
" >&6; }
10652 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10653 $as_echo_n "(cached
) " >&6
10655 if test -n "$GOC_FOR_TARGET"; then
10656 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for ac_exec_ext in '' $ac_executable_extensions; do
10664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10665 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10675 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10676 if test -n "$GOC_FOR_TARGET"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10678 $as_echo "$GOC_FOR_TARGET" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10681 $as_echo "no
" >&6; }
10686 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10690 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10692 if test $build = $target ; then
10693 GOC_FOR_TARGET="$2"
10695 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10698 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10703 cat > conftest.c << \EOF
10708 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10709 have_gcc_for_target=yes
10711 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10712 have_gcc_for_target=no
10719 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10720 if test -n "$with_build_time_tools"; then
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10722 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10723 if test -x $with_build_time_tools/ar; then
10724 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10725 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10727 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10730 $as_echo "no
" >&6; }
10732 elif test $build != $host && test $have_gcc_for_target = yes; then
10733 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10734 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10735 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10738 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10739 # Extract the first word of "ar", so it can be a program name with args.
10740 set dummy ar; ac_word=$2
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10742 $as_echo_n "checking
for $ac_word...
" >&6; }
10743 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10744 $as_echo_n "(cached
) " >&6
10746 case $AR_FOR_TARGET in
10748 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $gcc_cv_tool_dirs
10755 test -z "$as_dir" && as_dir=.
10756 for ac_exec_ext in '' $ac_executable_extensions; do
10757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10758 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10769 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10770 if test -n "$AR_FOR_TARGET"; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10772 $as_echo "$AR_FOR_TARGET" >&6; }
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10775 $as_echo "no
" >&6; }
10780 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10783 if test -n "$AR_FOR_TARGET"; then
10784 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10785 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10786 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10789 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10790 for ncn_progname in ar; do
10791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10792 set dummy ${ncn_progname}; ac_word=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10794 $as_echo_n "checking
for $ac_word...
" >&6; }
10795 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10796 $as_echo_n "(cached
) " >&6
10798 if test -n "$AR_FOR_TARGET"; then
10799 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10802 for as_dir in $PATH
10805 test -z "$as_dir" && as_dir=.
10806 for ac_exec_ext in '' $ac_executable_extensions; do
10807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10808 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10818 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10819 if test -n "$AR_FOR_TARGET"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10821 $as_echo "$AR_FOR_TARGET" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10824 $as_echo "no
" >&6; }
10831 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10832 for ncn_progname in ar; do
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10834 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10835 if test -x $with_build_time_tools/${ncn_progname}; then
10836 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10838 $as_echo "yes" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10842 $as_echo "no
" >&6; }
10847 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10848 for ncn_progname in ar; do
10849 if test -n "$ncn_target_tool_prefix"; then
10850 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10851 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10853 $as_echo_n "checking
for $ac_word...
" >&6; }
10854 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10855 $as_echo_n "(cached
) " >&6
10857 if test -n "$AR_FOR_TARGET"; then
10858 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10861 for as_dir in $PATH
10864 test -z "$as_dir" && as_dir=.
10865 for ac_exec_ext in '' $ac_executable_extensions; do
10866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10867 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10877 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10878 if test -n "$AR_FOR_TARGET"; then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10880 $as_echo "$AR_FOR_TARGET" >&6; }
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10883 $as_echo "no
" >&6; }
10888 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10890 set dummy ${ncn_progname}; ac_word=$2
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10892 $as_echo_n "checking
for $ac_word...
" >&6; }
10893 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10894 $as_echo_n "(cached
) " >&6
10896 if test -n "$AR_FOR_TARGET"; then
10897 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10900 for as_dir in $PATH
10903 test -z "$as_dir" && as_dir=.
10904 for ac_exec_ext in '' $ac_executable_extensions; do
10905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10906 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10916 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10917 if test -n "$AR_FOR_TARGET"; then
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10919 $as_echo "$AR_FOR_TARGET" >&6; }
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10922 $as_echo "no
" >&6; }
10927 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10931 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10933 if test $build = $target ; then
10936 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10939 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10943 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10949 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10950 if test -n "$with_build_time_tools"; then
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10952 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10953 if test -x $with_build_time_tools/as; then
10954 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10955 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10957 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10960 $as_echo "no
" >&6; }
10962 elif test $build != $host && test $have_gcc_for_target = yes; then
10963 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10964 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10965 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10968 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10969 # Extract the first word of "as
", so it can be a program name with args.
10970 set dummy as; ac_word=$2
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10972 $as_echo_n "checking
for $ac_word...
" >&6; }
10973 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10974 $as_echo_n "(cached
) " >&6
10976 case $AS_FOR_TARGET in
10978 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10982 for as_dir in $gcc_cv_tool_dirs
10985 test -z "$as_dir" && as_dir=.
10986 for ac_exec_ext in '' $ac_executable_extensions; do
10987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10988 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10999 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11000 if test -n "$AS_FOR_TARGET"; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11002 $as_echo "$AS_FOR_TARGET" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11005 $as_echo "no
" >&6; }
11010 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11013 if test -n "$AS_FOR_TARGET"; then
11014 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11015 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11016 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11019 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11020 for ncn_progname in as; do
11021 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11022 set dummy ${ncn_progname}; ac_word=$2
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11024 $as_echo_n "checking
for $ac_word...
" >&6; }
11025 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11026 $as_echo_n "(cached
) " >&6
11028 if test -n "$AS_FOR_TARGET"; then
11029 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11032 for as_dir in $PATH
11035 test -z "$as_dir" && as_dir=.
11036 for ac_exec_ext in '' $ac_executable_extensions; do
11037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11038 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11048 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11049 if test -n "$AS_FOR_TARGET"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11051 $as_echo "$AS_FOR_TARGET" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11054 $as_echo "no
" >&6; }
11061 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11062 for ncn_progname in as; do
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11064 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11065 if test -x $with_build_time_tools/${ncn_progname}; then
11066 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11068 $as_echo "yes" >&6; }
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11072 $as_echo "no
" >&6; }
11077 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11078 for ncn_progname in as; do
11079 if test -n "$ncn_target_tool_prefix"; then
11080 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11081 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11083 $as_echo_n "checking
for $ac_word...
" >&6; }
11084 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11085 $as_echo_n "(cached
) " >&6
11087 if test -n "$AS_FOR_TARGET"; then
11088 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11091 for as_dir in $PATH
11094 test -z "$as_dir" && as_dir=.
11095 for ac_exec_ext in '' $ac_executable_extensions; do
11096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11097 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11107 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11108 if test -n "$AS_FOR_TARGET"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11110 $as_echo "$AS_FOR_TARGET" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11113 $as_echo "no
" >&6; }
11118 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11119 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11120 set dummy ${ncn_progname}; ac_word=$2
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11122 $as_echo_n "checking
for $ac_word...
" >&6; }
11123 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11124 $as_echo_n "(cached
) " >&6
11126 if test -n "$AS_FOR_TARGET"; then
11127 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11130 for as_dir in $PATH
11133 test -z "$as_dir" && as_dir=.
11134 for ac_exec_ext in '' $ac_executable_extensions; do
11135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11136 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11146 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11147 if test -n "$AS_FOR_TARGET"; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11149 $as_echo "$AS_FOR_TARGET" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11152 $as_echo "no
" >&6; }
11157 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11161 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11163 if test $build = $target ; then
11166 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11169 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11173 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11179 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11180 if test -n "$with_build_time_tools"; then
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11182 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11183 if test -x $with_build_time_tools/dlltool; then
11184 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11185 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11187 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11190 $as_echo "no
" >&6; }
11192 elif test $build != $host && test $have_gcc_for_target = yes; then
11193 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11194 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11195 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11198 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11199 # Extract the first word of "dlltool
", so it can be a program name with args.
11200 set dummy dlltool; ac_word=$2
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11202 $as_echo_n "checking
for $ac_word...
" >&6; }
11203 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11204 $as_echo_n "(cached
) " >&6
11206 case $DLLTOOL_FOR_TARGET in
11208 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11212 for as_dir in $gcc_cv_tool_dirs
11215 test -z "$as_dir" && as_dir=.
11216 for ac_exec_ext in '' $ac_executable_extensions; do
11217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11218 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11229 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11230 if test -n "$DLLTOOL_FOR_TARGET"; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11232 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11235 $as_echo "no
" >&6; }
11240 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11243 if test -n "$DLLTOOL_FOR_TARGET"; then
11244 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11245 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11246 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11249 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11250 for ncn_progname in dlltool; do
11251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11252 set dummy ${ncn_progname}; ac_word=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11254 $as_echo_n "checking
for $ac_word...
" >&6; }
11255 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11256 $as_echo_n "(cached
) " >&6
11258 if test -n "$DLLTOOL_FOR_TARGET"; then
11259 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11262 for as_dir in $PATH
11265 test -z "$as_dir" && as_dir=.
11266 for ac_exec_ext in '' $ac_executable_extensions; do
11267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11268 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11278 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11279 if test -n "$DLLTOOL_FOR_TARGET"; then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11281 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11284 $as_echo "no
" >&6; }
11291 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11292 for ncn_progname in dlltool; do
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11294 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11295 if test -x $with_build_time_tools/${ncn_progname}; then
11296 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11298 $as_echo "yes" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11302 $as_echo "no
" >&6; }
11307 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11308 for ncn_progname in dlltool; do
11309 if test -n "$ncn_target_tool_prefix"; then
11310 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11311 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11313 $as_echo_n "checking
for $ac_word...
" >&6; }
11314 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11315 $as_echo_n "(cached
) " >&6
11317 if test -n "$DLLTOOL_FOR_TARGET"; then
11318 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11321 for as_dir in $PATH
11324 test -z "$as_dir" && as_dir=.
11325 for ac_exec_ext in '' $ac_executable_extensions; do
11326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11327 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11337 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11338 if test -n "$DLLTOOL_FOR_TARGET"; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11340 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11343 $as_echo "no
" >&6; }
11348 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11349 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11350 set dummy ${ncn_progname}; ac_word=$2
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11352 $as_echo_n "checking
for $ac_word...
" >&6; }
11353 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11354 $as_echo_n "(cached
) " >&6
11356 if test -n "$DLLTOOL_FOR_TARGET"; then
11357 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11360 for as_dir in $PATH
11363 test -z "$as_dir" && as_dir=.
11364 for ac_exec_ext in '' $ac_executable_extensions; do
11365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11366 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11376 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11377 if test -n "$DLLTOOL_FOR_TARGET"; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11379 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11382 $as_echo "no
" >&6; }
11387 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11391 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11393 if test $build = $target ; then
11394 DLLTOOL_FOR_TARGET="$2"
11396 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11399 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11403 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11409 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11410 if test -n "$with_build_time_tools"; then
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11412 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11413 if test -x $with_build_time_tools/ld; then
11414 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11415 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11417 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11420 $as_echo "no
" >&6; }
11422 elif test $build != $host && test $have_gcc_for_target = yes; then
11423 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11424 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11425 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11428 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11429 # Extract the first word of "ld
", so it can be a program name with args.
11430 set dummy ld; ac_word=$2
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11432 $as_echo_n "checking
for $ac_word...
" >&6; }
11433 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11434 $as_echo_n "(cached
) " >&6
11436 case $LD_FOR_TARGET in
11438 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11442 for as_dir in $gcc_cv_tool_dirs
11445 test -z "$as_dir" && as_dir=.
11446 for ac_exec_ext in '' $ac_executable_extensions; do
11447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11448 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11459 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11460 if test -n "$LD_FOR_TARGET"; then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11462 $as_echo "$LD_FOR_TARGET" >&6; }
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11465 $as_echo "no
" >&6; }
11470 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11473 if test -n "$LD_FOR_TARGET"; then
11474 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11475 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11476 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11479 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11480 for ncn_progname in ld; do
11481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11482 set dummy ${ncn_progname}; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11484 $as_echo_n "checking
for $ac_word...
" >&6; }
11485 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11486 $as_echo_n "(cached
) " >&6
11488 if test -n "$LD_FOR_TARGET"; then
11489 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11492 for as_dir in $PATH
11495 test -z "$as_dir" && as_dir=.
11496 for ac_exec_ext in '' $ac_executable_extensions; do
11497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11498 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11508 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11509 if test -n "$LD_FOR_TARGET"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11511 $as_echo "$LD_FOR_TARGET" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11514 $as_echo "no
" >&6; }
11521 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11522 for ncn_progname in ld; do
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11524 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11525 if test -x $with_build_time_tools/${ncn_progname}; then
11526 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11528 $as_echo "yes" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11532 $as_echo "no
" >&6; }
11537 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11538 for ncn_progname in ld; do
11539 if test -n "$ncn_target_tool_prefix"; then
11540 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11541 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11543 $as_echo_n "checking
for $ac_word...
" >&6; }
11544 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11545 $as_echo_n "(cached
) " >&6
11547 if test -n "$LD_FOR_TARGET"; then
11548 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11551 for as_dir in $PATH
11554 test -z "$as_dir" && as_dir=.
11555 for ac_exec_ext in '' $ac_executable_extensions; do
11556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11557 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11567 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11568 if test -n "$LD_FOR_TARGET"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11570 $as_echo "$LD_FOR_TARGET" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11573 $as_echo "no
" >&6; }
11578 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11579 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11580 set dummy ${ncn_progname}; ac_word=$2
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11582 $as_echo_n "checking
for $ac_word...
" >&6; }
11583 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11584 $as_echo_n "(cached
) " >&6
11586 if test -n "$LD_FOR_TARGET"; then
11587 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11590 for as_dir in $PATH
11593 test -z "$as_dir" && as_dir=.
11594 for ac_exec_ext in '' $ac_executable_extensions; do
11595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11596 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11606 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11607 if test -n "$LD_FOR_TARGET"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11609 $as_echo "$LD_FOR_TARGET" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11612 $as_echo "no
" >&6; }
11617 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11621 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11623 if test $build = $target ; then
11626 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11629 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11633 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11639 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11640 if test -n "$with_build_time_tools"; then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11642 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11643 if test -x $with_build_time_tools/lipo; then
11644 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11645 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11647 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11650 $as_echo "no
" >&6; }
11652 elif test $build != $host && test $have_gcc_for_target = yes; then
11653 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11654 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11655 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11658 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11659 # Extract the first word of "lipo
", so it can be a program name with args.
11660 set dummy lipo; ac_word=$2
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11662 $as_echo_n "checking
for $ac_word...
" >&6; }
11663 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11664 $as_echo_n "(cached
) " >&6
11666 case $LIPO_FOR_TARGET in
11668 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11672 for as_dir in $gcc_cv_tool_dirs
11675 test -z "$as_dir" && as_dir=.
11676 for ac_exec_ext in '' $ac_executable_extensions; do
11677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11678 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11689 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11690 if test -n "$LIPO_FOR_TARGET"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11692 $as_echo "$LIPO_FOR_TARGET" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11695 $as_echo "no
" >&6; }
11700 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11703 if test -n "$LIPO_FOR_TARGET"; then
11704 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11705 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11706 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11709 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11710 for ncn_progname in lipo; do
11711 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11712 set dummy ${ncn_progname}; ac_word=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11714 $as_echo_n "checking
for $ac_word...
" >&6; }
11715 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11716 $as_echo_n "(cached
) " >&6
11718 if test -n "$LIPO_FOR_TARGET"; then
11719 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 for as_dir in $PATH
11725 test -z "$as_dir" && as_dir=.
11726 for ac_exec_ext in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11738 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11739 if test -n "$LIPO_FOR_TARGET"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11741 $as_echo "$LIPO_FOR_TARGET" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11744 $as_echo "no
" >&6; }
11751 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11752 for ncn_progname in lipo; do
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11754 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11755 if test -x $with_build_time_tools/${ncn_progname}; then
11756 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11758 $as_echo "yes" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11762 $as_echo "no
" >&6; }
11767 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11768 for ncn_progname in lipo; do
11769 if test -n "$ncn_target_tool_prefix"; then
11770 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11771 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11773 $as_echo_n "checking
for $ac_word...
" >&6; }
11774 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11775 $as_echo_n "(cached
) " >&6
11777 if test -n "$LIPO_FOR_TARGET"; then
11778 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11781 for as_dir in $PATH
11784 test -z "$as_dir" && as_dir=.
11785 for ac_exec_ext in '' $ac_executable_extensions; do
11786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11787 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11797 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11798 if test -n "$LIPO_FOR_TARGET"; then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11800 $as_echo "$LIPO_FOR_TARGET" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11803 $as_echo "no
" >&6; }
11808 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11809 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11810 set dummy ${ncn_progname}; ac_word=$2
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11812 $as_echo_n "checking
for $ac_word...
" >&6; }
11813 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11814 $as_echo_n "(cached
) " >&6
11816 if test -n "$LIPO_FOR_TARGET"; then
11817 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 for as_dir in $PATH
11823 test -z "$as_dir" && as_dir=.
11824 for ac_exec_ext in '' $ac_executable_extensions; do
11825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11826 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11836 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11837 if test -n "$LIPO_FOR_TARGET"; then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11839 $as_echo "$LIPO_FOR_TARGET" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11842 $as_echo "no
" >&6; }
11847 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11851 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11853 if test $build = $target ; then
11854 LIPO_FOR_TARGET="$2"
11856 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11859 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11863 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11869 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11870 if test -n "$with_build_time_tools"; then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11872 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11873 if test -x $with_build_time_tools/nm; then
11874 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11875 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11877 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11880 $as_echo "no
" >&6; }
11882 elif test $build != $host && test $have_gcc_for_target = yes; then
11883 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11884 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11885 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11888 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11889 # Extract the first word of "nm
", so it can be a program name with args.
11890 set dummy nm; ac_word=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11892 $as_echo_n "checking
for $ac_word...
" >&6; }
11893 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11894 $as_echo_n "(cached
) " >&6
11896 case $NM_FOR_TARGET in
11898 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11902 for as_dir in $gcc_cv_tool_dirs
11905 test -z "$as_dir" && as_dir=.
11906 for ac_exec_ext in '' $ac_executable_extensions; do
11907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11908 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11919 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11920 if test -n "$NM_FOR_TARGET"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11922 $as_echo "$NM_FOR_TARGET" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11925 $as_echo "no
" >&6; }
11930 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11933 if test -n "$NM_FOR_TARGET"; then
11934 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11935 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11936 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11939 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11940 for ncn_progname in nm; do
11941 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11942 set dummy ${ncn_progname}; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11944 $as_echo_n "checking
for $ac_word...
" >&6; }
11945 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11946 $as_echo_n "(cached
) " >&6
11948 if test -n "$NM_FOR_TARGET"; then
11949 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11952 for as_dir in $PATH
11955 test -z "$as_dir" && as_dir=.
11956 for ac_exec_ext in '' $ac_executable_extensions; do
11957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11968 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11969 if test -n "$NM_FOR_TARGET"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11971 $as_echo "$NM_FOR_TARGET" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11974 $as_echo "no
" >&6; }
11981 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11982 for ncn_progname in nm; do
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11984 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11985 if test -x $with_build_time_tools/${ncn_progname}; then
11986 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11988 $as_echo "yes" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11992 $as_echo "no
" >&6; }
11997 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11998 for ncn_progname in nm; do
11999 if test -n "$ncn_target_tool_prefix"; then
12000 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12001 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12003 $as_echo_n "checking
for $ac_word...
" >&6; }
12004 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12005 $as_echo_n "(cached
) " >&6
12007 if test -n "$NM_FOR_TARGET"; then
12008 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12011 for as_dir in $PATH
12014 test -z "$as_dir" && as_dir=.
12015 for ac_exec_ext in '' $ac_executable_extensions; do
12016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12017 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12027 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12028 if test -n "$NM_FOR_TARGET"; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12030 $as_echo "$NM_FOR_TARGET" >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12033 $as_echo "no
" >&6; }
12038 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12040 set dummy ${ncn_progname}; ac_word=$2
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12042 $as_echo_n "checking
for $ac_word...
" >&6; }
12043 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12044 $as_echo_n "(cached
) " >&6
12046 if test -n "$NM_FOR_TARGET"; then
12047 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12050 for as_dir in $PATH
12053 test -z "$as_dir" && as_dir=.
12054 for ac_exec_ext in '' $ac_executable_extensions; do
12055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12056 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12066 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12067 if test -n "$NM_FOR_TARGET"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12069 $as_echo "$NM_FOR_TARGET" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12072 $as_echo "no
" >&6; }
12077 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12081 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12083 if test $build = $target ; then
12086 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12089 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12093 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12099 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12100 if test -n "$with_build_time_tools"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12102 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12103 if test -x $with_build_time_tools/objdump; then
12104 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12105 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12107 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12110 $as_echo "no
" >&6; }
12112 elif test $build != $host && test $have_gcc_for_target = yes; then
12113 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12114 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12115 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12118 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12119 # Extract the first word of "objdump
", so it can be a program name with args.
12120 set dummy objdump; ac_word=$2
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12122 $as_echo_n "checking
for $ac_word...
" >&6; }
12123 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12124 $as_echo_n "(cached
) " >&6
12126 case $OBJDUMP_FOR_TARGET in
12128 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12132 for as_dir in $gcc_cv_tool_dirs
12135 test -z "$as_dir" && as_dir=.
12136 for ac_exec_ext in '' $ac_executable_extensions; do
12137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12138 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12149 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12150 if test -n "$OBJDUMP_FOR_TARGET"; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12152 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12155 $as_echo "no
" >&6; }
12160 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12163 if test -n "$OBJDUMP_FOR_TARGET"; then
12164 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12165 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12166 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12169 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12170 for ncn_progname in objdump; do
12171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12172 set dummy ${ncn_progname}; ac_word=$2
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12174 $as_echo_n "checking
for $ac_word...
" >&6; }
12175 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12176 $as_echo_n "(cached
) " >&6
12178 if test -n "$OBJDUMP_FOR_TARGET"; then
12179 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12188 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12198 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12199 if test -n "$OBJDUMP_FOR_TARGET"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12201 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12204 $as_echo "no
" >&6; }
12211 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12212 for ncn_progname in objdump; do
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12214 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12215 if test -x $with_build_time_tools/${ncn_progname}; then
12216 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12218 $as_echo "yes" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12222 $as_echo "no
" >&6; }
12227 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12228 for ncn_progname in objdump; do
12229 if test -n "$ncn_target_tool_prefix"; then
12230 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12231 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12233 $as_echo_n "checking
for $ac_word...
" >&6; }
12234 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12235 $as_echo_n "(cached
) " >&6
12237 if test -n "$OBJDUMP_FOR_TARGET"; then
12238 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12247 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12257 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12258 if test -n "$OBJDUMP_FOR_TARGET"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12260 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12263 $as_echo "no
" >&6; }
12268 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12270 set dummy ${ncn_progname}; ac_word=$2
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12272 $as_echo_n "checking
for $ac_word...
" >&6; }
12273 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12274 $as_echo_n "(cached
) " >&6
12276 if test -n "$OBJDUMP_FOR_TARGET"; then
12277 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12280 for as_dir in $PATH
12283 test -z "$as_dir" && as_dir=.
12284 for ac_exec_ext in '' $ac_executable_extensions; do
12285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12286 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12296 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12297 if test -n "$OBJDUMP_FOR_TARGET"; then
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12299 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12302 $as_echo "no
" >&6; }
12307 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12311 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12313 if test $build = $target ; then
12314 OBJDUMP_FOR_TARGET="$2"
12316 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12319 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12323 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12329 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12330 if test -n "$with_build_time_tools"; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12332 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12333 if test -x $with_build_time_tools/ranlib; then
12334 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12335 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12337 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12340 $as_echo "no
" >&6; }
12342 elif test $build != $host && test $have_gcc_for_target = yes; then
12343 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12344 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12345 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12348 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12349 # Extract the first word of "ranlib
", so it can be a program name with args.
12350 set dummy ranlib; ac_word=$2
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12352 $as_echo_n "checking
for $ac_word...
" >&6; }
12353 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12354 $as_echo_n "(cached
) " >&6
12356 case $RANLIB_FOR_TARGET in
12358 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12362 for as_dir in $gcc_cv_tool_dirs
12365 test -z "$as_dir" && as_dir=.
12366 for ac_exec_ext in '' $ac_executable_extensions; do
12367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12368 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12379 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12380 if test -n "$RANLIB_FOR_TARGET"; then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12382 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12385 $as_echo "no
" >&6; }
12390 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12393 if test -n "$RANLIB_FOR_TARGET"; then
12394 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12395 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12396 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12399 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12400 for ncn_progname in ranlib; do
12401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12402 set dummy ${ncn_progname}; ac_word=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12404 $as_echo_n "checking
for $ac_word...
" >&6; }
12405 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12406 $as_echo_n "(cached
) " >&6
12408 if test -n "$RANLIB_FOR_TARGET"; then
12409 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12412 for as_dir in $PATH
12415 test -z "$as_dir" && as_dir=.
12416 for ac_exec_ext in '' $ac_executable_extensions; do
12417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12418 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12428 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12429 if test -n "$RANLIB_FOR_TARGET"; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12431 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12434 $as_echo "no
" >&6; }
12441 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12442 for ncn_progname in ranlib; do
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12444 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12445 if test -x $with_build_time_tools/${ncn_progname}; then
12446 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12448 $as_echo "yes" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12452 $as_echo "no
" >&6; }
12457 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12458 for ncn_progname in ranlib; do
12459 if test -n "$ncn_target_tool_prefix"; then
12460 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12461 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12463 $as_echo_n "checking
for $ac_word...
" >&6; }
12464 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12465 $as_echo_n "(cached
) " >&6
12467 if test -n "$RANLIB_FOR_TARGET"; then
12468 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471 for as_dir in $PATH
12474 test -z "$as_dir" && as_dir=.
12475 for ac_exec_ext in '' $ac_executable_extensions; do
12476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12477 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12487 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12488 if test -n "$RANLIB_FOR_TARGET"; then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12490 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12493 $as_echo "no
" >&6; }
12498 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12500 set dummy ${ncn_progname}; ac_word=$2
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12502 $as_echo_n "checking
for $ac_word...
" >&6; }
12503 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12504 $as_echo_n "(cached
) " >&6
12506 if test -n "$RANLIB_FOR_TARGET"; then
12507 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12510 for as_dir in $PATH
12513 test -z "$as_dir" && as_dir=.
12514 for ac_exec_ext in '' $ac_executable_extensions; do
12515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12516 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12526 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12527 if test -n "$RANLIB_FOR_TARGET"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12529 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12532 $as_echo "no
" >&6; }
12537 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12541 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12543 if test $build = $target ; then
12544 RANLIB_FOR_TARGET="$2"
12546 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12549 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12553 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12559 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12560 if test -n "$with_build_time_tools"; then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12562 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12563 if test -x $with_build_time_tools/strip; then
12564 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12565 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12567 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12570 $as_echo "no
" >&6; }
12572 elif test $build != $host && test $have_gcc_for_target = yes; then
12573 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12574 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12575 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12578 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12579 # Extract the first word of "strip
", so it can be a program name with args.
12580 set dummy strip; ac_word=$2
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12582 $as_echo_n "checking
for $ac_word...
" >&6; }
12583 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12584 $as_echo_n "(cached
) " >&6
12586 case $STRIP_FOR_TARGET in
12588 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12592 for as_dir in $gcc_cv_tool_dirs
12595 test -z "$as_dir" && as_dir=.
12596 for ac_exec_ext in '' $ac_executable_extensions; do
12597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12598 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12609 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12610 if test -n "$STRIP_FOR_TARGET"; then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12612 $as_echo "$STRIP_FOR_TARGET" >&6; }
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12615 $as_echo "no
" >&6; }
12620 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12623 if test -n "$STRIP_FOR_TARGET"; then
12624 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12625 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12626 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12629 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12630 for ncn_progname in strip; do
12631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12632 set dummy ${ncn_progname}; ac_word=$2
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12634 $as_echo_n "checking
for $ac_word...
" >&6; }
12635 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12636 $as_echo_n "(cached
) " >&6
12638 if test -n "$STRIP_FOR_TARGET"; then
12639 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12642 for as_dir in $PATH
12645 test -z "$as_dir" && as_dir=.
12646 for ac_exec_ext in '' $ac_executable_extensions; do
12647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12648 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12658 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12659 if test -n "$STRIP_FOR_TARGET"; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12661 $as_echo "$STRIP_FOR_TARGET" >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12664 $as_echo "no
" >&6; }
12671 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12672 for ncn_progname in strip; do
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12674 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12675 if test -x $with_build_time_tools/${ncn_progname}; then
12676 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12678 $as_echo "yes" >&6; }
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12682 $as_echo "no
" >&6; }
12687 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12688 for ncn_progname in strip; do
12689 if test -n "$ncn_target_tool_prefix"; then
12690 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12691 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12693 $as_echo_n "checking
for $ac_word...
" >&6; }
12694 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12695 $as_echo_n "(cached
) " >&6
12697 if test -n "$STRIP_FOR_TARGET"; then
12698 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12701 for as_dir in $PATH
12704 test -z "$as_dir" && as_dir=.
12705 for ac_exec_ext in '' $ac_executable_extensions; do
12706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12707 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12717 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12718 if test -n "$STRIP_FOR_TARGET"; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12720 $as_echo "$STRIP_FOR_TARGET" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12723 $as_echo "no
" >&6; }
12728 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12729 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12730 set dummy ${ncn_progname}; ac_word=$2
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12732 $as_echo_n "checking
for $ac_word...
" >&6; }
12733 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12734 $as_echo_n "(cached
) " >&6
12736 if test -n "$STRIP_FOR_TARGET"; then
12737 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12740 for as_dir in $PATH
12743 test -z "$as_dir" && as_dir=.
12744 for ac_exec_ext in '' $ac_executable_extensions; do
12745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12746 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12756 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12757 if test -n "$STRIP_FOR_TARGET"; then
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12759 $as_echo "$STRIP_FOR_TARGET" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12762 $as_echo "no
" >&6; }
12767 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12771 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12773 if test $build = $target ; then
12774 STRIP_FOR_TARGET="$2"
12776 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12779 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12783 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12789 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12790 if test -n "$with_build_time_tools"; then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12792 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12793 if test -x $with_build_time_tools/windres; then
12794 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12795 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12797 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12800 $as_echo "no
" >&6; }
12802 elif test $build != $host && test $have_gcc_for_target = yes; then
12803 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12804 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12805 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12808 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12809 # Extract the first word of "windres
", so it can be a program name with args.
12810 set dummy windres; ac_word=$2
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12812 $as_echo_n "checking
for $ac_word...
" >&6; }
12813 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12814 $as_echo_n "(cached
) " >&6
12816 case $WINDRES_FOR_TARGET in
12818 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822 for as_dir in $gcc_cv_tool_dirs
12825 test -z "$as_dir" && as_dir=.
12826 for ac_exec_ext in '' $ac_executable_extensions; do
12827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12828 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12839 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12840 if test -n "$WINDRES_FOR_TARGET"; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12842 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12845 $as_echo "no
" >&6; }
12850 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12853 if test -n "$WINDRES_FOR_TARGET"; then
12854 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12855 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12856 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12859 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12860 for ncn_progname in windres; do
12861 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12862 set dummy ${ncn_progname}; ac_word=$2
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12864 $as_echo_n "checking
for $ac_word...
" >&6; }
12865 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12866 $as_echo_n "(cached
) " >&6
12868 if test -n "$WINDRES_FOR_TARGET"; then
12869 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12872 for as_dir in $PATH
12875 test -z "$as_dir" && as_dir=.
12876 for ac_exec_ext in '' $ac_executable_extensions; do
12877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12878 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12888 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12889 if test -n "$WINDRES_FOR_TARGET"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12891 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12894 $as_echo "no
" >&6; }
12901 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12902 for ncn_progname in windres; do
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12904 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12905 if test -x $with_build_time_tools/${ncn_progname}; then
12906 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12908 $as_echo "yes" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12912 $as_echo "no
" >&6; }
12917 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12918 for ncn_progname in windres; do
12919 if test -n "$ncn_target_tool_prefix"; then
12920 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12921 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12923 $as_echo_n "checking
for $ac_word...
" >&6; }
12924 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12925 $as_echo_n "(cached
) " >&6
12927 if test -n "$WINDRES_FOR_TARGET"; then
12928 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12931 for as_dir in $PATH
12934 test -z "$as_dir" && as_dir=.
12935 for ac_exec_ext in '' $ac_executable_extensions; do
12936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12937 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12947 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12948 if test -n "$WINDRES_FOR_TARGET"; then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12950 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12953 $as_echo "no
" >&6; }
12958 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12959 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12960 set dummy ${ncn_progname}; ac_word=$2
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12962 $as_echo_n "checking
for $ac_word...
" >&6; }
12963 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12964 $as_echo_n "(cached
) " >&6
12966 if test -n "$WINDRES_FOR_TARGET"; then
12967 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12970 for as_dir in $PATH
12973 test -z "$as_dir" && as_dir=.
12974 for ac_exec_ext in '' $ac_executable_extensions; do
12975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12976 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12986 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12987 if test -n "$WINDRES_FOR_TARGET"; then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12989 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12992 $as_echo "no
" >&6; }
12997 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13001 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13003 if test $build = $target ; then
13004 WINDRES_FOR_TARGET="$2"
13006 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13009 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13013 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13019 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13020 if test -n "$with_build_time_tools"; then
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13022 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13023 if test -x $with_build_time_tools/windmc; then
13024 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13025 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13027 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13030 $as_echo "no
" >&6; }
13032 elif test $build != $host && test $have_gcc_for_target = yes; then
13033 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13034 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13035 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13038 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13039 # Extract the first word of "windmc
", so it can be a program name with args.
13040 set dummy windmc; ac_word=$2
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13042 $as_echo_n "checking
for $ac_word...
" >&6; }
13043 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13044 $as_echo_n "(cached
) " >&6
13046 case $WINDMC_FOR_TARGET in
13048 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13052 for as_dir in $gcc_cv_tool_dirs
13055 test -z "$as_dir" && as_dir=.
13056 for ac_exec_ext in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13069 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13070 if test -n "$WINDMC_FOR_TARGET"; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13072 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13075 $as_echo "no
" >&6; }
13080 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13083 if test -n "$WINDMC_FOR_TARGET"; then
13084 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13085 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13086 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13089 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13090 for ncn_progname in windmc; do
13091 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13092 set dummy ${ncn_progname}; ac_word=$2
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13094 $as_echo_n "checking
for $ac_word...
" >&6; }
13095 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13096 $as_echo_n "(cached
) " >&6
13098 if test -n "$WINDMC_FOR_TARGET"; then
13099 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13118 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13119 if test -n "$WINDMC_FOR_TARGET"; then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13121 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13124 $as_echo "no
" >&6; }
13131 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13132 for ncn_progname in windmc; do
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13134 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13135 if test -x $with_build_time_tools/${ncn_progname}; then
13136 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13138 $as_echo "yes" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13142 $as_echo "no
" >&6; }
13147 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13148 for ncn_progname in windmc; do
13149 if test -n "$ncn_target_tool_prefix"; then
13150 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13151 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13153 $as_echo_n "checking
for $ac_word...
" >&6; }
13154 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13155 $as_echo_n "(cached
) " >&6
13157 if test -n "$WINDMC_FOR_TARGET"; then
13158 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13161 for as_dir in $PATH
13164 test -z "$as_dir" && as_dir=.
13165 for ac_exec_ext in '' $ac_executable_extensions; do
13166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13167 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13177 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13178 if test -n "$WINDMC_FOR_TARGET"; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13180 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13183 $as_echo "no
" >&6; }
13188 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13190 set dummy ${ncn_progname}; ac_word=$2
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13192 $as_echo_n "checking
for $ac_word...
" >&6; }
13193 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13194 $as_echo_n "(cached
) " >&6
13196 if test -n "$WINDMC_FOR_TARGET"; then
13197 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13200 for as_dir in $PATH
13203 test -z "$as_dir" && as_dir=.
13204 for ac_exec_ext in '' $ac_executable_extensions; do
13205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13206 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13216 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13217 if test -n "$WINDMC_FOR_TARGET"; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13219 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13222 $as_echo "no
" >&6; }
13227 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13231 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13233 if test $build = $target ; then
13234 WINDMC_FOR_TARGET="$2"
13236 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13239 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13243 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13247 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13250 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13251 if test "x
${build}" != "x
${host}" ; then
13252 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13253 # We already found the complete path
13254 ac_dir=`dirname $AR_FOR_TARGET`
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13256 $as_echo "pre-installed
in $ac_dir" >&6; }
13258 # Canadian cross, just use what we found
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13260 $as_echo "pre-installed
" >&6; }
13264 case " ${configdirs} " in
13269 if test $ok = yes; then
13270 # An in-tree tool is available and we can use it
13271 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13273 $as_echo "just compiled
" >&6; }
13274 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13275 # We already found the complete path
13276 ac_dir=`dirname $AR_FOR_TARGET`
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13278 $as_echo "pre-installed
in $ac_dir" >&6; }
13279 elif test "x
$target" = "x
$host"; then
13280 # We can use an host tool
13281 AR_FOR_TARGET='$(AR)'
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13283 $as_echo "host tool
" >&6; }
13285 # We need a cross tool
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13287 $as_echo "pre-installed
" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13292 $as_echo_n "checking where to
find the target as...
" >&6; }
13293 if test "x
${build}" != "x
${host}" ; then
13294 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13295 # We already found the complete path
13296 ac_dir=`dirname $AS_FOR_TARGET`
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13298 $as_echo "pre-installed
in $ac_dir" >&6; }
13300 # Canadian cross, just use what we found
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13302 $as_echo "pre-installed
" >&6; }
13306 case " ${configdirs} " in
13311 if test $ok = yes; then
13312 # An in-tree tool is available and we can use it
13313 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13315 $as_echo "just compiled
" >&6; }
13316 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13317 # We already found the complete path
13318 ac_dir=`dirname $AS_FOR_TARGET`
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13320 $as_echo "pre-installed
in $ac_dir" >&6; }
13321 elif test "x
$target" = "x
$host"; then
13322 # We can use an host tool
13323 AS_FOR_TARGET='$(AS)'
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13325 $as_echo "host tool
" >&6; }
13327 # We need a cross tool
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13329 $as_echo "pre-installed
" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13334 $as_echo_n "checking where to
find the target cc...
" >&6; }
13335 if test "x
${build}" != "x
${host}" ; then
13336 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13337 # We already found the complete path
13338 ac_dir=`dirname $CC_FOR_TARGET`
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13340 $as_echo "pre-installed
in $ac_dir" >&6; }
13342 # Canadian cross, just use what we found
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13344 $as_echo "pre-installed
" >&6; }
13348 case " ${configdirs} " in
13353 if test $ok = yes; then
13354 # An in-tree tool is available and we can use it
13355 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13357 $as_echo "just compiled
" >&6; }
13358 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13359 # We already found the complete path
13360 ac_dir=`dirname $CC_FOR_TARGET`
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13362 $as_echo "pre-installed
in $ac_dir" >&6; }
13363 elif test "x
$target" = "x
$host"; then
13364 # We can use an host tool
13365 CC_FOR_TARGET='$(CC)'
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13367 $as_echo "host tool
" >&6; }
13369 # We need a cross tool
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13371 $as_echo "pre-installed
" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13376 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13377 if test "x
${build}" != "x
${host}" ; then
13378 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13379 # We already found the complete path
13380 ac_dir=`dirname $CXX_FOR_TARGET`
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13382 $as_echo "pre-installed
in $ac_dir" >&6; }
13384 # Canadian cross, just use what we found
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13386 $as_echo "pre-installed
" >&6; }
13390 case " ${configdirs} " in
13394 case ,${enable_languages}, in
13398 if test $ok = yes; then
13399 # An in-tree tool is available and we can use it
13400 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -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'
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13402 $as_echo "just compiled
" >&6; }
13403 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13404 # We already found the complete path
13405 ac_dir=`dirname $CXX_FOR_TARGET`
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13407 $as_echo "pre-installed
in $ac_dir" >&6; }
13408 elif test "x
$target" = "x
$host"; then
13409 # We can use an host tool
13410 CXX_FOR_TARGET='$(CXX)'
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13412 $as_echo "host tool
" >&6; }
13414 # We need a cross tool
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13416 $as_echo "pre-installed
" >&6; }
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13421 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13422 if test "x
${build}" != "x
${host}" ; then
13423 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13424 # We already found the complete path
13425 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13427 $as_echo "pre-installed
in $ac_dir" >&6; }
13429 # Canadian cross, just use what we found
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13431 $as_echo "pre-installed
" >&6; }
13435 case " ${configdirs} " in
13439 case ,${enable_languages}, in
13443 if test $ok = yes; then
13444 # An in-tree tool is available and we can use it
13445 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'
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13447 $as_echo "just compiled
" >&6; }
13448 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13449 # We already found the complete path
13450 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13452 $as_echo "pre-installed
in $ac_dir" >&6; }
13453 elif test "x
$target" = "x
$host"; then
13454 # We can use an host tool
13455 RAW_CXX_FOR_TARGET='$(CXX)'
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13457 $as_echo "host tool
" >&6; }
13459 # We need a cross tool
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13461 $as_echo "pre-installed
" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13466 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13467 if test "x
${build}" != "x
${host}" ; then
13468 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13469 # We already found the complete path
13470 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13472 $as_echo "pre-installed
in $ac_dir" >&6; }
13474 # Canadian cross, just use what we found
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13476 $as_echo "pre-installed
" >&6; }
13480 case " ${configdirs} " in
13485 if test $ok = yes; then
13486 # An in-tree tool is available and we can use it
13487 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13489 $as_echo "just compiled
" >&6; }
13490 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13491 # We already found the complete path
13492 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13494 $as_echo "pre-installed
in $ac_dir" >&6; }
13495 elif test "x
$target" = "x
$host"; then
13496 # We can use an host tool
13497 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13499 $as_echo "host tool
" >&6; }
13501 # We need a cross tool
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13503 $as_echo "pre-installed
" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13508 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13509 if test "x
${build}" != "x
${host}" ; then
13510 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13511 # We already found the complete path
13512 ac_dir=`dirname $GCC_FOR_TARGET`
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13514 $as_echo "pre-installed
in $ac_dir" >&6; }
13516 # Canadian cross, just use what we found
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13518 $as_echo "pre-installed
" >&6; }
13522 case " ${configdirs} " in
13527 if test $ok = yes; then
13528 # An in-tree tool is available and we can use it
13529 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13531 $as_echo "just compiled
" >&6; }
13532 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13533 # We already found the complete path
13534 ac_dir=`dirname $GCC_FOR_TARGET`
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13536 $as_echo "pre-installed
in $ac_dir" >&6; }
13537 elif test "x
$target" = "x
$host"; then
13538 # We can use an host tool
13539 GCC_FOR_TARGET='$()'
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13541 $as_echo "host tool
" >&6; }
13543 # We need a cross tool
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13545 $as_echo "pre-installed
" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13550 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13551 if test "x
${build}" != "x
${host}" ; then
13552 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13553 # We already found the complete path
13554 ac_dir=`dirname $GCJ_FOR_TARGET`
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13556 $as_echo "pre-installed
in $ac_dir" >&6; }
13558 # Canadian cross, just use what we found
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13560 $as_echo "pre-installed
" >&6; }
13564 case " ${configdirs} " in
13568 case ,${enable_languages}, in
13572 if test $ok = yes; then
13573 # An in-tree tool is available and we can use it
13574 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13576 $as_echo "just compiled
" >&6; }
13577 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13578 # We already found the complete path
13579 ac_dir=`dirname $GCJ_FOR_TARGET`
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13581 $as_echo "pre-installed
in $ac_dir" >&6; }
13582 elif test "x
$target" = "x
$host"; then
13583 # We can use an host tool
13584 GCJ_FOR_TARGET='$(GCJ)'
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13586 $as_echo "host tool
" >&6; }
13588 # We need a cross tool
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13590 $as_echo "pre-installed
" >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13595 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13596 if test "x
${build}" != "x
${host}" ; then
13597 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13598 # We already found the complete path
13599 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13601 $as_echo "pre-installed
in $ac_dir" >&6; }
13603 # Canadian cross, just use what we found
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13605 $as_echo "pre-installed
" >&6; }
13609 case " ${configdirs} " in
13613 case ,${enable_languages}, in
13617 if test $ok = yes; then
13618 # An in-tree tool is available and we can use it
13619 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13621 $as_echo "just compiled
" >&6; }
13622 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13623 # We already found the complete path
13624 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13626 $as_echo "pre-installed
in $ac_dir" >&6; }
13627 elif test "x
$target" = "x
$host"; then
13628 # We can use an host tool
13629 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13631 $as_echo "host tool
" >&6; }
13633 # We need a cross tool
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13635 $as_echo "pre-installed
" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13640 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13641 if test "x
${build}" != "x
${host}" ; then
13642 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13643 # We already found the complete path
13644 ac_dir=`dirname $GOC_FOR_TARGET`
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13646 $as_echo "pre-installed
in $ac_dir" >&6; }
13648 # Canadian cross, just use what we found
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13650 $as_echo "pre-installed
" >&6; }
13654 case " ${configdirs} " in
13658 case ,${enable_languages}, in
13662 if test $ok = yes; then
13663 # An in-tree tool is available and we can use it
13664 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13666 $as_echo "just compiled
" >&6; }
13667 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13668 # We already found the complete path
13669 ac_dir=`dirname $GOC_FOR_TARGET`
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13671 $as_echo "pre-installed
in $ac_dir" >&6; }
13672 elif test "x
$target" = "x
$host"; then
13673 # We can use an host tool
13674 GOC_FOR_TARGET='$(GOC)'
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13676 $as_echo "host tool
" >&6; }
13678 # We need a cross tool
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13680 $as_echo "pre-installed
" >&6; }
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13685 $as_echo_n "checking where to
find the target ld...
" >&6; }
13686 if test "x
${build}" != "x
${host}" ; then
13687 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13688 # We already found the complete path
13689 ac_dir=`dirname $LD_FOR_TARGET`
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13691 $as_echo "pre-installed
in $ac_dir" >&6; }
13693 # Canadian cross, just use what we found
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13695 $as_echo "pre-installed
" >&6; }
13699 case " ${configdirs} " in
13704 if test $ok = yes; then
13705 # An in-tree tool is available and we can use it
13706 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13708 $as_echo "just compiled
" >&6; }
13709 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13710 # We already found the complete path
13711 ac_dir=`dirname $LD_FOR_TARGET`
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13713 $as_echo "pre-installed
in $ac_dir" >&6; }
13714 elif test "x
$target" = "x
$host"; then
13715 # We can use an host tool
13716 LD_FOR_TARGET='$(LD)'
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13718 $as_echo "host tool
" >&6; }
13720 # We need a cross tool
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13722 $as_echo "pre-installed
" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13727 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13728 if test "x
${build}" != "x
${host}" ; then
13729 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13730 # We already found the complete path
13731 ac_dir=`dirname $LIPO_FOR_TARGET`
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13733 $as_echo "pre-installed
in $ac_dir" >&6; }
13735 # Canadian cross, just use what we found
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13737 $as_echo "pre-installed
" >&6; }
13740 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13741 # We already found the complete path
13742 ac_dir=`dirname $LIPO_FOR_TARGET`
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13744 $as_echo "pre-installed
in $ac_dir" >&6; }
13745 elif test "x
$target" = "x
$host"; then
13746 # We can use an host tool
13747 LIPO_FOR_TARGET='$(LIPO)'
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13749 $as_echo "host tool
" >&6; }
13751 # We need a cross tool
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13753 $as_echo "pre-installed
" >&6; }
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13758 $as_echo_n "checking where to
find the target nm...
" >&6; }
13759 if test "x
${build}" != "x
${host}" ; then
13760 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13761 # We already found the complete path
13762 ac_dir=`dirname $NM_FOR_TARGET`
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13764 $as_echo "pre-installed
in $ac_dir" >&6; }
13766 # Canadian cross, just use what we found
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13768 $as_echo "pre-installed
" >&6; }
13772 case " ${configdirs} " in
13777 if test $ok = yes; then
13778 # An in-tree tool is available and we can use it
13779 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13781 $as_echo "just compiled
" >&6; }
13782 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13783 # We already found the complete path
13784 ac_dir=`dirname $NM_FOR_TARGET`
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13786 $as_echo "pre-installed
in $ac_dir" >&6; }
13787 elif test "x
$target" = "x
$host"; then
13788 # We can use an host tool
13789 NM_FOR_TARGET='$(NM)'
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13791 $as_echo "host tool
" >&6; }
13793 # We need a cross tool
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13795 $as_echo "pre-installed
" >&6; }
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13800 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13801 if test "x
${build}" != "x
${host}" ; then
13802 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13803 # We already found the complete path
13804 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13806 $as_echo "pre-installed
in $ac_dir" >&6; }
13808 # Canadian cross, just use what we found
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13810 $as_echo "pre-installed
" >&6; }
13814 case " ${configdirs} " in
13819 if test $ok = yes; then
13820 # An in-tree tool is available and we can use it
13821 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13823 $as_echo "just compiled
" >&6; }
13824 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13825 # We already found the complete path
13826 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13828 $as_echo "pre-installed
in $ac_dir" >&6; }
13829 elif test "x
$target" = "x
$host"; then
13830 # We can use an host tool
13831 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13833 $as_echo "host tool
" >&6; }
13835 # We need a cross tool
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13837 $as_echo "pre-installed
" >&6; }
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13842 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13843 if test "x
${build}" != "x
${host}" ; then
13844 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13845 # We already found the complete path
13846 ac_dir=`dirname $RANLIB_FOR_TARGET`
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13848 $as_echo "pre-installed
in $ac_dir" >&6; }
13850 # Canadian cross, just use what we found
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13852 $as_echo "pre-installed
" >&6; }
13856 case " ${configdirs} " in
13861 if test $ok = yes; then
13862 # An in-tree tool is available and we can use it
13863 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13865 $as_echo "just compiled
" >&6; }
13866 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13867 # We already found the complete path
13868 ac_dir=`dirname $RANLIB_FOR_TARGET`
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13870 $as_echo "pre-installed
in $ac_dir" >&6; }
13871 elif test "x
$target" = "x
$host"; then
13872 # We can use an host tool
13873 RANLIB_FOR_TARGET='$(RANLIB)'
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13875 $as_echo "host tool
" >&6; }
13877 # We need a cross tool
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13879 $as_echo "pre-installed
" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13884 $as_echo_n "checking where to
find the target strip...
" >&6; }
13885 if test "x
${build}" != "x
${host}" ; then
13886 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13887 # We already found the complete path
13888 ac_dir=`dirname $STRIP_FOR_TARGET`
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13890 $as_echo "pre-installed
in $ac_dir" >&6; }
13892 # Canadian cross, just use what we found
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13894 $as_echo "pre-installed
" >&6; }
13898 case " ${configdirs} " in
13903 if test $ok = yes; then
13904 # An in-tree tool is available and we can use it
13905 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13907 $as_echo "just compiled
" >&6; }
13908 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13909 # We already found the complete path
13910 ac_dir=`dirname $STRIP_FOR_TARGET`
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13912 $as_echo "pre-installed
in $ac_dir" >&6; }
13913 elif test "x
$target" = "x
$host"; then
13914 # We can use an host tool
13915 STRIP_FOR_TARGET='$(STRIP)'
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13917 $as_echo "host tool
" >&6; }
13919 # We need a cross tool
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13921 $as_echo "pre-installed
" >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13926 $as_echo_n "checking where to
find the target windres...
" >&6; }
13927 if test "x
${build}" != "x
${host}" ; then
13928 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13929 # We already found the complete path
13930 ac_dir=`dirname $WINDRES_FOR_TARGET`
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13932 $as_echo "pre-installed
in $ac_dir" >&6; }
13934 # Canadian cross, just use what we found
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13936 $as_echo "pre-installed
" >&6; }
13940 case " ${configdirs} " in
13945 if test $ok = yes; then
13946 # An in-tree tool is available and we can use it
13947 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13949 $as_echo "just compiled
" >&6; }
13950 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13951 # We already found the complete path
13952 ac_dir=`dirname $WINDRES_FOR_TARGET`
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13954 $as_echo "pre-installed
in $ac_dir" >&6; }
13955 elif test "x
$target" = "x
$host"; then
13956 # We can use an host tool
13957 WINDRES_FOR_TARGET='$(WINDRES)'
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13959 $as_echo "host tool
" >&6; }
13961 # We need a cross tool
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13963 $as_echo "pre-installed
" >&6; }
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13968 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13969 if test "x
${build}" != "x
${host}" ; then
13970 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13971 # We already found the complete path
13972 ac_dir=`dirname $WINDMC_FOR_TARGET`
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13974 $as_echo "pre-installed
in $ac_dir" >&6; }
13976 # Canadian cross, just use what we found
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13978 $as_echo "pre-installed
" >&6; }
13982 case " ${configdirs} " in
13987 if test $ok = yes; then
13988 # An in-tree tool is available and we can use it
13989 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13991 $as_echo "just compiled
" >&6; }
13992 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13993 # We already found the complete path
13994 ac_dir=`dirname $WINDMC_FOR_TARGET`
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13996 $as_echo "pre-installed
in $ac_dir" >&6; }
13997 elif test "x
$target" = "x
$host"; then
13998 # We can use an host tool
13999 WINDMC_FOR_TARGET='$(WINDMC)'
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14001 $as_echo "host tool
" >&6; }
14003 # We need a cross tool
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14005 $as_echo "pre-installed
" >&6; }
14013 # Certain tools may need extra flags.
14014 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14015 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14016 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14018 # When building target libraries, except in a Canadian cross, we use
14019 # the same toolchain as the compiler we just built.
14020 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14021 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14022 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14023 if test $host = $build; then
14024 case " $configdirs " in
14026 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14027 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14028 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14038 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14039 # Check whether --enable-maintainer-mode was given.
14040 if test "${enable_maintainer_mode+set}" = set; then :
14041 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14043 USE_MAINTAINER_MODE=no
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14047 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14050 if test "$USE_MAINTAINER_MODE" = yes; then
14051 MAINTAINER_MODE_TRUE=
14052 MAINTAINER_MODE_FALSE='#'
14054 MAINTAINER_MODE_TRUE='#'
14055 MAINTAINER_MODE_FALSE=
14057 MAINT=$MAINTAINER_MODE_TRUE
14059 # ---------------------
14060 # GCC bootstrap support
14061 # ---------------------
14063 # Stage specific cflags for build.
14068 yes) stage1_cflags="-g -Wa,-J" ;;
14069 *) stage1_cflags="-g -J" ;;
14073 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14074 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14075 saved_CFLAGS="$CFLAGS"
14077 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14078 CFLAGS="$CFLAGS -fkeep-inline-functions"
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14080 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 #if (__GNUC__ < 3) \
14085 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14086 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14087 #error http://gcc.gnu.org/PR29382
14098 if ac_fn_c_try_compile "$LINENO"; then :
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14100 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14103 $as_echo "no
" >&6; }
14105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 CFLAGS="$saved_CFLAGS"
14112 # Enable --enable-checking in stage1 of the compiler.
14113 # Check whether --enable-stage1-checking was given.
14114 if test "${enable_stage1_checking+set}" = set; then :
14115 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14117 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14118 stage1_checking=--enable-checking=yes,types
14120 stage1_checking=--enable-checking=$enable_checking,types
14126 # Enable -Werror in bootstrap stage2 and later.
14127 # Check whether --enable-werror was given.
14128 if test "${enable_werror+set}" = set; then :
14129 enableval=$enable_werror;
14131 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14138 case ${enable_werror} in
14139 yes) stage2_werror_flag="--enable-werror-always" ;;
14140 *) stage2_werror_flag="" ;;
14144 # Specify what files to not compare during bootstrap.
14146 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14148 hppa*64*-*-hpux*) ;;
14149 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14151 case " $configdirs " in
14152 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14156 ac_config_files="$ac_config_files Makefile
"
14158 cat >confcache <<\_ACEOF
14159 # This file is a shell script that caches the results of configure
14160 # tests run on this system so they can be shared between configure
14161 # scripts and configure runs, see configure's option --config-cache.
14162 # It is not useful on other systems. If it contains results you don't
14163 # want to keep, you may remove or edit it.
14165 # config.status only pays attention to the cache file if you give it
14166 # the --recheck option to rerun configure.
14168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14170 # following values.
14174 # The following way of writing the cache mishandles newlines in values,
14175 # but we know of no workaround that is simple, portable, and efficient.
14176 # So, we kill variables containing newlines.
14177 # Ultrix sh set writes to stderr and can't be redirected directly,
14178 # and sets the high bit in the cache file unless we assign to the vars.
14180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14181 eval ac_val=\$$ac_var
14185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14186 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14189 _ | IFS | as_nl) ;; #(
14190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14191 *) { eval $ac_var=; unset $ac_var;} ;;
14197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14198 *${as_nl}ac_space=\ *)
14199 # `set' does not quote correctly, so add quotes: double-quote
14200 # substitution turns \\\\ into \\, and sed turns \\ into \.
14203 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14206 # `set' quotes correctly as required by POSIX, so do not add quotes.
14207 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14221 if test -w "$cache_file"; then
14222 test "x
$cache_file" != "x
/dev
/null
" &&
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14224 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14225 cat confcache >$cache_file
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14228 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14233 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14234 # Let make expand exec_prefix.
14235 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14237 # Transform confdefs.h into DEFS.
14238 # Protect against shell expansion while executing Makefile rules.
14239 # Protect against Makefile macro expansion.
14241 # If the first sed substitution is executed (which looks for macros that
14242 # take arguments), then branch to the quote section. Otherwise,
14243 # look for a macro that doesn't take arguments.
14253 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14255 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14259 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14272 DEFS=`sed -n "$ac_script" confdefs.h`
14277 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14278 # 1. Remove the extension, and $U if already installed.
14279 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14280 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14281 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14282 # will be set to the directory where LIBOBJS objects are built.
14283 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14284 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14286 LIBOBJS=$ac_libobjs
14288 LTLIBOBJS=$ac_ltlibobjs
14292 : ${CONFIG_STATUS=./config.status}
14294 ac_clean_files_save=$ac_clean_files
14295 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14297 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14299 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14301 # Generated by $as_me.
14302 # Run this file to recreate the current configuration.
14303 # Compiler output produced by configure, useful for debugging
14304 # configure, is in config.log if it exists.
14307 ac_cs_recheck=false
14310 SHELL=\${CONFIG_SHELL-$SHELL}
14313 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14314 ## -------------------- ##
14315 ## M4sh Initialization. ##
14316 ## -------------------- ##
14318 # Be more Bourne compatible
14319 DUALCASE=1; export DUALCASE # for MKS sh
14320 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14323 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14324 # is contrary to our usage. Disable this feature.
14325 alias -g '${1+"$@"}'='"$@"'
14326 setopt NO_GLOB_SUBST
14328 case `(set -o) 2>/dev/null` in #(
14340 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14341 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14342 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14343 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14344 # Prefer a ksh shell builtin over an external printf program on Solaris,
14345 # but without wasting forks for bash or zsh.
14346 if test -z "$BASH_VERSION$ZSH_VERSION" \
14347 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14348 as_echo
='print -r --'
14349 as_echo_n
='print -rn --'
14350 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14351 as_echo
='printf %s\n'
14352 as_echo_n
='printf %s'
14354 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14355 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14356 as_echo_n
='/usr/ucb/echo -n'
14358 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14359 as_echo_n_body
='eval
14363 expr "X$arg" : "X\\(.*\\)$as_nl";
14364 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14366 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14368 export as_echo_n_body
14369 as_echo_n
='sh -c $as_echo_n_body as_echo'
14371 export as_echo_body
14372 as_echo
='sh -c $as_echo_body as_echo'
14375 # The user is always right.
14376 if test "${PATH_SEPARATOR+set}" != set; then
14378 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14379 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14386 # We need space, tab and new line, in precisely that order. Quoting is
14387 # there to prevent editors from complaining about space-tab.
14388 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14389 # splitting by setting IFS to empty value.)
14392 # Find who we are. Look in the path if we contain no directory separator.
14394 *[\\/]* ) as_myself
=$0 ;;
14395 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14396 for as_dir
in $PATH
14399 test -z "$as_dir" && as_dir
=.
14400 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14406 # We did not find ourselves, most probably we were run as `sh COMMAND'
14407 # in which case we are not to be found in the path.
14408 if test "x$as_myself" = x
; then
14411 if test ! -f "$as_myself"; then
14412 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14416 # Unset variables that we do not need and which cause bugs (e.g. in
14417 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14418 # suppresses any "Segmentation fault" message there. '((' could
14419 # trigger a bug in pdksh 5.2.14.
14420 for as_var
in BASH_ENV ENV MAIL MAILPATH
14421 do eval test x\
${$as_var+set} = xset \
14422 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14435 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14438 # as_fn_error ERROR [LINENO LOG_FD]
14439 # ---------------------------------
14440 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14441 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14442 # script with status $?, using 1 if that was 0.
14445 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14447 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14448 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14450 $as_echo "$as_me: error: $1" >&2
14451 as_fn_exit
$as_status
14455 # as_fn_set_status STATUS
14456 # -----------------------
14457 # Set $? to STATUS, without forking.
14458 as_fn_set_status
()
14461 } # as_fn_set_status
14463 # as_fn_exit STATUS
14464 # -----------------
14465 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14469 as_fn_set_status
$1
14475 # Portably unset VAR.
14478 { eval $1=; unset $1;}
14480 as_unset
=as_fn_unset
14481 # as_fn_append VAR VALUE
14482 # ----------------------
14483 # Append the text in VALUE to the end of the definition contained in VAR. Take
14484 # advantage of any shell optimizations that allow amortized linear growth over
14485 # repeated appends, instead of the typical quadratic growth present in naive
14487 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14488 eval 'as_fn_append ()
14499 # as_fn_arith ARG...
14500 # ------------------
14501 # Perform arithmetic evaluation on the ARGs, and store the result in the
14502 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14503 # must be portable across $(()) and expr.
14504 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14505 eval 'as_fn_arith ()
14512 as_val
=`expr "$@" || test $? -eq 1`
14517 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14518 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14524 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14525 as_basename
=basename
14530 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14536 as_me
=`$as_basename -- "$0" ||
14537 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14538 X"$0" : 'X\(//\)$' \| \
14539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14541 sed '/^.*\/\([^/][^/]*\)\/*$/{
14555 # Avoid depending upon Character Ranges.
14556 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14557 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14558 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14559 as_cr_digits
='0123456789'
14560 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14562 ECHO_C
= ECHO_N
= ECHO_T
=
14563 case `echo -n x` in #(((((
14565 case `echo 'xy\c'` in
14566 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14568 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14575 rm -f conf$$ conf$$.exe conf$$.
file
14576 if test -d conf$$.dir
; then
14577 rm -f conf$$.dir
/conf$$.
file
14580 mkdir conf$$.dir
2>/dev
/null
14582 if (echo >conf$$.
file) 2>/dev
/null
; then
14583 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14585 # ... but there are two gotchas:
14586 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14587 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14588 # In both cases, we have to default to `cp -p'.
14589 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14591 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14599 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14600 rmdir conf$$.dir
2>/dev
/null
14605 # Create "$as_dir" as a directory, including parents if necessary.
14610 -*) as_dir
=.
/$as_dir;;
14612 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14616 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14617 *) as_qdir
=$as_dir;;
14619 as_dirs
="'$as_qdir' $as_dirs"
14620 as_dir
=`$as_dirname -- "$as_dir" ||
14621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14622 X"$as_dir" : 'X\(//\)[^/]' \| \
14623 X"$as_dir" : 'X\(//\)$' \| \
14624 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14625 $as_echo X"$as_dir" |
14626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14630 /^X\(\/\/\)[^/].*/{
14643 test -d "$as_dir" && break
14645 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14646 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14650 if mkdir
-p .
2>/dev
/null
; then
14651 as_mkdir_p
='mkdir -p "$as_dir"'
14653 test -d .
/-p && rmdir .
/-p
14657 if test -x / >/dev
/null
2>&1; then
14658 as_test_x
='test -x'
14660 if ls -dL / >/dev
/null
2>&1; then
14667 if test -d "$1"; then
14673 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14674 ???[sx]*):;;*)false;;esac;fi
14678 as_executable_p
=$as_test_x
14680 # Sed expression to map a string onto a valid CPP name.
14681 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14683 # Sed expression to map a string onto a valid variable name.
14684 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14688 ## ----------------------------------- ##
14689 ## Main body of $CONFIG_STATUS script. ##
14690 ## ----------------------------------- ##
14692 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14695 # Save the log message, to keep $0 and so on meaningful, and to
14696 # report actual input values of CONFIG_FILES etc. instead of their
14697 # values after options handling.
14699 This file was extended by $as_me, which was
14700 generated by GNU Autoconf 2.64. Invocation command line was
14702 CONFIG_FILES = $CONFIG_FILES
14703 CONFIG_HEADERS = $CONFIG_HEADERS
14704 CONFIG_LINKS = $CONFIG_LINKS
14705 CONFIG_COMMANDS = $CONFIG_COMMANDS
14708 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14713 case $ac_config_files in *"
14714 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14720 # Files that config.status was made for.
14721 config_files="$ac_config_files"
14725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14727 \`$as_me' instantiates files and other configuration actions
14728 from templates according to the current configuration. Unless the files
14729 and actions are specified as TAGs, all are instantiated by default.
14731 Usage: $0 [OPTION]... [TAG]...
14733 -h, --help print this help, then exit
14734 -V, --version print version number and configuration settings, then exit
14735 -q, --quiet, --silent
14736 do not print progress messages
14737 -d, --debug don't remove temporary files
14738 --recheck update $as_me by reconfiguring in the same conditions
14739 --file=FILE[:TEMPLATE]
14740 instantiate the configuration file FILE
14742 Configuration files:
14745 Report bugs to the package provider."
14748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14751 configured by $0, generated by GNU Autoconf 2.64,
14752 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14754 Copyright (C) 2009 Free Software Foundation, Inc.
14755 This config.status script is free software; the Free Software Foundation
14756 gives unlimited permission to copy, distribute and modify it."
14762 test -n "\$AWK" || AWK=awk
14765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14766 # The default lists apply if the user does not specify any file.
14772 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14773 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14784 # Handling of the options.
14785 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14787 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14788 $as_echo "$ac_cs_version"; exit ;;
14789 --debug |
--debu |
--deb |
--de |
--d |
-d )
14791 --file |
--fil |
--fi |
--f )
14794 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14796 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14797 ac_need_defaults
=false
;;
14798 --he |
--h |
--help |
--hel |
-h )
14799 $as_echo "$ac_cs_usage"; exit ;;
14800 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14801 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14804 # This is an error.
14805 -*) as_fn_error
"unrecognized option: \`$1'
14806 Try \`$0 --help' for more information." ;;
14808 *) as_fn_append ac_config_targets
" $1"
14809 ac_need_defaults
=false
;;
14815 ac_configure_extra_args
=
14817 if $ac_cs_silent; then
14819 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14824 if \$ac_cs_recheck; then
14825 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14827 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14828 CONFIG_SHELL='$SHELL'
14829 export CONFIG_SHELL
14834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14838 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14839 ## Running $as_me. ##
14845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14849 extrasub_build="$extrasub_build"
14850 extrasub_host="$extrasub_host"
14851 extrasub_target="$extrasub_target"
14855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14857 # Handling of arguments.
14858 for ac_config_target
in $ac_config_targets
14860 case $ac_config_target in
14861 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14863 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14868 # If the user did not use the arguments to specify the items to instantiate,
14869 # then the envvar interface is used. Set only those that are not.
14870 # We use the long form for the default assignment because of an extremely
14871 # bizarre bug on SunOS 4.1.3.
14872 if $ac_need_defaults; then
14873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14876 # Have a temporary directory for convenience. Make it in the build tree
14877 # simply because there is no reason against having it here, and in addition,
14878 # creating and moving files from /tmp can sometimes cause problems.
14879 # Hook for its removal unless debugging.
14880 # Note that there is a small window in which the directory will not be cleaned:
14881 # after its creation but before its name has been assigned to `$tmp'.
14885 trap 'exit_status=$?
14886 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14888 trap 'as_fn_exit 1' 1 2 13 15
14890 # Create a (secure) tmp directory for tmp files.
14893 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14894 test -n "$tmp" && test -d "$tmp"
14897 tmp
=.
/conf$$
-$RANDOM
14898 (umask 077 && mkdir
"$tmp")
14899 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14901 # Set up the scripts for CONFIG_FILES section.
14902 # No need to generate them if there are no CONFIG_FILES.
14903 # This happens for instance with `./config.status config.h'.
14904 if test -n "$CONFIG_FILES"; then
14906 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14907 ac_cs_awk_getline
=:
14908 ac_cs_awk_pipe_init
=
14909 ac_cs_awk_read_file
='
14910 while ((getline aline < (F[key])) > 0)
14913 ac_cs_awk_pipe_fini
=
14915 ac_cs_awk_getline
=false
14916 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14917 ac_cs_awk_read_file
='
14919 print "cat " F[key] " &&"
14920 '$ac_cs_awk_pipe_init
14921 # The final `:' finishes the AND list.
14922 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14924 ac_cr
=`echo X | tr X '\015'`
14925 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14926 # But we know of no other shell where ac_cr would be empty at this
14927 # point, so we can use a bashism as a fallback.
14928 if test "x$ac_cr" = x
; then
14929 eval ac_cr
=\$
\'\\r
\'
14931 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14932 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14935 ac_cs_awk_cr
=$ac_cr
14938 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14941 # Create commands to substitute file output variables.
14943 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14944 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14945 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14948 } >conf$
$files.sh
&&
14949 . .
/conf$
$files.sh ||
14950 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14951 rm -f conf$
$files.sh
14954 echo "cat >conf$$subs.awk <<_ACEOF" &&
14955 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14957 } >conf$$subs.sh ||
14958 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14959 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14961 for ac_last_try in false false false false false :; do
14962 . ./conf$$subs.sh ||
14963 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14965 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14966 if test $ac_delim_n = $ac_delim_num; then
14968 elif $ac_last_try; then
14969 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14971 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14974 rm -f conf$$subs.sh
14976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14977 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14981 s/^/S["/; s
/!.
*/"]=/
14991 s/\(.\{148\}\).*/\1/
14993 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14998 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15005 s/\(.\{148\}\).*/\1/
15007 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15011 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15016 ' <conf$$subs.awk | sed '
15021 ' >>$CONFIG_STATUS || ac_write_fail=1
15022 rm -f conf$$subs.awk
15023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15025 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15026 for (key in S) S_is_set[key] = 1
15028 \$ac_cs_awk_pipe_init
15032 nfields = split(line, field, "@
")
15034 len = length(field[1])
15035 for (i = 2; i < nfields; i++) {
15037 keylen = length(key)
15038 if (S_is_set[key]) {
15040 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15041 len += length(value) + length(field[++i])
15046 if (nfields == 3 && !substed) {
15048 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15049 \$ac_cs_awk_read_file
15055 \$ac_cs_awk_pipe_fini
15058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15059 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15060 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15063 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15064 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15067 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15068 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15069 # trailing colons and then remove the whole line if VPATH becomes empty
15070 # (actually we leave an empty line to preserve line numbers).
15071 if test "x
$srcdir" = x.; then
15072 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15073 s/:*\$(srcdir):*/:/
15074 s/:*\${srcdir}:*/:/
15076 s/^\([^=]*=[ ]*\):*/\1/
15082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15083 fi # test -n "$CONFIG_FILES"
15086 eval set X " :F
$CONFIG_FILES "
15091 :[FHLC]) ac_mode=$ac_tag; continue;;
15093 case $ac_mode$ac_tag in
15095 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15096 :[FH]-) ac_tag=-:-;;
15097 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15114 -) ac_f="$tmp/stdin";;
15115 *) # Look for the file first in the build tree, then in the source tree
15116 # (if the path is not absolute). The absolute path cannot be DOS-style,
15117 # because $ac_f cannot contain `:'.
15121 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15123 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15125 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15126 as_fn_append ac_file_inputs " '$ac_f'"
15129 # Let's still pretend it is `configure' which instantiates (i.e., don't
15130 # use $as_me), people would be surprised to read:
15131 # /* config.h. Generated by config.status. */
15132 configure_input='Generated from '`
15133 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15135 if test x"$ac_file" != x-; then
15136 configure_input="$ac_file.
$configure_input"
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15138 $as_echo "$as_me: creating
$ac_file" >&6;}
15140 # Neutralize special characters interpreted by sed in replacement strings.
15141 case $configure_input in #(
15142 *\&* | *\|* | *\\* )
15143 ac_sed_conf_input=`$as_echo "$configure_input" |
15144 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15145 *) ac_sed_conf_input=$configure_input;;
15149 *:-:* | *:-) cat >"$tmp/stdin
" \
15150 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15155 ac_dir=`$as_dirname -- "$ac_file" ||
15156 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15157 X"$ac_file" : 'X\(//\)[^/]' \| \
15158 X"$ac_file" : 'X\(//\)$' \| \
15159 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15160 $as_echo X"$ac_file" |
15161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15165 /^X\(\/\/\)[^/].*/{
15178 as_dir="$ac_dir"; as_fn_mkdir_p
15182 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15184 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15185 # A "..
" for each directory in $ac_dir_suffix.
15186 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15187 case $ac_top_builddir_sub in
15188 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15189 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15192 ac_abs_top_builddir=$ac_pwd
15193 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15194 # for backward compatibility:
15195 ac_top_builddir=$ac_top_build_prefix
15198 .) # We are building in place.
15200 ac_top_srcdir=$ac_top_builddir_sub
15201 ac_abs_top_srcdir=$ac_pwd ;;
15202 [\\/]* | ?:[\\/]* ) # Absolute name.
15203 ac_srcdir=$srcdir$ac_dir_suffix;
15204 ac_top_srcdir=$srcdir
15205 ac_abs_top_srcdir=$srcdir ;;
15206 *) # Relative name.
15207 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15208 ac_top_srcdir=$ac_top_build_prefix$srcdir
15209 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15211 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15221 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15222 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15227 # If the template does not know about datarootdir, expand it.
15228 # FIXME: This hack should be removed a few years after 2.60.
15229 ac_datarootdir_hack=; ac_datarootdir_seen=
15240 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15241 *datarootdir*) ac_datarootdir_seen=yes;;
15242 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15244 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15247 ac_datarootdir_hack='
15248 s&@datadir@&$datadir&g
15249 s&@docdir@&$docdir&g
15250 s&@infodir@&$infodir&g
15251 s&@localedir@&$localedir&g
15252 s&@mandir@&$mandir&g
15253 s&\\\${datarootdir}&$datarootdir&g' ;;
15257 # Neutralize VPATH when `$srcdir' = `.'.
15258 # Shell code in configure.ac might set extrasub.
15259 # FIXME: do we really want to maintain this feature?
15260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15261 ac_sed_extra="$ac_vpsub
15264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15266 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15267 s|@configure_input@|
$ac_sed_conf_input|
;t t
15268 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15269 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15270 s
&@srcdir@
&$ac_srcdir&;t t
15271 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15272 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15273 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15274 s
&@builddir@
&$ac_builddir&;t t
15275 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15276 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15277 s
&@INSTALL@
&$ac_INSTALL&;t t
15278 $ac_datarootdir_hack
15280 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15281 if $ac_cs_awk_getline; then
15282 $AWK -f "$tmp/subs.
awk"
15284 $AWK -f "$tmp/subs.
awk" | $SHELL
15286 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15288 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15289 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15290 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15292 which seems to be undefined. Please make sure it is defined." >&5
15293 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15294 which seems to be undefined. Please make sure it is defined." >&2;}
15298 -) cat "$tmp/out" && rm -f "$tmp/out";;
15299 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15301 || as_fn_error "could not create $ac_file" "$LINENO" 5
15309 case $ac_file$ac_mode in
15310 "Makefile":F) sed "$extrasub_build" Makefile |
15311 sed "$extrasub_host" |
15312 sed "$extrasub_target" > mf$$
15313 mv -f mf$$ Makefile ;;
15321 ac_clean_files=$ac_clean_files_save
15323 test $ac_write_fail = 0 ||
15324 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15327 # configure is writing to config.log, and then calls config.status.
15328 # config.status does its own redirection, appending to config.log.
15329 # Unfortunately, on DOS this fails, as config.log is still kept open
15330 # by configure, so config.status won't be able to
write to it
; its
15331 # output is simply discarded. So we exec the FD to /dev/null,
15332 # effectively closing config.log, so it can be properly (re)opened and
15333 # appended to by config.status. When coming back to configure, we
15334 # need to make the FD available again.
15335 if test "$no_create" != yes; then
15337 ac_config_status_args
=
15338 test "$silent" = yes &&
15339 ac_config_status_args
="$ac_config_status_args --quiet"
15341 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15343 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15344 # would make configure fail if this is the last instruction.
15345 $ac_cs_success || as_fn_exit $?
15347 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15349 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}