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
642 DEBUG_PREFIX_CFLAGS_FOR_TARGET
643 SYSROOT_CFLAGS_FOR_TARGET
645 extra_host_libiberty_configure_flags
653 extra_isl_gmp_configure_flags
654 extra_mpc_mpfr_configure_flags
655 extra_mpc_gmp_configure_flags
656 extra_mpfr_configure_flags
672 EXTRA_CONFIGARGS_LIBJAVA
699 TOPLEVEL_CONFIGURE_ARGUMENTS
727 program_transform_name
738 ac_subst_files
='serialization_dependencies
744 enable_option_checking
749 enable_libquadmath_support
752 enable_static_libjava
774 enable_isl_version_check
777 enable_cloog_version_check
779 enable_stage1_languages
782 with_debug_prefix_map
784 enable_serial_configure
785 with_build_time_tools
786 enable_maintainer_mode
787 enable_stage1_checking
790 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information."
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 as_fn_error
"path to source, $srcdir, contains spaces"
1367 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures this package to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1461 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1462 --disable-libquadmath do not build libquadmath directory
1463 --disable-libquadmath-support
1464 disable libquadmath support
for Fortran
1465 --enable-libada build libada directory
1466 --enable-libssp build libssp directory
1467 --enable-static-libjava[=ARG
]
1468 build static libjava
[default
=no
]
1469 --enable-bootstrap enable bootstrapping
[yes if native build
]
1470 --disable-isl-version-check
1471 disable check
for ISL version
1472 --disable-cloog-version-check
1473 disable check
for CLooG version
1474 --enable-lto enable link
time optimization support
1475 --enable-stage1-languages[=all
]
1476 choose additional languages to build during stage1.
1477 Mostly useful
for compiler development
1478 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1480 --enable-serial-[{host,target,build}-]configure
1481 force sequential configuration of sub-packages for
1482 the host, target or build machine, or all
1484 --enable-maintainer-mode
1485 enable make rules and dependencies not useful (and
1486 sometimes confusing) to the casual installer
1487 --enable-stage1-checking[=all]
1488 choose additional checking for stage1 of the
1490 --enable-werror enable -Werror in bootstrap stage2 and later
1493 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1494 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1495 --with-build-libsubdir=DIR Directory where to find libraries for build system
1496 --with-mpc=PATH specify prefix directory for installed MPC package.
1497 Equivalent to --with-mpc-include=PATH/include plus
1498 --with-mpc-lib=PATH/lib
1499 --with-mpc-include=PATH specify directory for installed MPC include files
1500 --with-mpc-lib=PATH specify directory for the installed MPC library
1501 --with-mpfr-dir=PATH this option has been REMOVED
1502 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1503 Equivalent to --with-mpfr-include=PATH/include plus
1504 --with-mpfr-lib=PATH/lib
1505 --with-mpfr-include=PATH
1506 specify directory for installed MPFR include files
1507 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1508 --with-gmp-dir=PATH this option has been REMOVED
1509 --with-gmp=PATH specify prefix directory for the installed GMP
1510 package. Equivalent to
1511 --with-gmp-include=PATH/include plus
1512 --with-gmp-lib=PATH/lib
1513 --with-gmp-include=PATH specify directory for installed GMP include files
1514 --with-gmp-lib=PATH specify directory for the installed GMP library
1515 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1517 --with-stage1-ldflags=FLAGS
1518 linker flags for stage1
1519 --with-stage1-libs=LIBS libraries for stage1
1520 --with-boot-libs=LIBS libraries for stage2 and later
1521 --with-boot-ldflags=FLAGS
1522 linker flags for stage2 and later
1523 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1524 package. Equivalent to
1525 --with-cloog-include=PATH/include plus
1526 --with-cloog-lib=PATH/lib
1527 --with-isl=PATH Specify prefix directory for the installed ISL
1528 package. Equivalent to
1529 --with-isl-include=PATH/include plus
1530 --with-isl-lib=PATH/lib
1531 --with-isl-include=PATH Specify directory for installed ISL include files
1532 --with-isl-lib=PATH Specify the directory for the installed ISL library
1533 --with-cloog-include=PATH
1534 Specify directory for installed CLooG include files
1535 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1537 --with-build-sysroot=SYSROOT
1538 use sysroot as the system root during the build
1539 --with-debug-prefix-map='A
=B C
=D ...
'
1540 map A to B, C to D ... in debug information
1541 --with-build-config='NAME NAME2...
'
1542 use config/NAME.mk build configuration
1543 --with-build-time-tools=PATH
1544 use given path to find target tools during the build
1546 Some influential environment variables:
1547 CC C compiler command
1548 CFLAGS C compiler flags
1549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1550 nonstandard directory <lib dir>
1551 LIBS libraries to pass to the linker, e.g. -l<library>
1552 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1553 you have headers in a nonstandard directory <include dir>
1554 CXX C++ compiler command
1555 CXXFLAGS C++ compiler flags
1557 additional configure arguments for build directories
1559 additional configure arguments for host directories
1561 additional configure arguments for target directories
1564 DLLTOOL DLLTOOL for the host
1566 LIPO LIPO for the host
1568 RANLIB RANLIB for the host
1569 STRIP STRIP for the host
1570 WINDRES WINDRES for the host
1571 WINDMC WINDMC for the host
1572 OBJCOPY OBJCOPY for the host
1573 OBJDUMP OBJDUMP for the host
1574 READELF READELF for the host
1584 GFORTRAN for the target
1592 DLLTOOL for the target
1600 OBJDUMP for the target
1602 RANLIB for the target
1604 READELF for the target
1606 STRIP for the target
1608 WINDRES for the target
1610 WINDMC for the target
1612 Use these variables to override the choices made by `configure' or to
help
1613 it to
find libraries and programs with nonstandard names
/locations.
1615 Report bugs to the package provider.
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1629 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1631 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1636 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1639 ac_abs_top_builddir
=$ac_pwd
1640 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir
=$ac_top_build_prefix
1645 .
) # We are building in place.
1647 ac_top_srcdir
=$ac_top_builddir_sub
1648 ac_abs_top_srcdir
=$ac_pwd ;;
1649 [\\/]* | ?
:[\\/]* ) # Absolute name.
1650 ac_srcdir
=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir
=$srcdir
1652 ac_abs_top_srcdir
=$srcdir ;;
1654 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1658 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1660 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1679 generated by GNU Autoconf
2.64
1681 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1682 This configure
script is free software
; the Free Software Foundation
1683 gives unlimited permission to copy
, distribute and modify it.
1688 ## ------------------------ ##
1689 ## Autoconf initialization. ##
1690 ## ------------------------ ##
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 rm -f conftest.
$ac_objext
1699 if { { ac_try
="$ac_compile"
1701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 } # ac_fn_c_try_compile
1730 # ac_fn_cxx_try_compile LINENO
1731 # ----------------------------
1732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_compile ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext
1737 if { { ac_try="$ac_compile"
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_compile") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest.
$ac_objext; then :
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1766 } # ac_fn_cxx_try_compile
1768 # ac_fn_c_try_link LINENO
1769 # -----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 rm -f conftest.
$ac_objext conftest
$ac_exeext
1775 if { { ac_try
="$ac_link"
1777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 $as_test_x conftest$ac_exeext
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806 # interfere with the next link command; also delete a directory that is
1807 # left behind by Apple's compiler. We do this before executing the actions.
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_c_try_link
1814 # ac_fn_c_try_run LINENO
1815 # ----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1817 # that executables *can* be run.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1832 { { case "(($ac_try" in
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_try") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; }; }; then :
1844 $as_echo "$as_me: program exited with status $ac_status" >&5
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1848 ac_retval=$ac_status
1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 cat >config.log <<_ACEOF
1856 This file contains any messages produced by compilers while
1857 running configure, to aid debugging if configure makes a mistake.
1859 It was created by $as_me, which was
1860 generated by GNU Autoconf 2.64. Invocation command line was
1872 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1873 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1874 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1875 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1876 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1878 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1879 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1881 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1882 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1883 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1884 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1885 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1886 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1887 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 $as_echo "PATH: $as_dir"
1912 # Keep a trace of the command line.
1913 # Strip out --no-create and --no-recursion so they do not pile up.
1914 # Strip out --silent because we don't want to record it for future runs.
1915 # Also quote any args containing shell meta-characters.
1916 # Make two passes to allow for proper duplicate-argument suppression.
1920 ac_must_keep_next=false
1926 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1928 | -silent | --silent | --silen | --sile | --sil)
1931 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1934 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1936 as_fn_append ac_configure_args1 " '$ac_arg'"
1937 if test $ac_must_keep_next = true; then
1938 ac_must_keep_next=false # Got value, back to normal.
1941 *=* | --config-cache | -C | -disable-* | --disable-* \
1942 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1943 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1944 | -with-* | --with-* | -without-* | --without-* | --x)
1945 case "$ac_configure_args0 " in
1946 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1949 -* ) ac_must_keep_next=true ;;
1952 as_fn_append ac_configure_args " '$ac_arg'"
1957 { ac_configure_args0=; unset ac_configure_args0;}
1958 { ac_configure_args1=; unset ac_configure_args1;}
1960 # When interrupted or exit'd, cleanup temporary files, and complete
1961 # config.log. We remove comments because anyway the quotes in there
1962 # would cause problems or look ugly.
1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1965 trap 'exit_status=$?
1966 # Save into config.log some information that might help in debugging.
1971 ## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##
1976 # The following way of writing the cache mishandles newlines in values,
1978 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1979 eval ac_val=\$$ac_var
1983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1987 _ | IFS | as_nl) ;; #(
1988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1989 *) { eval $ac_var=; unset $ac_var;} ;;
1994 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1995 *${as_nl}ac_space=\ *)
1997 "s/'\''/'\''\\\\'\'''\''/g;
1998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2009 ## ----------------- ##
2010 ## Output variables. ##
2011 ## ----------------- ##
2014 for ac_var in $ac_subst_vars
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2024 if test -n "$ac_subst_files"; then
2026 ## ------------------- ##
2027 ## File substitutions. ##
2028 ## ------------------- ##
2031 for ac_var in $ac_subst_files
2033 eval ac_val=\$$ac_var
2035 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2037 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -s confdefs.h; then
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 for ac_signal in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest* confdefs.h
2068 $as_echo "/* confdefs.h */" > confdefs.h
2070 # Predefined preprocessor variables.
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2101 if test -n "$CONFIG_SITE"; then
2102 ac_site_file1=$CONFIG_SITE
2103 elif test "x$prefix" != xNONE; then
2104 ac_site_file1=$prefix/share/config.site
2105 ac_site_file2=$prefix/etc/config.site
2107 ac_site_file1=$ac_default_prefix/share/config.site
2108 ac_site_file2=$ac_default_prefix/etc/config.site
2110 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2112 test "x$ac_site_file" = xNONE && continue
2113 if test -r "$ac_site_file"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2115 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2116 sed 's/^/| /' "$ac_site_file" >&5
2121 if test -r "$cache_file"; then
2122 # Some versions of bash will fail to source /dev/null (special
2123 # files actually), so we avoid doing that.
2124 if test -f "$cache_file"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2126 $as_echo "$as_me: loading cache $cache_file" >&6;}
2128 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2129 *) . "./$cache_file";;
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2134 $as_echo "$as_me: creating cache $cache_file" >&6;}
2138 # Check that the precious variables saved in the cache have kept the same
2140 ac_cache_corrupted=false
2141 for ac_var in $ac_precious_vars; do
2142 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2143 eval ac_new_set=\$ac_env_${ac_var}_set
2144 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2145 eval ac_new_val=\$ac_env_${ac_var}_value
2146 case $ac_old_set,$ac_new_set in
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2149 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2150 ac_cache_corrupted=: ;;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2153 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2154 ac_cache_corrupted=: ;;
2157 if test "x$ac_old_val" != "x$ac_new_val"; then
2158 # differences in whitespace do not lead to failure.
2159 ac_old_val_w=`echo x
$ac_old_val`
2160 ac_new_val_w=`echo x
$ac_new_val`
2161 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2163 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2164 ac_cache_corrupted=:
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2167 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2168 eval $ac_var=\$ac_old_val
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2171 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2173 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2176 # Pass precious variables to config.status.
2177 if test "$ac_new_set" = set; then
2179 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2180 *) ac_arg=$ac_var=$ac_new_val ;;
2182 case " $ac_configure_args " in
2183 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2184 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2188 if $ac_cache_corrupted; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2192 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2193 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2195 ## -------------------- ##
2196 ## Main body of script. ##
2197 ## -------------------- ##
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 # if PWD already has a value, it is probably wrong.
2215 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2217 # Export original configure arguments for use by sub-configures.
2218 # Quote arguments with shell meta charatcers.
2219 TOPLEVEL_CONFIGURE_ARGUMENTS=
2220 set -- "$progname" "$@"
2224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2225 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2226 # if the argument is of the form -foo=baz, quote the baz part only
2227 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2230 # Add the quoted argument to the list.
2231 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2233 if test "$silent" = yes; then
2234 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2236 # Remove the initial space we just introduced and, as these will be
2237 # expanded by make, quote '$'.
2238 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2241 # Find the build, host, and target systems.
2243 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2244 for ac_t in install-sh install.sh shtool; do
2245 if test -f "$ac_dir/$ac_t"; then
2247 ac_install_sh="$ac_aux_dir/$ac_t -c"
2252 if test -z "$ac_aux_dir"; then
2253 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2256 # These three variables are undocumented and unsupported,
2257 # and are intended to be withdrawn in a future Autoconf release.
2258 # They can cause serious problems if a builder's source tree is in a directory
2259 # whose full name contains unusual characters.
2260 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2261 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2262 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2265 # Make sure we can run config.sub.
2266 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2267 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2270 $as_echo_n "checking build system type... " >&6; }
2271 if test "${ac_cv_build+set}" = set; then :
2272 $as_echo_n "(cached) " >&6
2274 ac_build_alias=$build_alias
2275 test "x$ac_build_alias" = x &&
2276 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2277 test "x$ac_build_alias" = x &&
2278 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2279 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2280 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2284 $as_echo "$ac_cv_build" >&6; }
2285 case $ac_cv_build in
2287 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2290 ac_save_IFS=$IFS; IFS='-'
2296 # Remember, the first character of IFS is used to create $*,
2297 # except with old shells:
2300 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2303 case ${build_alias} in
2304 "") build_noncanonical=${build} ;;
2305 *) build_noncanonical=${build_alias} ;;
2310 case ${host_alias} in
2311 "") host_noncanonical=${build_noncanonical} ;;
2312 *) host_noncanonical=${host_alias} ;;
2317 case ${target_alias} in
2318 "") target_noncanonical=${host_noncanonical} ;;
2319 *) target_noncanonical=${target_alias} ;;
2325 test "$host_noncanonical" = "$target_noncanonical" &&
2326 test "$program_prefix$program_suffix$program_transform_name" = \
2328 program_transform_name=s,y,y,
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2331 $as_echo_n "checking host system type... " >&6; }
2332 if test "${ac_cv_host+set}" = set; then :
2333 $as_echo_n "(cached) " >&6
2335 if test "x$host_alias" = x; then
2336 ac_cv_host=$ac_cv_build
2338 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2339 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2344 $as_echo "$ac_cv_host" >&6; }
2347 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2350 ac_save_IFS=$IFS; IFS='-'
2356 # Remember, the first character of IFS is used to create $*,
2357 # except with old shells:
2360 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2364 $as_echo_n "checking target system type... " >&6; }
2365 if test "${ac_cv_target+set}" = set; then :
2366 $as_echo_n "(cached) " >&6
2368 if test "x$target_alias" = x; then
2369 ac_cv_target=$ac_cv_host
2371 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2372 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2377 $as_echo "$ac_cv_target" >&6; }
2378 case $ac_cv_target in
2380 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2382 target=$ac_cv_target
2383 ac_save_IFS=$IFS; IFS='-'
2389 # Remember, the first character of IFS is used to create $*,
2390 # except with old shells:
2393 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2396 # The aliases save the names the user supplied, while $host etc.
2397 # will get canonicalized.
2398 test -n "$target_alias" &&
2399 test "$program_prefix$program_suffix$program_transform_name" = \
2401 program_prefix=${target_alias}-
2403 test "$program_prefix" != NONE &&
2404 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2405 # Use a double $ so make ignores it.
2406 test "$program_suffix" != NONE &&
2407 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2408 # Double any \ or $.
2409 # By default was `s
,x
,x
', remove it if useless.
2410 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2411 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2415 # Get 'install' or 'install-sh
' and its variants.
2416 # Find a good install program. We prefer a C program (faster),
2417 # so one script is as good as another. But avoid the broken or
2418 # incompatible versions:
2419 # SysV /etc/install, /usr/sbin/install
2420 # SunOS /usr/etc/install
2421 # IRIX /sbin/install
2423 # AmigaOS /C/install, which installs bootblocks on floppy discs
2424 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2425 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2426 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2427 # OS/2's system install, which has a completely different semantic
2428 # ./install, which can be erroneously created by make from ./install.sh.
2429 # Reject install programs that cannot install multiple files.
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2431 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2432 if test -z "$INSTALL"; then
2433 if test "${ac_cv_path_install+set}" = set; then :
2434 $as_echo_n "(cached) " >&6
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir
=.
2441 # Account for people who put trailing slashes in PATH elements.
2442 case $as_dir/ in #((
2443 .
/ | .
// |
/[cC
]/* | \
2444 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2445 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2448 # OSF1 and SCO ODT 3.0 have their own names for install.
2449 # Don't use installbsd from OSF since it installs stuff as root
2451 for ac_prog
in ginstall scoinst
install; do
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2454 if test $ac_prog = install &&
2455 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2456 # AIX install. It has an incompatible calling convention.
2458 elif test $ac_prog = install &&
2459 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2460 # program-specific install script used by HP pwplus--don't use.
2463 rm -rf conftest.one conftest.two conftest.dir
2464 echo one
> conftest.one
2465 echo two
> conftest.two
2467 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2468 test -s conftest.one
&& test -s conftest.two
&&
2469 test -s conftest.dir
/conftest.one
&&
2470 test -s conftest.dir
/conftest.two
2472 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2485 rm -rf conftest.one conftest.two conftest.dir
2488 if test "${ac_cv_path_install+set}" = set; then
2489 INSTALL
=$ac_cv_path_install
2491 # As a last resort, use the slow shell script. Don't cache a
2492 # value for INSTALL within a source directory, because that will
2493 # break other packages using the cache if that directory is
2494 # removed, or if the value is a relative name.
2495 INSTALL
=$ac_install_sh
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2499 $as_echo "$INSTALL" >&6; }
2501 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2502 # It thinks the first close brace ends the variable substitution.
2503 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2505 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2507 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2510 $as_echo_n "checking whether ln works... " >&6; }
2511 if test "${acx_cv_prog_LN+set}" = set; then :
2512 $as_echo_n "(cached) " >&6
2514 rm -f conftestdata_t
2515 echo >conftestdata_f
2516 if ln conftestdata_f conftestdata_t
2>/dev
/null
2522 rm -f conftestdata_f conftestdata_t
2525 if test $acx_cv_prog_LN = no
; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2528 $as_echo "no, using $LN" >&6; }
2530 LN
="$acx_cv_prog_LN"
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2532 $as_echo "yes" >&6; }
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2536 $as_echo_n "checking whether ln -s works... " >&6; }
2538 if test "$LN_S" = "ln -s"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2540 $as_echo "yes" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2543 $as_echo "no, using $LN_S" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2547 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2548 if test "${ac_cv_path_SED+set}" = set; then :
2549 $as_echo_n "(cached) " >&6
2551 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2552 for ac_i
in 1 2 3 4 5 6 7; do
2553 ac_script
="$ac_script$as_nl$ac_script"
2555 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2556 { ac_script
=; unset ac_script
;}
2557 if test -z "$SED"; then
2558 ac_path_SED_found
=false
2559 # Loop through the user's path and test for each of PROGNAME-LIST
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_prog
in sed gsed
; do
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2568 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2569 # Check for GNU ac_path_SED and select it if it is found.
2570 # Check for GNU $ac_path_SED
2571 case `"$ac_path_SED" --version 2>&1` in
2573 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2576 $as_echo_n 0123456789 >"conftest.in"
2579 cat "conftest.in" "conftest.in" >"conftest.tmp"
2580 mv "conftest.tmp" "conftest.in"
2581 cp "conftest.in" "conftest.nl"
2582 $as_echo '' >> "conftest.nl"
2583 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2584 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2585 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2586 if test $ac_count -gt ${ac_path_SED_max-0}; then
2587 # Best one so far, save it but keep looking for a better one
2588 ac_cv_path_SED
="$ac_path_SED"
2589 ac_path_SED_max
=$ac_count
2591 # 10*(2^10) chars as input seems more than enough
2592 test $ac_count -gt 10 && break
2594 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2597 $ac_path_SED_found && break 3
2602 if test -z "$ac_cv_path_SED"; then
2603 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2611 $as_echo "$ac_cv_path_SED" >&6; }
2612 SED
="$ac_cv_path_SED"
2615 for ac_prog
in gawk mawk nawk
awk
2617 # Extract the first word of "$ac_prog", so it can be a program name with args.
2618 set dummy
$ac_prog; ac_word
=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if test "${ac_cv_prog_AWK+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$AWK"; then
2625 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir
=.
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_AWK
="$ac_prog"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test -n "$AWK"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2647 $as_echo "$AWK" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2654 test -n "$AWK" && break
2658 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2660 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2662 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2663 INSTALL
="${srcpwd}/install-sh -c"
2666 # Set srcdir to "." if that's what it is.
2667 # This is important for multilib support.
2669 if test "${pwd}" = "${srcpwd}" ; then
2677 ### To add a new directory to the tree, first choose whether it is a target
2678 ### or a host dependent tool. Then put it into the appropriate list
2679 ### (library or tools, host or target), doing a dependency sort.
2681 # Subdirs will be configured in the order listed in build_configdirs,
2682 # configdirs, or target_configdirs; see the serialization section below.
2684 # Dependency sorting is only needed when *configuration* must be done in
2685 # a particular order. In all cases a dependency should be specified in
2686 # the Makefile, whether or not it's implicitly specified here.
2688 # Double entries in build_configdirs, configdirs, or target_configdirs may
2689 # cause circular dependencies and break everything horribly.
2691 # these library is used by various programs built for the build
2694 build_libs
="build-libiberty"
2696 # these tools are built for the build environment
2697 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2699 # these libraries are used by various programs built for the host environment
2701 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2703 # these tools are built for the host environment
2704 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2705 # know that we are building the simulator.
2706 # binutils, gas and ld appear in that order because it makes sense to run
2707 # "make check" in that particular order.
2708 # If --enable-gold is used, "gold" may replace "ld".
2709 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2711 # libgcj represents the runtime libraries only used by gcj.
2712 libgcj
="target-libffi \
2716 # these libraries are built for the target environment, and are built after
2717 # the host libraries and the host tools (which may be a cross compiler)
2718 # Note that libiberty is not a target library.
2719 target_libraries
="target-libgcc \
2725 target-libstdc++-v3 \
2728 target-libquadmath \
2729 target-libgfortran \
2736 # these tools are built using the target libraries, and are intended to
2737 # run only in the target environment
2739 # note: any program that *uses* libraries that are in the "target_libraries"
2740 # list belongs in this list.
2742 target_tools
="target-rda"
2744 ################################################################################
2746 ## All tools belong in one of the four categories, and are assigned above
2747 ## We assign ${configdirs} this way to remove all embedded newlines. This
2748 ## is important because configure will choke if they ever get through.
2749 ## ${configdirs} is directories we build using the host tools.
2750 ## ${target_configdirs} is directories we build using the target tools.
2751 configdirs
=`echo ${host_libs} ${host_tools}`
2752 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2753 build_configdirs
=`echo ${build_libs} ${build_tools}`
2757 ################################################################################
2759 srcname
="gnu development package"
2761 # This gets set non-empty for some net releases of packages.
2764 # Define is_cross_compiler to save on calls to 'test'.
2766 if test x
"${host}" = x
"${target}" ; then
2767 is_cross_compiler
=no
2769 is_cross_compiler
=yes
2772 # Find the build and target subdir names.
2774 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2775 # have matching libraries, they should use host libraries: Makefile.tpl
2776 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2777 # However, they still use the build modules, because the corresponding
2778 # host modules (e.g. bison) are only built for the host when bootstrap
2780 # - build_subdir is where we find build modules, and never changes.
2781 # - build_libsubdir is where we find build libraries, and can be overridden.
2783 # Prefix 'build-' so this never conflicts with target_subdir.
2784 build_subdir
="build-${build_noncanonical}"
2786 # Check whether --with-build-libsubdir was given.
2787 if test "${with_build_libsubdir+set}" = set; then :
2788 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2790 build_libsubdir
="$build_subdir"
2793 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2794 if ( test $srcdir = .
&& test -d gcc
) \
2795 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2796 host_subdir
="host-${host_noncanonical}"
2801 target_subdir
=${target_noncanonical}
2803 # Be sure to cover against remnants of an in-tree build.
2804 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2805 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2806 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2809 # Skipdirs are removed silently.
2811 # Noconfigdirs are removed loudly.
2815 # Make sure we don't let GNU ld be added if we didn't want it.
2816 if test x
$with_gnu_ld = xno
; then
2818 noconfigdirs
="$noconfigdirs ld gold"
2822 # Make sure we don't let GNU as be added if we didn't want it.
2823 if test x
$with_gnu_as = xno
; then
2825 noconfigdirs
="$noconfigdirs gas"
2829 # Make sure we don't let ZLIB be added if we didn't want it.
2830 if test x
$with_system_zlib = xyes
; then
2831 use_included_zlib
=no
2832 noconfigdirs
="$noconfigdirs zlib"
2835 # some tools are so dependent upon X11 that if we're not building with X,
2836 # it's not even worth trying to configure, much less build, that tool.
2839 yes |
"") ;; # the default value for this tree is that X11 is available
2841 skipdirs
="${skipdirs} tk itcl libgui"
2842 # We won't be able to build gdbtk without X.
2845 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2848 # Some are only suitable for cross toolchains.
2849 # Remove these if host=target.
2850 cross_only
="target-libgloss target-newlib target-opcodes"
2852 case $is_cross_compiler in
2853 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2856 # If both --with-headers and --with-libs are specified, default to
2858 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2859 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2860 if test x
"${with_newlib}" = x
; then
2865 # Recognize --with-newlib/--without-newlib.
2866 case ${with_newlib} in
2867 no
) skipdirs
="${skipdirs} target-newlib" ;;
2868 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2871 # Handle --enable-gold, --enable-ld.
2872 # --disable-gold [--enable-ld]
2873 # Build only ld. Default option.
2874 # --enable-gold [--enable-ld]
2875 # Build both gold and ld. Install gold as "ld.gold", install ld
2876 # as "ld.bfd" and "ld".
2877 # --enable-gold=default [--enable-ld]
2878 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2879 # install ld as "ld.bfd".
2880 # --enable-gold[=default] --disable-ld
2881 # Build only gold, which is then installed as both "ld.gold" and "ld".
2882 # --enable-gold --enable-ld=default
2883 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2885 # In other words, ld is default
2886 # --enable-gold=default --enable-ld=default
2890 # Check whether --enable-gold was given.
2891 if test "${enable_gold+set}" = set; then :
2892 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2897 case "${ENABLE_GOLD}" in
2899 # Check for ELF target.
2902 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2903 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2904 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2905 |
*-*-solaris2* |
*-*-nto*)
2907 *-*-linux*aout
* |
*-*-linux*oldld
*)
2915 if test "$is_elf" = "yes"; then
2916 # Check for target supported by gold.
2918 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2919 configdirs
="$configdirs gold"
2920 if test x
${ENABLE_GOLD} = xdefault
; then
2931 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2935 # Check whether --enable-ld was given.
2936 if test "${enable_ld+set}" = set; then :
2937 enableval
=$enable_ld; ENABLE_LD
=$enableval
2943 case "${ENABLE_LD}" in
2945 if test x
${default_ld} != x
; then
2946 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2952 if test x
${ENABLE_GOLD} != xyes
; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2954 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2956 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2959 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2963 # Configure extra directories which are host specific
2967 configdirs
="$configdirs libtermcap" ;;
2970 # A target can indicate whether a language isn't supported for some reason.
2971 # Only spaces may be used in this macro; not newlines or tabs.
2972 unsupported_languages
=
2974 # Remove more programs from consideration, based on the host or
2975 # target this usually means that a port of the program doesn't
2979 i
[3456789]86-*-msdosdjgpp*)
2980 noconfigdirs
="$noconfigdirs tcl tk itcl"
2985 # Check whether --enable-libquadmath was given.
2986 if test "${enable_libquadmath+set}" = set; then :
2987 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2989 ENABLE_LIBQUADMATH
=yes
2992 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2993 noconfigdirs
="$noconfigdirs target-libquadmath"
2997 # Check whether --enable-libquadmath-support was given.
2998 if test "${enable_libquadmath_support+set}" = set; then :
2999 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3001 ENABLE_LIBQUADMATH_SUPPORT
=yes
3004 enable_libquadmath_support
=
3005 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3006 enable_libquadmath_support
=no
3010 # Check whether --enable-libada was given.
3011 if test "${enable_libada+set}" = set; then :
3012 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3017 if test "${ENABLE_LIBADA}" != "yes" ; then
3018 noconfigdirs
="$noconfigdirs gnattools"
3021 # Check whether --enable-libssp was given.
3022 if test "${enable_libssp+set}" = set; then :
3023 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3029 # Save it here so that, even in case of --enable-libgcj, if the Java
3030 # front-end isn't enabled, we still get libgcj disabled.
3031 libgcj_saved
=$libgcj
3032 case $enable_libgcj in
3034 # If we reset it here, it won't get added to noconfigdirs in the
3035 # target-specific build rules, so it will be forcibly enabled
3036 # (unless the Java language itself isn't enabled).
3040 # Make sure we get it printed in the list of not supported target libs.
3041 # Don't disable libffi, though, other languages use it.
3042 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3043 # Clear libgcj_saved so that even if java is enabled libffi won't be
3049 # Check whether --enable-static-libjava was given.
3050 if test "${enable_static_libjava+set}" = set; then :
3051 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3053 ENABLE_STATIC_LIBJAVA
=no
3056 enable_static_libjava
=
3057 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3058 enable_static_libjava
=yes
3061 if test x
$enable_static_libjava != xyes
; then
3062 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
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* |
*-*-dragonfly*)
3090 *-*-solaris2* |
*-*-hpux11*)
3092 *-*-darwin* |
*-*-aix*)
3095 noconfigdirs
="$noconfigdirs target-libgomp"
3100 # Disable libatomic on unsupported systems.
3101 if test -d ${srcdir}/libatomic
; then
3102 if test x
$enable_libatomic = x
; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3104 $as_echo_n "checking for libatomic support... " >&6; }
3105 if (srcdir
=${srcdir}/libatomic
; \
3106 .
${srcdir}/configure.tgt
; \
3107 test -n "$UNSUPPORTED")
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 noconfigdirs
="$noconfigdirs target-libatomic"
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3119 # Disable libitm on unsupported systems.
3120 if test -d ${srcdir}/libitm
; then
3121 if test x
$enable_libitm = x
; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3123 $as_echo_n "checking for libitm support... " >&6; }
3124 if (srcdir
=${srcdir}/libitm
; \
3125 .
${srcdir}/configure.tgt
; \
3126 test -n "$UNSUPPORTED")
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 noconfigdirs
="$noconfigdirs target-libitm"
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 $as_echo "yes" >&6; }
3138 # Disable libssp for some systems.
3141 # No hosted I/O support.
3142 noconfigdirs
="$noconfigdirs target-libssp"
3144 powerpc-
*-aix* | rs6000-
*-aix*)
3145 noconfigdirs
="$noconfigdirs target-libssp"
3148 # libssp uses a misaligned load to trigger a fault, but the RL78
3149 # doesn't fault for those - instead, it gives a build-time error
3150 # for explicit misaligned loads.
3151 noconfigdirs
="$noconfigdirs target-libssp"
3155 # Disable libquadmath for some systems.
3158 noconfigdirs
="$noconfigdirs target-libquadmath"
3162 # Disable libstdc++-v3 for some systems.
3165 # VxWorks uses the Dinkumware C++ library.
3166 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3169 # the C++ libraries don't build on top of CE's C libraries
3170 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3173 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3177 # Disable Fortran for some systems.
3180 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3181 unsupported_languages
="$unsupported_languages fortran"
3185 # Disable Java if libffi is not supported.
3215 powerpc-
*-aix* | rs6000-
*-aix*)
3219 powerpc64-
*-freebsd*)
3223 s390-
*-* | s390x-
*-*)
3225 sh-
*-* | sh
[34]*-*-*)
3227 sh64-
*-* | sh5
*-*-*)
3234 unsupported_languages
="$unsupported_languages java"
3238 # Disable Java, libgcj or related libraries for some systems.
3242 i
[3456789]86-*-darwin*)
3244 x86_64-
*-darwin[912]*)
3247 noconfigdirs
="$noconfigdirs ${libgcj}"
3250 noconfigdirs
="$noconfigdirs ${libgcj}"
3253 noconfigdirs
="$noconfigdirs ${libgcj}"
3256 noconfigdirs
="$noconfigdirs ${libgcj}"
3259 noconfigdirs
="$noconfigdirs ${libgcj}"
3262 noconfigdirs
="$noconfigdirs ${libgcj}"
3265 noconfigdirs
="$noconfigdirs ${libgcj}"
3268 noconfigdirs
="$noconfigdirs ${libgcj}"
3271 noconfigdirs
="$noconfigdirs ${libgcj}"
3274 noconfigdirs
="$noconfigdirs target-boehm-gc"
3276 cris-
*-* | crisv32-
*-*)
3277 unsupported_languages
="$unsupported_languages java"
3281 *) # See PR46792 regarding target-libffi.
3282 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3286 # In this case, it's because the hppa64-linux target is for
3287 # the kernel only at this point and has no libc, and thus no
3288 # headers, crt*.o, etc., all of which are needed by these.
3289 unsupported_languages
="$unsupported_languages java"
3292 noconfigdirs
="$noconfigdirs ${libgcj}"
3297 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3298 # build on HP-UX 10.20.
3299 noconfigdirs
="$noconfigdirs ${libgcj}"
3302 noconfigdirs
="$noconfigdirs ${libgcj}"
3304 i
[3456789]86-w64-mingw*)
3305 noconfigdirs
="$noconfigdirs ${libgcj}"
3307 i
[3456789]86-*-mingw*)
3308 noconfigdirs
="$noconfigdirs ${libgcj}"
3311 noconfigdirs
="$noconfigdirs ${libgcj}"
3314 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3317 # copied from rs6000-*-* entry
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3321 noconfigdirs
="$noconfigdirs ${libgcj}"
3324 noconfigdirs
="$noconfigdirs ${libgcj}"
3328 # Default libgloss CPU subdirectory.
3329 libgloss_dir
="$target_cpu"
3332 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3338 cris-
*-* | crisv32-
*-*)
3347 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3348 libgloss_dir
=m68hc11
3350 m68
*-*-* | fido-
*-*)
3364 # Disable newlib and libgloss for various target OSes.
3367 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3369 i
[3456789]86-*-linux*)
3370 # This section makes it possible to build newlib natively on linux.
3371 # If we are using a cross compiler then don't configure newlib.
3372 if test x
${is_cross_compiler} != xno
; then
3373 noconfigdirs
="$noconfigdirs target-newlib"
3375 noconfigdirs
="$noconfigdirs target-libgloss"
3376 # If we are not using a cross compiler, do configure newlib.
3377 # Note however, that newlib will only be configured in this situation
3378 # if the --with-newlib option has been given, because otherwise
3379 # 'target-newlib' will appear in skipdirs.
3381 i
[3456789]86-*-rdos*)
3382 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3384 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3385 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3388 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3391 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3394 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3397 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3400 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3403 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3405 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3406 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3409 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3412 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3415 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3418 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3421 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3424 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3427 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3435 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3436 noconfigdirs
="$noconfigdirs sim target-rda"
3438 i
[3456789]86-*-darwin*)
3439 noconfigdirs
="$noconfigdirs ld gprof"
3440 noconfigdirs
="$noconfigdirs sim target-rda"
3442 x86_64-
*-darwin[912]*)
3443 noconfigdirs
="$noconfigdirs ld gas gprof"
3444 noconfigdirs
="$noconfigdirs sim target-rda"
3447 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3448 noconfigdirs
="$noconfigdirs sim target-rda"
3453 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3454 && test -f /usr
/local
/include
/gmp.h
; then
3459 # Remove unsupported stuff on all kaOS configurations.
3460 noconfigdirs
="$noconfigdirs target-libgloss"
3467 noconfigdirs
="$noconfigdirs target-libgloss"
3469 # The tpf target doesn't support gdb yet.
3471 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3474 noconfigdirs
="$noconfigdirs target-rda"
3479 # ld works, but does not support shared libraries.
3480 # gas doesn't generate exception information.
3481 noconfigdirs
="$noconfigdirs gas ld"
3484 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3487 # newlib is not 64 bit ready
3488 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3490 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3491 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3494 noconfigdirs
="$noconfigdirs target-libgloss"
3497 noconfigdirs
="$noconfigdirs target-libgloss"
3500 noconfigdirs
="$noconfigdirs ld target-libgloss"
3505 if test x
${with_avrlibc} != xno
; then
3506 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3509 c4x-
*-* | tic4x-
*-*)
3510 noconfigdirs
="$noconfigdirs target-libgloss"
3513 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3516 noconfigdirs
="$noconfigdirs target-libgloss"
3519 noconfigdirs
="$noconfigdirs gdb"
3522 noconfigdirs
="$noconfigdirs gdb"
3525 noconfigdirs
="$noconfigdirs gprof"
3528 noconfigdirs
="$noconfigdirs target-libgloss"
3531 noconfigdirs
="$noconfigdirs target-libgloss"
3533 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3541 hppa
*-*-openbsd* | \
3545 noconfigdirs
="$noconfigdirs ld"
3550 noconfigdirs
="$noconfigdirs ld"
3553 noconfigdirs
="$noconfigdirs gdb"
3556 # No gdb support yet.
3557 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3560 # No ld support yet.
3561 noconfigdirs
="$noconfigdirs libgui itcl ld"
3564 # No ld support yet.
3565 noconfigdirs
="$noconfigdirs libgui itcl ld"
3567 i
[3456789]86-w64-mingw*)
3569 i
[3456789]86-*-mingw*)
3570 target_configdirs
="$target_configdirs target-winsup"
3573 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3574 noconfigdirs
="$noconfigdirs target-libgloss"
3575 # always build newlib if winsup directory is present.
3576 if test -d "$srcdir/winsup/cygwin"; then
3577 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3578 elif test -d "$srcdir/newlib"; then
3579 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3583 noconfigdirs
="$noconfigdirs target-libgloss"
3585 i
[3456789]86-*-sco3.2v5
*)
3586 # The linker does not yet know about weak symbols in COFF,
3587 # and is not configured to handle mixed ELF and COFF.
3588 noconfigdirs
="$noconfigdirs ld target-libgloss"
3590 i
[3456789]86-*-sco*)
3591 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3593 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3594 noconfigdirs
="$noconfigdirs target-libgloss"
3596 i
[3456789]86-*-sysv4*)
3597 noconfigdirs
="$noconfigdirs target-libgloss"
3599 i
[3456789]86-*-beos*)
3600 noconfigdirs
="$noconfigdirs gdb"
3602 i
[3456789]86-*-rdos*)
3603 noconfigdirs
="$noconfigdirs gdb"
3606 noconfigdirs
="$noconfigdirs gdb"
3609 noconfigdirs
="$noconfigdirs sim"
3612 # copied from rs6000-*-* entry
3613 noconfigdirs
="$noconfigdirs gprof"
3615 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3616 target_configdirs
="$target_configdirs target-winsup"
3617 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3618 # always build newlib.
3619 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3621 # This is temporary until we can link against shared libraries
3622 powerpcle-
*-solaris*)
3623 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3626 noconfigdirs
="$noconfigdirs gdb"
3629 noconfigdirs
="$noconfigdirs gprof"
3632 noconfigdirs
="$noconfigdirs gprof"
3635 noconfigdirs
="$noconfigdirs gprof"
3638 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3641 noconfigdirs
="$noconfigdirs gprof"
3644 if test x
$with_newlib = xyes
; then
3645 noconfigdirs
="$noconfigdirs gprof"
3649 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3652 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3655 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3660 noconfigdirs
="$noconfigdirs gprof"
3667 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3671 if test x
${is_cross_compiler} = xno
; then
3676 noconfigdirs
="$noconfigdirs sim"
3678 tilepro-
*-* | tilegx-
*-*)
3679 noconfigdirs
="$noconfigdirs sim"
3682 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3685 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 # If we aren't building newlib, then don't build libgloss, since libgloss
3690 # depends upon some newlib header files.
3691 case "${noconfigdirs}" in
3692 *target-libgloss
*) ;;
3693 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3696 # Work in distributions that contain no compiler tools, like Autoconf.
3697 host_makefile_frag
=/dev
/null
3698 if test -d ${srcdir}/config
; then
3700 i
[3456789]86-*-msdosdjgpp*)
3701 host_makefile_frag
="config/mh-djgpp"
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3706 $as_echo_n "checking to see if cat works as expected... " >&6; }
3707 echo a
>cygwin-cat-check
3708 if test `cat cygwin-cat-check` = a
; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3711 $as_echo "yes" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3716 as_fn_error
"The cat command does not ignore carriage return characters.
3717 Please either mount the build directory in binary mode or run the following
3718 commands before running any configure script:
3724 host_makefile_frag
="config/mh-cygwin"
3727 host_makefile_frag
="config/mh-mingw"
3730 host_makefile_frag
="config/mh-pa-hpux10"
3733 host_makefile_frag
="config/mh-pa"
3736 host_makefile_frag
="config/mh-pa"
3739 host_makefile_frag
="config/mh-darwin"
3742 host_makefile_frag
="config/mh-ppc-aix"
3745 host_makefile_frag
="config/mh-ppc-aix"
3750 if test "${build}" != "${host}" ; then
3751 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3752 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3753 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3754 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3755 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3756 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3757 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3758 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3759 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3760 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3761 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3762 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3763 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3765 AR_FOR_BUILD
="\$(AR)"
3766 AS_FOR_BUILD
="\$(AS)"
3767 CC_FOR_BUILD
="\$(CC)"
3768 CXX_FOR_BUILD
="\$(CXX)"
3769 GCJ_FOR_BUILD
="\$(GCJ)"
3770 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3771 GOC_FOR_BUILD
="\$(GOC)"
3772 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3773 LD_FOR_BUILD
="\$(LD)"
3774 NM_FOR_BUILD
="\$(NM)"
3775 RANLIB_FOR_BUILD
="\$(RANLIB)"
3776 WINDRES_FOR_BUILD
="\$(WINDRES)"
3777 WINDMC_FOR_BUILD
="\$(WINDMC)"
3781 ac_cpp
='$CPP $CPPFLAGS'
3782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3785 if test -n "$ac_tool_prefix"; then
3786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3787 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -n "$CC"; then
3794 ac_cv_prog_CC
="$CC" # Let the user override the test.
3796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3800 test -z "$as_dir" && as_dir
=.
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3824 if test -z "$ac_cv_prog_CC"; then
3826 # Extract the first word of "gcc", so it can be a program name with args.
3827 set dummy gcc
; ac_word
=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -n "$ac_ct_CC"; then
3834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_exec_ext
in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_ac_ct_CC
="gcc"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3854 if test -n "$ac_ct_CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3856 $as_echo "$ac_ct_CC" >&6; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3862 if test "x$ac_ct_CC" = x
; then
3865 case $cross_compiling:$ac_tool_warned in
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3869 ac_tool_warned
=yes ;;
3877 if test -z "$CC"; then
3878 if test -n "$ac_tool_prefix"; then
3879 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3880 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if test "${ac_cv_prog_CC+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -n "$CC"; then
3887 ac_cv_prog_CC
="$CC" # Let the user override the test.
3889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir
=.
3894 for ac_exec_ext
in '' $ac_executable_extensions; do
3895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 if test -n "$CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3909 $as_echo "$CC" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3918 if test -z "$CC"; then
3919 # Extract the first word of "cc", so it can be a program name with args.
3920 set dummy cc
; ac_word
=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if test "${ac_cv_prog_CC+set}" = set; then :
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC
="$CC" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3938 ac_prog_rejected
=yes
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test $ac_prog_rejected = yes; then
3950 # We found a bogon in the path, so make sure we never use it.
3951 set dummy
$ac_cv_prog_CC
3953 if test $# != 0; then
3954 # We chose a different compiler from the bogus one.
3955 # However, it has the same basename, so the bogon will be chosen
3956 # first if we set CC to just the basename; use the full file name.
3958 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3964 if test -n "$CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3966 $as_echo "$CC" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3974 if test -z "$CC"; then
3975 if test -n "$ac_tool_prefix"; then
3976 for ac_prog
in cl.exe
3978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3979 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_prog_CC+set}" = set; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$CC"; then
3986 ac_cv_prog_CC
="$CC" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 if test -n "$CC"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4008 $as_echo "$CC" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 test -n "$CC" && break
4018 if test -z "$CC"; then
4020 for ac_prog
in cl.exe
4022 # Extract the first word of "$ac_prog", so it can be a program name with args.
4023 set dummy
$ac_prog; ac_word
=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$ac_ct_CC"; then
4030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_ac_ct_CC
="$ac_prog"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4050 if test -n "$ac_ct_CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4052 $as_echo "$ac_ct_CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$ac_ct_CC" && break
4062 if test "x$ac_ct_CC" = x
; then
4065 case $cross_compiling:$ac_tool_warned in
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4069 ac_tool_warned
=yes ;;
4078 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error
"no acceptable C compiler found in \$PATH
4081 See \`config.log' for more details." "$LINENO" 5; }
4083 # Provide some information about the compiler.
4084 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4087 for ac_option
in --version -v -V -qversion; do
4088 { { ac_try
="$ac_compiler $ac_option >&5"
4090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4097 if test -s conftest.err; then
4099 ... rest of stderr output deleted ...
4100 10q' conftest.err >conftest.er1
4101 cat conftest.er1 >&5
4102 rm -f conftest.er1 conftest.err
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4119 ac_clean_files_save=$ac_clean_files
4120 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4121 # Try to create an executable without -o first, disregard a.out.
4122 # It will help us diagnose broken compilers, and finding out an intuition
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4125 $as_echo_n "checking for C compiler default output file name... " >&6; }
4126 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4128 # The possible output files:
4129 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4132 for ac_file in $ac_files
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4136 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4141 if { { ac_try="$ac_link_default"
4143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4144 *) ac_try_echo
=$ac_try;;
4146 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_link_default") 2>&5
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; then :
4152 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4153 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4154 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4155 # so that the user can short-circuit this test for compilers unknown to
4157 for ac_file
in $ac_files ''
4159 test -f "$ac_file" ||
continue
4161 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4164 # We found the default executable, but exeext='' is most
4168 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4170 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4172 # We set ac_cv_exeext here because the later test for it is not
4173 # safe: cross compilers may not add the suffix if given an `-o'
4174 # argument, so we may need to know it at that point already.
4175 # Even if this section looks crufty: it has the advantage of
4182 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4188 $as_echo "$ac_file" >&6; }
4189 if test -z "$ac_file"; then :
4190 $as_echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.
$ac_ext >&5
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 { as_fn_set_status
77
4196 as_fn_error
"C compiler cannot create executables
4197 See \`config.log' for more details." "$LINENO" 5; }; }
4199 ac_exeext
=$ac_cv_exeext
4201 # Check that the compiler produces executables we can run. If not, either
4202 # the compiler is broken, or we cross compile.
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4204 $as_echo_n "checking whether the C compiler works... " >&6; }
4205 # If not cross compiling, check that we can run a simple program.
4206 if test "$cross_compiling" != yes; then
4207 if { ac_try
='./$ac_file'
4208 { { case "(($ac_try" in
4209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_try") 2>&5
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }; }; then
4220 if test "$cross_compiling" = maybe; then
4223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error "cannot run C compiled programs.
4226 If you meant to cross compile
, use \
`--host'.
4227 See \`config.log
' for more details." "$LINENO" 5; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4232 $as_echo "yes" >&6; }
4234 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4235 ac_clean_files=$ac_clean_files_save
4236 # Check that the compiler produces executables we can run. If not, either
4237 # the compiler is broken, or we cross compile.
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4239 $as_echo_n "checking whether we are cross compiling... " >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4241 $as_echo "$cross_compiling" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4244 $as_echo_n "checking for suffix of executables... " >&6; }
4245 if { { ac_try="$ac_link"
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_link") 2>&5
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; then :
4256 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4257 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4258 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4260 for ac_file
in conftest.exe conftest conftest.
*; do
4261 test -f "$ac_file" ||
continue
4263 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4264 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4272 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4273 See \`config.log' for more details." "$LINENO" 5; }
4275 rm -f conftest
$ac_cv_exeext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4277 $as_echo "$ac_cv_exeext" >&6; }
4279 rm -f conftest.
$ac_ext
4280 EXEEXT
=$ac_cv_exeext
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4283 $as_echo_n "checking for suffix of object files... " >&6; }
4284 if test "${ac_cv_objext+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4298 rm -f conftest.o conftest.obj
4299 if { { ac_try
="$ac_compile"
4301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_compile") 2>&5
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }; then :
4310 for ac_file in conftest.o conftest.obj conftest.*; do
4311 test -f "$ac_file" || continue;
4313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4319 $as_echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.$ac_ext >&5
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error "cannot compute suffix of object files
: cannot compile
4325 See \
`config.log' for more details." "$LINENO" 5; }
4327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4330 $as_echo "$ac_cv_objext" >&6; }
4331 OBJEXT=$ac_cv_objext
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4334 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4335 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4352 if ac_fn_c_try_compile "$LINENO"; then :
4357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4358 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4362 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4363 if test $ac_compiler_gnu = yes; then
4368 ac_test_CFLAGS=${CFLAGS+set}
4369 ac_save_CFLAGS=$CFLAGS
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4371 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4372 if test "${ac_cv_prog_cc_g+set}" = set; then :
4373 $as_echo_n "(cached) " >&6
4375 ac_save_c_werror_flag=$ac_c_werror_flag
4376 ac_c_werror_flag=yes
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_c_try_compile "$LINENO"; then :
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4405 if ac_fn_c_try_compile "$LINENO"; then :
4408 ac_c_werror_flag=$ac_save_c_werror_flag
4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4421 if ac_fn_c_try_compile "$LINENO"; then :
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429 ac_c_werror_flag=$ac_save_c_werror_flag
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4432 $as_echo "$ac_cv_prog_cc_g" >&6; }
4433 if test "$ac_test_CFLAGS" = set; then
4434 CFLAGS=$ac_save_CFLAGS
4435 elif test $ac_cv_prog_cc_g = yes; then
4436 if test "$GCC" = yes; then
4442 if test "$GCC" = yes; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4449 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4450 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 ac_cv_prog_cc_c89=no
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4459 #include <sys/types.h>
4460 #include <sys/stat.h>
4461 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4462 struct buf { int x; };
4463 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4464 static char *e (p, i)
4470 static char *f (char * (*g) (char **, int), char **p, ...)
4475 s = g (p, va_arg (v,int));
4480 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4481 function prototypes and stuff, but not '\xHH' hex character constants.
4482 These don't provoke an error unfortunately, instead are silently treated
4483 as 'x'. The following induces an error, until -std is added to get
4484 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4485 array size at least. It's necessary to write '\x00'==0 to get something
4486 that's true only with -std. */
4487 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4489 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4490 inside strings and character constants. */
4492 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4494 int test (int i, double x);
4495 struct s1 {int (*f) (int a);};
4496 struct s2 {int (*f) (double a);};
4497 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4503 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4508 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4509 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4511 CC="$ac_save_CC $ac_arg"
4512 if ac_fn_c_try_compile "$LINENO"; then :
4513 ac_cv_prog_cc_c89=$ac_arg
4515 rm -f core conftest.err conftest.$ac_objext
4516 test "x$ac_cv_prog_cc_c89" != "xno" && break
4518 rm -f conftest.$ac_ext
4523 case "x$ac_cv_prog_cc_c89" in
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4526 $as_echo "none needed" >&6; } ;;
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4529 $as_echo "unsupported" >&6; } ;;
4531 CC="$CC $ac_cv_prog_cc_c89"
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4533 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4535 if test "x$ac_cv_prog_cc_c89" != xno; then :
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 ac_cpp='$CXXCPP $CPPFLAGS'
4547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4550 if test -z "$CXX"; then
4551 if test -n "$CCC"; then
4554 if test -n "$ac_tool_prefix"; then
4555 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if test "${ac_cv_prog_CXX+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -n "$CXX"; then
4565 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 if test -n "$CXX"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4587 $as_echo "$CXX" >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4594 test -n "$CXX" && break
4597 if test -z "$CXX"; then
4599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4601 # Extract the first word of "$ac_prog", so it can be a program name with args.
4602 set dummy $ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$ac_ct_CXX"; then
4609 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_ac_ct_CXX="$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4629 if test -n "$ac_ct_CXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4631 $as_echo "$ac_ct_CXX" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$ac_ct_CXX" && break
4641 if test "x$ac_ct_CXX" = x; then
4644 case $cross_compiling:$ac_tool_warned in
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4656 # Provide some information about the compiler.
4657 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4660 for ac_option in --version -v -V -qversion; do
4661 { { ac_try="$ac_compiler $ac_option >&5"
4663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4664 *) ac_try_echo
=$ac_try;;
4666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4670 if test -s conftest.err
; then
4672 ... rest of stderr output deleted ...
4673 10q' conftest.err
>conftest.er1
4674 cat conftest.er1
>&5
4675 rm -f conftest.er1 conftest.err
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4682 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4683 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4700 if ac_fn_cxx_try_compile
"$LINENO"; then :
4705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4706 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4710 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4711 if test $ac_compiler_gnu = yes; then
4716 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4717 ac_save_CXXFLAGS
=$CXXFLAGS
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4719 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4720 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4721 $as_echo_n "(cached) " >&6
4723 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4724 ac_cxx_werror_flag
=yes
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4738 if ac_fn_cxx_try_compile
"$LINENO"; then :
4739 ac_cv_prog_cxx_g
=yes
4742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4753 if ac_fn_cxx_try_compile
"$LINENO"; then :
4756 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4769 if ac_fn_cxx_try_compile
"$LINENO"; then :
4770 ac_cv_prog_cxx_g
=yes
4772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4777 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4780 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4781 if test "$ac_test_CXXFLAGS" = set; then
4782 CXXFLAGS
=$ac_save_CXXFLAGS
4783 elif test $ac_cv_prog_cxx_g = yes; then
4784 if test "$GXX" = yes; then
4790 if test "$GXX" = yes; then
4797 ac_cpp
='$CPP $CPPFLAGS'
4798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4803 # We must set the default linker to the linker used by gcc for the correct
4804 # operation of libtool. If LD is not defined and we are using gcc, try to
4805 # set the LD default to the ld used by gcc.
4806 if test -z "$LD"; then
4807 if test "$GCC" = yes; then
4810 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4812 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4814 case $gcc_prog_ld in
4815 # Accept absolute paths.
4816 [\\/]* |
[A-Za-z
]:[\\/]*)
4817 LD
="$gcc_prog_ld" ;;
4825 if test -n "$ac_tool_prefix"; then
4826 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4827 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$GNATBIND"; then
4834 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 GNATBIND
=$ac_cv_prog_GNATBIND
4854 if test -n "$GNATBIND"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4856 $as_echo "$GNATBIND" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4864 if test -z "$ac_cv_prog_GNATBIND"; then
4865 ac_ct_GNATBIND
=$GNATBIND
4866 # Extract the first word of "gnatbind", so it can be a program name with args.
4867 set dummy gnatbind
; ac_word
=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4873 if test -n "$ac_ct_GNATBIND"; then
4874 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4894 if test -n "$ac_ct_GNATBIND"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4896 $as_echo "$ac_ct_GNATBIND" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4902 if test "x$ac_ct_GNATBIND" = x
; then
4905 case $cross_compiling:$ac_tool_warned in
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4909 ac_tool_warned
=yes ;;
4911 GNATBIND
=$ac_ct_GNATBIND
4914 GNATBIND
="$ac_cv_prog_GNATBIND"
4917 if test -n "$ac_tool_prefix"; then
4918 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4919 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$GNATMAKE"; then
4926 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 GNATMAKE
=$ac_cv_prog_GNATMAKE
4946 if test -n "$GNATMAKE"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4948 $as_echo "$GNATMAKE" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4956 if test -z "$ac_cv_prog_GNATMAKE"; then
4957 ac_ct_GNATMAKE
=$GNATMAKE
4958 # Extract the first word of "gnatmake", so it can be a program name with args.
4959 set dummy gnatmake
; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$ac_ct_GNATMAKE"; then
4966 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4986 if test -n "$ac_ct_GNATMAKE"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4988 $as_echo "$ac_ct_GNATMAKE" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4994 if test "x$ac_ct_GNATMAKE" = x
; then
4997 case $cross_compiling:$ac_tool_warned in
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned
=yes ;;
5003 GNATMAKE
=$ac_ct_GNATMAKE
5006 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5010 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5011 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5014 cat >conftest.adb
<<EOF
5015 procedure conftest is begin null; end conftest;
5017 acx_cv_cc_gcc_supports_ada
=no
5018 # There is a bug in old released versions of GCC which causes the
5019 # driver to exit successfully when the appropriate language module
5020 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5021 # Therefore we must check for the error message as well as an
5022 # unsuccessful exit.
5023 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5024 # given a .adb file, but produce no object file. So we must check
5025 # if an object file was really produced to guard against this.
5026 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5027 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5028 acx_cv_cc_gcc_supports_ada
=yes
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5033 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5035 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5042 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5043 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5048 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5049 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5050 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5053 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5056 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5057 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5060 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5067 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5068 do_compare
="$gcc_cv_prog_cmp_skip"
5072 # Check whether --enable-bootstrap was given.
5073 if test "${enable_bootstrap+set}" = set; then :
5074 enableval
=$enable_bootstrap;
5076 enable_bootstrap
=default
5080 # Issue errors and warnings for invalid/strange bootstrap combinations.
5081 if test -r $srcdir/gcc
/configure
; then
5087 case "$have_compiler:$host:$target:$enable_bootstrap" in
5090 # Default behavior. Enable bootstrap if we have a compiler
5091 # and we are in a native configuration.
5092 yes:$build:$build:default
)
5093 enable_bootstrap
=yes ;;
5096 enable_bootstrap
=no
;;
5098 # We have a compiler and we are in a native configuration, bootstrap is ok
5099 yes:$build:$build:yes)
5102 # Other configurations, but we have a compiler. Assume the user knows
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5106 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5109 # No compiler: if they passed --enable-bootstrap explicitly, fail
5111 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5113 # Fail if wrong command line
5115 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5119 # Used for setting $lt_cv_objdir
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5121 $as_echo_n "checking for objdir... " >&6; }
5122 if test "${lt_cv_objdir+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 rm -f .libs
2>/dev
/null
5126 mkdir .libs
2>/dev
/null
5127 if test -d .libs
; then
5130 # MS-DOS does not allow filenames that begin with a dot.
5133 rmdir .libs
2>/dev
/null
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5136 $as_echo "$lt_cv_objdir" >&6; }
5137 objdir
=$lt_cv_objdir
5143 cat >>confdefs.h
<<_ACEOF
5144 #define LT_OBJDIR "$lt_cv_objdir/"
5149 # Check for GMP, MPFR and MPC
5150 gmplibs
="-lmpc -lmpfr -lgmp"
5154 # Specify a location for mpc
5155 # check for this first so it ends up on the link line before mpfr.
5157 # Check whether --with-mpc was given.
5158 if test "${with_mpc+set}" = set; then :
5163 # Check whether --with-mpc-include was given.
5164 if test "${with_mpc_include+set}" = set; then :
5165 withval
=$with_mpc_include;
5169 # Check whether --with-mpc-lib was given.
5170 if test "${with_mpc_lib+set}" = set; then :
5171 withval
=$with_mpc_lib;
5175 if test "x$with_mpc" != x
; then
5176 gmplibs
="-L$with_mpc/lib $gmplibs"
5177 gmpinc
="-I$with_mpc/include $gmpinc"
5179 if test "x$with_mpc_include" != x
; then
5180 gmpinc
="-I$with_mpc_include $gmpinc"
5182 if test "x$with_mpc_lib" != x
; then
5183 gmplibs
="-L$with_mpc_lib $gmplibs"
5185 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5186 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5187 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5188 # Do not test the mpc version. Assume that it is sufficient, since
5189 # it is in the source tree, and the library has not been built yet
5190 # but it would be included on the link line in the version check below
5191 # hence making the test fail.
5195 # Specify a location for mpfr
5196 # check for this first so it ends up on the link line before gmp.
5198 # Check whether --with-mpfr-dir was given.
5199 if test "${with_mpfr_dir+set}" = set; then :
5200 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5201 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5206 # Check whether --with-mpfr was given.
5207 if test "${with_mpfr+set}" = set; then :
5212 # Check whether --with-mpfr-include was given.
5213 if test "${with_mpfr_include+set}" = set; then :
5214 withval
=$with_mpfr_include;
5218 # Check whether --with-mpfr-lib was given.
5219 if test "${with_mpfr_lib+set}" = set; then :
5220 withval
=$with_mpfr_lib;
5224 if test "x$with_mpfr" != x
; then
5225 gmplibs
="-L$with_mpfr/lib $gmplibs"
5226 gmpinc
="-I$with_mpfr/include $gmpinc"
5228 if test "x$with_mpfr_include" != x
; then
5229 gmpinc
="-I$with_mpfr_include $gmpinc"
5231 if test "x$with_mpfr_lib" != x
; then
5232 gmplibs
="-L$with_mpfr_lib $gmplibs"
5234 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5235 # MPFR v3.1.0 moved the sources into a src sub-directory.
5236 if test -d ${srcdir}/mpfr
/src
; then
5237 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5238 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5239 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5241 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5242 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5243 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5245 # Do not test the mpfr version. Assume that it is sufficient, since
5246 # it is in the source tree, and the library has not been built yet
5247 # but it would be included on the link line in the version check below
5248 # hence making the test fail.
5252 # Specify a location for gmp
5254 # Check whether --with-gmp-dir was given.
5255 if test "${with_gmp_dir+set}" = set; then :
5256 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5257 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5262 # Check whether --with-gmp was given.
5263 if test "${with_gmp+set}" = set; then :
5268 # Check whether --with-gmp-include was given.
5269 if test "${with_gmp_include+set}" = set; then :
5270 withval
=$with_gmp_include;
5274 # Check whether --with-gmp-lib was given.
5275 if test "${with_gmp_lib+set}" = set; then :
5276 withval
=$with_gmp_lib;
5281 if test "x$with_gmp" != x
; then
5282 gmplibs
="-L$with_gmp/lib $gmplibs"
5283 gmpinc
="-I$with_gmp/include $gmpinc"
5285 if test "x$with_gmp_include" != x
; then
5286 gmpinc
="-I$with_gmp_include $gmpinc"
5288 if test "x$with_gmp_lib" != x
; then
5289 gmplibs
="-L$with_gmp_lib $gmplibs"
5291 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5292 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5293 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5294 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5295 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5296 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5297 # Do not test the gmp version. Assume that it is sufficient, since
5298 # it is in the source tree, and the library has not been built yet
5299 # but it would be included on the link line in the version check below
5300 # hence making the test fail.
5304 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5306 saved_CFLAGS
="$CFLAGS"
5307 CFLAGS
="$CFLAGS $gmpinc"
5308 # Check for the recommended and required versions of GMP.
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5310 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5319 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5320 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5321 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5329 if ac_fn_c_try_compile
"$LINENO"; then :
5330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5337 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5338 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5339 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5347 if ac_fn_c_try_compile
"$LINENO"; then :
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5349 $as_echo "yes" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5352 $as_echo "buggy but acceptable" >&6; }
5354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }; have_gmp
=no
5359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5361 # If we have GMP, check the MPFR version.
5362 if test x
"$have_gmp" = xyes
; then
5363 # Check for the recommended and required versions of MPFR.
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5365 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5374 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5382 if ac_fn_c_try_compile
"$LINENO"; then :
5383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5391 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5399 if ac_fn_c_try_compile
"$LINENO"; then :
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5401 $as_echo "yes" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5404 $as_echo "buggy but acceptable" >&6; }
5406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }; have_gmp
=no
5411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 # Check for the MPC header version.
5415 if test x
"$have_gmp" = xyes
; then
5416 # Check for the recommended and required versions of MPC.
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5418 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5426 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5434 if ac_fn_c_try_compile
"$LINENO"; then :
5435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5442 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5450 if ac_fn_c_try_compile
"$LINENO"; then :
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452 $as_echo "yes" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5455 $as_echo "buggy but acceptable" >&6; }
5457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }; have_gmp
=no
5462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5465 # Now check the MPFR library.
5466 if test x
"$have_gmp" = xyes
; then
5468 LIBS
="$LIBS $gmplibs"
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5470 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5484 mpfr_atan2 (n, n, x, GMP_RNDN);
5485 mpfr_erfc (n, x, GMP_RNDN);
5486 mpfr_subnormalize (x, t, GMP_RNDN);
5490 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5491 mpc_cosh (c, c, MPC_RNDNN);
5492 mpc_pow (c, c, c, MPC_RNDNN);
5493 mpc_acosh (c, c, MPC_RNDNN);
5500 if ac_fn_c_try_link
"$LINENO"; then :
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5502 $as_echo "yes" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }; have_gmp
=no
5507 rm -f core conftest.err conftest.
$ac_objext \
5508 conftest
$ac_exeext conftest.
$ac_ext
5512 CFLAGS
="$saved_CFLAGS"
5514 # The library versions listed in the error message below should match
5515 # the HARD-minimums enforced above.
5516 if test x
$have_gmp != xyes
; then
5517 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5518 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5519 their locations. Source code for these libraries can be found at
5520 their respective hosting sites as well as at
5521 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5522 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5523 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5524 make sure that you have installed both the libraries and the header
5525 files. They may be located in separate packages." "$LINENO" 5
5529 # Flags needed for both GMP, MPFR and/or MPC.
5537 # Allow host libstdc++ to be specified for static linking with PPL.
5539 # Check whether --with-host-libstdcxx was given.
5540 if test "${with_host_libstdcxx+set}" = set; then :
5541 withval
=$with_host_libstdcxx;
5545 case $with_host_libstdcxx in
5547 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5551 # Linker flags to use for stage1 or when not boostrapping.
5553 # Check whether --with-stage1-ldflags was given.
5554 if test "${with_stage1_ldflags+set}" = set; then :
5555 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5558 stage1_ldflags
=$withval
5566 # Libraries to use for stage1 or when not bootstrapping.
5568 # Check whether --with-stage1-libs was given.
5569 if test "${with_stage1_libs+set}" = set; then :
5570 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5573 stage1_libs
=$withval
5576 stage1_libs
=$with_host_libstdcxx
5581 # Libraries to use for stage2 and later builds. This defaults to the
5582 # argument passed to --with-host-libstdcxx.
5584 # Check whether --with-boot-libs was given.
5585 if test "${with_boot_libs+set}" = set; then :
5586 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5589 poststage1_libs
=$withval
5592 poststage1_libs
=$with_host_libstdcxx
5597 # Linker flags to use for stage2 and later builds.
5599 # Check whether --with-boot-ldflags was given.
5600 if test "${with_boot_ldflags+set}" = set; then :
5601 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5604 poststage1_ldflags
=$withval
5608 # In stages 2 and 3, default to linking libstdc++ and libgcc
5609 # statically. But if the user explicitly specified the libraries to
5610 # use, trust that they are doing what they want.
5611 if test "$poststage1_libs" = ""; then
5612 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5618 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5619 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5623 # Check whether --with-cloog was given.
5624 if test "${with_cloog+set}" = set; then :
5625 withval
=$with_cloog;
5629 # Check whether --with-isl was given.
5630 if test "${with_isl+set}" = set; then :
5635 # Treat either --without-cloog or --without-isl as a request to disable
5636 # GRAPHITE support and skip all following checks.
5637 if test "x$with_isl" != "xno" &&
5638 test "x$with_cloog" != "xno"; then
5642 # Check whether --with-isl-include was given.
5643 if test "${with_isl_include+set}" = set; then :
5644 withval
=$with_isl_include;
5648 # Check whether --with-isl-lib was given.
5649 if test "${with_isl_lib+set}" = set; then :
5650 withval
=$with_isl_lib;
5654 # Check whether --enable-isl-version-check was given.
5655 if test "${enable_isl_version_check+set}" = set; then :
5656 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5658 ENABLE_ISL_CHECK
=yes
5662 # Initialize isllibs and islinc.
5671 isllibs
="-L$with_isl/lib"
5672 islinc
="-I$with_isl/include"
5675 if test "x${with_isl_include}" != x
; then
5676 islinc
="-I$with_isl_include"
5678 if test "x${with_isl_lib}" != x
; then
5679 isllibs
="-L$with_isl_lib"
5681 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5682 && test -d ${srcdir}/isl
; then
5683 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5684 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5690 if test "${ENABLE_ISL_CHECK}" = yes ; then
5691 _isl_saved_CFLAGS
=$CFLAGS
5692 _isl_saved_LDFLAGS
=$LDFLAGS
5693 _isl_saved_LIBS
=$LIBS
5695 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5696 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5697 LIBS
="${_isl_saved_LIBS} -lisl"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5701 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5702 if test "${gcc_cv_isl+set}" = set; then :
5703 $as_echo_n "(cached) " >&6
5705 if test "$cross_compiling" = yes; then :
5708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5710 #include <isl/version.h>
5715 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5722 if ac_fn_c_try_run
"$LINENO"; then :
5727 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5728 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5733 $as_echo "$gcc_cv_isl" >&6; }
5735 CFLAGS
=$_isl_saved_CFLAGS
5736 LDFLAGS
=$_isl_saved_LDFLAGS
5737 LIBS
=$_isl_saved_LIBS
5745 if test "x${with_isl}" = xno
; then
5746 graphite_requested
=no
5747 elif test "x${with_isl}" != x \
5748 ||
test "x${with_isl_include}" != x \
5749 ||
test "x${with_isl_lib}" != x
; then
5750 graphite_requested
=yes
5752 graphite_requested
=no
5757 if test "${gcc_cv_isl}" = no
; then
5762 if test "${graphite_requested}" = yes \
5763 && test "x${isllibs}" = x \
5764 && test "x${islinc}" = x
; then
5766 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5771 if test "x$gcc_cv_isl" != "xno"; then
5775 # Check whether --with-cloog-include was given.
5776 if test "${with_cloog_include+set}" = set; then :
5777 withval
=$with_cloog_include;
5781 # Check whether --with-cloog-lib was given.
5782 if test "${with_cloog_lib+set}" = set; then :
5783 withval
=$with_cloog_lib;
5787 # Check whether --enable-cloog-version-check was given.
5788 if test "${enable_cloog_version_check+set}" = set; then :
5789 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5791 ENABLE_CLOOG_CHECK
=yes
5795 # Initialize clooglibs and clooginc.
5804 clooglibs
="-L$with_cloog/lib"
5805 clooginc
="-I$with_cloog/include"
5808 if test "x${with_cloog_include}" != x
; then
5809 clooginc
="-I$with_cloog_include"
5811 if test "x${with_cloog_lib}" != x
; then
5812 clooglibs
="-L$with_cloog_lib"
5814 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5815 && test -d ${srcdir}/cloog
; then
5816 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5817 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5820 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5821 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
5827 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5828 _cloog_saved_CFLAGS
=$CFLAGS
5829 _cloog_saved_LDFLAGS
=$LDFLAGS
5831 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5832 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5835 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5836 if test "${gcc_cv_cloog+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 #include "cloog/version.h"
5845 #if CLOOG_VERSION_MAJOR != 0 \
5846 || CLOOG_VERSION_MINOR != 17 \
5847 || CLOOG_VERSION_REVISION < 0
5854 if ac_fn_c_try_compile
"$LINENO"; then :
5859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5862 $as_echo "$gcc_cv_cloog" >&6; }
5864 CFLAGS
=$_cloog_saved_CFLAGS
5865 LDFLAGS
=$_cloog_saved_LDFLAGS
5874 if test "x${with_cloog}" = xno
; then
5875 graphite_requested
=no
5876 elif test "x${with_cloog}" != x \
5877 ||
test "x${with_cloog_include}" != x \
5878 ||
test "x${with_cloog_lib}" != x
; then
5879 graphite_requested
=yes
5881 graphite_requested
=no
5886 if test "${gcc_cv_cloog}" = no
; then
5891 if test "${graphite_requested}" = yes \
5892 && test "x${clooglibs}" = x \
5893 && test "x${clooginc}" = x
; then
5895 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5902 # If either the ISL or the CLooG check failed, disable builds of in-tree
5904 if test "x$with_isl" = xno ||
5905 test "x$with_cloog" = xno ||
5906 test "x$gcc_cv_cloog" = xno ||
5907 test "x$gcc_cv_isl" = xno
; then
5908 noconfigdirs
="$noconfigdirs cloog isl"
5919 # Check for LTO support.
5920 # Check whether --enable-lto was given.
5921 if test "${enable_lto+set}" = set; then :
5922 enableval
=$enable_lto; enable_lto
=$enableval
5924 enable_lto
=yes; default_enable_lto
=yes
5933 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5934 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5935 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5943 if test $target_elf = yes; then :
5944 # ELF platforms build the lto-plugin always.
5945 build_lto_plugin
=yes
5948 if test x
"$default_enable_lto" = x
"yes" ; then
5950 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5951 # On other non-ELF platforms, LTO has yet to be validated.
5955 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5956 # It would also be nice to check the binutils support, but we don't
5957 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5958 # warn during gcc/ subconfigure; unless you're bootstrapping with
5959 # -flto it won't be needed until after installation anyway.
5961 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5962 *) if test x
"$enable_lto" = x
"yes"; then
5963 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5968 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5969 # Build it unless LTO was explicitly disabled.
5971 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5979 # By default, C and C++ are the only stage 1 languages.
5980 stage1_languages
=,c
,
5982 # Target libraries that we bootstrap.
5983 bootstrap_target_libs
=,target-libgcc
,
5985 # Figure out what language subdirectories are present.
5986 # Look if the user specified --enable-languages="..."; if not, use
5987 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5989 # NB: embedded tabs in this IF block -- do not untabify
5990 if test -d ${srcdir}/gcc
; then
5991 if test x
"${enable_languages+set}" != xset
; then
5992 if test x
"${LANGUAGES+set}" = xset
; then
5993 enable_languages
="${LANGUAGES}"
5994 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5996 enable_languages
=all
5999 if test x
"${enable_languages}" = x ||
6000 test x
"${enable_languages}" = xyes
;
6002 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6006 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6008 # 'f95' is the old name for the 'fortran' language. We issue a warning
6009 # and make the substitution.
6010 case ,${enable_languages}, in
6012 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6013 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6017 # If bootstrapping, C++ must be enabled.
6018 case ",$enable_languages,:$enable_bootstrap" in
6021 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6022 enable_languages
="${enable_languages},c++"
6024 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6029 # First scan to see if an enabled language requires some other language.
6030 # We assume that a given config-lang.in will list all the language
6031 # front ends it requires, even if some are required indirectly.
6032 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6033 case ${lang_frag} in
6035 # The odd quoting in the next line works around
6036 # an apparent bug in bash 1.12 on linux.
6037 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6039 # From the config-lang.in, get $language, $lang_requires, and
6040 # $lang_requires_boot_languages.
6043 lang_requires_boot_languages
=
6045 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6046 case ,${enable_languages}, in
6050 echo " \`$other' language required by \`$language'; enabling" 1>&2
6051 enable_languages
="${enable_languages},${other}"
6055 for other
in ${lang_requires_boot_languages} ; do
6056 if test "$other" != "c"; then
6057 case ,${enable_stage1_languages}, in
6061 case ,${enable_languages}, in
6063 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6064 enable_stage1_languages
="$enable_stage1_languages,${other}"
6075 new_enable_languages
=,c
,
6077 # If LTO is enabled, add the LTO front end.
6078 extra_host_libiberty_configure_flags
=
6079 if test "$enable_lto" = "yes" ; then
6080 case ,${enable_languages}, in
6082 *) enable_languages
="${enable_languages},lto" ;;
6084 if test "${build_lto_plugin}" = "yes" ; then
6085 configdirs
="$configdirs lto-plugin"
6086 extra_host_libiberty_configure_flags
=--enable-shared
6091 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6092 potential_languages
=,c
,
6094 enabled_target_libs
=
6095 disabled_target_libs
=
6097 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6098 case ${lang_frag} in
6100 # The odd quoting in the next line works around
6101 # an apparent bug in bash 1.12 on linux.
6102 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6104 # From the config-lang.in, get $language, $target_libs,
6105 # $lang_dirs, $boot_language, and $build_by_default
6111 build_by_default
=yes
6113 if test x
${language} = x
; then
6114 echo "${lang_frag} doesn't set \$language." 1>&2
6118 if test "$language" = "c++"; then
6123 case ,${enable_languages}, in
6125 # Language was explicitly selected; include it
6126 # unless it is C, which is enabled by default.
6127 if test "$language" != "c"; then
6132 # 'all' was selected, select it if it is a default language
6133 if test "$language" != "c"; then
6134 add_this_lang
=${build_by_default}
6139 # Disable languages that need other directories if these aren't available.
6140 for i
in $subdir_requires; do
6141 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6142 case ,${enable_languages}, in
6144 # Specifically requested language; tell them.
6145 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6149 add_this_lang
=unsupported
6154 # Disable Ada if no preexisting GNAT is available.
6155 case ,${enable_languages},:${language}:${have_gnat} in
6156 *,${language},*:ada
:no
)
6157 # Specifically requested language; tell them.
6158 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6162 add_this_lang
=unsupported
6166 # Disable a language that is unsupported by the target.
6167 case " $unsupported_languages " in
6169 add_this_lang
=unsupported
6173 case $add_this_lang in
6175 # Remove language-dependent dirs.
6176 disabled_target_libs
="$disabled_target_libs $target_libs"
6177 noconfigdirs
="$noconfigdirs $lang_dirs"
6180 # Remove language-dependent dirs; still show language as supported.
6181 disabled_target_libs
="$disabled_target_libs $target_libs"
6182 noconfigdirs
="$noconfigdirs $lang_dirs"
6183 potential_languages
="${potential_languages}${language},"
6186 new_enable_languages
="${new_enable_languages}${language},"
6187 potential_languages
="${potential_languages}${language},"
6188 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6189 enabled_target_libs
="$enabled_target_libs $target_libs"
6190 case "${boot_language}:,$enable_stage1_languages," in
6191 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6192 # Add to (comma-separated) list of stage 1 languages.
6193 case ",$stage1_languages," in
6194 *,$language,* |
,yes, |
,all
,) ;;
6195 *) stage1_languages
="${stage1_languages}${language}," ;;
6197 # We need to bootstrap any supporting libraries.
6198 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6207 # Add target libraries which are only needed for disabled languages
6209 if test -n "$disabled_target_libs"; then
6210 for dir
in $disabled_target_libs; do
6211 case " $enabled_target_libs " in
6213 *) noconfigdirs
="$noconfigdirs $dir" ;;
6218 # Check whether --enable-stage1-languages was given.
6219 if test "${enable_stage1_languages+set}" = set; then :
6220 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6222 # Set it to something that will have no effect in the loop below
6223 enable_stage1_languages
=c
;;
6225 enable_stage1_languages
=`echo $new_enable_languages | \
6226 sed -e "s/^,//" -e "s/,$//" ` ;;
6228 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6229 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6232 # Add "good" languages from enable_stage1_languages to stage1_languages,
6233 # while "bad" languages go in missing_languages. Leave no duplicates.
6234 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6235 case $potential_languages in
6237 case $stage1_languages in
6239 *) stage1_languages
="$stage1_languages$i," ;;
6242 case $missing_languages in
6244 *) missing_languages
="$missing_languages$i," ;;
6251 # Remove leading/trailing commas that were added for simplicity
6252 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6253 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6254 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6255 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6257 if test "x$missing_languages" != x
; then
6259 The following requested languages could not be built: ${missing_languages}
6260 Supported languages are: ${potential_languages}" "$LINENO" 5
6262 if test "x$new_enable_languages" != "x$enable_languages"; then
6263 echo The following languages will be built
: ${new_enable_languages}
6264 enable_languages
="$new_enable_languages"
6268 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6271 # Handle --disable-<component> generically.
6272 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6273 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6274 varname
=`echo $dirname | sed -e s/+/_/g`
6275 if eval test x\
${enable_${varname}} "=" xno
; then
6276 noconfigdirs
="$noconfigdirs $dir"
6280 # Check for Boehm's garbage collector
6281 # Check whether --enable-objc-gc was given.
6282 if test "${enable_objc_gc+set}" = set; then :
6283 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6284 *,objc
,*:*:yes:*target-boehm-gc
*)
6285 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6291 # Make sure we only build Boehm's garbage collector if required.
6292 case ,${enable_languages},:${enable_objc_gc} in
6294 # Keep target-boehm-gc if requested for Objective-C.
6297 # Otherwise remove target-boehm-gc depending on target-libjava.
6298 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6299 noconfigdirs
="$noconfigdirs target-boehm-gc"
6304 # Disable libitm if we're not building C++
6305 case ,${enable_languages}, in
6308 noconfigdirs
="$noconfigdirs target-libitm"
6312 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6313 # $build_configdirs and $target_configdirs.
6314 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6317 for dir
in .
$skipdirs $noconfigdirs ; do
6318 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6319 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6320 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6321 if test -r $srcdir/$dirname/configure
; then
6322 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6325 notsupp
="$notsupp $dir"
6329 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6330 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6331 if test -r $srcdir/$dirname/configure
; then
6332 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6335 notsupp
="$notsupp $dir"
6339 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6340 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6341 if test -r $srcdir/$dirname/configure
; then
6342 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6345 notsupp
="$notsupp $dir"
6351 # Quietly strip out all directories which aren't configurable in this tree.
6352 # This relies on all configurable subdirectories being autoconfiscated, which
6354 build_configdirs_all
="$build_configdirs"
6356 for i
in ${build_configdirs_all} ; do
6357 j
=`echo $i | sed -e s/build-//g`
6358 if test -f ${srcdir}/$j/configure
; then
6359 build_configdirs
="${build_configdirs} $i"
6363 configdirs_all
="$configdirs"
6365 for i
in ${configdirs_all} ; do
6366 if test -f ${srcdir}/$i/configure
; then
6367 configdirs
="${configdirs} $i"
6371 target_configdirs_all
="$target_configdirs"
6373 for i
in ${target_configdirs_all} ; do
6374 j
=`echo $i | sed -e s/target-//g`
6375 if test -f ${srcdir}/$j/configure
; then
6376 target_configdirs
="${target_configdirs} $i"
6380 # Produce a warning message for the subdirs we can't configure.
6381 # This isn't especially interesting in the Cygnus tree, but in the individual
6382 # FSF releases, it's important to let people know when their machine isn't
6383 # supported by the one or two programs in a package.
6385 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6386 # If $appdirs is non-empty, at least one of those directories must still
6387 # be configured, or we error out. (E.g., if the gas release supports a
6388 # specified target in some subdirs but not the gas subdir, we shouldn't
6389 # pretend that all is well.)
6390 if test -n "$appdirs" ; then
6391 for dir
in $appdirs ; do
6392 if test -r $dir/Makefile.
in ; then
6393 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6397 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6403 if test -n "$appdirs" ; then
6404 echo "*** This configuration is not supported by this package." 1>&2
6408 # Okay, some application will build, or we don't care to check. Still
6409 # notify of subdirs not getting built.
6410 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6411 echo " ${notsupp}" 1>&2
6412 echo " (Any other directories should still work fine.)" 1>&2
6420 # To find our prefix, in gcc_cv_tool_prefix.
6422 # The user is always right.
6423 if test "${PATH_SEPARATOR+set}" != set; then
6424 echo "#! /bin/sh" >conf$$.sh
6425 echo "exit 0" >>conf$$.sh
6427 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6437 if test "x$exec_prefix" = xNONE
; then
6438 if test "x$prefix" = xNONE
; then
6439 gcc_cv_tool_prefix
=$ac_default_prefix
6441 gcc_cv_tool_prefix
=$prefix
6444 gcc_cv_tool_prefix
=$exec_prefix
6447 # If there is no compiler in the tree, use the PATH only. In any
6448 # case, if there is no compiler in the tree nobody should use
6449 # AS_FOR_TARGET and LD_FOR_TARGET.
6450 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6451 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6452 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6453 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6454 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6455 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6456 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6457 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6462 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6463 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6471 # Check whether --with-build-sysroot was given.
6472 if test "${with_build_sysroot+set}" = set; then :
6473 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6474 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6477 SYSROOT_CFLAGS_FOR_TARGET
=
6483 # Check whether --with-debug-prefix-map was given.
6484 if test "${with_debug_prefix_map+set}" = set; then :
6485 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6486 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6487 for debug_map
in $withval; do
6488 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6492 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6497 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6498 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6499 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6500 # We want to ensure that TARGET libraries (which we know are built with
6501 # gcc) are built with "-O2 -g", so include those options when setting
6502 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6503 if test "x$CFLAGS_FOR_TARGET" = x
; then
6504 CFLAGS_FOR_TARGET
=$CFLAGS
6507 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6510 *" -g "* |
*" -g3 "*) ;;
6511 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6516 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6517 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6518 case " $CXXFLAGS " in
6520 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6522 case " $CXXFLAGS " in
6523 *" -g "* |
*" -g3 "*) ;;
6524 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6531 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6532 # the named directory are copied to $(tooldir)/sys-include.
6533 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6534 if test x
${is_cross_compiler} = xno
; then
6535 echo 1>&2 '***' --with-headers is only supported when cross compiling
6538 if test x
"${with_headers}" != xyes
; then
6539 x
=${gcc_cv_tool_prefix}
6540 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6544 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6545 # the name directories are copied to $(tooldir)/lib. Multiple directories
6547 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6548 if test x
${is_cross_compiler} = xno
; then
6549 echo 1>&2 '***' --with-libs is only supported when cross compiling
6552 if test x
"${with_libs}" != xyes
; then
6553 # Copy the libraries in reverse order, so that files in the first named
6554 # library override files in subsequent libraries.
6555 x
=${gcc_cv_tool_prefix}
6556 for l
in ${with_libs}; do
6557 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6562 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6564 # This is done by determining whether or not the appropriate directory
6565 # is available, and by checking whether or not specific configurations
6566 # have requested that this magic not happen.
6568 # The command line options always override the explicit settings in
6569 # configure.in, and the settings in configure.in override this magic.
6571 # If the default for a toolchain is to use GNU as and ld, and you don't
6572 # want to do that, then you should use the --without-gnu-as and
6573 # --without-gnu-ld options for the configure script. Similarly, if
6574 # the default is to use the included zlib and you don't want to do that,
6575 # you should use the --with-system-zlib option for the configure script.
6577 if test x
${use_gnu_as} = x
&&
6578 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6580 extra_host_args
="$extra_host_args --with-gnu-as"
6583 if test x
${use_gnu_ld} = x
&&
6584 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6586 extra_host_args
="$extra_host_args --with-gnu-ld"
6589 if test x
${use_included_zlib} = x
&&
6590 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6593 with_system_zlib
=yes
6594 extra_host_args
="$extra_host_args --with-system-zlib"
6597 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6598 # can detect this case.
6600 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6602 extra_host_args
="$extra_host_args --with-newlib"
6605 # Handle ${copy_dirs}
6606 set fnord
${copy_dirs}
6608 while test $# != 0 ; do
6609 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6612 echo Copying
$1 to
$2
6614 # Use the install script to create the directory and all required
6615 # parent directories.
6616 if test -d $2 ; then
6620 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6623 # Copy the directory, assuming we have tar.
6624 # FIXME: Should we use B in the second tar? Not all systems support it.
6625 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6627 # It is the responsibility of the user to correctly adjust all
6628 # symlinks. If somebody can figure out how to handle them correctly
6629 # here, feel free to add the code.
6636 # Determine a target-dependent exec_prefix that the installed
6637 # gcc will search in. Keep this list sorted by triplet, with
6638 # the *-*-osname triplets last.
6641 i
[34567]86-pc-msdosdjgpp*)
6642 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6647 md_exec_prefix
=/usr
/ccs
/bin
6651 extra_arflags_for_target
=
6652 extra_nmflags_for_target
=
6653 extra_ranlibflags_for_target
=
6654 target_makefile_frag
=/dev
/null
6657 target_makefile_frag
="config/mt-spu"
6660 target_makefile_frag
="config/mt-sde"
6662 mipsisa
*-*-elfoabi*)
6663 target_makefile_frag
="config/mt-mips-elfoabi"
6665 mips
*-*-*linux
* | mips
*-*-gnu*)
6666 target_makefile_frag
="config/mt-mips-gnu"
6668 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6669 target_makefile_frag
="config/mt-gnu"
6671 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6672 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6673 # commands to handle both 32-bit and 64-bit objects. These flags are
6674 # harmless if we're using GNU nm or ar.
6675 extra_arflags_for_target
=" -X32_64"
6676 extra_nmflags_for_target
=" -B -X32_64"
6680 alphaieee_frag
=/dev
/null
6683 # This just makes sure to use the -mieee option to build target libs.
6684 # This should probably be set individually by each library.
6685 alphaieee_frag
="config/mt-alphaieee"
6689 # If --enable-target-optspace always use -Os instead of -O2 to build
6690 # the target libraries, similarly if it is not specified, use -Os
6691 # on selected platforms.
6692 ospace_frag
=/dev
/null
6693 case "${enable_target_optspace}:${target}" in
6695 ospace_frag
="config/mt-ospace"
6698 ospace_frag
="config/mt-d30v"
6700 :m32r-
* |
:d10v-
* |
:fr30-
*)
6701 ospace_frag
="config/mt-ospace"
6706 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6710 # Some systems (e.g., one of the i386-aix systems the gas testers are
6711 # using) don't handle "\$" correctly, so don't use it here.
6712 tooldir
='${exec_prefix}'/${target_noncanonical}
6713 build_tooldir
=${tooldir}
6715 # Create a .gdbinit file which runs the one in srcdir
6716 # and tells GDB to look there for source files.
6718 if test -r ${srcdir}/.gdbinit
; then
6721 *) cat > .
/.gdbinit
<<EOF
6725 source ${srcdir}/.gdbinit
6731 # Make sure that the compiler is able to generate an executable. If it
6732 # can't, we are probably in trouble. We don't care whether we can run the
6733 # executable--we might be using a cross compiler--we only care whether it
6734 # can be created. At this point the main configure script has set CC.
6736 echo "int main () { return 0; }" > conftest.c
6737 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6738 if test $?
= 0 ; then
6739 if test -s conftest ||
test -s conftest.exe
; then
6745 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6746 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6753 # Decide which environment variable is used to find dynamic libraries.
6755 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6756 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6757 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6758 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6761 # On systems where the dynamic library environment variable is PATH,
6762 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6763 # built executables to PATH.
6764 if test "$RPATH_ENVVAR" = PATH
; then
6765 GCC_SHLIB_SUBDIR
=/shlib
6770 # Record target_configdirs and the configure arguments for target and
6771 # build configuration in Makefile.
6772 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6773 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6775 # If we are building libgomp, bootstrap it.
6776 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6777 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6780 # Determine whether gdb needs tk/tcl or not.
6781 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6782 # and in that case we want gdb to be built without tk. Ugh!
6783 # In fact I believe gdb is the *only* package directly dependent on tk,
6784 # so we should be able to put the 'maybe's in unconditionally and
6785 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6786 # 100% sure that that's safe though.
6788 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6789 case "$enable_gdbtk" in
6793 GDB_TK
="${gdb_tk}" ;;
6795 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6796 # distro. Eventually someone will fix this and move Insight, nee
6797 # gdbtk to a separate directory.
6798 if test -d ${srcdir}/gdb
/gdbtk
; then
6805 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6806 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6808 # Strip out unwanted targets.
6810 # While at that, we remove Makefiles if we were started for recursive
6811 # configuration, so that the top-level Makefile reconfigures them,
6812 # like we used to do when configure itself was recursive.
6814 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6815 # but now we're fixing up the Makefile ourselves with the additional
6816 # commands passed to AC_CONFIG_FILES. Use separate variables
6817 # extrasub-{build,host,target} not because there is any reason to split
6818 # the substitutions up that way, but only to remain below the limit of
6819 # 99 commands in a script, for HP-UX sed.
6820 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6822 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6823 yes:yes:*\ gold\
*:*,c
++,*) ;;
6824 yes:yes:*\ gold\
*:*)
6825 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6829 # Adjust the toplevel makefile according to whether bootstrap was selected.
6830 case $enable_bootstrap in
6832 bootstrap_suffix
=bootstrap
6833 BUILD_CONFIG
=bootstrap-debug
6836 bootstrap_suffix
=no-bootstrap
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6842 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6845 # Check whether --with-build-config was given.
6846 if test "${with_build_config+set}" = set; then :
6847 withval
=$with_build_config; case $with_build_config in
6848 yes) with_build_config
= ;;
6849 no
) with_build_config
= BUILD_CONFIG
= ;;
6854 if test "x${with_build_config}" != x
; then
6855 BUILD_CONFIG
=$with_build_config
6857 case $BUILD_CONFIG in
6859 if echo "int f (void) { return 0; }" > conftest.c
&&
6860 ${CC} -c conftest.c
&&
6861 mv conftest.o conftest.o.g0
&&
6862 ${CC} -c -g conftest.c
&&
6863 mv conftest.o conftest.o.g
&&
6864 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6869 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6874 $as_echo "$BUILD_CONFIG" >&6; }
6878 for module
in ${build_configdirs} ; do
6879 if test -z "${no_recursion}" \
6880 && test -f ${build_subdir}/${module}/Makefile
; then
6881 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6882 rm -f ${build_subdir}/${module}/Makefile
6884 extrasub_build
="$extrasub_build
6885 /^@if build-$module\$/d
6886 /^@endif build-$module\$/d
6887 /^@if build-$module-$bootstrap_suffix\$/d
6888 /^@endif build-$module-$bootstrap_suffix\$/d"
6891 for module
in ${configdirs} ; do
6892 if test -z "${no_recursion}"; then
6893 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6894 if test -f ${file}; then
6895 echo 1>&2 "*** removing ${file} to force reconfigure"
6900 extrasub_host
="$extrasub_host
6902 /^@endif $module\$/d
6903 /^@if $module-$bootstrap_suffix\$/d
6904 /^@endif $module-$bootstrap_suffix\$/d"
6907 for module
in ${target_configdirs} ; do
6908 if test -z "${no_recursion}" \
6909 && test -f ${target_subdir}/${module}/Makefile
; then
6910 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6911 rm -f ${target_subdir}/${module}/Makefile
6914 # We only bootstrap target libraries listed in bootstrap_target_libs.
6915 case $bootstrap_target_libs in
6916 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6917 *) target_bootstrap_suffix
=no-bootstrap
;;
6920 extrasub_target
="$extrasub_target
6921 /^@if target-$module\$/d
6922 /^@endif target-$module\$/d
6923 /^@if target-$module-$target_bootstrap_suffix\$/d
6924 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6927 # Do the final fixup along with target modules.
6928 extrasub_target
="$extrasub_target
6929 /^@if /,/^@endif /d"
6931 # Create the serialization dependencies. This uses a temporary file.
6933 # Check whether --enable-serial-configure was given.
6934 if test "${enable_serial_configure+set}" = set; then :
6935 enableval
=$enable_serial_configure;
6939 case ${enable_serial_configure} in
6941 enable_serial_build_configure
=yes
6942 enable_serial_host_configure
=yes
6943 enable_serial_target_configure
=yes
6947 # These force 'configure's to be done one at a time, to avoid problems
6948 # with contention over a shared config.cache.
6950 echo '# serdep.tmp' > serdep.tmp
6952 test "x${enable_serial_build_configure}" = xyes
&&
6953 for item
in ${build_configdirs} ; do
6956 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6961 test "x${enable_serial_host_configure}" = xyes
&&
6962 for item
in ${configdirs} ; do
6965 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6970 test "x${enable_serial_target_configure}" = xyes
&&
6971 for item
in ${target_configdirs} ; do
6974 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6978 serialization_dependencies
=serdep.tmp
6981 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6982 # target, nonopt, and variable assignments. These are the ones we
6983 # might not want to pass down to subconfigures. The exception being
6984 # --cache-file=/dev/null, which is used to turn off the use of cache
6985 # files altogether, and which should be passed on to subconfigures.
6986 # Also strip program-prefix, program-suffix, and program-transform-name,
6987 # so that we can pass down a consistent program-transform-name.
6992 eval "set -- $ac_configure_args"
6995 if test X
"$skip_next" = X
"yes"; then
6999 if test X
"$keep_next" = X
"yes"; then
7002 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7004 baseargs
="$baseargs '$ac_arg'"
7005 tbaseargs
="$tbaseargs '$ac_arg'"
7010 # Handle separated arguments. Based on the logic generated by
7013 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7014 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7015 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7016 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7030 --with-* |
--without-*)
7031 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7035 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7038 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7047 mpc | mpfr | gmp | cloog
)
7048 # If we're processing --with-$lib, --with-$lib-include or
7049 # --with-$lib-lib, for one of the libs above, and target is
7050 # different from host, don't pass the current argument to any
7051 # target library's configure.
7052 if test x
$is_cross_compiler = xyes
; then
7061 --cache-file=/dev
/null | \
7062 -cache-file=/dev
/null
)
7063 # Handled here to avoid the test to skip args below.
7064 baseargs
="$baseargs '$ac_arg'"
7065 tbaseargs
="$tbaseargs '$ac_arg'"
7066 # Assert: $separate_arg should always be no.
7067 keep_next
=$separate_arg
7083 -program-prefix* | \
7084 -program-suffix* | \
7085 -program-transform-name* )
7086 skip_next
=$separate_arg
7090 # An option. Add it.
7093 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7095 baseargs
="$baseargs '$ac_arg'"
7096 if test X
"$skip_targ" = Xno
; then
7097 tbaseargs
="$tbaseargs '$ac_arg'"
7099 keep_next
=$separate_arg
7102 # Either a variable assignment, or a nonopt (triplet). Don't
7103 # pass it down; let the Makefile handle this.
7108 # Remove the initial space we just introduced and, as these will be
7109 # expanded by make, quote '$'.
7110 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7112 # Add in --program-transform-name, after --program-prefix and
7113 # --program-suffix have been applied to it. Autoconf has already
7114 # doubled dollar signs and backslashes in program_transform_name; we want
7115 # the backslashes un-doubled, and then the entire thing wrapped in single
7116 # quotes, because this will be expanded first by make and then by the shell.
7117 # Also, because we want to override the logic in subdir configure scripts to
7118 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7119 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7120 ${program_transform_name}
7122 gcc_transform_name
=`cat conftestsed.out`
7123 rm -f conftestsed.out
7124 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7125 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7126 if test "$silent" = yes; then
7127 baseargs
="$baseargs --silent"
7128 tbaseargs
="$tbaseargs --silent"
7130 baseargs
="$baseargs --disable-option-checking"
7131 tbaseargs
="$tbaseargs --disable-option-checking"
7133 # Record and document user additions to sub configure arguments.
7138 # For the build-side libraries, we just need to pretend we're native,
7139 # and not use the same cache file. Multilibs are neither needed nor
7141 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7143 # For host modules, accept cache file option, or specification as blank.
7144 case "${cache_file}" in
7146 cache_file_option
="" ;;
7147 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7148 cache_file_option
="--cache-file=${cache_file}" ;;
7150 cache_file_option
="--cache-file=../${cache_file}" ;;
7153 # Host dirs don't like to share a cache file either, horribly enough.
7154 # This seems to be due to autoconf 2.5x stupidity.
7155 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7157 target_configargs
="$target_configargs ${tbaseargs}"
7159 # Passing a --with-cross-host argument lets the target libraries know
7160 # whether they are being built with a cross-compiler or being built
7161 # native. However, it would be better to use other mechanisms to make the
7162 # sorts of decisions they want to make on this basis. Please consider
7163 # this option to be deprecated. FIXME.
7164 if test x
${is_cross_compiler} = xyes
; then
7165 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7168 # Default to --enable-multilib.
7169 if test x
${enable_multilib} = x
; then
7170 target_configargs
="--enable-multilib ${target_configargs}"
7173 # Pass --with-newlib if appropriate. Note that target_configdirs has
7174 # changed from the earlier setting of with_newlib.
7175 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7176 target_configargs
="--with-newlib ${target_configargs}"
7179 # Different target subdirs use different values of certain variables
7180 # (notably CXX). Worse, multilibs use *lots* of different values.
7181 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7182 # it doesn't automatically accept command-line overrides of them.
7183 # This means it's not safe for target subdirs to share a cache file,
7184 # which is disgusting, but there you have it. Hopefully this can be
7185 # fixed in future. It's still worthwhile to use a cache file for each
7186 # directory. I think.
7188 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7189 # We need to pass --target, as newer autoconf's requires consistency
7190 # for target_alias and gcc doesn't manage it consistently.
7191 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7194 case " $target_configdirs " in
7196 case " $target_configargs " in
7197 *" --with-newlib "*)
7200 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'
7204 # If we're not building GCC, don't discard standard headers.
7205 if test -d ${srcdir}/gcc
; then
7206 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7208 if test "${build}" != "${host}"; then
7209 # On Canadian crosses, CC_FOR_TARGET will have already been set
7210 # by `configure', so we won't have an opportunity to add -Bgcc/
7211 # to it. This is right: we don't want to search that directory
7212 # for binaries, but we want the header files in there, so add
7214 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7216 # Someone might think of using the pre-installed headers on
7217 # Canadian crosses, in case the installed compiler is not fully
7218 # compatible with the compiler being built. In this case, it
7219 # would be better to flag an error than risking having
7220 # incompatible object files being constructed. We can't
7221 # guarantee that an error will be flagged, but let's hope the
7222 # compiler will do it, when presented with incompatible header
7227 case "${target}-${is_cross_compiler}" in
7228 i
[3456789]86-*-linux*-no)
7229 # Here host == target, so we don't need to build gcc,
7230 # so we don't want to discard standard headers.
7231 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7234 # If we're building newlib, use its generic headers last, but search
7235 # for any libc-related directories first (so make it the last -B
7237 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7239 # If we're building libgloss, find the startup file, simulator library
7240 # and linker script.
7241 case " $target_configdirs " in
7243 # Look for startup file, simulator library and maybe linker script.
7244 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7245 # Look for libnosys.a in case the target needs it.
7246 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7247 # Most targets have the linker script in the source directory.
7248 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7259 x86_64-
*mingw
* |
*-w64-mingw*)
7260 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7261 # however, use a symlink named 'mingw' in ${prefix} .
7262 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7265 # MinGW can't be handled as Cygwin above since it does not use newlib.
7266 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'
7270 # Allow the user to override the flags for
7271 # our build compiler if desired.
7272 if test x
"${build}" = x
"${host}" ; then
7273 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7274 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7275 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7278 # On Canadian crosses, we'll be searching the right directories for
7279 # the previously-installed cross compiler, so don't bother to add
7280 # flags for directories within the install tree of the compiler
7281 # being built; programs in there won't even run.
7282 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7283 # Search for pre-installed headers if nothing else fits.
7284 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7287 if test "x
${use_gnu_ld}" = x &&
7288 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7289 # Arrange for us to find uninstalled linker scripts.
7290 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7293 # Search for other target-specific linker scripts and such.
7296 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7300 # Makefile fragments.
7301 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7303 eval fragval=\$$frag
7304 if test $fragval != /dev/null; then
7305 eval $frag=${srcdir}/$fragval
7313 # Miscellanea: directories, flags, etc.
7322 # Build module lists & subconfigure args.
7326 # Host module lists & subconfigure args.
7331 # Target module lists & subconfigure args.
7353 # Generate default definitions for YACC, M4, LEX and other programs that run
7354 # on the build machine. These are used if the Makefile can't locate these
7355 # programs in objdir.
7356 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7358 for ac_prog in 'bison -y' byacc yacc
7360 # Extract the first word of "$ac_prog", so it can be a program name with args.
7361 set dummy $ac_prog; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7363 $as_echo_n "checking
for $ac_word...
" >&6; }
7364 if test "${ac_cv_prog_YACC+set}" = set; then :
7365 $as_echo_n "(cached
) " >&6
7367 if test -n "$YACC"; then
7368 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_YACC="$ac_prog"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7387 YACC=$ac_cv_prog_YACC
7388 if test -n "$YACC"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7390 $as_echo "$YACC" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7393 $as_echo "no
" >&6; }
7397 test -n "$YACC" && break
7399 test -n "$YACC" || YACC="$MISSING bison
-y"
7401 case " $build_configdirs " in
7402 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7405 for ac_prog in bison
7407 # Extract the first word of "$ac_prog", so it can be a program name with args.
7408 set dummy $ac_prog; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7410 $as_echo_n "checking
for $ac_word...
" >&6; }
7411 if test "${ac_cv_prog_BISON+set}" = set; then :
7412 $as_echo_n "(cached
) " >&6
7414 if test -n "$BISON"; then
7415 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7424 ac_cv_prog_BISON="$ac_prog"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7434 BISON=$ac_cv_prog_BISON
7435 if test -n "$BISON"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7437 $as_echo "$BISON" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7440 $as_echo "no
" >&6; }
7444 test -n "$BISON" && break
7446 test -n "$BISON" || BISON="$MISSING bison
"
7448 case " $build_configdirs " in
7449 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7452 for ac_prog in gm4 gnum4 m4
7454 # Extract the first word of "$ac_prog", so it can be a program name with args.
7455 set dummy $ac_prog; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7457 $as_echo_n "checking
for $ac_word...
" >&6; }
7458 if test "${ac_cv_prog_M4+set}" = set; then :
7459 $as_echo_n "(cached
) " >&6
7461 if test -n "$M4"; then
7462 ac_cv_prog_M4="$M4" # Let the user override the test.
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 ac_cv_prog_M4="$ac_prog"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7482 if test -n "$M4"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7484 $as_echo "$M4" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7487 $as_echo "no
" >&6; }
7491 test -n "$M4" && break
7493 test -n "$M4" || M4="$MISSING m4"
7495 case " $build_configdirs " in
7496 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7499 for ac_prog in flex lex
7501 # Extract the first word of "$ac_prog", so it can be a program name with args.
7502 set dummy $ac_prog; ac_word=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7504 $as_echo_n "checking
for $ac_word...
" >&6; }
7505 if test "${ac_cv_prog_LEX+set}" = set; then :
7506 $as_echo_n "(cached
) " >&6
7508 if test -n "$LEX"; then
7509 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 test -z "$as_dir" && as_dir=.
7516 for ac_exec_ext in '' $ac_executable_extensions; do
7517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518 ac_cv_prog_LEX="$ac_prog"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7529 if test -n "$LEX"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7531 $as_echo "$LEX" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7534 $as_echo "no
" >&6; }
7538 test -n "$LEX" && break
7540 test -n "$LEX" || LEX="$MISSING flex
"
7542 case " $build_configdirs " in
7543 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7544 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7549 # Extract the first word of "$ac_prog", so it can be a program name with args.
7550 set dummy $ac_prog; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7552 $as_echo_n "checking
for $ac_word...
" >&6; }
7553 if test "${ac_cv_prog_FLEX+set}" = set; then :
7554 $as_echo_n "(cached
) " >&6
7556 if test -n "$FLEX"; then
7557 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566 ac_cv_prog_FLEX="$ac_prog"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7576 FLEX=$ac_cv_prog_FLEX
7577 if test -n "$FLEX"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7579 $as_echo "$FLEX" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7582 $as_echo "no
" >&6; }
7586 test -n "$FLEX" && break
7588 test -n "$FLEX" || FLEX="$MISSING flex
"
7590 case " $build_configdirs " in
7591 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7594 for ac_prog in makeinfo
7596 # Extract the first word of "$ac_prog", so it can be a program name with args.
7597 set dummy $ac_prog; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7599 $as_echo_n "checking
for $ac_word...
" >&6; }
7600 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7601 $as_echo_n "(cached
) " >&6
7603 if test -n "$MAKEINFO"; then
7604 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_MAKEINFO="$ac_prog"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7623 MAKEINFO=$ac_cv_prog_MAKEINFO
7624 if test -n "$MAKEINFO"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7626 $as_echo "$MAKEINFO" >&6; }
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7629 $as_echo "no
" >&6; }
7633 test -n "$MAKEINFO" && break
7635 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7637 case " $build_configdirs " in
7638 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7641 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7642 # higher, else we use the "missing
" dummy.
7643 if ${MAKEINFO} --version \
7644 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7647 MAKEINFO="$MISSING makeinfo
"
7653 # FIXME: expect and dejagnu may become build tools?
7655 for ac_prog in expect
7657 # Extract the first word of "$ac_prog", so it can be a program name with args.
7658 set dummy $ac_prog; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7660 $as_echo_n "checking
for $ac_word...
" >&6; }
7661 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7662 $as_echo_n "(cached
) " >&6
7664 if test -n "$EXPECT"; then
7665 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7674 ac_cv_prog_EXPECT="$ac_prog"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7684 EXPECT=$ac_cv_prog_EXPECT
7685 if test -n "$EXPECT"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7687 $as_echo "$EXPECT" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7690 $as_echo "no
" >&6; }
7694 test -n "$EXPECT" && break
7696 test -n "$EXPECT" || EXPECT="expect
"
7698 case " $configdirs " in
7700 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7704 for ac_prog in runtest
7706 # Extract the first word of "$ac_prog", so it can be a program name with args.
7707 set dummy $ac_prog; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7709 $as_echo_n "checking
for $ac_word...
" >&6; }
7710 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7711 $as_echo_n "(cached
) " >&6
7713 if test -n "$RUNTEST"; then
7714 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_RUNTEST="$ac_prog"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7733 RUNTEST=$ac_cv_prog_RUNTEST
7734 if test -n "$RUNTEST"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7736 $as_echo "$RUNTEST" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7739 $as_echo "no
" >&6; }
7743 test -n "$RUNTEST" && break
7745 test -n "$RUNTEST" || RUNTEST="runtest
"
7747 case " $configdirs " in
7749 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7756 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7757 ncn_target_tool_prefix=
7758 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7762 if test -n "$AR"; then
7764 elif test -n "$ac_cv_prog_AR"; then
7768 if test -n "$ac_cv_prog_AR"; then
7769 for ncn_progname in ar; do
7770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7771 set dummy ${ncn_progname}; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if test "${ac_cv_prog_AR+set}" = set; then :
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$AR"; then
7778 ac_cv_prog_AR="$AR" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_prog_AR="${ncn_progname}"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7798 if test -n "$AR"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7800 $as_echo "$AR" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7810 for ncn_progname in ar; do
7811 if test -n "$ncn_tool_prefix"; then
7812 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7813 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7815 $as_echo_n "checking
for $ac_word...
" >&6; }
7816 if test "${ac_cv_prog_AR+set}" = set; then :
7817 $as_echo_n "(cached
) " >&6
7819 if test -n "$AR"; then
7820 ac_cv_prog_AR="$AR" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7840 if test -n "$AR"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7842 $as_echo "$AR" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7845 $as_echo "no
" >&6; }
7850 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7852 set dummy ${ncn_progname}; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if test "${ac_cv_prog_AR+set}" = set; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$AR"; then
7859 ac_cv_prog_AR="$AR" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_AR="${ncn_progname}"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7879 if test -n "$AR"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7881 $as_echo "$AR" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7889 test -n "$ac_cv_prog_AR" && break
7892 if test -z "$ac_cv_prog_AR" ; then
7894 if test $build = $host ; then
7897 AR="${ncn_tool_prefix}$2"
7903 if test -n "$AS"; then
7905 elif test -n "$ac_cv_prog_AS"; then
7909 if test -n "$ac_cv_prog_AS"; then
7910 for ncn_progname in as; do
7911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7912 set dummy ${ncn_progname}; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7914 $as_echo_n "checking
for $ac_word...
" >&6; }
7915 if test "${ac_cv_prog_AS+set}" = set; then :
7916 $as_echo_n "(cached
) " >&6
7918 if test -n "$AS"; then
7919 ac_cv_prog_AS="$AS" # Let the user override the test.
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_prog_AS="${ncn_progname}"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 if test -n "$AS"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7941 $as_echo "$AS" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7944 $as_echo "no
" >&6; }
7951 for ncn_progname in as; do
7952 if test -n "$ncn_tool_prefix"; then
7953 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7954 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7956 $as_echo_n "checking
for $ac_word...
" >&6; }
7957 if test "${ac_cv_prog_AS+set}" = set; then :
7958 $as_echo_n "(cached
) " >&6
7960 if test -n "$AS"; then
7961 ac_cv_prog_AS="$AS" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 if test -n "$AS"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7983 $as_echo "$AS" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7986 $as_echo "no
" >&6; }
7991 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7993 set dummy ${ncn_progname}; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7995 $as_echo_n "checking
for $ac_word...
" >&6; }
7996 if test "${ac_cv_prog_AS+set}" = set; then :
7997 $as_echo_n "(cached
) " >&6
7999 if test -n "$AS"; then
8000 ac_cv_prog_AS="$AS" # Let the user override the test.
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009 ac_cv_prog_AS="${ncn_progname}"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8020 if test -n "$AS"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8022 $as_echo "$AS" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8025 $as_echo "no
" >&6; }
8030 test -n "$ac_cv_prog_AS" && break
8033 if test -z "$ac_cv_prog_AS" ; then
8035 if test $build = $host ; then
8038 AS="${ncn_tool_prefix}$2"
8044 if test -n "$DLLTOOL"; then
8045 ac_cv_prog_DLLTOOL=$DLLTOOL
8046 elif test -n "$ac_cv_prog_DLLTOOL"; then
8047 DLLTOOL=$ac_cv_prog_DLLTOOL
8050 if test -n "$ac_cv_prog_DLLTOOL"; then
8051 for ncn_progname in dlltool; do
8052 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8053 set dummy ${ncn_progname}; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8055 $as_echo_n "checking
for $ac_word...
" >&6; }
8056 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8057 $as_echo_n "(cached
) " >&6
8059 if test -n "$DLLTOOL"; then
8060 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_prog_DLLTOOL="${ncn_progname}"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8079 DLLTOOL=$ac_cv_prog_DLLTOOL
8080 if test -n "$DLLTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8082 $as_echo "$DLLTOOL" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8085 $as_echo "no
" >&6; }
8092 for ncn_progname in dlltool; do
8093 if test -n "$ncn_tool_prefix"; then
8094 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8095 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8097 $as_echo_n "checking
for $ac_word...
" >&6; }
8098 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8099 $as_echo_n "(cached
) " >&6
8101 if test -n "$DLLTOOL"; then
8102 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108 test -z "$as_dir" && as_dir=.
8109 for ac_exec_ext in '' $ac_executable_extensions; do
8110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8111 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8121 DLLTOOL=$ac_cv_prog_DLLTOOL
8122 if test -n "$DLLTOOL"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8124 $as_echo "$DLLTOOL" >&6; }
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8127 $as_echo "no
" >&6; }
8132 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8133 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8134 set dummy ${ncn_progname}; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8136 $as_echo_n "checking
for $ac_word...
" >&6; }
8137 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8138 $as_echo_n "(cached
) " >&6
8140 if test -n "$DLLTOOL"; then
8141 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150 ac_cv_prog_DLLTOOL="${ncn_progname}"
8151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8160 DLLTOOL=$ac_cv_prog_DLLTOOL
8161 if test -n "$DLLTOOL"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8163 $as_echo "$DLLTOOL" >&6; }
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8166 $as_echo "no
" >&6; }
8171 test -n "$ac_cv_prog_DLLTOOL" && break
8174 if test -z "$ac_cv_prog_DLLTOOL" ; then
8176 if test $build = $host ; then
8179 DLLTOOL="${ncn_tool_prefix}$2"
8185 if test -n "$LD"; then
8187 elif test -n "$ac_cv_prog_LD"; then
8191 if test -n "$ac_cv_prog_LD"; then
8192 for ncn_progname in ld; do
8193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8194 set dummy ${ncn_progname}; ac_word=$2
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8196 $as_echo_n "checking
for $ac_word...
" >&6; }
8197 if test "${ac_cv_prog_LD+set}" = set; then :
8198 $as_echo_n "(cached
) " >&6
8200 if test -n "$LD"; then
8201 ac_cv_prog_LD="$LD" # Let the user override the test.
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8210 ac_cv_prog_LD="${ncn_progname}"
8211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8221 if test -n "$LD"; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8223 $as_echo "$LD" >&6; }
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8226 $as_echo "no
" >&6; }
8233 for ncn_progname in ld; do
8234 if test -n "$ncn_tool_prefix"; then
8235 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8236 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8238 $as_echo_n "checking
for $ac_word...
" >&6; }
8239 if test "${ac_cv_prog_LD+set}" = set; then :
8240 $as_echo_n "(cached
) " >&6
8242 if test -n "$LD"; then
8243 ac_cv_prog_LD="$LD" # Let the user override the test.
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8252 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8263 if test -n "$LD"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8265 $as_echo "$LD" >&6; }
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8268 $as_echo "no
" >&6; }
8273 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8275 set dummy ${ncn_progname}; ac_word=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8277 $as_echo_n "checking
for $ac_word...
" >&6; }
8278 if test "${ac_cv_prog_LD+set}" = set; then :
8279 $as_echo_n "(cached
) " >&6
8281 if test -n "$LD"; then
8282 ac_cv_prog_LD="$LD" # Let the user override the test.
8284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 test -z "$as_dir" && as_dir=.
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8291 ac_cv_prog_LD="${ncn_progname}"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8302 if test -n "$LD"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8304 $as_echo "$LD" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8307 $as_echo "no
" >&6; }
8312 test -n "$ac_cv_prog_LD" && break
8315 if test -z "$ac_cv_prog_LD" ; then
8317 if test $build = $host ; then
8320 LD="${ncn_tool_prefix}$2"
8326 if test -n "$LIPO"; then
8327 ac_cv_prog_LIPO=$LIPO
8328 elif test -n "$ac_cv_prog_LIPO"; then
8329 LIPO=$ac_cv_prog_LIPO
8332 if test -n "$ac_cv_prog_LIPO"; then
8333 for ncn_progname in lipo; do
8334 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8335 set dummy ${ncn_progname}; ac_word=$2
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8337 $as_echo_n "checking
for $ac_word...
" >&6; }
8338 if test "${ac_cv_prog_LIPO+set}" = set; then :
8339 $as_echo_n "(cached
) " >&6
8341 if test -n "$LIPO"; then
8342 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir=.
8349 for ac_exec_ext in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_prog_LIPO="${ncn_progname}"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8361 LIPO=$ac_cv_prog_LIPO
8362 if test -n "$LIPO"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8364 $as_echo "$LIPO" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8367 $as_echo "no
" >&6; }
8374 for ncn_progname in lipo; do
8375 if test -n "$ncn_tool_prefix"; then
8376 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8377 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8379 $as_echo_n "checking
for $ac_word...
" >&6; }
8380 if test "${ac_cv_prog_LIPO+set}" = set; then :
8381 $as_echo_n "(cached
) " >&6
8383 if test -n "$LIPO"; then
8384 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 test -z "$as_dir" && as_dir=.
8391 for ac_exec_ext in '' $ac_executable_extensions; do
8392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8403 LIPO=$ac_cv_prog_LIPO
8404 if test -n "$LIPO"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8406 $as_echo "$LIPO" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8409 $as_echo "no
" >&6; }
8414 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8416 set dummy ${ncn_progname}; ac_word=$2
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8418 $as_echo_n "checking
for $ac_word...
" >&6; }
8419 if test "${ac_cv_prog_LIPO+set}" = set; then :
8420 $as_echo_n "(cached
) " >&6
8422 if test -n "$LIPO"; then
8423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432 ac_cv_prog_LIPO="${ncn_progname}"
8433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8442 LIPO=$ac_cv_prog_LIPO
8443 if test -n "$LIPO"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8445 $as_echo "$LIPO" >&6; }
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8448 $as_echo "no
" >&6; }
8453 test -n "$ac_cv_prog_LIPO" && break
8456 if test -z "$ac_cv_prog_LIPO" ; then
8458 if test $build = $host ; then
8461 LIPO="${ncn_tool_prefix}$2"
8467 if test -n "$NM"; then
8469 elif test -n "$ac_cv_prog_NM"; then
8473 if test -n "$ac_cv_prog_NM"; then
8474 for ncn_progname in nm; do
8475 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8476 set dummy ${ncn_progname}; ac_word=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8478 $as_echo_n "checking
for $ac_word...
" >&6; }
8479 if test "${ac_cv_prog_NM+set}" = set; then :
8480 $as_echo_n "(cached
) " >&6
8482 if test -n "$NM"; then
8483 ac_cv_prog_NM="$NM" # Let the user override the test.
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 test -z "$as_dir" && as_dir=.
8490 for ac_exec_ext in '' $ac_executable_extensions; do
8491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492 ac_cv_prog_NM="${ncn_progname}"
8493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8503 if test -n "$NM"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8505 $as_echo "$NM" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8508 $as_echo "no
" >&6; }
8515 for ncn_progname in nm; do
8516 if test -n "$ncn_tool_prefix"; then
8517 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8518 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8520 $as_echo_n "checking
for $ac_word...
" >&6; }
8521 if test "${ac_cv_prog_NM+set}" = set; then :
8522 $as_echo_n "(cached
) " >&6
8524 if test -n "$NM"; then
8525 ac_cv_prog_NM="$NM" # Let the user override the test.
8527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8531 test -z "$as_dir" && as_dir=.
8532 for ac_exec_ext in '' $ac_executable_extensions; do
8533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8534 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8545 if test -n "$NM"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8547 $as_echo "$NM" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8550 $as_echo "no
" >&6; }
8555 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8557 set dummy ${ncn_progname}; ac_word=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8559 $as_echo_n "checking
for $ac_word...
" >&6; }
8560 if test "${ac_cv_prog_NM+set}" = set; then :
8561 $as_echo_n "(cached
) " >&6
8563 if test -n "$NM"; then
8564 ac_cv_prog_NM="$NM" # Let the user override the test.
8566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir=.
8571 for ac_exec_ext in '' $ac_executable_extensions; do
8572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8573 ac_cv_prog_NM="${ncn_progname}"
8574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8584 if test -n "$NM"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8586 $as_echo "$NM" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8589 $as_echo "no
" >&6; }
8594 test -n "$ac_cv_prog_NM" && break
8597 if test -z "$ac_cv_prog_NM" ; then
8599 if test $build = $host ; then
8602 NM="${ncn_tool_prefix}$2"
8608 if test -n "$RANLIB"; then
8609 ac_cv_prog_RANLIB=$RANLIB
8610 elif test -n "$ac_cv_prog_RANLIB"; then
8611 RANLIB=$ac_cv_prog_RANLIB
8614 if test -n "$ac_cv_prog_RANLIB"; then
8615 for ncn_progname in ranlib; do
8616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8617 set dummy ${ncn_progname}; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8619 $as_echo_n "checking
for $ac_word...
" >&6; }
8620 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8621 $as_echo_n "(cached
) " >&6
8623 if test -n "$RANLIB"; then
8624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8633 ac_cv_prog_RANLIB="${ncn_progname}"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8643 RANLIB=$ac_cv_prog_RANLIB
8644 if test -n "$RANLIB"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8646 $as_echo "$RANLIB" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8649 $as_echo "no
" >&6; }
8656 for ncn_progname in ranlib; do
8657 if test -n "$ncn_tool_prefix"; then
8658 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8659 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8661 $as_echo_n "checking
for $ac_word...
" >&6; }
8662 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8663 $as_echo_n "(cached
) " >&6
8665 if test -n "$RANLIB"; then
8666 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8672 test -z "$as_dir" && as_dir=.
8673 for ac_exec_ext in '' $ac_executable_extensions; do
8674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8675 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8685 RANLIB=$ac_cv_prog_RANLIB
8686 if test -n "$RANLIB"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8688 $as_echo "$RANLIB" >&6; }
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8691 $as_echo "no
" >&6; }
8696 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8697 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8698 set dummy ${ncn_progname}; ac_word=$2
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8700 $as_echo_n "checking
for $ac_word...
" >&6; }
8701 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8702 $as_echo_n "(cached
) " >&6
8704 if test -n "$RANLIB"; then
8705 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8711 test -z "$as_dir" && as_dir=.
8712 for ac_exec_ext in '' $ac_executable_extensions; do
8713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8714 ac_cv_prog_RANLIB="${ncn_progname}"
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8724 RANLIB=$ac_cv_prog_RANLIB
8725 if test -n "$RANLIB"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8727 $as_echo "$RANLIB" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8730 $as_echo "no
" >&6; }
8735 test -n "$ac_cv_prog_RANLIB" && break
8738 if test -z "$ac_cv_prog_RANLIB" ; then
8744 if test -n "$STRIP"; then
8745 ac_cv_prog_STRIP=$STRIP
8746 elif test -n "$ac_cv_prog_STRIP"; then
8747 STRIP=$ac_cv_prog_STRIP
8750 if test -n "$ac_cv_prog_STRIP"; then
8751 for ncn_progname in strip; do
8752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8753 set dummy ${ncn_progname}; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8755 $as_echo_n "checking
for $ac_word...
" >&6; }
8756 if test "${ac_cv_prog_STRIP+set}" = set; then :
8757 $as_echo_n "(cached
) " >&6
8759 if test -n "$STRIP"; then
8760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8766 test -z "$as_dir" && as_dir=.
8767 for ac_exec_ext in '' $ac_executable_extensions; do
8768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8769 ac_cv_prog_STRIP="${ncn_progname}"
8770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8779 STRIP=$ac_cv_prog_STRIP
8780 if test -n "$STRIP"; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8782 $as_echo "$STRIP" >&6; }
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8785 $as_echo "no
" >&6; }
8792 for ncn_progname in strip; do
8793 if test -n "$ncn_tool_prefix"; then
8794 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8795 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8797 $as_echo_n "checking
for $ac_word...
" >&6; }
8798 if test "${ac_cv_prog_STRIP+set}" = set; then :
8799 $as_echo_n "(cached
) " >&6
8801 if test -n "$STRIP"; then
8802 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8821 STRIP=$ac_cv_prog_STRIP
8822 if test -n "$STRIP"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8824 $as_echo "$STRIP" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8827 $as_echo "no
" >&6; }
8832 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8834 set dummy ${ncn_progname}; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8836 $as_echo_n "checking
for $ac_word...
" >&6; }
8837 if test "${ac_cv_prog_STRIP+set}" = set; then :
8838 $as_echo_n "(cached
) " >&6
8840 if test -n "$STRIP"; then
8841 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8850 ac_cv_prog_STRIP="${ncn_progname}"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8860 STRIP=$ac_cv_prog_STRIP
8861 if test -n "$STRIP"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8863 $as_echo "$STRIP" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8866 $as_echo "no
" >&6; }
8871 test -n "$ac_cv_prog_STRIP" && break
8874 if test -z "$ac_cv_prog_STRIP" ; then
8880 if test -n "$WINDRES"; then
8881 ac_cv_prog_WINDRES=$WINDRES
8882 elif test -n "$ac_cv_prog_WINDRES"; then
8883 WINDRES=$ac_cv_prog_WINDRES
8886 if test -n "$ac_cv_prog_WINDRES"; then
8887 for ncn_progname in windres; do
8888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8889 set dummy ${ncn_progname}; ac_word=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8891 $as_echo_n "checking
for $ac_word...
" >&6; }
8892 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8893 $as_echo_n "(cached
) " >&6
8895 if test -n "$WINDRES"; then
8896 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8905 ac_cv_prog_WINDRES="${ncn_progname}"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8915 WINDRES=$ac_cv_prog_WINDRES
8916 if test -n "$WINDRES"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8918 $as_echo "$WINDRES" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8921 $as_echo "no
" >&6; }
8928 for ncn_progname in windres; do
8929 if test -n "$ncn_tool_prefix"; then
8930 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8931 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8933 $as_echo_n "checking
for $ac_word...
" >&6; }
8934 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8935 $as_echo_n "(cached
) " >&6
8937 if test -n "$WINDRES"; then
8938 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944 test -z "$as_dir" && as_dir=.
8945 for ac_exec_ext in '' $ac_executable_extensions; do
8946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8947 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8957 WINDRES=$ac_cv_prog_WINDRES
8958 if test -n "$WINDRES"; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8960 $as_echo "$WINDRES" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8963 $as_echo "no
" >&6; }
8968 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8969 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8970 set dummy ${ncn_progname}; ac_word=$2
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8972 $as_echo_n "checking
for $ac_word...
" >&6; }
8973 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8974 $as_echo_n "(cached
) " >&6
8976 if test -n "$WINDRES"; then
8977 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir=.
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8986 ac_cv_prog_WINDRES="${ncn_progname}"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8996 WINDRES=$ac_cv_prog_WINDRES
8997 if test -n "$WINDRES"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8999 $as_echo "$WINDRES" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9002 $as_echo "no
" >&6; }
9007 test -n "$ac_cv_prog_WINDRES" && break
9010 if test -z "$ac_cv_prog_WINDRES" ; then
9012 if test $build = $host ; then
9015 WINDRES="${ncn_tool_prefix}$2"
9021 if test -n "$WINDMC"; then
9022 ac_cv_prog_WINDMC=$WINDMC
9023 elif test -n "$ac_cv_prog_WINDMC"; then
9024 WINDMC=$ac_cv_prog_WINDMC
9027 if test -n "$ac_cv_prog_WINDMC"; then
9028 for ncn_progname in windmc; do
9029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9030 set dummy ${ncn_progname}; ac_word=$2
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9032 $as_echo_n "checking
for $ac_word...
" >&6; }
9033 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9034 $as_echo_n "(cached
) " >&6
9036 if test -n "$WINDMC"; then
9037 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9043 test -z "$as_dir" && as_dir=.
9044 for ac_exec_ext in '' $ac_executable_extensions; do
9045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9046 ac_cv_prog_WINDMC="${ncn_progname}"
9047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9056 WINDMC=$ac_cv_prog_WINDMC
9057 if test -n "$WINDMC"; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9059 $as_echo "$WINDMC" >&6; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9062 $as_echo "no
" >&6; }
9069 for ncn_progname in windmc; do
9070 if test -n "$ncn_tool_prefix"; then
9071 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9072 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9074 $as_echo_n "checking
for $ac_word...
" >&6; }
9075 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9076 $as_echo_n "(cached
) " >&6
9078 if test -n "$WINDMC"; then
9079 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 test -z "$as_dir" && as_dir=.
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9088 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9098 WINDMC=$ac_cv_prog_WINDMC
9099 if test -n "$WINDMC"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9101 $as_echo "$WINDMC" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9104 $as_echo "no
" >&6; }
9109 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9111 set dummy ${ncn_progname}; ac_word=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9113 $as_echo_n "checking
for $ac_word...
" >&6; }
9114 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9115 $as_echo_n "(cached
) " >&6
9117 if test -n "$WINDMC"; then
9118 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9127 ac_cv_prog_WINDMC="${ncn_progname}"
9128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9137 WINDMC=$ac_cv_prog_WINDMC
9138 if test -n "$WINDMC"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9140 $as_echo "$WINDMC" >&6; }
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9143 $as_echo "no
" >&6; }
9148 test -n "$ac_cv_prog_WINDMC" && break
9151 if test -z "$ac_cv_prog_WINDMC" ; then
9153 if test $build = $host ; then
9156 WINDMC="${ncn_tool_prefix}$2"
9162 if test -n "$OBJCOPY"; then
9163 ac_cv_prog_OBJCOPY=$OBJCOPY
9164 elif test -n "$ac_cv_prog_OBJCOPY"; then
9165 OBJCOPY=$ac_cv_prog_OBJCOPY
9168 if test -n "$ac_cv_prog_OBJCOPY"; then
9169 for ncn_progname in objcopy; do
9170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9171 set dummy ${ncn_progname}; ac_word=$2
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9173 $as_echo_n "checking
for $ac_word...
" >&6; }
9174 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9175 $as_echo_n "(cached
) " >&6
9177 if test -n "$OBJCOPY"; then
9178 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184 test -z "$as_dir" && as_dir=.
9185 for ac_exec_ext in '' $ac_executable_extensions; do
9186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9187 ac_cv_prog_OBJCOPY="${ncn_progname}"
9188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9197 OBJCOPY=$ac_cv_prog_OBJCOPY
9198 if test -n "$OBJCOPY"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9200 $as_echo "$OBJCOPY" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9203 $as_echo "no
" >&6; }
9210 for ncn_progname in objcopy; do
9211 if test -n "$ncn_tool_prefix"; then
9212 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9213 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9215 $as_echo_n "checking
for $ac_word...
" >&6; }
9216 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9217 $as_echo_n "(cached
) " >&6
9219 if test -n "$OBJCOPY"; then
9220 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9226 test -z "$as_dir" && as_dir=.
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9239 OBJCOPY=$ac_cv_prog_OBJCOPY
9240 if test -n "$OBJCOPY"; then
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9242 $as_echo "$OBJCOPY" >&6; }
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9245 $as_echo "no
" >&6; }
9250 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9252 set dummy ${ncn_progname}; ac_word=$2
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9254 $as_echo_n "checking
for $ac_word...
" >&6; }
9255 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9256 $as_echo_n "(cached
) " >&6
9258 if test -n "$OBJCOPY"; then
9259 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9265 test -z "$as_dir" && as_dir=.
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9268 ac_cv_prog_OBJCOPY="${ncn_progname}"
9269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9278 OBJCOPY=$ac_cv_prog_OBJCOPY
9279 if test -n "$OBJCOPY"; then
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9281 $as_echo "$OBJCOPY" >&6; }
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9284 $as_echo "no
" >&6; }
9289 test -n "$ac_cv_prog_OBJCOPY" && break
9292 if test -z "$ac_cv_prog_OBJCOPY" ; then
9294 if test $build = $host ; then
9297 OBJCOPY="${ncn_tool_prefix}$2"
9303 if test -n "$OBJDUMP"; then
9304 ac_cv_prog_OBJDUMP=$OBJDUMP
9305 elif test -n "$ac_cv_prog_OBJDUMP"; then
9306 OBJDUMP=$ac_cv_prog_OBJDUMP
9309 if test -n "$ac_cv_prog_OBJDUMP"; then
9310 for ncn_progname in objdump; do
9311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9312 set dummy ${ncn_progname}; ac_word=$2
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9314 $as_echo_n "checking
for $ac_word...
" >&6; }
9315 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9316 $as_echo_n "(cached
) " >&6
9318 if test -n "$OBJDUMP"; then
9319 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325 test -z "$as_dir" && as_dir=.
9326 for ac_exec_ext in '' $ac_executable_extensions; do
9327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9328 ac_cv_prog_OBJDUMP="${ncn_progname}"
9329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9338 OBJDUMP=$ac_cv_prog_OBJDUMP
9339 if test -n "$OBJDUMP"; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9341 $as_echo "$OBJDUMP" >&6; }
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9344 $as_echo "no
" >&6; }
9351 for ncn_progname in objdump; do
9352 if test -n "$ncn_tool_prefix"; then
9353 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9354 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9356 $as_echo_n "checking
for $ac_word...
" >&6; }
9357 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9358 $as_echo_n "(cached
) " >&6
9360 if test -n "$OBJDUMP"; then
9361 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9367 test -z "$as_dir" && as_dir=.
9368 for ac_exec_ext in '' $ac_executable_extensions; do
9369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9370 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9380 OBJDUMP=$ac_cv_prog_OBJDUMP
9381 if test -n "$OBJDUMP"; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9383 $as_echo "$OBJDUMP" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9386 $as_echo "no
" >&6; }
9391 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9393 set dummy ${ncn_progname}; ac_word=$2
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9395 $as_echo_n "checking
for $ac_word...
" >&6; }
9396 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9397 $as_echo_n "(cached
) " >&6
9399 if test -n "$OBJDUMP"; then
9400 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9406 test -z "$as_dir" && as_dir=.
9407 for ac_exec_ext in '' $ac_executable_extensions; do
9408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9409 ac_cv_prog_OBJDUMP="${ncn_progname}"
9410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9419 OBJDUMP=$ac_cv_prog_OBJDUMP
9420 if test -n "$OBJDUMP"; then
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9422 $as_echo "$OBJDUMP" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9425 $as_echo "no
" >&6; }
9430 test -n "$ac_cv_prog_OBJDUMP" && break
9433 if test -z "$ac_cv_prog_OBJDUMP" ; then
9435 if test $build = $host ; then
9438 OBJDUMP="${ncn_tool_prefix}$2"
9444 if test -n "$READELF"; then
9445 ac_cv_prog_READELF=$READELF
9446 elif test -n "$ac_cv_prog_READELF"; then
9447 READELF=$ac_cv_prog_READELF
9450 if test -n "$ac_cv_prog_READELF"; then
9451 for ncn_progname in readelf; do
9452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9453 set dummy ${ncn_progname}; ac_word=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9455 $as_echo_n "checking
for $ac_word...
" >&6; }
9456 if test "${ac_cv_prog_READELF+set}" = set; then :
9457 $as_echo_n "(cached
) " >&6
9459 if test -n "$READELF"; then
9460 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_prog_READELF="${ncn_progname}"
9470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9479 READELF=$ac_cv_prog_READELF
9480 if test -n "$READELF"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9482 $as_echo "$READELF" >&6; }
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9485 $as_echo "no
" >&6; }
9492 for ncn_progname in readelf; do
9493 if test -n "$ncn_tool_prefix"; then
9494 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9495 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9497 $as_echo_n "checking
for $ac_word...
" >&6; }
9498 if test "${ac_cv_prog_READELF+set}" = set; then :
9499 $as_echo_n "(cached
) " >&6
9501 if test -n "$READELF"; then
9502 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9508 test -z "$as_dir" && as_dir=.
9509 for ac_exec_ext in '' $ac_executable_extensions; do
9510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9511 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9521 READELF=$ac_cv_prog_READELF
9522 if test -n "$READELF"; then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9524 $as_echo "$READELF" >&6; }
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9527 $as_echo "no
" >&6; }
9532 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9533 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9534 set dummy ${ncn_progname}; ac_word=$2
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9536 $as_echo_n "checking
for $ac_word...
" >&6; }
9537 if test "${ac_cv_prog_READELF+set}" = set; then :
9538 $as_echo_n "(cached
) " >&6
9540 if test -n "$READELF"; then
9541 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9550 ac_cv_prog_READELF="${ncn_progname}"
9551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9560 READELF=$ac_cv_prog_READELF
9561 if test -n "$READELF"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9563 $as_echo "$READELF" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9566 $as_echo "no
" >&6; }
9571 test -n "$ac_cv_prog_READELF" && break
9574 if test -z "$ac_cv_prog_READELF" ; then
9576 if test $build = $host ; then
9579 READELF="${ncn_tool_prefix}$2"
9590 # Check whether --with-build-time-tools was given.
9591 if test "${with_build_time_tools+set}" = set; then :
9592 withval=$with_build_time_tools; case x"$withval" in
9595 with_build_time_tools=
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9597 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9601 with_build_time_tools=
9607 if test -n "$CC_FOR_TARGET"; then
9608 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9609 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9610 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9613 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9614 for ncn_progname in cc gcc; do
9615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9616 set dummy ${ncn_progname}; ac_word=$2
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9618 $as_echo_n "checking
for $ac_word...
" >&6; }
9619 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9620 $as_echo_n "(cached
) " >&6
9622 if test -n "$CC_FOR_TARGET"; then
9623 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9642 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9643 if test -n "$CC_FOR_TARGET"; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9645 $as_echo "$CC_FOR_TARGET" >&6; }
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9648 $as_echo "no
" >&6; }
9655 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9656 for ncn_progname in cc gcc; do
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9658 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9659 if test -x $with_build_time_tools/${ncn_progname}; then
9660 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9662 $as_echo "yes" >&6; }
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9666 $as_echo "no
" >&6; }
9671 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9672 for ncn_progname in cc gcc; do
9673 if test -n "$ncn_target_tool_prefix"; then
9674 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9675 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9677 $as_echo_n "checking
for $ac_word...
" >&6; }
9678 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9679 $as_echo_n "(cached
) " >&6
9681 if test -n "$CC_FOR_TARGET"; then
9682 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688 test -z "$as_dir" && as_dir=.
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9691 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9701 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9702 if test -n "$CC_FOR_TARGET"; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9704 $as_echo "$CC_FOR_TARGET" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9707 $as_echo "no
" >&6; }
9712 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9714 set dummy ${ncn_progname}; ac_word=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9716 $as_echo_n "checking
for $ac_word...
" >&6; }
9717 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9718 $as_echo_n "(cached
) " >&6
9720 if test -n "$CC_FOR_TARGET"; then
9721 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9740 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9741 if test -n "$CC_FOR_TARGET"; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9743 $as_echo "$CC_FOR_TARGET" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9746 $as_echo "no
" >&6; }
9751 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9755 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9757 if test $build = $target ; then
9760 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9763 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9768 if test -n "$CXX_FOR_TARGET"; then
9769 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9770 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9771 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9774 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9775 for ncn_progname in c++ g++ cxx gxx; do
9776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9777 set dummy ${ncn_progname}; ac_word=$2
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9779 $as_echo_n "checking
for $ac_word...
" >&6; }
9780 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9781 $as_echo_n "(cached
) " >&6
9783 if test -n "$CXX_FOR_TARGET"; then
9784 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9790 test -z "$as_dir" && as_dir=.
9791 for ac_exec_ext in '' $ac_executable_extensions; do
9792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9793 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9803 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9804 if test -n "$CXX_FOR_TARGET"; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9806 $as_echo "$CXX_FOR_TARGET" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9809 $as_echo "no
" >&6; }
9816 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9817 for ncn_progname in c++ g++ cxx gxx; do
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9819 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9820 if test -x $with_build_time_tools/${ncn_progname}; then
9821 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9823 $as_echo "yes" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9827 $as_echo "no
" >&6; }
9832 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9833 for ncn_progname in c++ g++ cxx gxx; do
9834 if test -n "$ncn_target_tool_prefix"; then
9835 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9836 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9838 $as_echo_n "checking
for $ac_word...
" >&6; }
9839 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9840 $as_echo_n "(cached
) " >&6
9842 if test -n "$CXX_FOR_TARGET"; then
9843 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir=.
9850 for ac_exec_ext in '' $ac_executable_extensions; do
9851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9852 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9862 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9863 if test -n "$CXX_FOR_TARGET"; then
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9865 $as_echo "$CXX_FOR_TARGET" >&6; }
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9868 $as_echo "no
" >&6; }
9873 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9875 set dummy ${ncn_progname}; ac_word=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9877 $as_echo_n "checking
for $ac_word...
" >&6; }
9878 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9879 $as_echo_n "(cached
) " >&6
9881 if test -n "$CXX_FOR_TARGET"; then
9882 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir=.
9889 for ac_exec_ext in '' $ac_executable_extensions; do
9890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9891 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9901 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9902 if test -n "$CXX_FOR_TARGET"; then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9904 $as_echo "$CXX_FOR_TARGET" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9907 $as_echo "no
" >&6; }
9912 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9916 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9917 set dummy c++ g++ cxx gxx
9918 if test $build = $target ; then
9921 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9924 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9929 if test -n "$GCC_FOR_TARGET"; then
9930 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9931 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9932 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9935 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9936 for ncn_progname in gcc; do
9937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9938 set dummy ${ncn_progname}; ac_word=$2
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9940 $as_echo_n "checking
for $ac_word...
" >&6; }
9941 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9942 $as_echo_n "(cached
) " >&6
9944 if test -n "$GCC_FOR_TARGET"; then
9945 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir=.
9952 for ac_exec_ext in '' $ac_executable_extensions; do
9953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9954 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9964 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9965 if test -n "$GCC_FOR_TARGET"; then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9967 $as_echo "$GCC_FOR_TARGET" >&6; }
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9970 $as_echo "no
" >&6; }
9977 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9978 for ncn_progname in gcc; do
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9980 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9981 if test -x $with_build_time_tools/${ncn_progname}; then
9982 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9984 $as_echo "yes" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9988 $as_echo "no
" >&6; }
9993 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9994 for ncn_progname in gcc; do
9995 if test -n "$ncn_target_tool_prefix"; then
9996 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9997 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9999 $as_echo_n "checking
for $ac_word...
" >&6; }
10000 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10001 $as_echo_n "(cached
) " >&6
10003 if test -n "$GCC_FOR_TARGET"; then
10004 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10007 for as_dir in $PATH
10010 test -z "$as_dir" && as_dir=.
10011 for ac_exec_ext in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10023 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10024 if test -n "$GCC_FOR_TARGET"; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10026 $as_echo "$GCC_FOR_TARGET" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10029 $as_echo "no
" >&6; }
10034 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10036 set dummy ${ncn_progname}; ac_word=$2
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10038 $as_echo_n "checking
for $ac_word...
" >&6; }
10039 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10040 $as_echo_n "(cached
) " >&6
10042 if test -n "$GCC_FOR_TARGET"; then
10043 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10046 for as_dir in $PATH
10049 test -z "$as_dir" && as_dir=.
10050 for ac_exec_ext in '' $ac_executable_extensions; do
10051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10052 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10062 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10063 if test -n "$GCC_FOR_TARGET"; then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10065 $as_echo "$GCC_FOR_TARGET" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10068 $as_echo "no
" >&6; }
10073 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10077 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10078 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10080 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10085 if test -n "$GCJ_FOR_TARGET"; then
10086 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10087 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10088 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10091 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10092 for ncn_progname in gcj; do
10093 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10094 set dummy ${ncn_progname}; ac_word=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10096 $as_echo_n "checking
for $ac_word...
" >&6; }
10097 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10098 $as_echo_n "(cached
) " >&6
10100 if test -n "$GCJ_FOR_TARGET"; then
10101 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10120 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10121 if test -n "$GCJ_FOR_TARGET"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10123 $as_echo "$GCJ_FOR_TARGET" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10126 $as_echo "no
" >&6; }
10133 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10134 for ncn_progname in gcj; do
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10136 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10137 if test -x $with_build_time_tools/${ncn_progname}; then
10138 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10140 $as_echo "yes" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10144 $as_echo "no
" >&6; }
10149 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10150 for ncn_progname in gcj; do
10151 if test -n "$ncn_target_tool_prefix"; then
10152 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10153 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10155 $as_echo_n "checking
for $ac_word...
" >&6; }
10156 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10157 $as_echo_n "(cached
) " >&6
10159 if test -n "$GCJ_FOR_TARGET"; then
10160 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10163 for as_dir in $PATH
10166 test -z "$as_dir" && as_dir=.
10167 for ac_exec_ext in '' $ac_executable_extensions; do
10168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10169 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10179 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10180 if test -n "$GCJ_FOR_TARGET"; then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10182 $as_echo "$GCJ_FOR_TARGET" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10185 $as_echo "no
" >&6; }
10190 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10191 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10192 set dummy ${ncn_progname}; ac_word=$2
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10194 $as_echo_n "checking
for $ac_word...
" >&6; }
10195 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10196 $as_echo_n "(cached
) " >&6
10198 if test -n "$GCJ_FOR_TARGET"; then
10199 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10202 for as_dir in $PATH
10205 test -z "$as_dir" && as_dir=.
10206 for ac_exec_ext in '' $ac_executable_extensions; do
10207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10208 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10218 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10219 if test -n "$GCJ_FOR_TARGET"; then
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10221 $as_echo "$GCJ_FOR_TARGET" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10224 $as_echo "no
" >&6; }
10229 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10233 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10235 if test $build = $target ; then
10236 GCJ_FOR_TARGET="$2"
10238 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10241 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10246 if test -n "$GFORTRAN_FOR_TARGET"; then
10247 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10248 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10249 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10252 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10253 for ncn_progname in gfortran; do
10254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10255 set dummy ${ncn_progname}; ac_word=$2
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10257 $as_echo_n "checking
for $ac_word...
" >&6; }
10258 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10259 $as_echo_n "(cached
) " >&6
10261 if test -n "$GFORTRAN_FOR_TARGET"; then
10262 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10265 for as_dir in $PATH
10268 test -z "$as_dir" && as_dir=.
10269 for ac_exec_ext in '' $ac_executable_extensions; do
10270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10271 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10281 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10282 if test -n "$GFORTRAN_FOR_TARGET"; then
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10284 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10287 $as_echo "no
" >&6; }
10294 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10295 for ncn_progname in gfortran; do
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10297 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10298 if test -x $with_build_time_tools/${ncn_progname}; then
10299 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10301 $as_echo "yes" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10305 $as_echo "no
" >&6; }
10310 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10311 for ncn_progname in gfortran; do
10312 if test -n "$ncn_target_tool_prefix"; then
10313 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10314 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10316 $as_echo_n "checking
for $ac_word...
" >&6; }
10317 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10318 $as_echo_n "(cached
) " >&6
10320 if test -n "$GFORTRAN_FOR_TARGET"; then
10321 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10327 test -z "$as_dir" && as_dir=.
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10330 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10340 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10341 if test -n "$GFORTRAN_FOR_TARGET"; then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10343 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10346 $as_echo "no
" >&6; }
10351 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10352 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10353 set dummy ${ncn_progname}; ac_word=$2
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10355 $as_echo_n "checking
for $ac_word...
" >&6; }
10356 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10357 $as_echo_n "(cached
) " >&6
10359 if test -n "$GFORTRAN_FOR_TARGET"; then
10360 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10363 for as_dir in $PATH
10366 test -z "$as_dir" && as_dir=.
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10369 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10379 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10380 if test -n "$GFORTRAN_FOR_TARGET"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10382 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10385 $as_echo "no
" >&6; }
10390 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10394 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10396 if test $build = $target ; then
10397 GFORTRAN_FOR_TARGET="$2"
10399 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10402 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10407 if test -n "$GOC_FOR_TARGET"; then
10408 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10409 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10410 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10413 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10414 for ncn_progname in gccgo; do
10415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10416 set dummy ${ncn_progname}; ac_word=$2
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10418 $as_echo_n "checking
for $ac_word...
" >&6; }
10419 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10420 $as_echo_n "(cached
) " >&6
10422 if test -n "$GOC_FOR_TARGET"; then
10423 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10429 test -z "$as_dir" && as_dir=.
10430 for ac_exec_ext in '' $ac_executable_extensions; do
10431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10432 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10442 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10443 if test -n "$GOC_FOR_TARGET"; then
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10445 $as_echo "$GOC_FOR_TARGET" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10448 $as_echo "no
" >&6; }
10455 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10456 for ncn_progname in gccgo; do
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10458 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10459 if test -x $with_build_time_tools/${ncn_progname}; then
10460 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10462 $as_echo "yes" >&6; }
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10466 $as_echo "no
" >&6; }
10471 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10472 for ncn_progname in gccgo; do
10473 if test -n "$ncn_target_tool_prefix"; then
10474 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10475 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10477 $as_echo_n "checking
for $ac_word...
" >&6; }
10478 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10479 $as_echo_n "(cached
) " >&6
10481 if test -n "$GOC_FOR_TARGET"; then
10482 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10488 test -z "$as_dir" && as_dir=.
10489 for ac_exec_ext in '' $ac_executable_extensions; do
10490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10501 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10502 if test -n "$GOC_FOR_TARGET"; then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10504 $as_echo "$GOC_FOR_TARGET" >&6; }
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10507 $as_echo "no
" >&6; }
10512 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10514 set dummy ${ncn_progname}; ac_word=$2
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10516 $as_echo_n "checking
for $ac_word...
" >&6; }
10517 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10518 $as_echo_n "(cached
) " >&6
10520 if test -n "$GOC_FOR_TARGET"; then
10521 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in $PATH
10527 test -z "$as_dir" && as_dir=.
10528 for ac_exec_ext in '' $ac_executable_extensions; do
10529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10530 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10540 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10541 if test -n "$GOC_FOR_TARGET"; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10543 $as_echo "$GOC_FOR_TARGET" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10546 $as_echo "no
" >&6; }
10551 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10555 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10557 if test $build = $target ; then
10558 GOC_FOR_TARGET="$2"
10560 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10563 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10568 cat > conftest.c << \EOF
10573 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10574 have_gcc_for_target=yes
10576 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10577 have_gcc_for_target=no
10584 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10585 if test -n "$with_build_time_tools"; then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10587 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10588 if test -x $with_build_time_tools/ar; then
10589 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10590 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10592 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10595 $as_echo "no
" >&6; }
10597 elif test $build != $host && test $have_gcc_for_target = yes; then
10598 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10599 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10600 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10603 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10604 # Extract the first word of "ar", so it can be a program name with args.
10605 set dummy ar; ac_word=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10607 $as_echo_n "checking
for $ac_word...
" >&6; }
10608 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10609 $as_echo_n "(cached
) " >&6
10611 case $AR_FOR_TARGET in
10613 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10617 for as_dir in $gcc_cv_tool_dirs
10620 test -z "$as_dir" && as_dir=.
10621 for ac_exec_ext in '' $ac_executable_extensions; do
10622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10623 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10634 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10635 if test -n "$AR_FOR_TARGET"; then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10637 $as_echo "$AR_FOR_TARGET" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10640 $as_echo "no
" >&6; }
10645 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10648 if test -n "$AR_FOR_TARGET"; then
10649 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10650 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10651 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10654 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10655 for ncn_progname in ar; do
10656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10657 set dummy ${ncn_progname}; ac_word=$2
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10659 $as_echo_n "checking
for $ac_word...
" >&6; }
10660 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10661 $as_echo_n "(cached
) " >&6
10663 if test -n "$AR_FOR_TARGET"; then
10664 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $PATH
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10673 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10683 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10684 if test -n "$AR_FOR_TARGET"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10686 $as_echo "$AR_FOR_TARGET" >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10689 $as_echo "no
" >&6; }
10696 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10697 for ncn_progname in ar; do
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10699 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10700 if test -x $with_build_time_tools/${ncn_progname}; then
10701 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10703 $as_echo "yes" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10707 $as_echo "no
" >&6; }
10712 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10713 for ncn_progname in ar; do
10714 if test -n "$ncn_target_tool_prefix"; then
10715 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10716 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10718 $as_echo_n "checking
for $ac_word...
" >&6; }
10719 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10720 $as_echo_n "(cached
) " >&6
10722 if test -n "$AR_FOR_TARGET"; then
10723 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10726 for as_dir in $PATH
10729 test -z "$as_dir" && as_dir=.
10730 for ac_exec_ext in '' $ac_executable_extensions; do
10731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10732 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10742 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10743 if test -n "$AR_FOR_TARGET"; then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10745 $as_echo "$AR_FOR_TARGET" >&6; }
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10748 $as_echo "no
" >&6; }
10753 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10754 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10755 set dummy ${ncn_progname}; ac_word=$2
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10757 $as_echo_n "checking
for $ac_word...
" >&6; }
10758 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10759 $as_echo_n "(cached
) " >&6
10761 if test -n "$AR_FOR_TARGET"; then
10762 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10765 for as_dir in $PATH
10768 test -z "$as_dir" && as_dir=.
10769 for ac_exec_ext in '' $ac_executable_extensions; do
10770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10771 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10781 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10782 if test -n "$AR_FOR_TARGET"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10784 $as_echo "$AR_FOR_TARGET" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10787 $as_echo "no
" >&6; }
10792 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10796 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10798 if test $build = $target ; then
10801 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10804 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10808 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10814 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10815 if test -n "$with_build_time_tools"; then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10817 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10818 if test -x $with_build_time_tools/as; then
10819 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10820 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10822 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10825 $as_echo "no
" >&6; }
10827 elif test $build != $host && test $have_gcc_for_target = yes; then
10828 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10829 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10830 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10833 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10834 # Extract the first word of "as
", so it can be a program name with args.
10835 set dummy as; ac_word=$2
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10837 $as_echo_n "checking
for $ac_word...
" >&6; }
10838 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10839 $as_echo_n "(cached
) " >&6
10841 case $AS_FOR_TARGET in
10843 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10847 for as_dir in $gcc_cv_tool_dirs
10850 test -z "$as_dir" && as_dir=.
10851 for ac_exec_ext in '' $ac_executable_extensions; do
10852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10853 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10864 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10865 if test -n "$AS_FOR_TARGET"; then
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10867 $as_echo "$AS_FOR_TARGET" >&6; }
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10870 $as_echo "no
" >&6; }
10875 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10878 if test -n "$AS_FOR_TARGET"; then
10879 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10880 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10881 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10884 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10885 for ncn_progname in as; do
10886 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10887 set dummy ${ncn_progname}; ac_word=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10889 $as_echo_n "checking
for $ac_word...
" >&6; }
10890 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10891 $as_echo_n "(cached
) " >&6
10893 if test -n "$AS_FOR_TARGET"; then
10894 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $PATH
10900 test -z "$as_dir" && as_dir=.
10901 for ac_exec_ext in '' $ac_executable_extensions; do
10902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10903 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10913 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10914 if test -n "$AS_FOR_TARGET"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10916 $as_echo "$AS_FOR_TARGET" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10919 $as_echo "no
" >&6; }
10926 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10927 for ncn_progname in as; do
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10929 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10930 if test -x $with_build_time_tools/${ncn_progname}; then
10931 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10933 $as_echo "yes" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10937 $as_echo "no
" >&6; }
10942 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10943 for ncn_progname in as; do
10944 if test -n "$ncn_target_tool_prefix"; then
10945 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10946 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10948 $as_echo_n "checking
for $ac_word...
" >&6; }
10949 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10950 $as_echo_n "(cached
) " >&6
10952 if test -n "$AS_FOR_TARGET"; then
10953 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10959 test -z "$as_dir" && as_dir=.
10960 for ac_exec_ext in '' $ac_executable_extensions; do
10961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10962 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10972 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10973 if test -n "$AS_FOR_TARGET"; then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10975 $as_echo "$AS_FOR_TARGET" >&6; }
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10978 $as_echo "no
" >&6; }
10983 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10985 set dummy ${ncn_progname}; ac_word=$2
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10987 $as_echo_n "checking
for $ac_word...
" >&6; }
10988 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10989 $as_echo_n "(cached
) " >&6
10991 if test -n "$AS_FOR_TARGET"; then
10992 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10995 for as_dir in $PATH
10998 test -z "$as_dir" && as_dir=.
10999 for ac_exec_ext in '' $ac_executable_extensions; do
11000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11001 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11011 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11012 if test -n "$AS_FOR_TARGET"; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11014 $as_echo "$AS_FOR_TARGET" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11017 $as_echo "no
" >&6; }
11022 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11026 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11028 if test $build = $target ; then
11031 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11034 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11038 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11044 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11045 if test -n "$with_build_time_tools"; then
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11047 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11048 if test -x $with_build_time_tools/dlltool; then
11049 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11050 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11052 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11055 $as_echo "no
" >&6; }
11057 elif test $build != $host && test $have_gcc_for_target = yes; then
11058 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11059 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11060 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11063 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11064 # Extract the first word of "dlltool
", so it can be a program name with args.
11065 set dummy dlltool; ac_word=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11067 $as_echo_n "checking
for $ac_word...
" >&6; }
11068 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11069 $as_echo_n "(cached
) " >&6
11071 case $DLLTOOL_FOR_TARGET in
11073 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $gcc_cv_tool_dirs
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11083 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11094 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11095 if test -n "$DLLTOOL_FOR_TARGET"; then
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11097 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11100 $as_echo "no
" >&6; }
11105 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11108 if test -n "$DLLTOOL_FOR_TARGET"; then
11109 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11110 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11111 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11114 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11115 for ncn_progname in dlltool; do
11116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11117 set dummy ${ncn_progname}; ac_word=$2
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11119 $as_echo_n "checking
for $ac_word...
" >&6; }
11120 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11121 $as_echo_n "(cached
) " >&6
11123 if test -n "$DLLTOOL_FOR_TARGET"; then
11124 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11127 for as_dir in $PATH
11130 test -z "$as_dir" && as_dir=.
11131 for ac_exec_ext in '' $ac_executable_extensions; do
11132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11133 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11143 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11144 if test -n "$DLLTOOL_FOR_TARGET"; then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11146 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11149 $as_echo "no
" >&6; }
11156 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11157 for ncn_progname in dlltool; do
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11159 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11160 if test -x $with_build_time_tools/${ncn_progname}; then
11161 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11163 $as_echo "yes" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11167 $as_echo "no
" >&6; }
11172 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11173 for ncn_progname in dlltool; do
11174 if test -n "$ncn_target_tool_prefix"; then
11175 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11176 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11178 $as_echo_n "checking
for $ac_word...
" >&6; }
11179 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11180 $as_echo_n "(cached
) " >&6
11182 if test -n "$DLLTOOL_FOR_TARGET"; then
11183 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11186 for as_dir in $PATH
11189 test -z "$as_dir" && as_dir=.
11190 for ac_exec_ext in '' $ac_executable_extensions; do
11191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11192 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11202 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11203 if test -n "$DLLTOOL_FOR_TARGET"; then
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11205 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11208 $as_echo "no
" >&6; }
11213 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11214 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11215 set dummy ${ncn_progname}; ac_word=$2
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11217 $as_echo_n "checking
for $ac_word...
" >&6; }
11218 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11219 $as_echo_n "(cached
) " >&6
11221 if test -n "$DLLTOOL_FOR_TARGET"; then
11222 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11225 for as_dir in $PATH
11228 test -z "$as_dir" && as_dir=.
11229 for ac_exec_ext in '' $ac_executable_extensions; do
11230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11231 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11241 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11242 if test -n "$DLLTOOL_FOR_TARGET"; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11244 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11247 $as_echo "no
" >&6; }
11252 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11256 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11258 if test $build = $target ; then
11259 DLLTOOL_FOR_TARGET="$2"
11261 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11264 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11268 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11274 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11275 if test -n "$with_build_time_tools"; then
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11277 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11278 if test -x $with_build_time_tools/ld; then
11279 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11280 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11282 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11285 $as_echo "no
" >&6; }
11287 elif test $build != $host && test $have_gcc_for_target = yes; then
11288 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11289 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11290 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11293 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11294 # Extract the first word of "ld
", so it can be a program name with args.
11295 set dummy ld; ac_word=$2
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11297 $as_echo_n "checking
for $ac_word...
" >&6; }
11298 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11299 $as_echo_n "(cached
) " >&6
11301 case $LD_FOR_TARGET in
11303 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11307 for as_dir in $gcc_cv_tool_dirs
11310 test -z "$as_dir" && as_dir=.
11311 for ac_exec_ext in '' $ac_executable_extensions; do
11312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11313 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11324 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11325 if test -n "$LD_FOR_TARGET"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11327 $as_echo "$LD_FOR_TARGET" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11330 $as_echo "no
" >&6; }
11335 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11338 if test -n "$LD_FOR_TARGET"; then
11339 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11340 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11341 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11344 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11345 for ncn_progname in ld; do
11346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11347 set dummy ${ncn_progname}; ac_word=$2
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11349 $as_echo_n "checking
for $ac_word...
" >&6; }
11350 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11351 $as_echo_n "(cached
) " >&6
11353 if test -n "$LD_FOR_TARGET"; then
11354 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $PATH
11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11363 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11373 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11374 if test -n "$LD_FOR_TARGET"; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11376 $as_echo "$LD_FOR_TARGET" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11379 $as_echo "no
" >&6; }
11386 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11387 for ncn_progname in ld; do
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11389 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11390 if test -x $with_build_time_tools/${ncn_progname}; then
11391 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11393 $as_echo "yes" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11397 $as_echo "no
" >&6; }
11402 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11403 for ncn_progname in ld; do
11404 if test -n "$ncn_target_tool_prefix"; then
11405 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11406 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11408 $as_echo_n "checking
for $ac_word...
" >&6; }
11409 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11410 $as_echo_n "(cached
) " >&6
11412 if test -n "$LD_FOR_TARGET"; then
11413 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11422 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11432 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11433 if test -n "$LD_FOR_TARGET"; then
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11435 $as_echo "$LD_FOR_TARGET" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11438 $as_echo "no
" >&6; }
11443 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11445 set dummy ${ncn_progname}; ac_word=$2
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11447 $as_echo_n "checking
for $ac_word...
" >&6; }
11448 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11449 $as_echo_n "(cached
) " >&6
11451 if test -n "$LD_FOR_TARGET"; then
11452 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11455 for as_dir in $PATH
11458 test -z "$as_dir" && as_dir=.
11459 for ac_exec_ext in '' $ac_executable_extensions; do
11460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11461 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11471 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11472 if test -n "$LD_FOR_TARGET"; then
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11474 $as_echo "$LD_FOR_TARGET" >&6; }
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11477 $as_echo "no
" >&6; }
11482 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11486 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11488 if test $build = $target ; then
11491 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11494 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11498 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11504 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11505 if test -n "$with_build_time_tools"; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11507 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11508 if test -x $with_build_time_tools/lipo; then
11509 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11510 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11512 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11515 $as_echo "no
" >&6; }
11517 elif test $build != $host && test $have_gcc_for_target = yes; then
11518 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11519 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11520 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11523 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11524 # Extract the first word of "lipo
", so it can be a program name with args.
11525 set dummy lipo; ac_word=$2
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11527 $as_echo_n "checking
for $ac_word...
" >&6; }
11528 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11529 $as_echo_n "(cached
) " >&6
11531 case $LIPO_FOR_TARGET in
11533 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11537 for as_dir in $gcc_cv_tool_dirs
11540 test -z "$as_dir" && as_dir=.
11541 for ac_exec_ext in '' $ac_executable_extensions; do
11542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11543 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11554 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11555 if test -n "$LIPO_FOR_TARGET"; then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11557 $as_echo "$LIPO_FOR_TARGET" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11560 $as_echo "no
" >&6; }
11565 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11568 if test -n "$LIPO_FOR_TARGET"; then
11569 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11570 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11571 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11574 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11575 for ncn_progname in lipo; do
11576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11577 set dummy ${ncn_progname}; ac_word=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11579 $as_echo_n "checking
for $ac_word...
" >&6; }
11580 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11581 $as_echo_n "(cached
) " >&6
11583 if test -n "$LIPO_FOR_TARGET"; then
11584 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11587 for as_dir in $PATH
11590 test -z "$as_dir" && as_dir=.
11591 for ac_exec_ext in '' $ac_executable_extensions; do
11592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11593 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11603 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11604 if test -n "$LIPO_FOR_TARGET"; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11606 $as_echo "$LIPO_FOR_TARGET" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11609 $as_echo "no
" >&6; }
11616 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11617 for ncn_progname in lipo; do
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11619 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11620 if test -x $with_build_time_tools/${ncn_progname}; then
11621 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11623 $as_echo "yes" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11627 $as_echo "no
" >&6; }
11632 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11633 for ncn_progname in lipo; do
11634 if test -n "$ncn_target_tool_prefix"; then
11635 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11636 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11638 $as_echo_n "checking
for $ac_word...
" >&6; }
11639 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11640 $as_echo_n "(cached
) " >&6
11642 if test -n "$LIPO_FOR_TARGET"; then
11643 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11646 for as_dir in $PATH
11649 test -z "$as_dir" && as_dir=.
11650 for ac_exec_ext in '' $ac_executable_extensions; do
11651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11652 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11662 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11663 if test -n "$LIPO_FOR_TARGET"; then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11665 $as_echo "$LIPO_FOR_TARGET" >&6; }
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11668 $as_echo "no
" >&6; }
11673 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11674 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11675 set dummy ${ncn_progname}; ac_word=$2
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11677 $as_echo_n "checking
for $ac_word...
" >&6; }
11678 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11679 $as_echo_n "(cached
) " >&6
11681 if test -n "$LIPO_FOR_TARGET"; then
11682 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11688 test -z "$as_dir" && as_dir=.
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11691 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11701 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11702 if test -n "$LIPO_FOR_TARGET"; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11704 $as_echo "$LIPO_FOR_TARGET" >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11707 $as_echo "no
" >&6; }
11712 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11716 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11718 if test $build = $target ; then
11719 LIPO_FOR_TARGET="$2"
11721 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11724 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11728 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11734 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11735 if test -n "$with_build_time_tools"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11737 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11738 if test -x $with_build_time_tools/nm; then
11739 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11740 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11742 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11745 $as_echo "no
" >&6; }
11747 elif test $build != $host && test $have_gcc_for_target = yes; then
11748 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11749 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11750 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11753 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11754 # Extract the first word of "nm
", so it can be a program name with args.
11755 set dummy nm; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11757 $as_echo_n "checking
for $ac_word...
" >&6; }
11758 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11759 $as_echo_n "(cached
) " >&6
11761 case $NM_FOR_TARGET in
11763 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11767 for as_dir in $gcc_cv_tool_dirs
11770 test -z "$as_dir" && as_dir=.
11771 for ac_exec_ext in '' $ac_executable_extensions; do
11772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11773 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11784 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11785 if test -n "$NM_FOR_TARGET"; then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11787 $as_echo "$NM_FOR_TARGET" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11790 $as_echo "no
" >&6; }
11795 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11798 if test -n "$NM_FOR_TARGET"; then
11799 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11800 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11801 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11804 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11805 for ncn_progname in nm; do
11806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11807 set dummy ${ncn_progname}; ac_word=$2
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11809 $as_echo_n "checking
for $ac_word...
" >&6; }
11810 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11811 $as_echo_n "(cached
) " >&6
11813 if test -n "$NM_FOR_TARGET"; then
11814 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11817 for as_dir in $PATH
11820 test -z "$as_dir" && as_dir=.
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11823 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11833 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11834 if test -n "$NM_FOR_TARGET"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11836 $as_echo "$NM_FOR_TARGET" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11839 $as_echo "no
" >&6; }
11846 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11847 for ncn_progname in nm; do
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11849 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11850 if test -x $with_build_time_tools/${ncn_progname}; then
11851 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11853 $as_echo "yes" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11857 $as_echo "no
" >&6; }
11862 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11863 for ncn_progname in nm; do
11864 if test -n "$ncn_target_tool_prefix"; then
11865 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11866 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11868 $as_echo_n "checking
for $ac_word...
" >&6; }
11869 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11870 $as_echo_n "(cached
) " >&6
11872 if test -n "$NM_FOR_TARGET"; then
11873 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11876 for as_dir in $PATH
11879 test -z "$as_dir" && as_dir=.
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11882 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11892 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11893 if test -n "$NM_FOR_TARGET"; then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11895 $as_echo "$NM_FOR_TARGET" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11898 $as_echo "no
" >&6; }
11903 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11905 set dummy ${ncn_progname}; ac_word=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11907 $as_echo_n "checking
for $ac_word...
" >&6; }
11908 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11909 $as_echo_n "(cached
) " >&6
11911 if test -n "$NM_FOR_TARGET"; then
11912 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11915 for as_dir in $PATH
11918 test -z "$as_dir" && as_dir=.
11919 for ac_exec_ext in '' $ac_executable_extensions; do
11920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11921 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11931 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11932 if test -n "$NM_FOR_TARGET"; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11934 $as_echo "$NM_FOR_TARGET" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11937 $as_echo "no
" >&6; }
11942 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11946 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11948 if test $build = $target ; then
11951 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11954 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11958 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11964 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11965 if test -n "$with_build_time_tools"; then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11967 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11968 if test -x $with_build_time_tools/objdump; then
11969 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11970 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11972 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11975 $as_echo "no
" >&6; }
11977 elif test $build != $host && test $have_gcc_for_target = yes; then
11978 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11979 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11980 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11983 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11984 # Extract the first word of "objdump
", so it can be a program name with args.
11985 set dummy objdump; ac_word=$2
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11987 $as_echo_n "checking
for $ac_word...
" >&6; }
11988 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11989 $as_echo_n "(cached
) " >&6
11991 case $OBJDUMP_FOR_TARGET in
11993 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11997 for as_dir in $gcc_cv_tool_dirs
12000 test -z "$as_dir" && as_dir=.
12001 for ac_exec_ext in '' $ac_executable_extensions; do
12002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12003 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12014 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12015 if test -n "$OBJDUMP_FOR_TARGET"; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12017 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12020 $as_echo "no
" >&6; }
12025 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12028 if test -n "$OBJDUMP_FOR_TARGET"; then
12029 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12030 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12031 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12034 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12035 for ncn_progname in objdump; do
12036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12037 set dummy ${ncn_progname}; ac_word=$2
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12039 $as_echo_n "checking
for $ac_word...
" >&6; }
12040 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12041 $as_echo_n "(cached
) " >&6
12043 if test -n "$OBJDUMP_FOR_TARGET"; then
12044 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12047 for as_dir in $PATH
12050 test -z "$as_dir" && as_dir=.
12051 for ac_exec_ext in '' $ac_executable_extensions; do
12052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12053 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12063 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12064 if test -n "$OBJDUMP_FOR_TARGET"; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12066 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12069 $as_echo "no
" >&6; }
12076 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12077 for ncn_progname in objdump; do
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12079 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12080 if test -x $with_build_time_tools/${ncn_progname}; then
12081 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12083 $as_echo "yes" >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12087 $as_echo "no
" >&6; }
12092 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12093 for ncn_progname in objdump; do
12094 if test -n "$ncn_target_tool_prefix"; then
12095 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12096 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12098 $as_echo_n "checking
for $ac_word...
" >&6; }
12099 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12100 $as_echo_n "(cached
) " >&6
12102 if test -n "$OBJDUMP_FOR_TARGET"; then
12103 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12112 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12122 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12123 if test -n "$OBJDUMP_FOR_TARGET"; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12125 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12128 $as_echo "no
" >&6; }
12133 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12134 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12135 set dummy ${ncn_progname}; ac_word=$2
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12137 $as_echo_n "checking
for $ac_word...
" >&6; }
12138 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12139 $as_echo_n "(cached
) " >&6
12141 if test -n "$OBJDUMP_FOR_TARGET"; then
12142 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12151 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12152 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12161 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12162 if test -n "$OBJDUMP_FOR_TARGET"; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12164 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12167 $as_echo "no
" >&6; }
12172 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12176 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12178 if test $build = $target ; then
12179 OBJDUMP_FOR_TARGET="$2"
12181 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12184 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12188 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12194 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12195 if test -n "$with_build_time_tools"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12197 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12198 if test -x $with_build_time_tools/ranlib; then
12199 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12200 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12202 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12205 $as_echo "no
" >&6; }
12207 elif test $build != $host && test $have_gcc_for_target = yes; then
12208 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12209 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12210 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12213 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12214 # Extract the first word of "ranlib
", so it can be a program name with args.
12215 set dummy ranlib; ac_word=$2
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12217 $as_echo_n "checking
for $ac_word...
" >&6; }
12218 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12219 $as_echo_n "(cached
) " >&6
12221 case $RANLIB_FOR_TARGET in
12223 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12227 for as_dir in $gcc_cv_tool_dirs
12230 test -z "$as_dir" && as_dir=.
12231 for ac_exec_ext in '' $ac_executable_extensions; do
12232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12233 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12244 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12245 if test -n "$RANLIB_FOR_TARGET"; then
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12247 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12250 $as_echo "no
" >&6; }
12255 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12258 if test -n "$RANLIB_FOR_TARGET"; then
12259 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12260 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12261 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12264 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12265 for ncn_progname in ranlib; do
12266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12267 set dummy ${ncn_progname}; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12269 $as_echo_n "checking
for $ac_word...
" >&6; }
12270 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12271 $as_echo_n "(cached
) " >&6
12273 if test -n "$RANLIB_FOR_TARGET"; then
12274 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12283 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12293 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12294 if test -n "$RANLIB_FOR_TARGET"; then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12296 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12299 $as_echo "no
" >&6; }
12306 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12307 for ncn_progname in ranlib; do
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12309 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12310 if test -x $with_build_time_tools/${ncn_progname}; then
12311 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12313 $as_echo "yes" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12317 $as_echo "no
" >&6; }
12322 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12323 for ncn_progname in ranlib; do
12324 if test -n "$ncn_target_tool_prefix"; then
12325 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12326 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12328 $as_echo_n "checking
for $ac_word...
" >&6; }
12329 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12330 $as_echo_n "(cached
) " >&6
12332 if test -n "$RANLIB_FOR_TARGET"; then
12333 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12336 for as_dir in $PATH
12339 test -z "$as_dir" && as_dir=.
12340 for ac_exec_ext in '' $ac_executable_extensions; do
12341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12342 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12352 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12353 if test -n "$RANLIB_FOR_TARGET"; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12355 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12358 $as_echo "no
" >&6; }
12363 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12364 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12365 set dummy ${ncn_progname}; ac_word=$2
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12367 $as_echo_n "checking
for $ac_word...
" >&6; }
12368 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12369 $as_echo_n "(cached
) " >&6
12371 if test -n "$RANLIB_FOR_TARGET"; then
12372 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12375 for as_dir in $PATH
12378 test -z "$as_dir" && as_dir=.
12379 for ac_exec_ext in '' $ac_executable_extensions; do
12380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12381 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12391 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12392 if test -n "$RANLIB_FOR_TARGET"; then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12394 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12397 $as_echo "no
" >&6; }
12402 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12406 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12408 if test $build = $target ; then
12409 RANLIB_FOR_TARGET="$2"
12411 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12414 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12418 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12424 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12425 if test -n "$with_build_time_tools"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12427 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12428 if test -x $with_build_time_tools/readelf; then
12429 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12430 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12432 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12435 $as_echo "no
" >&6; }
12437 elif test $build != $host && test $have_gcc_for_target = yes; then
12438 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12439 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12440 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12443 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12444 # Extract the first word of "readelf
", so it can be a program name with args.
12445 set dummy readelf; ac_word=$2
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12447 $as_echo_n "checking
for $ac_word...
" >&6; }
12448 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12449 $as_echo_n "(cached
) " >&6
12451 case $READELF_FOR_TARGET in
12453 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12457 for as_dir in $gcc_cv_tool_dirs
12460 test -z "$as_dir" && as_dir=.
12461 for ac_exec_ext in '' $ac_executable_extensions; do
12462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12463 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12474 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12475 if test -n "$READELF_FOR_TARGET"; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12477 $as_echo "$READELF_FOR_TARGET" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12480 $as_echo "no
" >&6; }
12485 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12488 if test -n "$READELF_FOR_TARGET"; then
12489 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12490 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12491 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12494 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12495 for ncn_progname in readelf; do
12496 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12497 set dummy ${ncn_progname}; ac_word=$2
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12499 $as_echo_n "checking
for $ac_word...
" >&6; }
12500 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12501 $as_echo_n "(cached
) " >&6
12503 if test -n "$READELF_FOR_TARGET"; then
12504 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12507 for as_dir in $PATH
12510 test -z "$as_dir" && as_dir=.
12511 for ac_exec_ext in '' $ac_executable_extensions; do
12512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12513 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12523 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12524 if test -n "$READELF_FOR_TARGET"; then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12526 $as_echo "$READELF_FOR_TARGET" >&6; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12529 $as_echo "no
" >&6; }
12536 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12537 for ncn_progname in readelf; do
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12539 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12540 if test -x $with_build_time_tools/${ncn_progname}; then
12541 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12543 $as_echo "yes" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12547 $as_echo "no
" >&6; }
12552 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12553 for ncn_progname in readelf; do
12554 if test -n "$ncn_target_tool_prefix"; then
12555 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12556 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12558 $as_echo_n "checking
for $ac_word...
" >&6; }
12559 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12560 $as_echo_n "(cached
) " >&6
12562 if test -n "$READELF_FOR_TARGET"; then
12563 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12566 for as_dir in $PATH
12569 test -z "$as_dir" && as_dir=.
12570 for ac_exec_ext in '' $ac_executable_extensions; do
12571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12572 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12582 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12583 if test -n "$READELF_FOR_TARGET"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12585 $as_echo "$READELF_FOR_TARGET" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12588 $as_echo "no
" >&6; }
12593 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12595 set dummy ${ncn_progname}; ac_word=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12597 $as_echo_n "checking
for $ac_word...
" >&6; }
12598 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12599 $as_echo_n "(cached
) " >&6
12601 if test -n "$READELF_FOR_TARGET"; then
12602 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12605 for as_dir in $PATH
12608 test -z "$as_dir" && as_dir=.
12609 for ac_exec_ext in '' $ac_executable_extensions; do
12610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12611 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12621 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12622 if test -n "$READELF_FOR_TARGET"; then
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12624 $as_echo "$READELF_FOR_TARGET" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12627 $as_echo "no
" >&6; }
12632 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12636 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12638 if test $build = $target ; then
12639 READELF_FOR_TARGET="$2"
12641 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12644 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12648 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12654 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12655 if test -n "$with_build_time_tools"; then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12657 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12658 if test -x $with_build_time_tools/strip; then
12659 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12660 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12662 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12665 $as_echo "no
" >&6; }
12667 elif test $build != $host && test $have_gcc_for_target = yes; then
12668 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12669 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12670 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12673 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12674 # Extract the first word of "strip
", so it can be a program name with args.
12675 set dummy strip; ac_word=$2
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12677 $as_echo_n "checking
for $ac_word...
" >&6; }
12678 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12679 $as_echo_n "(cached
) " >&6
12681 case $STRIP_FOR_TARGET in
12683 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12687 for as_dir in $gcc_cv_tool_dirs
12690 test -z "$as_dir" && as_dir=.
12691 for ac_exec_ext in '' $ac_executable_extensions; do
12692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12693 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12704 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12705 if test -n "$STRIP_FOR_TARGET"; then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12707 $as_echo "$STRIP_FOR_TARGET" >&6; }
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12710 $as_echo "no
" >&6; }
12715 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12718 if test -n "$STRIP_FOR_TARGET"; then
12719 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12720 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12721 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12724 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12725 for ncn_progname in strip; do
12726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12727 set dummy ${ncn_progname}; ac_word=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12729 $as_echo_n "checking
for $ac_word...
" >&6; }
12730 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12731 $as_echo_n "(cached
) " >&6
12733 if test -n "$STRIP_FOR_TARGET"; then
12734 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12753 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12754 if test -n "$STRIP_FOR_TARGET"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12756 $as_echo "$STRIP_FOR_TARGET" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12759 $as_echo "no
" >&6; }
12766 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12767 for ncn_progname in strip; do
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12769 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12770 if test -x $with_build_time_tools/${ncn_progname}; then
12771 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12773 $as_echo "yes" >&6; }
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12777 $as_echo "no
" >&6; }
12782 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12783 for ncn_progname in strip; do
12784 if test -n "$ncn_target_tool_prefix"; then
12785 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12786 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12788 $as_echo_n "checking
for $ac_word...
" >&6; }
12789 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12790 $as_echo_n "(cached
) " >&6
12792 if test -n "$STRIP_FOR_TARGET"; then
12793 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12796 for as_dir in $PATH
12799 test -z "$as_dir" && as_dir=.
12800 for ac_exec_ext in '' $ac_executable_extensions; do
12801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12802 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12812 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12813 if test -n "$STRIP_FOR_TARGET"; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12815 $as_echo "$STRIP_FOR_TARGET" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12818 $as_echo "no
" >&6; }
12823 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12825 set dummy ${ncn_progname}; ac_word=$2
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12827 $as_echo_n "checking
for $ac_word...
" >&6; }
12828 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12829 $as_echo_n "(cached
) " >&6
12831 if test -n "$STRIP_FOR_TARGET"; then
12832 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12835 for as_dir in $PATH
12838 test -z "$as_dir" && as_dir=.
12839 for ac_exec_ext in '' $ac_executable_extensions; do
12840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12841 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12851 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12852 if test -n "$STRIP_FOR_TARGET"; then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12854 $as_echo "$STRIP_FOR_TARGET" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12857 $as_echo "no
" >&6; }
12862 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12866 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12868 if test $build = $target ; then
12869 STRIP_FOR_TARGET="$2"
12871 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12874 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12878 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12884 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12885 if test -n "$with_build_time_tools"; then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12887 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12888 if test -x $with_build_time_tools/windres; then
12889 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12890 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12892 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12895 $as_echo "no
" >&6; }
12897 elif test $build != $host && test $have_gcc_for_target = yes; then
12898 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12899 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12900 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12903 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12904 # Extract the first word of "windres
", so it can be a program name with args.
12905 set dummy windres; ac_word=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12907 $as_echo_n "checking
for $ac_word...
" >&6; }
12908 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12909 $as_echo_n "(cached
) " >&6
12911 case $WINDRES_FOR_TARGET in
12913 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12917 for as_dir in $gcc_cv_tool_dirs
12920 test -z "$as_dir" && as_dir=.
12921 for ac_exec_ext in '' $ac_executable_extensions; do
12922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12923 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12934 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12935 if test -n "$WINDRES_FOR_TARGET"; then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12937 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12940 $as_echo "no
" >&6; }
12945 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12948 if test -n "$WINDRES_FOR_TARGET"; then
12949 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12950 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12951 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12954 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12955 for ncn_progname in windres; do
12956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12957 set dummy ${ncn_progname}; ac_word=$2
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12959 $as_echo_n "checking
for $ac_word...
" >&6; }
12960 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12961 $as_echo_n "(cached
) " >&6
12963 if test -n "$WINDRES_FOR_TARGET"; then
12964 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12967 for as_dir in $PATH
12970 test -z "$as_dir" && as_dir=.
12971 for ac_exec_ext in '' $ac_executable_extensions; do
12972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12973 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12983 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12984 if test -n "$WINDRES_FOR_TARGET"; then
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12986 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12989 $as_echo "no
" >&6; }
12996 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12997 for ncn_progname in windres; do
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12999 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13000 if test -x $with_build_time_tools/${ncn_progname}; then
13001 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13003 $as_echo "yes" >&6; }
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13007 $as_echo "no
" >&6; }
13012 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13013 for ncn_progname in windres; do
13014 if test -n "$ncn_target_tool_prefix"; then
13015 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13016 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13018 $as_echo_n "checking
for $ac_word...
" >&6; }
13019 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13020 $as_echo_n "(cached
) " >&6
13022 if test -n "$WINDRES_FOR_TARGET"; then
13023 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13042 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13043 if test -n "$WINDRES_FOR_TARGET"; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13045 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13048 $as_echo "no
" >&6; }
13053 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13055 set dummy ${ncn_progname}; ac_word=$2
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13057 $as_echo_n "checking
for $ac_word...
" >&6; }
13058 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13059 $as_echo_n "(cached
) " >&6
13061 if test -n "$WINDRES_FOR_TARGET"; then
13062 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13065 for as_dir in $PATH
13068 test -z "$as_dir" && as_dir=.
13069 for ac_exec_ext in '' $ac_executable_extensions; do
13070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13071 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13081 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13082 if test -n "$WINDRES_FOR_TARGET"; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13084 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13087 $as_echo "no
" >&6; }
13092 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13096 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13098 if test $build = $target ; then
13099 WINDRES_FOR_TARGET="$2"
13101 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13104 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13108 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13114 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13115 if test -n "$with_build_time_tools"; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13117 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13118 if test -x $with_build_time_tools/windmc; then
13119 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13120 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13122 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13125 $as_echo "no
" >&6; }
13127 elif test $build != $host && test $have_gcc_for_target = yes; then
13128 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13129 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13130 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13133 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13134 # Extract the first word of "windmc
", so it can be a program name with args.
13135 set dummy windmc; ac_word=$2
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13137 $as_echo_n "checking
for $ac_word...
" >&6; }
13138 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13139 $as_echo_n "(cached
) " >&6
13141 case $WINDMC_FOR_TARGET in
13143 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13147 for as_dir in $gcc_cv_tool_dirs
13150 test -z "$as_dir" && as_dir=.
13151 for ac_exec_ext in '' $ac_executable_extensions; do
13152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13153 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13164 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13165 if test -n "$WINDMC_FOR_TARGET"; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13167 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13170 $as_echo "no
" >&6; }
13175 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13178 if test -n "$WINDMC_FOR_TARGET"; then
13179 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13180 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13181 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13184 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13185 for ncn_progname in windmc; do
13186 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13187 set dummy ${ncn_progname}; ac_word=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13189 $as_echo_n "checking
for $ac_word...
" >&6; }
13190 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13191 $as_echo_n "(cached
) " >&6
13193 if test -n "$WINDMC_FOR_TARGET"; then
13194 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13197 for as_dir in $PATH
13200 test -z "$as_dir" && as_dir=.
13201 for ac_exec_ext in '' $ac_executable_extensions; do
13202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13203 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13213 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13214 if test -n "$WINDMC_FOR_TARGET"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13216 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13219 $as_echo "no
" >&6; }
13226 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13227 for ncn_progname in windmc; do
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13229 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13230 if test -x $with_build_time_tools/${ncn_progname}; then
13231 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13233 $as_echo "yes" >&6; }
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13237 $as_echo "no
" >&6; }
13242 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13243 for ncn_progname in windmc; do
13244 if test -n "$ncn_target_tool_prefix"; then
13245 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13246 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13248 $as_echo_n "checking
for $ac_word...
" >&6; }
13249 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13250 $as_echo_n "(cached
) " >&6
13252 if test -n "$WINDMC_FOR_TARGET"; then
13253 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13256 for as_dir in $PATH
13259 test -z "$as_dir" && as_dir=.
13260 for ac_exec_ext in '' $ac_executable_extensions; do
13261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13262 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13272 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13273 if test -n "$WINDMC_FOR_TARGET"; then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13275 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13278 $as_echo "no
" >&6; }
13283 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13285 set dummy ${ncn_progname}; ac_word=$2
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13287 $as_echo_n "checking
for $ac_word...
" >&6; }
13288 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13289 $as_echo_n "(cached
) " >&6
13291 if test -n "$WINDMC_FOR_TARGET"; then
13292 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13295 for as_dir in $PATH
13298 test -z "$as_dir" && as_dir=.
13299 for ac_exec_ext in '' $ac_executable_extensions; do
13300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13301 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13311 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13312 if test -n "$WINDMC_FOR_TARGET"; then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13314 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13317 $as_echo "no
" >&6; }
13322 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13326 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13328 if test $build = $target ; then
13329 WINDMC_FOR_TARGET="$2"
13331 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13334 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13338 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13342 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13345 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13346 if test "x
${build}" != "x
${host}" ; then
13347 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13348 # We already found the complete path
13349 ac_dir=`dirname $AR_FOR_TARGET`
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13351 $as_echo "pre-installed
in $ac_dir" >&6; }
13353 # Canadian cross, just use what we found
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13355 $as_echo "pre-installed
" >&6; }
13359 case " ${configdirs} " in
13364 if test $ok = yes; then
13365 # An in-tree tool is available and we can use it
13366 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13368 $as_echo "just compiled
" >&6; }
13369 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13370 # We already found the complete path
13371 ac_dir=`dirname $AR_FOR_TARGET`
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13373 $as_echo "pre-installed
in $ac_dir" >&6; }
13374 elif test "x
$target" = "x
$host"; then
13375 # We can use an host tool
13376 AR_FOR_TARGET='$(AR)'
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13378 $as_echo "host tool
" >&6; }
13380 # We need a cross tool
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13382 $as_echo "pre-installed
" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13387 $as_echo_n "checking where to
find the target as...
" >&6; }
13388 if test "x
${build}" != "x
${host}" ; then
13389 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13390 # We already found the complete path
13391 ac_dir=`dirname $AS_FOR_TARGET`
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13393 $as_echo "pre-installed
in $ac_dir" >&6; }
13395 # Canadian cross, just use what we found
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13397 $as_echo "pre-installed
" >&6; }
13401 case " ${configdirs} " in
13406 if test $ok = yes; then
13407 # An in-tree tool is available and we can use it
13408 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13410 $as_echo "just compiled
" >&6; }
13411 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13412 # We already found the complete path
13413 ac_dir=`dirname $AS_FOR_TARGET`
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13415 $as_echo "pre-installed
in $ac_dir" >&6; }
13416 elif test "x
$target" = "x
$host"; then
13417 # We can use an host tool
13418 AS_FOR_TARGET='$(AS)'
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13420 $as_echo "host tool
" >&6; }
13422 # We need a cross tool
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13424 $as_echo "pre-installed
" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13429 $as_echo_n "checking where to
find the target cc...
" >&6; }
13430 if test "x
${build}" != "x
${host}" ; then
13431 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13432 # We already found the complete path
13433 ac_dir=`dirname $CC_FOR_TARGET`
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13435 $as_echo "pre-installed
in $ac_dir" >&6; }
13437 # Canadian cross, just use what we found
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13439 $as_echo "pre-installed
" >&6; }
13443 case " ${configdirs} " in
13448 if test $ok = yes; then
13449 # An in-tree tool is available and we can use it
13450 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13452 $as_echo "just compiled
" >&6; }
13453 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13454 # We already found the complete path
13455 ac_dir=`dirname $CC_FOR_TARGET`
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13457 $as_echo "pre-installed
in $ac_dir" >&6; }
13458 elif test "x
$target" = "x
$host"; then
13459 # We can use an host tool
13460 CC_FOR_TARGET='$(CC)'
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13462 $as_echo "host tool
" >&6; }
13464 # We need a cross tool
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13466 $as_echo "pre-installed
" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13471 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13472 if test "x
${build}" != "x
${host}" ; then
13473 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13474 # We already found the complete path
13475 ac_dir=`dirname $CXX_FOR_TARGET`
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13477 $as_echo "pre-installed
in $ac_dir" >&6; }
13479 # Canadian cross, just use what we found
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13481 $as_echo "pre-installed
" >&6; }
13485 case " ${configdirs} " in
13489 case ,${enable_languages}, in
13493 if test $ok = yes; then
13494 # An in-tree tool is available and we can use it
13495 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'
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13497 $as_echo "just compiled
" >&6; }
13498 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13499 # We already found the complete path
13500 ac_dir=`dirname $CXX_FOR_TARGET`
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13502 $as_echo "pre-installed
in $ac_dir" >&6; }
13503 elif test "x
$target" = "x
$host"; then
13504 # We can use an host tool
13505 CXX_FOR_TARGET='$(CXX)'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13507 $as_echo "host tool
" >&6; }
13509 # We need a cross tool
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13511 $as_echo "pre-installed
" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13516 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13517 if test "x
${build}" != "x
${host}" ; then
13518 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13519 # We already found the complete path
13520 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13522 $as_echo "pre-installed
in $ac_dir" >&6; }
13524 # Canadian cross, just use what we found
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13526 $as_echo "pre-installed
" >&6; }
13530 case " ${configdirs} " in
13534 case ,${enable_languages}, in
13538 if test $ok = yes; then
13539 # An in-tree tool is available and we can use it
13540 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'
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13542 $as_echo "just compiled
" >&6; }
13543 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13544 # We already found the complete path
13545 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13547 $as_echo "pre-installed
in $ac_dir" >&6; }
13548 elif test "x
$target" = "x
$host"; then
13549 # We can use an host tool
13550 RAW_CXX_FOR_TARGET='$(CXX)'
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13552 $as_echo "host tool
" >&6; }
13554 # We need a cross tool
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13556 $as_echo "pre-installed
" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13561 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13562 if test "x
${build}" != "x
${host}" ; then
13563 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13564 # We already found the complete path
13565 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13567 $as_echo "pre-installed
in $ac_dir" >&6; }
13569 # Canadian cross, just use what we found
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13571 $as_echo "pre-installed
" >&6; }
13575 case " ${configdirs} " in
13580 if test $ok = yes; then
13581 # An in-tree tool is available and we can use it
13582 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13584 $as_echo "just compiled
" >&6; }
13585 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13586 # We already found the complete path
13587 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13589 $as_echo "pre-installed
in $ac_dir" >&6; }
13590 elif test "x
$target" = "x
$host"; then
13591 # We can use an host tool
13592 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13594 $as_echo "host tool
" >&6; }
13596 # We need a cross tool
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13598 $as_echo "pre-installed
" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13603 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13604 if test "x
${build}" != "x
${host}" ; then
13605 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13606 # We already found the complete path
13607 ac_dir=`dirname $GCC_FOR_TARGET`
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13609 $as_echo "pre-installed
in $ac_dir" >&6; }
13611 # Canadian cross, just use what we found
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13613 $as_echo "pre-installed
" >&6; }
13617 case " ${configdirs} " in
13622 if test $ok = yes; then
13623 # An in-tree tool is available and we can use it
13624 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13626 $as_echo "just compiled
" >&6; }
13627 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13628 # We already found the complete path
13629 ac_dir=`dirname $GCC_FOR_TARGET`
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13631 $as_echo "pre-installed
in $ac_dir" >&6; }
13632 elif test "x
$target" = "x
$host"; then
13633 # We can use an host tool
13634 GCC_FOR_TARGET='$()'
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13636 $as_echo "host tool
" >&6; }
13638 # We need a cross tool
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13640 $as_echo "pre-installed
" >&6; }
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13645 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13646 if test "x
${build}" != "x
${host}" ; then
13647 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13648 # We already found the complete path
13649 ac_dir=`dirname $GCJ_FOR_TARGET`
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13651 $as_echo "pre-installed
in $ac_dir" >&6; }
13653 # Canadian cross, just use what we found
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13655 $as_echo "pre-installed
" >&6; }
13659 case " ${configdirs} " in
13663 case ,${enable_languages}, in
13667 if test $ok = yes; then
13668 # An in-tree tool is available and we can use it
13669 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13671 $as_echo "just compiled
" >&6; }
13672 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13673 # We already found the complete path
13674 ac_dir=`dirname $GCJ_FOR_TARGET`
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13676 $as_echo "pre-installed
in $ac_dir" >&6; }
13677 elif test "x
$target" = "x
$host"; then
13678 # We can use an host tool
13679 GCJ_FOR_TARGET='$(GCJ)'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13681 $as_echo "host tool
" >&6; }
13683 # We need a cross tool
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13685 $as_echo "pre-installed
" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13690 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13691 if test "x
${build}" != "x
${host}" ; then
13692 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13693 # We already found the complete path
13694 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13696 $as_echo "pre-installed
in $ac_dir" >&6; }
13698 # Canadian cross, just use what we found
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13700 $as_echo "pre-installed
" >&6; }
13704 case " ${configdirs} " in
13708 case ,${enable_languages}, in
13712 if test $ok = yes; then
13713 # An in-tree tool is available and we can use it
13714 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13716 $as_echo "just compiled
" >&6; }
13717 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13718 # We already found the complete path
13719 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13721 $as_echo "pre-installed
in $ac_dir" >&6; }
13722 elif test "x
$target" = "x
$host"; then
13723 # We can use an host tool
13724 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13726 $as_echo "host tool
" >&6; }
13728 # We need a cross tool
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13730 $as_echo "pre-installed
" >&6; }
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13735 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13736 if test "x
${build}" != "x
${host}" ; then
13737 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13738 # We already found the complete path
13739 ac_dir=`dirname $GOC_FOR_TARGET`
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13741 $as_echo "pre-installed
in $ac_dir" >&6; }
13743 # Canadian cross, just use what we found
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13745 $as_echo "pre-installed
" >&6; }
13749 case " ${configdirs} " in
13753 case ,${enable_languages}, in
13757 if test $ok = yes; then
13758 # An in-tree tool is available and we can use it
13759 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13761 $as_echo "just compiled
" >&6; }
13762 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13763 # We already found the complete path
13764 ac_dir=`dirname $GOC_FOR_TARGET`
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13766 $as_echo "pre-installed
in $ac_dir" >&6; }
13767 elif test "x
$target" = "x
$host"; then
13768 # We can use an host tool
13769 GOC_FOR_TARGET='$(GOC)'
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13771 $as_echo "host tool
" >&6; }
13773 # We need a cross tool
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13775 $as_echo "pre-installed
" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13780 $as_echo_n "checking where to
find the target ld...
" >&6; }
13781 if test "x
${build}" != "x
${host}" ; then
13782 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13783 # We already found the complete path
13784 ac_dir=`dirname $LD_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; }
13788 # Canadian cross, just use what we found
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13790 $as_echo "pre-installed
" >&6; }
13794 case " ${configdirs} " in
13799 if test $ok = yes; then
13800 # An in-tree tool is available and we can use it
13801 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13803 $as_echo "just compiled
" >&6; }
13804 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13805 # We already found the complete path
13806 ac_dir=`dirname $LD_FOR_TARGET`
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13808 $as_echo "pre-installed
in $ac_dir" >&6; }
13809 elif test "x
$target" = "x
$host"; then
13810 # We can use an host tool
13811 LD_FOR_TARGET='$(LD)'
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13813 $as_echo "host tool
" >&6; }
13815 # We need a cross tool
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13817 $as_echo "pre-installed
" >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13822 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13823 if test "x
${build}" != "x
${host}" ; then
13824 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13825 # We already found the complete path
13826 ac_dir=`dirname $LIPO_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; }
13830 # Canadian cross, just use what we found
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13832 $as_echo "pre-installed
" >&6; }
13835 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13836 # We already found the complete path
13837 ac_dir=`dirname $LIPO_FOR_TARGET`
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13839 $as_echo "pre-installed
in $ac_dir" >&6; }
13840 elif test "x
$target" = "x
$host"; then
13841 # We can use an host tool
13842 LIPO_FOR_TARGET='$(LIPO)'
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13844 $as_echo "host tool
" >&6; }
13846 # We need a cross tool
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13848 $as_echo "pre-installed
" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13853 $as_echo_n "checking where to
find the target nm...
" >&6; }
13854 if test "x
${build}" != "x
${host}" ; then
13855 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13856 # We already found the complete path
13857 ac_dir=`dirname $NM_FOR_TARGET`
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13859 $as_echo "pre-installed
in $ac_dir" >&6; }
13861 # Canadian cross, just use what we found
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13863 $as_echo "pre-installed
" >&6; }
13867 case " ${configdirs} " in
13872 if test $ok = yes; then
13873 # An in-tree tool is available and we can use it
13874 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13876 $as_echo "just compiled
" >&6; }
13877 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13878 # We already found the complete path
13879 ac_dir=`dirname $NM_FOR_TARGET`
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13881 $as_echo "pre-installed
in $ac_dir" >&6; }
13882 elif test "x
$target" = "x
$host"; then
13883 # We can use an host tool
13884 NM_FOR_TARGET='$(NM)'
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13886 $as_echo "host tool
" >&6; }
13888 # We need a cross tool
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13890 $as_echo "pre-installed
" >&6; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13895 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13896 if test "x
${build}" != "x
${host}" ; then
13897 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13898 # We already found the complete path
13899 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13901 $as_echo "pre-installed
in $ac_dir" >&6; }
13903 # Canadian cross, just use what we found
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13905 $as_echo "pre-installed
" >&6; }
13909 case " ${configdirs} " in
13914 if test $ok = yes; then
13915 # An in-tree tool is available and we can use it
13916 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13918 $as_echo "just compiled
" >&6; }
13919 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13920 # We already found the complete path
13921 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13923 $as_echo "pre-installed
in $ac_dir" >&6; }
13924 elif test "x
$target" = "x
$host"; then
13925 # We can use an host tool
13926 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13928 $as_echo "host tool
" >&6; }
13930 # We need a cross tool
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13932 $as_echo "pre-installed
" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13937 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13938 if test "x
${build}" != "x
${host}" ; then
13939 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13940 # We already found the complete path
13941 ac_dir=`dirname $RANLIB_FOR_TARGET`
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13943 $as_echo "pre-installed
in $ac_dir" >&6; }
13945 # Canadian cross, just use what we found
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13947 $as_echo "pre-installed
" >&6; }
13951 case " ${configdirs} " in
13956 if test $ok = yes; then
13957 # An in-tree tool is available and we can use it
13958 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13960 $as_echo "just compiled
" >&6; }
13961 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13962 # We already found the complete path
13963 ac_dir=`dirname $RANLIB_FOR_TARGET`
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13965 $as_echo "pre-installed
in $ac_dir" >&6; }
13966 elif test "x
$target" = "x
$host"; then
13967 # We can use an host tool
13968 RANLIB_FOR_TARGET='$(RANLIB)'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13970 $as_echo "host tool
" >&6; }
13972 # We need a cross tool
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13974 $as_echo "pre-installed
" >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
13979 $as_echo_n "checking where to
find the target readelf...
" >&6; }
13980 if test "x
${build}" != "x
${host}" ; then
13981 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
13982 # We already found the complete path
13983 ac_dir=`dirname $READELF_FOR_TARGET`
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13985 $as_echo "pre-installed
in $ac_dir" >&6; }
13987 # Canadian cross, just use what we found
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13989 $as_echo "pre-installed
" >&6; }
13993 case " ${configdirs} " in
13998 if test $ok = yes; then
13999 # An in-tree tool is available and we can use it
14000 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14002 $as_echo "just compiled
" >&6; }
14003 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $READELF_FOR_TARGET`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14007 $as_echo "pre-installed
in $ac_dir" >&6; }
14008 elif test "x
$target" = "x
$host"; then
14009 # We can use an host tool
14010 READELF_FOR_TARGET='$(READELF)'
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14012 $as_echo "host tool
" >&6; }
14014 # We need a cross tool
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14016 $as_echo "pre-installed
" >&6; }
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14021 $as_echo_n "checking where to
find the target strip...
" >&6; }
14022 if test "x
${build}" != "x
${host}" ; then
14023 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14024 # We already found the complete path
14025 ac_dir=`dirname $STRIP_FOR_TARGET`
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14027 $as_echo "pre-installed
in $ac_dir" >&6; }
14029 # Canadian cross, just use what we found
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14031 $as_echo "pre-installed
" >&6; }
14035 case " ${configdirs} " in
14040 if test $ok = yes; then
14041 # An in-tree tool is available and we can use it
14042 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14044 $as_echo "just compiled
" >&6; }
14045 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14046 # We already found the complete path
14047 ac_dir=`dirname $STRIP_FOR_TARGET`
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14049 $as_echo "pre-installed
in $ac_dir" >&6; }
14050 elif test "x
$target" = "x
$host"; then
14051 # We can use an host tool
14052 STRIP_FOR_TARGET='$(STRIP)'
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14054 $as_echo "host tool
" >&6; }
14056 # We need a cross tool
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14058 $as_echo "pre-installed
" >&6; }
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14063 $as_echo_n "checking where to
find the target windres...
" >&6; }
14064 if test "x
${build}" != "x
${host}" ; then
14065 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14066 # We already found the complete path
14067 ac_dir=`dirname $WINDRES_FOR_TARGET`
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14069 $as_echo "pre-installed
in $ac_dir" >&6; }
14071 # Canadian cross, just use what we found
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14073 $as_echo "pre-installed
" >&6; }
14077 case " ${configdirs} " in
14082 if test $ok = yes; then
14083 # An in-tree tool is available and we can use it
14084 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14086 $as_echo "just compiled
" >&6; }
14087 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14088 # We already found the complete path
14089 ac_dir=`dirname $WINDRES_FOR_TARGET`
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14091 $as_echo "pre-installed
in $ac_dir" >&6; }
14092 elif test "x
$target" = "x
$host"; then
14093 # We can use an host tool
14094 WINDRES_FOR_TARGET='$(WINDRES)'
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14096 $as_echo "host tool
" >&6; }
14098 # We need a cross tool
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14100 $as_echo "pre-installed
" >&6; }
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14105 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14106 if test "x
${build}" != "x
${host}" ; then
14107 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14108 # We already found the complete path
14109 ac_dir=`dirname $WINDMC_FOR_TARGET`
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14111 $as_echo "pre-installed
in $ac_dir" >&6; }
14113 # Canadian cross, just use what we found
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14115 $as_echo "pre-installed
" >&6; }
14119 case " ${configdirs} " in
14124 if test $ok = yes; then
14125 # An in-tree tool is available and we can use it
14126 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14128 $as_echo "just compiled
" >&6; }
14129 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14130 # We already found the complete path
14131 ac_dir=`dirname $WINDMC_FOR_TARGET`
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14133 $as_echo "pre-installed
in $ac_dir" >&6; }
14134 elif test "x
$target" = "x
$host"; then
14135 # We can use an host tool
14136 WINDMC_FOR_TARGET='$(WINDMC)'
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14138 $as_echo "host tool
" >&6; }
14140 # We need a cross tool
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14142 $as_echo "pre-installed
" >&6; }
14150 # Certain tools may need extra flags.
14151 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14152 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14153 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14155 # When building target libraries, except in a Canadian cross, we use
14156 # the same toolchain as the compiler we just built.
14157 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14158 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14159 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14160 if test $host = $build; then
14161 case " $configdirs " in
14163 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14164 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14165 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14175 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14176 # Check whether --enable-maintainer-mode was given.
14177 if test "${enable_maintainer_mode+set}" = set; then :
14178 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14180 USE_MAINTAINER_MODE=no
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14184 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14187 if test "$USE_MAINTAINER_MODE" = yes; then
14188 MAINTAINER_MODE_TRUE=
14189 MAINTAINER_MODE_FALSE='#'
14191 MAINTAINER_MODE_TRUE='#'
14192 MAINTAINER_MODE_FALSE=
14194 MAINT=$MAINTAINER_MODE_TRUE
14196 # ---------------------
14197 # GCC bootstrap support
14198 # ---------------------
14200 # Stage specific cflags for build.
14205 yes) stage1_cflags="-g -Wa,-J" ;;
14206 *) stage1_cflags="-g -J" ;;
14212 # Enable --enable-checking in stage1 of the compiler.
14213 # Check whether --enable-stage1-checking was given.
14214 if test "${enable_stage1_checking+set}" = set; then :
14215 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14217 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14218 stage1_checking=--enable-checking=yes,types
14220 stage1_checking=--enable-checking=$enable_checking,types
14226 # Enable -Werror in bootstrap stage2 and later.
14227 # Check whether --enable-werror was given.
14228 if test "${enable_werror+set}" = set; then :
14229 enableval=$enable_werror;
14231 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14238 case ${enable_werror} in
14239 yes) stage2_werror_flag="--enable-werror-always" ;;
14240 *) stage2_werror_flag="" ;;
14244 # Specify what files to not compare during bootstrap.
14246 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14248 hppa*64*-*-hpux*) ;;
14249 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14253 ac_config_files="$ac_config_files Makefile
"
14255 cat >confcache <<\_ACEOF
14256 # This file is a shell script that caches the results of configure
14257 # tests run on this system so they can be shared between configure
14258 # scripts and configure runs, see configure's option --config-cache.
14259 # It is not useful on other systems. If it contains results you don't
14260 # want to keep, you may remove or edit it.
14262 # config.status only pays attention to the cache file if you give it
14263 # the --recheck option to rerun configure.
14265 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14266 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14267 # following values.
14271 # The following way of writing the cache mishandles newlines in values,
14272 # but we know of no workaround that is simple, portable, and efficient.
14273 # So, we kill variables containing newlines.
14274 # Ultrix sh set writes to stderr and can't be redirected directly,
14275 # and sets the high bit in the cache file unless we assign to the vars.
14277 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14278 eval ac_val=\$$ac_var
14282 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14283 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14286 _ | IFS | as_nl) ;; #(
14287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14288 *) { eval $ac_var=; unset $ac_var;} ;;
14294 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14295 *${as_nl}ac_space=\ *)
14296 # `set' does not quote correctly, so add quotes: double-quote
14297 # substitution turns \\\\ into \\, and sed turns \\ into \.
14300 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14303 # `set' quotes correctly as required by POSIX, so do not add quotes.
14304 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14313 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14315 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14317 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14318 if test -w "$cache_file"; then
14319 test "x
$cache_file" != "x
/dev
/null
" &&
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14321 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14322 cat confcache >$cache_file
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14325 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14330 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14331 # Let make expand exec_prefix.
14332 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14334 # Transform confdefs.h into DEFS.
14335 # Protect against shell expansion while executing Makefile rules.
14336 # Protect against Makefile macro expansion.
14338 # If the first sed substitution is executed (which looks for macros that
14339 # take arguments), then branch to the quote section. Otherwise,
14340 # look for a macro that doesn't take arguments.
14350 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14352 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14356 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14369 DEFS=`sed -n "$ac_script" confdefs.h`
14374 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14375 # 1. Remove the extension, and $U if already installed.
14376 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14377 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14378 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14379 # will be set to the directory where LIBOBJS objects are built.
14380 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14381 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14383 LIBOBJS=$ac_libobjs
14385 LTLIBOBJS=$ac_ltlibobjs
14389 : ${CONFIG_STATUS=./config.status}
14391 ac_clean_files_save=$ac_clean_files
14392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14394 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14396 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14398 # Generated by $as_me.
14399 # Run this file to recreate the current configuration.
14400 # Compiler output produced by configure, useful for debugging
14401 # configure, is in config.log if it exists.
14404 ac_cs_recheck=false
14407 SHELL=\${CONFIG_SHELL-$SHELL}
14410 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14411 ## -------------------- ##
14412 ## M4sh Initialization. ##
14413 ## -------------------- ##
14415 # Be more Bourne compatible
14416 DUALCASE=1; export DUALCASE # for MKS sh
14417 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14420 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14421 # is contrary to our usage. Disable this feature.
14422 alias -g '${1+"$@"}'='"$@"'
14423 setopt NO_GLOB_SUBST
14425 case `(set -o) 2>/dev/null` in #(
14437 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14438 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14439 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14440 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14441 # Prefer a ksh shell builtin over an external printf program on Solaris,
14442 # but without wasting forks for bash or zsh.
14443 if test -z "$BASH_VERSION$ZSH_VERSION" \
14444 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14445 as_echo
='print -r --'
14446 as_echo_n
='print -rn --'
14447 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14448 as_echo
='printf %s\n'
14449 as_echo_n
='printf %s'
14451 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14452 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14453 as_echo_n
='/usr/ucb/echo -n'
14455 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14456 as_echo_n_body
='eval
14460 expr "X$arg" : "X\\(.*\\)$as_nl";
14461 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14463 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14465 export as_echo_n_body
14466 as_echo_n
='sh -c $as_echo_n_body as_echo'
14468 export as_echo_body
14469 as_echo
='sh -c $as_echo_body as_echo'
14472 # The user is always right.
14473 if test "${PATH_SEPARATOR+set}" != set; then
14475 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14476 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14483 # We need space, tab and new line, in precisely that order. Quoting is
14484 # there to prevent editors from complaining about space-tab.
14485 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14486 # splitting by setting IFS to empty value.)
14489 # Find who we are. Look in the path if we contain no directory separator.
14491 *[\\/]* ) as_myself
=$0 ;;
14492 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14493 for as_dir
in $PATH
14496 test -z "$as_dir" && as_dir
=.
14497 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14503 # We did not find ourselves, most probably we were run as `sh COMMAND'
14504 # in which case we are not to be found in the path.
14505 if test "x$as_myself" = x
; then
14508 if test ! -f "$as_myself"; then
14509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14513 # Unset variables that we do not need and which cause bugs (e.g. in
14514 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14515 # suppresses any "Segmentation fault" message there. '((' could
14516 # trigger a bug in pdksh 5.2.14.
14517 for as_var
in BASH_ENV ENV MAIL MAILPATH
14518 do eval test x\
${$as_var+set} = xset \
14519 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14532 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14535 # as_fn_error ERROR [LINENO LOG_FD]
14536 # ---------------------------------
14537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14539 # script with status $?, using 1 if that was 0.
14542 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14544 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14545 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14547 $as_echo "$as_me: error: $1" >&2
14548 as_fn_exit
$as_status
14552 # as_fn_set_status STATUS
14553 # -----------------------
14554 # Set $? to STATUS, without forking.
14555 as_fn_set_status
()
14558 } # as_fn_set_status
14560 # as_fn_exit STATUS
14561 # -----------------
14562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14566 as_fn_set_status
$1
14572 # Portably unset VAR.
14575 { eval $1=; unset $1;}
14577 as_unset
=as_fn_unset
14578 # as_fn_append VAR VALUE
14579 # ----------------------
14580 # Append the text in VALUE to the end of the definition contained in VAR. Take
14581 # advantage of any shell optimizations that allow amortized linear growth over
14582 # repeated appends, instead of the typical quadratic growth present in naive
14584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14585 eval 'as_fn_append ()
14596 # as_fn_arith ARG...
14597 # ------------------
14598 # Perform arithmetic evaluation on the ARGs, and store the result in the
14599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14600 # must be portable across $(()) and expr.
14601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14602 eval 'as_fn_arith ()
14609 as_val
=`expr "$@" || test $? -eq 1`
14614 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14615 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14621 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14622 as_basename
=basename
14627 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14633 as_me
=`$as_basename -- "$0" ||
14634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14635 X"$0" : 'X\(//\)$' \| \
14636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14638 sed '/^.*\/\([^/][^/]*\)\/*$/{
14652 # Avoid depending upon Character Ranges.
14653 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14654 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14655 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14656 as_cr_digits
='0123456789'
14657 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14659 ECHO_C
= ECHO_N
= ECHO_T
=
14660 case `echo -n x` in #(((((
14662 case `echo 'xy\c'` in
14663 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14665 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14672 rm -f conf$$ conf$$.exe conf$$.
file
14673 if test -d conf$$.dir
; then
14674 rm -f conf$$.dir
/conf$$.
file
14677 mkdir conf$$.dir
2>/dev
/null
14679 if (echo >conf$$.
file) 2>/dev
/null
; then
14680 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14682 # ... but there are two gotchas:
14683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14685 # In both cases, we have to default to `cp -p'.
14686 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14688 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14696 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14697 rmdir conf$$.dir
2>/dev
/null
14702 # Create "$as_dir" as a directory, including parents if necessary.
14707 -*) as_dir
=.
/$as_dir;;
14709 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14713 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14714 *) as_qdir
=$as_dir;;
14716 as_dirs
="'$as_qdir' $as_dirs"
14717 as_dir
=`$as_dirname -- "$as_dir" ||
14718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14719 X"$as_dir" : 'X\(//\)[^/]' \| \
14720 X"$as_dir" : 'X\(//\)$' \| \
14721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14722 $as_echo X"$as_dir" |
14723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14727 /^X\(\/\/\)[^/].*/{
14740 test -d "$as_dir" && break
14742 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14743 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14747 if mkdir
-p .
2>/dev
/null
; then
14748 as_mkdir_p
='mkdir -p "$as_dir"'
14750 test -d .
/-p && rmdir .
/-p
14754 if test -x / >/dev
/null
2>&1; then
14755 as_test_x
='test -x'
14757 if ls -dL / >/dev
/null
2>&1; then
14764 if test -d "$1"; then
14770 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14771 ???[sx]*):;;*)false;;esac;fi
14775 as_executable_p
=$as_test_x
14777 # Sed expression to map a string onto a valid CPP name.
14778 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14780 # Sed expression to map a string onto a valid variable name.
14781 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14785 ## ----------------------------------- ##
14786 ## Main body of $CONFIG_STATUS script. ##
14787 ## ----------------------------------- ##
14789 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14792 # Save the log message, to keep $0 and so on meaningful, and to
14793 # report actual input values of CONFIG_FILES etc. instead of their
14794 # values after options handling.
14796 This file was extended by $as_me, which was
14797 generated by GNU Autoconf 2.64. Invocation command line was
14799 CONFIG_FILES = $CONFIG_FILES
14800 CONFIG_HEADERS = $CONFIG_HEADERS
14801 CONFIG_LINKS = $CONFIG_LINKS
14802 CONFIG_COMMANDS = $CONFIG_COMMANDS
14805 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14810 case $ac_config_files in *"
14811 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14817 # Files that config.status was made for.
14818 config_files="$ac_config_files"
14822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14824 \`$as_me' instantiates files and other configuration actions
14825 from templates according to the current configuration. Unless the files
14826 and actions are specified as TAGs, all are instantiated by default.
14828 Usage: $0 [OPTION]... [TAG]...
14830 -h, --help print this help, then exit
14831 -V, --version print version number and configuration settings, then exit
14832 -q, --quiet, --silent
14833 do not print progress messages
14834 -d, --debug don't remove temporary files
14835 --recheck update $as_me by reconfiguring in the same conditions
14836 --file=FILE[:TEMPLATE]
14837 instantiate the configuration file FILE
14839 Configuration files:
14842 Report bugs to the package provider."
14845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14848 configured by $0, generated by GNU Autoconf 2.64,
14849 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14851 Copyright (C) 2009 Free Software Foundation, Inc.
14852 This config.status script is free software; the Free Software Foundation
14853 gives unlimited permission to copy, distribute and modify it."
14859 test -n "\$AWK" || AWK=awk
14862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14863 # The default lists apply if the user does not specify any file.
14869 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14870 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14881 # Handling of the options.
14882 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14884 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14885 $as_echo "$ac_cs_version"; exit ;;
14886 --debug |
--debu |
--deb |
--de |
--d |
-d )
14888 --file |
--fil |
--fi |
--f )
14891 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14893 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14894 ac_need_defaults
=false
;;
14895 --he |
--h |
--help |
--hel |
-h )
14896 $as_echo "$ac_cs_usage"; exit ;;
14897 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14898 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14901 # This is an error.
14902 -*) as_fn_error
"unrecognized option: \`$1'
14903 Try \`$0 --help' for more information." ;;
14905 *) as_fn_append ac_config_targets
" $1"
14906 ac_need_defaults
=false
;;
14912 ac_configure_extra_args
=
14914 if $ac_cs_silent; then
14916 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14921 if \$ac_cs_recheck; then
14922 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14924 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14925 CONFIG_SHELL='$SHELL'
14926 export CONFIG_SHELL
14931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14936 ## Running $as_me. ##
14942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14946 extrasub_build="$extrasub_build"
14947 extrasub_host="$extrasub_host"
14948 extrasub_target="$extrasub_target"
14952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14954 # Handling of arguments.
14955 for ac_config_target
in $ac_config_targets
14957 case $ac_config_target in
14958 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14960 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14965 # If the user did not use the arguments to specify the items to instantiate,
14966 # then the envvar interface is used. Set only those that are not.
14967 # We use the long form for the default assignment because of an extremely
14968 # bizarre bug on SunOS 4.1.3.
14969 if $ac_need_defaults; then
14970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14973 # Have a temporary directory for convenience. Make it in the build tree
14974 # simply because there is no reason against having it here, and in addition,
14975 # creating and moving files from /tmp can sometimes cause problems.
14976 # Hook for its removal unless debugging.
14977 # Note that there is a small window in which the directory will not be cleaned:
14978 # after its creation but before its name has been assigned to `$tmp'.
14982 trap 'exit_status=$?
14983 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14985 trap 'as_fn_exit 1' 1 2 13 15
14987 # Create a (secure) tmp directory for tmp files.
14990 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14991 test -n "$tmp" && test -d "$tmp"
14994 tmp
=.
/conf$$
-$RANDOM
14995 (umask 077 && mkdir
"$tmp")
14996 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14998 # Set up the scripts for CONFIG_FILES section.
14999 # No need to generate them if there are no CONFIG_FILES.
15000 # This happens for instance with `./config.status config.h'.
15001 if test -n "$CONFIG_FILES"; then
15003 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15004 ac_cs_awk_getline
=:
15005 ac_cs_awk_pipe_init
=
15006 ac_cs_awk_read_file
='
15007 while ((getline aline < (F[key])) > 0)
15010 ac_cs_awk_pipe_fini
=
15012 ac_cs_awk_getline
=false
15013 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15014 ac_cs_awk_read_file
='
15016 print "cat " F[key] " &&"
15017 '$ac_cs_awk_pipe_init
15018 # The final `:' finishes the AND list.
15019 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15021 ac_cr
=`echo X | tr X '\015'`
15022 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15023 # But we know of no other shell where ac_cr would be empty at this
15024 # point, so we can use a bashism as a fallback.
15025 if test "x$ac_cr" = x
; then
15026 eval ac_cr
=\$
\'\\r
\'
15028 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15029 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15032 ac_cs_awk_cr
=$ac_cr
15035 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15038 # Create commands to substitute file output variables.
15040 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15041 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15042 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15045 } >conf$
$files.sh
&&
15046 . .
/conf$
$files.sh ||
15047 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15048 rm -f conf$
$files.sh
15051 echo "cat >conf$$subs.awk <<_ACEOF" &&
15052 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15054 } >conf$$subs.sh ||
15055 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15056 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15058 for ac_last_try in false false false false false :; do
15059 . ./conf$$subs.sh ||
15060 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15062 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15063 if test $ac_delim_n = $ac_delim_num; then
15065 elif $ac_last_try; then
15066 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15068 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15071 rm -f conf$$subs.sh
15073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15074 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15078 s/^/S["/; s
/!.
*/"]=/
15088 s/\(.\{148\}\).*/\1/
15090 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15095 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15102 s/\(.\{148\}\).*/\1/
15104 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15108 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15113 ' <conf$$subs.awk | sed '
15118 ' >>$CONFIG_STATUS || ac_write_fail=1
15119 rm -f conf$$subs.awk
15120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15122 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15123 for (key in S) S_is_set[key] = 1
15125 \$ac_cs_awk_pipe_init
15129 nfields = split(line, field, "@
")
15131 len = length(field[1])
15132 for (i = 2; i < nfields; i++) {
15134 keylen = length(key)
15135 if (S_is_set[key]) {
15137 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15138 len += length(value) + length(field[++i])
15143 if (nfields == 3 && !substed) {
15145 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15146 \$ac_cs_awk_read_file
15152 \$ac_cs_awk_pipe_fini
15155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15156 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15157 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15160 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15161 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15166 # trailing colons and then remove the whole line if VPATH becomes empty
15167 # (actually we leave an empty line to preserve line numbers).
15168 if test "x
$srcdir" = x.; then
15169 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15170 s/:*\$(srcdir):*/:/
15171 s/:*\${srcdir}:*/:/
15173 s/^\([^=]*=[ ]*\):*/\1/
15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15180 fi # test -n "$CONFIG_FILES"
15183 eval set X " :F
$CONFIG_FILES "
15188 :[FHLC]) ac_mode=$ac_tag; continue;;
15190 case $ac_mode$ac_tag in
15192 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15193 :[FH]-) ac_tag=-:-;;
15194 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15211 -) ac_f="$tmp/stdin";;
15212 *) # Look for the file first in the build tree, then in the source tree
15213 # (if the path is not absolute). The absolute path cannot be DOS-style,
15214 # because $ac_f cannot contain `:'.
15218 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15220 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15222 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15223 as_fn_append ac_file_inputs " '$ac_f'"
15226 # Let's still pretend it is `configure' which instantiates (i.e., don't
15227 # use $as_me), people would be surprised to read:
15228 # /* config.h. Generated by config.status. */
15229 configure_input='Generated from '`
15230 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15232 if test x"$ac_file" != x-; then
15233 configure_input="$ac_file.
$configure_input"
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15235 $as_echo "$as_me: creating
$ac_file" >&6;}
15237 # Neutralize special characters interpreted by sed in replacement strings.
15238 case $configure_input in #(
15239 *\&* | *\|* | *\\* )
15240 ac_sed_conf_input=`$as_echo "$configure_input" |
15241 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15242 *) ac_sed_conf_input=$configure_input;;
15246 *:-:* | *:-) cat >"$tmp/stdin
" \
15247 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15252 ac_dir=`$as_dirname -- "$ac_file" ||
15253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15254 X"$ac_file" : 'X\(//\)[^/]' \| \
15255 X"$ac_file" : 'X\(//\)$' \| \
15256 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15257 $as_echo X"$ac_file" |
15258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15262 /^X\(\/\/\)[^/].*/{
15275 as_dir="$ac_dir"; as_fn_mkdir_p
15279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15281 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15282 # A "..
" for each directory in $ac_dir_suffix.
15283 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15284 case $ac_top_builddir_sub in
15285 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15286 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15289 ac_abs_top_builddir=$ac_pwd
15290 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15291 # for backward compatibility:
15292 ac_top_builddir=$ac_top_build_prefix
15295 .) # We are building in place.
15297 ac_top_srcdir=$ac_top_builddir_sub
15298 ac_abs_top_srcdir=$ac_pwd ;;
15299 [\\/]* | ?:[\\/]* ) # Absolute name.
15300 ac_srcdir=$srcdir$ac_dir_suffix;
15301 ac_top_srcdir=$srcdir
15302 ac_abs_top_srcdir=$srcdir ;;
15303 *) # Relative name.
15304 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15305 ac_top_srcdir=$ac_top_build_prefix$srcdir
15306 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15318 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15319 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15324 # If the template does not know about datarootdir, expand it.
15325 # FIXME: This hack should be removed a few years after 2.60.
15326 ac_datarootdir_hack=; ac_datarootdir_seen=
15337 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15338 *datarootdir*) ac_datarootdir_seen=yes;;
15339 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15341 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15344 ac_datarootdir_hack='
15345 s&@datadir@&$datadir&g
15346 s&@docdir@&$docdir&g
15347 s&@infodir@&$infodir&g
15348 s&@localedir@&$localedir&g
15349 s&@mandir@&$mandir&g
15350 s&\\\${datarootdir}&$datarootdir&g' ;;
15354 # Neutralize VPATH when `$srcdir' = `.'.
15355 # Shell code in configure.ac might set extrasub.
15356 # FIXME: do we really want to maintain this feature?
15357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15358 ac_sed_extra="$ac_vpsub
15361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15363 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15364 s|@configure_input@|
$ac_sed_conf_input|
;t t
15365 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15366 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15367 s
&@srcdir@
&$ac_srcdir&;t t
15368 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15369 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15370 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15371 s
&@builddir@
&$ac_builddir&;t t
15372 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15373 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15374 s
&@INSTALL@
&$ac_INSTALL&;t t
15375 $ac_datarootdir_hack
15377 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15378 if $ac_cs_awk_getline; then
15379 $AWK -f "$tmp/subs.
awk"
15381 $AWK -f "$tmp/subs.
awk" | $SHELL
15383 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15385 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15386 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15387 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15389 which seems to be undefined. Please make sure it is defined." >&5
15390 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15391 which seems to be undefined. Please make sure it is defined." >&2;}
15395 -) cat "$tmp/out" && rm -f "$tmp/out";;
15396 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15398 || as_fn_error "could not create $ac_file" "$LINENO" 5
15406 case $ac_file$ac_mode in
15407 "Makefile":F) sed "$extrasub_build" Makefile |
15408 sed "$extrasub_host" |
15409 sed "$extrasub_target" > mf$$
15410 mv -f mf$$ Makefile ;;
15418 ac_clean_files=$ac_clean_files_save
15420 test $ac_write_fail = 0 ||
15421 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15424 # configure is writing to config.log, and then calls config.status.
15425 # config.status does its own redirection, appending to config.log.
15426 # Unfortunately, on DOS this fails, as config.log is still kept open
15427 # by configure, so config.status won't be able to
write to it
; its
15428 # output is simply discarded. So we exec the FD to /dev/null,
15429 # effectively closing config.log, so it can be properly (re)opened and
15430 # appended to by config.status. When coming back to configure, we
15431 # need to make the FD available again.
15432 if test "$no_create" != yes; then
15434 ac_config_status_args
=
15435 test "$silent" = yes &&
15436 ac_config_status_args
="$ac_config_status_args --quiet"
15438 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15440 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15441 # would make configure fail if this is the last instruction.
15442 $ac_cs_success || as_fn_exit $?
15444 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15446 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}