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 libbacktrace 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 \
2720 target-libbacktrace \
2726 target-libstdc++-v3 \
2729 target-libquadmath \
2730 target-libgfortran \
2737 # these tools are built using the target libraries, and are intended to
2738 # run only in the target environment
2740 # note: any program that *uses* libraries that are in the "target_libraries"
2741 # list belongs in this list.
2743 target_tools
="target-rda"
2745 ################################################################################
2747 ## All tools belong in one of the four categories, and are assigned above
2748 ## We assign ${configdirs} this way to remove all embedded newlines. This
2749 ## is important because configure will choke if they ever get through.
2750 ## ${configdirs} is directories we build using the host tools.
2751 ## ${target_configdirs} is directories we build using the target tools.
2752 configdirs
=`echo ${host_libs} ${host_tools}`
2753 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2754 build_configdirs
=`echo ${build_libs} ${build_tools}`
2758 ################################################################################
2760 srcname
="gnu development package"
2762 # This gets set non-empty for some net releases of packages.
2765 # Define is_cross_compiler to save on calls to 'test'.
2767 if test x
"${host}" = x
"${target}" ; then
2768 is_cross_compiler
=no
2770 is_cross_compiler
=yes
2773 # Find the build and target subdir names.
2775 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2776 # have matching libraries, they should use host libraries: Makefile.tpl
2777 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2778 # However, they still use the build modules, because the corresponding
2779 # host modules (e.g. bison) are only built for the host when bootstrap
2781 # - build_subdir is where we find build modules, and never changes.
2782 # - build_libsubdir is where we find build libraries, and can be overridden.
2784 # Prefix 'build-' so this never conflicts with target_subdir.
2785 build_subdir
="build-${build_noncanonical}"
2787 # Check whether --with-build-libsubdir was given.
2788 if test "${with_build_libsubdir+set}" = set; then :
2789 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2791 build_libsubdir
="$build_subdir"
2794 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2795 if ( test $srcdir = .
&& test -d gcc
) \
2796 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2797 host_subdir
="host-${host_noncanonical}"
2802 target_subdir
=${target_noncanonical}
2804 # Be sure to cover against remnants of an in-tree build.
2805 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2806 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2807 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2810 # Skipdirs are removed silently.
2812 # Noconfigdirs are removed loudly.
2816 # Make sure we don't let GNU ld be added if we didn't want it.
2817 if test x
$with_gnu_ld = xno
; then
2819 noconfigdirs
="$noconfigdirs ld gold"
2823 # Make sure we don't let GNU as be added if we didn't want it.
2824 if test x
$with_gnu_as = xno
; then
2826 noconfigdirs
="$noconfigdirs gas"
2830 # Make sure we don't let ZLIB be added if we didn't want it.
2831 if test x
$with_system_zlib = xyes
; then
2832 use_included_zlib
=no
2833 noconfigdirs
="$noconfigdirs zlib"
2836 # some tools are so dependent upon X11 that if we're not building with X,
2837 # it's not even worth trying to configure, much less build, that tool.
2840 yes |
"") ;; # the default value for this tree is that X11 is available
2842 skipdirs
="${skipdirs} tk itcl libgui"
2843 # We won't be able to build gdbtk without X.
2846 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2849 # Some are only suitable for cross toolchains.
2850 # Remove these if host=target.
2851 cross_only
="target-libgloss target-newlib target-opcodes"
2853 case $is_cross_compiler in
2854 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2857 # If both --with-headers and --with-libs are specified, default to
2859 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2860 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2861 if test x
"${with_newlib}" = x
; then
2866 # Recognize --with-newlib/--without-newlib.
2867 case ${with_newlib} in
2868 no
) skipdirs
="${skipdirs} target-newlib" ;;
2869 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2872 # Handle --enable-gold, --enable-ld.
2873 # --disable-gold [--enable-ld]
2874 # Build only ld. Default option.
2875 # --enable-gold [--enable-ld]
2876 # Build both gold and ld. Install gold as "ld.gold", install ld
2877 # as "ld.bfd" and "ld".
2878 # --enable-gold=default [--enable-ld]
2879 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2880 # install ld as "ld.bfd".
2881 # --enable-gold[=default] --disable-ld
2882 # Build only gold, which is then installed as both "ld.gold" and "ld".
2883 # --enable-gold --enable-ld=default
2884 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2886 # In other words, ld is default
2887 # --enable-gold=default --enable-ld=default
2891 # Check whether --enable-gold was given.
2892 if test "${enable_gold+set}" = set; then :
2893 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2898 case "${ENABLE_GOLD}" in
2900 # Check for ELF target.
2903 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2904 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2905 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2906 |
*-*-solaris2* |
*-*-nto*)
2908 *-*-linux*aout
* |
*-*-linux*oldld
*)
2916 if test "$is_elf" = "yes"; then
2917 # Check for target supported by gold.
2919 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2920 configdirs
="$configdirs gold"
2921 if test x
${ENABLE_GOLD} = xdefault
; then
2932 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2936 # Check whether --enable-ld was given.
2937 if test "${enable_ld+set}" = set; then :
2938 enableval
=$enable_ld; ENABLE_LD
=$enableval
2944 case "${ENABLE_LD}" in
2946 if test x
${default_ld} != x
; then
2947 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2953 if test x
${ENABLE_GOLD} != xyes
; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2955 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2957 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2960 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2964 # Configure extra directories which are host specific
2968 configdirs
="$configdirs libtermcap" ;;
2971 # A target can indicate whether a language isn't supported for some reason.
2972 # Only spaces may be used in this macro; not newlines or tabs.
2973 unsupported_languages
=
2975 # Remove more programs from consideration, based on the host or
2976 # target this usually means that a port of the program doesn't
2980 i
[3456789]86-*-msdosdjgpp*)
2981 noconfigdirs
="$noconfigdirs tcl tk itcl"
2986 # Check whether --enable-libquadmath was given.
2987 if test "${enable_libquadmath+set}" = set; then :
2988 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2990 ENABLE_LIBQUADMATH
=yes
2993 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2994 noconfigdirs
="$noconfigdirs target-libquadmath"
2998 # Check whether --enable-libquadmath-support was given.
2999 if test "${enable_libquadmath_support+set}" = set; then :
3000 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3002 ENABLE_LIBQUADMATH_SUPPORT
=yes
3005 enable_libquadmath_support
=
3006 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3007 enable_libquadmath_support
=no
3011 # Check whether --enable-libada was given.
3012 if test "${enable_libada+set}" = set; then :
3013 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3018 if test "${ENABLE_LIBADA}" != "yes" ; then
3019 noconfigdirs
="$noconfigdirs gnattools"
3022 # Check whether --enable-libssp was given.
3023 if test "${enable_libssp+set}" = set; then :
3024 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3030 # Save it here so that, even in case of --enable-libgcj, if the Java
3031 # front-end isn't enabled, we still get libgcj disabled.
3032 libgcj_saved
=$libgcj
3033 case $enable_libgcj in
3035 # If we reset it here, it won't get added to noconfigdirs in the
3036 # target-specific build rules, so it will be forcibly enabled
3037 # (unless the Java language itself isn't enabled).
3041 # Make sure we get it printed in the list of not supported target libs.
3042 # Don't disable libffi, though, other languages use it.
3043 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3044 # Clear libgcj_saved so that even if java is enabled libffi won't be
3050 # Check whether --enable-static-libjava was given.
3051 if test "${enable_static_libjava+set}" = set; then :
3052 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3054 ENABLE_STATIC_LIBJAVA
=no
3057 enable_static_libjava
=
3058 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3059 enable_static_libjava
=yes
3062 if test x
$enable_static_libjava != xyes
; then
3063 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3067 # Disable libmudflap on some systems.
3068 if test x
$enable_libmudflap = x
; then
3070 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3071 # Enable libmudflap by default in GNU and friends.
3074 # Enable libmudflap by default in FreeBSD.
3077 # Disable it by default everywhere else.
3078 noconfigdirs
="$noconfigdirs target-libmudflap"
3083 # Disable libgomp on non POSIX hosted systems.
3084 if test x
$enable_libgomp = x
; then
3085 # Enable libgomp by default on hosted POSIX systems.
3087 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3089 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3091 *-*-solaris2* |
*-*-hpux11*)
3093 *-*-darwin* |
*-*-aix*)
3096 noconfigdirs
="$noconfigdirs target-libgomp"
3101 # Disable libatomic on unsupported systems.
3102 if test -d ${srcdir}/libatomic
; then
3103 if test x
$enable_libatomic = x
; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3105 $as_echo_n "checking for libatomic support... " >&6; }
3106 if (srcdir
=${srcdir}/libatomic
; \
3107 .
${srcdir}/configure.tgt
; \
3108 test -n "$UNSUPPORTED")
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3112 noconfigdirs
="$noconfigdirs target-libatomic"
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3115 $as_echo "yes" >&6; }
3120 # Disable libitm on unsupported systems.
3121 if test -d ${srcdir}/libitm
; then
3122 if test x
$enable_libitm = x
; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3124 $as_echo_n "checking for libitm support... " >&6; }
3125 if (srcdir
=${srcdir}/libitm
; \
3126 .
${srcdir}/configure.tgt
; \
3127 test -n "$UNSUPPORTED")
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3131 noconfigdirs
="$noconfigdirs target-libitm"
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3134 $as_echo "yes" >&6; }
3139 # Disable libquadmath for some systems.
3141 # libquadmath is unused on AIX and libquadmath build process use of
3142 # LD_LIBRARY_PATH can break AIX bootstrap.
3143 powerpc-
*-aix* | rs6000-
*-aix*)
3144 noconfigdirs
="$noconfigdirs target-libquadmath"
3148 # Disable libssp for some systems.
3151 # No hosted I/O support.
3152 noconfigdirs
="$noconfigdirs target-libssp"
3154 powerpc-
*-aix* | rs6000-
*-aix*)
3155 noconfigdirs
="$noconfigdirs target-libssp"
3158 # libssp uses a misaligned load to trigger a fault, but the RL78
3159 # doesn't fault for those - instead, it gives a build-time error
3160 # for explicit misaligned loads.
3161 noconfigdirs
="$noconfigdirs target-libssp"
3165 # Disable libquadmath for some systems.
3168 noconfigdirs
="$noconfigdirs target-libquadmath"
3172 # Disable libstdc++-v3 for some systems.
3175 # VxWorks uses the Dinkumware C++ library.
3176 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3179 # the C++ libraries don't build on top of CE's C libraries
3180 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3183 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3187 # Disable Fortran for some systems.
3190 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3191 unsupported_languages
="$unsupported_languages fortran"
3195 # Disable Java if libffi is not supported.
3225 powerpc-
*-aix* | rs6000-
*-aix*)
3229 powerpc64-
*-freebsd*)
3233 s390-
*-* | s390x-
*-*)
3235 sh-
*-* | sh
[34]*-*-*)
3237 sh64-
*-* | sh5
*-*-*)
3244 unsupported_languages
="$unsupported_languages java"
3248 # Disable Java, libgcj or related libraries for some systems.
3252 i
[3456789]86-*-darwin*)
3254 x86_64-
*-darwin[912]*)
3257 noconfigdirs
="$noconfigdirs ${libgcj}"
3260 noconfigdirs
="$noconfigdirs ${libgcj}"
3263 noconfigdirs
="$noconfigdirs ${libgcj}"
3266 noconfigdirs
="$noconfigdirs ${libgcj}"
3269 noconfigdirs
="$noconfigdirs ${libgcj}"
3272 noconfigdirs
="$noconfigdirs ${libgcj}"
3275 noconfigdirs
="$noconfigdirs ${libgcj}"
3278 noconfigdirs
="$noconfigdirs ${libgcj}"
3281 noconfigdirs
="$noconfigdirs ${libgcj}"
3284 noconfigdirs
="$noconfigdirs target-boehm-gc"
3286 cris-
*-* | crisv32-
*-*)
3287 unsupported_languages
="$unsupported_languages java"
3291 *) # See PR46792 regarding target-libffi.
3292 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3296 # In this case, it's because the hppa64-linux target is for
3297 # the kernel only at this point and has no libc, and thus no
3298 # headers, crt*.o, etc., all of which are needed by these.
3299 unsupported_languages
="$unsupported_languages java"
3302 noconfigdirs
="$noconfigdirs ${libgcj}"
3307 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3308 # build on HP-UX 10.20.
3309 noconfigdirs
="$noconfigdirs ${libgcj}"
3312 noconfigdirs
="$noconfigdirs ${libgcj}"
3314 i
[3456789]86-w64-mingw*)
3315 noconfigdirs
="$noconfigdirs ${libgcj}"
3317 i
[3456789]86-*-mingw*)
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3321 noconfigdirs
="$noconfigdirs ${libgcj}"
3324 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3327 # copied from rs6000-*-* entry
3328 noconfigdirs
="$noconfigdirs ${libgcj}"
3331 noconfigdirs
="$noconfigdirs ${libgcj}"
3334 noconfigdirs
="$noconfigdirs ${libgcj}"
3338 # Default libgloss CPU subdirectory.
3339 libgloss_dir
="$target_cpu"
3342 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3348 cris-
*-* | crisv32-
*-*)
3357 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3358 libgloss_dir
=m68hc11
3360 m68
*-*-* | fido-
*-*)
3374 # Disable newlib and libgloss for various target OSes.
3377 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3379 i
[3456789]86-*-linux*)
3380 # This section makes it possible to build newlib natively on linux.
3381 # If we are using a cross compiler then don't configure newlib.
3382 if test x
${is_cross_compiler} != xno
; then
3383 noconfigdirs
="$noconfigdirs target-newlib"
3385 noconfigdirs
="$noconfigdirs target-libgloss"
3386 # If we are not using a cross compiler, do configure newlib.
3387 # Note however, that newlib will only be configured in this situation
3388 # if the --with-newlib option has been given, because otherwise
3389 # 'target-newlib' will appear in skipdirs.
3391 i
[3456789]86-*-rdos*)
3392 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3394 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3395 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3398 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3401 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3404 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3407 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3410 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3413 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3415 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3416 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3419 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3422 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3425 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3428 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3431 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3434 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3437 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3445 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3446 noconfigdirs
="$noconfigdirs sim target-rda"
3448 i
[3456789]86-*-darwin*)
3449 noconfigdirs
="$noconfigdirs ld gprof"
3450 noconfigdirs
="$noconfigdirs sim target-rda"
3452 x86_64-
*-darwin[912]*)
3453 noconfigdirs
="$noconfigdirs ld gas gprof"
3454 noconfigdirs
="$noconfigdirs sim target-rda"
3457 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3458 noconfigdirs
="$noconfigdirs sim target-rda"
3463 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3464 && test -f /usr
/local
/include
/gmp.h
; then
3469 # Remove unsupported stuff on all kaOS configurations.
3470 noconfigdirs
="$noconfigdirs target-libgloss"
3477 noconfigdirs
="$noconfigdirs target-libgloss"
3479 # The tpf target doesn't support gdb yet.
3481 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3484 noconfigdirs
="$noconfigdirs target-rda"
3489 # ld works, but does not support shared libraries.
3490 # gas doesn't generate exception information.
3491 noconfigdirs
="$noconfigdirs gas ld"
3494 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3497 # newlib is not 64 bit ready
3498 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3500 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3501 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3504 noconfigdirs
="$noconfigdirs target-libgloss"
3507 noconfigdirs
="$noconfigdirs target-libgloss"
3510 noconfigdirs
="$noconfigdirs ld target-libgloss"
3515 if test x
${with_avrlibc} != xno
; then
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3519 c4x-
*-* | tic4x-
*-*)
3520 noconfigdirs
="$noconfigdirs target-libgloss"
3523 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3526 noconfigdirs
="$noconfigdirs target-libgloss"
3529 noconfigdirs
="$noconfigdirs gdb"
3532 noconfigdirs
="$noconfigdirs gdb"
3535 noconfigdirs
="$noconfigdirs gprof"
3538 noconfigdirs
="$noconfigdirs target-libgloss"
3541 noconfigdirs
="$noconfigdirs target-libgloss"
3543 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3551 hppa
*-*-openbsd* | \
3555 noconfigdirs
="$noconfigdirs ld"
3560 noconfigdirs
="$noconfigdirs ld"
3563 noconfigdirs
="$noconfigdirs gdb"
3566 # No gdb support yet.
3567 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3570 # No ld support yet.
3571 noconfigdirs
="$noconfigdirs libgui itcl ld"
3574 # No ld support yet.
3575 noconfigdirs
="$noconfigdirs libgui itcl ld"
3577 i
[3456789]86-w64-mingw*)
3579 i
[3456789]86-*-mingw*)
3580 target_configdirs
="$target_configdirs target-winsup"
3583 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3584 noconfigdirs
="$noconfigdirs target-libgloss"
3585 # always build newlib if winsup directory is present.
3586 if test -d "$srcdir/winsup/cygwin"; then
3587 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3588 elif test -d "$srcdir/newlib"; then
3589 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3593 noconfigdirs
="$noconfigdirs target-libgloss"
3595 i
[3456789]86-*-sco3.2v5
*)
3596 # The linker does not yet know about weak symbols in COFF,
3597 # and is not configured to handle mixed ELF and COFF.
3598 noconfigdirs
="$noconfigdirs ld target-libgloss"
3600 i
[3456789]86-*-sco*)
3601 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3603 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3604 noconfigdirs
="$noconfigdirs target-libgloss"
3606 i
[3456789]86-*-sysv4*)
3607 noconfigdirs
="$noconfigdirs target-libgloss"
3609 i
[3456789]86-*-beos*)
3610 noconfigdirs
="$noconfigdirs gdb"
3612 i
[3456789]86-*-rdos*)
3613 noconfigdirs
="$noconfigdirs gdb"
3616 noconfigdirs
="$noconfigdirs gdb"
3619 noconfigdirs
="$noconfigdirs sim"
3622 # copied from rs6000-*-* entry
3623 noconfigdirs
="$noconfigdirs gprof"
3625 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3626 target_configdirs
="$target_configdirs target-winsup"
3627 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3628 # always build newlib.
3629 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3631 # This is temporary until we can link against shared libraries
3632 powerpcle-
*-solaris*)
3633 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3636 noconfigdirs
="$noconfigdirs gdb"
3639 noconfigdirs
="$noconfigdirs gprof"
3642 noconfigdirs
="$noconfigdirs gprof"
3645 noconfigdirs
="$noconfigdirs gprof"
3648 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3651 noconfigdirs
="$noconfigdirs gprof"
3653 mips
*-sde-elf* | mips
*-mti-elf*)
3654 if test x
$with_newlib = xyes
; then
3655 noconfigdirs
="$noconfigdirs gprof"
3659 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3662 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3665 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3670 noconfigdirs
="$noconfigdirs gprof"
3677 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3681 if test x
${is_cross_compiler} = xno
; then
3686 noconfigdirs
="$noconfigdirs sim"
3688 tilepro-
*-* | tilegx-
*-*)
3689 noconfigdirs
="$noconfigdirs sim"
3692 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3699 # If we aren't building newlib, then don't build libgloss, since libgloss
3700 # depends upon some newlib header files.
3701 case "${noconfigdirs}" in
3702 *target-libgloss
*) ;;
3703 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3706 # Work in distributions that contain no compiler tools, like Autoconf.
3707 host_makefile_frag
=/dev
/null
3708 if test -d ${srcdir}/config
; then
3710 i
[3456789]86-*-msdosdjgpp*)
3711 host_makefile_frag
="config/mh-djgpp"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3716 $as_echo_n "checking to see if cat works as expected... " >&6; }
3717 echo a
>cygwin-cat-check
3718 if test `cat cygwin-cat-check` = a
; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3721 $as_echo "yes" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3726 as_fn_error
"The cat command does not ignore carriage return characters.
3727 Please either mount the build directory in binary mode or run the following
3728 commands before running any configure script:
3734 host_makefile_frag
="config/mh-cygwin"
3737 host_makefile_frag
="config/mh-mingw"
3740 host_makefile_frag
="config/mh-pa-hpux10"
3743 host_makefile_frag
="config/mh-pa"
3746 host_makefile_frag
="config/mh-pa"
3749 host_makefile_frag
="config/mh-darwin"
3752 host_makefile_frag
="config/mh-ppc-aix"
3755 host_makefile_frag
="config/mh-ppc-aix"
3760 if test "${build}" != "${host}" ; then
3761 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3762 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3763 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3764 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3765 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3766 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3767 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3768 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3769 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3770 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3771 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3772 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3773 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3775 AR_FOR_BUILD
="\$(AR)"
3776 AS_FOR_BUILD
="\$(AS)"
3777 CC_FOR_BUILD
="\$(CC)"
3778 CXX_FOR_BUILD
="\$(CXX)"
3779 GCJ_FOR_BUILD
="\$(GCJ)"
3780 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3781 GOC_FOR_BUILD
="\$(GOC)"
3782 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3783 LD_FOR_BUILD
="\$(LD)"
3784 NM_FOR_BUILD
="\$(NM)"
3785 RANLIB_FOR_BUILD
="\$(RANLIB)"
3786 WINDRES_FOR_BUILD
="\$(WINDRES)"
3787 WINDMC_FOR_BUILD
="\$(WINDMC)"
3791 ac_cpp
='$CPP $CPPFLAGS'
3792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3795 if test -n "$ac_tool_prefix"; then
3796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3797 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC
="$CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$ac_cv_prog_CC"; then
3836 # Extract the first word of "gcc", so it can be a program name with args.
3837 set dummy gcc
; ac_word
=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3841 $as_echo_n "(cached) " >&6
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir
=.
3851 for ac_exec_ext
in '' $ac_executable_extensions; do
3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3853 ac_cv_prog_ac_ct_CC
="gcc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3872 if test "x$ac_ct_CC" = x
; then
3875 case $cross_compiling:$ac_tool_warned in
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned
=yes ;;
3887 if test -z "$CC"; then
3888 if test -n "$ac_tool_prefix"; then
3889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3890 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if test "${ac_cv_prog_CC+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC
="$CC" # Let the user override the test.
3899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir
=.
3904 for ac_exec_ext
in '' $ac_executable_extensions; do
3905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3906 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 if test -n "$CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3919 $as_echo "$CC" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3928 if test -z "$CC"; then
3929 # Extract the first word of "cc", so it can be a program name with args.
3930 set dummy cc
; ac_word
=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_CC+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC
="$CC" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3948 ac_prog_rejected
=yes
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 if test $ac_prog_rejected = yes; then
3960 # We found a bogon in the path, so make sure we never use it.
3961 set dummy
$ac_cv_prog_CC
3963 if test $# != 0; then
3964 # We chose a different compiler from the bogus one.
3965 # However, it has the same basename, so the bogon will be chosen
3966 # first if we set CC to just the basename; use the full file name.
3968 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 for ac_prog
in cl.exe
3988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if test "${ac_cv_prog_CC+set}" = set; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC
="$CC" # Let the user override the test.
3998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir
=.
4003 for ac_exec_ext
in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 if test -n "$CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4018 $as_echo "$CC" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4025 test -n "$CC" && break
4028 if test -z "$CC"; then
4030 for ac_prog
in cl.exe
4032 # Extract the first word of "$ac_prog", so it can be a program name with args.
4033 set dummy
$ac_prog; ac_word
=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir
=.
4047 for ac_exec_ext
in '' $ac_executable_extensions; do
4048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4049 ac_cv_prog_ac_ct_CC
="$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$ac_ct_CC" && break
4072 if test "x$ac_ct_CC" = x
; then
4075 case $cross_compiling:$ac_tool_warned in
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned
=yes ;;
4088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error
"no acceptable C compiler found in \$PATH
4091 See \`config.log' for more details." "$LINENO" 5; }
4093 # Provide some information about the compiler.
4094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4097 for ac_option
in --version -v -V -qversion; do
4098 { { ac_try
="$ac_compiler $ac_option >&5"
4100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4107 if test -s conftest.err; then
4109 ... rest of stderr output deleted ...
4110 10q' conftest.err >conftest.er1
4111 cat conftest.er1 >&5
4112 rm -f conftest.er1 conftest.err
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4129 ac_clean_files_save=$ac_clean_files
4130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4131 # Try to create an executable without -o first, disregard a.out.
4132 # It will help us diagnose broken compilers, and finding out an intuition
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4135 $as_echo_n "checking for C compiler default output file name... " >&6; }
4136 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4138 # The possible output files:
4139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4142 for ac_file in $ac_files
4145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4151 if { { ac_try="$ac_link_default"
4153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4154 *) ac_try_echo
=$ac_try;;
4156 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link_default") 2>&5
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4163 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4164 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4165 # so that the user can short-circuit this test for compilers unknown to
4167 for ac_file
in $ac_files ''
4169 test -f "$ac_file" ||
continue
4171 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4174 # We found the default executable, but exeext='' is most
4178 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182 # We set ac_cv_exeext here because the later test for it is not
4183 # safe: cross compilers may not add the suffix if given an `-o'
4184 # argument, so we may need to know it at that point already.
4185 # Even if this section looks crufty: it has the advantage of
4192 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4198 $as_echo "$ac_file" >&6; }
4199 if test -z "$ac_file"; then :
4200 $as_echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.
$ac_ext >&5
4203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4205 { as_fn_set_status
77
4206 as_fn_error
"C compiler cannot create executables
4207 See \`config.log' for more details." "$LINENO" 5; }; }
4209 ac_exeext
=$ac_cv_exeext
4211 # Check that the compiler produces executables we can run. If not, either
4212 # the compiler is broken, or we cross compile.
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4214 $as_echo_n "checking whether the C compiler works... " >&6; }
4215 # If not cross compiling, check that we can run a simple program.
4216 if test "$cross_compiling" != yes; then
4217 if { ac_try
='./$ac_file'
4218 { { case "(($ac_try" in
4219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_try") 2>&5
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }; }; then
4230 if test "$cross_compiling" = maybe; then
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235 as_fn_error "cannot run C compiled programs.
4236 If you meant to cross compile
, use \
`--host'.
4237 See \`config.log
' for more details." "$LINENO" 5; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4244 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4245 ac_clean_files=$ac_clean_files_save
4246 # Check that the compiler produces executables we can run. If not, either
4247 # the compiler is broken, or we cross compile.
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4249 $as_echo_n "checking whether we are cross compiling... " >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4251 $as_echo "$cross_compiling" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4254 $as_echo_n "checking for suffix of executables... " >&6; }
4255 if { { ac_try="$ac_link"
4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_link") 2>&5
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; then :
4266 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4267 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4268 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4270 for ac_file
in conftest.exe conftest conftest.
*; do
4271 test -f "$ac_file" ||
continue
4273 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4274 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4283 See \`config.log' for more details." "$LINENO" 5; }
4285 rm -f conftest
$ac_cv_exeext
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4287 $as_echo "$ac_cv_exeext" >&6; }
4289 rm -f conftest.
$ac_ext
4290 EXEEXT
=$ac_cv_exeext
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4293 $as_echo_n "checking for suffix of object files... " >&6; }
4294 if test "${ac_cv_objext+set}" = set; then :
4295 $as_echo_n "(cached) " >&6
4297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 rm -f conftest.o conftest.obj
4309 if { { ac_try
="$ac_compile"
4311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4315 $as_echo "$ac_try_echo"; } >&5
4316 (eval "$ac_compile") 2>&5
4318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4319 test $ac_status = 0; }; then :
4320 for ac_file in conftest.o conftest.obj conftest.*; do
4321 test -f "$ac_file" || continue;
4323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4324 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4329 $as_echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error "cannot compute suffix of object files
: cannot compile
4335 See \
`config.log' for more details." "$LINENO" 5; }
4337 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4340 $as_echo "$ac_cv_objext" >&6; }
4341 OBJEXT=$ac_cv_objext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4344 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4345 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4362 if ac_fn_c_try_compile "$LINENO"; then :
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4372 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4373 if test $ac_compiler_gnu = yes; then
4378 ac_test_CFLAGS=${CFLAGS+set}
4379 ac_save_CFLAGS=$CFLAGS
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4381 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4382 if test "${ac_cv_prog_cc_g+set}" = set; then :
4383 $as_echo_n "(cached) " >&6
4385 ac_save_c_werror_flag=$ac_c_werror_flag
4386 ac_c_werror_flag=yes
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4415 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_c_werror_flag=$ac_save_c_werror_flag
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 ac_c_werror_flag=$ac_save_c_werror_flag
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4442 $as_echo "$ac_cv_prog_cc_g" >&6; }
4443 if test "$ac_test_CFLAGS" = set; then
4444 CFLAGS=$ac_save_CFLAGS
4445 elif test $ac_cv_prog_cc_g = yes; then
4446 if test "$GCC" = yes; then
4452 if test "$GCC" = yes; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4459 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4460 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4461 $as_echo_n "(cached) " >&6
4463 ac_cv_prog_cc_c89=no
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 #include <sys/types.h>
4470 #include <sys/stat.h>
4471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4472 struct buf { int x; };
4473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4474 static char *e (p, i)
4480 static char *f (char * (*g) (char **, int), char **p, ...)
4485 s = g (p, va_arg (v,int));
4490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4491 function prototypes and stuff, but not '\xHH' hex character constants.
4492 These don't provoke an error unfortunately, instead are silently treated
4493 as 'x'. The following induces an error, until -std is added to get
4494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4495 array size at least. It's necessary to write '\x00'==0 to get something
4496 that's true only with -std. */
4497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4499 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4500 inside strings and character constants. */
4502 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4504 int test (int i, double x);
4505 struct s1 {int (*f) (int a);};
4506 struct s2 {int (*f) (double a);};
4507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4518 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4521 CC="$ac_save_CC $ac_arg"
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 ac_cv_prog_cc_c89=$ac_arg
4525 rm -f core conftest.err conftest.$ac_objext
4526 test "x$ac_cv_prog_cc_c89" != "xno" && break
4528 rm -f conftest.$ac_ext
4533 case "x$ac_cv_prog_cc_c89" in
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4536 $as_echo "none needed" >&6; } ;;
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4539 $as_echo "unsupported" >&6; } ;;
4541 CC="$CC $ac_cv_prog_cc_c89"
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4543 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4545 if test "x$ac_cv_prog_cc_c89" != xno; then :
4550 ac_cpp='$CPP $CPPFLAGS'
4551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 ac_cpp='$CXXCPP $CPPFLAGS'
4557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4560 if test -z "$CXX"; then
4561 if test -n "$CCC"; then
4564 if test -n "$ac_tool_prefix"; then
4565 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if test "${ac_cv_prog_CXX+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -n "$CXX"; then
4575 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 if test -n "$CXX"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4597 $as_echo "$CXX" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 test -n "$CXX" && break
4607 if test -z "$CXX"; then
4609 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4611 # Extract the first word of "$ac_prog", so it can be a program name with args.
4612 set dummy $ac_prog; ac_word=$2
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -n "$ac_ct_CXX"; then
4619 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_prog_ac_ct_CXX="$ac_prog"
4629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4639 if test -n "$ac_ct_CXX"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4641 $as_echo "$ac_ct_CXX" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4648 test -n "$ac_ct_CXX" && break
4651 if test "x$ac_ct_CXX" = x; then
4654 case $cross_compiling:$ac_tool_warned in
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4658 ac_tool_warned=yes ;;
4666 # Provide some information about the compiler.
4667 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4670 for ac_option in --version -v -V -qversion; do
4671 { { ac_try="$ac_compiler $ac_option >&5"
4673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4674 *) ac_try_echo
=$ac_try;;
4676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4677 $as_echo "$ac_try_echo"; } >&5
4678 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4680 if test -s conftest.err
; then
4682 ... rest of stderr output deleted ...
4683 10q' conftest.err
>conftest.er1
4684 cat conftest.er1
>&5
4685 rm -f conftest.er1 conftest.err
4687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4688 test $ac_status = 0; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4692 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4693 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4710 if ac_fn_cxx_try_compile
"$LINENO"; then :
4715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4716 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4720 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4721 if test $ac_compiler_gnu = yes; then
4726 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4727 ac_save_CXXFLAGS
=$CXXFLAGS
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4729 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4730 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4733 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4734 ac_cxx_werror_flag
=yes
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4748 if ac_fn_cxx_try_compile
"$LINENO"; then :
4749 ac_cv_prog_cxx_g
=yes
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4763 if ac_fn_cxx_try_compile
"$LINENO"; then :
4766 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4779 if ac_fn_cxx_try_compile
"$LINENO"; then :
4780 ac_cv_prog_cxx_g
=yes
4782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4790 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4791 if test "$ac_test_CXXFLAGS" = set; then
4792 CXXFLAGS
=$ac_save_CXXFLAGS
4793 elif test $ac_cv_prog_cxx_g = yes; then
4794 if test "$GXX" = yes; then
4800 if test "$GXX" = yes; then
4807 ac_cpp
='$CPP $CPPFLAGS'
4808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4813 # We must set the default linker to the linker used by gcc for the correct
4814 # operation of libtool. If LD is not defined and we are using gcc, try to
4815 # set the LD default to the ld used by gcc.
4816 if test -z "$LD"; then
4817 if test "$GCC" = yes; then
4820 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4822 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4824 case $gcc_prog_ld in
4825 # Accept absolute paths.
4826 [\\/]* |
[A-Za-z
]:[\\/]*)
4827 LD
="$gcc_prog_ld" ;;
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4837 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$GNATBIND"; then
4844 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 GNATBIND
=$ac_cv_prog_GNATBIND
4864 if test -n "$GNATBIND"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4866 $as_echo "$GNATBIND" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 if test -z "$ac_cv_prog_GNATBIND"; then
4875 ac_ct_GNATBIND
=$GNATBIND
4876 # Extract the first word of "gnatbind", so it can be a program name with args.
4877 set dummy gnatbind
; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$ac_ct_GNATBIND"; then
4884 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4904 if test -n "$ac_ct_GNATBIND"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4906 $as_echo "$ac_ct_GNATBIND" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_ct_GNATBIND" = x
; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned
=yes ;;
4921 GNATBIND
=$ac_ct_GNATBIND
4924 GNATBIND
="$ac_cv_prog_GNATBIND"
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4929 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$GNATMAKE"; then
4936 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir
=.
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 GNATMAKE
=$ac_cv_prog_GNATMAKE
4956 if test -n "$GNATMAKE"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4958 $as_echo "$GNATMAKE" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4966 if test -z "$ac_cv_prog_GNATMAKE"; then
4967 ac_ct_GNATMAKE
=$GNATMAKE
4968 # Extract the first word of "gnatmake", so it can be a program name with args.
4969 set dummy gnatmake
; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$ac_ct_GNATMAKE"; then
4976 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4996 if test -n "$ac_ct_GNATMAKE"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4998 $as_echo "$ac_ct_GNATMAKE" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5004 if test "x$ac_ct_GNATMAKE" = x
; then
5007 case $cross_compiling:$ac_tool_warned in
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 ac_tool_warned
=yes ;;
5013 GNATMAKE
=$ac_ct_GNATMAKE
5016 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5020 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5021 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 cat >conftest.adb
<<EOF
5025 procedure conftest is begin null; end conftest;
5027 acx_cv_cc_gcc_supports_ada
=no
5028 # There is a bug in old released versions of GCC which causes the
5029 # driver to exit successfully when the appropriate language module
5030 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5031 # Therefore we must check for the error message as well as an
5032 # unsuccessful exit.
5033 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5034 # given a .adb file, but produce no object file. So we must check
5035 # if an object file was really produced to guard against this.
5036 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5037 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5038 acx_cv_cc_gcc_supports_ada
=yes
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5043 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5045 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5052 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5053 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5058 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5059 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5060 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5063 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5066 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5067 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5070 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5077 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5078 do_compare
="$gcc_cv_prog_cmp_skip"
5082 # Check whether --enable-bootstrap was given.
5083 if test "${enable_bootstrap+set}" = set; then :
5084 enableval
=$enable_bootstrap;
5086 enable_bootstrap
=default
5090 # Issue errors and warnings for invalid/strange bootstrap combinations.
5091 if test -r $srcdir/gcc
/configure
; then
5097 case "$have_compiler:$host:$target:$enable_bootstrap" in
5100 # Default behavior. Enable bootstrap if we have a compiler
5101 # and we are in a native configuration.
5102 yes:$build:$build:default
)
5103 enable_bootstrap
=yes ;;
5106 enable_bootstrap
=no
;;
5108 # We have a compiler and we are in a native configuration, bootstrap is ok
5109 yes:$build:$build:yes)
5112 # Other configurations, but we have a compiler. Assume the user knows
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5116 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5119 # No compiler: if they passed --enable-bootstrap explicitly, fail
5121 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5123 # Fail if wrong command line
5125 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5129 # Used for setting $lt_cv_objdir
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5131 $as_echo_n "checking for objdir... " >&6; }
5132 if test "${lt_cv_objdir+set}" = set; then :
5133 $as_echo_n "(cached) " >&6
5135 rm -f .libs
2>/dev
/null
5136 mkdir .libs
2>/dev
/null
5137 if test -d .libs
; then
5140 # MS-DOS does not allow filenames that begin with a dot.
5143 rmdir .libs
2>/dev
/null
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5146 $as_echo "$lt_cv_objdir" >&6; }
5147 objdir
=$lt_cv_objdir
5153 cat >>confdefs.h
<<_ACEOF
5154 #define LT_OBJDIR "$lt_cv_objdir/"
5159 # Check for GMP, MPFR and MPC
5160 gmplibs
="-lmpc -lmpfr -lgmp"
5164 # Specify a location for mpc
5165 # check for this first so it ends up on the link line before mpfr.
5167 # Check whether --with-mpc was given.
5168 if test "${with_mpc+set}" = set; then :
5173 # Check whether --with-mpc-include was given.
5174 if test "${with_mpc_include+set}" = set; then :
5175 withval
=$with_mpc_include;
5179 # Check whether --with-mpc-lib was given.
5180 if test "${with_mpc_lib+set}" = set; then :
5181 withval
=$with_mpc_lib;
5185 if test "x$with_mpc" != x
; then
5186 gmplibs
="-L$with_mpc/lib $gmplibs"
5187 gmpinc
="-I$with_mpc/include $gmpinc"
5189 if test "x$with_mpc_include" != x
; then
5190 gmpinc
="-I$with_mpc_include $gmpinc"
5192 if test "x$with_mpc_lib" != x
; then
5193 gmplibs
="-L$with_mpc_lib $gmplibs"
5195 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5196 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5197 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5198 # Do not test the mpc version. Assume that it is sufficient, since
5199 # it is in the source tree, and the library has not been built yet
5200 # but it would be included on the link line in the version check below
5201 # hence making the test fail.
5205 # Specify a location for mpfr
5206 # check for this first so it ends up on the link line before gmp.
5208 # Check whether --with-mpfr-dir was given.
5209 if test "${with_mpfr_dir+set}" = set; then :
5210 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5211 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5216 # Check whether --with-mpfr was given.
5217 if test "${with_mpfr+set}" = set; then :
5222 # Check whether --with-mpfr-include was given.
5223 if test "${with_mpfr_include+set}" = set; then :
5224 withval
=$with_mpfr_include;
5228 # Check whether --with-mpfr-lib was given.
5229 if test "${with_mpfr_lib+set}" = set; then :
5230 withval
=$with_mpfr_lib;
5234 if test "x$with_mpfr" != x
; then
5235 gmplibs
="-L$with_mpfr/lib $gmplibs"
5236 gmpinc
="-I$with_mpfr/include $gmpinc"
5238 if test "x$with_mpfr_include" != x
; then
5239 gmpinc
="-I$with_mpfr_include $gmpinc"
5241 if test "x$with_mpfr_lib" != x
; then
5242 gmplibs
="-L$with_mpfr_lib $gmplibs"
5244 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5245 # MPFR v3.1.0 moved the sources into a src sub-directory.
5246 if test -d ${srcdir}/mpfr
/src
; then
5247 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5248 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5249 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5251 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5252 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5253 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5255 # Do not test the mpfr version. Assume that it is sufficient, since
5256 # it is in the source tree, and the library has not been built yet
5257 # but it would be included on the link line in the version check below
5258 # hence making the test fail.
5262 # Specify a location for gmp
5264 # Check whether --with-gmp-dir was given.
5265 if test "${with_gmp_dir+set}" = set; then :
5266 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5267 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5272 # Check whether --with-gmp was given.
5273 if test "${with_gmp+set}" = set; then :
5278 # Check whether --with-gmp-include was given.
5279 if test "${with_gmp_include+set}" = set; then :
5280 withval
=$with_gmp_include;
5284 # Check whether --with-gmp-lib was given.
5285 if test "${with_gmp_lib+set}" = set; then :
5286 withval
=$with_gmp_lib;
5291 if test "x$with_gmp" != x
; then
5292 gmplibs
="-L$with_gmp/lib $gmplibs"
5293 gmpinc
="-I$with_gmp/include $gmpinc"
5295 if test "x$with_gmp_include" != x
; then
5296 gmpinc
="-I$with_gmp_include $gmpinc"
5298 if test "x$with_gmp_lib" != x
; then
5299 gmplibs
="-L$with_gmp_lib $gmplibs"
5301 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5302 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5303 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5304 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5305 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5306 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5307 # Do not test the gmp version. Assume that it is sufficient, since
5308 # it is in the source tree, and the library has not been built yet
5309 # but it would be included on the link line in the version check below
5310 # hence making the test fail.
5314 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5316 saved_CFLAGS
="$CFLAGS"
5317 CFLAGS
="$CFLAGS $gmpinc"
5318 # Check for the recommended and required versions of GMP.
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5320 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5329 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5330 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5331 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5339 if ac_fn_c_try_compile
"$LINENO"; then :
5340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5347 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5348 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5349 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5357 if ac_fn_c_try_compile
"$LINENO"; then :
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5359 $as_echo "yes" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5362 $as_echo "buggy but acceptable" >&6; }
5364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }; have_gmp
=no
5369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 # If we have GMP, check the MPFR version.
5372 if test x
"$have_gmp" = xyes
; then
5373 # Check for the recommended and required versions of MPFR.
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5375 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5384 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5392 if ac_fn_c_try_compile
"$LINENO"; then :
5393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5401 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5409 if ac_fn_c_try_compile
"$LINENO"; then :
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5411 $as_echo "yes" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5414 $as_echo "buggy but acceptable" >&6; }
5416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }; have_gmp
=no
5421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5424 # Check for the MPC header version.
5425 if test x
"$have_gmp" = xyes
; then
5426 # Check for the recommended and required versions of MPC.
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5428 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5436 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5444 if ac_fn_c_try_compile
"$LINENO"; then :
5445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5452 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5460 if ac_fn_c_try_compile
"$LINENO"; then :
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5465 $as_echo "buggy but acceptable" >&6; }
5467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }; have_gmp
=no
5472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 # Now check the MPFR library.
5476 if test x
"$have_gmp" = xyes
; then
5478 LIBS
="$LIBS $gmplibs"
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5480 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5494 mpfr_atan2 (n, n, x, GMP_RNDN);
5495 mpfr_erfc (n, x, GMP_RNDN);
5496 mpfr_subnormalize (x, t, GMP_RNDN);
5500 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5501 mpc_cosh (c, c, MPC_RNDNN);
5502 mpc_pow (c, c, c, MPC_RNDNN);
5503 mpc_acosh (c, c, MPC_RNDNN);
5510 if ac_fn_c_try_link
"$LINENO"; then :
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5512 $as_echo "yes" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }; have_gmp
=no
5517 rm -f core conftest.err conftest.
$ac_objext \
5518 conftest
$ac_exeext conftest.
$ac_ext
5522 CFLAGS
="$saved_CFLAGS"
5524 # The library versions listed in the error message below should match
5525 # the HARD-minimums enforced above.
5526 if test x
$have_gmp != xyes
; then
5527 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5528 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5529 their locations. Source code for these libraries can be found at
5530 their respective hosting sites as well as at
5531 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5532 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5533 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5534 make sure that you have installed both the libraries and the header
5535 files. They may be located in separate packages." "$LINENO" 5
5539 # Flags needed for both GMP, MPFR and/or MPC.
5547 # Allow host libstdc++ to be specified for static linking with PPL.
5549 # Check whether --with-host-libstdcxx was given.
5550 if test "${with_host_libstdcxx+set}" = set; then :
5551 withval
=$with_host_libstdcxx;
5555 case $with_host_libstdcxx in
5557 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5561 # Linker flags to use for stage1 or when not boostrapping.
5563 # Check whether --with-stage1-ldflags was given.
5564 if test "${with_stage1_ldflags+set}" = set; then :
5565 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5568 stage1_ldflags
=$withval
5576 # Libraries to use for stage1 or when not bootstrapping.
5578 # Check whether --with-stage1-libs was given.
5579 if test "${with_stage1_libs+set}" = set; then :
5580 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5583 stage1_libs
=$withval
5586 stage1_libs
=$with_host_libstdcxx
5591 # Libraries to use for stage2 and later builds. This defaults to the
5592 # argument passed to --with-host-libstdcxx.
5594 # Check whether --with-boot-libs was given.
5595 if test "${with_boot_libs+set}" = set; then :
5596 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5599 poststage1_libs
=$withval
5602 poststage1_libs
=$with_host_libstdcxx
5607 # Linker flags to use for stage2 and later builds.
5609 # Check whether --with-boot-ldflags was given.
5610 if test "${with_boot_ldflags+set}" = set; then :
5611 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5614 poststage1_ldflags
=$withval
5618 # In stages 2 and 3, default to linking libstdc++ and libgcc
5619 # statically. But if the user explicitly specified the libraries to
5620 # use, trust that they are doing what they want.
5621 if test "$poststage1_libs" = ""; then
5622 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5628 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5629 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5633 # Check whether --with-cloog was given.
5634 if test "${with_cloog+set}" = set; then :
5635 withval
=$with_cloog;
5639 # Check whether --with-isl was given.
5640 if test "${with_isl+set}" = set; then :
5645 # Treat either --without-cloog or --without-isl as a request to disable
5646 # GRAPHITE support and skip all following checks.
5647 if test "x$with_isl" != "xno" &&
5648 test "x$with_cloog" != "xno"; then
5652 # Check whether --with-isl-include was given.
5653 if test "${with_isl_include+set}" = set; then :
5654 withval
=$with_isl_include;
5658 # Check whether --with-isl-lib was given.
5659 if test "${with_isl_lib+set}" = set; then :
5660 withval
=$with_isl_lib;
5664 # Check whether --enable-isl-version-check was given.
5665 if test "${enable_isl_version_check+set}" = set; then :
5666 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5668 ENABLE_ISL_CHECK
=yes
5672 # Initialize isllibs and islinc.
5681 isllibs
="-L$with_isl/lib"
5682 islinc
="-I$with_isl/include"
5685 if test "x${with_isl_include}" != x
; then
5686 islinc
="-I$with_isl_include"
5688 if test "x${with_isl_lib}" != x
; then
5689 isllibs
="-L$with_isl_lib"
5691 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5692 && test -d ${srcdir}/isl
; then
5693 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5694 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5700 if test "${ENABLE_ISL_CHECK}" = yes ; then
5701 _isl_saved_CFLAGS
=$CFLAGS
5702 _isl_saved_LDFLAGS
=$LDFLAGS
5703 _isl_saved_LIBS
=$LIBS
5705 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5706 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5707 LIBS
="${_isl_saved_LIBS} -lisl"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5711 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5712 if test "${gcc_cv_isl+set}" = set; then :
5713 $as_echo_n "(cached) " >&6
5715 if test "$cross_compiling" = yes; then :
5718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5720 #include <isl/version.h>
5725 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5732 if ac_fn_c_try_run
"$LINENO"; then :
5737 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5738 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5743 $as_echo "$gcc_cv_isl" >&6; }
5745 CFLAGS
=$_isl_saved_CFLAGS
5746 LDFLAGS
=$_isl_saved_LDFLAGS
5747 LIBS
=$_isl_saved_LIBS
5755 if test "x${with_isl}" = xno
; then
5756 graphite_requested
=no
5757 elif test "x${with_isl}" != x \
5758 ||
test "x${with_isl_include}" != x \
5759 ||
test "x${with_isl_lib}" != x
; then
5760 graphite_requested
=yes
5762 graphite_requested
=no
5767 if test "${gcc_cv_isl}" = no
; then
5772 if test "${graphite_requested}" = yes \
5773 && test "x${isllibs}" = x \
5774 && test "x${islinc}" = x
; then
5776 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5781 if test "x$gcc_cv_isl" != "xno"; then
5785 # Check whether --with-cloog-include was given.
5786 if test "${with_cloog_include+set}" = set; then :
5787 withval
=$with_cloog_include;
5791 # Check whether --with-cloog-lib was given.
5792 if test "${with_cloog_lib+set}" = set; then :
5793 withval
=$with_cloog_lib;
5797 # Check whether --enable-cloog-version-check was given.
5798 if test "${enable_cloog_version_check+set}" = set; then :
5799 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5801 ENABLE_CLOOG_CHECK
=yes
5805 # Initialize clooglibs and clooginc.
5814 clooglibs
="-L$with_cloog/lib"
5815 clooginc
="-I$with_cloog/include"
5818 if test "x${with_cloog_include}" != x
; then
5819 clooginc
="-I$with_cloog_include"
5821 if test "x${with_cloog_lib}" != x
; then
5822 clooglibs
="-L$with_cloog_lib"
5824 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5825 && test -d ${srcdir}/cloog
; then
5826 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5827 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5830 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5831 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
5837 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5838 _cloog_saved_CFLAGS
=$CFLAGS
5839 _cloog_saved_LDFLAGS
=$LDFLAGS
5841 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5842 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5845 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5846 if test "${gcc_cv_cloog+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5851 #include "cloog/version.h"
5855 #if CLOOG_VERSION_MAJOR != 0 \
5856 || CLOOG_VERSION_MINOR != 17 \
5857 || CLOOG_VERSION_REVISION < 0
5864 if ac_fn_c_try_compile
"$LINENO"; then :
5869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5872 $as_echo "$gcc_cv_cloog" >&6; }
5874 CFLAGS
=$_cloog_saved_CFLAGS
5875 LDFLAGS
=$_cloog_saved_LDFLAGS
5884 if test "x${with_cloog}" = xno
; then
5885 graphite_requested
=no
5886 elif test "x${with_cloog}" != x \
5887 ||
test "x${with_cloog_include}" != x \
5888 ||
test "x${with_cloog_lib}" != x
; then
5889 graphite_requested
=yes
5891 graphite_requested
=no
5896 if test "${gcc_cv_cloog}" = no
; then
5901 if test "${graphite_requested}" = yes \
5902 && test "x${clooglibs}" = x \
5903 && test "x${clooginc}" = x
; then
5905 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5912 # If either the ISL or the CLooG check failed, disable builds of in-tree
5914 if test "x$with_isl" = xno ||
5915 test "x$with_cloog" = xno ||
5916 test "x$gcc_cv_cloog" = xno ||
5917 test "x$gcc_cv_isl" = xno
; then
5918 noconfigdirs
="$noconfigdirs cloog isl"
5929 # Check for LTO support.
5930 # Check whether --enable-lto was given.
5931 if test "${enable_lto+set}" = set; then :
5932 enableval
=$enable_lto; enable_lto
=$enableval
5934 enable_lto
=yes; default_enable_lto
=yes
5943 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5944 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5945 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5953 if test $target_elf = yes; then :
5954 # ELF platforms build the lto-plugin always.
5955 build_lto_plugin
=yes
5958 if test x
"$default_enable_lto" = x
"yes" ; then
5960 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5961 # On other non-ELF platforms, LTO has yet to be validated.
5965 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5966 # It would also be nice to check the binutils support, but we don't
5967 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5968 # warn during gcc/ subconfigure; unless you're bootstrapping with
5969 # -flto it won't be needed until after installation anyway.
5971 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5972 *) if test x
"$enable_lto" = x
"yes"; then
5973 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5978 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5979 # Build it unless LTO was explicitly disabled.
5981 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5989 # By default, C and C++ are the only stage 1 languages.
5990 stage1_languages
=,c
,
5992 # Target libraries that we bootstrap.
5993 bootstrap_target_libs
=,target-libgcc
,
5995 # Figure out what language subdirectories are present.
5996 # Look if the user specified --enable-languages="..."; if not, use
5997 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5999 # NB: embedded tabs in this IF block -- do not untabify
6000 if test -d ${srcdir}/gcc
; then
6001 if test x
"${enable_languages+set}" != xset
; then
6002 if test x
"${LANGUAGES+set}" = xset
; then
6003 enable_languages
="${LANGUAGES}"
6004 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6006 enable_languages
=all
6009 if test x
"${enable_languages}" = x ||
6010 test x
"${enable_languages}" = xyes
;
6012 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6016 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6018 # 'f95' is the old name for the 'fortran' language. We issue a warning
6019 # and make the substitution.
6020 case ,${enable_languages}, in
6022 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6023 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6027 # If bootstrapping, C++ must be enabled.
6028 case ",$enable_languages,:$enable_bootstrap" in
6031 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6032 enable_languages
="${enable_languages},c++"
6034 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6039 # First scan to see if an enabled language requires some other language.
6040 # We assume that a given config-lang.in will list all the language
6041 # front ends it requires, even if some are required indirectly.
6042 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6043 case ${lang_frag} in
6045 # The odd quoting in the next line works around
6046 # an apparent bug in bash 1.12 on linux.
6047 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6049 # From the config-lang.in, get $language, $lang_requires, and
6050 # $lang_requires_boot_languages.
6053 lang_requires_boot_languages
=
6055 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6056 case ,${enable_languages}, in
6060 echo " \`$other' language required by \`$language'; enabling" 1>&2
6061 enable_languages
="${enable_languages},${other}"
6065 for other
in ${lang_requires_boot_languages} ; do
6066 if test "$other" != "c"; then
6067 case ,${enable_stage1_languages}, in
6071 case ,${enable_languages}, in
6073 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6074 enable_stage1_languages
="$enable_stage1_languages,${other}"
6085 new_enable_languages
=,c
,
6087 # If LTO is enabled, add the LTO front end.
6088 extra_host_libiberty_configure_flags
=
6089 if test "$enable_lto" = "yes" ; then
6090 case ,${enable_languages}, in
6092 *) enable_languages
="${enable_languages},lto" ;;
6094 if test "${build_lto_plugin}" = "yes" ; then
6095 configdirs
="$configdirs lto-plugin"
6096 extra_host_libiberty_configure_flags
=--enable-shared
6101 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6102 potential_languages
=,c
,
6104 enabled_target_libs
=
6105 disabled_target_libs
=
6107 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6108 case ${lang_frag} in
6110 # The odd quoting in the next line works around
6111 # an apparent bug in bash 1.12 on linux.
6112 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6114 # From the config-lang.in, get $language, $target_libs,
6115 # $lang_dirs, $boot_language, and $build_by_default
6121 build_by_default
=yes
6123 if test x
${language} = x
; then
6124 echo "${lang_frag} doesn't set \$language." 1>&2
6128 if test "$language" = "c++"; then
6133 case ,${enable_languages}, in
6135 # Language was explicitly selected; include it
6136 # unless it is C, which is enabled by default.
6137 if test "$language" != "c"; then
6142 # 'all' was selected, select it if it is a default language
6143 if test "$language" != "c"; then
6144 add_this_lang
=${build_by_default}
6149 # Disable languages that need other directories if these aren't available.
6150 for i
in $subdir_requires; do
6151 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6152 case ,${enable_languages}, in
6154 # Specifically requested language; tell them.
6155 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6159 add_this_lang
=unsupported
6164 # Disable Ada if no preexisting GNAT is available.
6165 case ,${enable_languages},:${language}:${have_gnat} in
6166 *,${language},*:ada
:no
)
6167 # Specifically requested language; tell them.
6168 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6172 add_this_lang
=unsupported
6176 # Disable a language that is unsupported by the target.
6177 case " $unsupported_languages " in
6179 add_this_lang
=unsupported
6183 case $add_this_lang in
6185 # Remove language-dependent dirs.
6186 disabled_target_libs
="$disabled_target_libs $target_libs"
6187 noconfigdirs
="$noconfigdirs $lang_dirs"
6190 # Remove language-dependent dirs; still show language as supported.
6191 disabled_target_libs
="$disabled_target_libs $target_libs"
6192 noconfigdirs
="$noconfigdirs $lang_dirs"
6193 potential_languages
="${potential_languages}${language},"
6196 new_enable_languages
="${new_enable_languages}${language},"
6197 potential_languages
="${potential_languages}${language},"
6198 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6199 enabled_target_libs
="$enabled_target_libs $target_libs"
6200 case "${boot_language}:,$enable_stage1_languages," in
6201 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6202 # Add to (comma-separated) list of stage 1 languages.
6203 case ",$stage1_languages," in
6204 *,$language,* |
,yes, |
,all
,) ;;
6205 *) stage1_languages
="${stage1_languages}${language}," ;;
6207 # We need to bootstrap any supporting libraries.
6208 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6217 # Add target libraries which are only needed for disabled languages
6219 if test -n "$disabled_target_libs"; then
6220 for dir
in $disabled_target_libs; do
6221 case " $enabled_target_libs " in
6223 *) noconfigdirs
="$noconfigdirs $dir" ;;
6228 # Check whether --enable-stage1-languages was given.
6229 if test "${enable_stage1_languages+set}" = set; then :
6230 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6232 # Set it to something that will have no effect in the loop below
6233 enable_stage1_languages
=c
;;
6235 enable_stage1_languages
=`echo $new_enable_languages | \
6236 sed -e "s/^,//" -e "s/,$//" ` ;;
6238 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6239 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6242 # Add "good" languages from enable_stage1_languages to stage1_languages,
6243 # while "bad" languages go in missing_languages. Leave no duplicates.
6244 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6245 case $potential_languages in
6247 case $stage1_languages in
6249 *) stage1_languages
="$stage1_languages$i," ;;
6252 case $missing_languages in
6254 *) missing_languages
="$missing_languages$i," ;;
6261 # Remove leading/trailing commas that were added for simplicity
6262 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6263 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6264 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6265 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6267 if test "x$missing_languages" != x
; then
6269 The following requested languages could not be built: ${missing_languages}
6270 Supported languages are: ${potential_languages}" "$LINENO" 5
6272 if test "x$new_enable_languages" != "x$enable_languages"; then
6273 echo The following languages will be built
: ${new_enable_languages}
6274 enable_languages
="$new_enable_languages"
6278 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6281 # Handle --disable-<component> generically.
6282 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6283 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6284 varname
=`echo $dirname | sed -e s/+/_/g`
6285 if eval test x\
${enable_${varname}} "=" xno
; then
6286 noconfigdirs
="$noconfigdirs $dir"
6290 # Check for Boehm's garbage collector
6291 # Check whether --enable-objc-gc was given.
6292 if test "${enable_objc_gc+set}" = set; then :
6293 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6294 *,objc
,*:*:yes:*target-boehm-gc
*)
6295 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6301 # Make sure we only build Boehm's garbage collector if required.
6302 case ,${enable_languages},:${enable_objc_gc} in
6304 # Keep target-boehm-gc if requested for Objective-C.
6307 # Otherwise remove target-boehm-gc depending on target-libjava.
6308 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6309 noconfigdirs
="$noconfigdirs target-boehm-gc"
6314 # Disable libitm if we're not building C++
6315 case ,${enable_languages}, in
6318 noconfigdirs
="$noconfigdirs target-libitm"
6322 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6323 # $build_configdirs and $target_configdirs.
6324 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6327 for dir
in .
$skipdirs $noconfigdirs ; do
6328 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6329 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6330 configdirs
=`echo " ${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 " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6340 build_configdirs
=`echo " ${build_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"
6349 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6350 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6351 if test -r $srcdir/$dirname/configure
; then
6352 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6355 notsupp
="$notsupp $dir"
6361 # Quietly strip out all directories which aren't configurable in this tree.
6362 # This relies on all configurable subdirectories being autoconfiscated, which
6364 build_configdirs_all
="$build_configdirs"
6366 for i
in ${build_configdirs_all} ; do
6367 j
=`echo $i | sed -e s/build-//g`
6368 if test -f ${srcdir}/$j/configure
; then
6369 build_configdirs
="${build_configdirs} $i"
6373 configdirs_all
="$configdirs"
6375 for i
in ${configdirs_all} ; do
6376 if test -f ${srcdir}/$i/configure
; then
6377 configdirs
="${configdirs} $i"
6381 target_configdirs_all
="$target_configdirs"
6383 for i
in ${target_configdirs_all} ; do
6384 j
=`echo $i | sed -e s/target-//g`
6385 if test -f ${srcdir}/$j/configure
; then
6386 target_configdirs
="${target_configdirs} $i"
6390 # Produce a warning message for the subdirs we can't configure.
6391 # This isn't especially interesting in the Cygnus tree, but in the individual
6392 # FSF releases, it's important to let people know when their machine isn't
6393 # supported by the one or two programs in a package.
6395 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6396 # If $appdirs is non-empty, at least one of those directories must still
6397 # be configured, or we error out. (E.g., if the gas release supports a
6398 # specified target in some subdirs but not the gas subdir, we shouldn't
6399 # pretend that all is well.)
6400 if test -n "$appdirs" ; then
6401 for dir
in $appdirs ; do
6402 if test -r $dir/Makefile.
in ; then
6403 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6407 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6413 if test -n "$appdirs" ; then
6414 echo "*** This configuration is not supported by this package." 1>&2
6418 # Okay, some application will build, or we don't care to check. Still
6419 # notify of subdirs not getting built.
6420 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6421 echo " ${notsupp}" 1>&2
6422 echo " (Any other directories should still work fine.)" 1>&2
6430 # To find our prefix, in gcc_cv_tool_prefix.
6432 # The user is always right.
6433 if test "${PATH_SEPARATOR+set}" != set; then
6434 echo "#! /bin/sh" >conf$$.sh
6435 echo "exit 0" >>conf$$.sh
6437 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6447 if test "x$exec_prefix" = xNONE
; then
6448 if test "x$prefix" = xNONE
; then
6449 gcc_cv_tool_prefix
=$ac_default_prefix
6451 gcc_cv_tool_prefix
=$prefix
6454 gcc_cv_tool_prefix
=$exec_prefix
6457 # If there is no compiler in the tree, use the PATH only. In any
6458 # case, if there is no compiler in the tree nobody should use
6459 # AS_FOR_TARGET and LD_FOR_TARGET.
6460 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6461 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6462 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6463 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6464 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6465 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6466 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6467 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6472 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6473 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6481 # Check whether --with-build-sysroot was given.
6482 if test "${with_build_sysroot+set}" = set; then :
6483 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6484 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6487 SYSROOT_CFLAGS_FOR_TARGET
=
6493 # Check whether --with-debug-prefix-map was given.
6494 if test "${with_debug_prefix_map+set}" = set; then :
6495 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6496 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6497 for debug_map
in $withval; do
6498 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6502 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6507 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6508 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6509 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6510 # We want to ensure that TARGET libraries (which we know are built with
6511 # gcc) are built with "-O2 -g", so include those options when setting
6512 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6513 if test "x$CFLAGS_FOR_TARGET" = x
; then
6514 CFLAGS_FOR_TARGET
=$CFLAGS
6517 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6520 *" -g "* |
*" -g3 "*) ;;
6521 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6526 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6527 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6528 case " $CXXFLAGS " in
6530 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6532 case " $CXXFLAGS " in
6533 *" -g "* |
*" -g3 "*) ;;
6534 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6541 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6542 # the named directory are copied to $(tooldir)/sys-include.
6543 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6544 if test x
${is_cross_compiler} = xno
; then
6545 echo 1>&2 '***' --with-headers is only supported when cross compiling
6548 if test x
"${with_headers}" != xyes
; then
6549 x
=${gcc_cv_tool_prefix}
6550 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6554 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6555 # the name directories are copied to $(tooldir)/lib. Multiple directories
6557 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6558 if test x
${is_cross_compiler} = xno
; then
6559 echo 1>&2 '***' --with-libs is only supported when cross compiling
6562 if test x
"${with_libs}" != xyes
; then
6563 # Copy the libraries in reverse order, so that files in the first named
6564 # library override files in subsequent libraries.
6565 x
=${gcc_cv_tool_prefix}
6566 for l
in ${with_libs}; do
6567 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6572 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6574 # This is done by determining whether or not the appropriate directory
6575 # is available, and by checking whether or not specific configurations
6576 # have requested that this magic not happen.
6578 # The command line options always override the explicit settings in
6579 # configure.in, and the settings in configure.in override this magic.
6581 # If the default for a toolchain is to use GNU as and ld, and you don't
6582 # want to do that, then you should use the --without-gnu-as and
6583 # --without-gnu-ld options for the configure script. Similarly, if
6584 # the default is to use the included zlib and you don't want to do that,
6585 # you should use the --with-system-zlib option for the configure script.
6587 if test x
${use_gnu_as} = x
&&
6588 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6590 extra_host_args
="$extra_host_args --with-gnu-as"
6593 if test x
${use_gnu_ld} = x
&&
6594 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6596 extra_host_args
="$extra_host_args --with-gnu-ld"
6599 if test x
${use_included_zlib} = x
&&
6600 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6603 with_system_zlib
=yes
6604 extra_host_args
="$extra_host_args --with-system-zlib"
6607 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6608 # can detect this case.
6610 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6612 extra_host_args
="$extra_host_args --with-newlib"
6615 # Handle ${copy_dirs}
6616 set fnord
${copy_dirs}
6618 while test $# != 0 ; do
6619 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6622 echo Copying
$1 to
$2
6624 # Use the install script to create the directory and all required
6625 # parent directories.
6626 if test -d $2 ; then
6630 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6633 # Copy the directory, assuming we have tar.
6634 # FIXME: Should we use B in the second tar? Not all systems support it.
6635 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6637 # It is the responsibility of the user to correctly adjust all
6638 # symlinks. If somebody can figure out how to handle them correctly
6639 # here, feel free to add the code.
6646 # Determine a target-dependent exec_prefix that the installed
6647 # gcc will search in. Keep this list sorted by triplet, with
6648 # the *-*-osname triplets last.
6651 i
[34567]86-pc-msdosdjgpp*)
6652 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6657 md_exec_prefix
=/usr
/ccs
/bin
6661 extra_arflags_for_target
=
6662 extra_nmflags_for_target
=
6663 extra_ranlibflags_for_target
=
6664 target_makefile_frag
=/dev
/null
6667 target_makefile_frag
="config/mt-spu"
6669 mips
*-sde-elf* | mips
*-mti-elf*)
6670 target_makefile_frag
="config/mt-sde"
6672 mipsisa
*-*-elfoabi*)
6673 target_makefile_frag
="config/mt-mips-elfoabi"
6675 mips
*-*-*linux
* | mips
*-*-gnu*)
6676 target_makefile_frag
="config/mt-mips-gnu"
6678 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6679 target_makefile_frag
="config/mt-gnu"
6681 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6682 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6683 # commands to handle both 32-bit and 64-bit objects. These flags are
6684 # harmless if we're using GNU nm or ar.
6685 extra_arflags_for_target
=" -X32_64"
6686 extra_nmflags_for_target
=" -B -X32_64"
6690 alphaieee_frag
=/dev
/null
6693 # This just makes sure to use the -mieee option to build target libs.
6694 # This should probably be set individually by each library.
6695 alphaieee_frag
="config/mt-alphaieee"
6699 # If --enable-target-optspace always use -Os instead of -O2 to build
6700 # the target libraries, similarly if it is not specified, use -Os
6701 # on selected platforms.
6702 ospace_frag
=/dev
/null
6703 case "${enable_target_optspace}:${target}" in
6705 ospace_frag
="config/mt-ospace"
6708 ospace_frag
="config/mt-d30v"
6710 :m32r-
* |
:d10v-
* |
:fr30-
*)
6711 ospace_frag
="config/mt-ospace"
6716 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6720 # Some systems (e.g., one of the i386-aix systems the gas testers are
6721 # using) don't handle "\$" correctly, so don't use it here.
6722 tooldir
='${exec_prefix}'/${target_noncanonical}
6723 build_tooldir
=${tooldir}
6725 # Create a .gdbinit file which runs the one in srcdir
6726 # and tells GDB to look there for source files.
6728 if test -r ${srcdir}/.gdbinit
; then
6731 *) cat > .
/.gdbinit
<<EOF
6735 source ${srcdir}/.gdbinit
6741 # Make sure that the compiler is able to generate an executable. If it
6742 # can't, we are probably in trouble. We don't care whether we can run the
6743 # executable--we might be using a cross compiler--we only care whether it
6744 # can be created. At this point the main configure script has set CC.
6746 echo "int main () { return 0; }" > conftest.c
6747 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6748 if test $?
= 0 ; then
6749 if test -s conftest ||
test -s conftest.exe
; then
6755 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6756 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6763 # Decide which environment variable is used to find dynamic libraries.
6765 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6766 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6767 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6768 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6771 # On systems where the dynamic library environment variable is PATH,
6772 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6773 # built executables to PATH.
6774 if test "$RPATH_ENVVAR" = PATH
; then
6775 GCC_SHLIB_SUBDIR
=/shlib
6780 # Record target_configdirs and the configure arguments for target and
6781 # build configuration in Makefile.
6782 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6783 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6785 # If we are building libgomp, bootstrap it.
6786 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6787 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6790 # Determine whether gdb needs tk/tcl or not.
6791 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6792 # and in that case we want gdb to be built without tk. Ugh!
6793 # In fact I believe gdb is the *only* package directly dependent on tk,
6794 # so we should be able to put the 'maybe's in unconditionally and
6795 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6796 # 100% sure that that's safe though.
6798 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6799 case "$enable_gdbtk" in
6803 GDB_TK
="${gdb_tk}" ;;
6805 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6806 # distro. Eventually someone will fix this and move Insight, nee
6807 # gdbtk to a separate directory.
6808 if test -d ${srcdir}/gdb
/gdbtk
; then
6815 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6816 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6818 # Strip out unwanted targets.
6820 # While at that, we remove Makefiles if we were started for recursive
6821 # configuration, so that the top-level Makefile reconfigures them,
6822 # like we used to do when configure itself was recursive.
6824 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6825 # but now we're fixing up the Makefile ourselves with the additional
6826 # commands passed to AC_CONFIG_FILES. Use separate variables
6827 # extrasub-{build,host,target} not because there is any reason to split
6828 # the substitutions up that way, but only to remain below the limit of
6829 # 99 commands in a script, for HP-UX sed.
6830 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6832 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6833 yes:yes:*\ gold\
*:*,c
++,*) ;;
6834 yes:yes:*\ gold\
*:*)
6835 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6839 # Adjust the toplevel makefile according to whether bootstrap was selected.
6840 case $enable_bootstrap in
6842 bootstrap_suffix
=bootstrap
6843 BUILD_CONFIG
=bootstrap-debug
6846 bootstrap_suffix
=no-bootstrap
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6852 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6855 # Check whether --with-build-config was given.
6856 if test "${with_build_config+set}" = set; then :
6857 withval
=$with_build_config; case $with_build_config in
6858 yes) with_build_config
= ;;
6859 no
) with_build_config
= BUILD_CONFIG
= ;;
6864 if test "x${with_build_config}" != x
; then
6865 BUILD_CONFIG
=$with_build_config
6867 case $BUILD_CONFIG in
6869 if echo "int f (void) { return 0; }" > conftest.c
&&
6870 ${CC} -c conftest.c
&&
6871 mv conftest.o conftest.o.g0
&&
6872 ${CC} -c -g conftest.c
&&
6873 mv conftest.o conftest.o.g
&&
6874 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6879 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6884 $as_echo "$BUILD_CONFIG" >&6; }
6888 for module
in ${build_configdirs} ; do
6889 if test -z "${no_recursion}" \
6890 && test -f ${build_subdir}/${module}/Makefile
; then
6891 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6892 rm -f ${build_subdir}/${module}/Makefile
6894 extrasub_build
="$extrasub_build
6895 /^@if build-$module\$/d
6896 /^@endif build-$module\$/d
6897 /^@if build-$module-$bootstrap_suffix\$/d
6898 /^@endif build-$module-$bootstrap_suffix\$/d"
6901 for module
in ${configdirs} ; do
6902 if test -z "${no_recursion}"; then
6903 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6904 if test -f ${file}; then
6905 echo 1>&2 "*** removing ${file} to force reconfigure"
6910 extrasub_host
="$extrasub_host
6912 /^@endif $module\$/d
6913 /^@if $module-$bootstrap_suffix\$/d
6914 /^@endif $module-$bootstrap_suffix\$/d"
6917 for module
in ${target_configdirs} ; do
6918 if test -z "${no_recursion}" \
6919 && test -f ${target_subdir}/${module}/Makefile
; then
6920 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6921 rm -f ${target_subdir}/${module}/Makefile
6924 # We only bootstrap target libraries listed in bootstrap_target_libs.
6925 case $bootstrap_target_libs in
6926 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6927 *) target_bootstrap_suffix
=no-bootstrap
;;
6930 extrasub_target
="$extrasub_target
6931 /^@if target-$module\$/d
6932 /^@endif target-$module\$/d
6933 /^@if target-$module-$target_bootstrap_suffix\$/d
6934 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6937 # Do the final fixup along with target modules.
6938 extrasub_target
="$extrasub_target
6939 /^@if /,/^@endif /d"
6941 # Create the serialization dependencies. This uses a temporary file.
6943 # Check whether --enable-serial-configure was given.
6944 if test "${enable_serial_configure+set}" = set; then :
6945 enableval
=$enable_serial_configure;
6949 case ${enable_serial_configure} in
6951 enable_serial_build_configure
=yes
6952 enable_serial_host_configure
=yes
6953 enable_serial_target_configure
=yes
6957 # These force 'configure's to be done one at a time, to avoid problems
6958 # with contention over a shared config.cache.
6960 echo '# serdep.tmp' > serdep.tmp
6962 test "x${enable_serial_build_configure}" = xyes
&&
6963 for item
in ${build_configdirs} ; do
6966 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6971 test "x${enable_serial_host_configure}" = xyes
&&
6972 for item
in ${configdirs} ; do
6975 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6980 test "x${enable_serial_target_configure}" = xyes
&&
6981 for item
in ${target_configdirs} ; do
6984 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6988 serialization_dependencies
=serdep.tmp
6991 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6992 # target, nonopt, and variable assignments. These are the ones we
6993 # might not want to pass down to subconfigures. The exception being
6994 # --cache-file=/dev/null, which is used to turn off the use of cache
6995 # files altogether, and which should be passed on to subconfigures.
6996 # Also strip program-prefix, program-suffix, and program-transform-name,
6997 # so that we can pass down a consistent program-transform-name.
7002 eval "set -- $ac_configure_args"
7005 if test X
"$skip_next" = X
"yes"; then
7009 if test X
"$keep_next" = X
"yes"; then
7012 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7014 baseargs
="$baseargs '$ac_arg'"
7015 tbaseargs
="$tbaseargs '$ac_arg'"
7020 # Handle separated arguments. Based on the logic generated by
7023 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7024 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7025 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7026 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7040 --with-* |
--without-*)
7041 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7045 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7048 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7057 mpc | mpfr | gmp | cloog
)
7058 # If we're processing --with-$lib, --with-$lib-include or
7059 # --with-$lib-lib, for one of the libs above, and target is
7060 # different from host, don't pass the current argument to any
7061 # target library's configure.
7062 if test x
$is_cross_compiler = xyes
; then
7071 --cache-file=/dev
/null | \
7072 -cache-file=/dev
/null
)
7073 # Handled here to avoid the test to skip args below.
7074 baseargs
="$baseargs '$ac_arg'"
7075 tbaseargs
="$tbaseargs '$ac_arg'"
7076 # Assert: $separate_arg should always be no.
7077 keep_next
=$separate_arg
7093 -program-prefix* | \
7094 -program-suffix* | \
7095 -program-transform-name* )
7096 skip_next
=$separate_arg
7100 # An option. Add it.
7103 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7105 baseargs
="$baseargs '$ac_arg'"
7106 if test X
"$skip_targ" = Xno
; then
7107 tbaseargs
="$tbaseargs '$ac_arg'"
7109 keep_next
=$separate_arg
7112 # Either a variable assignment, or a nonopt (triplet). Don't
7113 # pass it down; let the Makefile handle this.
7118 # Remove the initial space we just introduced and, as these will be
7119 # expanded by make, quote '$'.
7120 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7122 # Add in --program-transform-name, after --program-prefix and
7123 # --program-suffix have been applied to it. Autoconf has already
7124 # doubled dollar signs and backslashes in program_transform_name; we want
7125 # the backslashes un-doubled, and then the entire thing wrapped in single
7126 # quotes, because this will be expanded first by make and then by the shell.
7127 # Also, because we want to override the logic in subdir configure scripts to
7128 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7129 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7130 ${program_transform_name}
7132 gcc_transform_name
=`cat conftestsed.out`
7133 rm -f conftestsed.out
7134 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7135 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7136 if test "$silent" = yes; then
7137 baseargs
="$baseargs --silent"
7138 tbaseargs
="$tbaseargs --silent"
7140 baseargs
="$baseargs --disable-option-checking"
7141 tbaseargs
="$tbaseargs --disable-option-checking"
7143 # Record and document user additions to sub configure arguments.
7148 # For the build-side libraries, we just need to pretend we're native,
7149 # and not use the same cache file. Multilibs are neither needed nor
7151 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7153 # For host modules, accept cache file option, or specification as blank.
7154 case "${cache_file}" in
7156 cache_file_option
="" ;;
7157 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7158 cache_file_option
="--cache-file=${cache_file}" ;;
7160 cache_file_option
="--cache-file=../${cache_file}" ;;
7163 # Host dirs don't like to share a cache file either, horribly enough.
7164 # This seems to be due to autoconf 2.5x stupidity.
7165 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7167 target_configargs
="$target_configargs ${tbaseargs}"
7169 # Passing a --with-cross-host argument lets the target libraries know
7170 # whether they are being built with a cross-compiler or being built
7171 # native. However, it would be better to use other mechanisms to make the
7172 # sorts of decisions they want to make on this basis. Please consider
7173 # this option to be deprecated. FIXME.
7174 if test x
${is_cross_compiler} = xyes
; then
7175 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7178 # Default to --enable-multilib.
7179 if test x
${enable_multilib} = x
; then
7180 target_configargs
="--enable-multilib ${target_configargs}"
7183 # Pass --with-newlib if appropriate. Note that target_configdirs has
7184 # changed from the earlier setting of with_newlib.
7185 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7186 target_configargs
="--with-newlib ${target_configargs}"
7189 # Different target subdirs use different values of certain variables
7190 # (notably CXX). Worse, multilibs use *lots* of different values.
7191 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7192 # it doesn't automatically accept command-line overrides of them.
7193 # This means it's not safe for target subdirs to share a cache file,
7194 # which is disgusting, but there you have it. Hopefully this can be
7195 # fixed in future. It's still worthwhile to use a cache file for each
7196 # directory. I think.
7198 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7199 # We need to pass --target, as newer autoconf's requires consistency
7200 # for target_alias and gcc doesn't manage it consistently.
7201 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7204 case " $target_configdirs " in
7206 case " $target_configargs " in
7207 *" --with-newlib "*)
7210 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'
7214 # If we're not building GCC, don't discard standard headers.
7215 if test -d ${srcdir}/gcc
; then
7216 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7218 if test "${build}" != "${host}"; then
7219 # On Canadian crosses, CC_FOR_TARGET will have already been set
7220 # by `configure', so we won't have an opportunity to add -Bgcc/
7221 # to it. This is right: we don't want to search that directory
7222 # for binaries, but we want the header files in there, so add
7224 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7226 # Someone might think of using the pre-installed headers on
7227 # Canadian crosses, in case the installed compiler is not fully
7228 # compatible with the compiler being built. In this case, it
7229 # would be better to flag an error than risking having
7230 # incompatible object files being constructed. We can't
7231 # guarantee that an error will be flagged, but let's hope the
7232 # compiler will do it, when presented with incompatible header
7237 case "${target}-${is_cross_compiler}" in
7238 i
[3456789]86-*-linux*-no)
7239 # Here host == target, so we don't need to build gcc,
7240 # so we don't want to discard standard headers.
7241 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7244 # If we're building newlib, use its generic headers last, but search
7245 # for any libc-related directories first (so make it the last -B
7247 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7249 # If we're building libgloss, find the startup file, simulator library
7250 # and linker script.
7251 case " $target_configdirs " in
7253 # Look for startup file, simulator library and maybe linker script.
7254 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7255 # Look for libnosys.a in case the target needs it.
7256 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7257 # Most targets have the linker script in the source directory.
7258 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7269 x86_64-
*mingw
* |
*-w64-mingw*)
7270 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7271 # however, use a symlink named 'mingw' in ${prefix} .
7272 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7275 # MinGW can't be handled as Cygwin above since it does not use newlib.
7276 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'
7280 # Allow the user to override the flags for
7281 # our build compiler if desired.
7282 if test x
"${build}" = x
"${host}" ; then
7283 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7284 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7285 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7288 # On Canadian crosses, we'll be searching the right directories for
7289 # the previously-installed cross compiler, so don't bother to add
7290 # flags for directories within the install tree of the compiler
7291 # being built; programs in there won't even run.
7292 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7293 # Search for pre-installed headers if nothing else fits.
7294 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7297 if test "x
${use_gnu_ld}" = x &&
7298 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7299 # Arrange for us to find uninstalled linker scripts.
7300 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7303 # Search for other target-specific linker scripts and such.
7306 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7310 # Makefile fragments.
7311 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7313 eval fragval=\$$frag
7314 if test $fragval != /dev/null; then
7315 eval $frag=${srcdir}/$fragval
7323 # Miscellanea: directories, flags, etc.
7332 # Build module lists & subconfigure args.
7336 # Host module lists & subconfigure args.
7341 # Target module lists & subconfigure args.
7363 # Generate default definitions for YACC, M4, LEX and other programs that run
7364 # on the build machine. These are used if the Makefile can't locate these
7365 # programs in objdir.
7366 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7368 for ac_prog in 'bison -y' byacc yacc
7370 # Extract the first word of "$ac_prog", so it can be a program name with args.
7371 set dummy $ac_prog; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7373 $as_echo_n "checking
for $ac_word...
" >&6; }
7374 if test "${ac_cv_prog_YACC+set}" = set; then :
7375 $as_echo_n "(cached
) " >&6
7377 if test -n "$YACC"; then
7378 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387 ac_cv_prog_YACC="$ac_prog"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7397 YACC=$ac_cv_prog_YACC
7398 if test -n "$YACC"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7400 $as_echo "$YACC" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7403 $as_echo "no
" >&6; }
7407 test -n "$YACC" && break
7409 test -n "$YACC" || YACC="$MISSING bison
-y"
7411 case " $build_configdirs " in
7412 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7415 for ac_prog in bison
7417 # Extract the first word of "$ac_prog", so it can be a program name with args.
7418 set dummy $ac_prog; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7420 $as_echo_n "checking
for $ac_word...
" >&6; }
7421 if test "${ac_cv_prog_BISON+set}" = set; then :
7422 $as_echo_n "(cached
) " >&6
7424 if test -n "$BISON"; then
7425 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7434 ac_cv_prog_BISON="$ac_prog"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7444 BISON=$ac_cv_prog_BISON
7445 if test -n "$BISON"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7447 $as_echo "$BISON" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7450 $as_echo "no
" >&6; }
7454 test -n "$BISON" && break
7456 test -n "$BISON" || BISON="$MISSING bison
"
7458 case " $build_configdirs " in
7459 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7462 for ac_prog in gm4 gnum4 m4
7464 # Extract the first word of "$ac_prog", so it can be a program name with args.
7465 set dummy $ac_prog; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7467 $as_echo_n "checking
for $ac_word...
" >&6; }
7468 if test "${ac_cv_prog_M4+set}" = set; then :
7469 $as_echo_n "(cached
) " >&6
7471 if test -n "$M4"; then
7472 ac_cv_prog_M4="$M4" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_M4="$ac_prog"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7492 if test -n "$M4"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7494 $as_echo "$M4" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7497 $as_echo "no
" >&6; }
7501 test -n "$M4" && break
7503 test -n "$M4" || M4="$MISSING m4"
7505 case " $build_configdirs " in
7506 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7509 for ac_prog in flex lex
7511 # Extract the first word of "$ac_prog", so it can be a program name with args.
7512 set dummy $ac_prog; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7514 $as_echo_n "checking
for $ac_word...
" >&6; }
7515 if test "${ac_cv_prog_LEX+set}" = set; then :
7516 $as_echo_n "(cached
) " >&6
7518 if test -n "$LEX"; then
7519 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_LEX="$ac_prog"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7539 if test -n "$LEX"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7541 $as_echo "$LEX" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7544 $as_echo "no
" >&6; }
7548 test -n "$LEX" && break
7550 test -n "$LEX" || LEX="$MISSING flex
"
7552 case " $build_configdirs " in
7553 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7554 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7559 # Extract the first word of "$ac_prog", so it can be a program name with args.
7560 set dummy $ac_prog; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7562 $as_echo_n "checking
for $ac_word...
" >&6; }
7563 if test "${ac_cv_prog_FLEX+set}" = set; then :
7564 $as_echo_n "(cached
) " >&6
7566 if test -n "$FLEX"; then
7567 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 test -z "$as_dir" && as_dir=.
7574 for ac_exec_ext in '' $ac_executable_extensions; do
7575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7576 ac_cv_prog_FLEX="$ac_prog"
7577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7586 FLEX=$ac_cv_prog_FLEX
7587 if test -n "$FLEX"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7589 $as_echo "$FLEX" >&6; }
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7592 $as_echo "no
" >&6; }
7596 test -n "$FLEX" && break
7598 test -n "$FLEX" || FLEX="$MISSING flex
"
7600 case " $build_configdirs " in
7601 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7604 for ac_prog in makeinfo
7606 # Extract the first word of "$ac_prog", so it can be a program name with args.
7607 set dummy $ac_prog; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7609 $as_echo_n "checking
for $ac_word...
" >&6; }
7610 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7611 $as_echo_n "(cached
) " >&6
7613 if test -n "$MAKEINFO"; then
7614 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623 ac_cv_prog_MAKEINFO="$ac_prog"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7633 MAKEINFO=$ac_cv_prog_MAKEINFO
7634 if test -n "$MAKEINFO"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7636 $as_echo "$MAKEINFO" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7639 $as_echo "no
" >&6; }
7643 test -n "$MAKEINFO" && break
7645 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7647 case " $build_configdirs " in
7648 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7651 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7652 # higher, else we use the "missing
" dummy.
7653 if ${MAKEINFO} --version \
7654 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7657 MAKEINFO="$MISSING makeinfo
"
7663 # FIXME: expect and dejagnu may become build tools?
7665 for ac_prog in expect
7667 # Extract the first word of "$ac_prog", so it can be a program name with args.
7668 set dummy $ac_prog; ac_word=$2
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7670 $as_echo_n "checking
for $ac_word...
" >&6; }
7671 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7672 $as_echo_n "(cached
) " >&6
7674 if test -n "$EXPECT"; then
7675 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7684 ac_cv_prog_EXPECT="$ac_prog"
7685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7694 EXPECT=$ac_cv_prog_EXPECT
7695 if test -n "$EXPECT"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7697 $as_echo "$EXPECT" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7700 $as_echo "no
" >&6; }
7704 test -n "$EXPECT" && break
7706 test -n "$EXPECT" || EXPECT="expect
"
7708 case " $configdirs " in
7710 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7714 for ac_prog in runtest
7716 # Extract the first word of "$ac_prog", so it can be a program name with args.
7717 set dummy $ac_prog; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$RUNTEST"; then
7724 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_RUNTEST="$ac_prog"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 RUNTEST=$ac_cv_prog_RUNTEST
7744 if test -n "$RUNTEST"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7746 $as_echo "$RUNTEST" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7753 test -n "$RUNTEST" && break
7755 test -n "$RUNTEST" || RUNTEST="runtest
"
7757 case " $configdirs " in
7759 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7766 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7767 ncn_target_tool_prefix=
7768 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7772 if test -n "$AR"; then
7774 elif test -n "$ac_cv_prog_AR"; then
7778 if test -n "$ac_cv_prog_AR"; then
7779 for ncn_progname in ar; do
7780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7781 set dummy ${ncn_progname}; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if test "${ac_cv_prog_AR+set}" = set; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$AR"; then
7788 ac_cv_prog_AR="$AR" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797 ac_cv_prog_AR="${ncn_progname}"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7808 if test -n "$AR"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7810 $as_echo "$AR" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7820 for ncn_progname in ar; do
7821 if test -n "$ncn_tool_prefix"; then
7822 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7823 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7825 $as_echo_n "checking
for $ac_word...
" >&6; }
7826 if test "${ac_cv_prog_AR+set}" = set; then :
7827 $as_echo_n "(cached
) " >&6
7829 if test -n "$AR"; then
7830 ac_cv_prog_AR="$AR" # Let the user override the test.
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7839 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7850 if test -n "$AR"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7852 $as_echo "$AR" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7855 $as_echo "no
" >&6; }
7860 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7861 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7862 set dummy ${ncn_progname}; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7864 $as_echo_n "checking
for $ac_word...
" >&6; }
7865 if test "${ac_cv_prog_AR+set}" = set; then :
7866 $as_echo_n "(cached
) " >&6
7868 if test -n "$AR"; then
7869 ac_cv_prog_AR="$AR" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7878 ac_cv_prog_AR="${ncn_progname}"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 if test -n "$AR"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7891 $as_echo "$AR" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7894 $as_echo "no
" >&6; }
7899 test -n "$ac_cv_prog_AR" && break
7902 if test -z "$ac_cv_prog_AR" ; then
7904 if test $build = $host ; then
7907 AR="${ncn_tool_prefix}$2"
7913 if test -n "$AS"; then
7915 elif test -n "$ac_cv_prog_AS"; then
7919 if test -n "$ac_cv_prog_AS"; then
7920 for ncn_progname in as; do
7921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7922 set dummy ${ncn_progname}; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if test "${ac_cv_prog_AS+set}" = set; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$AS"; then
7929 ac_cv_prog_AS="$AS" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7938 ac_cv_prog_AS="${ncn_progname}"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7949 if test -n "$AS"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7951 $as_echo "$AS" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7961 for ncn_progname in as; do
7962 if test -n "$ncn_tool_prefix"; then
7963 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7964 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7966 $as_echo_n "checking
for $ac_word...
" >&6; }
7967 if test "${ac_cv_prog_AS+set}" = set; then :
7968 $as_echo_n "(cached
) " >&6
7970 if test -n "$AS"; then
7971 ac_cv_prog_AS="$AS" # Let the user override the test.
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7991 if test -n "$AS"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7993 $as_echo "$AS" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7996 $as_echo "no
" >&6; }
8001 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8003 set dummy ${ncn_progname}; ac_word=$2
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8005 $as_echo_n "checking
for $ac_word...
" >&6; }
8006 if test "${ac_cv_prog_AS+set}" = set; then :
8007 $as_echo_n "(cached
) " >&6
8009 if test -n "$AS"; then
8010 ac_cv_prog_AS="$AS" # Let the user override the test.
8012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 test -z "$as_dir" && as_dir=.
8017 for ac_exec_ext in '' $ac_executable_extensions; do
8018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8019 ac_cv_prog_AS="${ncn_progname}"
8020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8030 if test -n "$AS"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8032 $as_echo "$AS" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8035 $as_echo "no
" >&6; }
8040 test -n "$ac_cv_prog_AS" && break
8043 if test -z "$ac_cv_prog_AS" ; then
8045 if test $build = $host ; then
8048 AS="${ncn_tool_prefix}$2"
8054 if test -n "$DLLTOOL"; then
8055 ac_cv_prog_DLLTOOL=$DLLTOOL
8056 elif test -n "$ac_cv_prog_DLLTOOL"; then
8057 DLLTOOL=$ac_cv_prog_DLLTOOL
8060 if test -n "$ac_cv_prog_DLLTOOL"; then
8061 for ncn_progname in dlltool; do
8062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8063 set dummy ${ncn_progname}; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8065 $as_echo_n "checking
for $ac_word...
" >&6; }
8066 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8067 $as_echo_n "(cached
) " >&6
8069 if test -n "$DLLTOOL"; then
8070 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079 ac_cv_prog_DLLTOOL="${ncn_progname}"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8089 DLLTOOL=$ac_cv_prog_DLLTOOL
8090 if test -n "$DLLTOOL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8092 $as_echo "$DLLTOOL" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8095 $as_echo "no
" >&6; }
8102 for ncn_progname in dlltool; do
8103 if test -n "$ncn_tool_prefix"; then
8104 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8105 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8107 $as_echo_n "checking
for $ac_word...
" >&6; }
8108 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8109 $as_echo_n "(cached
) " >&6
8111 if test -n "$DLLTOOL"; then
8112 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8121 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8131 DLLTOOL=$ac_cv_prog_DLLTOOL
8132 if test -n "$DLLTOOL"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8134 $as_echo "$DLLTOOL" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8137 $as_echo "no
" >&6; }
8142 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8143 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8144 set dummy ${ncn_progname}; ac_word=$2
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8146 $as_echo_n "checking
for $ac_word...
" >&6; }
8147 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8148 $as_echo_n "(cached
) " >&6
8150 if test -n "$DLLTOOL"; then
8151 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 test -z "$as_dir" && as_dir=.
8158 for ac_exec_ext in '' $ac_executable_extensions; do
8159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8160 ac_cv_prog_DLLTOOL="${ncn_progname}"
8161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8170 DLLTOOL=$ac_cv_prog_DLLTOOL
8171 if test -n "$DLLTOOL"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8173 $as_echo "$DLLTOOL" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8176 $as_echo "no
" >&6; }
8181 test -n "$ac_cv_prog_DLLTOOL" && break
8184 if test -z "$ac_cv_prog_DLLTOOL" ; then
8186 if test $build = $host ; then
8189 DLLTOOL="${ncn_tool_prefix}$2"
8195 if test -n "$LD"; then
8197 elif test -n "$ac_cv_prog_LD"; then
8201 if test -n "$ac_cv_prog_LD"; then
8202 for ncn_progname in ld; do
8203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8204 set dummy ${ncn_progname}; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8206 $as_echo_n "checking
for $ac_word...
" >&6; }
8207 if test "${ac_cv_prog_LD+set}" = set; then :
8208 $as_echo_n "(cached
) " >&6
8210 if test -n "$LD"; then
8211 ac_cv_prog_LD="$LD" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8220 ac_cv_prog_LD="${ncn_progname}"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8231 if test -n "$LD"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8233 $as_echo "$LD" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8236 $as_echo "no
" >&6; }
8243 for ncn_progname in ld; do
8244 if test -n "$ncn_tool_prefix"; then
8245 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8246 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8248 $as_echo_n "checking
for $ac_word...
" >&6; }
8249 if test "${ac_cv_prog_LD+set}" = set; then :
8250 $as_echo_n "(cached
) " >&6
8252 if test -n "$LD"; then
8253 ac_cv_prog_LD="$LD" # Let the user override the test.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8273 if test -n "$LD"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8275 $as_echo "$LD" >&6; }
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8278 $as_echo "no
" >&6; }
8283 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8285 set dummy ${ncn_progname}; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8287 $as_echo_n "checking
for $ac_word...
" >&6; }
8288 if test "${ac_cv_prog_LD+set}" = set; then :
8289 $as_echo_n "(cached
) " >&6
8291 if test -n "$LD"; then
8292 ac_cv_prog_LD="$LD" # Let the user override the test.
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8301 ac_cv_prog_LD="${ncn_progname}"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8312 if test -n "$LD"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8314 $as_echo "$LD" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8317 $as_echo "no
" >&6; }
8322 test -n "$ac_cv_prog_LD" && break
8325 if test -z "$ac_cv_prog_LD" ; then
8327 if test $build = $host ; then
8330 LD="${ncn_tool_prefix}$2"
8336 if test -n "$LIPO"; then
8337 ac_cv_prog_LIPO=$LIPO
8338 elif test -n "$ac_cv_prog_LIPO"; then
8339 LIPO=$ac_cv_prog_LIPO
8342 if test -n "$ac_cv_prog_LIPO"; then
8343 for ncn_progname in lipo; do
8344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8345 set dummy ${ncn_progname}; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8347 $as_echo_n "checking
for $ac_word...
" >&6; }
8348 if test "${ac_cv_prog_LIPO+set}" = set; then :
8349 $as_echo_n "(cached
) " >&6
8351 if test -n "$LIPO"; then
8352 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361 ac_cv_prog_LIPO="${ncn_progname}"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8371 LIPO=$ac_cv_prog_LIPO
8372 if test -n "$LIPO"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8374 $as_echo "$LIPO" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8377 $as_echo "no
" >&6; }
8384 for ncn_progname in lipo; do
8385 if test -n "$ncn_tool_prefix"; then
8386 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8387 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8389 $as_echo_n "checking
for $ac_word...
" >&6; }
8390 if test "${ac_cv_prog_LIPO+set}" = set; then :
8391 $as_echo_n "(cached
) " >&6
8393 if test -n "$LIPO"; then
8394 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8413 LIPO=$ac_cv_prog_LIPO
8414 if test -n "$LIPO"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8416 $as_echo "$LIPO" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8419 $as_echo "no
" >&6; }
8424 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8426 set dummy ${ncn_progname}; ac_word=$2
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8428 $as_echo_n "checking
for $ac_word...
" >&6; }
8429 if test "${ac_cv_prog_LIPO+set}" = set; then :
8430 $as_echo_n "(cached
) " >&6
8432 if test -n "$LIPO"; then
8433 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir=.
8440 for ac_exec_ext in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_prog_LIPO="${ncn_progname}"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8452 LIPO=$ac_cv_prog_LIPO
8453 if test -n "$LIPO"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8455 $as_echo "$LIPO" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8458 $as_echo "no
" >&6; }
8463 test -n "$ac_cv_prog_LIPO" && break
8466 if test -z "$ac_cv_prog_LIPO" ; then
8468 if test $build = $host ; then
8471 LIPO="${ncn_tool_prefix}$2"
8477 if test -n "$NM"; then
8479 elif test -n "$ac_cv_prog_NM"; then
8483 if test -n "$ac_cv_prog_NM"; then
8484 for ncn_progname in nm; do
8485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8486 set dummy ${ncn_progname}; ac_word=$2
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8488 $as_echo_n "checking
for $ac_word...
" >&6; }
8489 if test "${ac_cv_prog_NM+set}" = set; then :
8490 $as_echo_n "(cached
) " >&6
8492 if test -n "$NM"; then
8493 ac_cv_prog_NM="$NM" # Let the user override the test.
8495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8499 test -z "$as_dir" && as_dir=.
8500 for ac_exec_ext in '' $ac_executable_extensions; do
8501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8502 ac_cv_prog_NM="${ncn_progname}"
8503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8513 if test -n "$NM"; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8515 $as_echo "$NM" >&6; }
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8518 $as_echo "no
" >&6; }
8525 for ncn_progname in nm; do
8526 if test -n "$ncn_tool_prefix"; then
8527 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8528 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8530 $as_echo_n "checking
for $ac_word...
" >&6; }
8531 if test "${ac_cv_prog_NM+set}" = set; then :
8532 $as_echo_n "(cached
) " >&6
8534 if test -n "$NM"; then
8535 ac_cv_prog_NM="$NM" # Let the user override the test.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8544 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8555 if test -n "$NM"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8557 $as_echo "$NM" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8560 $as_echo "no
" >&6; }
8565 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8566 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8567 set dummy ${ncn_progname}; ac_word=$2
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8569 $as_echo_n "checking
for $ac_word...
" >&6; }
8570 if test "${ac_cv_prog_NM+set}" = set; then :
8571 $as_echo_n "(cached
) " >&6
8573 if test -n "$NM"; then
8574 ac_cv_prog_NM="$NM" # Let the user override the test.
8576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8580 test -z "$as_dir" && as_dir=.
8581 for ac_exec_ext in '' $ac_executable_extensions; do
8582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8583 ac_cv_prog_NM="${ncn_progname}"
8584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8594 if test -n "$NM"; then
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8596 $as_echo "$NM" >&6; }
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8599 $as_echo "no
" >&6; }
8604 test -n "$ac_cv_prog_NM" && break
8607 if test -z "$ac_cv_prog_NM" ; then
8609 if test $build = $host ; then
8612 NM="${ncn_tool_prefix}$2"
8618 if test -n "$RANLIB"; then
8619 ac_cv_prog_RANLIB=$RANLIB
8620 elif test -n "$ac_cv_prog_RANLIB"; then
8621 RANLIB=$ac_cv_prog_RANLIB
8624 if test -n "$ac_cv_prog_RANLIB"; then
8625 for ncn_progname in ranlib; do
8626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8627 set dummy ${ncn_progname}; ac_word=$2
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8629 $as_echo_n "checking
for $ac_word...
" >&6; }
8630 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8631 $as_echo_n "(cached
) " >&6
8633 if test -n "$RANLIB"; then
8634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8640 test -z "$as_dir" && as_dir=.
8641 for ac_exec_ext in '' $ac_executable_extensions; do
8642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8643 ac_cv_prog_RANLIB="${ncn_progname}"
8644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8653 RANLIB=$ac_cv_prog_RANLIB
8654 if test -n "$RANLIB"; then
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8656 $as_echo "$RANLIB" >&6; }
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8659 $as_echo "no
" >&6; }
8666 for ncn_progname in ranlib; do
8667 if test -n "$ncn_tool_prefix"; then
8668 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8669 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8671 $as_echo_n "checking
for $ac_word...
" >&6; }
8672 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8673 $as_echo_n "(cached
) " >&6
8675 if test -n "$RANLIB"; then
8676 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8682 test -z "$as_dir" && as_dir=.
8683 for ac_exec_ext in '' $ac_executable_extensions; do
8684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8685 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8695 RANLIB=$ac_cv_prog_RANLIB
8696 if test -n "$RANLIB"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8698 $as_echo "$RANLIB" >&6; }
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8701 $as_echo "no
" >&6; }
8706 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8708 set dummy ${ncn_progname}; ac_word=$2
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8710 $as_echo_n "checking
for $ac_word...
" >&6; }
8711 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8712 $as_echo_n "(cached
) " >&6
8714 if test -n "$RANLIB"; then
8715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721 test -z "$as_dir" && as_dir=.
8722 for ac_exec_ext in '' $ac_executable_extensions; do
8723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8724 ac_cv_prog_RANLIB="${ncn_progname}"
8725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8734 RANLIB=$ac_cv_prog_RANLIB
8735 if test -n "$RANLIB"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8737 $as_echo "$RANLIB" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8740 $as_echo "no
" >&6; }
8745 test -n "$ac_cv_prog_RANLIB" && break
8748 if test -z "$ac_cv_prog_RANLIB" ; then
8754 if test -n "$STRIP"; then
8755 ac_cv_prog_STRIP=$STRIP
8756 elif test -n "$ac_cv_prog_STRIP"; then
8757 STRIP=$ac_cv_prog_STRIP
8760 if test -n "$ac_cv_prog_STRIP"; then
8761 for ncn_progname in strip; do
8762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8763 set dummy ${ncn_progname}; ac_word=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8765 $as_echo_n "checking
for $ac_word...
" >&6; }
8766 if test "${ac_cv_prog_STRIP+set}" = set; then :
8767 $as_echo_n "(cached
) " >&6
8769 if test -n "$STRIP"; then
8770 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 test -z "$as_dir" && as_dir=.
8777 for ac_exec_ext in '' $ac_executable_extensions; do
8778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8779 ac_cv_prog_STRIP="${ncn_progname}"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8789 STRIP=$ac_cv_prog_STRIP
8790 if test -n "$STRIP"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8792 $as_echo "$STRIP" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8795 $as_echo "no
" >&6; }
8802 for ncn_progname in strip; do
8803 if test -n "$ncn_tool_prefix"; then
8804 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8805 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8807 $as_echo_n "checking
for $ac_word...
" >&6; }
8808 if test "${ac_cv_prog_STRIP+set}" = set; then :
8809 $as_echo_n "(cached
) " >&6
8811 if test -n "$STRIP"; then
8812 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8831 STRIP=$ac_cv_prog_STRIP
8832 if test -n "$STRIP"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8834 $as_echo "$STRIP" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8837 $as_echo "no
" >&6; }
8842 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8844 set dummy ${ncn_progname}; ac_word=$2
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8846 $as_echo_n "checking
for $ac_word...
" >&6; }
8847 if test "${ac_cv_prog_STRIP+set}" = set; then :
8848 $as_echo_n "(cached
) " >&6
8850 if test -n "$STRIP"; then
8851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857 test -z "$as_dir" && as_dir=.
8858 for ac_exec_ext in '' $ac_executable_extensions; do
8859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8860 ac_cv_prog_STRIP="${ncn_progname}"
8861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8870 STRIP=$ac_cv_prog_STRIP
8871 if test -n "$STRIP"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8873 $as_echo "$STRIP" >&6; }
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8876 $as_echo "no
" >&6; }
8881 test -n "$ac_cv_prog_STRIP" && break
8884 if test -z "$ac_cv_prog_STRIP" ; then
8890 if test -n "$WINDRES"; then
8891 ac_cv_prog_WINDRES=$WINDRES
8892 elif test -n "$ac_cv_prog_WINDRES"; then
8893 WINDRES=$ac_cv_prog_WINDRES
8896 if test -n "$ac_cv_prog_WINDRES"; then
8897 for ncn_progname in windres; do
8898 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8899 set dummy ${ncn_progname}; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8901 $as_echo_n "checking
for $ac_word...
" >&6; }
8902 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8903 $as_echo_n "(cached
) " >&6
8905 if test -n "$WINDRES"; then
8906 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_prog_WINDRES="${ncn_progname}"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8925 WINDRES=$ac_cv_prog_WINDRES
8926 if test -n "$WINDRES"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8928 $as_echo "$WINDRES" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8931 $as_echo "no
" >&6; }
8938 for ncn_progname in windres; do
8939 if test -n "$ncn_tool_prefix"; then
8940 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8941 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8943 $as_echo_n "checking
for $ac_word...
" >&6; }
8944 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8945 $as_echo_n "(cached
) " >&6
8947 if test -n "$WINDRES"; then
8948 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 WINDRES=$ac_cv_prog_WINDRES
8968 if test -n "$WINDRES"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8970 $as_echo "$WINDRES" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8973 $as_echo "no
" >&6; }
8978 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8979 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8980 set dummy ${ncn_progname}; ac_word=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8982 $as_echo_n "checking
for $ac_word...
" >&6; }
8983 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8984 $as_echo_n "(cached
) " >&6
8986 if test -n "$WINDRES"; then
8987 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993 test -z "$as_dir" && as_dir=.
8994 for ac_exec_ext in '' $ac_executable_extensions; do
8995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8996 ac_cv_prog_WINDRES="${ncn_progname}"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9006 WINDRES=$ac_cv_prog_WINDRES
9007 if test -n "$WINDRES"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9009 $as_echo "$WINDRES" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9012 $as_echo "no
" >&6; }
9017 test -n "$ac_cv_prog_WINDRES" && break
9020 if test -z "$ac_cv_prog_WINDRES" ; then
9022 if test $build = $host ; then
9025 WINDRES="${ncn_tool_prefix}$2"
9031 if test -n "$WINDMC"; then
9032 ac_cv_prog_WINDMC=$WINDMC
9033 elif test -n "$ac_cv_prog_WINDMC"; then
9034 WINDMC=$ac_cv_prog_WINDMC
9037 if test -n "$ac_cv_prog_WINDMC"; then
9038 for ncn_progname in windmc; do
9039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9040 set dummy ${ncn_progname}; ac_word=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9042 $as_echo_n "checking
for $ac_word...
" >&6; }
9043 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9044 $as_echo_n "(cached
) " >&6
9046 if test -n "$WINDMC"; then
9047 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9056 ac_cv_prog_WINDMC="${ncn_progname}"
9057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9066 WINDMC=$ac_cv_prog_WINDMC
9067 if test -n "$WINDMC"; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9069 $as_echo "$WINDMC" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9072 $as_echo "no
" >&6; }
9079 for ncn_progname in windmc; do
9080 if test -n "$ncn_tool_prefix"; then
9081 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9082 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9084 $as_echo_n "checking
for $ac_word...
" >&6; }
9085 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9086 $as_echo_n "(cached
) " >&6
9088 if test -n "$WINDMC"; then
9089 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9098 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9108 WINDMC=$ac_cv_prog_WINDMC
9109 if test -n "$WINDMC"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9111 $as_echo "$WINDMC" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9114 $as_echo "no
" >&6; }
9119 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9121 set dummy ${ncn_progname}; ac_word=$2
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9123 $as_echo_n "checking
for $ac_word...
" >&6; }
9124 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9125 $as_echo_n "(cached
) " >&6
9127 if test -n "$WINDMC"; then
9128 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9134 test -z "$as_dir" && as_dir=.
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9137 ac_cv_prog_WINDMC="${ncn_progname}"
9138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9147 WINDMC=$ac_cv_prog_WINDMC
9148 if test -n "$WINDMC"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9150 $as_echo "$WINDMC" >&6; }
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9153 $as_echo "no
" >&6; }
9158 test -n "$ac_cv_prog_WINDMC" && break
9161 if test -z "$ac_cv_prog_WINDMC" ; then
9163 if test $build = $host ; then
9166 WINDMC="${ncn_tool_prefix}$2"
9172 if test -n "$OBJCOPY"; then
9173 ac_cv_prog_OBJCOPY=$OBJCOPY
9174 elif test -n "$ac_cv_prog_OBJCOPY"; then
9175 OBJCOPY=$ac_cv_prog_OBJCOPY
9178 if test -n "$ac_cv_prog_OBJCOPY"; then
9179 for ncn_progname in objcopy; do
9180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9181 set dummy ${ncn_progname}; ac_word=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9183 $as_echo_n "checking
for $ac_word...
" >&6; }
9184 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9185 $as_echo_n "(cached
) " >&6
9187 if test -n "$OBJCOPY"; then
9188 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9194 test -z "$as_dir" && as_dir=.
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9197 ac_cv_prog_OBJCOPY="${ncn_progname}"
9198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9207 OBJCOPY=$ac_cv_prog_OBJCOPY
9208 if test -n "$OBJCOPY"; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9210 $as_echo "$OBJCOPY" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9213 $as_echo "no
" >&6; }
9220 for ncn_progname in objcopy; do
9221 if test -n "$ncn_tool_prefix"; then
9222 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9223 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9225 $as_echo_n "checking
for $ac_word...
" >&6; }
9226 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9227 $as_echo_n "(cached
) " >&6
9229 if test -n "$OBJCOPY"; then
9230 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir=.
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9249 OBJCOPY=$ac_cv_prog_OBJCOPY
9250 if test -n "$OBJCOPY"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9252 $as_echo "$OBJCOPY" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9255 $as_echo "no
" >&6; }
9260 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9262 set dummy ${ncn_progname}; ac_word=$2
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9264 $as_echo_n "checking
for $ac_word...
" >&6; }
9265 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9266 $as_echo_n "(cached
) " >&6
9268 if test -n "$OBJCOPY"; then
9269 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 test -z "$as_dir" && as_dir=.
9276 for ac_exec_ext in '' $ac_executable_extensions; do
9277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9278 ac_cv_prog_OBJCOPY="${ncn_progname}"
9279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9288 OBJCOPY=$ac_cv_prog_OBJCOPY
9289 if test -n "$OBJCOPY"; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9291 $as_echo "$OBJCOPY" >&6; }
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9294 $as_echo "no
" >&6; }
9299 test -n "$ac_cv_prog_OBJCOPY" && break
9302 if test -z "$ac_cv_prog_OBJCOPY" ; then
9304 if test $build = $host ; then
9307 OBJCOPY="${ncn_tool_prefix}$2"
9313 if test -n "$OBJDUMP"; then
9314 ac_cv_prog_OBJDUMP=$OBJDUMP
9315 elif test -n "$ac_cv_prog_OBJDUMP"; then
9316 OBJDUMP=$ac_cv_prog_OBJDUMP
9319 if test -n "$ac_cv_prog_OBJDUMP"; then
9320 for ncn_progname in objdump; do
9321 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9322 set dummy ${ncn_progname}; ac_word=$2
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9324 $as_echo_n "checking
for $ac_word...
" >&6; }
9325 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9326 $as_echo_n "(cached
) " >&6
9328 if test -n "$OBJDUMP"; then
9329 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335 test -z "$as_dir" && as_dir=.
9336 for ac_exec_ext in '' $ac_executable_extensions; do
9337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9338 ac_cv_prog_OBJDUMP="${ncn_progname}"
9339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9348 OBJDUMP=$ac_cv_prog_OBJDUMP
9349 if test -n "$OBJDUMP"; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9351 $as_echo "$OBJDUMP" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9354 $as_echo "no
" >&6; }
9361 for ncn_progname in objdump; do
9362 if test -n "$ncn_tool_prefix"; then
9363 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9364 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9366 $as_echo_n "checking
for $ac_word...
" >&6; }
9367 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9368 $as_echo_n "(cached
) " >&6
9370 if test -n "$OBJDUMP"; then
9371 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir=.
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9390 OBJDUMP=$ac_cv_prog_OBJDUMP
9391 if test -n "$OBJDUMP"; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9393 $as_echo "$OBJDUMP" >&6; }
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9396 $as_echo "no
" >&6; }
9401 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9403 set dummy ${ncn_progname}; ac_word=$2
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9405 $as_echo_n "checking
for $ac_word...
" >&6; }
9406 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9407 $as_echo_n "(cached
) " >&6
9409 if test -n "$OBJDUMP"; then
9410 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9416 test -z "$as_dir" && as_dir=.
9417 for ac_exec_ext in '' $ac_executable_extensions; do
9418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9419 ac_cv_prog_OBJDUMP="${ncn_progname}"
9420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9429 OBJDUMP=$ac_cv_prog_OBJDUMP
9430 if test -n "$OBJDUMP"; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9432 $as_echo "$OBJDUMP" >&6; }
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9435 $as_echo "no
" >&6; }
9440 test -n "$ac_cv_prog_OBJDUMP" && break
9443 if test -z "$ac_cv_prog_OBJDUMP" ; then
9445 if test $build = $host ; then
9448 OBJDUMP="${ncn_tool_prefix}$2"
9454 if test -n "$READELF"; then
9455 ac_cv_prog_READELF=$READELF
9456 elif test -n "$ac_cv_prog_READELF"; then
9457 READELF=$ac_cv_prog_READELF
9460 if test -n "$ac_cv_prog_READELF"; then
9461 for ncn_progname in readelf; do
9462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9463 set dummy ${ncn_progname}; ac_word=$2
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9465 $as_echo_n "checking
for $ac_word...
" >&6; }
9466 if test "${ac_cv_prog_READELF+set}" = set; then :
9467 $as_echo_n "(cached
) " >&6
9469 if test -n "$READELF"; then
9470 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9476 test -z "$as_dir" && as_dir=.
9477 for ac_exec_ext in '' $ac_executable_extensions; do
9478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9479 ac_cv_prog_READELF="${ncn_progname}"
9480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9489 READELF=$ac_cv_prog_READELF
9490 if test -n "$READELF"; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9492 $as_echo "$READELF" >&6; }
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9495 $as_echo "no
" >&6; }
9502 for ncn_progname in readelf; do
9503 if test -n "$ncn_tool_prefix"; then
9504 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9505 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9507 $as_echo_n "checking
for $ac_word...
" >&6; }
9508 if test "${ac_cv_prog_READELF+set}" = set; then :
9509 $as_echo_n "(cached
) " >&6
9511 if test -n "$READELF"; then
9512 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9521 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9531 READELF=$ac_cv_prog_READELF
9532 if test -n "$READELF"; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9534 $as_echo "$READELF" >&6; }
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9537 $as_echo "no
" >&6; }
9542 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9543 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9544 set dummy ${ncn_progname}; ac_word=$2
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9546 $as_echo_n "checking
for $ac_word...
" >&6; }
9547 if test "${ac_cv_prog_READELF+set}" = set; then :
9548 $as_echo_n "(cached
) " >&6
9550 if test -n "$READELF"; then
9551 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9557 test -z "$as_dir" && as_dir=.
9558 for ac_exec_ext in '' $ac_executable_extensions; do
9559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9560 ac_cv_prog_READELF="${ncn_progname}"
9561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9570 READELF=$ac_cv_prog_READELF
9571 if test -n "$READELF"; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9573 $as_echo "$READELF" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9576 $as_echo "no
" >&6; }
9581 test -n "$ac_cv_prog_READELF" && break
9584 if test -z "$ac_cv_prog_READELF" ; then
9586 if test $build = $host ; then
9589 READELF="${ncn_tool_prefix}$2"
9600 # Check whether --with-build-time-tools was given.
9601 if test "${with_build_time_tools+set}" = set; then :
9602 withval=$with_build_time_tools; case x"$withval" in
9605 with_build_time_tools=
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9607 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9611 with_build_time_tools=
9617 if test -n "$CC_FOR_TARGET"; then
9618 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9619 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9620 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9623 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9624 for ncn_progname in cc gcc; do
9625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9626 set dummy ${ncn_progname}; ac_word=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9628 $as_echo_n "checking
for $ac_word...
" >&6; }
9629 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9630 $as_echo_n "(cached
) " >&6
9632 if test -n "$CC_FOR_TARGET"; then
9633 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir=.
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9652 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9653 if test -n "$CC_FOR_TARGET"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9655 $as_echo "$CC_FOR_TARGET" >&6; }
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9658 $as_echo "no
" >&6; }
9665 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9666 for ncn_progname in cc gcc; do
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9668 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9669 if test -x $with_build_time_tools/${ncn_progname}; then
9670 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9672 $as_echo "yes" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9676 $as_echo "no
" >&6; }
9681 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9682 for ncn_progname in cc gcc; do
9683 if test -n "$ncn_target_tool_prefix"; then
9684 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9685 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9687 $as_echo_n "checking
for $ac_word...
" >&6; }
9688 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9689 $as_echo_n "(cached
) " >&6
9691 if test -n "$CC_FOR_TARGET"; then
9692 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 test -z "$as_dir" && as_dir=.
9699 for ac_exec_ext in '' $ac_executable_extensions; do
9700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9701 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9711 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9712 if test -n "$CC_FOR_TARGET"; then
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9714 $as_echo "$CC_FOR_TARGET" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9717 $as_echo "no
" >&6; }
9722 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9723 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9724 set dummy ${ncn_progname}; ac_word=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9726 $as_echo_n "checking
for $ac_word...
" >&6; }
9727 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9728 $as_echo_n "(cached
) " >&6
9730 if test -n "$CC_FOR_TARGET"; then
9731 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9737 test -z "$as_dir" && as_dir=.
9738 for ac_exec_ext in '' $ac_executable_extensions; do
9739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9740 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9750 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9751 if test -n "$CC_FOR_TARGET"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9753 $as_echo "$CC_FOR_TARGET" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9756 $as_echo "no
" >&6; }
9761 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9765 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9767 if test $build = $target ; then
9770 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9773 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9778 if test -n "$CXX_FOR_TARGET"; then
9779 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9780 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9781 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9784 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9785 for ncn_progname in c++ g++ cxx gxx; do
9786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9787 set dummy ${ncn_progname}; ac_word=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9789 $as_echo_n "checking
for $ac_word...
" >&6; }
9790 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9791 $as_echo_n "(cached
) " >&6
9793 if test -n "$CXX_FOR_TARGET"; then
9794 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9803 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9813 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9814 if test -n "$CXX_FOR_TARGET"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9816 $as_echo "$CXX_FOR_TARGET" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9819 $as_echo "no
" >&6; }
9826 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9827 for ncn_progname in c++ g++ cxx gxx; do
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9829 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9830 if test -x $with_build_time_tools/${ncn_progname}; then
9831 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9833 $as_echo "yes" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9837 $as_echo "no
" >&6; }
9842 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9843 for ncn_progname in c++ g++ cxx gxx; do
9844 if test -n "$ncn_target_tool_prefix"; then
9845 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9846 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9848 $as_echo_n "checking
for $ac_word...
" >&6; }
9849 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9850 $as_echo_n "(cached
) " >&6
9852 if test -n "$CXX_FOR_TARGET"; then
9853 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9859 test -z "$as_dir" && as_dir=.
9860 for ac_exec_ext in '' $ac_executable_extensions; do
9861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9862 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9872 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9873 if test -n "$CXX_FOR_TARGET"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9875 $as_echo "$CXX_FOR_TARGET" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9878 $as_echo "no
" >&6; }
9883 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9885 set dummy ${ncn_progname}; ac_word=$2
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9887 $as_echo_n "checking
for $ac_word...
" >&6; }
9888 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9889 $as_echo_n "(cached
) " >&6
9891 if test -n "$CXX_FOR_TARGET"; then
9892 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9901 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9911 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9912 if test -n "$CXX_FOR_TARGET"; then
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9914 $as_echo "$CXX_FOR_TARGET" >&6; }
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9917 $as_echo "no
" >&6; }
9922 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9926 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9927 set dummy c++ g++ cxx gxx
9928 if test $build = $target ; then
9931 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9934 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9939 if test -n "$GCC_FOR_TARGET"; then
9940 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9941 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9942 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9945 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9946 for ncn_progname in gcc; do
9947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_progname}; ac_word=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9950 $as_echo_n "checking
for $ac_word...
" >&6; }
9951 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9952 $as_echo_n "(cached
) " >&6
9954 if test -n "$GCC_FOR_TARGET"; then
9955 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9964 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9974 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9975 if test -n "$GCC_FOR_TARGET"; then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9977 $as_echo "$GCC_FOR_TARGET" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9980 $as_echo "no
" >&6; }
9987 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9988 for ncn_progname in gcc; do
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9990 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9991 if test -x $with_build_time_tools/${ncn_progname}; then
9992 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9994 $as_echo "yes" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9998 $as_echo "no
" >&6; }
10003 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10004 for ncn_progname in gcc; do
10005 if test -n "$ncn_target_tool_prefix"; then
10006 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10007 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10009 $as_echo_n "checking
for $ac_word...
" >&6; }
10010 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10011 $as_echo_n "(cached
) " >&6
10013 if test -n "$GCC_FOR_TARGET"; then
10014 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10017 for as_dir in $PATH
10020 test -z "$as_dir" && as_dir=.
10021 for ac_exec_ext in '' $ac_executable_extensions; do
10022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10023 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10033 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10034 if test -n "$GCC_FOR_TARGET"; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10036 $as_echo "$GCC_FOR_TARGET" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10039 $as_echo "no
" >&6; }
10044 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10046 set dummy ${ncn_progname}; ac_word=$2
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10048 $as_echo_n "checking
for $ac_word...
" >&6; }
10049 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10050 $as_echo_n "(cached
) " >&6
10052 if test -n "$GCC_FOR_TARGET"; then
10053 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10056 for as_dir in $PATH
10059 test -z "$as_dir" && as_dir=.
10060 for ac_exec_ext in '' $ac_executable_extensions; do
10061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10062 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10072 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10073 if test -n "$GCC_FOR_TARGET"; then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10075 $as_echo "$GCC_FOR_TARGET" >&6; }
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10078 $as_echo "no
" >&6; }
10083 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10087 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10088 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10090 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10095 if test -n "$GCJ_FOR_TARGET"; then
10096 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10097 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10098 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10101 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10102 for ncn_progname in gcj; do
10103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10104 set dummy ${ncn_progname}; ac_word=$2
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10106 $as_echo_n "checking
for $ac_word...
" >&6; }
10107 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10108 $as_echo_n "(cached
) " >&6
10110 if test -n "$GCJ_FOR_TARGET"; then
10111 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10114 for as_dir in $PATH
10117 test -z "$as_dir" && as_dir=.
10118 for ac_exec_ext in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10130 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10131 if test -n "$GCJ_FOR_TARGET"; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10133 $as_echo "$GCJ_FOR_TARGET" >&6; }
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10136 $as_echo "no
" >&6; }
10143 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10144 for ncn_progname in gcj; do
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10146 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10147 if test -x $with_build_time_tools/${ncn_progname}; then
10148 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10150 $as_echo "yes" >&6; }
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10154 $as_echo "no
" >&6; }
10159 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10160 for ncn_progname in gcj; do
10161 if test -n "$ncn_target_tool_prefix"; then
10162 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10163 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10165 $as_echo_n "checking
for $ac_word...
" >&6; }
10166 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10167 $as_echo_n "(cached
) " >&6
10169 if test -n "$GCJ_FOR_TARGET"; then
10170 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10173 for as_dir in $PATH
10176 test -z "$as_dir" && as_dir=.
10177 for ac_exec_ext in '' $ac_executable_extensions; do
10178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10179 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10189 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10190 if test -n "$GCJ_FOR_TARGET"; then
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10192 $as_echo "$GCJ_FOR_TARGET" >&6; }
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10195 $as_echo "no
" >&6; }
10200 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10201 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10202 set dummy ${ncn_progname}; ac_word=$2
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10204 $as_echo_n "checking
for $ac_word...
" >&6; }
10205 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10206 $as_echo_n "(cached
) " >&6
10208 if test -n "$GCJ_FOR_TARGET"; then
10209 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10212 for as_dir in $PATH
10215 test -z "$as_dir" && as_dir=.
10216 for ac_exec_ext in '' $ac_executable_extensions; do
10217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10218 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10228 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10229 if test -n "$GCJ_FOR_TARGET"; then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10231 $as_echo "$GCJ_FOR_TARGET" >&6; }
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10234 $as_echo "no
" >&6; }
10239 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10243 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10245 if test $build = $target ; then
10246 GCJ_FOR_TARGET="$2"
10248 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10251 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10256 if test -n "$GFORTRAN_FOR_TARGET"; then
10257 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10258 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10259 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10262 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10263 for ncn_progname in gfortran; do
10264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10265 set dummy ${ncn_progname}; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10267 $as_echo_n "checking
for $ac_word...
" >&6; }
10268 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10269 $as_echo_n "(cached
) " >&6
10271 if test -n "$GFORTRAN_FOR_TARGET"; then
10272 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10291 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10292 if test -n "$GFORTRAN_FOR_TARGET"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10294 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10297 $as_echo "no
" >&6; }
10304 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10305 for ncn_progname in gfortran; do
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10307 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10308 if test -x $with_build_time_tools/${ncn_progname}; then
10309 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10311 $as_echo "yes" >&6; }
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10315 $as_echo "no
" >&6; }
10320 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10321 for ncn_progname in gfortran; do
10322 if test -n "$ncn_target_tool_prefix"; then
10323 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10324 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10326 $as_echo_n "checking
for $ac_word...
" >&6; }
10327 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10328 $as_echo_n "(cached
) " >&6
10330 if test -n "$GFORTRAN_FOR_TARGET"; then
10331 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10334 for as_dir in $PATH
10337 test -z "$as_dir" && as_dir=.
10338 for ac_exec_ext in '' $ac_executable_extensions; do
10339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10340 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10350 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10351 if test -n "$GFORTRAN_FOR_TARGET"; then
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10353 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10356 $as_echo "no
" >&6; }
10361 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10363 set dummy ${ncn_progname}; ac_word=$2
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10365 $as_echo_n "checking
for $ac_word...
" >&6; }
10366 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10367 $as_echo_n "(cached
) " >&6
10369 if test -n "$GFORTRAN_FOR_TARGET"; then
10370 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10376 test -z "$as_dir" && as_dir=.
10377 for ac_exec_ext in '' $ac_executable_extensions; do
10378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10379 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10389 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10390 if test -n "$GFORTRAN_FOR_TARGET"; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10392 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10395 $as_echo "no
" >&6; }
10400 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10404 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10406 if test $build = $target ; then
10407 GFORTRAN_FOR_TARGET="$2"
10409 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10412 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10417 if test -n "$GOC_FOR_TARGET"; then
10418 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10419 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10420 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10423 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10424 for ncn_progname in gccgo; do
10425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$GOC_FOR_TARGET"; then
10433 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10453 if test -n "$GOC_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10455 $as_echo "$GOC_FOR_TARGET" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10465 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10466 for ncn_progname in gccgo; do
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10468 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10469 if test -x $with_build_time_tools/${ncn_progname}; then
10470 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10472 $as_echo "yes" >&6; }
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10476 $as_echo "no
" >&6; }
10481 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10482 for ncn_progname in gccgo; do
10483 if test -n "$ncn_target_tool_prefix"; then
10484 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10485 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10487 $as_echo_n "checking
for $ac_word...
" >&6; }
10488 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10489 $as_echo_n "(cached
) " >&6
10491 if test -n "$GOC_FOR_TARGET"; then
10492 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in $PATH
10498 test -z "$as_dir" && as_dir=.
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10501 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10511 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10512 if test -n "$GOC_FOR_TARGET"; then
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10514 $as_echo "$GOC_FOR_TARGET" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10517 $as_echo "no
" >&6; }
10522 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10523 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10524 set dummy ${ncn_progname}; ac_word=$2
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10526 $as_echo_n "checking
for $ac_word...
" >&6; }
10527 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10528 $as_echo_n "(cached
) " >&6
10530 if test -n "$GOC_FOR_TARGET"; then
10531 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10534 for as_dir in $PATH
10537 test -z "$as_dir" && as_dir=.
10538 for ac_exec_ext in '' $ac_executable_extensions; do
10539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10540 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10550 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10551 if test -n "$GOC_FOR_TARGET"; then
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10553 $as_echo "$GOC_FOR_TARGET" >&6; }
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10556 $as_echo "no
" >&6; }
10561 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10565 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10567 if test $build = $target ; then
10568 GOC_FOR_TARGET="$2"
10570 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10573 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10578 cat > conftest.c << \EOF
10583 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10584 have_gcc_for_target=yes
10586 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10587 have_gcc_for_target=no
10594 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10595 if test -n "$with_build_time_tools"; then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10597 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10598 if test -x $with_build_time_tools/ar; then
10599 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10600 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10602 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10605 $as_echo "no
" >&6; }
10607 elif test $build != $host && test $have_gcc_for_target = yes; then
10608 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10609 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10610 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10613 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10614 # Extract the first word of "ar", so it can be a program name with args.
10615 set dummy ar; ac_word=$2
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10617 $as_echo_n "checking
for $ac_word...
" >&6; }
10618 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10619 $as_echo_n "(cached
) " >&6
10621 case $AR_FOR_TARGET in
10623 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $gcc_cv_tool_dirs
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10633 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10644 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10645 if test -n "$AR_FOR_TARGET"; then
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10647 $as_echo "$AR_FOR_TARGET" >&6; }
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10650 $as_echo "no
" >&6; }
10655 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10658 if test -n "$AR_FOR_TARGET"; then
10659 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10660 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10661 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10664 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10665 for ncn_progname in ar; do
10666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10667 set dummy ${ncn_progname}; ac_word=$2
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10669 $as_echo_n "checking
for $ac_word...
" >&6; }
10670 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10671 $as_echo_n "(cached
) " >&6
10673 if test -n "$AR_FOR_TARGET"; then
10674 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10677 for as_dir in $PATH
10680 test -z "$as_dir" && as_dir=.
10681 for ac_exec_ext in '' $ac_executable_extensions; do
10682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10683 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10693 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10694 if test -n "$AR_FOR_TARGET"; then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10696 $as_echo "$AR_FOR_TARGET" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10699 $as_echo "no
" >&6; }
10706 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10707 for ncn_progname in ar; do
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10709 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10710 if test -x $with_build_time_tools/${ncn_progname}; then
10711 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10713 $as_echo "yes" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10717 $as_echo "no
" >&6; }
10722 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10723 for ncn_progname in ar; do
10724 if test -n "$ncn_target_tool_prefix"; then
10725 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10726 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10728 $as_echo_n "checking
for $ac_word...
" >&6; }
10729 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10730 $as_echo_n "(cached
) " >&6
10732 if test -n "$AR_FOR_TARGET"; then
10733 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10736 for as_dir in $PATH
10739 test -z "$as_dir" && as_dir=.
10740 for ac_exec_ext in '' $ac_executable_extensions; do
10741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10742 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10752 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10753 if test -n "$AR_FOR_TARGET"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10755 $as_echo "$AR_FOR_TARGET" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10758 $as_echo "no
" >&6; }
10763 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10765 set dummy ${ncn_progname}; ac_word=$2
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10767 $as_echo_n "checking
for $ac_word...
" >&6; }
10768 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10769 $as_echo_n "(cached
) " >&6
10771 if test -n "$AR_FOR_TARGET"; then
10772 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10778 test -z "$as_dir" && as_dir=.
10779 for ac_exec_ext in '' $ac_executable_extensions; do
10780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10781 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10791 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10792 if test -n "$AR_FOR_TARGET"; then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10794 $as_echo "$AR_FOR_TARGET" >&6; }
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10797 $as_echo "no
" >&6; }
10802 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10806 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10808 if test $build = $target ; then
10811 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10814 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10818 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10824 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10825 if test -n "$with_build_time_tools"; then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10827 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10828 if test -x $with_build_time_tools/as; then
10829 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10830 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10832 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10835 $as_echo "no
" >&6; }
10837 elif test $build != $host && test $have_gcc_for_target = yes; then
10838 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10839 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10840 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10843 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10844 # Extract the first word of "as
", so it can be a program name with args.
10845 set dummy as; ac_word=$2
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10847 $as_echo_n "checking
for $ac_word...
" >&6; }
10848 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10849 $as_echo_n "(cached
) " >&6
10851 case $AS_FOR_TARGET in
10853 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10857 for as_dir in $gcc_cv_tool_dirs
10860 test -z "$as_dir" && as_dir=.
10861 for ac_exec_ext in '' $ac_executable_extensions; do
10862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10863 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10874 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10875 if test -n "$AS_FOR_TARGET"; then
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10877 $as_echo "$AS_FOR_TARGET" >&6; }
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10880 $as_echo "no
" >&6; }
10885 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10888 if test -n "$AS_FOR_TARGET"; then
10889 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10890 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10891 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10894 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10895 for ncn_progname in as; do
10896 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10897 set dummy ${ncn_progname}; ac_word=$2
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10899 $as_echo_n "checking
for $ac_word...
" >&6; }
10900 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10901 $as_echo_n "(cached
) " >&6
10903 if test -n "$AS_FOR_TARGET"; then
10904 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10907 for as_dir in $PATH
10910 test -z "$as_dir" && as_dir=.
10911 for ac_exec_ext in '' $ac_executable_extensions; do
10912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10913 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10923 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10924 if test -n "$AS_FOR_TARGET"; then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10926 $as_echo "$AS_FOR_TARGET" >&6; }
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10929 $as_echo "no
" >&6; }
10936 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10937 for ncn_progname in as; do
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10939 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10940 if test -x $with_build_time_tools/${ncn_progname}; then
10941 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10943 $as_echo "yes" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10947 $as_echo "no
" >&6; }
10952 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10953 for ncn_progname in as; do
10954 if test -n "$ncn_target_tool_prefix"; then
10955 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10956 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10958 $as_echo_n "checking
for $ac_word...
" >&6; }
10959 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10960 $as_echo_n "(cached
) " >&6
10962 if test -n "$AS_FOR_TARGET"; then
10963 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10966 for as_dir in $PATH
10969 test -z "$as_dir" && as_dir=.
10970 for ac_exec_ext in '' $ac_executable_extensions; do
10971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10972 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10982 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10983 if test -n "$AS_FOR_TARGET"; then
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10985 $as_echo "$AS_FOR_TARGET" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10988 $as_echo "no
" >&6; }
10993 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10995 set dummy ${ncn_progname}; ac_word=$2
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10997 $as_echo_n "checking
for $ac_word...
" >&6; }
10998 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10999 $as_echo_n "(cached
) " >&6
11001 if test -n "$AS_FOR_TARGET"; then
11002 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11005 for as_dir in $PATH
11008 test -z "$as_dir" && as_dir=.
11009 for ac_exec_ext in '' $ac_executable_extensions; do
11010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11011 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11021 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11022 if test -n "$AS_FOR_TARGET"; then
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11024 $as_echo "$AS_FOR_TARGET" >&6; }
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11027 $as_echo "no
" >&6; }
11032 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11036 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11038 if test $build = $target ; then
11041 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11044 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11048 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11054 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11055 if test -n "$with_build_time_tools"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11057 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11058 if test -x $with_build_time_tools/dlltool; then
11059 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11060 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11062 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11065 $as_echo "no
" >&6; }
11067 elif test $build != $host && test $have_gcc_for_target = yes; then
11068 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11069 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11070 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11073 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11074 # Extract the first word of "dlltool
", so it can be a program name with args.
11075 set dummy dlltool; ac_word=$2
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11077 $as_echo_n "checking
for $ac_word...
" >&6; }
11078 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11079 $as_echo_n "(cached
) " >&6
11081 case $DLLTOOL_FOR_TARGET in
11083 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11087 for as_dir in $gcc_cv_tool_dirs
11090 test -z "$as_dir" && as_dir=.
11091 for ac_exec_ext in '' $ac_executable_extensions; do
11092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11093 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11104 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11105 if test -n "$DLLTOOL_FOR_TARGET"; then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11107 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11110 $as_echo "no
" >&6; }
11115 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11118 if test -n "$DLLTOOL_FOR_TARGET"; then
11119 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11120 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11121 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11124 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11125 for ncn_progname in dlltool; do
11126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11127 set dummy ${ncn_progname}; ac_word=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11129 $as_echo_n "checking
for $ac_word...
" >&6; }
11130 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11131 $as_echo_n "(cached
) " >&6
11133 if test -n "$DLLTOOL_FOR_TARGET"; then
11134 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11143 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11153 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11154 if test -n "$DLLTOOL_FOR_TARGET"; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11156 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11159 $as_echo "no
" >&6; }
11166 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11167 for ncn_progname in dlltool; do
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11169 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11170 if test -x $with_build_time_tools/${ncn_progname}; then
11171 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11173 $as_echo "yes" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11177 $as_echo "no
" >&6; }
11182 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11183 for ncn_progname in dlltool; do
11184 if test -n "$ncn_target_tool_prefix"; then
11185 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11186 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11188 $as_echo_n "checking
for $ac_word...
" >&6; }
11189 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11190 $as_echo_n "(cached
) " >&6
11192 if test -n "$DLLTOOL_FOR_TARGET"; then
11193 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11196 for as_dir in $PATH
11199 test -z "$as_dir" && as_dir=.
11200 for ac_exec_ext in '' $ac_executable_extensions; do
11201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11202 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11212 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11213 if test -n "$DLLTOOL_FOR_TARGET"; then
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11215 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11218 $as_echo "no
" >&6; }
11223 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11224 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11225 set dummy ${ncn_progname}; ac_word=$2
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11227 $as_echo_n "checking
for $ac_word...
" >&6; }
11228 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11229 $as_echo_n "(cached
) " >&6
11231 if test -n "$DLLTOOL_FOR_TARGET"; then
11232 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11235 for as_dir in $PATH
11238 test -z "$as_dir" && as_dir=.
11239 for ac_exec_ext in '' $ac_executable_extensions; do
11240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11241 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11251 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11252 if test -n "$DLLTOOL_FOR_TARGET"; then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11254 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11257 $as_echo "no
" >&6; }
11262 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11266 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11268 if test $build = $target ; then
11269 DLLTOOL_FOR_TARGET="$2"
11271 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11274 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11278 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11284 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11285 if test -n "$with_build_time_tools"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11287 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11288 if test -x $with_build_time_tools/ld; then
11289 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11290 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11292 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11295 $as_echo "no
" >&6; }
11297 elif test $build != $host && test $have_gcc_for_target = yes; then
11298 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11299 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11300 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11303 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11304 # Extract the first word of "ld
", so it can be a program name with args.
11305 set dummy ld; ac_word=$2
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11307 $as_echo_n "checking
for $ac_word...
" >&6; }
11308 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11309 $as_echo_n "(cached
) " >&6
11311 case $LD_FOR_TARGET in
11313 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11317 for as_dir in $gcc_cv_tool_dirs
11320 test -z "$as_dir" && as_dir=.
11321 for ac_exec_ext in '' $ac_executable_extensions; do
11322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11323 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11334 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11335 if test -n "$LD_FOR_TARGET"; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11337 $as_echo "$LD_FOR_TARGET" >&6; }
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11340 $as_echo "no
" >&6; }
11345 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11348 if test -n "$LD_FOR_TARGET"; then
11349 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11350 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11351 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11354 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11355 for ncn_progname in ld; do
11356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11357 set dummy ${ncn_progname}; ac_word=$2
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11359 $as_echo_n "checking
for $ac_word...
" >&6; }
11360 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11361 $as_echo_n "(cached
) " >&6
11363 if test -n "$LD_FOR_TARGET"; then
11364 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11367 for as_dir in $PATH
11370 test -z "$as_dir" && as_dir=.
11371 for ac_exec_ext in '' $ac_executable_extensions; do
11372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11373 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11383 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11384 if test -n "$LD_FOR_TARGET"; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11386 $as_echo "$LD_FOR_TARGET" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11389 $as_echo "no
" >&6; }
11396 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11397 for ncn_progname in ld; do
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11399 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11400 if test -x $with_build_time_tools/${ncn_progname}; then
11401 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11403 $as_echo "yes" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11407 $as_echo "no
" >&6; }
11412 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11413 for ncn_progname in ld; do
11414 if test -n "$ncn_target_tool_prefix"; then
11415 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11416 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11418 $as_echo_n "checking
for $ac_word...
" >&6; }
11419 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11420 $as_echo_n "(cached
) " >&6
11422 if test -n "$LD_FOR_TARGET"; then
11423 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11426 for as_dir in $PATH
11429 test -z "$as_dir" && as_dir=.
11430 for ac_exec_ext in '' $ac_executable_extensions; do
11431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11432 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11442 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11443 if test -n "$LD_FOR_TARGET"; then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11445 $as_echo "$LD_FOR_TARGET" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11448 $as_echo "no
" >&6; }
11453 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11455 set dummy ${ncn_progname}; ac_word=$2
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11457 $as_echo_n "checking
for $ac_word...
" >&6; }
11458 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11459 $as_echo_n "(cached
) " >&6
11461 if test -n "$LD_FOR_TARGET"; then
11462 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11465 for as_dir in $PATH
11468 test -z "$as_dir" && as_dir=.
11469 for ac_exec_ext in '' $ac_executable_extensions; do
11470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11471 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11481 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11482 if test -n "$LD_FOR_TARGET"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11484 $as_echo "$LD_FOR_TARGET" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11487 $as_echo "no
" >&6; }
11492 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11496 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11498 if test $build = $target ; then
11501 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11504 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11508 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11514 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11515 if test -n "$with_build_time_tools"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11517 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11518 if test -x $with_build_time_tools/lipo; then
11519 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11520 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11522 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11525 $as_echo "no
" >&6; }
11527 elif test $build != $host && test $have_gcc_for_target = yes; then
11528 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11529 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11530 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11533 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11534 # Extract the first word of "lipo
", so it can be a program name with args.
11535 set dummy lipo; ac_word=$2
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11537 $as_echo_n "checking
for $ac_word...
" >&6; }
11538 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11539 $as_echo_n "(cached
) " >&6
11541 case $LIPO_FOR_TARGET in
11543 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11547 for as_dir in $gcc_cv_tool_dirs
11550 test -z "$as_dir" && as_dir=.
11551 for ac_exec_ext in '' $ac_executable_extensions; do
11552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11553 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11564 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11565 if test -n "$LIPO_FOR_TARGET"; then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11567 $as_echo "$LIPO_FOR_TARGET" >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11570 $as_echo "no
" >&6; }
11575 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11578 if test -n "$LIPO_FOR_TARGET"; then
11579 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11580 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11581 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11584 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11585 for ncn_progname in lipo; do
11586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11587 set dummy ${ncn_progname}; ac_word=$2
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11589 $as_echo_n "checking
for $ac_word...
" >&6; }
11590 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11591 $as_echo_n "(cached
) " >&6
11593 if test -n "$LIPO_FOR_TARGET"; then
11594 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11597 for as_dir in $PATH
11600 test -z "$as_dir" && as_dir=.
11601 for ac_exec_ext in '' $ac_executable_extensions; do
11602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11603 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11613 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11614 if test -n "$LIPO_FOR_TARGET"; then
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11616 $as_echo "$LIPO_FOR_TARGET" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11619 $as_echo "no
" >&6; }
11626 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11627 for ncn_progname in lipo; do
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11629 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11630 if test -x $with_build_time_tools/${ncn_progname}; then
11631 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11633 $as_echo "yes" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11637 $as_echo "no
" >&6; }
11642 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11643 for ncn_progname in lipo; do
11644 if test -n "$ncn_target_tool_prefix"; then
11645 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11646 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11648 $as_echo_n "checking
for $ac_word...
" >&6; }
11649 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11650 $as_echo_n "(cached
) " >&6
11652 if test -n "$LIPO_FOR_TARGET"; then
11653 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11656 for as_dir in $PATH
11659 test -z "$as_dir" && as_dir=.
11660 for ac_exec_ext in '' $ac_executable_extensions; do
11661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11662 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11672 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11673 if test -n "$LIPO_FOR_TARGET"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11675 $as_echo "$LIPO_FOR_TARGET" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11678 $as_echo "no
" >&6; }
11683 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11685 set dummy ${ncn_progname}; ac_word=$2
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11687 $as_echo_n "checking
for $ac_word...
" >&6; }
11688 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11689 $as_echo_n "(cached
) " >&6
11691 if test -n "$LIPO_FOR_TARGET"; then
11692 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11695 for as_dir in $PATH
11698 test -z "$as_dir" && as_dir=.
11699 for ac_exec_ext in '' $ac_executable_extensions; do
11700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11701 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11711 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11712 if test -n "$LIPO_FOR_TARGET"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11714 $as_echo "$LIPO_FOR_TARGET" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11717 $as_echo "no
" >&6; }
11722 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11726 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11728 if test $build = $target ; then
11729 LIPO_FOR_TARGET="$2"
11731 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11734 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11738 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11744 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11745 if test -n "$with_build_time_tools"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11747 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11748 if test -x $with_build_time_tools/nm; then
11749 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11750 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11752 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11755 $as_echo "no
" >&6; }
11757 elif test $build != $host && test $have_gcc_for_target = yes; then
11758 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11759 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11760 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11763 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11764 # Extract the first word of "nm
", so it can be a program name with args.
11765 set dummy nm; ac_word=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11767 $as_echo_n "checking
for $ac_word...
" >&6; }
11768 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11769 $as_echo_n "(cached
) " >&6
11771 case $NM_FOR_TARGET in
11773 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $gcc_cv_tool_dirs
11780 test -z "$as_dir" && as_dir=.
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11783 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11794 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11795 if test -n "$NM_FOR_TARGET"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11797 $as_echo "$NM_FOR_TARGET" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11800 $as_echo "no
" >&6; }
11805 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11808 if test -n "$NM_FOR_TARGET"; then
11809 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11810 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11811 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11814 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11815 for ncn_progname in nm; do
11816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11817 set dummy ${ncn_progname}; ac_word=$2
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11819 $as_echo_n "checking
for $ac_word...
" >&6; }
11820 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11821 $as_echo_n "(cached
) " >&6
11823 if test -n "$NM_FOR_TARGET"; then
11824 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11827 for as_dir in $PATH
11830 test -z "$as_dir" && as_dir=.
11831 for ac_exec_ext in '' $ac_executable_extensions; do
11832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11833 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11843 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11844 if test -n "$NM_FOR_TARGET"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11846 $as_echo "$NM_FOR_TARGET" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11849 $as_echo "no
" >&6; }
11856 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11857 for ncn_progname in nm; do
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11859 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11860 if test -x $with_build_time_tools/${ncn_progname}; then
11861 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11863 $as_echo "yes" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11867 $as_echo "no
" >&6; }
11872 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11873 for ncn_progname in nm; do
11874 if test -n "$ncn_target_tool_prefix"; then
11875 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11876 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11878 $as_echo_n "checking
for $ac_word...
" >&6; }
11879 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11880 $as_echo_n "(cached
) " >&6
11882 if test -n "$NM_FOR_TARGET"; then
11883 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11886 for as_dir in $PATH
11889 test -z "$as_dir" && as_dir=.
11890 for ac_exec_ext in '' $ac_executable_extensions; do
11891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11892 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11902 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11903 if test -n "$NM_FOR_TARGET"; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11905 $as_echo "$NM_FOR_TARGET" >&6; }
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11908 $as_echo "no
" >&6; }
11913 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11914 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11915 set dummy ${ncn_progname}; ac_word=$2
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11917 $as_echo_n "checking
for $ac_word...
" >&6; }
11918 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11919 $as_echo_n "(cached
) " >&6
11921 if test -n "$NM_FOR_TARGET"; then
11922 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $PATH
11928 test -z "$as_dir" && as_dir=.
11929 for ac_exec_ext in '' $ac_executable_extensions; do
11930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11931 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11941 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11942 if test -n "$NM_FOR_TARGET"; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11944 $as_echo "$NM_FOR_TARGET" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11947 $as_echo "no
" >&6; }
11952 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11956 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11958 if test $build = $target ; then
11961 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11964 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11968 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11974 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11975 if test -n "$with_build_time_tools"; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11977 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11978 if test -x $with_build_time_tools/objdump; then
11979 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11980 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11982 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11985 $as_echo "no
" >&6; }
11987 elif test $build != $host && test $have_gcc_for_target = yes; then
11988 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11989 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11990 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11993 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11994 # Extract the first word of "objdump
", so it can be a program name with args.
11995 set dummy objdump; ac_word=$2
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11997 $as_echo_n "checking
for $ac_word...
" >&6; }
11998 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11999 $as_echo_n "(cached
) " >&6
12001 case $OBJDUMP_FOR_TARGET in
12003 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12007 for as_dir in $gcc_cv_tool_dirs
12010 test -z "$as_dir" && as_dir=.
12011 for ac_exec_ext in '' $ac_executable_extensions; do
12012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12013 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12024 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12025 if test -n "$OBJDUMP_FOR_TARGET"; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12027 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12030 $as_echo "no
" >&6; }
12035 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12038 if test -n "$OBJDUMP_FOR_TARGET"; then
12039 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12040 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12041 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12044 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12045 for ncn_progname in objdump; do
12046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12047 set dummy ${ncn_progname}; ac_word=$2
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12049 $as_echo_n "checking
for $ac_word...
" >&6; }
12050 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12051 $as_echo_n "(cached
) " >&6
12053 if test -n "$OBJDUMP_FOR_TARGET"; then
12054 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12057 for as_dir in $PATH
12060 test -z "$as_dir" && as_dir=.
12061 for ac_exec_ext in '' $ac_executable_extensions; do
12062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12063 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12073 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12074 if test -n "$OBJDUMP_FOR_TARGET"; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12076 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12079 $as_echo "no
" >&6; }
12086 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12087 for ncn_progname in objdump; do
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12089 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12090 if test -x $with_build_time_tools/${ncn_progname}; then
12091 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12093 $as_echo "yes" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12097 $as_echo "no
" >&6; }
12102 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12103 for ncn_progname in objdump; do
12104 if test -n "$ncn_target_tool_prefix"; then
12105 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12106 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12108 $as_echo_n "checking
for $ac_word...
" >&6; }
12109 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12110 $as_echo_n "(cached
) " >&6
12112 if test -n "$OBJDUMP_FOR_TARGET"; then
12113 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12116 for as_dir in $PATH
12119 test -z "$as_dir" && as_dir=.
12120 for ac_exec_ext in '' $ac_executable_extensions; do
12121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12122 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12132 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12133 if test -n "$OBJDUMP_FOR_TARGET"; then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12135 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12138 $as_echo "no
" >&6; }
12143 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12145 set dummy ${ncn_progname}; ac_word=$2
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12147 $as_echo_n "checking
for $ac_word...
" >&6; }
12148 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12149 $as_echo_n "(cached
) " >&6
12151 if test -n "$OBJDUMP_FOR_TARGET"; then
12152 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12155 for as_dir in $PATH
12158 test -z "$as_dir" && as_dir=.
12159 for ac_exec_ext in '' $ac_executable_extensions; do
12160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12161 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12171 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12172 if test -n "$OBJDUMP_FOR_TARGET"; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12174 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12177 $as_echo "no
" >&6; }
12182 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12186 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12188 if test $build = $target ; then
12189 OBJDUMP_FOR_TARGET="$2"
12191 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12194 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12198 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12204 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12205 if test -n "$with_build_time_tools"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12207 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12208 if test -x $with_build_time_tools/ranlib; then
12209 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12210 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12212 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12215 $as_echo "no
" >&6; }
12217 elif test $build != $host && test $have_gcc_for_target = yes; then
12218 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12219 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12220 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12223 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12224 # Extract the first word of "ranlib
", so it can be a program name with args.
12225 set dummy ranlib; ac_word=$2
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12227 $as_echo_n "checking
for $ac_word...
" >&6; }
12228 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12229 $as_echo_n "(cached
) " >&6
12231 case $RANLIB_FOR_TARGET in
12233 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $gcc_cv_tool_dirs
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12243 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12254 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12255 if test -n "$RANLIB_FOR_TARGET"; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12257 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12260 $as_echo "no
" >&6; }
12265 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12268 if test -n "$RANLIB_FOR_TARGET"; then
12269 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12270 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12271 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12274 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12275 for ncn_progname in ranlib; do
12276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12277 set dummy ${ncn_progname}; ac_word=$2
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12279 $as_echo_n "checking
for $ac_word...
" >&6; }
12280 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12281 $as_echo_n "(cached
) " >&6
12283 if test -n "$RANLIB_FOR_TARGET"; then
12284 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12287 for as_dir in $PATH
12290 test -z "$as_dir" && as_dir=.
12291 for ac_exec_ext in '' $ac_executable_extensions; do
12292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12293 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12303 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12304 if test -n "$RANLIB_FOR_TARGET"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12306 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12309 $as_echo "no
" >&6; }
12316 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12317 for ncn_progname in ranlib; do
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12319 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12320 if test -x $with_build_time_tools/${ncn_progname}; then
12321 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12323 $as_echo "yes" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12327 $as_echo "no
" >&6; }
12332 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12333 for ncn_progname in ranlib; do
12334 if test -n "$ncn_target_tool_prefix"; then
12335 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12336 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12338 $as_echo_n "checking
for $ac_word...
" >&6; }
12339 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12340 $as_echo_n "(cached
) " >&6
12342 if test -n "$RANLIB_FOR_TARGET"; then
12343 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12349 test -z "$as_dir" && as_dir=.
12350 for ac_exec_ext in '' $ac_executable_extensions; do
12351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12352 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12362 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12363 if test -n "$RANLIB_FOR_TARGET"; then
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12365 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12368 $as_echo "no
" >&6; }
12373 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12375 set dummy ${ncn_progname}; ac_word=$2
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12377 $as_echo_n "checking
for $ac_word...
" >&6; }
12378 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12379 $as_echo_n "(cached
) " >&6
12381 if test -n "$RANLIB_FOR_TARGET"; then
12382 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12385 for as_dir in $PATH
12388 test -z "$as_dir" && as_dir=.
12389 for ac_exec_ext in '' $ac_executable_extensions; do
12390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12391 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12401 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12402 if test -n "$RANLIB_FOR_TARGET"; then
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12404 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12407 $as_echo "no
" >&6; }
12412 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12416 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12418 if test $build = $target ; then
12419 RANLIB_FOR_TARGET="$2"
12421 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12424 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12428 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12434 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12435 if test -n "$with_build_time_tools"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12437 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12438 if test -x $with_build_time_tools/readelf; then
12439 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12440 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12442 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12445 $as_echo "no
" >&6; }
12447 elif test $build != $host && test $have_gcc_for_target = yes; then
12448 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12449 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12450 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12453 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12454 # Extract the first word of "readelf
", so it can be a program name with args.
12455 set dummy readelf; ac_word=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12457 $as_echo_n "checking
for $ac_word...
" >&6; }
12458 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12459 $as_echo_n "(cached
) " >&6
12461 case $READELF_FOR_TARGET in
12463 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $gcc_cv_tool_dirs
12470 test -z "$as_dir" && as_dir=.
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12484 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12485 if test -n "$READELF_FOR_TARGET"; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12487 $as_echo "$READELF_FOR_TARGET" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12490 $as_echo "no
" >&6; }
12495 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12498 if test -n "$READELF_FOR_TARGET"; then
12499 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12500 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12501 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12504 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12505 for ncn_progname in readelf; do
12506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12507 set dummy ${ncn_progname}; ac_word=$2
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12509 $as_echo_n "checking
for $ac_word...
" >&6; }
12510 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12511 $as_echo_n "(cached
) " >&6
12513 if test -n "$READELF_FOR_TARGET"; then
12514 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12517 for as_dir in $PATH
12520 test -z "$as_dir" && as_dir=.
12521 for ac_exec_ext in '' $ac_executable_extensions; do
12522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12523 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12533 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12534 if test -n "$READELF_FOR_TARGET"; then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12536 $as_echo "$READELF_FOR_TARGET" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12539 $as_echo "no
" >&6; }
12546 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12547 for ncn_progname in readelf; do
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12549 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12550 if test -x $with_build_time_tools/${ncn_progname}; then
12551 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12553 $as_echo "yes" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12557 $as_echo "no
" >&6; }
12562 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12563 for ncn_progname in readelf; do
12564 if test -n "$ncn_target_tool_prefix"; then
12565 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12566 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12568 $as_echo_n "checking
for $ac_word...
" >&6; }
12569 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12570 $as_echo_n "(cached
) " >&6
12572 if test -n "$READELF_FOR_TARGET"; then
12573 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12576 for as_dir in $PATH
12579 test -z "$as_dir" && as_dir=.
12580 for ac_exec_ext in '' $ac_executable_extensions; do
12581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12582 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12592 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12593 if test -n "$READELF_FOR_TARGET"; then
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12595 $as_echo "$READELF_FOR_TARGET" >&6; }
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12598 $as_echo "no
" >&6; }
12603 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12604 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12605 set dummy ${ncn_progname}; ac_word=$2
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12607 $as_echo_n "checking
for $ac_word...
" >&6; }
12608 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12609 $as_echo_n "(cached
) " >&6
12611 if test -n "$READELF_FOR_TARGET"; then
12612 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12615 for as_dir in $PATH
12618 test -z "$as_dir" && as_dir=.
12619 for ac_exec_ext in '' $ac_executable_extensions; do
12620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12621 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12631 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12632 if test -n "$READELF_FOR_TARGET"; then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12634 $as_echo "$READELF_FOR_TARGET" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12637 $as_echo "no
" >&6; }
12642 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12646 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12648 if test $build = $target ; then
12649 READELF_FOR_TARGET="$2"
12651 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12654 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12658 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12664 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12665 if test -n "$with_build_time_tools"; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12667 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12668 if test -x $with_build_time_tools/strip; then
12669 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12670 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12672 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12675 $as_echo "no
" >&6; }
12677 elif test $build != $host && test $have_gcc_for_target = yes; then
12678 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12679 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12680 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12683 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12684 # Extract the first word of "strip
", so it can be a program name with args.
12685 set dummy strip; ac_word=$2
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12687 $as_echo_n "checking
for $ac_word...
" >&6; }
12688 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12689 $as_echo_n "(cached
) " >&6
12691 case $STRIP_FOR_TARGET in
12693 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12697 for as_dir in $gcc_cv_tool_dirs
12700 test -z "$as_dir" && as_dir=.
12701 for ac_exec_ext in '' $ac_executable_extensions; do
12702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12703 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12714 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12715 if test -n "$STRIP_FOR_TARGET"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12717 $as_echo "$STRIP_FOR_TARGET" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12720 $as_echo "no
" >&6; }
12725 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12728 if test -n "$STRIP_FOR_TARGET"; then
12729 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12730 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12731 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12734 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12735 for ncn_progname in strip; do
12736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12737 set dummy ${ncn_progname}; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12739 $as_echo_n "checking
for $ac_word...
" >&6; }
12740 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12741 $as_echo_n "(cached
) " >&6
12743 if test -n "$STRIP_FOR_TARGET"; then
12744 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12747 for as_dir in $PATH
12750 test -z "$as_dir" && as_dir=.
12751 for ac_exec_ext in '' $ac_executable_extensions; do
12752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12753 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12763 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12764 if test -n "$STRIP_FOR_TARGET"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12766 $as_echo "$STRIP_FOR_TARGET" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12769 $as_echo "no
" >&6; }
12776 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12777 for ncn_progname in strip; do
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12779 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12780 if test -x $with_build_time_tools/${ncn_progname}; then
12781 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12783 $as_echo "yes" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12787 $as_echo "no
" >&6; }
12792 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12793 for ncn_progname in strip; do
12794 if test -n "$ncn_target_tool_prefix"; then
12795 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12796 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12798 $as_echo_n "checking
for $ac_word...
" >&6; }
12799 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12800 $as_echo_n "(cached
) " >&6
12802 if test -n "$STRIP_FOR_TARGET"; then
12803 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12809 test -z "$as_dir" && as_dir=.
12810 for ac_exec_ext in '' $ac_executable_extensions; do
12811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12812 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12822 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12823 if test -n "$STRIP_FOR_TARGET"; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12825 $as_echo "$STRIP_FOR_TARGET" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12828 $as_echo "no
" >&6; }
12833 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12835 set dummy ${ncn_progname}; ac_word=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12837 $as_echo_n "checking
for $ac_word...
" >&6; }
12838 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12839 $as_echo_n "(cached
) " >&6
12841 if test -n "$STRIP_FOR_TARGET"; then
12842 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12845 for as_dir in $PATH
12848 test -z "$as_dir" && as_dir=.
12849 for ac_exec_ext in '' $ac_executable_extensions; do
12850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12851 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12861 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12862 if test -n "$STRIP_FOR_TARGET"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12864 $as_echo "$STRIP_FOR_TARGET" >&6; }
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12867 $as_echo "no
" >&6; }
12872 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12876 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12878 if test $build = $target ; then
12879 STRIP_FOR_TARGET="$2"
12881 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12884 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12888 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12894 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12895 if test -n "$with_build_time_tools"; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12897 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12898 if test -x $with_build_time_tools/windres; then
12899 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12900 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12902 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12905 $as_echo "no
" >&6; }
12907 elif test $build != $host && test $have_gcc_for_target = yes; then
12908 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12909 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12910 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12913 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12914 # Extract the first word of "windres
", so it can be a program name with args.
12915 set dummy windres; ac_word=$2
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12917 $as_echo_n "checking
for $ac_word...
" >&6; }
12918 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12919 $as_echo_n "(cached
) " >&6
12921 case $WINDRES_FOR_TARGET in
12923 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12927 for as_dir in $gcc_cv_tool_dirs
12930 test -z "$as_dir" && as_dir=.
12931 for ac_exec_ext in '' $ac_executable_extensions; do
12932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12933 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12944 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12945 if test -n "$WINDRES_FOR_TARGET"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12947 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12950 $as_echo "no
" >&6; }
12955 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12958 if test -n "$WINDRES_FOR_TARGET"; then
12959 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12960 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12961 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12964 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12965 for ncn_progname in windres; do
12966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12967 set dummy ${ncn_progname}; ac_word=$2
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12969 $as_echo_n "checking
for $ac_word...
" >&6; }
12970 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12971 $as_echo_n "(cached
) " >&6
12973 if test -n "$WINDRES_FOR_TARGET"; then
12974 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12993 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12994 if test -n "$WINDRES_FOR_TARGET"; then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12996 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12999 $as_echo "no
" >&6; }
13006 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13007 for ncn_progname in windres; do
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13009 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13010 if test -x $with_build_time_tools/${ncn_progname}; then
13011 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13013 $as_echo "yes" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13017 $as_echo "no
" >&6; }
13022 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13023 for ncn_progname in windres; do
13024 if test -n "$ncn_target_tool_prefix"; then
13025 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13026 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13028 $as_echo_n "checking
for $ac_word...
" >&6; }
13029 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13030 $as_echo_n "(cached
) " >&6
13032 if test -n "$WINDRES_FOR_TARGET"; then
13033 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13036 for as_dir in $PATH
13039 test -z "$as_dir" && as_dir=.
13040 for ac_exec_ext in '' $ac_executable_extensions; do
13041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13042 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13052 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13053 if test -n "$WINDRES_FOR_TARGET"; then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13055 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13058 $as_echo "no
" >&6; }
13063 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13064 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13065 set dummy ${ncn_progname}; ac_word=$2
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13067 $as_echo_n "checking
for $ac_word...
" >&6; }
13068 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13069 $as_echo_n "(cached
) " >&6
13071 if test -n "$WINDRES_FOR_TARGET"; then
13072 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13091 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13092 if test -n "$WINDRES_FOR_TARGET"; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13094 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13097 $as_echo "no
" >&6; }
13102 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13106 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13108 if test $build = $target ; then
13109 WINDRES_FOR_TARGET="$2"
13111 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13114 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13118 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13124 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13125 if test -n "$with_build_time_tools"; then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13127 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13128 if test -x $with_build_time_tools/windmc; then
13129 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13130 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13132 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13135 $as_echo "no
" >&6; }
13137 elif test $build != $host && test $have_gcc_for_target = yes; then
13138 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13139 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13140 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13143 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13144 # Extract the first word of "windmc
", so it can be a program name with args.
13145 set dummy windmc; ac_word=$2
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13147 $as_echo_n "checking
for $ac_word...
" >&6; }
13148 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13149 $as_echo_n "(cached
) " >&6
13151 case $WINDMC_FOR_TARGET in
13153 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13157 for as_dir in $gcc_cv_tool_dirs
13160 test -z "$as_dir" && as_dir=.
13161 for ac_exec_ext in '' $ac_executable_extensions; do
13162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13163 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13174 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13175 if test -n "$WINDMC_FOR_TARGET"; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13177 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13180 $as_echo "no
" >&6; }
13185 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13188 if test -n "$WINDMC_FOR_TARGET"; then
13189 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13190 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13191 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13194 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13195 for ncn_progname in windmc; do
13196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13197 set dummy ${ncn_progname}; ac_word=$2
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13199 $as_echo_n "checking
for $ac_word...
" >&6; }
13200 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13201 $as_echo_n "(cached
) " >&6
13203 if test -n "$WINDMC_FOR_TARGET"; then
13204 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13207 for as_dir in $PATH
13210 test -z "$as_dir" && as_dir=.
13211 for ac_exec_ext in '' $ac_executable_extensions; do
13212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13213 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13223 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13224 if test -n "$WINDMC_FOR_TARGET"; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13226 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13229 $as_echo "no
" >&6; }
13236 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13237 for ncn_progname in windmc; do
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13239 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13240 if test -x $with_build_time_tools/${ncn_progname}; then
13241 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13243 $as_echo "yes" >&6; }
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13247 $as_echo "no
" >&6; }
13252 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13253 for ncn_progname in windmc; do
13254 if test -n "$ncn_target_tool_prefix"; then
13255 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13256 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13258 $as_echo_n "checking
for $ac_word...
" >&6; }
13259 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13260 $as_echo_n "(cached
) " >&6
13262 if test -n "$WINDMC_FOR_TARGET"; then
13263 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13266 for as_dir in $PATH
13269 test -z "$as_dir" && as_dir=.
13270 for ac_exec_ext in '' $ac_executable_extensions; do
13271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13272 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13282 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13283 if test -n "$WINDMC_FOR_TARGET"; then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13285 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13288 $as_echo "no
" >&6; }
13293 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13294 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13295 set dummy ${ncn_progname}; ac_word=$2
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13297 $as_echo_n "checking
for $ac_word...
" >&6; }
13298 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13299 $as_echo_n "(cached
) " >&6
13301 if test -n "$WINDMC_FOR_TARGET"; then
13302 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13305 for as_dir in $PATH
13308 test -z "$as_dir" && as_dir=.
13309 for ac_exec_ext in '' $ac_executable_extensions; do
13310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13311 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13321 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13322 if test -n "$WINDMC_FOR_TARGET"; then
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13324 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13327 $as_echo "no
" >&6; }
13332 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13336 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13338 if test $build = $target ; then
13339 WINDMC_FOR_TARGET="$2"
13341 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13344 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13348 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13352 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13355 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13356 if test "x
${build}" != "x
${host}" ; then
13357 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13358 # We already found the complete path
13359 ac_dir=`dirname $AR_FOR_TARGET`
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13361 $as_echo "pre-installed
in $ac_dir" >&6; }
13363 # Canadian cross, just use what we found
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13365 $as_echo "pre-installed
" >&6; }
13369 case " ${configdirs} " in
13374 if test $ok = yes; then
13375 # An in-tree tool is available and we can use it
13376 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13378 $as_echo "just compiled
" >&6; }
13379 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13380 # We already found the complete path
13381 ac_dir=`dirname $AR_FOR_TARGET`
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13383 $as_echo "pre-installed
in $ac_dir" >&6; }
13384 elif test "x
$target" = "x
$host"; then
13385 # We can use an host tool
13386 AR_FOR_TARGET='$(AR)'
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13388 $as_echo "host tool
" >&6; }
13390 # We need a cross tool
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13392 $as_echo "pre-installed
" >&6; }
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13397 $as_echo_n "checking where to
find the target as...
" >&6; }
13398 if test "x
${build}" != "x
${host}" ; then
13399 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13400 # We already found the complete path
13401 ac_dir=`dirname $AS_FOR_TARGET`
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13403 $as_echo "pre-installed
in $ac_dir" >&6; }
13405 # Canadian cross, just use what we found
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13407 $as_echo "pre-installed
" >&6; }
13411 case " ${configdirs} " in
13416 if test $ok = yes; then
13417 # An in-tree tool is available and we can use it
13418 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13420 $as_echo "just compiled
" >&6; }
13421 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13422 # We already found the complete path
13423 ac_dir=`dirname $AS_FOR_TARGET`
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13425 $as_echo "pre-installed
in $ac_dir" >&6; }
13426 elif test "x
$target" = "x
$host"; then
13427 # We can use an host tool
13428 AS_FOR_TARGET='$(AS)'
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13430 $as_echo "host tool
" >&6; }
13432 # We need a cross tool
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13434 $as_echo "pre-installed
" >&6; }
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13439 $as_echo_n "checking where to
find the target cc...
" >&6; }
13440 if test "x
${build}" != "x
${host}" ; then
13441 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13442 # We already found the complete path
13443 ac_dir=`dirname $CC_FOR_TARGET`
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13445 $as_echo "pre-installed
in $ac_dir" >&6; }
13447 # Canadian cross, just use what we found
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13449 $as_echo "pre-installed
" >&6; }
13453 case " ${configdirs} " in
13458 if test $ok = yes; then
13459 # An in-tree tool is available and we can use it
13460 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13462 $as_echo "just compiled
" >&6; }
13463 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13464 # We already found the complete path
13465 ac_dir=`dirname $CC_FOR_TARGET`
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13467 $as_echo "pre-installed
in $ac_dir" >&6; }
13468 elif test "x
$target" = "x
$host"; then
13469 # We can use an host tool
13470 CC_FOR_TARGET='$(CC)'
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13472 $as_echo "host tool
" >&6; }
13474 # We need a cross tool
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13476 $as_echo "pre-installed
" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13481 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13482 if test "x
${build}" != "x
${host}" ; then
13483 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13484 # We already found the complete path
13485 ac_dir=`dirname $CXX_FOR_TARGET`
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13487 $as_echo "pre-installed
in $ac_dir" >&6; }
13489 # Canadian cross, just use what we found
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13491 $as_echo "pre-installed
" >&6; }
13495 case " ${configdirs} " in
13499 case ,${enable_languages}, in
13503 if test $ok = yes; then
13504 # An in-tree tool is available and we can use it
13505 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'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13507 $as_echo "just compiled
" >&6; }
13508 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13509 # We already found the complete path
13510 ac_dir=`dirname $CXX_FOR_TARGET`
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13512 $as_echo "pre-installed
in $ac_dir" >&6; }
13513 elif test "x
$target" = "x
$host"; then
13514 # We can use an host tool
13515 CXX_FOR_TARGET='$(CXX)'
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13517 $as_echo "host tool
" >&6; }
13519 # We need a cross tool
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13521 $as_echo "pre-installed
" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13526 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13527 if test "x
${build}" != "x
${host}" ; then
13528 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13529 # We already found the complete path
13530 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13532 $as_echo "pre-installed
in $ac_dir" >&6; }
13534 # Canadian cross, just use what we found
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13536 $as_echo "pre-installed
" >&6; }
13540 case " ${configdirs} " in
13544 case ,${enable_languages}, in
13548 if test $ok = yes; then
13549 # An in-tree tool is available and we can use it
13550 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'
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13552 $as_echo "just compiled
" >&6; }
13553 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13554 # We already found the complete path
13555 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13557 $as_echo "pre-installed
in $ac_dir" >&6; }
13558 elif test "x
$target" = "x
$host"; then
13559 # We can use an host tool
13560 RAW_CXX_FOR_TARGET='$(CXX)'
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13562 $as_echo "host tool
" >&6; }
13564 # We need a cross tool
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13566 $as_echo "pre-installed
" >&6; }
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13571 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13572 if test "x
${build}" != "x
${host}" ; then
13573 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13574 # We already found the complete path
13575 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13577 $as_echo "pre-installed
in $ac_dir" >&6; }
13579 # Canadian cross, just use what we found
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13581 $as_echo "pre-installed
" >&6; }
13585 case " ${configdirs} " in
13590 if test $ok = yes; then
13591 # An in-tree tool is available and we can use it
13592 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13594 $as_echo "just compiled
" >&6; }
13595 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13596 # We already found the complete path
13597 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13599 $as_echo "pre-installed
in $ac_dir" >&6; }
13600 elif test "x
$target" = "x
$host"; then
13601 # We can use an host tool
13602 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13604 $as_echo "host tool
" >&6; }
13606 # We need a cross tool
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13608 $as_echo "pre-installed
" >&6; }
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13613 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13614 if test "x
${build}" != "x
${host}" ; then
13615 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13616 # We already found the complete path
13617 ac_dir=`dirname $GCC_FOR_TARGET`
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13619 $as_echo "pre-installed
in $ac_dir" >&6; }
13621 # Canadian cross, just use what we found
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13623 $as_echo "pre-installed
" >&6; }
13627 case " ${configdirs} " in
13632 if test $ok = yes; then
13633 # An in-tree tool is available and we can use it
13634 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13636 $as_echo "just compiled
" >&6; }
13637 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13638 # We already found the complete path
13639 ac_dir=`dirname $GCC_FOR_TARGET`
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13641 $as_echo "pre-installed
in $ac_dir" >&6; }
13642 elif test "x
$target" = "x
$host"; then
13643 # We can use an host tool
13644 GCC_FOR_TARGET='$()'
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13646 $as_echo "host tool
" >&6; }
13648 # We need a cross tool
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13650 $as_echo "pre-installed
" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13655 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13656 if test "x
${build}" != "x
${host}" ; then
13657 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13658 # We already found the complete path
13659 ac_dir=`dirname $GCJ_FOR_TARGET`
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13661 $as_echo "pre-installed
in $ac_dir" >&6; }
13663 # Canadian cross, just use what we found
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13665 $as_echo "pre-installed
" >&6; }
13669 case " ${configdirs} " in
13673 case ,${enable_languages}, in
13677 if test $ok = yes; then
13678 # An in-tree tool is available and we can use it
13679 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13681 $as_echo "just compiled
" >&6; }
13682 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13683 # We already found the complete path
13684 ac_dir=`dirname $GCJ_FOR_TARGET`
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13686 $as_echo "pre-installed
in $ac_dir" >&6; }
13687 elif test "x
$target" = "x
$host"; then
13688 # We can use an host tool
13689 GCJ_FOR_TARGET='$(GCJ)'
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13691 $as_echo "host tool
" >&6; }
13693 # We need a cross tool
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13695 $as_echo "pre-installed
" >&6; }
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13700 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13701 if test "x
${build}" != "x
${host}" ; then
13702 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13703 # We already found the complete path
13704 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13706 $as_echo "pre-installed
in $ac_dir" >&6; }
13708 # Canadian cross, just use what we found
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13710 $as_echo "pre-installed
" >&6; }
13714 case " ${configdirs} " in
13718 case ,${enable_languages}, in
13722 if test $ok = yes; then
13723 # An in-tree tool is available and we can use it
13724 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13726 $as_echo "just compiled
" >&6; }
13727 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13728 # We already found the complete path
13729 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13731 $as_echo "pre-installed
in $ac_dir" >&6; }
13732 elif test "x
$target" = "x
$host"; then
13733 # We can use an host tool
13734 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13736 $as_echo "host tool
" >&6; }
13738 # We need a cross tool
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13740 $as_echo "pre-installed
" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13745 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13746 if test "x
${build}" != "x
${host}" ; then
13747 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13748 # We already found the complete path
13749 ac_dir=`dirname $GOC_FOR_TARGET`
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13751 $as_echo "pre-installed
in $ac_dir" >&6; }
13753 # Canadian cross, just use what we found
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13755 $as_echo "pre-installed
" >&6; }
13759 case " ${configdirs} " in
13763 case ,${enable_languages}, in
13767 if test $ok = yes; then
13768 # An in-tree tool is available and we can use it
13769 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13771 $as_echo "just compiled
" >&6; }
13772 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13773 # We already found the complete path
13774 ac_dir=`dirname $GOC_FOR_TARGET`
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13776 $as_echo "pre-installed
in $ac_dir" >&6; }
13777 elif test "x
$target" = "x
$host"; then
13778 # We can use an host tool
13779 GOC_FOR_TARGET='$(GOC)'
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13781 $as_echo "host tool
" >&6; }
13783 # We need a cross tool
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13785 $as_echo "pre-installed
" >&6; }
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13790 $as_echo_n "checking where to
find the target ld...
" >&6; }
13791 if test "x
${build}" != "x
${host}" ; then
13792 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13793 # We already found the complete path
13794 ac_dir=`dirname $LD_FOR_TARGET`
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13796 $as_echo "pre-installed
in $ac_dir" >&6; }
13798 # Canadian cross, just use what we found
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13800 $as_echo "pre-installed
" >&6; }
13804 case " ${configdirs} " in
13809 if test $ok = yes; then
13810 # An in-tree tool is available and we can use it
13811 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13813 $as_echo "just compiled
" >&6; }
13814 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13815 # We already found the complete path
13816 ac_dir=`dirname $LD_FOR_TARGET`
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13818 $as_echo "pre-installed
in $ac_dir" >&6; }
13819 elif test "x
$target" = "x
$host"; then
13820 # We can use an host tool
13821 LD_FOR_TARGET='$(LD)'
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13823 $as_echo "host tool
" >&6; }
13825 # We need a cross tool
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13827 $as_echo "pre-installed
" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13832 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13833 if test "x
${build}" != "x
${host}" ; then
13834 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13835 # We already found the complete path
13836 ac_dir=`dirname $LIPO_FOR_TARGET`
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13838 $as_echo "pre-installed
in $ac_dir" >&6; }
13840 # Canadian cross, just use what we found
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13842 $as_echo "pre-installed
" >&6; }
13845 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13846 # We already found the complete path
13847 ac_dir=`dirname $LIPO_FOR_TARGET`
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13849 $as_echo "pre-installed
in $ac_dir" >&6; }
13850 elif test "x
$target" = "x
$host"; then
13851 # We can use an host tool
13852 LIPO_FOR_TARGET='$(LIPO)'
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13854 $as_echo "host tool
" >&6; }
13856 # We need a cross tool
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13858 $as_echo "pre-installed
" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13863 $as_echo_n "checking where to
find the target nm...
" >&6; }
13864 if test "x
${build}" != "x
${host}" ; then
13865 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13866 # We already found the complete path
13867 ac_dir=`dirname $NM_FOR_TARGET`
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13869 $as_echo "pre-installed
in $ac_dir" >&6; }
13871 # Canadian cross, just use what we found
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13873 $as_echo "pre-installed
" >&6; }
13877 case " ${configdirs} " in
13882 if test $ok = yes; then
13883 # An in-tree tool is available and we can use it
13884 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13886 $as_echo "just compiled
" >&6; }
13887 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13888 # We already found the complete path
13889 ac_dir=`dirname $NM_FOR_TARGET`
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13891 $as_echo "pre-installed
in $ac_dir" >&6; }
13892 elif test "x
$target" = "x
$host"; then
13893 # We can use an host tool
13894 NM_FOR_TARGET='$(NM)'
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13896 $as_echo "host tool
" >&6; }
13898 # We need a cross tool
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13900 $as_echo "pre-installed
" >&6; }
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13905 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13906 if test "x
${build}" != "x
${host}" ; then
13907 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13908 # We already found the complete path
13909 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13911 $as_echo "pre-installed
in $ac_dir" >&6; }
13913 # Canadian cross, just use what we found
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13915 $as_echo "pre-installed
" >&6; }
13919 case " ${configdirs} " in
13924 if test $ok = yes; then
13925 # An in-tree tool is available and we can use it
13926 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13928 $as_echo "just compiled
" >&6; }
13929 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13930 # We already found the complete path
13931 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13933 $as_echo "pre-installed
in $ac_dir" >&6; }
13934 elif test "x
$target" = "x
$host"; then
13935 # We can use an host tool
13936 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13938 $as_echo "host tool
" >&6; }
13940 # We need a cross tool
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13942 $as_echo "pre-installed
" >&6; }
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13947 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13948 if test "x
${build}" != "x
${host}" ; then
13949 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13950 # We already found the complete path
13951 ac_dir=`dirname $RANLIB_FOR_TARGET`
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13953 $as_echo "pre-installed
in $ac_dir" >&6; }
13955 # Canadian cross, just use what we found
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13957 $as_echo "pre-installed
" >&6; }
13961 case " ${configdirs} " in
13966 if test $ok = yes; then
13967 # An in-tree tool is available and we can use it
13968 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13970 $as_echo "just compiled
" >&6; }
13971 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13972 # We already found the complete path
13973 ac_dir=`dirname $RANLIB_FOR_TARGET`
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13975 $as_echo "pre-installed
in $ac_dir" >&6; }
13976 elif test "x
$target" = "x
$host"; then
13977 # We can use an host tool
13978 RANLIB_FOR_TARGET='$(RANLIB)'
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13980 $as_echo "host tool
" >&6; }
13982 # We need a cross tool
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13984 $as_echo "pre-installed
" >&6; }
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
13989 $as_echo_n "checking where to
find the target readelf...
" >&6; }
13990 if test "x
${build}" != "x
${host}" ; then
13991 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
13992 # We already found the complete path
13993 ac_dir=`dirname $READELF_FOR_TARGET`
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13995 $as_echo "pre-installed
in $ac_dir" >&6; }
13997 # Canadian cross, just use what we found
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13999 $as_echo "pre-installed
" >&6; }
14003 case " ${configdirs} " in
14008 if test $ok = yes; then
14009 # An in-tree tool is available and we can use it
14010 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14012 $as_echo "just compiled
" >&6; }
14013 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14014 # We already found the complete path
14015 ac_dir=`dirname $READELF_FOR_TARGET`
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14017 $as_echo "pre-installed
in $ac_dir" >&6; }
14018 elif test "x
$target" = "x
$host"; then
14019 # We can use an host tool
14020 READELF_FOR_TARGET='$(READELF)'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14022 $as_echo "host tool
" >&6; }
14024 # We need a cross tool
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14026 $as_echo "pre-installed
" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14031 $as_echo_n "checking where to
find the target strip...
" >&6; }
14032 if test "x
${build}" != "x
${host}" ; then
14033 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14034 # We already found the complete path
14035 ac_dir=`dirname $STRIP_FOR_TARGET`
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14037 $as_echo "pre-installed
in $ac_dir" >&6; }
14039 # Canadian cross, just use what we found
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14041 $as_echo "pre-installed
" >&6; }
14045 case " ${configdirs} " in
14050 if test $ok = yes; then
14051 # An in-tree tool is available and we can use it
14052 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14054 $as_echo "just compiled
" >&6; }
14055 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14056 # We already found the complete path
14057 ac_dir=`dirname $STRIP_FOR_TARGET`
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14059 $as_echo "pre-installed
in $ac_dir" >&6; }
14060 elif test "x
$target" = "x
$host"; then
14061 # We can use an host tool
14062 STRIP_FOR_TARGET='$(STRIP)'
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14064 $as_echo "host tool
" >&6; }
14066 # We need a cross tool
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14068 $as_echo "pre-installed
" >&6; }
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14073 $as_echo_n "checking where to
find the target windres...
" >&6; }
14074 if test "x
${build}" != "x
${host}" ; then
14075 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14076 # We already found the complete path
14077 ac_dir=`dirname $WINDRES_FOR_TARGET`
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14079 $as_echo "pre-installed
in $ac_dir" >&6; }
14081 # Canadian cross, just use what we found
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14083 $as_echo "pre-installed
" >&6; }
14087 case " ${configdirs} " in
14092 if test $ok = yes; then
14093 # An in-tree tool is available and we can use it
14094 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14096 $as_echo "just compiled
" >&6; }
14097 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14098 # We already found the complete path
14099 ac_dir=`dirname $WINDRES_FOR_TARGET`
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14101 $as_echo "pre-installed
in $ac_dir" >&6; }
14102 elif test "x
$target" = "x
$host"; then
14103 # We can use an host tool
14104 WINDRES_FOR_TARGET='$(WINDRES)'
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14106 $as_echo "host tool
" >&6; }
14108 # We need a cross tool
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14110 $as_echo "pre-installed
" >&6; }
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14115 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14116 if test "x
${build}" != "x
${host}" ; then
14117 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14118 # We already found the complete path
14119 ac_dir=`dirname $WINDMC_FOR_TARGET`
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14121 $as_echo "pre-installed
in $ac_dir" >&6; }
14123 # Canadian cross, just use what we found
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14125 $as_echo "pre-installed
" >&6; }
14129 case " ${configdirs} " in
14134 if test $ok = yes; then
14135 # An in-tree tool is available and we can use it
14136 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14138 $as_echo "just compiled
" >&6; }
14139 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14140 # We already found the complete path
14141 ac_dir=`dirname $WINDMC_FOR_TARGET`
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14143 $as_echo "pre-installed
in $ac_dir" >&6; }
14144 elif test "x
$target" = "x
$host"; then
14145 # We can use an host tool
14146 WINDMC_FOR_TARGET='$(WINDMC)'
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14148 $as_echo "host tool
" >&6; }
14150 # We need a cross tool
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14152 $as_echo "pre-installed
" >&6; }
14160 # Certain tools may need extra flags.
14161 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14162 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14163 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14165 # When building target libraries, except in a Canadian cross, we use
14166 # the same toolchain as the compiler we just built.
14167 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14168 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14169 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14170 if test $host = $build; then
14171 case " $configdirs " in
14173 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14174 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14175 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14185 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14186 # Check whether --enable-maintainer-mode was given.
14187 if test "${enable_maintainer_mode+set}" = set; then :
14188 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14190 USE_MAINTAINER_MODE=no
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14194 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14197 if test "$USE_MAINTAINER_MODE" = yes; then
14198 MAINTAINER_MODE_TRUE=
14199 MAINTAINER_MODE_FALSE='#'
14201 MAINTAINER_MODE_TRUE='#'
14202 MAINTAINER_MODE_FALSE=
14204 MAINT=$MAINTAINER_MODE_TRUE
14206 # ---------------------
14207 # GCC bootstrap support
14208 # ---------------------
14210 # Stage specific cflags for build.
14215 yes) stage1_cflags="-g -Wa,-J" ;;
14216 *) stage1_cflags="-g -J" ;;
14222 # Enable --enable-checking in stage1 of the compiler.
14223 # Check whether --enable-stage1-checking was given.
14224 if test "${enable_stage1_checking+set}" = set; then :
14225 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14227 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14228 stage1_checking=--enable-checking=yes,types
14230 stage1_checking=--enable-checking=$enable_checking,types
14236 # Enable -Werror in bootstrap stage2 and later.
14237 # Check whether --enable-werror was given.
14238 if test "${enable_werror+set}" = set; then :
14239 enableval=$enable_werror;
14241 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14248 case ${enable_werror} in
14249 yes) stage2_werror_flag="--enable-werror-always" ;;
14250 *) stage2_werror_flag="" ;;
14254 # Specify what files to not compare during bootstrap.
14256 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14258 hppa*64*-*-hpux*) ;;
14259 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14260 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14264 ac_config_files="$ac_config_files Makefile
"
14266 cat >confcache <<\_ACEOF
14267 # This file is a shell script that caches the results of configure
14268 # tests run on this system so they can be shared between configure
14269 # scripts and configure runs, see configure's option --config-cache.
14270 # It is not useful on other systems. If it contains results you don't
14271 # want to keep, you may remove or edit it.
14273 # config.status only pays attention to the cache file if you give it
14274 # the --recheck option to rerun configure.
14276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14278 # following values.
14282 # The following way of writing the cache mishandles newlines in values,
14283 # but we know of no workaround that is simple, portable, and efficient.
14284 # So, we kill variables containing newlines.
14285 # Ultrix sh set writes to stderr and can't be redirected directly,
14286 # and sets the high bit in the cache file unless we assign to the vars.
14288 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14289 eval ac_val=\$$ac_var
14293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14294 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14297 _ | IFS | as_nl) ;; #(
14298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14299 *) { eval $ac_var=; unset $ac_var;} ;;
14305 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14306 *${as_nl}ac_space=\ *)
14307 # `set' does not quote correctly, so add quotes: double-quote
14308 # substitution turns \\\\ into \\, and sed turns \\ into \.
14311 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14314 # `set' quotes correctly as required by POSIX, so do not add quotes.
14315 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14324 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14326 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14328 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14329 if test -w "$cache_file"; then
14330 test "x
$cache_file" != "x
/dev
/null
" &&
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14332 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14333 cat confcache >$cache_file
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14336 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14341 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14342 # Let make expand exec_prefix.
14343 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14345 # Transform confdefs.h into DEFS.
14346 # Protect against shell expansion while executing Makefile rules.
14347 # Protect against Makefile macro expansion.
14349 # If the first sed substitution is executed (which looks for macros that
14350 # take arguments), then branch to the quote section. Otherwise,
14351 # look for a macro that doesn't take arguments.
14361 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14363 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14367 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14380 DEFS=`sed -n "$ac_script" confdefs.h`
14385 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14386 # 1. Remove the extension, and $U if already installed.
14387 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14388 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14389 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14390 # will be set to the directory where LIBOBJS objects are built.
14391 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14392 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14394 LIBOBJS=$ac_libobjs
14396 LTLIBOBJS=$ac_ltlibobjs
14400 : ${CONFIG_STATUS=./config.status}
14402 ac_clean_files_save=$ac_clean_files
14403 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14405 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14407 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14409 # Generated by $as_me.
14410 # Run this file to recreate the current configuration.
14411 # Compiler output produced by configure, useful for debugging
14412 # configure, is in config.log if it exists.
14415 ac_cs_recheck=false
14418 SHELL=\${CONFIG_SHELL-$SHELL}
14421 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14422 ## -------------------- ##
14423 ## M4sh Initialization. ##
14424 ## -------------------- ##
14426 # Be more Bourne compatible
14427 DUALCASE=1; export DUALCASE # for MKS sh
14428 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14431 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14432 # is contrary to our usage. Disable this feature.
14433 alias -g '${1+"$@"}'='"$@"'
14434 setopt NO_GLOB_SUBST
14436 case `(set -o) 2>/dev/null` in #(
14448 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14449 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14450 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14451 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14452 # Prefer a ksh shell builtin over an external printf program on Solaris,
14453 # but without wasting forks for bash or zsh.
14454 if test -z "$BASH_VERSION$ZSH_VERSION" \
14455 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14456 as_echo
='print -r --'
14457 as_echo_n
='print -rn --'
14458 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14459 as_echo
='printf %s\n'
14460 as_echo_n
='printf %s'
14462 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14463 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14464 as_echo_n
='/usr/ucb/echo -n'
14466 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14467 as_echo_n_body
='eval
14471 expr "X$arg" : "X\\(.*\\)$as_nl";
14472 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14474 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14476 export as_echo_n_body
14477 as_echo_n
='sh -c $as_echo_n_body as_echo'
14479 export as_echo_body
14480 as_echo
='sh -c $as_echo_body as_echo'
14483 # The user is always right.
14484 if test "${PATH_SEPARATOR+set}" != set; then
14486 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14487 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14494 # We need space, tab and new line, in precisely that order. Quoting is
14495 # there to prevent editors from complaining about space-tab.
14496 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14497 # splitting by setting IFS to empty value.)
14500 # Find who we are. Look in the path if we contain no directory separator.
14502 *[\\/]* ) as_myself
=$0 ;;
14503 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14504 for as_dir
in $PATH
14507 test -z "$as_dir" && as_dir
=.
14508 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14514 # We did not find ourselves, most probably we were run as `sh COMMAND'
14515 # in which case we are not to be found in the path.
14516 if test "x$as_myself" = x
; then
14519 if test ! -f "$as_myself"; then
14520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14524 # Unset variables that we do not need and which cause bugs (e.g. in
14525 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14526 # suppresses any "Segmentation fault" message there. '((' could
14527 # trigger a bug in pdksh 5.2.14.
14528 for as_var
in BASH_ENV ENV MAIL MAILPATH
14529 do eval test x\
${$as_var+set} = xset \
14530 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14543 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14546 # as_fn_error ERROR [LINENO LOG_FD]
14547 # ---------------------------------
14548 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14549 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14550 # script with status $?, using 1 if that was 0.
14553 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14555 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14558 $as_echo "$as_me: error: $1" >&2
14559 as_fn_exit
$as_status
14563 # as_fn_set_status STATUS
14564 # -----------------------
14565 # Set $? to STATUS, without forking.
14566 as_fn_set_status
()
14569 } # as_fn_set_status
14571 # as_fn_exit STATUS
14572 # -----------------
14573 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14577 as_fn_set_status
$1
14583 # Portably unset VAR.
14586 { eval $1=; unset $1;}
14588 as_unset
=as_fn_unset
14589 # as_fn_append VAR VALUE
14590 # ----------------------
14591 # Append the text in VALUE to the end of the definition contained in VAR. Take
14592 # advantage of any shell optimizations that allow amortized linear growth over
14593 # repeated appends, instead of the typical quadratic growth present in naive
14595 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14596 eval 'as_fn_append ()
14607 # as_fn_arith ARG...
14608 # ------------------
14609 # Perform arithmetic evaluation on the ARGs, and store the result in the
14610 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14611 # must be portable across $(()) and expr.
14612 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14613 eval 'as_fn_arith ()
14620 as_val
=`expr "$@" || test $? -eq 1`
14625 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14626 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14632 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14633 as_basename
=basename
14638 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14644 as_me
=`$as_basename -- "$0" ||
14645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14646 X"$0" : 'X\(//\)$' \| \
14647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14649 sed '/^.*\/\([^/][^/]*\)\/*$/{
14663 # Avoid depending upon Character Ranges.
14664 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14665 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14666 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14667 as_cr_digits
='0123456789'
14668 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14670 ECHO_C
= ECHO_N
= ECHO_T
=
14671 case `echo -n x` in #(((((
14673 case `echo 'xy\c'` in
14674 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14676 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14683 rm -f conf$$ conf$$.exe conf$$.
file
14684 if test -d conf$$.dir
; then
14685 rm -f conf$$.dir
/conf$$.
file
14688 mkdir conf$$.dir
2>/dev
/null
14690 if (echo >conf$$.
file) 2>/dev
/null
; then
14691 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14693 # ... but there are two gotchas:
14694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14696 # In both cases, we have to default to `cp -p'.
14697 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14699 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14707 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14708 rmdir conf$$.dir
2>/dev
/null
14713 # Create "$as_dir" as a directory, including parents if necessary.
14718 -*) as_dir
=.
/$as_dir;;
14720 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14724 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14725 *) as_qdir
=$as_dir;;
14727 as_dirs
="'$as_qdir' $as_dirs"
14728 as_dir
=`$as_dirname -- "$as_dir" ||
14729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14730 X"$as_dir" : 'X\(//\)[^/]' \| \
14731 X"$as_dir" : 'X\(//\)$' \| \
14732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14733 $as_echo X"$as_dir" |
14734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14738 /^X\(\/\/\)[^/].*/{
14751 test -d "$as_dir" && break
14753 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14754 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14758 if mkdir
-p .
2>/dev
/null
; then
14759 as_mkdir_p
='mkdir -p "$as_dir"'
14761 test -d .
/-p && rmdir .
/-p
14765 if test -x / >/dev
/null
2>&1; then
14766 as_test_x
='test -x'
14768 if ls -dL / >/dev
/null
2>&1; then
14775 if test -d "$1"; then
14781 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14782 ???[sx]*):;;*)false;;esac;fi
14786 as_executable_p
=$as_test_x
14788 # Sed expression to map a string onto a valid CPP name.
14789 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14791 # Sed expression to map a string onto a valid variable name.
14792 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14796 ## ----------------------------------- ##
14797 ## Main body of $CONFIG_STATUS script. ##
14798 ## ----------------------------------- ##
14800 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14803 # Save the log message, to keep $0 and so on meaningful, and to
14804 # report actual input values of CONFIG_FILES etc. instead of their
14805 # values after options handling.
14807 This file was extended by $as_me, which was
14808 generated by GNU Autoconf 2.64. Invocation command line was
14810 CONFIG_FILES = $CONFIG_FILES
14811 CONFIG_HEADERS = $CONFIG_HEADERS
14812 CONFIG_LINKS = $CONFIG_LINKS
14813 CONFIG_COMMANDS = $CONFIG_COMMANDS
14816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14821 case $ac_config_files in *"
14822 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14828 # Files that config.status was made for.
14829 config_files="$ac_config_files"
14833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14835 \`$as_me' instantiates files and other configuration actions
14836 from templates according to the current configuration. Unless the files
14837 and actions are specified as TAGs, all are instantiated by default.
14839 Usage: $0 [OPTION]... [TAG]...
14841 -h, --help print this help, then exit
14842 -V, --version print version number and configuration settings, then exit
14843 -q, --quiet, --silent
14844 do not print progress messages
14845 -d, --debug don't remove temporary files
14846 --recheck update $as_me by reconfiguring in the same conditions
14847 --file=FILE[:TEMPLATE]
14848 instantiate the configuration file FILE
14850 Configuration files:
14853 Report bugs to the package provider."
14856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14859 configured by $0, generated by GNU Autoconf 2.64,
14860 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14862 Copyright (C) 2009 Free Software Foundation, Inc.
14863 This config.status script is free software; the Free Software Foundation
14864 gives unlimited permission to copy, distribute and modify it."
14870 test -n "\$AWK" || AWK=awk
14873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14874 # The default lists apply if the user does not specify any file.
14880 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14881 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14892 # Handling of the options.
14893 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14895 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14896 $as_echo "$ac_cs_version"; exit ;;
14897 --debug |
--debu |
--deb |
--de |
--d |
-d )
14899 --file |
--fil |
--fi |
--f )
14902 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14904 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14905 ac_need_defaults
=false
;;
14906 --he |
--h |
--help |
--hel |
-h )
14907 $as_echo "$ac_cs_usage"; exit ;;
14908 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14909 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14912 # This is an error.
14913 -*) as_fn_error
"unrecognized option: \`$1'
14914 Try \`$0 --help' for more information." ;;
14916 *) as_fn_append ac_config_targets
" $1"
14917 ac_need_defaults
=false
;;
14923 ac_configure_extra_args
=
14925 if $ac_cs_silent; then
14927 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14932 if \$ac_cs_recheck; then
14933 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14935 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14936 CONFIG_SHELL='$SHELL'
14937 export CONFIG_SHELL
14942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14947 ## Running $as_me. ##
14953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957 extrasub_build="$extrasub_build"
14958 extrasub_host="$extrasub_host"
14959 extrasub_target="$extrasub_target"
14963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14965 # Handling of arguments.
14966 for ac_config_target
in $ac_config_targets
14968 case $ac_config_target in
14969 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14971 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14976 # If the user did not use the arguments to specify the items to instantiate,
14977 # then the envvar interface is used. Set only those that are not.
14978 # We use the long form for the default assignment because of an extremely
14979 # bizarre bug on SunOS 4.1.3.
14980 if $ac_need_defaults; then
14981 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14984 # Have a temporary directory for convenience. Make it in the build tree
14985 # simply because there is no reason against having it here, and in addition,
14986 # creating and moving files from /tmp can sometimes cause problems.
14987 # Hook for its removal unless debugging.
14988 # Note that there is a small window in which the directory will not be cleaned:
14989 # after its creation but before its name has been assigned to `$tmp'.
14993 trap 'exit_status=$?
14994 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14996 trap 'as_fn_exit 1' 1 2 13 15
14998 # Create a (secure) tmp directory for tmp files.
15001 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15002 test -n "$tmp" && test -d "$tmp"
15005 tmp
=.
/conf$$
-$RANDOM
15006 (umask 077 && mkdir
"$tmp")
15007 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15009 # Set up the scripts for CONFIG_FILES section.
15010 # No need to generate them if there are no CONFIG_FILES.
15011 # This happens for instance with `./config.status config.h'.
15012 if test -n "$CONFIG_FILES"; then
15014 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15015 ac_cs_awk_getline
=:
15016 ac_cs_awk_pipe_init
=
15017 ac_cs_awk_read_file
='
15018 while ((getline aline < (F[key])) > 0)
15021 ac_cs_awk_pipe_fini
=
15023 ac_cs_awk_getline
=false
15024 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15025 ac_cs_awk_read_file
='
15027 print "cat " F[key] " &&"
15028 '$ac_cs_awk_pipe_init
15029 # The final `:' finishes the AND list.
15030 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15032 ac_cr
=`echo X | tr X '\015'`
15033 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15034 # But we know of no other shell where ac_cr would be empty at this
15035 # point, so we can use a bashism as a fallback.
15036 if test "x$ac_cr" = x
; then
15037 eval ac_cr
=\$
\'\\r
\'
15039 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15040 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15043 ac_cs_awk_cr
=$ac_cr
15046 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15049 # Create commands to substitute file output variables.
15051 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15052 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15053 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15056 } >conf$
$files.sh
&&
15057 . .
/conf$
$files.sh ||
15058 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15059 rm -f conf$
$files.sh
15062 echo "cat >conf$$subs.awk <<_ACEOF" &&
15063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15065 } >conf$$subs.sh ||
15066 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15069 for ac_last_try in false false false false false :; do
15070 . ./conf$$subs.sh ||
15071 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15073 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15074 if test $ac_delim_n = $ac_delim_num; then
15076 elif $ac_last_try; then
15077 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15079 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15082 rm -f conf$$subs.sh
15084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15085 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15089 s/^/S["/; s
/!.
*/"]=/
15099 s/\(.\{148\}\).*/\1/
15101 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15106 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15113 s/\(.\{148\}\).*/\1/
15115 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15119 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15124 ' <conf$$subs.awk | sed '
15129 ' >>$CONFIG_STATUS || ac_write_fail=1
15130 rm -f conf$$subs.awk
15131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15133 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15134 for (key in S) S_is_set[key] = 1
15136 \$ac_cs_awk_pipe_init
15140 nfields = split(line, field, "@
")
15142 len = length(field[1])
15143 for (i = 2; i < nfields; i++) {
15145 keylen = length(key)
15146 if (S_is_set[key]) {
15148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15149 len += length(value) + length(field[++i])
15154 if (nfields == 3 && !substed) {
15156 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15157 \$ac_cs_awk_read_file
15163 \$ac_cs_awk_pipe_fini
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15167 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15168 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15171 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15172 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15177 # trailing colons and then remove the whole line if VPATH becomes empty
15178 # (actually we leave an empty line to preserve line numbers).
15179 if test "x
$srcdir" = x.; then
15180 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15181 s/:*\$(srcdir):*/:/
15182 s/:*\${srcdir}:*/:/
15184 s/^\([^=]*=[ ]*\):*/\1/
15190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15191 fi # test -n "$CONFIG_FILES"
15194 eval set X " :F
$CONFIG_FILES "
15199 :[FHLC]) ac_mode=$ac_tag; continue;;
15201 case $ac_mode$ac_tag in
15203 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15204 :[FH]-) ac_tag=-:-;;
15205 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15222 -) ac_f="$tmp/stdin";;
15223 *) # Look for the file first in the build tree, then in the source tree
15224 # (if the path is not absolute). The absolute path cannot be DOS-style,
15225 # because $ac_f cannot contain `:'.
15229 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15231 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15233 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15234 as_fn_append ac_file_inputs " '$ac_f'"
15237 # Let's still pretend it is `configure' which instantiates (i.e., don't
15238 # use $as_me), people would be surprised to read:
15239 # /* config.h. Generated by config.status. */
15240 configure_input='Generated from '`
15241 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15243 if test x"$ac_file" != x-; then
15244 configure_input="$ac_file.
$configure_input"
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15246 $as_echo "$as_me: creating
$ac_file" >&6;}
15248 # Neutralize special characters interpreted by sed in replacement strings.
15249 case $configure_input in #(
15250 *\&* | *\|* | *\\* )
15251 ac_sed_conf_input=`$as_echo "$configure_input" |
15252 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15253 *) ac_sed_conf_input=$configure_input;;
15257 *:-:* | *:-) cat >"$tmp/stdin
" \
15258 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15263 ac_dir=`$as_dirname -- "$ac_file" ||
15264 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15265 X"$ac_file" : 'X\(//\)[^/]' \| \
15266 X"$ac_file" : 'X\(//\)$' \| \
15267 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15268 $as_echo X"$ac_file" |
15269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15273 /^X\(\/\/\)[^/].*/{
15286 as_dir="$ac_dir"; as_fn_mkdir_p
15290 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15292 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15293 # A "..
" for each directory in $ac_dir_suffix.
15294 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15295 case $ac_top_builddir_sub in
15296 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15297 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15300 ac_abs_top_builddir=$ac_pwd
15301 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15302 # for backward compatibility:
15303 ac_top_builddir=$ac_top_build_prefix
15306 .) # We are building in place.
15308 ac_top_srcdir=$ac_top_builddir_sub
15309 ac_abs_top_srcdir=$ac_pwd ;;
15310 [\\/]* | ?:[\\/]* ) # Absolute name.
15311 ac_srcdir=$srcdir$ac_dir_suffix;
15312 ac_top_srcdir=$srcdir
15313 ac_abs_top_srcdir=$srcdir ;;
15314 *) # Relative name.
15315 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15316 ac_top_srcdir=$ac_top_build_prefix$srcdir
15317 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15319 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15329 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15330 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15335 # If the template does not know about datarootdir, expand it.
15336 # FIXME: This hack should be removed a few years after 2.60.
15337 ac_datarootdir_hack=; ac_datarootdir_seen=
15348 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15349 *datarootdir*) ac_datarootdir_seen=yes;;
15350 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15352 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15355 ac_datarootdir_hack='
15356 s&@datadir@&$datadir&g
15357 s&@docdir@&$docdir&g
15358 s&@infodir@&$infodir&g
15359 s&@localedir@&$localedir&g
15360 s&@mandir@&$mandir&g
15361 s&\\\${datarootdir}&$datarootdir&g' ;;
15365 # Neutralize VPATH when `$srcdir' = `.'.
15366 # Shell code in configure.ac might set extrasub.
15367 # FIXME: do we really want to maintain this feature?
15368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15369 ac_sed_extra="$ac_vpsub
15372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15374 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15375 s|@configure_input@|
$ac_sed_conf_input|
;t t
15376 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15377 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15378 s
&@srcdir@
&$ac_srcdir&;t t
15379 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15380 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15381 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15382 s
&@builddir@
&$ac_builddir&;t t
15383 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15384 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15385 s
&@INSTALL@
&$ac_INSTALL&;t t
15386 $ac_datarootdir_hack
15388 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15389 if $ac_cs_awk_getline; then
15390 $AWK -f "$tmp/subs.
awk"
15392 $AWK -f "$tmp/subs.
awk" | $SHELL
15394 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15396 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15397 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15398 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15400 which seems to be undefined. Please make sure it is defined." >&5
15401 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15402 which seems to be undefined. Please make sure it is defined." >&2;}
15406 -) cat "$tmp/out" && rm -f "$tmp/out";;
15407 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15409 || as_fn_error "could not create $ac_file" "$LINENO" 5
15417 case $ac_file$ac_mode in
15418 "Makefile":F) sed "$extrasub_build" Makefile |
15419 sed "$extrasub_host" |
15420 sed "$extrasub_target" > mf$$
15421 mv -f mf$$ Makefile ;;
15429 ac_clean_files=$ac_clean_files_save
15431 test $ac_write_fail = 0 ||
15432 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15435 # configure is writing to config.log, and then calls config.status.
15436 # config.status does its own redirection, appending to config.log.
15437 # Unfortunately, on DOS this fails, as config.log is still kept open
15438 # by configure, so config.status won't be able to
write to it
; its
15439 # output is simply discarded. So we exec the FD to /dev/null,
15440 # effectively closing config.log, so it can be properly (re)opened and
15441 # appended to by config.status. When coming back to configure, we
15442 # need to make the FD available again.
15443 if test "$no_create" != yes; then
15445 ac_config_status_args
=
15446 test "$silent" = yes &&
15447 ac_config_status_args
="$ac_config_status_args --quiet"
15449 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15451 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15452 # would make configure fail if this is the last instruction.
15453 $ac_cs_success || as_fn_exit $?
15455 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15457 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}