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
654 extra_isl_gmp_configure_flags
655 extra_mpc_mpfr_configure_flags
656 extra_mpc_gmp_configure_flags
657 extra_mpfr_configure_flags
673 EXTRA_CONFIGARGS_LIBJAVA
700 TOPLEVEL_CONFIGURE_ARGUMENTS
728 program_transform_name
739 ac_subst_files
='serialization_dependencies
745 enable_option_checking
750 enable_libquadmath_support
753 enable_static_libjava
774 enable_isl_version_check
778 enable_cloog_version_check
780 enable_stage1_languages
783 with_debug_prefix_map
785 enable_serial_configure
786 with_build_time_tools
787 enable_maintainer_mode
788 enable_stage1_checking
791 ac_precious_vars
='build_alias
838 # Initialize some variables set by options.
840 ac_init_version
=false
841 ac_unrecognized_opts
=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name
=s
,x
,x
,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir
='${exec_prefix}/bin'
867 sbindir
='${exec_prefix}/sbin'
868 libexecdir
='${exec_prefix}/libexec'
869 datarootdir
='${prefix}/share'
870 datadir
='${datarootdir}'
871 sysconfdir
='${prefix}/etc'
872 sharedstatedir
='${prefix}/com'
873 localstatedir
='${prefix}/var'
874 includedir
='${prefix}/include'
875 oldincludedir
='/usr/include'
876 docdir
='${datarootdir}/doc/${PACKAGE}'
877 infodir
='${datarootdir}/info'
882 libdir
='${exec_prefix}/lib'
883 localedir
='${datarootdir}/locale'
884 mandir
='${datarootdir}/man'
890 # If the previous option needs an argument, assign it.
891 if test -n "$ac_prev"; then
892 eval $ac_prev=\
$ac_option
898 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=no
;;
956 -docdir |
--docdir |
--docdi |
--doc |
--do)
958 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
961 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
963 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
966 -enable-* |
--enable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=\
$ac_optarg ;;
1186 -without-* |
--without-*)
1187 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=no
;;
1203 # Obsolete; use --with-x.
1206 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1207 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1208 ac_prev
=x_includes
;;
1209 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1210 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1211 x_includes
=$ac_optarg ;;
1213 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1214 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1215 ac_prev
=x_libraries
;;
1216 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1217 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1218 x_libraries
=$ac_optarg ;;
1220 -*) as_fn_error
"unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information."
1225 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1229 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\
$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1245 if test -n "$ac_prev"; then
1246 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error
"missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val
=\$
$ac_var
1265 # Remove trailing slashes.
1268 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\
$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$
]* | ?
:[\\/]* ) continue;;
1274 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1276 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1291 If a cross compiler is detected then cross compile mode will be used." >&2
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1300 test "$silent" = yes && exec 6>/dev
/null
1303 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di
=`ls -di .` &&
1305 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error
"working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error
"pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted
=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir
=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted
=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1347 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 as_fn_error
"path to source, $srcdir, contains spaces"
1368 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1370 for ac_var
in $ac_precious_vars; do
1371 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1373 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1378 # Report the --help message.
1380 if test "$ac_init_help" = "long"; then
1381 # Omit some internal or obsolete options to make the list less imposing.
1382 # This message is too long to be a string in the A/UX 3.1 sh.
1384 \`configure' configures this package to adapt to many kinds of systems.
1386 Usage: $0 [OPTION]... [VAR=VALUE]...
1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389 VAR=VALUE. See below for descriptions of some of the useful variables.
1391 Defaults for the options are specified in brackets.
1394 -h, --help display this help and exit
1395 --help=short display options specific to this package
1396 --help=recursive display the short help of all the included packages
1397 -V, --version display version information and exit
1398 -q, --quiet, --silent do not print \`checking...' messages
1399 --cache-file=FILE cache test results in FILE [disabled]
1400 -C, --config-cache alias for \`--cache-file=config.cache'
1401 -n, --no-create do not create output files
1402 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1404 Installation directories:
1405 --prefix=PREFIX install architecture-independent files in PREFIX
1406 [$ac_default_prefix]
1407 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1410 By default, \`make install' will install all the files in
1411 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1412 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413 for instance \`--prefix=\$HOME'.
1415 For better control, use the options below.
1417 Fine tuning of the installation directories:
1418 --bindir=DIR user executables [EPREFIX/bin]
1419 --sbindir=DIR system admin executables [EPREFIX/sbin]
1420 --libexecdir=DIR program executables [EPREFIX/libexec]
1421 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1422 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1423 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1433 --htmldir=DIR html documentation [DOCDIR]
1434 --dvidir=DIR dvi documentation [DOCDIR]
1435 --pdfdir=DIR pdf documentation [DOCDIR]
1436 --psdir=DIR ps documentation [DOCDIR]
1442 --program-prefix=PREFIX prepend PREFIX to installed program names
1443 --program-suffix=SUFFIX append SUFFIX to installed program names
1444 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1447 --build=BUILD configure
for building on BUILD
[guessed
]
1448 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1449 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1453 if test -n "$ac_init_help"; then
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1462 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1463 --disable-libquadmath do not build libquadmath directory
1464 --disable-libquadmath-support
1465 disable libquadmath support
for Fortran
1466 --enable-libada build libada directory
1467 --enable-libssp build libssp directory
1468 --enable-static-libjava[=ARG
]
1469 build static libjava
[default
=no
]
1470 --enable-bootstrap enable bootstrapping
[yes if native build
]
1471 --disable-isl-version-check
1472 disable check
for ISL version
1473 --disable-cloog-version-check
1474 disable check
for CLooG version
1475 --enable-lto enable link
time optimization support
1476 --enable-stage1-languages[=all
]
1477 choose additional languages to build during stage1.
1478 Mostly useful
for compiler development
1479 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1481 --enable-serial-[{host,target,build}-]configure
1482 force sequential configuration of sub-packages for
1483 the host, target or build machine, or all
1485 --enable-maintainer-mode
1486 enable make rules and dependencies not useful (and
1487 sometimes confusing) to the casual installer
1488 --enable-stage1-checking[=all]
1489 choose additional checking for stage1 of the
1491 --enable-werror enable -Werror in bootstrap stage2 and later
1494 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1495 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1496 --with-build-libsubdir=DIR Directory where to find libraries for build system
1497 --with-mpc=PATH specify prefix directory for installed MPC package.
1498 Equivalent to --with-mpc-include=PATH/include plus
1499 --with-mpc-lib=PATH/lib
1500 --with-mpc-include=PATH specify directory for installed MPC include files
1501 --with-mpc-lib=PATH specify directory for the installed MPC library
1502 --with-mpfr-dir=PATH this option has been REMOVED
1503 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1504 Equivalent to --with-mpfr-include=PATH/include plus
1505 --with-mpfr-lib=PATH/lib
1506 --with-mpfr-include=PATH
1507 specify directory for installed MPFR include files
1508 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1509 --with-gmp-dir=PATH this option has been REMOVED
1510 --with-gmp=PATH specify prefix directory for the installed GMP
1511 package. Equivalent to
1512 --with-gmp-include=PATH/include plus
1513 --with-gmp-lib=PATH/lib
1514 --with-gmp-include=PATH specify directory for installed GMP include files
1515 --with-gmp-lib=PATH specify directory for the installed GMP library
1516 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1518 --with-stage1-ldflags=FLAGS
1519 linker flags for stage1
1520 --with-stage1-libs=LIBS libraries for stage1
1521 --with-boot-libs=LIBS libraries for stage2 and later
1522 --with-boot-ldflags=FLAGS
1523 linker flags for stage2 and later
1524 --with-isl=PATH Specify prefix directory for the installed ISL
1525 package. Equivalent to
1526 --with-isl-include=PATH/include plus
1527 --with-isl-lib=PATH/lib
1528 --with-isl-include=PATH Specify directory for installed ISL include files
1529 --with-isl-lib=PATH Specify the directory for the installed ISL library
1530 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1531 package. Equivalent to
1532 --with-cloog-include=PATH/include plus
1533 --with-cloog-lib=PATH/lib
1534 --with-cloog-include=PATH
1535 Specify directory for installed CLooG include files
1536 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1538 --with-build-sysroot=SYSROOT
1539 use sysroot as the system root during the build
1540 --with-debug-prefix-map='A
=B C
=D ...
'
1541 map A to B, C to D ... in debug information
1542 --with-build-config='NAME NAME2...
'
1543 use config/NAME.mk build configuration
1544 --with-build-time-tools=PATH
1545 use given path to find target tools during the build
1547 Some influential environment variables:
1548 CC C compiler command
1549 CFLAGS C compiler flags
1550 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1551 nonstandard directory <lib dir>
1552 LIBS libraries to pass to the linker, e.g. -l<library>
1553 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1554 you have headers in a nonstandard directory <include dir>
1555 CXX C++ compiler command
1556 CXXFLAGS C++ compiler flags
1558 additional configure arguments for build directories
1560 additional configure arguments for host directories
1562 additional configure arguments for target directories
1565 DLLTOOL DLLTOOL for the host
1567 LIPO LIPO for the host
1569 RANLIB RANLIB for the host
1570 STRIP STRIP for the host
1571 WINDRES WINDRES for the host
1572 WINDMC WINDMC for the host
1573 OBJCOPY OBJCOPY for the host
1574 OBJDUMP OBJDUMP for the host
1575 READELF READELF for the host
1585 GFORTRAN for the target
1593 DLLTOOL for the target
1601 OBJDUMP for the target
1603 RANLIB for the target
1605 READELF for the target
1607 STRIP for the target
1609 WINDRES for the target
1611 WINDMC for the target
1613 Use these variables to override the choices made by `configure' or to
help
1614 it to
find libraries and programs with nonstandard names
/locations.
1616 Report bugs to the package provider.
1621 if test "$ac_init_help" = "recursive"; then
1622 # If there are subdirs, report their specific --help.
1623 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1624 test -d "$ac_dir" ||
1625 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1630 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1632 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1633 # A ".." for each directory in $ac_dir_suffix.
1634 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1635 case $ac_top_builddir_sub in
1636 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1637 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1640 ac_abs_top_builddir
=$ac_pwd
1641 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1642 # for backward compatibility:
1643 ac_top_builddir
=$ac_top_build_prefix
1646 .
) # We are building in place.
1648 ac_top_srcdir
=$ac_top_builddir_sub
1649 ac_abs_top_srcdir
=$ac_pwd ;;
1650 [\\/]* | ?
:[\\/]* ) # Absolute name.
1651 ac_srcdir
=$srcdir$ac_dir_suffix;
1652 ac_top_srcdir
=$srcdir
1653 ac_abs_top_srcdir
=$srcdir ;;
1655 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1656 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1657 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1659 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1661 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1662 # Check for guested configure.
1663 if test -f "$ac_srcdir/configure.gnu"; then
1665 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1666 elif test -f "$ac_srcdir/configure"; then
1668 $SHELL "$ac_srcdir/configure" --help=recursive
1670 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1676 test -n "$ac_init_help" && exit $ac_status
1677 if $ac_init_version; then
1680 generated by GNU Autoconf
2.64
1682 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1683 This configure
script is free software
; the Free Software Foundation
1684 gives unlimited permission to copy
, distribute and modify it.
1689 ## ------------------------ ##
1690 ## Autoconf initialization. ##
1691 ## ------------------------ ##
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 rm -f conftest.
$ac_objext
1700 if { { ac_try
="$ac_compile"
1702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 } # ac_fn_c_try_compile
1731 # ac_fn_cxx_try_compile LINENO
1732 # ----------------------------
1733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_cxx_try_compile ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext
1738 if { { ac_try="$ac_compile"
1740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_compile") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_cxx_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest.
$ac_objext; then :
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.
$ac_ext >&5
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1767 } # ac_fn_cxx_try_compile
1769 # ac_fn_c_try_link LINENO
1770 # -----------------------
1771 # Try to link conftest.$ac_ext, and return whether this succeeded.
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 rm -f conftest.
$ac_objext conftest
$ac_exeext
1776 if { { ac_try
="$ac_link"
1778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_link") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest$ac_exeext && {
1795 test "$cross_compiling" = yes ||
1796 $as_test_x conftest$ac_exeext
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1805 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807 # interfere with the next link command; also delete a directory that is
1808 # left behind by Apple's compiler. We do this before executing the actions.
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 } # ac_fn_c_try_link
1815 # ac_fn_c_try_run LINENO
1816 # ----------------------
1817 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1818 # that executables *can* be run.
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 if { { ac_try="$ac_link"
1824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1825 *) ac_try_echo
=$ac_try;;
1827 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_link") 2>&5
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1833 { { case "(($ac_try" in
1834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_try") 2>&5
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; }; }; then :
1845 $as_echo "$as_me: program exited with status $ac_status" >&5
1846 $as_echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.$ac_ext >&5
1849 ac_retval=$ac_status
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 cat >config.log <<_ACEOF
1857 This file contains any messages produced by compilers while
1858 running configure, to aid debugging if configure makes a mistake.
1860 It was created by $as_me, which was
1861 generated by GNU Autoconf 2.64. Invocation command line was
1873 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1874 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1875 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1876 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1877 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1879 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1880 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1882 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1883 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1884 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1885 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1886 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1887 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1888 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 $as_echo "PATH: $as_dir"
1913 # Keep a trace of the command line.
1914 # Strip out --no-create and --no-recursion so they do not pile up.
1915 # Strip out --silent because we don't want to record it for future runs.
1916 # Also quote any args containing shell meta-characters.
1917 # Make two passes to allow for proper duplicate-argument suppression.
1921 ac_must_keep_next=false
1927 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1929 | -silent | --silent | --silen | --sile | --sil)
1932 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1935 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1937 as_fn_append ac_configure_args1 " '$ac_arg'"
1938 if test $ac_must_keep_next = true; then
1939 ac_must_keep_next=false # Got value, back to normal.
1942 *=* | --config-cache | -C | -disable-* | --disable-* \
1943 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1944 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1945 | -with-* | --with-* | -without-* | --without-* | --x)
1946 case "$ac_configure_args0 " in
1947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1950 -* ) ac_must_keep_next=true ;;
1953 as_fn_append ac_configure_args " '$ac_arg'"
1958 { ac_configure_args0=; unset ac_configure_args0;}
1959 { ac_configure_args1=; unset ac_configure_args1;}
1961 # When interrupted or exit'd, cleanup temporary files, and complete
1962 # config.log. We remove comments because anyway the quotes in there
1963 # would cause problems or look ugly.
1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1966 trap 'exit_status=$?
1967 # Save into config.log some information that might help in debugging.
1972 ## ---------------- ##
1973 ## Cache variables. ##
1974 ## ---------------- ##
1977 # The following way of writing the cache mishandles newlines in values,
1979 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1980 eval ac_val=\$$ac_var
1984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1988 _ | IFS | as_nl) ;; #(
1989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1990 *) { eval $ac_var=; unset $ac_var;} ;;
1995 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1996 *${as_nl}ac_space=\ *)
1998 "s/'\''/'\''\\\\'\'''\''/g;
1999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2010 ## ----------------- ##
2011 ## Output variables. ##
2012 ## ----------------- ##
2015 for ac_var in $ac_subst_vars
2017 eval ac_val=\$$ac_var
2019 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021 $as_echo "$ac_var='\''$ac_val'\''"
2025 if test -n "$ac_subst_files"; then
2027 ## ------------------- ##
2028 ## File substitutions. ##
2029 ## ------------------- ##
2032 for ac_var in $ac_subst_files
2034 eval ac_val=\$$ac_var
2036 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 $as_echo "$ac_var='\''$ac_val'\''"
2043 if test -s confdefs.h; then
2053 test "$ac_signal" != 0 &&
2054 $as_echo "$as_me: caught signal $ac_signal"
2055 $as_echo "$as_me: exit $exit_status"
2057 rm -f core *.core core.conftest.* &&
2058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2061 for ac_signal in 1 2 13 15; do
2062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2067 rm -f -r conftest* confdefs.h
2069 $as_echo "/* confdefs.h */" > confdefs.h
2071 # Predefined preprocessor variables.
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_NAME "$PACKAGE_NAME"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_STRING "$PACKAGE_STRING"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_URL "$PACKAGE_URL"
2098 # Let the site file select an alternate cache file if it wants to.
2099 # Prefer an explicitly selected file to automatically selected ones.
2102 if test -n "$CONFIG_SITE"; then
2103 ac_site_file1=$CONFIG_SITE
2104 elif test "x$prefix" != xNONE; then
2105 ac_site_file1=$prefix/share/config.site
2106 ac_site_file2=$prefix/etc/config.site
2108 ac_site_file1=$ac_default_prefix/share/config.site
2109 ac_site_file2=$ac_default_prefix/etc/config.site
2111 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2113 test "x$ac_site_file" = xNONE && continue
2114 if test -r "$ac_site_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2117 sed 's/^/| /' "$ac_site_file" >&5
2122 if test -r "$cache_file"; then
2123 # Some versions of bash will fail to source /dev/null (special
2124 # files actually), so we avoid doing that.
2125 if test -f "$cache_file"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2127 $as_echo "$as_me: loading cache $cache_file" >&6;}
2129 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2130 *) . "./$cache_file";;
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2135 $as_echo "$as_me: creating cache $cache_file" >&6;}
2139 # Check that the precious variables saved in the cache have kept the same
2141 ac_cache_corrupted=false
2142 for ac_var in $ac_precious_vars; do
2143 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2144 eval ac_new_set=\$ac_env_${ac_var}_set
2145 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2146 eval ac_new_val=\$ac_env_${ac_var}_value
2147 case $ac_old_set,$ac_new_set in
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2150 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2151 ac_cache_corrupted=: ;;
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2154 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2155 ac_cache_corrupted=: ;;
2158 if test "x$ac_old_val" != "x$ac_new_val"; then
2159 # differences in whitespace do not lead to failure.
2160 ac_old_val_w=`echo x
$ac_old_val`
2161 ac_new_val_w=`echo x
$ac_new_val`
2162 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2165 ac_cache_corrupted=:
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2169 eval $ac_var=\$ac_old_val
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2172 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2174 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2177 # Pass precious variables to config.status.
2178 if test "$ac_new_set" = set; then
2180 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2181 *) ac_arg=$ac_var=$ac_new_val ;;
2183 case " $ac_configure_args " in
2184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2185 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2189 if $ac_cache_corrupted; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2194 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2196 ## -------------------- ##
2197 ## Main body of script. ##
2198 ## -------------------- ##
2201 ac_cpp='$CPP $CPPFLAGS'
2202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2215 # if PWD already has a value, it is probably wrong.
2216 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2218 # Export original configure arguments for use by sub-configures.
2219 # Quote arguments with shell meta charatcers.
2220 TOPLEVEL_CONFIGURE_ARGUMENTS=
2221 set -- "$progname" "$@"
2225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2226 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2227 # if the argument is of the form -foo=baz, quote the baz part only
2228 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2231 # Add the quoted argument to the list.
2232 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2234 if test "$silent" = yes; then
2235 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2237 # Remove the initial space we just introduced and, as these will be
2238 # expanded by make, quote '$'.
2239 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2242 # Find the build, host, and target systems.
2244 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2245 for ac_t in install-sh install.sh shtool; do
2246 if test -f "$ac_dir/$ac_t"; then
2248 ac_install_sh="$ac_aux_dir/$ac_t -c"
2253 if test -z "$ac_aux_dir"; then
2254 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2257 # These three variables are undocumented and unsupported,
2258 # and are intended to be withdrawn in a future Autoconf release.
2259 # They can cause serious problems if a builder's source tree is in a directory
2260 # whose full name contains unusual characters.
2261 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2262 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2263 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2266 # Make sure we can run config.sub.
2267 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2268 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2271 $as_echo_n "checking build system type... " >&6; }
2272 if test "${ac_cv_build+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2275 ac_build_alias=$build_alias
2276 test "x$ac_build_alias" = x &&
2277 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2278 test "x$ac_build_alias" = x &&
2279 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2280 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2281 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2285 $as_echo "$ac_cv_build" >&6; }
2286 case $ac_cv_build in
2288 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2291 ac_save_IFS=$IFS; IFS='-'
2297 # Remember, the first character of IFS is used to create $*,
2298 # except with old shells:
2301 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2304 case ${build_alias} in
2305 "") build_noncanonical=${build} ;;
2306 *) build_noncanonical=${build_alias} ;;
2311 case ${host_alias} in
2312 "") host_noncanonical=${build_noncanonical} ;;
2313 *) host_noncanonical=${host_alias} ;;
2318 case ${target_alias} in
2319 "") target_noncanonical=${host_noncanonical} ;;
2320 *) target_noncanonical=${target_alias} ;;
2326 test "$host_noncanonical" = "$target_noncanonical" &&
2327 test "$program_prefix$program_suffix$program_transform_name" = \
2329 program_transform_name=s,y,y,
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2332 $as_echo_n "checking host system type... " >&6; }
2333 if test "${ac_cv_host+set}" = set; then :
2334 $as_echo_n "(cached) " >&6
2336 if test "x$host_alias" = x; then
2337 ac_cv_host=$ac_cv_build
2339 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2340 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2345 $as_echo "$ac_cv_host" >&6; }
2348 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2351 ac_save_IFS=$IFS; IFS='-'
2357 # Remember, the first character of IFS is used to create $*,
2358 # except with old shells:
2361 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2365 $as_echo_n "checking target system type... " >&6; }
2366 if test "${ac_cv_target+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2369 if test "x$target_alias" = x; then
2370 ac_cv_target=$ac_cv_host
2372 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2373 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2378 $as_echo "$ac_cv_target" >&6; }
2379 case $ac_cv_target in
2381 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2383 target=$ac_cv_target
2384 ac_save_IFS=$IFS; IFS='-'
2390 # Remember, the first character of IFS is used to create $*,
2391 # except with old shells:
2394 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2397 # The aliases save the names the user supplied, while $host etc.
2398 # will get canonicalized.
2399 test -n "$target_alias" &&
2400 test "$program_prefix$program_suffix$program_transform_name" = \
2402 program_prefix=${target_alias}-
2404 test "$program_prefix" != NONE &&
2405 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2406 # Use a double $ so make ignores it.
2407 test "$program_suffix" != NONE &&
2408 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2409 # Double any \ or $.
2410 # By default was `s
,x
,x
', remove it if useless.
2411 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2412 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2416 # Get 'install' or 'install-sh
' and its variants.
2417 # Find a good install program. We prefer a C program (faster),
2418 # so one script is as good as another. But avoid the broken or
2419 # incompatible versions:
2420 # SysV /etc/install, /usr/sbin/install
2421 # SunOS /usr/etc/install
2422 # IRIX /sbin/install
2424 # AmigaOS /C/install, which installs bootblocks on floppy discs
2425 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2428 # OS/2's system install, which has a completely different semantic
2429 # ./install, which can be erroneously created by make from ./install.sh.
2430 # Reject install programs that cannot install multiple files.
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2432 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2433 if test -z "$INSTALL"; then
2434 if test "${ac_cv_path_install+set}" = set; then :
2435 $as_echo_n "(cached) " >&6
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 # Account for people who put trailing slashes in PATH elements.
2443 case $as_dir/ in #((
2444 .
/ | .
// |
/[cC
]/* | \
2445 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2446 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2449 # OSF1 and SCO ODT 3.0 have their own names for install.
2450 # Don't use installbsd from OSF since it installs stuff as root
2452 for ac_prog
in ginstall scoinst
install; do
2453 for ac_exec_ext
in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2455 if test $ac_prog = install &&
2456 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2457 # AIX install. It has an incompatible calling convention.
2459 elif test $ac_prog = install &&
2460 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2461 # program-specific install script used by HP pwplus--don't use.
2464 rm -rf conftest.one conftest.two conftest.dir
2465 echo one
> conftest.one
2466 echo two
> conftest.two
2468 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2469 test -s conftest.one
&& test -s conftest.two
&&
2470 test -s conftest.dir
/conftest.one
&&
2471 test -s conftest.dir
/conftest.two
2473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2486 rm -rf conftest.one conftest.two conftest.dir
2489 if test "${ac_cv_path_install+set}" = set; then
2490 INSTALL
=$ac_cv_path_install
2492 # As a last resort, use the slow shell script. Don't cache a
2493 # value for INSTALL within a source directory, because that will
2494 # break other packages using the cache if that directory is
2495 # removed, or if the value is a relative name.
2496 INSTALL
=$ac_install_sh
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2500 $as_echo "$INSTALL" >&6; }
2502 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2503 # It thinks the first close brace ends the variable substitution.
2504 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2506 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2508 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2511 $as_echo_n "checking whether ln works... " >&6; }
2512 if test "${acx_cv_prog_LN+set}" = set; then :
2513 $as_echo_n "(cached) " >&6
2515 rm -f conftestdata_t
2516 echo >conftestdata_f
2517 if ln conftestdata_f conftestdata_t
2>/dev
/null
2523 rm -f conftestdata_f conftestdata_t
2526 if test $acx_cv_prog_LN = no
; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2529 $as_echo "no, using $LN" >&6; }
2531 LN
="$acx_cv_prog_LN"
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2533 $as_echo "yes" >&6; }
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2537 $as_echo_n "checking whether ln -s works... " >&6; }
2539 if test "$LN_S" = "ln -s"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2541 $as_echo "yes" >&6; }
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2544 $as_echo "no, using $LN_S" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2548 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2549 if test "${ac_cv_path_SED+set}" = set; then :
2550 $as_echo_n "(cached) " >&6
2552 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2553 for ac_i
in 1 2 3 4 5 6 7; do
2554 ac_script
="$ac_script$as_nl$ac_script"
2556 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2557 { ac_script
=; unset ac_script
;}
2558 if test -z "$SED"; then
2559 ac_path_SED_found
=false
2560 # Loop through the user's path and test for each of PROGNAME-LIST
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_prog
in sed gsed
; do
2567 for ac_exec_ext
in '' $ac_executable_extensions; do
2568 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2569 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2570 # Check for GNU ac_path_SED and select it if it is found.
2571 # Check for GNU $ac_path_SED
2572 case `"$ac_path_SED" --version 2>&1` in
2574 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2577 $as_echo_n 0123456789 >"conftest.in"
2580 cat "conftest.in" "conftest.in" >"conftest.tmp"
2581 mv "conftest.tmp" "conftest.in"
2582 cp "conftest.in" "conftest.nl"
2583 $as_echo '' >> "conftest.nl"
2584 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2585 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2586 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2587 if test $ac_count -gt ${ac_path_SED_max-0}; then
2588 # Best one so far, save it but keep looking for a better one
2589 ac_cv_path_SED
="$ac_path_SED"
2590 ac_path_SED_max
=$ac_count
2592 # 10*(2^10) chars as input seems more than enough
2593 test $ac_count -gt 10 && break
2595 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2598 $ac_path_SED_found && break 3
2603 if test -z "$ac_cv_path_SED"; then
2604 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2612 $as_echo "$ac_cv_path_SED" >&6; }
2613 SED
="$ac_cv_path_SED"
2616 for ac_prog
in gawk mawk nawk
awk
2618 # Extract the first word of "$ac_prog", so it can be a program name with args.
2619 set dummy
$ac_prog; ac_word
=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if test "${ac_cv_prog_AWK+set}" = set; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$AWK"; then
2626 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635 ac_cv_prog_AWK
="$ac_prog"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test -n "$AWK"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2648 $as_echo "$AWK" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2655 test -n "$AWK" && break
2659 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2661 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2663 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2664 INSTALL
="${srcpwd}/install-sh -c"
2667 # Set srcdir to "." if that's what it is.
2668 # This is important for multilib support.
2670 if test "${pwd}" = "${srcpwd}" ; then
2678 ### To add a new directory to the tree, first choose whether it is a target
2679 ### or a host dependent tool. Then put it into the appropriate list
2680 ### (library or tools, host or target), doing a dependency sort.
2682 # Subdirs will be configured in the order listed in build_configdirs,
2683 # configdirs, or target_configdirs; see the serialization section below.
2685 # Dependency sorting is only needed when *configuration* must be done in
2686 # a particular order. In all cases a dependency should be specified in
2687 # the Makefile, whether or not it's implicitly specified here.
2689 # Double entries in build_configdirs, configdirs, or target_configdirs may
2690 # cause circular dependencies and break everything horribly.
2692 # these library is used by various programs built for the build
2695 build_libs
="build-libiberty"
2697 # these tools are built for the build environment
2698 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2700 # these libraries are used by various programs built for the host environment
2702 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2704 # these tools are built for the host environment
2705 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2706 # know that we are building the simulator.
2707 # binutils, gas and ld appear in that order because it makes sense to run
2708 # "make check" in that particular order.
2709 # If --enable-gold is used, "gold" may replace "ld".
2710 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2712 # libgcj represents the runtime libraries only used by gcj.
2713 libgcj
="target-libffi \
2717 # these libraries are built for the target environment, and are built after
2718 # the host libraries and the host tools (which may be a cross compiler)
2719 # Note that libiberty is not a target library.
2720 target_libraries
="target-libgcc \
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 libssp for some systems.
3142 # No hosted I/O support.
3143 noconfigdirs
="$noconfigdirs target-libssp"
3145 powerpc-
*-aix* | rs6000-
*-aix*)
3146 noconfigdirs
="$noconfigdirs target-libssp"
3149 # libssp uses a misaligned load to trigger a fault, but the RL78
3150 # doesn't fault for those - instead, it gives a build-time error
3151 # for explicit misaligned loads.
3152 noconfigdirs
="$noconfigdirs target-libssp"
3156 # Disable libstdc++-v3 for some systems.
3159 # VxWorks uses the Dinkumware C++ library.
3160 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3163 # the C++ libraries don't build on top of CE's C libraries
3164 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3167 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3171 # Disable Fortran for some systems.
3174 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3175 unsupported_languages
="$unsupported_languages fortran"
3179 # Disable Java if libffi is not supported.
3209 powerpc-
*-aix* | rs6000-
*-aix*)
3213 powerpc64-
*-freebsd*)
3217 s390-
*-* | s390x-
*-*)
3219 sh-
*-* | sh
[34]*-*-*)
3221 sh64-
*-* | sh5
*-*-*)
3228 unsupported_languages
="$unsupported_languages java"
3232 # Disable Java, libgcj or related libraries for some systems.
3236 i
[3456789]86-*-darwin*)
3238 x86_64-
*-darwin[912]*)
3241 noconfigdirs
="$noconfigdirs ${libgcj}"
3244 noconfigdirs
="$noconfigdirs ${libgcj}"
3247 noconfigdirs
="$noconfigdirs ${libgcj}"
3250 noconfigdirs
="$noconfigdirs ${libgcj}"
3253 noconfigdirs
="$noconfigdirs ${libgcj}"
3256 noconfigdirs
="$noconfigdirs ${libgcj}"
3259 noconfigdirs
="$noconfigdirs ${libgcj}"
3262 noconfigdirs
="$noconfigdirs ${libgcj}"
3265 noconfigdirs
="$noconfigdirs ${libgcj}"
3268 noconfigdirs
="$noconfigdirs target-boehm-gc"
3270 cris-
*-* | crisv32-
*-*)
3271 unsupported_languages
="$unsupported_languages java"
3275 *) # See PR46792 regarding target-libffi.
3276 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3280 # In this case, it's because the hppa64-linux target is for
3281 # the kernel only at this point and has no libc, and thus no
3282 # headers, crt*.o, etc., all of which are needed by these.
3283 unsupported_languages
="$unsupported_languages java"
3286 noconfigdirs
="$noconfigdirs ${libgcj}"
3291 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3292 # build on HP-UX 10.20.
3293 noconfigdirs
="$noconfigdirs ${libgcj}"
3296 noconfigdirs
="$noconfigdirs ${libgcj}"
3298 i
[3456789]86-w64-mingw*)
3299 noconfigdirs
="$noconfigdirs ${libgcj}"
3301 i
[3456789]86-*-mingw*)
3302 noconfigdirs
="$noconfigdirs ${libgcj}"
3305 noconfigdirs
="$noconfigdirs ${libgcj}"
3308 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3311 # copied from rs6000-*-* entry
3312 noconfigdirs
="$noconfigdirs ${libgcj}"
3315 noconfigdirs
="$noconfigdirs ${libgcj}"
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3322 # Default libgloss CPU subdirectory.
3323 libgloss_dir
="$target_cpu"
3326 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3332 cris-
*-* | crisv32-
*-*)
3341 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3342 libgloss_dir
=m68hc11
3344 m68
*-*-* | fido-
*-*)
3358 # Disable newlib and libgloss for various target OSes.
3361 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3363 i
[3456789]86-*-linux*)
3364 # This section makes it possible to build newlib natively on linux.
3365 # If we are using a cross compiler then don't configure newlib.
3366 if test x
${is_cross_compiler} != xno
; then
3367 noconfigdirs
="$noconfigdirs target-newlib"
3369 noconfigdirs
="$noconfigdirs target-libgloss"
3370 # If we are not using a cross compiler, do configure newlib.
3371 # Note however, that newlib will only be configured in this situation
3372 # if the --with-newlib option has been given, because otherwise
3373 # 'target-newlib' will appear in skipdirs.
3375 i
[3456789]86-*-rdos*)
3376 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3378 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3379 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3382 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3385 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3388 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3391 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3394 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3397 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3399 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3400 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3403 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3406 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3409 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3412 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3415 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3418 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3421 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3429 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3430 noconfigdirs
="$noconfigdirs sim target-rda"
3432 i
[3456789]86-*-darwin*)
3433 noconfigdirs
="$noconfigdirs ld gprof"
3434 noconfigdirs
="$noconfigdirs sim target-rda"
3436 x86_64-
*-darwin[912]*)
3437 noconfigdirs
="$noconfigdirs ld gas gprof"
3438 noconfigdirs
="$noconfigdirs sim target-rda"
3441 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3442 noconfigdirs
="$noconfigdirs sim target-rda"
3447 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3448 && test -f /usr
/local
/include
/gmp.h
; then
3453 # Remove unsupported stuff on all kaOS configurations.
3454 noconfigdirs
="$noconfigdirs target-libgloss"
3461 noconfigdirs
="$noconfigdirs target-libgloss"
3463 # The tpf target doesn't support gdb yet.
3465 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3468 noconfigdirs
="$noconfigdirs target-rda"
3473 # ld works, but does not support shared libraries.
3474 # gas doesn't generate exception information.
3475 noconfigdirs
="$noconfigdirs gas ld"
3478 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3481 # newlib is not 64 bit ready
3482 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3484 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3485 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3488 noconfigdirs
="$noconfigdirs target-libgloss"
3491 noconfigdirs
="$noconfigdirs target-libgloss"
3494 noconfigdirs
="$noconfigdirs ld target-libgloss"
3496 c4x-
*-* | tic4x-
*-*)
3497 noconfigdirs
="$noconfigdirs target-libgloss"
3500 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3503 noconfigdirs
="$noconfigdirs target-libgloss"
3506 noconfigdirs
="$noconfigdirs gdb"
3509 noconfigdirs
="$noconfigdirs gdb"
3512 noconfigdirs
="$noconfigdirs gprof"
3515 noconfigdirs
="$noconfigdirs target-libgloss"
3518 noconfigdirs
="$noconfigdirs target-libgloss"
3520 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3528 hppa
*-*-openbsd* | \
3532 noconfigdirs
="$noconfigdirs ld"
3537 noconfigdirs
="$noconfigdirs ld"
3540 noconfigdirs
="$noconfigdirs gdb"
3543 # No gdb support yet.
3544 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3547 # No ld support yet.
3548 noconfigdirs
="$noconfigdirs libgui itcl ld"
3551 # No ld support yet.
3552 noconfigdirs
="$noconfigdirs libgui itcl ld"
3554 i
[3456789]86-w64-mingw*)
3556 i
[3456789]86-*-mingw*)
3557 target_configdirs
="$target_configdirs target-winsup"
3560 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3561 noconfigdirs
="$noconfigdirs target-libgloss"
3562 # always build newlib if winsup directory is present.
3563 if test -d "$srcdir/winsup/cygwin"; then
3564 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3565 elif test -d "$srcdir/newlib"; then
3566 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3570 noconfigdirs
="$noconfigdirs target-libgloss"
3572 i
[3456789]86-*-sco3.2v5
*)
3573 # The linker does not yet know about weak symbols in COFF,
3574 # and is not configured to handle mixed ELF and COFF.
3575 noconfigdirs
="$noconfigdirs ld target-libgloss"
3577 i
[3456789]86-*-sco*)
3578 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3580 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3581 noconfigdirs
="$noconfigdirs target-libgloss"
3583 i
[3456789]86-*-sysv4*)
3584 noconfigdirs
="$noconfigdirs target-libgloss"
3586 i
[3456789]86-*-beos*)
3587 noconfigdirs
="$noconfigdirs gdb"
3589 i
[3456789]86-*-rdos*)
3590 noconfigdirs
="$noconfigdirs gdb"
3593 noconfigdirs
="$noconfigdirs gdb"
3596 noconfigdirs
="$noconfigdirs sim"
3599 # copied from rs6000-*-* entry
3600 noconfigdirs
="$noconfigdirs gprof"
3602 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3603 target_configdirs
="$target_configdirs target-winsup"
3604 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3605 # always build newlib.
3606 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3608 # This is temporary until we can link against shared libraries
3609 powerpcle-
*-solaris*)
3610 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3613 noconfigdirs
="$noconfigdirs gdb"
3616 noconfigdirs
="$noconfigdirs gprof"
3619 noconfigdirs
="$noconfigdirs gprof"
3622 noconfigdirs
="$noconfigdirs gprof"
3625 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3628 noconfigdirs
="$noconfigdirs gprof"
3631 if test x
$with_newlib = xyes
; then
3632 noconfigdirs
="$noconfigdirs gprof"
3636 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3639 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3642 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3647 noconfigdirs
="$noconfigdirs gprof"
3654 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3658 if test x
${is_cross_compiler} = xno
; then
3663 noconfigdirs
="$noconfigdirs sim"
3665 tilepro-
*-* | tilegx-
*-*)
3666 noconfigdirs
="$noconfigdirs sim"
3669 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3672 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3676 # If we aren't building newlib, then don't build libgloss, since libgloss
3677 # depends upon some newlib header files.
3678 case "${noconfigdirs}" in
3679 *target-libgloss
*) ;;
3680 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3683 # Work in distributions that contain no compiler tools, like Autoconf.
3684 host_makefile_frag
=/dev
/null
3685 if test -d ${srcdir}/config
; then
3687 i
[3456789]86-*-msdosdjgpp*)
3688 host_makefile_frag
="config/mh-djgpp"
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3693 $as_echo_n "checking to see if cat works as expected... " >&6; }
3694 echo a
>cygwin-cat-check
3695 if test `cat cygwin-cat-check` = a
; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 $as_echo "yes" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3703 as_fn_error
"The cat command does not ignore carriage return characters.
3704 Please either mount the build directory in binary mode or run the following
3705 commands before running any configure script:
3711 host_makefile_frag
="config/mh-cygwin"
3714 host_makefile_frag
="config/mh-mingw"
3717 host_makefile_frag
="config/mh-pa-hpux10"
3720 host_makefile_frag
="config/mh-pa"
3723 host_makefile_frag
="config/mh-pa"
3726 host_makefile_frag
="config/mh-darwin"
3729 host_makefile_frag
="config/mh-ppc-aix"
3732 host_makefile_frag
="config/mh-ppc-aix"
3737 if test "${build}" != "${host}" ; then
3738 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3739 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3740 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3741 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3742 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3743 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3744 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3745 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3746 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3747 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3748 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3749 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3750 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3752 AR_FOR_BUILD
="\$(AR)"
3753 AS_FOR_BUILD
="\$(AS)"
3754 CC_FOR_BUILD
="\$(CC)"
3755 CXX_FOR_BUILD
="\$(CXX)"
3756 GCJ_FOR_BUILD
="\$(GCJ)"
3757 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3758 GOC_FOR_BUILD
="\$(GOC)"
3759 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3760 LD_FOR_BUILD
="\$(LD)"
3761 NM_FOR_BUILD
="\$(NM)"
3762 RANLIB_FOR_BUILD
="\$(RANLIB)"
3763 WINDRES_FOR_BUILD
="\$(WINDRES)"
3764 WINDMC_FOR_BUILD
="\$(WINDMC)"
3768 ac_cpp
='$CPP $CPPFLAGS'
3769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3772 if test -n "$ac_tool_prefix"; then
3773 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3774 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_CC+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$CC"; then
3781 ac_cv_prog_CC
="$CC" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 if test -n "$CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3803 $as_echo "$CC" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3811 if test -z "$ac_cv_prog_CC"; then
3813 # Extract the first word of "gcc", so it can be a program name with args.
3814 set dummy gcc
; ac_word
=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_ac_ct_CC
="gcc"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3849 if test "x$ac_ct_CC" = x
; then
3852 case $cross_compiling:$ac_tool_warned in
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3856 ac_tool_warned
=yes ;;
3864 if test -z "$CC"; then
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3867 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if test "${ac_cv_prog_CC+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3873 if test -n "$CC"; then
3874 ac_cv_prog_CC
="$CC" # Let the user override the test.
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir
=.
3881 for ac_exec_ext
in '' $ac_executable_extensions; do
3882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3883 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 if test -n "$CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3896 $as_echo "$CC" >&6; }
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3905 if test -z "$CC"; then
3906 # Extract the first word of "cc", so it can be a program name with args.
3907 set dummy cc
; ac_word
=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_CC+set}" = set; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$CC"; then
3914 ac_cv_prog_CC
="$CC" # Let the user override the test.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3925 ac_prog_rejected
=yes
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 if test $ac_prog_rejected = yes; then
3937 # We found a bogon in the path, so make sure we never use it.
3938 set dummy
$ac_cv_prog_CC
3940 if test $# != 0; then
3941 # We chose a different compiler from the bogus one.
3942 # However, it has the same basename, so the bogon will be chosen
3943 # first if we set CC to just the basename; use the full file name.
3945 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3951 if test -n "$CC"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3953 $as_echo "$CC" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3961 if test -z "$CC"; then
3962 if test -n "$ac_tool_prefix"; then
3963 for ac_prog
in cl.exe
3965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3966 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if test "${ac_cv_prog_CC+set}" = set; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$CC"; then
3973 ac_cv_prog_CC
="$CC" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 if test -n "$CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3995 $as_echo "$CC" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4002 test -n "$CC" && break
4005 if test -z "$CC"; then
4007 for ac_prog
in cl.exe
4009 # Extract the first word of "$ac_prog", so it can be a program name with args.
4010 set dummy
$ac_prog; ac_word
=$2
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4012 $as_echo_n "checking for $ac_word... " >&6; }
4013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4014 $as_echo_n "(cached) " >&6
4016 if test -n "$ac_ct_CC"; then
4017 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 test -z "$as_dir" && as_dir
=.
4024 for ac_exec_ext
in '' $ac_executable_extensions; do
4025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4026 ac_cv_prog_ac_ct_CC
="$ac_prog"
4027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4037 if test -n "$ac_ct_CC"; then
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4039 $as_echo "$ac_ct_CC" >&6; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4042 $as_echo "no" >&6; }
4046 test -n "$ac_ct_CC" && break
4049 if test "x$ac_ct_CC" = x
; then
4052 case $cross_compiling:$ac_tool_warned in
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4056 ac_tool_warned
=yes ;;
4065 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error
"no acceptable C compiler found in \$PATH
4068 See \`config.log' for more details." "$LINENO" 5; }
4070 # Provide some information about the compiler.
4071 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4074 for ac_option
in --version -v -V -qversion; do
4075 { { ac_try
="$ac_compiler $ac_option >&5"
4077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4084 if test -s conftest.err; then
4086 ... rest of stderr output deleted ...
4087 10q' conftest.err >conftest.er1
4088 cat conftest.er1 >&5
4089 rm -f conftest.er1 conftest.err
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4106 ac_clean_files_save=$ac_clean_files
4107 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4108 # Try to create an executable without -o first, disregard a.out.
4109 # It will help us diagnose broken compilers, and finding out an intuition
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4112 $as_echo_n "checking for C compiler default output file name... " >&6; }
4113 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4115 # The possible output files:
4116 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4119 for ac_file in $ac_files
4122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4123 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4128 if { { ac_try="$ac_link_default"
4130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4131 *) ac_try_echo
=$ac_try;;
4133 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4134 $as_echo "$ac_try_echo"; } >&5
4135 (eval "$ac_link_default") 2>&5
4137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138 test $ac_status = 0; }; then :
4139 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4140 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4141 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4142 # so that the user can short-circuit this test for compilers unknown to
4144 for ac_file
in $ac_files ''
4146 test -f "$ac_file" ||
continue
4148 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4151 # We found the default executable, but exeext='' is most
4155 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4157 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4159 # We set ac_cv_exeext here because the later test for it is not
4160 # safe: cross compilers may not add the suffix if given an `-o'
4161 # argument, so we may need to know it at that point already.
4162 # Even if this section looks crufty: it has the advantage of
4169 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4175 $as_echo "$ac_file" >&6; }
4176 if test -z "$ac_file"; then :
4177 $as_echo "$as_me: failed program was:" >&5
4178 sed 's/^/| /' conftest.
$ac_ext >&5
4180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 { as_fn_set_status
77
4183 as_fn_error
"C compiler cannot create executables
4184 See \`config.log' for more details." "$LINENO" 5; }; }
4186 ac_exeext
=$ac_cv_exeext
4188 # Check that the compiler produces executables we can run. If not, either
4189 # the compiler is broken, or we cross compile.
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4191 $as_echo_n "checking whether the C compiler works... " >&6; }
4192 # If not cross compiling, check that we can run a simple program.
4193 if test "$cross_compiling" != yes; then
4194 if { ac_try
='./$ac_file'
4195 { { case "(($ac_try" in
4196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4200 $as_echo "$ac_try_echo"; } >&5
4201 (eval "$ac_try") 2>&5
4203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4204 test $ac_status = 0; }; }; then
4207 if test "$cross_compiling" = maybe; then
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot run C compiled programs.
4213 If you meant to cross compile
, use \
`--host'.
4214 See \`config.log
' for more details." "$LINENO" 5; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4219 $as_echo "yes" >&6; }
4221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4222 ac_clean_files=$ac_clean_files_save
4223 # Check that the compiler produces executables we can run. If not, either
4224 # the compiler is broken, or we cross compile.
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4226 $as_echo_n "checking whether we are cross compiling... " >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4228 $as_echo "$cross_compiling" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4231 $as_echo_n "checking for suffix of executables... " >&6; }
4232 if { { ac_try="$ac_link"
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_link") 2>&5
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }; then :
4243 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4244 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4245 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4247 for ac_file
in conftest.exe conftest conftest.
*; do
4248 test -f "$ac_file" ||
continue
4250 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4251 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4260 See \`config.log' for more details." "$LINENO" 5; }
4262 rm -f conftest
$ac_cv_exeext
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4264 $as_echo "$ac_cv_exeext" >&6; }
4266 rm -f conftest.
$ac_ext
4267 EXEEXT
=$ac_cv_exeext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4270 $as_echo_n "checking for suffix of object files... " >&6; }
4271 if test "${ac_cv_objext+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4285 rm -f conftest.o conftest.obj
4286 if { { ac_try
="$ac_compile"
4288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4292 $as_echo "$ac_try_echo"; } >&5
4293 (eval "$ac_compile") 2>&5
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }; then :
4297 for ac_file in conftest.o conftest.obj conftest.*; do
4298 test -f "$ac_file" || continue;
4300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4301 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4306 $as_echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4311 as_fn_error "cannot compute suffix of object files
: cannot compile
4312 See \
`config.log' for more details." "$LINENO" 5; }
4314 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4317 $as_echo "$ac_cv_objext" >&6; }
4318 OBJEXT=$ac_cv_objext
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4321 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4322 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4349 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4350 if test $ac_compiler_gnu = yes; then
4355 ac_test_CFLAGS=${CFLAGS+set}
4356 ac_save_CFLAGS=$CFLAGS
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4358 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4359 if test "${ac_cv_prog_cc_g+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 ac_save_c_werror_flag=$ac_c_werror_flag
4363 ac_c_werror_flag=yes
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4377 if ac_fn_c_try_compile "$LINENO"; then :
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4392 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4408 if ac_fn_c_try_compile "$LINENO"; then :
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 ac_c_werror_flag=$ac_save_c_werror_flag
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4419 $as_echo "$ac_cv_prog_cc_g" >&6; }
4420 if test "$ac_test_CFLAGS" = set; then
4421 CFLAGS=$ac_save_CFLAGS
4422 elif test $ac_cv_prog_cc_g = yes; then
4423 if test "$GCC" = yes; then
4429 if test "$GCC" = yes; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4436 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4437 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 ac_cv_prog_cc_c89=no
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 #include <sys/types.h>
4447 #include <sys/stat.h>
4448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4449 struct buf { int x; };
4450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4451 static char *e (p, i)
4457 static char *f (char * (*g) (char **, int), char **p, ...)
4462 s = g (p, va_arg (v,int));
4467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4468 function prototypes and stuff, but not '\xHH' hex character constants.
4469 These don't provoke an error unfortunately, instead are silently treated
4470 as 'x'. The following induces an error, until -std is added to get
4471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4472 array size at least. It's necessary to write '\x00'==0 to get something
4473 that's true only with -std. */
4474 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4476 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4477 inside strings and character constants. */
4479 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4481 int test (int i, double x);
4482 struct s1 {int (*f) (int a);};
4483 struct s2 {int (*f) (double a);};
4484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4495 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4496 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4498 CC="$ac_save_CC $ac_arg"
4499 if ac_fn_c_try_compile "$LINENO"; then :
4500 ac_cv_prog_cc_c89=$ac_arg
4502 rm -f core conftest.err conftest.$ac_objext
4503 test "x$ac_cv_prog_cc_c89" != "xno" && break
4505 rm -f conftest.$ac_ext
4510 case "x$ac_cv_prog_cc_c89" in
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4513 $as_echo "none needed" >&6; } ;;
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4516 $as_echo "unsupported" >&6; } ;;
4518 CC="$CC $ac_cv_prog_cc_c89"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4520 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4522 if test "x$ac_cv_prog_cc_c89" != xno; then :
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4533 ac_cpp='$CXXCPP $CPPFLAGS'
4534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4537 if test -z "$CXX"; then
4538 if test -n "$CCC"; then
4541 if test -n "$ac_tool_prefix"; then
4542 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_CXX+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$CXX"; then
4552 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 if test -n "$CXX"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4574 $as_echo "$CXX" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$CXX" && break
4584 if test -z "$CXX"; then
4586 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4588 # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy $ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -n "$ac_ct_CXX"; then
4596 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4605 ac_cv_prog_ac_ct_CXX="$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4616 if test -n "$ac_ct_CXX"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4618 $as_echo "$ac_ct_CXX" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$ac_ct_CXX" && break
4628 if test "x$ac_ct_CXX" = x; then
4631 case $cross_compiling:$ac_tool_warned in
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned=yes ;;
4643 # Provide some information about the compiler.
4644 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4647 for ac_option in --version -v -V -qversion; do
4648 { { ac_try="$ac_compiler $ac_option >&5"
4650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4651 *) ac_try_echo
=$ac_try;;
4653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4654 $as_echo "$ac_try_echo"; } >&5
4655 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4657 if test -s conftest.err
; then
4659 ... rest of stderr output deleted ...
4660 10q' conftest.err
>conftest.er1
4661 cat conftest.er1
>&5
4662 rm -f conftest.er1 conftest.err
4664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4665 test $ac_status = 0; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4669 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4670 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4671 $as_echo_n "(cached) " >&6
4673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4687 if ac_fn_cxx_try_compile
"$LINENO"; then :
4692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4697 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4698 if test $ac_compiler_gnu = yes; then
4703 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4704 ac_save_CXXFLAGS
=$CXXFLAGS
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4706 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4707 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4710 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4711 ac_cxx_werror_flag
=yes
4714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4725 if ac_fn_cxx_try_compile
"$LINENO"; then :
4726 ac_cv_prog_cxx_g
=yes
4729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4740 if ac_fn_cxx_try_compile
"$LINENO"; then :
4743 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 if ac_fn_cxx_try_compile
"$LINENO"; then :
4757 ac_cv_prog_cxx_g
=yes
4759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4767 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4768 if test "$ac_test_CXXFLAGS" = set; then
4769 CXXFLAGS
=$ac_save_CXXFLAGS
4770 elif test $ac_cv_prog_cxx_g = yes; then
4771 if test "$GXX" = yes; then
4777 if test "$GXX" = yes; then
4784 ac_cpp
='$CPP $CPPFLAGS'
4785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4790 # We must set the default linker to the linker used by gcc for the correct
4791 # operation of libtool. If LD is not defined and we are using gcc, try to
4792 # set the LD default to the ld used by gcc.
4793 if test -z "$LD"; then
4794 if test "$GCC" = yes; then
4797 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4799 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4801 case $gcc_prog_ld in
4802 # Accept absolute paths.
4803 [\\/]* |
[A-Za-z
]:[\\/]*)
4804 LD
="$gcc_prog_ld" ;;
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4814 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$GNATBIND"; then
4821 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir
=.
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 GNATBIND
=$ac_cv_prog_GNATBIND
4841 if test -n "$GNATBIND"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4843 $as_echo "$GNATBIND" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4851 if test -z "$ac_cv_prog_GNATBIND"; then
4852 ac_ct_GNATBIND
=$GNATBIND
4853 # Extract the first word of "gnatbind", so it can be a program name with args.
4854 set dummy gnatbind
; ac_word
=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$ac_ct_GNATBIND"; then
4861 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_exec_ext
in '' $ac_executable_extensions; do
4869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4870 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4881 if test -n "$ac_ct_GNATBIND"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4883 $as_echo "$ac_ct_GNATBIND" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4889 if test "x$ac_ct_GNATBIND" = x
; then
4892 case $cross_compiling:$ac_tool_warned in
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4896 ac_tool_warned
=yes ;;
4898 GNATBIND
=$ac_ct_GNATBIND
4901 GNATBIND
="$ac_cv_prog_GNATBIND"
4904 if test -n "$ac_tool_prefix"; then
4905 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4906 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$GNATMAKE"; then
4913 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 GNATMAKE
=$ac_cv_prog_GNATMAKE
4933 if test -n "$GNATMAKE"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4935 $as_echo "$GNATMAKE" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4943 if test -z "$ac_cv_prog_GNATMAKE"; then
4944 ac_ct_GNATMAKE
=$GNATMAKE
4945 # Extract the first word of "gnatmake", so it can be a program name with args.
4946 set dummy gnatmake
; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$ac_ct_GNATMAKE"; then
4953 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4973 if test -n "$ac_ct_GNATMAKE"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4975 $as_echo "$ac_ct_GNATMAKE" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4981 if test "x$ac_ct_GNATMAKE" = x
; then
4984 case $cross_compiling:$ac_tool_warned in
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4988 ac_tool_warned
=yes ;;
4990 GNATMAKE
=$ac_ct_GNATMAKE
4993 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4997 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4998 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4999 $as_echo_n "(cached) " >&6
5001 cat >conftest.adb
<<EOF
5002 procedure conftest is begin null; end conftest;
5004 acx_cv_cc_gcc_supports_ada
=no
5005 # There is a bug in old released versions of GCC which causes the
5006 # driver to exit successfully when the appropriate language module
5007 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5008 # Therefore we must check for the error message as well as an
5009 # unsuccessful exit.
5010 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5011 # given a .adb file, but produce no object file. So we must check
5012 # if an object file was really produced to guard against this.
5013 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5014 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5015 acx_cv_cc_gcc_supports_ada
=yes
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5020 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5022 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5029 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5030 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5035 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5036 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5037 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5040 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5043 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5044 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5047 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5054 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5055 do_compare
="$gcc_cv_prog_cmp_skip"
5059 # Check whether --enable-bootstrap was given.
5060 if test "${enable_bootstrap+set}" = set; then :
5061 enableval
=$enable_bootstrap;
5063 enable_bootstrap
=default
5067 # Issue errors and warnings for invalid/strange bootstrap combinations.
5068 if test -r $srcdir/gcc
/configure
; then
5074 case "$have_compiler:$host:$target:$enable_bootstrap" in
5077 # Default behavior. Enable bootstrap if we have a compiler
5078 # and we are in a native configuration.
5079 yes:$build:$build:default
)
5080 enable_bootstrap
=yes ;;
5083 enable_bootstrap
=no
;;
5085 # We have a compiler and we are in a native configuration, bootstrap is ok
5086 yes:$build:$build:yes)
5089 # Other configurations, but we have a compiler. Assume the user knows
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5093 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5096 # No compiler: if they passed --enable-bootstrap explicitly, fail
5098 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5100 # Fail if wrong command line
5102 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5106 # Used for setting $lt_cv_objdir
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5108 $as_echo_n "checking for objdir... " >&6; }
5109 if test "${lt_cv_objdir+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 rm -f .libs
2>/dev
/null
5113 mkdir .libs
2>/dev
/null
5114 if test -d .libs
; then
5117 # MS-DOS does not allow filenames that begin with a dot.
5120 rmdir .libs
2>/dev
/null
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5123 $as_echo "$lt_cv_objdir" >&6; }
5124 objdir
=$lt_cv_objdir
5130 cat >>confdefs.h
<<_ACEOF
5131 #define LT_OBJDIR "$lt_cv_objdir/"
5136 # Check for GMP, MPFR and MPC
5137 gmplibs
="-lmpc -lmpfr -lgmp"
5141 # Specify a location for mpc
5142 # check for this first so it ends up on the link line before mpfr.
5144 # Check whether --with-mpc was given.
5145 if test "${with_mpc+set}" = set; then :
5150 # Check whether --with-mpc-include was given.
5151 if test "${with_mpc_include+set}" = set; then :
5152 withval
=$with_mpc_include;
5156 # Check whether --with-mpc-lib was given.
5157 if test "${with_mpc_lib+set}" = set; then :
5158 withval
=$with_mpc_lib;
5162 if test "x$with_mpc" != x
; then
5163 gmplibs
="-L$with_mpc/lib $gmplibs"
5164 gmpinc
="-I$with_mpc/include $gmpinc"
5166 if test "x$with_mpc_include" != x
; then
5167 gmpinc
="-I$with_mpc_include $gmpinc"
5169 if test "x$with_mpc_lib" != x
; then
5170 gmplibs
="-L$with_mpc_lib $gmplibs"
5172 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5173 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5174 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5175 # Do not test the mpc version. Assume that it is sufficient, since
5176 # it is in the source tree, and the library has not been built yet
5177 # but it would be included on the link line in the version check below
5178 # hence making the test fail.
5182 # Specify a location for mpfr
5183 # check for this first so it ends up on the link line before gmp.
5185 # Check whether --with-mpfr-dir was given.
5186 if test "${with_mpfr_dir+set}" = set; then :
5187 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5188 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5193 # Check whether --with-mpfr was given.
5194 if test "${with_mpfr+set}" = set; then :
5199 # Check whether --with-mpfr-include was given.
5200 if test "${with_mpfr_include+set}" = set; then :
5201 withval
=$with_mpfr_include;
5205 # Check whether --with-mpfr-lib was given.
5206 if test "${with_mpfr_lib+set}" = set; then :
5207 withval
=$with_mpfr_lib;
5211 if test "x$with_mpfr" != x
; then
5212 gmplibs
="-L$with_mpfr/lib $gmplibs"
5213 gmpinc
="-I$with_mpfr/include $gmpinc"
5215 if test "x$with_mpfr_include" != x
; then
5216 gmpinc
="-I$with_mpfr_include $gmpinc"
5218 if test "x$with_mpfr_lib" != x
; then
5219 gmplibs
="-L$with_mpfr_lib $gmplibs"
5221 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5222 # MPFR v3.1.0 moved the sources into a src sub-directory.
5223 if test -d ${srcdir}/mpfr
/src
; then
5224 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5225 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5226 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5228 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5229 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5230 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5232 # Do not test the mpfr version. Assume that it is sufficient, since
5233 # it is in the source tree, and the library has not been built yet
5234 # but it would be included on the link line in the version check below
5235 # hence making the test fail.
5239 # Specify a location for gmp
5241 # Check whether --with-gmp-dir was given.
5242 if test "${with_gmp_dir+set}" = set; then :
5243 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5244 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5249 # Check whether --with-gmp was given.
5250 if test "${with_gmp+set}" = set; then :
5255 # Check whether --with-gmp-include was given.
5256 if test "${with_gmp_include+set}" = set; then :
5257 withval
=$with_gmp_include;
5261 # Check whether --with-gmp-lib was given.
5262 if test "${with_gmp_lib+set}" = set; then :
5263 withval
=$with_gmp_lib;
5268 if test "x$with_gmp" != x
; then
5269 gmplibs
="-L$with_gmp/lib $gmplibs"
5270 gmpinc
="-I$with_gmp/include $gmpinc"
5272 if test "x$with_gmp_include" != x
; then
5273 gmpinc
="-I$with_gmp_include $gmpinc"
5275 if test "x$with_gmp_lib" != x
; then
5276 gmplibs
="-L$with_gmp_lib $gmplibs"
5278 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5279 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5280 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5281 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5282 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5283 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5284 # Do not test the gmp version. Assume that it is sufficient, since
5285 # it is in the source tree, and the library has not been built yet
5286 # but it would be included on the link line in the version check below
5287 # hence making the test fail.
5291 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5293 saved_CFLAGS
="$CFLAGS"
5294 CFLAGS
="$CFLAGS $gmpinc"
5295 # Check for the recommended and required versions of GMP.
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5297 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5306 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5307 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5308 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5316 if ac_fn_c_try_compile
"$LINENO"; then :
5317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5324 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5325 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5326 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5334 if ac_fn_c_try_compile
"$LINENO"; then :
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5336 $as_echo "yes" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5339 $as_echo "buggy but acceptable" >&6; }
5341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }; have_gmp
=no
5346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 # If we have GMP, check the MPFR version.
5349 if test x
"$have_gmp" = xyes
; then
5350 # Check for the recommended and required versions of MPFR.
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5352 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5361 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5369 if ac_fn_c_try_compile
"$LINENO"; then :
5370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5378 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5386 if ac_fn_c_try_compile
"$LINENO"; then :
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5388 $as_echo "yes" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5391 $as_echo "buggy but acceptable" >&6; }
5393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }; have_gmp
=no
5398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5401 # Check for the MPC header version.
5402 if test x
"$have_gmp" = xyes
; then
5403 # Check for the recommended and required versions of MPC.
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5405 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5413 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5421 if ac_fn_c_try_compile
"$LINENO"; then :
5422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5429 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5437 if ac_fn_c_try_compile
"$LINENO"; then :
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5442 $as_echo "buggy but acceptable" >&6; }
5444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }; have_gmp
=no
5449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5452 # Now check the MPFR library.
5453 if test x
"$have_gmp" = xyes
; then
5455 LIBS
="$LIBS $gmplibs"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5457 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5471 mpfr_atan2 (n, n, x, GMP_RNDN);
5472 mpfr_erfc (n, x, GMP_RNDN);
5473 mpfr_subnormalize (x, t, GMP_RNDN);
5477 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5478 mpc_cosh (c, c, MPC_RNDNN);
5479 mpc_pow (c, c, c, MPC_RNDNN);
5480 mpc_acosh (c, c, MPC_RNDNN);
5487 if ac_fn_c_try_link
"$LINENO"; then :
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5489 $as_echo "yes" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }; have_gmp
=no
5494 rm -f core conftest.err conftest.
$ac_objext \
5495 conftest
$ac_exeext conftest.
$ac_ext
5499 CFLAGS
="$saved_CFLAGS"
5501 # The library versions listed in the error message below should match
5502 # the HARD-minimums enforced above.
5503 if test x
$have_gmp != xyes
; then
5504 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5505 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5506 their locations. Source code for these libraries can be found at
5507 their respective hosting sites as well as at
5508 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5509 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5510 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5511 make sure that you have installed both the libraries and the header
5512 files. They may be located in separate packages." "$LINENO" 5
5516 # Flags needed for both GMP, MPFR and/or MPC.
5524 # Allow host libstdc++ to be specified for static linking with PPL.
5526 # Check whether --with-host-libstdcxx was given.
5527 if test "${with_host_libstdcxx+set}" = set; then :
5528 withval
=$with_host_libstdcxx;
5532 case $with_host_libstdcxx in
5534 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5538 # Linker flags to use for stage1 or when not boostrapping.
5540 # Check whether --with-stage1-ldflags was given.
5541 if test "${with_stage1_ldflags+set}" = set; then :
5542 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5545 stage1_ldflags
=$withval
5553 # Libraries to use for stage1 or when not bootstrapping.
5555 # Check whether --with-stage1-libs was given.
5556 if test "${with_stage1_libs+set}" = set; then :
5557 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5560 stage1_libs
=$withval
5563 stage1_libs
=$with_host_libstdcxx
5568 # Libraries to use for stage2 and later builds. This defaults to the
5569 # argument passed to --with-host-libstdcxx.
5571 # Check whether --with-boot-libs was given.
5572 if test "${with_boot_libs+set}" = set; then :
5573 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5576 poststage1_libs
=$withval
5579 poststage1_libs
=$with_host_libstdcxx
5584 # Linker flags to use for stage2 and later builds.
5586 # Check whether --with-boot-ldflags was given.
5587 if test "${with_boot_ldflags+set}" = set; then :
5588 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5591 poststage1_ldflags
=$withval
5595 # In stages 2 and 3, default to linking libstdc++ and libgcc
5596 # statically. But if the user explicitly specified the libraries to
5597 # use, trust that they are doing what they want.
5598 if test "$poststage1_libs" = ""; then
5599 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5608 # Check whether --with-isl was given.
5609 if test "${with_isl+set}" = set; then :
5614 # Check whether --with-isl-include was given.
5615 if test "${with_isl_include+set}" = set; then :
5616 withval
=$with_isl_include;
5620 # Check whether --with-isl-lib was given.
5621 if test "${with_isl_lib+set}" = set; then :
5622 withval
=$with_isl_lib;
5626 # Check whether --enable-isl-version-check was given.
5627 if test "${enable_isl_version_check+set}" = set; then :
5628 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5630 ENABLE_ISL_CHECK
=yes
5634 # Initialize isllibs and islinc.
5643 isllibs
="-L$with_isl/lib"
5644 islinc
="-I$with_isl/include"
5647 if test "x${with_isl_include}" != x
; then
5648 islinc
="-I$with_isl_include"
5650 if test "x${with_isl_lib}" != x
; then
5651 isllibs
="-L$with_isl_lib"
5653 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5654 && test -d ${srcdir}/isl
; then
5655 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5656 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5660 isllibs
="${isllibs} -lisl"
5666 if test "x$with_isl" != "xno"; then
5668 if test "${ENABLE_ISL_CHECK}" = yes ; then
5669 _isl_saved_CFLAGS
=$CFLAGS
5670 _isl_saved_LDFLAGS
=$LDFLAGS
5671 _isl_saved_LIBS
=$LIBS
5673 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5674 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5675 LIBS
="${_isl_saved_LIBS} -lisl"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5679 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5680 if test "${gcc_cv_isl+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5683 if test "$cross_compiling" = yes; then :
5686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5688 #include <isl/version.h>
5693 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5700 if ac_fn_c_try_run
"$LINENO"; then :
5705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5711 $as_echo "$gcc_cv_isl" >&6; }
5713 CFLAGS
=$_isl_saved_CFLAGS
5714 LDFLAGS
=$_isl_saved_LDFLAGS
5715 LIBS
=$_isl_saved_LIBS
5724 if test "x${with_isl}" = xno
; then
5725 graphite_requested
=no
5726 elif test "x${with_isl}" != x \
5727 ||
test "x${with_isl_include}" != x \
5728 ||
test "x${with_isl_lib}" != x
; then
5729 graphite_requested
=yes
5731 graphite_requested
=no
5736 if test "${gcc_cv_isl}" = no
; then
5741 if test "${graphite_requested}" = yes \
5742 && test "x${isllibs}" = x \
5743 && test "x${islinc}" = x
; then
5745 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5754 # Check whether --with-cloog was given.
5755 if test "${with_cloog+set}" = set; then :
5756 withval
=$with_cloog;
5760 # Check whether --with-cloog-include was given.
5761 if test "${with_cloog_include+set}" = set; then :
5762 withval
=$with_cloog_include;
5766 # Check whether --with-cloog-lib was given.
5767 if test "${with_cloog_lib+set}" = set; then :
5768 withval
=$with_cloog_lib;
5772 # Check whether --enable-cloog-version-check was given.
5773 if test "${enable_cloog_version_check+set}" = set; then :
5774 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5776 ENABLE_CLOOG_CHECK
=yes
5780 # Initialize clooglibs and clooginc.
5789 clooglibs
="-L$with_cloog/lib"
5790 clooginc
="-I$with_cloog/include"
5793 if test "x${with_cloog_include}" != x
; then
5794 clooginc
="-I$with_cloog_include"
5796 if test "x${with_cloog_lib}" != x
; then
5797 clooglibs
="-L$with_cloog_lib"
5799 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5800 && test -d ${srcdir}/cloog
; then
5801 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5802 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5805 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5806 clooglibs
="${clooglibs} -lcloog-isl ${isllibs}"
5812 if test "x$isllibs" = x
&& test "x$islinc" = x
; then
5815 elif test "x$with_cloog" != "xno"; then
5819 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5820 _cloog_saved_CFLAGS
=$CFLAGS
5821 _cloog_saved_LDFLAGS
=$LDFLAGS
5823 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5824 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5827 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5828 if test "${gcc_cv_cloog+set}" = set; then :
5829 $as_echo_n "(cached) " >&6
5831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5833 #include "cloog/version.h"
5837 #if CLOOG_VERSION_MAJOR != 0 \
5838 || CLOOG_VERSION_MINOR != 17 \
5839 || CLOOG_VERSION_REVISION < 0
5846 if ac_fn_c_try_compile
"$LINENO"; then :
5851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5854 $as_echo "$gcc_cv_cloog" >&6; }
5856 CFLAGS
=$_cloog_saved_CFLAGS
5857 LDFLAGS
=$_cloog_saved_LDFLAGS
5866 if test "x${with_cloog}" = xno
; then
5867 graphite_requested
=no
5868 elif test "x${with_cloog}" != x \
5869 ||
test "x${with_cloog_include}" != x \
5870 ||
test "x${with_cloog_lib}" != x
; then
5871 graphite_requested
=yes
5873 graphite_requested
=no
5878 if test "${gcc_cv_cloog}" = no
; then
5883 if test "${graphite_requested}" = yes \
5884 && test "x${clooglibs}" = x \
5885 && test "x${clooginc}" = x
; then
5887 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5893 # If either the ISL or the CLooG check failed, disable builds of in-tree
5895 if test "x$clooglibs" = x
&& test "x$clooginc" = x
; then
5896 noconfigdirs
="$noconfigdirs cloog isl"
5899 # Check for LTO support.
5900 # Check whether --enable-lto was given.
5901 if test "${enable_lto+set}" = set; then :
5902 enableval
=$enable_lto; enable_lto
=$enableval
5904 enable_lto
=yes; default_enable_lto
=yes
5913 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5914 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5915 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5923 if test $target_elf = yes; then :
5924 # ELF platforms build the lto-plugin always.
5925 build_lto_plugin
=yes
5928 if test x
"$default_enable_lto" = x
"yes" ; then
5930 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5931 # On other non-ELF platforms, LTO has yet to be validated.
5935 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5936 # It would also be nice to check the binutils support, but we don't
5937 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5938 # warn during gcc/ subconfigure; unless you're bootstrapping with
5939 # -flto it won't be needed until after installation anyway.
5941 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5942 *) if test x
"$enable_lto" = x
"yes"; then
5943 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5948 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5949 # Build it unless LTO was explicitly disabled.
5951 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5959 # By default, C and C++ are the only stage 1 languages.
5960 stage1_languages
=,c
,
5962 # Target libraries that we bootstrap.
5963 bootstrap_target_libs
=,target-libgcc
,
5965 # Figure out what language subdirectories are present.
5966 # Look if the user specified --enable-languages="..."; if not, use
5967 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5969 # NB: embedded tabs in this IF block -- do not untabify
5970 if test -d ${srcdir}/gcc
; then
5971 if test x
"${enable_languages+set}" != xset
; then
5972 if test x
"${LANGUAGES+set}" = xset
; then
5973 enable_languages
="${LANGUAGES}"
5974 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5976 enable_languages
=all
5979 if test x
"${enable_languages}" = x ||
5980 test x
"${enable_languages}" = xyes
;
5982 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5986 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5988 # 'f95' is the old name for the 'fortran' language. We issue a warning
5989 # and make the substitution.
5990 case ,${enable_languages}, in
5992 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5993 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5997 # If bootstrapping, C++ must be enabled.
5998 case ",$enable_languages,:$enable_bootstrap" in
6001 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6002 enable_languages
="${enable_languages},c++"
6004 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6009 # First scan to see if an enabled language requires some other language.
6010 # We assume that a given config-lang.in will list all the language
6011 # front ends it requires, even if some are required indirectly.
6012 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6013 case ${lang_frag} in
6015 # The odd quoting in the next line works around
6016 # an apparent bug in bash 1.12 on linux.
6017 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6019 # From the config-lang.in, get $language, $lang_requires, and
6020 # $lang_requires_boot_languages.
6023 lang_requires_boot_languages
=
6025 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6026 case ,${enable_languages}, in
6030 echo " \`$other' language required by \`$language'; enabling" 1>&2
6031 enable_languages
="${enable_languages},${other}"
6035 for other
in ${lang_requires_boot_languages} ; do
6036 if test "$other" != "c"; then
6037 case ,${enable_stage1_languages}, in
6041 case ,${enable_languages}, in
6043 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6044 enable_stage1_languages
="$enable_stage1_languages,${other}"
6055 new_enable_languages
=,c
,
6057 # If LTO is enabled, add the LTO front end.
6058 extra_host_libiberty_configure_flags
=
6059 if test "$enable_lto" = "yes" ; then
6060 case ,${enable_languages}, in
6062 *) enable_languages
="${enable_languages},lto" ;;
6064 if test "${build_lto_plugin}" = "yes" ; then
6065 configdirs
="$configdirs lto-plugin"
6066 extra_host_libiberty_configure_flags
=--enable-shared
6071 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6072 potential_languages
=,c
,
6074 enabled_target_libs
=
6075 disabled_target_libs
=
6077 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6078 case ${lang_frag} in
6080 # The odd quoting in the next line works around
6081 # an apparent bug in bash 1.12 on linux.
6082 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6084 # From the config-lang.in, get $language, $target_libs,
6085 # $lang_dirs, $boot_language, and $build_by_default
6091 build_by_default
=yes
6093 if test x
${language} = x
; then
6094 echo "${lang_frag} doesn't set \$language." 1>&2
6098 if test "$language" = "c++"; then
6102 case ,${enable_languages}, in
6104 # Language was explicitly selected; include it
6105 # unless it is C, which is enabled by default.
6106 if test "$language" != "c"; then
6111 # 'all' was selected, select it if it is a default language
6112 add_this_lang
=${build_by_default}
6119 # Disable languages that need other directories if these aren't available.
6120 for i
in $subdir_requires; do
6121 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6122 case ,${enable_languages}, in
6124 # Specifically requested language; tell them.
6125 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6129 add_this_lang
=unsupported
6134 # Disable Ada if no preexisting GNAT is available.
6135 case ,${enable_languages},:${language}:${have_gnat} in
6136 *,${language},*:ada
:no
)
6137 # Specifically requested language; tell them.
6138 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6142 add_this_lang
=unsupported
6146 # Disable a language that is unsupported by the target.
6147 case " $unsupported_languages " in
6149 add_this_lang
=unsupported
6153 case $add_this_lang in
6155 # Remove language-dependent dirs.
6156 disabled_target_libs
="$disabled_target_libs $target_libs"
6157 noconfigdirs
="$noconfigdirs $lang_dirs"
6160 # Remove language-dependent dirs; still show language as supported.
6161 disabled_target_libs
="$disabled_target_libs $target_libs"
6162 noconfigdirs
="$noconfigdirs $lang_dirs"
6163 potential_languages
="${potential_languages}${language},"
6166 new_enable_languages
="${new_enable_languages}${language},"
6167 potential_languages
="${potential_languages}${language},"
6168 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6169 enabled_target_libs
="$enabled_target_libs $target_libs"
6170 case "${boot_language}:,$enable_stage1_languages," in
6171 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6172 # Add to (comma-separated) list of stage 1 languages.
6173 case ",$stage1_languages," in
6174 *,$language,* |
,yes, |
,all
,) ;;
6175 *) stage1_languages
="${stage1_languages}${language}," ;;
6177 # We need to bootstrap any supporting libraries.
6178 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6187 # Add target libraries which are only needed for disabled languages
6189 if test -n "$disabled_target_libs"; then
6190 for dir
in $disabled_target_libs; do
6191 case " $enabled_target_libs " in
6193 *) noconfigdirs
="$noconfigdirs $dir" ;;
6198 # Check whether --enable-stage1-languages was given.
6199 if test "${enable_stage1_languages+set}" = set; then :
6200 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6202 # Set it to something that will have no effect in the loop below
6203 enable_stage1_languages
=c
;;
6205 enable_stage1_languages
=`echo $new_enable_languages | \
6206 sed -e "s/^,//" -e "s/,$//" ` ;;
6208 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6209 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6212 # Add "good" languages from enable_stage1_languages to stage1_languages,
6213 # while "bad" languages go in missing_languages. Leave no duplicates.
6214 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6215 case $potential_languages in
6217 case $stage1_languages in
6219 *) stage1_languages
="$stage1_languages$i," ;;
6222 case $missing_languages in
6224 *) missing_languages
="$missing_languages$i," ;;
6231 # Remove leading/trailing commas that were added for simplicity
6232 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6233 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6234 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6235 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6237 if test "x$missing_languages" != x
; then
6239 The following requested languages could not be built: ${missing_languages}
6240 Supported languages are: ${potential_languages}" "$LINENO" 5
6242 if test "x$new_enable_languages" != "x$enable_languages"; then
6243 echo The following languages will be built
: ${new_enable_languages}
6244 enable_languages
="$new_enable_languages"
6248 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6251 # Handle --disable-<component> generically.
6252 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6253 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6254 varname
=`echo $dirname | sed -e s/+/_/g`
6255 if eval test x\
${enable_${varname}} "=" xno
; then
6256 noconfigdirs
="$noconfigdirs $dir"
6260 # Check for Boehm's garbage collector
6261 # Check whether --enable-objc-gc was given.
6262 if test "${enable_objc_gc+set}" = set; then :
6263 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6264 *,objc
,*:*:yes:*target-boehm-gc
*)
6265 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6271 # Make sure we only build Boehm's garbage collector if required.
6272 case ,${enable_languages},:${enable_objc_gc} in
6274 # Keep target-boehm-gc if requested for Objective-C.
6277 # Otherwise remove target-boehm-gc depending on target-libjava.
6278 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6279 noconfigdirs
="$noconfigdirs target-boehm-gc"
6284 # Disable libitm if we're not building C++
6285 case ,${enable_languages}, in
6288 noconfigdirs
="$noconfigdirs target-libitm"
6292 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6293 # $build_configdirs and $target_configdirs.
6294 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6297 for dir
in .
$skipdirs $noconfigdirs ; do
6298 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6299 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6300 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6301 if test -r $srcdir/$dirname/configure
; then
6302 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6305 notsupp
="$notsupp $dir"
6309 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6310 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6311 if test -r $srcdir/$dirname/configure
; then
6312 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6315 notsupp
="$notsupp $dir"
6319 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6320 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6321 if test -r $srcdir/$dirname/configure
; then
6322 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6325 notsupp
="$notsupp $dir"
6331 # Quietly strip out all directories which aren't configurable in this tree.
6332 # This relies on all configurable subdirectories being autoconfiscated, which
6334 build_configdirs_all
="$build_configdirs"
6336 for i
in ${build_configdirs_all} ; do
6337 j
=`echo $i | sed -e s/build-//g`
6338 if test -f ${srcdir}/$j/configure
; then
6339 build_configdirs
="${build_configdirs} $i"
6343 configdirs_all
="$configdirs"
6345 for i
in ${configdirs_all} ; do
6346 if test -f ${srcdir}/$i/configure
; then
6347 configdirs
="${configdirs} $i"
6351 target_configdirs_all
="$target_configdirs"
6353 for i
in ${target_configdirs_all} ; do
6354 j
=`echo $i | sed -e s/target-//g`
6355 if test -f ${srcdir}/$j/configure
; then
6356 target_configdirs
="${target_configdirs} $i"
6360 # Produce a warning message for the subdirs we can't configure.
6361 # This isn't especially interesting in the Cygnus tree, but in the individual
6362 # FSF releases, it's important to let people know when their machine isn't
6363 # supported by the one or two programs in a package.
6365 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6366 # If $appdirs is non-empty, at least one of those directories must still
6367 # be configured, or we error out. (E.g., if the gas release supports a
6368 # specified target in some subdirs but not the gas subdir, we shouldn't
6369 # pretend that all is well.)
6370 if test -n "$appdirs" ; then
6371 for dir
in $appdirs ; do
6372 if test -r $dir/Makefile.
in ; then
6373 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6377 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6383 if test -n "$appdirs" ; then
6384 echo "*** This configuration is not supported by this package." 1>&2
6388 # Okay, some application will build, or we don't care to check. Still
6389 # notify of subdirs not getting built.
6390 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6391 echo " ${notsupp}" 1>&2
6392 echo " (Any other directories should still work fine.)" 1>&2
6400 # To find our prefix, in gcc_cv_tool_prefix.
6402 # The user is always right.
6403 if test "${PATH_SEPARATOR+set}" != set; then
6404 echo "#! /bin/sh" >conf$$.sh
6405 echo "exit 0" >>conf$$.sh
6407 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6417 if test "x$exec_prefix" = xNONE
; then
6418 if test "x$prefix" = xNONE
; then
6419 gcc_cv_tool_prefix
=$ac_default_prefix
6421 gcc_cv_tool_prefix
=$prefix
6424 gcc_cv_tool_prefix
=$exec_prefix
6427 # If there is no compiler in the tree, use the PATH only. In any
6428 # case, if there is no compiler in the tree nobody should use
6429 # AS_FOR_TARGET and LD_FOR_TARGET.
6430 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6431 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6432 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6433 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6434 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6435 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6436 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6437 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6442 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6443 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6451 # Check whether --with-build-sysroot was given.
6452 if test "${with_build_sysroot+set}" = set; then :
6453 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6454 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6457 SYSROOT_CFLAGS_FOR_TARGET
=
6463 # Check whether --with-debug-prefix-map was given.
6464 if test "${with_debug_prefix_map+set}" = set; then :
6465 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6466 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6467 for debug_map
in $withval; do
6468 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6472 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6477 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6478 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6479 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6480 # We want to ensure that TARGET libraries (which we know are built with
6481 # gcc) are built with "-O2 -g", so include those options when setting
6482 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6483 if test "x$CFLAGS_FOR_TARGET" = x
; then
6484 CFLAGS_FOR_TARGET
=$CFLAGS
6487 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6490 *" -g "* |
*" -g3 "*) ;;
6491 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6496 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6497 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6498 case " $CXXFLAGS " in
6500 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6502 case " $CXXFLAGS " in
6503 *" -g "* |
*" -g3 "*) ;;
6504 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6511 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6512 # the named directory are copied to $(tooldir)/sys-include.
6513 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6514 if test x
${is_cross_compiler} = xno
; then
6515 echo 1>&2 '***' --with-headers is only supported when cross compiling
6518 if test x
"${with_headers}" != xyes
; then
6519 x
=${gcc_cv_tool_prefix}
6520 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6524 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6525 # the name directories are copied to $(tooldir)/lib. Multiple directories
6527 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6528 if test x
${is_cross_compiler} = xno
; then
6529 echo 1>&2 '***' --with-libs is only supported when cross compiling
6532 if test x
"${with_libs}" != xyes
; then
6533 # Copy the libraries in reverse order, so that files in the first named
6534 # library override files in subsequent libraries.
6535 x
=${gcc_cv_tool_prefix}
6536 for l
in ${with_libs}; do
6537 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6542 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6544 # This is done by determining whether or not the appropriate directory
6545 # is available, and by checking whether or not specific configurations
6546 # have requested that this magic not happen.
6548 # The command line options always override the explicit settings in
6549 # configure.in, and the settings in configure.in override this magic.
6551 # If the default for a toolchain is to use GNU as and ld, and you don't
6552 # want to do that, then you should use the --without-gnu-as and
6553 # --without-gnu-ld options for the configure script. Similarly, if
6554 # the default is to use the included zlib and you don't want to do that,
6555 # you should use the --with-system-zlib option for the configure script.
6557 if test x
${use_gnu_as} = x
&&
6558 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6560 extra_host_args
="$extra_host_args --with-gnu-as"
6563 if test x
${use_gnu_ld} = x
&&
6564 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6566 extra_host_args
="$extra_host_args --with-gnu-ld"
6569 if test x
${use_included_zlib} = x
&&
6570 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6573 with_system_zlib
=yes
6574 extra_host_args
="$extra_host_args --with-system-zlib"
6577 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6578 # can detect this case.
6580 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6582 extra_host_args
="$extra_host_args --with-newlib"
6585 # Handle ${copy_dirs}
6586 set fnord
${copy_dirs}
6588 while test $# != 0 ; do
6589 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6592 echo Copying
$1 to
$2
6594 # Use the install script to create the directory and all required
6595 # parent directories.
6596 if test -d $2 ; then
6600 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6603 # Copy the directory, assuming we have tar.
6604 # FIXME: Should we use B in the second tar? Not all systems support it.
6605 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6607 # It is the responsibility of the user to correctly adjust all
6608 # symlinks. If somebody can figure out how to handle them correctly
6609 # here, feel free to add the code.
6616 # Determine a target-dependent exec_prefix that the installed
6617 # gcc will search in. Keep this list sorted by triplet, with
6618 # the *-*-osname triplets last.
6621 i
[34567]86-pc-msdosdjgpp*)
6622 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6627 md_exec_prefix
=/usr
/ccs
/bin
6631 extra_arflags_for_target
=
6632 extra_nmflags_for_target
=
6633 extra_ranlibflags_for_target
=
6634 target_makefile_frag
=/dev
/null
6637 target_makefile_frag
="config/mt-spu"
6640 target_makefile_frag
="config/mt-sde"
6642 mipsisa
*-*-elfoabi*)
6643 target_makefile_frag
="config/mt-mips-elfoabi"
6645 mips
*-*-*linux
* | mips
*-*-gnu*)
6646 target_makefile_frag
="config/mt-mips-gnu"
6648 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6649 target_makefile_frag
="config/mt-gnu"
6651 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6652 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6653 # commands to handle both 32-bit and 64-bit objects. These flags are
6654 # harmless if we're using GNU nm or ar.
6655 extra_arflags_for_target
=" -X32_64"
6656 extra_nmflags_for_target
=" -B -X32_64"
6660 alphaieee_frag
=/dev
/null
6663 # This just makes sure to use the -mieee option to build target libs.
6664 # This should probably be set individually by each library.
6665 alphaieee_frag
="config/mt-alphaieee"
6669 # If --enable-target-optspace always use -Os instead of -O2 to build
6670 # the target libraries, similarly if it is not specified, use -Os
6671 # on selected platforms.
6672 ospace_frag
=/dev
/null
6673 case "${enable_target_optspace}:${target}" in
6675 ospace_frag
="config/mt-ospace"
6678 ospace_frag
="config/mt-d30v"
6680 :m32r-
* |
:d10v-
* |
:fr30-
*)
6681 ospace_frag
="config/mt-ospace"
6686 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6690 # Some systems (e.g., one of the i386-aix systems the gas testers are
6691 # using) don't handle "\$" correctly, so don't use it here.
6692 tooldir
='${exec_prefix}'/${target_noncanonical}
6693 build_tooldir
=${tooldir}
6695 # Create a .gdbinit file which runs the one in srcdir
6696 # and tells GDB to look there for source files.
6698 if test -r ${srcdir}/.gdbinit
; then
6701 *) cat > .
/.gdbinit
<<EOF
6705 source ${srcdir}/.gdbinit
6711 # Make sure that the compiler is able to generate an executable. If it
6712 # can't, we are probably in trouble. We don't care whether we can run the
6713 # executable--we might be using a cross compiler--we only care whether it
6714 # can be created. At this point the main configure script has set CC.
6716 echo "int main () { return 0; }" > conftest.c
6717 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6718 if test $?
= 0 ; then
6719 if test -s conftest ||
test -s conftest.exe
; then
6725 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6726 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6733 # Decide which environment variable is used to find dynamic libraries.
6735 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6736 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6737 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6738 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6741 # On systems where the dynamic library environment variable is PATH,
6742 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6743 # built executables to PATH.
6744 if test "$RPATH_ENVVAR" = PATH
; then
6745 GCC_SHLIB_SUBDIR
=/shlib
6750 # Record target_configdirs and the configure arguments for target and
6751 # build configuration in Makefile.
6752 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6753 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6755 # If we are building libgomp, bootstrap it.
6756 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6757 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6760 # Determine whether gdb needs tk/tcl or not.
6761 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6762 # and in that case we want gdb to be built without tk. Ugh!
6763 # In fact I believe gdb is the *only* package directly dependent on tk,
6764 # so we should be able to put the 'maybe's in unconditionally and
6765 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6766 # 100% sure that that's safe though.
6768 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6769 case "$enable_gdbtk" in
6773 GDB_TK
="${gdb_tk}" ;;
6775 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6776 # distro. Eventually someone will fix this and move Insight, nee
6777 # gdbtk to a separate directory.
6778 if test -d ${srcdir}/gdb
/gdbtk
; then
6785 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6786 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6788 # Strip out unwanted targets.
6790 # While at that, we remove Makefiles if we were started for recursive
6791 # configuration, so that the top-level Makefile reconfigures them,
6792 # like we used to do when configure itself was recursive.
6794 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6795 # but now we're fixing up the Makefile ourselves with the additional
6796 # commands passed to AC_CONFIG_FILES. Use separate variables
6797 # extrasub-{build,host,target} not because there is any reason to split
6798 # the substitutions up that way, but only to remain below the limit of
6799 # 99 commands in a script, for HP-UX sed.
6800 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6802 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6803 yes:yes:*\ gold\
*:*,c
++,*) ;;
6804 yes:yes:*\ gold\
*:*)
6805 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6809 # Adjust the toplevel makefile according to whether bootstrap was selected.
6810 case $enable_bootstrap in
6812 bootstrap_suffix
=bootstrap
6813 BUILD_CONFIG
=bootstrap-debug
6816 bootstrap_suffix
=no-bootstrap
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6822 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6825 # Check whether --with-build-config was given.
6826 if test "${with_build_config+set}" = set; then :
6827 withval
=$with_build_config; case $with_build_config in
6828 yes) with_build_config
= ;;
6829 no
) with_build_config
= BUILD_CONFIG
= ;;
6834 if test "x${with_build_config}" != x
; then
6835 BUILD_CONFIG
=$with_build_config
6837 case $BUILD_CONFIG in
6839 if echo "int f (void) { return 0; }" > conftest.c
&&
6840 ${CC} -c conftest.c
&&
6841 mv conftest.o conftest.o.g0
&&
6842 ${CC} -c -g conftest.c
&&
6843 mv conftest.o conftest.o.g
&&
6844 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6849 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6854 $as_echo "$BUILD_CONFIG" >&6; }
6858 for module
in ${build_configdirs} ; do
6859 if test -z "${no_recursion}" \
6860 && test -f ${build_subdir}/${module}/Makefile
; then
6861 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6862 rm -f ${build_subdir}/${module}/Makefile
6864 extrasub_build
="$extrasub_build
6865 /^@if build-$module\$/d
6866 /^@endif build-$module\$/d
6867 /^@if build-$module-$bootstrap_suffix\$/d
6868 /^@endif build-$module-$bootstrap_suffix\$/d"
6871 for module
in ${configdirs} ; do
6872 if test -z "${no_recursion}"; then
6873 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6874 if test -f ${file}; then
6875 echo 1>&2 "*** removing ${file} to force reconfigure"
6880 extrasub_host
="$extrasub_host
6882 /^@endif $module\$/d
6883 /^@if $module-$bootstrap_suffix\$/d
6884 /^@endif $module-$bootstrap_suffix\$/d"
6887 for module
in ${target_configdirs} ; do
6888 if test -z "${no_recursion}" \
6889 && test -f ${target_subdir}/${module}/Makefile
; then
6890 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6891 rm -f ${target_subdir}/${module}/Makefile
6894 # We only bootstrap target libraries listed in bootstrap_target_libs.
6895 case $bootstrap_target_libs in
6896 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6897 *) target_bootstrap_suffix
=no-bootstrap
;;
6900 extrasub_target
="$extrasub_target
6901 /^@if target-$module\$/d
6902 /^@endif target-$module\$/d
6903 /^@if target-$module-$target_bootstrap_suffix\$/d
6904 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6907 # Do the final fixup along with target modules.
6908 extrasub_target
="$extrasub_target
6909 /^@if /,/^@endif /d"
6911 # Create the serialization dependencies. This uses a temporary file.
6913 # Check whether --enable-serial-configure was given.
6914 if test "${enable_serial_configure+set}" = set; then :
6915 enableval
=$enable_serial_configure;
6919 case ${enable_serial_configure} in
6921 enable_serial_build_configure
=yes
6922 enable_serial_host_configure
=yes
6923 enable_serial_target_configure
=yes
6927 # These force 'configure's to be done one at a time, to avoid problems
6928 # with contention over a shared config.cache.
6930 echo '# serdep.tmp' > serdep.tmp
6932 test "x${enable_serial_build_configure}" = xyes
&&
6933 for item
in ${build_configdirs} ; do
6936 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6941 test "x${enable_serial_host_configure}" = xyes
&&
6942 for item
in ${configdirs} ; do
6945 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6950 test "x${enable_serial_target_configure}" = xyes
&&
6951 for item
in ${target_configdirs} ; do
6954 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6958 serialization_dependencies
=serdep.tmp
6961 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6962 # target, nonopt, and variable assignments. These are the ones we
6963 # might not want to pass down to subconfigures. The exception being
6964 # --cache-file=/dev/null, which is used to turn off the use of cache
6965 # files altogether, and which should be passed on to subconfigures.
6966 # Also strip program-prefix, program-suffix, and program-transform-name,
6967 # so that we can pass down a consistent program-transform-name.
6972 eval "set -- $ac_configure_args"
6975 if test X
"$skip_next" = X
"yes"; then
6979 if test X
"$keep_next" = X
"yes"; then
6982 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6984 baseargs
="$baseargs '$ac_arg'"
6985 tbaseargs
="$tbaseargs '$ac_arg'"
6990 # Handle separated arguments. Based on the logic generated by
6993 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6994 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6995 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6996 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7010 --with-* |
--without-*)
7011 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7015 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7018 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7027 mpc | mpfr | gmp | cloog
)
7028 # If we're processing --with-$lib, --with-$lib-include or
7029 # --with-$lib-lib, for one of the libs above, and target is
7030 # different from host, don't pass the current argument to any
7031 # target library's configure.
7032 if test x
$is_cross_compiler = xyes
; then
7041 --cache-file=/dev
/null | \
7042 -cache-file=/dev
/null
)
7043 # Handled here to avoid the test to skip args below.
7044 baseargs
="$baseargs '$ac_arg'"
7045 tbaseargs
="$tbaseargs '$ac_arg'"
7046 # Assert: $separate_arg should always be no.
7047 keep_next
=$separate_arg
7063 -program-prefix* | \
7064 -program-suffix* | \
7065 -program-transform-name* )
7066 skip_next
=$separate_arg
7070 # An option. Add it.
7073 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7075 baseargs
="$baseargs '$ac_arg'"
7076 if test X
"$skip_targ" = Xno
; then
7077 tbaseargs
="$tbaseargs '$ac_arg'"
7079 keep_next
=$separate_arg
7082 # Either a variable assignment, or a nonopt (triplet). Don't
7083 # pass it down; let the Makefile handle this.
7088 # Remove the initial space we just introduced and, as these will be
7089 # expanded by make, quote '$'.
7090 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7092 # Add in --program-transform-name, after --program-prefix and
7093 # --program-suffix have been applied to it. Autoconf has already
7094 # doubled dollar signs and backslashes in program_transform_name; we want
7095 # the backslashes un-doubled, and then the entire thing wrapped in single
7096 # quotes, because this will be expanded first by make and then by the shell.
7097 # Also, because we want to override the logic in subdir configure scripts to
7098 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7099 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7100 ${program_transform_name}
7102 gcc_transform_name
=`cat conftestsed.out`
7103 rm -f conftestsed.out
7104 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7105 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7106 if test "$silent" = yes; then
7107 baseargs
="$baseargs --silent"
7108 tbaseargs
="$tbaseargs --silent"
7110 baseargs
="$baseargs --disable-option-checking"
7111 tbaseargs
="$tbaseargs --disable-option-checking"
7113 # Record and document user additions to sub configure arguments.
7118 # For the build-side libraries, we just need to pretend we're native,
7119 # and not use the same cache file. Multilibs are neither needed nor
7121 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7123 # For host modules, accept cache file option, or specification as blank.
7124 case "${cache_file}" in
7126 cache_file_option
="" ;;
7127 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7128 cache_file_option
="--cache-file=${cache_file}" ;;
7130 cache_file_option
="--cache-file=../${cache_file}" ;;
7133 # Host dirs don't like to share a cache file either, horribly enough.
7134 # This seems to be due to autoconf 2.5x stupidity.
7135 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7137 target_configargs
="$target_configargs ${tbaseargs}"
7139 # Passing a --with-cross-host argument lets the target libraries know
7140 # whether they are being built with a cross-compiler or being built
7141 # native. However, it would be better to use other mechanisms to make the
7142 # sorts of decisions they want to make on this basis. Please consider
7143 # this option to be deprecated. FIXME.
7144 if test x
${is_cross_compiler} = xyes
; then
7145 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7148 # Default to --enable-multilib.
7149 if test x
${enable_multilib} = x
; then
7150 target_configargs
="--enable-multilib ${target_configargs}"
7153 # Pass --with-newlib if appropriate. Note that target_configdirs has
7154 # changed from the earlier setting of with_newlib.
7155 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7156 target_configargs
="--with-newlib ${target_configargs}"
7159 # Different target subdirs use different values of certain variables
7160 # (notably CXX). Worse, multilibs use *lots* of different values.
7161 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7162 # it doesn't automatically accept command-line overrides of them.
7163 # This means it's not safe for target subdirs to share a cache file,
7164 # which is disgusting, but there you have it. Hopefully this can be
7165 # fixed in future. It's still worthwhile to use a cache file for each
7166 # directory. I think.
7168 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7169 # We need to pass --target, as newer autoconf's requires consistency
7170 # for target_alias and gcc doesn't manage it consistently.
7171 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7174 case " $target_configdirs " in
7176 case " $target_configargs " in
7177 *" --with-newlib "*)
7180 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'
7184 # If we're not building GCC, don't discard standard headers.
7185 if test -d ${srcdir}/gcc
; then
7186 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7188 if test "${build}" != "${host}"; then
7189 # On Canadian crosses, CC_FOR_TARGET will have already been set
7190 # by `configure', so we won't have an opportunity to add -Bgcc/
7191 # to it. This is right: we don't want to search that directory
7192 # for binaries, but we want the header files in there, so add
7194 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7196 # Someone might think of using the pre-installed headers on
7197 # Canadian crosses, in case the installed compiler is not fully
7198 # compatible with the compiler being built. In this case, it
7199 # would be better to flag an error than risking having
7200 # incompatible object files being constructed. We can't
7201 # guarantee that an error will be flagged, but let's hope the
7202 # compiler will do it, when presented with incompatible header
7207 case "${target}-${is_cross_compiler}" in
7208 i
[3456789]86-*-linux*-no)
7209 # Here host == target, so we don't need to build gcc,
7210 # so we don't want to discard standard headers.
7211 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7214 # If we're building newlib, use its generic headers last, but search
7215 # for any libc-related directories first (so make it the last -B
7217 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7219 # If we're building libgloss, find the startup file, simulator library
7220 # and linker script.
7221 case " $target_configdirs " in
7223 # Look for startup file, simulator library and maybe linker script.
7224 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7225 # Look for libnosys.a in case the target needs it.
7226 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7227 # Most targets have the linker script in the source directory.
7228 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7239 x86_64-
*mingw
* |
*-w64-mingw*)
7240 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7241 # however, use a symlink named 'mingw' in ${prefix} .
7242 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7245 # MinGW can't be handled as Cygwin above since it does not use newlib.
7246 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'
7250 # Allow the user to override the flags for
7251 # our build compiler if desired.
7252 if test x
"${build}" = x
"${host}" ; then
7253 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7254 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7255 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7258 # On Canadian crosses, we'll be searching the right directories for
7259 # the previously-installed cross compiler, so don't bother to add
7260 # flags for directories within the install tree of the compiler
7261 # being built; programs in there won't even run.
7262 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7263 # Search for pre-installed headers if nothing else fits.
7264 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7267 if test "x
${use_gnu_ld}" = x &&
7268 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7269 # Arrange for us to find uninstalled linker scripts.
7270 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7273 # Search for other target-specific linker scripts and such.
7276 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7280 # Makefile fragments.
7281 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7283 eval fragval=\$$frag
7284 if test $fragval != /dev/null; then
7285 eval $frag=${srcdir}/$fragval
7293 # Miscellanea: directories, flags, etc.
7302 # Build module lists & subconfigure args.
7306 # Host module lists & subconfigure args.
7311 # Target module lists & subconfigure args.
7333 # Generate default definitions for YACC, M4, LEX and other programs that run
7334 # on the build machine. These are used if the Makefile can't locate these
7335 # programs in objdir.
7336 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7338 for ac_prog in 'bison -y' byacc yacc
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7343 $as_echo_n "checking
for $ac_word...
" >&6; }
7344 if test "${ac_cv_prog_YACC+set}" = set; then :
7345 $as_echo_n "(cached
) " >&6
7347 if test -n "$YACC"; then
7348 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357 ac_cv_prog_YACC="$ac_prog"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7367 YACC=$ac_cv_prog_YACC
7368 if test -n "$YACC"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7370 $as_echo "$YACC" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7373 $as_echo "no
" >&6; }
7377 test -n "$YACC" && break
7379 test -n "$YACC" || YACC="$MISSING bison
-y"
7381 case " $build_configdirs " in
7382 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7385 for ac_prog in bison
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy $ac_prog; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7390 $as_echo_n "checking
for $ac_word...
" >&6; }
7391 if test "${ac_cv_prog_BISON+set}" = set; then :
7392 $as_echo_n "(cached
) " >&6
7394 if test -n "$BISON"; then
7395 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_BISON="$ac_prog"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7414 BISON=$ac_cv_prog_BISON
7415 if test -n "$BISON"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7417 $as_echo "$BISON" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7420 $as_echo "no
" >&6; }
7424 test -n "$BISON" && break
7426 test -n "$BISON" || BISON="$MISSING bison
"
7428 case " $build_configdirs " in
7429 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7432 for ac_prog in gm4 gnum4 m4
7434 # Extract the first word of "$ac_prog", so it can be a program name with args.
7435 set dummy $ac_prog; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7437 $as_echo_n "checking
for $ac_word...
" >&6; }
7438 if test "${ac_cv_prog_M4+set}" = set; then :
7439 $as_echo_n "(cached
) " >&6
7441 if test -n "$M4"; then
7442 ac_cv_prog_M4="$M4" # Let the user override the test.
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_M4="$ac_prog"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7462 if test -n "$M4"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7464 $as_echo "$M4" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7467 $as_echo "no
" >&6; }
7471 test -n "$M4" && break
7473 test -n "$M4" || M4="$MISSING m4"
7475 case " $build_configdirs " in
7476 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7479 for ac_prog in flex lex
7481 # Extract the first word of "$ac_prog", so it can be a program name with args.
7482 set dummy $ac_prog; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7484 $as_echo_n "checking
for $ac_word...
" >&6; }
7485 if test "${ac_cv_prog_LEX+set}" = set; then :
7486 $as_echo_n "(cached
) " >&6
7488 if test -n "$LEX"; then
7489 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_LEX="$ac_prog"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7509 if test -n "$LEX"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7511 $as_echo "$LEX" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7514 $as_echo "no
" >&6; }
7518 test -n "$LEX" && break
7520 test -n "$LEX" || LEX="$MISSING flex
"
7522 case " $build_configdirs " in
7523 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7524 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7529 # Extract the first word of "$ac_prog", so it can be a program name with args.
7530 set dummy $ac_prog; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7532 $as_echo_n "checking
for $ac_word...
" >&6; }
7533 if test "${ac_cv_prog_FLEX+set}" = set; then :
7534 $as_echo_n "(cached
) " >&6
7536 if test -n "$FLEX"; then
7537 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_prog_FLEX="$ac_prog"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7556 FLEX=$ac_cv_prog_FLEX
7557 if test -n "$FLEX"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7559 $as_echo "$FLEX" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7562 $as_echo "no
" >&6; }
7566 test -n "$FLEX" && break
7568 test -n "$FLEX" || FLEX="$MISSING flex
"
7570 case " $build_configdirs " in
7571 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7574 for ac_prog in makeinfo
7576 # Extract the first word of "$ac_prog", so it can be a program name with args.
7577 set dummy $ac_prog; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7579 $as_echo_n "checking
for $ac_word...
" >&6; }
7580 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7581 $as_echo_n "(cached
) " >&6
7583 if test -n "$MAKEINFO"; then
7584 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_MAKEINFO="$ac_prog"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 MAKEINFO=$ac_cv_prog_MAKEINFO
7604 if test -n "$MAKEINFO"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7606 $as_echo "$MAKEINFO" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7609 $as_echo "no
" >&6; }
7613 test -n "$MAKEINFO" && break
7615 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7617 case " $build_configdirs " in
7618 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7621 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7622 # higher, else we use the "missing
" dummy.
7623 if ${MAKEINFO} --version \
7624 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7627 MAKEINFO="$MISSING makeinfo
"
7633 # FIXME: expect and dejagnu may become build tools?
7635 for ac_prog in expect
7637 # Extract the first word of "$ac_prog", so it can be a program name with args.
7638 set dummy $ac_prog; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7640 $as_echo_n "checking
for $ac_word...
" >&6; }
7641 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7642 $as_echo_n "(cached
) " >&6
7644 if test -n "$EXPECT"; then
7645 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_EXPECT="$ac_prog"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7664 EXPECT=$ac_cv_prog_EXPECT
7665 if test -n "$EXPECT"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7667 $as_echo "$EXPECT" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7670 $as_echo "no
" >&6; }
7674 test -n "$EXPECT" && break
7676 test -n "$EXPECT" || EXPECT="expect
"
7678 case " $configdirs " in
7680 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7684 for ac_prog in runtest
7686 # Extract the first word of "$ac_prog", so it can be a program name with args.
7687 set dummy $ac_prog; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7689 $as_echo_n "checking
for $ac_word...
" >&6; }
7690 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7691 $as_echo_n "(cached
) " >&6
7693 if test -n "$RUNTEST"; then
7694 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 ac_cv_prog_RUNTEST="$ac_prog"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7713 RUNTEST=$ac_cv_prog_RUNTEST
7714 if test -n "$RUNTEST"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7716 $as_echo "$RUNTEST" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7719 $as_echo "no
" >&6; }
7723 test -n "$RUNTEST" && break
7725 test -n "$RUNTEST" || RUNTEST="runtest
"
7727 case " $configdirs " in
7729 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7736 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7737 ncn_target_tool_prefix=
7738 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7742 if test -n "$AR"; then
7744 elif test -n "$ac_cv_prog_AR"; then
7748 if test -n "$ac_cv_prog_AR"; then
7749 for ncn_progname in ar; do
7750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7751 set dummy ${ncn_progname}; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7753 $as_echo_n "checking
for $ac_word...
" >&6; }
7754 if test "${ac_cv_prog_AR+set}" = set; then :
7755 $as_echo_n "(cached
) " >&6
7757 if test -n "$AR"; then
7758 ac_cv_prog_AR="$AR" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_AR="${ncn_progname}"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7778 if test -n "$AR"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7780 $as_echo "$AR" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7783 $as_echo "no
" >&6; }
7790 for ncn_progname in ar; do
7791 if test -n "$ncn_tool_prefix"; then
7792 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7793 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7795 $as_echo_n "checking
for $ac_word...
" >&6; }
7796 if test "${ac_cv_prog_AR+set}" = set; then :
7797 $as_echo_n "(cached
) " >&6
7799 if test -n "$AR"; then
7800 ac_cv_prog_AR="$AR" # Let the user override the test.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7820 if test -n "$AR"; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7822 $as_echo "$AR" >&6; }
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7825 $as_echo "no
" >&6; }
7830 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7832 set dummy ${ncn_progname}; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7834 $as_echo_n "checking
for $ac_word...
" >&6; }
7835 if test "${ac_cv_prog_AR+set}" = set; then :
7836 $as_echo_n "(cached
) " >&6
7838 if test -n "$AR"; then
7839 ac_cv_prog_AR="$AR" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7848 ac_cv_prog_AR="${ncn_progname}"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7859 if test -n "$AR"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7861 $as_echo "$AR" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7864 $as_echo "no
" >&6; }
7869 test -n "$ac_cv_prog_AR" && break
7872 if test -z "$ac_cv_prog_AR" ; then
7874 if test $build = $host ; then
7877 AR="${ncn_tool_prefix}$2"
7883 if test -n "$AS"; then
7885 elif test -n "$ac_cv_prog_AS"; then
7889 if test -n "$ac_cv_prog_AS"; then
7890 for ncn_progname in as; do
7891 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7892 set dummy ${ncn_progname}; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7894 $as_echo_n "checking
for $ac_word...
" >&6; }
7895 if test "${ac_cv_prog_AS+set}" = set; then :
7896 $as_echo_n "(cached
) " >&6
7898 if test -n "$AS"; then
7899 ac_cv_prog_AS="$AS" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7908 ac_cv_prog_AS="${ncn_progname}"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7919 if test -n "$AS"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7921 $as_echo "$AS" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7924 $as_echo "no
" >&6; }
7931 for ncn_progname in as; do
7932 if test -n "$ncn_tool_prefix"; then
7933 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7934 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7936 $as_echo_n "checking
for $ac_word...
" >&6; }
7937 if test "${ac_cv_prog_AS+set}" = set; then :
7938 $as_echo_n "(cached
) " >&6
7940 if test -n "$AS"; then
7941 ac_cv_prog_AS="$AS" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7961 if test -n "$AS"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7963 $as_echo "$AS" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7971 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7973 set dummy ${ncn_progname}; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7975 $as_echo_n "checking
for $ac_word...
" >&6; }
7976 if test "${ac_cv_prog_AS+set}" = set; then :
7977 $as_echo_n "(cached
) " >&6
7979 if test -n "$AS"; then
7980 ac_cv_prog_AS="$AS" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989 ac_cv_prog_AS="${ncn_progname}"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 if test -n "$AS"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8002 $as_echo "$AS" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8005 $as_echo "no
" >&6; }
8010 test -n "$ac_cv_prog_AS" && break
8013 if test -z "$ac_cv_prog_AS" ; then
8015 if test $build = $host ; then
8018 AS="${ncn_tool_prefix}$2"
8024 if test -n "$DLLTOOL"; then
8025 ac_cv_prog_DLLTOOL=$DLLTOOL
8026 elif test -n "$ac_cv_prog_DLLTOOL"; then
8027 DLLTOOL=$ac_cv_prog_DLLTOOL
8030 if test -n "$ac_cv_prog_DLLTOOL"; then
8031 for ncn_progname in dlltool; do
8032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8033 set dummy ${ncn_progname}; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8035 $as_echo_n "checking
for $ac_word...
" >&6; }
8036 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8037 $as_echo_n "(cached
) " >&6
8039 if test -n "$DLLTOOL"; then
8040 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049 ac_cv_prog_DLLTOOL="${ncn_progname}"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 DLLTOOL=$ac_cv_prog_DLLTOOL
8060 if test -n "$DLLTOOL"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8062 $as_echo "$DLLTOOL" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8065 $as_echo "no
" >&6; }
8072 for ncn_progname in dlltool; do
8073 if test -n "$ncn_tool_prefix"; then
8074 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8075 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8077 $as_echo_n "checking
for $ac_word...
" >&6; }
8078 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8079 $as_echo_n "(cached
) " >&6
8081 if test -n "$DLLTOOL"; then
8082 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8091 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 DLLTOOL=$ac_cv_prog_DLLTOOL
8102 if test -n "$DLLTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8104 $as_echo "$DLLTOOL" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8107 $as_echo "no
" >&6; }
8112 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8114 set dummy ${ncn_progname}; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8116 $as_echo_n "checking
for $ac_word...
" >&6; }
8117 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8118 $as_echo_n "(cached
) " >&6
8120 if test -n "$DLLTOOL"; then
8121 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_DLLTOOL="${ncn_progname}"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8140 DLLTOOL=$ac_cv_prog_DLLTOOL
8141 if test -n "$DLLTOOL"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8143 $as_echo "$DLLTOOL" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8146 $as_echo "no
" >&6; }
8151 test -n "$ac_cv_prog_DLLTOOL" && break
8154 if test -z "$ac_cv_prog_DLLTOOL" ; then
8156 if test $build = $host ; then
8159 DLLTOOL="${ncn_tool_prefix}$2"
8165 if test -n "$LD"; then
8167 elif test -n "$ac_cv_prog_LD"; then
8171 if test -n "$ac_cv_prog_LD"; then
8172 for ncn_progname in ld; do
8173 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8174 set dummy ${ncn_progname}; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8176 $as_echo_n "checking
for $ac_word...
" >&6; }
8177 if test "${ac_cv_prog_LD+set}" = set; then :
8178 $as_echo_n "(cached
) " >&6
8180 if test -n "$LD"; then
8181 ac_cv_prog_LD="$LD" # Let the user override the test.
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_LD="${ncn_progname}"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8201 if test -n "$LD"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8203 $as_echo "$LD" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8206 $as_echo "no
" >&6; }
8213 for ncn_progname in ld; do
8214 if test -n "$ncn_tool_prefix"; then
8215 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8216 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8218 $as_echo_n "checking
for $ac_word...
" >&6; }
8219 if test "${ac_cv_prog_LD+set}" = set; then :
8220 $as_echo_n "(cached
) " >&6
8222 if test -n "$LD"; then
8223 ac_cv_prog_LD="$LD" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8243 if test -n "$LD"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8245 $as_echo "$LD" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8248 $as_echo "no
" >&6; }
8253 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8255 set dummy ${ncn_progname}; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if test "${ac_cv_prog_LD+set}" = set; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$LD"; then
8262 ac_cv_prog_LD="$LD" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8271 ac_cv_prog_LD="${ncn_progname}"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8282 if test -n "$LD"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8284 $as_echo "$LD" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 test -n "$ac_cv_prog_LD" && break
8295 if test -z "$ac_cv_prog_LD" ; then
8297 if test $build = $host ; then
8300 LD="${ncn_tool_prefix}$2"
8306 if test -n "$LIPO"; then
8307 ac_cv_prog_LIPO=$LIPO
8308 elif test -n "$ac_cv_prog_LIPO"; then
8309 LIPO=$ac_cv_prog_LIPO
8312 if test -n "$ac_cv_prog_LIPO"; then
8313 for ncn_progname in lipo; do
8314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8315 set dummy ${ncn_progname}; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if test "${ac_cv_prog_LIPO+set}" = set; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$LIPO"; then
8322 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_prog_LIPO="${ncn_progname}"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 LIPO=$ac_cv_prog_LIPO
8342 if test -n "$LIPO"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8344 $as_echo "$LIPO" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8354 for ncn_progname in lipo; do
8355 if test -n "$ncn_tool_prefix"; then
8356 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8357 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8359 $as_echo_n "checking
for $ac_word...
" >&6; }
8360 if test "${ac_cv_prog_LIPO+set}" = set; then :
8361 $as_echo_n "(cached
) " >&6
8363 if test -n "$LIPO"; then
8364 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir=.
8371 for ac_exec_ext in '' $ac_executable_extensions; do
8372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8373 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8383 LIPO=$ac_cv_prog_LIPO
8384 if test -n "$LIPO"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8386 $as_echo "$LIPO" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8389 $as_echo "no
" >&6; }
8394 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8396 set dummy ${ncn_progname}; ac_word=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8398 $as_echo_n "checking
for $ac_word...
" >&6; }
8399 if test "${ac_cv_prog_LIPO+set}" = set; then :
8400 $as_echo_n "(cached
) " >&6
8402 if test -n "$LIPO"; then
8403 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir=.
8410 for ac_exec_ext in '' $ac_executable_extensions; do
8411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8412 ac_cv_prog_LIPO="${ncn_progname}"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8422 LIPO=$ac_cv_prog_LIPO
8423 if test -n "$LIPO"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8425 $as_echo "$LIPO" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8428 $as_echo "no
" >&6; }
8433 test -n "$ac_cv_prog_LIPO" && break
8436 if test -z "$ac_cv_prog_LIPO" ; then
8438 if test $build = $host ; then
8441 LIPO="${ncn_tool_prefix}$2"
8447 if test -n "$NM"; then
8449 elif test -n "$ac_cv_prog_NM"; then
8453 if test -n "$ac_cv_prog_NM"; then
8454 for ncn_progname in nm; do
8455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8456 set dummy ${ncn_progname}; ac_word=$2
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8458 $as_echo_n "checking
for $ac_word...
" >&6; }
8459 if test "${ac_cv_prog_NM+set}" = set; then :
8460 $as_echo_n "(cached
) " >&6
8462 if test -n "$NM"; then
8463 ac_cv_prog_NM="$NM" # Let the user override the test.
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 test -z "$as_dir" && as_dir=.
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8472 ac_cv_prog_NM="${ncn_progname}"
8473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8483 if test -n "$NM"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8485 $as_echo "$NM" >&6; }
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8488 $as_echo "no
" >&6; }
8495 for ncn_progname in nm; do
8496 if test -n "$ncn_tool_prefix"; then
8497 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8498 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8500 $as_echo_n "checking
for $ac_word...
" >&6; }
8501 if test "${ac_cv_prog_NM+set}" = set; then :
8502 $as_echo_n "(cached
) " >&6
8504 if test -n "$NM"; then
8505 ac_cv_prog_NM="$NM" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8525 if test -n "$NM"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8527 $as_echo "$NM" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8530 $as_echo "no
" >&6; }
8535 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8537 set dummy ${ncn_progname}; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8539 $as_echo_n "checking
for $ac_word...
" >&6; }
8540 if test "${ac_cv_prog_NM+set}" = set; then :
8541 $as_echo_n "(cached
) " >&6
8543 if test -n "$NM"; then
8544 ac_cv_prog_NM="$NM" # Let the user override the test.
8546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 test -z "$as_dir" && as_dir=.
8551 for ac_exec_ext in '' $ac_executable_extensions; do
8552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8553 ac_cv_prog_NM="${ncn_progname}"
8554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8564 if test -n "$NM"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8566 $as_echo "$NM" >&6; }
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8569 $as_echo "no
" >&6; }
8574 test -n "$ac_cv_prog_NM" && break
8577 if test -z "$ac_cv_prog_NM" ; then
8579 if test $build = $host ; then
8582 NM="${ncn_tool_prefix}$2"
8588 if test -n "$RANLIB"; then
8589 ac_cv_prog_RANLIB=$RANLIB
8590 elif test -n "$ac_cv_prog_RANLIB"; then
8591 RANLIB=$ac_cv_prog_RANLIB
8594 if test -n "$ac_cv_prog_RANLIB"; then
8595 for ncn_progname in ranlib; do
8596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8597 set dummy ${ncn_progname}; ac_word=$2
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8599 $as_echo_n "checking
for $ac_word...
" >&6; }
8600 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8601 $as_echo_n "(cached
) " >&6
8603 if test -n "$RANLIB"; then
8604 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir=.
8611 for ac_exec_ext in '' $ac_executable_extensions; do
8612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8613 ac_cv_prog_RANLIB="${ncn_progname}"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8623 RANLIB=$ac_cv_prog_RANLIB
8624 if test -n "$RANLIB"; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8626 $as_echo "$RANLIB" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8629 $as_echo "no
" >&6; }
8636 for ncn_progname in ranlib; do
8637 if test -n "$ncn_tool_prefix"; then
8638 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8639 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8641 $as_echo_n "checking
for $ac_word...
" >&6; }
8642 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8643 $as_echo_n "(cached
) " >&6
8645 if test -n "$RANLIB"; then
8646 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652 test -z "$as_dir" && as_dir=.
8653 for ac_exec_ext in '' $ac_executable_extensions; do
8654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8655 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8665 RANLIB=$ac_cv_prog_RANLIB
8666 if test -n "$RANLIB"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8668 $as_echo "$RANLIB" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8671 $as_echo "no
" >&6; }
8676 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8678 set dummy ${ncn_progname}; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8680 $as_echo_n "checking
for $ac_word...
" >&6; }
8681 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8682 $as_echo_n "(cached
) " >&6
8684 if test -n "$RANLIB"; then
8685 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8694 ac_cv_prog_RANLIB="${ncn_progname}"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 RANLIB=$ac_cv_prog_RANLIB
8705 if test -n "$RANLIB"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8707 $as_echo "$RANLIB" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8710 $as_echo "no
" >&6; }
8715 test -n "$ac_cv_prog_RANLIB" && break
8718 if test -z "$ac_cv_prog_RANLIB" ; then
8724 if test -n "$STRIP"; then
8725 ac_cv_prog_STRIP=$STRIP
8726 elif test -n "$ac_cv_prog_STRIP"; then
8727 STRIP=$ac_cv_prog_STRIP
8730 if test -n "$ac_cv_prog_STRIP"; then
8731 for ncn_progname in strip; do
8732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8733 set dummy ${ncn_progname}; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8735 $as_echo_n "checking
for $ac_word...
" >&6; }
8736 if test "${ac_cv_prog_STRIP+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 if test -n "$STRIP"; then
8740 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_prog_STRIP="${ncn_progname}"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8759 STRIP=$ac_cv_prog_STRIP
8760 if test -n "$STRIP"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8762 $as_echo "$STRIP" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8765 $as_echo "no
" >&6; }
8772 for ncn_progname in strip; do
8773 if test -n "$ncn_tool_prefix"; then
8774 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8775 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8777 $as_echo_n "checking
for $ac_word...
" >&6; }
8778 if test "${ac_cv_prog_STRIP+set}" = set; then :
8779 $as_echo_n "(cached
) " >&6
8781 if test -n "$STRIP"; then
8782 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8791 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8801 STRIP=$ac_cv_prog_STRIP
8802 if test -n "$STRIP"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8804 $as_echo "$STRIP" >&6; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8807 $as_echo "no
" >&6; }
8812 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8814 set dummy ${ncn_progname}; ac_word=$2
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8816 $as_echo_n "checking
for $ac_word...
" >&6; }
8817 if test "${ac_cv_prog_STRIP+set}" = set; then :
8818 $as_echo_n "(cached
) " >&6
8820 if test -n "$STRIP"; then
8821 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir=.
8828 for ac_exec_ext in '' $ac_executable_extensions; do
8829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830 ac_cv_prog_STRIP="${ncn_progname}"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8840 STRIP=$ac_cv_prog_STRIP
8841 if test -n "$STRIP"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8843 $as_echo "$STRIP" >&6; }
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8846 $as_echo "no
" >&6; }
8851 test -n "$ac_cv_prog_STRIP" && break
8854 if test -z "$ac_cv_prog_STRIP" ; then
8860 if test -n "$WINDRES"; then
8861 ac_cv_prog_WINDRES=$WINDRES
8862 elif test -n "$ac_cv_prog_WINDRES"; then
8863 WINDRES=$ac_cv_prog_WINDRES
8866 if test -n "$ac_cv_prog_WINDRES"; then
8867 for ncn_progname in windres; do
8868 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8869 set dummy ${ncn_progname}; ac_word=$2
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8871 $as_echo_n "checking
for $ac_word...
" >&6; }
8872 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8873 $as_echo_n "(cached
) " >&6
8875 if test -n "$WINDRES"; then
8876 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8882 test -z "$as_dir" && as_dir=.
8883 for ac_exec_ext in '' $ac_executable_extensions; do
8884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8885 ac_cv_prog_WINDRES="${ncn_progname}"
8886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8895 WINDRES=$ac_cv_prog_WINDRES
8896 if test -n "$WINDRES"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8898 $as_echo "$WINDRES" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8901 $as_echo "no
" >&6; }
8908 for ncn_progname in windres; do
8909 if test -n "$ncn_tool_prefix"; then
8910 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8911 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8913 $as_echo_n "checking
for $ac_word...
" >&6; }
8914 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8915 $as_echo_n "(cached
) " >&6
8917 if test -n "$WINDRES"; then
8918 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924 test -z "$as_dir" && as_dir=.
8925 for ac_exec_ext in '' $ac_executable_extensions; do
8926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8927 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8937 WINDRES=$ac_cv_prog_WINDRES
8938 if test -n "$WINDRES"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8940 $as_echo "$WINDRES" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8943 $as_echo "no
" >&6; }
8948 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8950 set dummy ${ncn_progname}; ac_word=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8952 $as_echo_n "checking
for $ac_word...
" >&6; }
8953 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8954 $as_echo_n "(cached
) " >&6
8956 if test -n "$WINDRES"; then
8957 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_WINDRES="${ncn_progname}"
8967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8976 WINDRES=$ac_cv_prog_WINDRES
8977 if test -n "$WINDRES"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8979 $as_echo "$WINDRES" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8982 $as_echo "no
" >&6; }
8987 test -n "$ac_cv_prog_WINDRES" && break
8990 if test -z "$ac_cv_prog_WINDRES" ; then
8992 if test $build = $host ; then
8995 WINDRES="${ncn_tool_prefix}$2"
9001 if test -n "$WINDMC"; then
9002 ac_cv_prog_WINDMC=$WINDMC
9003 elif test -n "$ac_cv_prog_WINDMC"; then
9004 WINDMC=$ac_cv_prog_WINDMC
9007 if test -n "$ac_cv_prog_WINDMC"; then
9008 for ncn_progname in windmc; do
9009 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9010 set dummy ${ncn_progname}; ac_word=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9012 $as_echo_n "checking
for $ac_word...
" >&6; }
9013 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9014 $as_echo_n "(cached
) " >&6
9016 if test -n "$WINDMC"; then
9017 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir=.
9024 for ac_exec_ext in '' $ac_executable_extensions; do
9025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9026 ac_cv_prog_WINDMC="${ncn_progname}"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9036 WINDMC=$ac_cv_prog_WINDMC
9037 if test -n "$WINDMC"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9039 $as_echo "$WINDMC" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9042 $as_echo "no
" >&6; }
9049 for ncn_progname in windmc; do
9050 if test -n "$ncn_tool_prefix"; then
9051 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9052 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9054 $as_echo_n "checking
for $ac_word...
" >&6; }
9055 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9056 $as_echo_n "(cached
) " >&6
9058 if test -n "$WINDMC"; then
9059 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9065 test -z "$as_dir" && as_dir=.
9066 for ac_exec_ext in '' $ac_executable_extensions; do
9067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9068 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9078 WINDMC=$ac_cv_prog_WINDMC
9079 if test -n "$WINDMC"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9081 $as_echo "$WINDMC" >&6; }
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9084 $as_echo "no
" >&6; }
9089 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9091 set dummy ${ncn_progname}; ac_word=$2
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9093 $as_echo_n "checking
for $ac_word...
" >&6; }
9094 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9095 $as_echo_n "(cached
) " >&6
9097 if test -n "$WINDMC"; then
9098 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9104 test -z "$as_dir" && as_dir=.
9105 for ac_exec_ext in '' $ac_executable_extensions; do
9106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9107 ac_cv_prog_WINDMC="${ncn_progname}"
9108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9117 WINDMC=$ac_cv_prog_WINDMC
9118 if test -n "$WINDMC"; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9120 $as_echo "$WINDMC" >&6; }
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9123 $as_echo "no
" >&6; }
9128 test -n "$ac_cv_prog_WINDMC" && break
9131 if test -z "$ac_cv_prog_WINDMC" ; then
9133 if test $build = $host ; then
9136 WINDMC="${ncn_tool_prefix}$2"
9142 if test -n "$OBJCOPY"; then
9143 ac_cv_prog_OBJCOPY=$OBJCOPY
9144 elif test -n "$ac_cv_prog_OBJCOPY"; then
9145 OBJCOPY=$ac_cv_prog_OBJCOPY
9148 if test -n "$ac_cv_prog_OBJCOPY"; then
9149 for ncn_progname in objcopy; do
9150 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9151 set dummy ${ncn_progname}; ac_word=$2
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9153 $as_echo_n "checking
for $ac_word...
" >&6; }
9154 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9155 $as_echo_n "(cached
) " >&6
9157 if test -n "$OBJCOPY"; then
9158 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 test -z "$as_dir" && as_dir=.
9165 for ac_exec_ext in '' $ac_executable_extensions; do
9166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9167 ac_cv_prog_OBJCOPY="${ncn_progname}"
9168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9177 OBJCOPY=$ac_cv_prog_OBJCOPY
9178 if test -n "$OBJCOPY"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9180 $as_echo "$OBJCOPY" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9183 $as_echo "no
" >&6; }
9190 for ncn_progname in objcopy; do
9191 if test -n "$ncn_tool_prefix"; then
9192 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9193 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9195 $as_echo_n "checking
for $ac_word...
" >&6; }
9196 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9197 $as_echo_n "(cached
) " >&6
9199 if test -n "$OBJCOPY"; then
9200 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9206 test -z "$as_dir" && as_dir=.
9207 for ac_exec_ext in '' $ac_executable_extensions; do
9208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9209 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9219 OBJCOPY=$ac_cv_prog_OBJCOPY
9220 if test -n "$OBJCOPY"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9222 $as_echo "$OBJCOPY" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9225 $as_echo "no
" >&6; }
9230 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9232 set dummy ${ncn_progname}; ac_word=$2
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9234 $as_echo_n "checking
for $ac_word...
" >&6; }
9235 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9236 $as_echo_n "(cached
) " >&6
9238 if test -n "$OBJCOPY"; then
9239 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 test -z "$as_dir" && as_dir=.
9246 for ac_exec_ext in '' $ac_executable_extensions; do
9247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9248 ac_cv_prog_OBJCOPY="${ncn_progname}"
9249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9258 OBJCOPY=$ac_cv_prog_OBJCOPY
9259 if test -n "$OBJCOPY"; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9261 $as_echo "$OBJCOPY" >&6; }
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9264 $as_echo "no
" >&6; }
9269 test -n "$ac_cv_prog_OBJCOPY" && break
9272 if test -z "$ac_cv_prog_OBJCOPY" ; then
9274 if test $build = $host ; then
9277 OBJCOPY="${ncn_tool_prefix}$2"
9283 if test -n "$OBJDUMP"; then
9284 ac_cv_prog_OBJDUMP=$OBJDUMP
9285 elif test -n "$ac_cv_prog_OBJDUMP"; then
9286 OBJDUMP=$ac_cv_prog_OBJDUMP
9289 if test -n "$ac_cv_prog_OBJDUMP"; then
9290 for ncn_progname in objdump; do
9291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9292 set dummy ${ncn_progname}; ac_word=$2
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9294 $as_echo_n "checking
for $ac_word...
" >&6; }
9295 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9296 $as_echo_n "(cached
) " >&6
9298 if test -n "$OBJDUMP"; then
9299 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir=.
9306 for ac_exec_ext in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_prog_OBJDUMP="${ncn_progname}"
9309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9318 OBJDUMP=$ac_cv_prog_OBJDUMP
9319 if test -n "$OBJDUMP"; then
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9321 $as_echo "$OBJDUMP" >&6; }
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9324 $as_echo "no
" >&6; }
9331 for ncn_progname in objdump; do
9332 if test -n "$ncn_tool_prefix"; then
9333 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9334 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9336 $as_echo_n "checking
for $ac_word...
" >&6; }
9337 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9338 $as_echo_n "(cached
) " >&6
9340 if test -n "$OBJDUMP"; then
9341 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9350 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9360 OBJDUMP=$ac_cv_prog_OBJDUMP
9361 if test -n "$OBJDUMP"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9363 $as_echo "$OBJDUMP" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9366 $as_echo "no
" >&6; }
9371 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9373 set dummy ${ncn_progname}; ac_word=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9375 $as_echo_n "checking
for $ac_word...
" >&6; }
9376 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9377 $as_echo_n "(cached
) " >&6
9379 if test -n "$OBJDUMP"; then
9380 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9386 test -z "$as_dir" && as_dir=.
9387 for ac_exec_ext in '' $ac_executable_extensions; do
9388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9389 ac_cv_prog_OBJDUMP="${ncn_progname}"
9390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9399 OBJDUMP=$ac_cv_prog_OBJDUMP
9400 if test -n "$OBJDUMP"; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9402 $as_echo "$OBJDUMP" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9405 $as_echo "no
" >&6; }
9410 test -n "$ac_cv_prog_OBJDUMP" && break
9413 if test -z "$ac_cv_prog_OBJDUMP" ; then
9415 if test $build = $host ; then
9418 OBJDUMP="${ncn_tool_prefix}$2"
9424 if test -n "$READELF"; then
9425 ac_cv_prog_READELF=$READELF
9426 elif test -n "$ac_cv_prog_READELF"; then
9427 READELF=$ac_cv_prog_READELF
9430 if test -n "$ac_cv_prog_READELF"; then
9431 for ncn_progname in readelf; do
9432 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9433 set dummy ${ncn_progname}; ac_word=$2
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9435 $as_echo_n "checking
for $ac_word...
" >&6; }
9436 if test "${ac_cv_prog_READELF+set}" = set; then :
9437 $as_echo_n "(cached
) " >&6
9439 if test -n "$READELF"; then
9440 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9446 test -z "$as_dir" && as_dir=.
9447 for ac_exec_ext in '' $ac_executable_extensions; do
9448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9449 ac_cv_prog_READELF="${ncn_progname}"
9450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9459 READELF=$ac_cv_prog_READELF
9460 if test -n "$READELF"; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9462 $as_echo "$READELF" >&6; }
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9465 $as_echo "no
" >&6; }
9472 for ncn_progname in readelf; do
9473 if test -n "$ncn_tool_prefix"; then
9474 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9475 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9477 $as_echo_n "checking
for $ac_word...
" >&6; }
9478 if test "${ac_cv_prog_READELF+set}" = set; then :
9479 $as_echo_n "(cached
) " >&6
9481 if test -n "$READELF"; then
9482 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9488 test -z "$as_dir" && as_dir=.
9489 for ac_exec_ext in '' $ac_executable_extensions; do
9490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9491 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9501 READELF=$ac_cv_prog_READELF
9502 if test -n "$READELF"; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9504 $as_echo "$READELF" >&6; }
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9507 $as_echo "no
" >&6; }
9512 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9514 set dummy ${ncn_progname}; ac_word=$2
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9516 $as_echo_n "checking
for $ac_word...
" >&6; }
9517 if test "${ac_cv_prog_READELF+set}" = set; then :
9518 $as_echo_n "(cached
) " >&6
9520 if test -n "$READELF"; then
9521 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_prog_READELF="${ncn_progname}"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9540 READELF=$ac_cv_prog_READELF
9541 if test -n "$READELF"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9543 $as_echo "$READELF" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9546 $as_echo "no
" >&6; }
9551 test -n "$ac_cv_prog_READELF" && break
9554 if test -z "$ac_cv_prog_READELF" ; then
9556 if test $build = $host ; then
9559 READELF="${ncn_tool_prefix}$2"
9570 # Check whether --with-build-time-tools was given.
9571 if test "${with_build_time_tools+set}" = set; then :
9572 withval=$with_build_time_tools; case x"$withval" in
9575 with_build_time_tools=
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9577 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9581 with_build_time_tools=
9587 if test -n "$CC_FOR_TARGET"; then
9588 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9589 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9590 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9593 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9594 for ncn_progname in cc gcc; do
9595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9596 set dummy ${ncn_progname}; ac_word=$2
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9598 $as_echo_n "checking
for $ac_word...
" >&6; }
9599 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9600 $as_echo_n "(cached
) " >&6
9602 if test -n "$CC_FOR_TARGET"; then
9603 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9609 test -z "$as_dir" && as_dir=.
9610 for ac_exec_ext in '' $ac_executable_extensions; do
9611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9612 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9622 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9623 if test -n "$CC_FOR_TARGET"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9625 $as_echo "$CC_FOR_TARGET" >&6; }
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9628 $as_echo "no
" >&6; }
9635 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9636 for ncn_progname in cc gcc; do
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9638 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9639 if test -x $with_build_time_tools/${ncn_progname}; then
9640 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9642 $as_echo "yes" >&6; }
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9646 $as_echo "no
" >&6; }
9651 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9652 for ncn_progname in cc gcc; do
9653 if test -n "$ncn_target_tool_prefix"; then
9654 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9655 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9657 $as_echo_n "checking
for $ac_word...
" >&6; }
9658 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9659 $as_echo_n "(cached
) " >&6
9661 if test -n "$CC_FOR_TARGET"; then
9662 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9681 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9682 if test -n "$CC_FOR_TARGET"; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9684 $as_echo "$CC_FOR_TARGET" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9687 $as_echo "no
" >&6; }
9692 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9694 set dummy ${ncn_progname}; ac_word=$2
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9696 $as_echo_n "checking
for $ac_word...
" >&6; }
9697 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9698 $as_echo_n "(cached
) " >&6
9700 if test -n "$CC_FOR_TARGET"; then
9701 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9707 test -z "$as_dir" && as_dir=.
9708 for ac_exec_ext in '' $ac_executable_extensions; do
9709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9710 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9720 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9721 if test -n "$CC_FOR_TARGET"; then
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9723 $as_echo "$CC_FOR_TARGET" >&6; }
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9726 $as_echo "no
" >&6; }
9731 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9735 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9737 if test $build = $target ; then
9740 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9743 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9748 if test -n "$CXX_FOR_TARGET"; then
9749 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9750 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9751 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9754 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9755 for ncn_progname in c++ g++ cxx gxx; do
9756 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9757 set dummy ${ncn_progname}; ac_word=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9759 $as_echo_n "checking
for $ac_word...
" >&6; }
9760 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9761 $as_echo_n "(cached
) " >&6
9763 if test -n "$CXX_FOR_TARGET"; then
9764 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9783 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9784 if test -n "$CXX_FOR_TARGET"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9786 $as_echo "$CXX_FOR_TARGET" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9789 $as_echo "no
" >&6; }
9796 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9797 for ncn_progname in c++ g++ cxx gxx; do
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9799 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9800 if test -x $with_build_time_tools/${ncn_progname}; then
9801 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9803 $as_echo "yes" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9807 $as_echo "no
" >&6; }
9812 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9813 for ncn_progname in c++ g++ cxx gxx; do
9814 if test -n "$ncn_target_tool_prefix"; then
9815 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9816 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9818 $as_echo_n "checking
for $ac_word...
" >&6; }
9819 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9820 $as_echo_n "(cached
) " >&6
9822 if test -n "$CXX_FOR_TARGET"; then
9823 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9829 test -z "$as_dir" && as_dir=.
9830 for ac_exec_ext in '' $ac_executable_extensions; do
9831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9832 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9842 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9843 if test -n "$CXX_FOR_TARGET"; then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9845 $as_echo "$CXX_FOR_TARGET" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9848 $as_echo "no
" >&6; }
9853 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9855 set dummy ${ncn_progname}; ac_word=$2
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9857 $as_echo_n "checking
for $ac_word...
" >&6; }
9858 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9859 $as_echo_n "(cached
) " >&6
9861 if test -n "$CXX_FOR_TARGET"; then
9862 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9871 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9881 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9882 if test -n "$CXX_FOR_TARGET"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9884 $as_echo "$CXX_FOR_TARGET" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9887 $as_echo "no
" >&6; }
9892 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9896 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9897 set dummy c++ g++ cxx gxx
9898 if test $build = $target ; then
9901 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9904 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9909 if test -n "$GCC_FOR_TARGET"; then
9910 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9911 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9912 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9915 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9916 for ncn_progname in gcc; do
9917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9918 set dummy ${ncn_progname}; ac_word=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9920 $as_echo_n "checking
for $ac_word...
" >&6; }
9921 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9922 $as_echo_n "(cached
) " >&6
9924 if test -n "$GCC_FOR_TARGET"; then
9925 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir=.
9932 for ac_exec_ext in '' $ac_executable_extensions; do
9933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9934 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9944 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9945 if test -n "$GCC_FOR_TARGET"; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9947 $as_echo "$GCC_FOR_TARGET" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9950 $as_echo "no
" >&6; }
9957 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9958 for ncn_progname in gcc; do
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9960 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9961 if test -x $with_build_time_tools/${ncn_progname}; then
9962 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9964 $as_echo "yes" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9968 $as_echo "no
" >&6; }
9973 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9974 for ncn_progname in gcc; do
9975 if test -n "$ncn_target_tool_prefix"; then
9976 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9977 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9979 $as_echo_n "checking
for $ac_word...
" >&6; }
9980 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9981 $as_echo_n "(cached
) " >&6
9983 if test -n "$GCC_FOR_TARGET"; then
9984 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9990 test -z "$as_dir" && as_dir=.
9991 for ac_exec_ext in '' $ac_executable_extensions; do
9992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9993 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10003 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10004 if test -n "$GCC_FOR_TARGET"; then
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10006 $as_echo "$GCC_FOR_TARGET" >&6; }
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10009 $as_echo "no
" >&6; }
10014 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10016 set dummy ${ncn_progname}; ac_word=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10018 $as_echo_n "checking
for $ac_word...
" >&6; }
10019 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10020 $as_echo_n "(cached
) " >&6
10022 if test -n "$GCC_FOR_TARGET"; then
10023 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10026 for as_dir in $PATH
10029 test -z "$as_dir" && as_dir=.
10030 for ac_exec_ext in '' $ac_executable_extensions; do
10031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10032 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10042 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10043 if test -n "$GCC_FOR_TARGET"; then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10045 $as_echo "$GCC_FOR_TARGET" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10048 $as_echo "no
" >&6; }
10053 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10057 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10058 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10060 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10065 if test -n "$GCJ_FOR_TARGET"; then
10066 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10067 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10068 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10071 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10072 for ncn_progname in gcj; do
10073 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10074 set dummy ${ncn_progname}; ac_word=$2
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10076 $as_echo_n "checking
for $ac_word...
" >&6; }
10077 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10078 $as_echo_n "(cached
) " >&6
10080 if test -n "$GCJ_FOR_TARGET"; then
10081 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $PATH
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10100 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10101 if test -n "$GCJ_FOR_TARGET"; then
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10103 $as_echo "$GCJ_FOR_TARGET" >&6; }
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10106 $as_echo "no
" >&6; }
10113 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10114 for ncn_progname in gcj; do
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10116 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10117 if test -x $with_build_time_tools/${ncn_progname}; then
10118 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10120 $as_echo "yes" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10124 $as_echo "no
" >&6; }
10129 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10130 for ncn_progname in gcj; do
10131 if test -n "$ncn_target_tool_prefix"; then
10132 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10133 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10135 $as_echo_n "checking
for $ac_word...
" >&6; }
10136 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10137 $as_echo_n "(cached
) " >&6
10139 if test -n "$GCJ_FOR_TARGET"; then
10140 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10143 for as_dir in $PATH
10146 test -z "$as_dir" && as_dir=.
10147 for ac_exec_ext in '' $ac_executable_extensions; do
10148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10149 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10159 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10160 if test -n "$GCJ_FOR_TARGET"; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10162 $as_echo "$GCJ_FOR_TARGET" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10165 $as_echo "no
" >&6; }
10170 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10172 set dummy ${ncn_progname}; ac_word=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10174 $as_echo_n "checking
for $ac_word...
" >&6; }
10175 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10176 $as_echo_n "(cached
) " >&6
10178 if test -n "$GCJ_FOR_TARGET"; then
10179 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182 for as_dir in $PATH
10185 test -z "$as_dir" && as_dir=.
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10198 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10199 if test -n "$GCJ_FOR_TARGET"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10201 $as_echo "$GCJ_FOR_TARGET" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10204 $as_echo "no
" >&6; }
10209 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10213 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10215 if test $build = $target ; then
10216 GCJ_FOR_TARGET="$2"
10218 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10221 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10226 if test -n "$GFORTRAN_FOR_TARGET"; then
10227 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10228 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10229 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10232 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10233 for ncn_progname in gfortran; do
10234 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10235 set dummy ${ncn_progname}; ac_word=$2
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10237 $as_echo_n "checking
for $ac_word...
" >&6; }
10238 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10239 $as_echo_n "(cached
) " >&6
10241 if test -n "$GFORTRAN_FOR_TARGET"; then
10242 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245 for as_dir in $PATH
10248 test -z "$as_dir" && as_dir=.
10249 for ac_exec_ext in '' $ac_executable_extensions; do
10250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10251 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10261 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10262 if test -n "$GFORTRAN_FOR_TARGET"; then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10264 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10267 $as_echo "no
" >&6; }
10274 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10275 for ncn_progname in gfortran; do
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10277 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10278 if test -x $with_build_time_tools/${ncn_progname}; then
10279 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10281 $as_echo "yes" >&6; }
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10285 $as_echo "no
" >&6; }
10290 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10291 for ncn_progname in gfortran; do
10292 if test -n "$ncn_target_tool_prefix"; then
10293 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10294 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10296 $as_echo_n "checking
for $ac_word...
" >&6; }
10297 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10298 $as_echo_n "(cached
) " >&6
10300 if test -n "$GFORTRAN_FOR_TARGET"; then
10301 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10304 for as_dir in $PATH
10307 test -z "$as_dir" && as_dir=.
10308 for ac_exec_ext in '' $ac_executable_extensions; do
10309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10310 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10320 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10321 if test -n "$GFORTRAN_FOR_TARGET"; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10323 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10326 $as_echo "no
" >&6; }
10331 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10333 set dummy ${ncn_progname}; ac_word=$2
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10335 $as_echo_n "checking
for $ac_word...
" >&6; }
10336 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10337 $as_echo_n "(cached
) " >&6
10339 if test -n "$GFORTRAN_FOR_TARGET"; then
10340 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10343 for as_dir in $PATH
10346 test -z "$as_dir" && as_dir=.
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10349 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10359 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10360 if test -n "$GFORTRAN_FOR_TARGET"; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10362 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10365 $as_echo "no
" >&6; }
10370 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10374 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10376 if test $build = $target ; then
10377 GFORTRAN_FOR_TARGET="$2"
10379 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10382 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10387 if test -n "$GOC_FOR_TARGET"; then
10388 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10389 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10390 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10393 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10394 for ncn_progname in gccgo; do
10395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10396 set dummy ${ncn_progname}; ac_word=$2
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10398 $as_echo_n "checking
for $ac_word...
" >&6; }
10399 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10400 $as_echo_n "(cached
) " >&6
10402 if test -n "$GOC_FOR_TARGET"; then
10403 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10409 test -z "$as_dir" && as_dir=.
10410 for ac_exec_ext in '' $ac_executable_extensions; do
10411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10412 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10422 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10423 if test -n "$GOC_FOR_TARGET"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10425 $as_echo "$GOC_FOR_TARGET" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10428 $as_echo "no
" >&6; }
10435 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10436 for ncn_progname in gccgo; do
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10438 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10439 if test -x $with_build_time_tools/${ncn_progname}; then
10440 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10442 $as_echo "yes" >&6; }
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10446 $as_echo "no
" >&6; }
10451 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10452 for ncn_progname in gccgo; do
10453 if test -n "$ncn_target_tool_prefix"; then
10454 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10455 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10457 $as_echo_n "checking
for $ac_word...
" >&6; }
10458 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10459 $as_echo_n "(cached
) " >&6
10461 if test -n "$GOC_FOR_TARGET"; then
10462 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10465 for as_dir in $PATH
10468 test -z "$as_dir" && as_dir=.
10469 for ac_exec_ext in '' $ac_executable_extensions; do
10470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10471 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10481 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10482 if test -n "$GOC_FOR_TARGET"; then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10484 $as_echo "$GOC_FOR_TARGET" >&6; }
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10487 $as_echo "no
" >&6; }
10492 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10494 set dummy ${ncn_progname}; ac_word=$2
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10496 $as_echo_n "checking
for $ac_word...
" >&6; }
10497 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10498 $as_echo_n "(cached
) " >&6
10500 if test -n "$GOC_FOR_TARGET"; then
10501 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10504 for as_dir in $PATH
10507 test -z "$as_dir" && as_dir=.
10508 for ac_exec_ext in '' $ac_executable_extensions; do
10509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10510 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10520 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10521 if test -n "$GOC_FOR_TARGET"; then
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10523 $as_echo "$GOC_FOR_TARGET" >&6; }
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10526 $as_echo "no
" >&6; }
10531 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10535 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10537 if test $build = $target ; then
10538 GOC_FOR_TARGET="$2"
10540 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10543 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10548 cat > conftest.c << \EOF
10553 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10554 have_gcc_for_target=yes
10556 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10557 have_gcc_for_target=no
10564 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10565 if test -n "$with_build_time_tools"; then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10567 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10568 if test -x $with_build_time_tools/ar; then
10569 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10570 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10572 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10575 $as_echo "no
" >&6; }
10577 elif test $build != $host && test $have_gcc_for_target = yes; then
10578 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10579 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10580 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10583 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10584 # Extract the first word of "ar", so it can be a program name with args.
10585 set dummy ar; ac_word=$2
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10587 $as_echo_n "checking
for $ac_word...
" >&6; }
10588 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10589 $as_echo_n "(cached
) " >&6
10591 case $AR_FOR_TARGET in
10593 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $gcc_cv_tool_dirs
10600 test -z "$as_dir" && as_dir=.
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10603 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10615 if test -n "$AR_FOR_TARGET"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10617 $as_echo "$AR_FOR_TARGET" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10620 $as_echo "no
" >&6; }
10625 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10628 if test -n "$AR_FOR_TARGET"; then
10629 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10630 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10631 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10634 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10635 for ncn_progname in ar; do
10636 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10637 set dummy ${ncn_progname}; ac_word=$2
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10639 $as_echo_n "checking
for $ac_word...
" >&6; }
10640 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10641 $as_echo_n "(cached
) " >&6
10643 if test -n "$AR_FOR_TARGET"; then
10644 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10647 for as_dir in $PATH
10650 test -z "$as_dir" && as_dir=.
10651 for ac_exec_ext in '' $ac_executable_extensions; do
10652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10653 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10663 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10664 if test -n "$AR_FOR_TARGET"; then
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10666 $as_echo "$AR_FOR_TARGET" >&6; }
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10669 $as_echo "no
" >&6; }
10676 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10677 for ncn_progname in ar; do
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10679 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10680 if test -x $with_build_time_tools/${ncn_progname}; then
10681 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10683 $as_echo "yes" >&6; }
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10687 $as_echo "no
" >&6; }
10692 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10693 for ncn_progname in ar; do
10694 if test -n "$ncn_target_tool_prefix"; then
10695 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10696 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10698 $as_echo_n "checking
for $ac_word...
" >&6; }
10699 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10700 $as_echo_n "(cached
) " >&6
10702 if test -n "$AR_FOR_TARGET"; then
10703 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10706 for as_dir in $PATH
10709 test -z "$as_dir" && as_dir=.
10710 for ac_exec_ext in '' $ac_executable_extensions; do
10711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10712 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10722 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10723 if test -n "$AR_FOR_TARGET"; then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10725 $as_echo "$AR_FOR_TARGET" >&6; }
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10728 $as_echo "no
" >&6; }
10733 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10735 set dummy ${ncn_progname}; ac_word=$2
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10737 $as_echo_n "checking
for $ac_word...
" >&6; }
10738 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10739 $as_echo_n "(cached
) " >&6
10741 if test -n "$AR_FOR_TARGET"; then
10742 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10745 for as_dir in $PATH
10748 test -z "$as_dir" && as_dir=.
10749 for ac_exec_ext in '' $ac_executable_extensions; do
10750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10751 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10761 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10762 if test -n "$AR_FOR_TARGET"; then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10764 $as_echo "$AR_FOR_TARGET" >&6; }
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10767 $as_echo "no
" >&6; }
10772 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10776 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10778 if test $build = $target ; then
10781 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10784 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10788 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10794 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10795 if test -n "$with_build_time_tools"; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10797 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10798 if test -x $with_build_time_tools/as; then
10799 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10800 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10802 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10805 $as_echo "no
" >&6; }
10807 elif test $build != $host && test $have_gcc_for_target = yes; then
10808 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10809 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10810 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10813 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10814 # Extract the first word of "as
", so it can be a program name with args.
10815 set dummy as; ac_word=$2
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10817 $as_echo_n "checking
for $ac_word...
" >&6; }
10818 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10819 $as_echo_n "(cached
) " >&6
10821 case $AS_FOR_TARGET in
10823 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $gcc_cv_tool_dirs
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10833 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10844 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10845 if test -n "$AS_FOR_TARGET"; then
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10847 $as_echo "$AS_FOR_TARGET" >&6; }
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10850 $as_echo "no
" >&6; }
10855 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10858 if test -n "$AS_FOR_TARGET"; then
10859 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10860 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10861 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10864 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10865 for ncn_progname in as; do
10866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10867 set dummy ${ncn_progname}; ac_word=$2
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10869 $as_echo_n "checking
for $ac_word...
" >&6; }
10870 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10871 $as_echo_n "(cached
) " >&6
10873 if test -n "$AS_FOR_TARGET"; then
10874 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10877 for as_dir in $PATH
10880 test -z "$as_dir" && as_dir=.
10881 for ac_exec_ext in '' $ac_executable_extensions; do
10882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10883 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10893 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10894 if test -n "$AS_FOR_TARGET"; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10896 $as_echo "$AS_FOR_TARGET" >&6; }
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10899 $as_echo "no
" >&6; }
10906 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10907 for ncn_progname in as; do
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10909 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10910 if test -x $with_build_time_tools/${ncn_progname}; then
10911 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10913 $as_echo "yes" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10917 $as_echo "no
" >&6; }
10922 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10923 for ncn_progname in as; do
10924 if test -n "$ncn_target_tool_prefix"; then
10925 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10926 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10928 $as_echo_n "checking
for $ac_word...
" >&6; }
10929 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10930 $as_echo_n "(cached
) " >&6
10932 if test -n "$AS_FOR_TARGET"; then
10933 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10936 for as_dir in $PATH
10939 test -z "$as_dir" && as_dir=.
10940 for ac_exec_ext in '' $ac_executable_extensions; do
10941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10942 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10952 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10953 if test -n "$AS_FOR_TARGET"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10955 $as_echo "$AS_FOR_TARGET" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10958 $as_echo "no
" >&6; }
10963 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10964 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10965 set dummy ${ncn_progname}; ac_word=$2
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10967 $as_echo_n "checking
for $ac_word...
" >&6; }
10968 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10969 $as_echo_n "(cached
) " >&6
10971 if test -n "$AS_FOR_TARGET"; then
10972 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10975 for as_dir in $PATH
10978 test -z "$as_dir" && as_dir=.
10979 for ac_exec_ext in '' $ac_executable_extensions; do
10980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10981 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10991 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10992 if test -n "$AS_FOR_TARGET"; then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10994 $as_echo "$AS_FOR_TARGET" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10997 $as_echo "no
" >&6; }
11002 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11006 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11008 if test $build = $target ; then
11011 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11014 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11018 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11024 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11025 if test -n "$with_build_time_tools"; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11027 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11028 if test -x $with_build_time_tools/dlltool; then
11029 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11030 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11032 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11035 $as_echo "no
" >&6; }
11037 elif test $build != $host && test $have_gcc_for_target = yes; then
11038 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11039 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11040 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11043 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11044 # Extract the first word of "dlltool
", so it can be a program name with args.
11045 set dummy dlltool; ac_word=$2
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11047 $as_echo_n "checking
for $ac_word...
" >&6; }
11048 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11049 $as_echo_n "(cached
) " >&6
11051 case $DLLTOOL_FOR_TARGET in
11053 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $gcc_cv_tool_dirs
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11074 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11075 if test -n "$DLLTOOL_FOR_TARGET"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11077 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11080 $as_echo "no
" >&6; }
11085 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11088 if test -n "$DLLTOOL_FOR_TARGET"; then
11089 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11090 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11091 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11094 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11095 for ncn_progname in dlltool; do
11096 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11097 set dummy ${ncn_progname}; ac_word=$2
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11099 $as_echo_n "checking
for $ac_word...
" >&6; }
11100 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11101 $as_echo_n "(cached
) " >&6
11103 if test -n "$DLLTOOL_FOR_TARGET"; then
11104 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11107 for as_dir in $PATH
11110 test -z "$as_dir" && as_dir=.
11111 for ac_exec_ext in '' $ac_executable_extensions; do
11112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11123 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11124 if test -n "$DLLTOOL_FOR_TARGET"; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11126 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11129 $as_echo "no
" >&6; }
11136 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11137 for ncn_progname in dlltool; do
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11139 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11140 if test -x $with_build_time_tools/${ncn_progname}; then
11141 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11143 $as_echo "yes" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11147 $as_echo "no
" >&6; }
11152 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11153 for ncn_progname in dlltool; do
11154 if test -n "$ncn_target_tool_prefix"; then
11155 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11156 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11158 $as_echo_n "checking
for $ac_word...
" >&6; }
11159 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11160 $as_echo_n "(cached
) " >&6
11162 if test -n "$DLLTOOL_FOR_TARGET"; then
11163 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11166 for as_dir in $PATH
11169 test -z "$as_dir" && as_dir=.
11170 for ac_exec_ext in '' $ac_executable_extensions; do
11171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11172 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11182 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11183 if test -n "$DLLTOOL_FOR_TARGET"; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11185 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11188 $as_echo "no
" >&6; }
11193 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11195 set dummy ${ncn_progname}; ac_word=$2
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11197 $as_echo_n "checking
for $ac_word...
" >&6; }
11198 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11199 $as_echo_n "(cached
) " >&6
11201 if test -n "$DLLTOOL_FOR_TARGET"; then
11202 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11205 for as_dir in $PATH
11208 test -z "$as_dir" && as_dir=.
11209 for ac_exec_ext in '' $ac_executable_extensions; do
11210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11211 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11221 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11222 if test -n "$DLLTOOL_FOR_TARGET"; then
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11224 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11227 $as_echo "no
" >&6; }
11232 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11236 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11238 if test $build = $target ; then
11239 DLLTOOL_FOR_TARGET="$2"
11241 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11244 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11248 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11254 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11255 if test -n "$with_build_time_tools"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11257 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11258 if test -x $with_build_time_tools/ld; then
11259 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11260 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11262 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11265 $as_echo "no
" >&6; }
11267 elif test $build != $host && test $have_gcc_for_target = yes; then
11268 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11269 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11270 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11273 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11274 # Extract the first word of "ld
", so it can be a program name with args.
11275 set dummy ld; ac_word=$2
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11277 $as_echo_n "checking
for $ac_word...
" >&6; }
11278 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11279 $as_echo_n "(cached
) " >&6
11281 case $LD_FOR_TARGET in
11283 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287 for as_dir in $gcc_cv_tool_dirs
11290 test -z "$as_dir" && as_dir=.
11291 for ac_exec_ext in '' $ac_executable_extensions; do
11292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11293 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11304 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11305 if test -n "$LD_FOR_TARGET"; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11307 $as_echo "$LD_FOR_TARGET" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11310 $as_echo "no
" >&6; }
11315 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11318 if test -n "$LD_FOR_TARGET"; then
11319 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11320 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11321 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11324 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11325 for ncn_progname in ld; do
11326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11327 set dummy ${ncn_progname}; ac_word=$2
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11329 $as_echo_n "checking
for $ac_word...
" >&6; }
11330 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11331 $as_echo_n "(cached
) " >&6
11333 if test -n "$LD_FOR_TARGET"; then
11334 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337 for as_dir in $PATH
11340 test -z "$as_dir" && as_dir=.
11341 for ac_exec_ext in '' $ac_executable_extensions; do
11342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11353 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11354 if test -n "$LD_FOR_TARGET"; then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11356 $as_echo "$LD_FOR_TARGET" >&6; }
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11359 $as_echo "no
" >&6; }
11366 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11367 for ncn_progname in ld; do
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11369 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11370 if test -x $with_build_time_tools/${ncn_progname}; then
11371 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11373 $as_echo "yes" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11377 $as_echo "no
" >&6; }
11382 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11383 for ncn_progname in ld; do
11384 if test -n "$ncn_target_tool_prefix"; then
11385 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11386 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11388 $as_echo_n "checking
for $ac_word...
" >&6; }
11389 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11390 $as_echo_n "(cached
) " >&6
11392 if test -n "$LD_FOR_TARGET"; then
11393 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11399 test -z "$as_dir" && as_dir=.
11400 for ac_exec_ext in '' $ac_executable_extensions; do
11401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11402 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11412 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11413 if test -n "$LD_FOR_TARGET"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11415 $as_echo "$LD_FOR_TARGET" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11418 $as_echo "no
" >&6; }
11423 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11424 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11425 set dummy ${ncn_progname}; ac_word=$2
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11427 $as_echo_n "checking
for $ac_word...
" >&6; }
11428 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11429 $as_echo_n "(cached
) " >&6
11431 if test -n "$LD_FOR_TARGET"; then
11432 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11435 for as_dir in $PATH
11438 test -z "$as_dir" && as_dir=.
11439 for ac_exec_ext in '' $ac_executable_extensions; do
11440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11441 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11442 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11451 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11452 if test -n "$LD_FOR_TARGET"; then
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11454 $as_echo "$LD_FOR_TARGET" >&6; }
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11457 $as_echo "no
" >&6; }
11462 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11466 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11468 if test $build = $target ; then
11471 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11474 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11478 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11484 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11485 if test -n "$with_build_time_tools"; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11487 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11488 if test -x $with_build_time_tools/lipo; then
11489 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11490 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11492 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11495 $as_echo "no
" >&6; }
11497 elif test $build != $host && test $have_gcc_for_target = yes; then
11498 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11499 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11500 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11503 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11504 # Extract the first word of "lipo
", so it can be a program name with args.
11505 set dummy lipo; ac_word=$2
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11507 $as_echo_n "checking
for $ac_word...
" >&6; }
11508 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11509 $as_echo_n "(cached
) " >&6
11511 case $LIPO_FOR_TARGET in
11513 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11517 for as_dir in $gcc_cv_tool_dirs
11520 test -z "$as_dir" && as_dir=.
11521 for ac_exec_ext in '' $ac_executable_extensions; do
11522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11523 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11534 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11535 if test -n "$LIPO_FOR_TARGET"; then
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11537 $as_echo "$LIPO_FOR_TARGET" >&6; }
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11540 $as_echo "no
" >&6; }
11545 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11548 if test -n "$LIPO_FOR_TARGET"; then
11549 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11550 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11551 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11554 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11555 for ncn_progname in lipo; do
11556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11557 set dummy ${ncn_progname}; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11559 $as_echo_n "checking
for $ac_word...
" >&6; }
11560 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11561 $as_echo_n "(cached
) " >&6
11563 if test -n "$LIPO_FOR_TARGET"; then
11564 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11583 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11584 if test -n "$LIPO_FOR_TARGET"; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11586 $as_echo "$LIPO_FOR_TARGET" >&6; }
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11589 $as_echo "no
" >&6; }
11596 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11597 for ncn_progname in lipo; do
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11599 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11600 if test -x $with_build_time_tools/${ncn_progname}; then
11601 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11603 $as_echo "yes" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11607 $as_echo "no
" >&6; }
11612 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11613 for ncn_progname in lipo; do
11614 if test -n "$ncn_target_tool_prefix"; then
11615 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11616 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11618 $as_echo_n "checking
for $ac_word...
" >&6; }
11619 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11620 $as_echo_n "(cached
) " >&6
11622 if test -n "$LIPO_FOR_TARGET"; then
11623 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11626 for as_dir in $PATH
11629 test -z "$as_dir" && as_dir=.
11630 for ac_exec_ext in '' $ac_executable_extensions; do
11631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11632 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11642 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11643 if test -n "$LIPO_FOR_TARGET"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11645 $as_echo "$LIPO_FOR_TARGET" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11648 $as_echo "no
" >&6; }
11653 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11655 set dummy ${ncn_progname}; ac_word=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11657 $as_echo_n "checking
for $ac_word...
" >&6; }
11658 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11659 $as_echo_n "(cached
) " >&6
11661 if test -n "$LIPO_FOR_TARGET"; then
11662 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11665 for as_dir in $PATH
11668 test -z "$as_dir" && as_dir=.
11669 for ac_exec_ext in '' $ac_executable_extensions; do
11670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11671 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11681 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11682 if test -n "$LIPO_FOR_TARGET"; then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11684 $as_echo "$LIPO_FOR_TARGET" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11687 $as_echo "no
" >&6; }
11692 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11696 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11698 if test $build = $target ; then
11699 LIPO_FOR_TARGET="$2"
11701 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11704 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11708 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11714 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11715 if test -n "$with_build_time_tools"; then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11717 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11718 if test -x $with_build_time_tools/nm; then
11719 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11720 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11722 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11725 $as_echo "no
" >&6; }
11727 elif test $build != $host && test $have_gcc_for_target = yes; then
11728 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11729 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11730 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11733 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11734 # Extract the first word of "nm
", so it can be a program name with args.
11735 set dummy nm; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11737 $as_echo_n "checking
for $ac_word...
" >&6; }
11738 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11739 $as_echo_n "(cached
) " >&6
11741 case $NM_FOR_TARGET in
11743 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $gcc_cv_tool_dirs
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11753 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11764 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11765 if test -n "$NM_FOR_TARGET"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11767 $as_echo "$NM_FOR_TARGET" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11770 $as_echo "no
" >&6; }
11775 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11778 if test -n "$NM_FOR_TARGET"; then
11779 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11780 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11781 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11784 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11785 for ncn_progname in nm; do
11786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11787 set dummy ${ncn_progname}; ac_word=$2
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11789 $as_echo_n "checking
for $ac_word...
" >&6; }
11790 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11791 $as_echo_n "(cached
) " >&6
11793 if test -n "$NM_FOR_TARGET"; then
11794 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11803 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11813 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11814 if test -n "$NM_FOR_TARGET"; then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11816 $as_echo "$NM_FOR_TARGET" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11819 $as_echo "no
" >&6; }
11826 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11827 for ncn_progname in nm; do
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11829 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11830 if test -x $with_build_time_tools/${ncn_progname}; then
11831 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11833 $as_echo "yes" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11837 $as_echo "no
" >&6; }
11842 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11843 for ncn_progname in nm; do
11844 if test -n "$ncn_target_tool_prefix"; then
11845 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11846 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11848 $as_echo_n "checking
for $ac_word...
" >&6; }
11849 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11850 $as_echo_n "(cached
) " >&6
11852 if test -n "$NM_FOR_TARGET"; then
11853 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11856 for as_dir in $PATH
11859 test -z "$as_dir" && as_dir=.
11860 for ac_exec_ext in '' $ac_executable_extensions; do
11861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11862 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11872 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11873 if test -n "$NM_FOR_TARGET"; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11875 $as_echo "$NM_FOR_TARGET" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11878 $as_echo "no
" >&6; }
11883 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11885 set dummy ${ncn_progname}; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11887 $as_echo_n "checking
for $ac_word...
" >&6; }
11888 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11889 $as_echo_n "(cached
) " >&6
11891 if test -n "$NM_FOR_TARGET"; then
11892 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11895 for as_dir in $PATH
11898 test -z "$as_dir" && as_dir=.
11899 for ac_exec_ext in '' $ac_executable_extensions; do
11900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11901 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11911 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11912 if test -n "$NM_FOR_TARGET"; then
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11914 $as_echo "$NM_FOR_TARGET" >&6; }
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11917 $as_echo "no
" >&6; }
11922 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11926 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11928 if test $build = $target ; then
11931 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11934 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11938 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11944 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11945 if test -n "$with_build_time_tools"; then
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11947 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11948 if test -x $with_build_time_tools/objdump; then
11949 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11950 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11952 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11955 $as_echo "no
" >&6; }
11957 elif test $build != $host && test $have_gcc_for_target = yes; then
11958 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11959 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11960 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11963 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11964 # Extract the first word of "objdump
", so it can be a program name with args.
11965 set dummy objdump; ac_word=$2
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11967 $as_echo_n "checking
for $ac_word...
" >&6; }
11968 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11969 $as_echo_n "(cached
) " >&6
11971 case $OBJDUMP_FOR_TARGET in
11973 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $gcc_cv_tool_dirs
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11994 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11995 if test -n "$OBJDUMP_FOR_TARGET"; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11997 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12000 $as_echo "no
" >&6; }
12005 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12008 if test -n "$OBJDUMP_FOR_TARGET"; then
12009 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12010 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12011 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12014 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12015 for ncn_progname in objdump; do
12016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12017 set dummy ${ncn_progname}; ac_word=$2
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12019 $as_echo_n "checking
for $ac_word...
" >&6; }
12020 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12021 $as_echo_n "(cached
) " >&6
12023 if test -n "$OBJDUMP_FOR_TARGET"; then
12024 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12027 for as_dir in $PATH
12030 test -z "$as_dir" && as_dir=.
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12033 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12043 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12044 if test -n "$OBJDUMP_FOR_TARGET"; then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12046 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12049 $as_echo "no
" >&6; }
12056 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12057 for ncn_progname in objdump; do
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12059 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12060 if test -x $with_build_time_tools/${ncn_progname}; then
12061 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12063 $as_echo "yes" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12067 $as_echo "no
" >&6; }
12072 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12073 for ncn_progname in objdump; do
12074 if test -n "$ncn_target_tool_prefix"; then
12075 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12076 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12078 $as_echo_n "checking
for $ac_word...
" >&6; }
12079 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12080 $as_echo_n "(cached
) " >&6
12082 if test -n "$OBJDUMP_FOR_TARGET"; then
12083 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12102 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12103 if test -n "$OBJDUMP_FOR_TARGET"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12105 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12108 $as_echo "no
" >&6; }
12113 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12114 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12115 set dummy ${ncn_progname}; ac_word=$2
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12117 $as_echo_n "checking
for $ac_word...
" >&6; }
12118 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12119 $as_echo_n "(cached
) " >&6
12121 if test -n "$OBJDUMP_FOR_TARGET"; then
12122 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12125 for as_dir in $PATH
12128 test -z "$as_dir" && as_dir=.
12129 for ac_exec_ext in '' $ac_executable_extensions; do
12130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12131 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12141 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12142 if test -n "$OBJDUMP_FOR_TARGET"; then
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12144 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12147 $as_echo "no
" >&6; }
12152 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12156 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12158 if test $build = $target ; then
12159 OBJDUMP_FOR_TARGET="$2"
12161 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12164 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12168 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12174 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12175 if test -n "$with_build_time_tools"; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12177 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12178 if test -x $with_build_time_tools/ranlib; then
12179 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12180 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12182 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12185 $as_echo "no
" >&6; }
12187 elif test $build != $host && test $have_gcc_for_target = yes; then
12188 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12189 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12190 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12193 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12194 # Extract the first word of "ranlib
", so it can be a program name with args.
12195 set dummy ranlib; ac_word=$2
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12197 $as_echo_n "checking
for $ac_word...
" >&6; }
12198 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12199 $as_echo_n "(cached
) " >&6
12201 case $RANLIB_FOR_TARGET in
12203 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $gcc_cv_tool_dirs
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12213 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12224 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12225 if test -n "$RANLIB_FOR_TARGET"; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12227 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12230 $as_echo "no
" >&6; }
12235 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12238 if test -n "$RANLIB_FOR_TARGET"; then
12239 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12240 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12241 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12244 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12245 for ncn_progname in ranlib; do
12246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12247 set dummy ${ncn_progname}; ac_word=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12249 $as_echo_n "checking
for $ac_word...
" >&6; }
12250 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12251 $as_echo_n "(cached
) " >&6
12253 if test -n "$RANLIB_FOR_TARGET"; then
12254 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12257 for as_dir in $PATH
12260 test -z "$as_dir" && as_dir=.
12261 for ac_exec_ext in '' $ac_executable_extensions; do
12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12263 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12273 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12274 if test -n "$RANLIB_FOR_TARGET"; then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12276 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12279 $as_echo "no
" >&6; }
12286 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12287 for ncn_progname in ranlib; do
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12289 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12290 if test -x $with_build_time_tools/${ncn_progname}; then
12291 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12293 $as_echo "yes" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12297 $as_echo "no
" >&6; }
12302 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12303 for ncn_progname in ranlib; do
12304 if test -n "$ncn_target_tool_prefix"; then
12305 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12306 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12308 $as_echo_n "checking
for $ac_word...
" >&6; }
12309 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12310 $as_echo_n "(cached
) " >&6
12312 if test -n "$RANLIB_FOR_TARGET"; then
12313 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12316 for as_dir in $PATH
12319 test -z "$as_dir" && as_dir=.
12320 for ac_exec_ext in '' $ac_executable_extensions; do
12321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12322 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12332 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12333 if test -n "$RANLIB_FOR_TARGET"; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12335 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12338 $as_echo "no
" >&6; }
12343 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12345 set dummy ${ncn_progname}; ac_word=$2
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12347 $as_echo_n "checking
for $ac_word...
" >&6; }
12348 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12349 $as_echo_n "(cached
) " >&6
12351 if test -n "$RANLIB_FOR_TARGET"; then
12352 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12371 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12372 if test -n "$RANLIB_FOR_TARGET"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12374 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12377 $as_echo "no
" >&6; }
12382 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12386 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12388 if test $build = $target ; then
12389 RANLIB_FOR_TARGET="$2"
12391 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12394 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12398 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12404 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12405 if test -n "$with_build_time_tools"; then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12407 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12408 if test -x $with_build_time_tools/readelf; then
12409 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12410 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12412 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12415 $as_echo "no
" >&6; }
12417 elif test $build != $host && test $have_gcc_for_target = yes; then
12418 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12419 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12420 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12423 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12424 # Extract the first word of "readelf
", so it can be a program name with args.
12425 set dummy readelf; ac_word=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12427 $as_echo_n "checking
for $ac_word...
" >&6; }
12428 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12429 $as_echo_n "(cached
) " >&6
12431 case $READELF_FOR_TARGET in
12433 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $gcc_cv_tool_dirs
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12454 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12455 if test -n "$READELF_FOR_TARGET"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12457 $as_echo "$READELF_FOR_TARGET" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12460 $as_echo "no
" >&6; }
12465 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12468 if test -n "$READELF_FOR_TARGET"; then
12469 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12470 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12471 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12474 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12475 for ncn_progname in readelf; do
12476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12477 set dummy ${ncn_progname}; ac_word=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12479 $as_echo_n "checking
for $ac_word...
" >&6; }
12480 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12481 $as_echo_n "(cached
) " >&6
12483 if test -n "$READELF_FOR_TARGET"; then
12484 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $PATH
12490 test -z "$as_dir" && as_dir=.
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12503 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12504 if test -n "$READELF_FOR_TARGET"; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12506 $as_echo "$READELF_FOR_TARGET" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12509 $as_echo "no
" >&6; }
12516 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12517 for ncn_progname in readelf; do
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12519 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12520 if test -x $with_build_time_tools/${ncn_progname}; then
12521 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12523 $as_echo "yes" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12527 $as_echo "no
" >&6; }
12532 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12533 for ncn_progname in readelf; do
12534 if test -n "$ncn_target_tool_prefix"; then
12535 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12536 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12538 $as_echo_n "checking
for $ac_word...
" >&6; }
12539 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12540 $as_echo_n "(cached
) " >&6
12542 if test -n "$READELF_FOR_TARGET"; then
12543 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12546 for as_dir in $PATH
12549 test -z "$as_dir" && as_dir=.
12550 for ac_exec_ext in '' $ac_executable_extensions; do
12551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12552 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12562 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12563 if test -n "$READELF_FOR_TARGET"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12565 $as_echo "$READELF_FOR_TARGET" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12568 $as_echo "no
" >&6; }
12573 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12575 set dummy ${ncn_progname}; ac_word=$2
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12577 $as_echo_n "checking
for $ac_word...
" >&6; }
12578 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12579 $as_echo_n "(cached
) " >&6
12581 if test -n "$READELF_FOR_TARGET"; then
12582 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12585 for as_dir in $PATH
12588 test -z "$as_dir" && as_dir=.
12589 for ac_exec_ext in '' $ac_executable_extensions; do
12590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12591 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12601 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12602 if test -n "$READELF_FOR_TARGET"; then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12604 $as_echo "$READELF_FOR_TARGET" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12607 $as_echo "no
" >&6; }
12612 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12616 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12618 if test $build = $target ; then
12619 READELF_FOR_TARGET="$2"
12621 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12624 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12628 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12634 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12635 if test -n "$with_build_time_tools"; then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12637 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12638 if test -x $with_build_time_tools/strip; then
12639 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12640 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12642 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12645 $as_echo "no
" >&6; }
12647 elif test $build != $host && test $have_gcc_for_target = yes; then
12648 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12649 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12650 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12653 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12654 # Extract the first word of "strip
", so it can be a program name with args.
12655 set dummy strip; ac_word=$2
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12657 $as_echo_n "checking
for $ac_word...
" >&6; }
12658 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12659 $as_echo_n "(cached
) " >&6
12661 case $STRIP_FOR_TARGET in
12663 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $gcc_cv_tool_dirs
12670 test -z "$as_dir" && as_dir=.
12671 for ac_exec_ext in '' $ac_executable_extensions; do
12672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12673 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12684 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12685 if test -n "$STRIP_FOR_TARGET"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12687 $as_echo "$STRIP_FOR_TARGET" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12690 $as_echo "no
" >&6; }
12695 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12698 if test -n "$STRIP_FOR_TARGET"; then
12699 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12700 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12701 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12704 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12705 for ncn_progname in strip; do
12706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12707 set dummy ${ncn_progname}; ac_word=$2
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12709 $as_echo_n "checking
for $ac_word...
" >&6; }
12710 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12711 $as_echo_n "(cached
) " >&6
12713 if test -n "$STRIP_FOR_TARGET"; then
12714 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12717 for as_dir in $PATH
12720 test -z "$as_dir" && as_dir=.
12721 for ac_exec_ext in '' $ac_executable_extensions; do
12722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12723 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12733 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12734 if test -n "$STRIP_FOR_TARGET"; then
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12736 $as_echo "$STRIP_FOR_TARGET" >&6; }
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12739 $as_echo "no
" >&6; }
12746 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12747 for ncn_progname in strip; do
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12749 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12750 if test -x $with_build_time_tools/${ncn_progname}; then
12751 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12753 $as_echo "yes" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12757 $as_echo "no
" >&6; }
12762 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12763 for ncn_progname in strip; do
12764 if test -n "$ncn_target_tool_prefix"; then
12765 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12766 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12768 $as_echo_n "checking
for $ac_word...
" >&6; }
12769 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12770 $as_echo_n "(cached
) " >&6
12772 if test -n "$STRIP_FOR_TARGET"; then
12773 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12776 for as_dir in $PATH
12779 test -z "$as_dir" && as_dir=.
12780 for ac_exec_ext in '' $ac_executable_extensions; do
12781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12782 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12792 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12793 if test -n "$STRIP_FOR_TARGET"; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12795 $as_echo "$STRIP_FOR_TARGET" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12798 $as_echo "no
" >&6; }
12803 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12805 set dummy ${ncn_progname}; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12807 $as_echo_n "checking
for $ac_word...
" >&6; }
12808 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12809 $as_echo_n "(cached
) " >&6
12811 if test -n "$STRIP_FOR_TARGET"; then
12812 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12815 for as_dir in $PATH
12818 test -z "$as_dir" && as_dir=.
12819 for ac_exec_ext in '' $ac_executable_extensions; do
12820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12821 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12831 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12832 if test -n "$STRIP_FOR_TARGET"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12834 $as_echo "$STRIP_FOR_TARGET" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12837 $as_echo "no
" >&6; }
12842 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12846 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12848 if test $build = $target ; then
12849 STRIP_FOR_TARGET="$2"
12851 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12854 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12858 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12864 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12865 if test -n "$with_build_time_tools"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12867 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12868 if test -x $with_build_time_tools/windres; then
12869 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12870 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12872 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12875 $as_echo "no
" >&6; }
12877 elif test $build != $host && test $have_gcc_for_target = yes; then
12878 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12879 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12880 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12883 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12884 # Extract the first word of "windres
", so it can be a program name with args.
12885 set dummy windres; ac_word=$2
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12887 $as_echo_n "checking
for $ac_word...
" >&6; }
12888 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12889 $as_echo_n "(cached
) " >&6
12891 case $WINDRES_FOR_TARGET in
12893 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $gcc_cv_tool_dirs
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12914 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12915 if test -n "$WINDRES_FOR_TARGET"; then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12917 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12920 $as_echo "no
" >&6; }
12925 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12928 if test -n "$WINDRES_FOR_TARGET"; then
12929 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12930 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12931 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12934 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12935 for ncn_progname in windres; do
12936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12937 set dummy ${ncn_progname}; ac_word=$2
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12939 $as_echo_n "checking
for $ac_word...
" >&6; }
12940 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12941 $as_echo_n "(cached
) " >&6
12943 if test -n "$WINDRES_FOR_TARGET"; then
12944 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12947 for as_dir in $PATH
12950 test -z "$as_dir" && as_dir=.
12951 for ac_exec_ext in '' $ac_executable_extensions; do
12952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12953 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12963 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12964 if test -n "$WINDRES_FOR_TARGET"; then
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12966 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12969 $as_echo "no
" >&6; }
12976 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12977 for ncn_progname in windres; do
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12979 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12980 if test -x $with_build_time_tools/${ncn_progname}; then
12981 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12983 $as_echo "yes" >&6; }
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12987 $as_echo "no
" >&6; }
12992 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12993 for ncn_progname in windres; do
12994 if test -n "$ncn_target_tool_prefix"; then
12995 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12996 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12998 $as_echo_n "checking
for $ac_word...
" >&6; }
12999 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13000 $as_echo_n "(cached
) " >&6
13002 if test -n "$WINDRES_FOR_TARGET"; then
13003 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13022 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13023 if test -n "$WINDRES_FOR_TARGET"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13025 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13028 $as_echo "no
" >&6; }
13033 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13035 set dummy ${ncn_progname}; ac_word=$2
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13037 $as_echo_n "checking
for $ac_word...
" >&6; }
13038 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13039 $as_echo_n "(cached
) " >&6
13041 if test -n "$WINDRES_FOR_TARGET"; then
13042 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13045 for as_dir in $PATH
13048 test -z "$as_dir" && as_dir=.
13049 for ac_exec_ext in '' $ac_executable_extensions; do
13050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13051 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13061 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13062 if test -n "$WINDRES_FOR_TARGET"; then
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13064 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13067 $as_echo "no
" >&6; }
13072 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13076 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13078 if test $build = $target ; then
13079 WINDRES_FOR_TARGET="$2"
13081 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13084 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13088 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13094 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13095 if test -n "$with_build_time_tools"; then
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13097 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13098 if test -x $with_build_time_tools/windmc; then
13099 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13100 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13102 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13105 $as_echo "no
" >&6; }
13107 elif test $build != $host && test $have_gcc_for_target = yes; then
13108 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13109 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13110 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13113 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13114 # Extract the first word of "windmc
", so it can be a program name with args.
13115 set dummy windmc; ac_word=$2
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13117 $as_echo_n "checking
for $ac_word...
" >&6; }
13118 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13119 $as_echo_n "(cached
) " >&6
13121 case $WINDMC_FOR_TARGET in
13123 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $gcc_cv_tool_dirs
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13133 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13144 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13145 if test -n "$WINDMC_FOR_TARGET"; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13147 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13150 $as_echo "no
" >&6; }
13155 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13158 if test -n "$WINDMC_FOR_TARGET"; then
13159 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13160 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13161 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13164 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13165 for ncn_progname in windmc; do
13166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13167 set dummy ${ncn_progname}; ac_word=$2
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13169 $as_echo_n "checking
for $ac_word...
" >&6; }
13170 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13171 $as_echo_n "(cached
) " >&6
13173 if test -n "$WINDMC_FOR_TARGET"; then
13174 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13193 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13194 if test -n "$WINDMC_FOR_TARGET"; then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13196 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13199 $as_echo "no
" >&6; }
13206 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13207 for ncn_progname in windmc; do
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13209 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13210 if test -x $with_build_time_tools/${ncn_progname}; then
13211 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13213 $as_echo "yes" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13217 $as_echo "no
" >&6; }
13222 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13223 for ncn_progname in windmc; do
13224 if test -n "$ncn_target_tool_prefix"; then
13225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13228 $as_echo_n "checking
for $ac_word...
" >&6; }
13229 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13230 $as_echo_n "(cached
) " >&6
13232 if test -n "$WINDMC_FOR_TARGET"; then
13233 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13236 for as_dir in $PATH
13239 test -z "$as_dir" && as_dir=.
13240 for ac_exec_ext in '' $ac_executable_extensions; do
13241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13242 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13252 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13253 if test -n "$WINDMC_FOR_TARGET"; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13255 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13258 $as_echo "no
" >&6; }
13263 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13265 set dummy ${ncn_progname}; ac_word=$2
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13267 $as_echo_n "checking
for $ac_word...
" >&6; }
13268 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13269 $as_echo_n "(cached
) " >&6
13271 if test -n "$WINDMC_FOR_TARGET"; then
13272 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13275 for as_dir in $PATH
13278 test -z "$as_dir" && as_dir=.
13279 for ac_exec_ext in '' $ac_executable_extensions; do
13280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13281 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13291 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13292 if test -n "$WINDMC_FOR_TARGET"; then
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13294 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13297 $as_echo "no
" >&6; }
13302 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13306 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13308 if test $build = $target ; then
13309 WINDMC_FOR_TARGET="$2"
13311 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13314 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13318 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13322 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13325 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13326 if test "x
${build}" != "x
${host}" ; then
13327 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13328 # We already found the complete path
13329 ac_dir=`dirname $AR_FOR_TARGET`
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13331 $as_echo "pre-installed
in $ac_dir" >&6; }
13333 # Canadian cross, just use what we found
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13335 $as_echo "pre-installed
" >&6; }
13339 case " ${configdirs} " in
13344 if test $ok = yes; then
13345 # An in-tree tool is available and we can use it
13346 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13348 $as_echo "just compiled
" >&6; }
13349 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13350 # We already found the complete path
13351 ac_dir=`dirname $AR_FOR_TARGET`
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13353 $as_echo "pre-installed
in $ac_dir" >&6; }
13354 elif test "x
$target" = "x
$host"; then
13355 # We can use an host tool
13356 AR_FOR_TARGET='$(AR)'
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13358 $as_echo "host tool
" >&6; }
13360 # We need a cross tool
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13362 $as_echo "pre-installed
" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13367 $as_echo_n "checking where to
find the target as...
" >&6; }
13368 if test "x
${build}" != "x
${host}" ; then
13369 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13370 # We already found the complete path
13371 ac_dir=`dirname $AS_FOR_TARGET`
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13373 $as_echo "pre-installed
in $ac_dir" >&6; }
13375 # Canadian cross, just use what we found
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13377 $as_echo "pre-installed
" >&6; }
13381 case " ${configdirs} " in
13386 if test $ok = yes; then
13387 # An in-tree tool is available and we can use it
13388 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13390 $as_echo "just compiled
" >&6; }
13391 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13392 # We already found the complete path
13393 ac_dir=`dirname $AS_FOR_TARGET`
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13395 $as_echo "pre-installed
in $ac_dir" >&6; }
13396 elif test "x
$target" = "x
$host"; then
13397 # We can use an host tool
13398 AS_FOR_TARGET='$(AS)'
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13400 $as_echo "host tool
" >&6; }
13402 # We need a cross tool
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13404 $as_echo "pre-installed
" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13409 $as_echo_n "checking where to
find the target cc...
" >&6; }
13410 if test "x
${build}" != "x
${host}" ; then
13411 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13412 # We already found the complete path
13413 ac_dir=`dirname $CC_FOR_TARGET`
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13415 $as_echo "pre-installed
in $ac_dir" >&6; }
13417 # Canadian cross, just use what we found
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13419 $as_echo "pre-installed
" >&6; }
13423 case " ${configdirs} " in
13428 if test $ok = yes; then
13429 # An in-tree tool is available and we can use it
13430 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13432 $as_echo "just compiled
" >&6; }
13433 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13434 # We already found the complete path
13435 ac_dir=`dirname $CC_FOR_TARGET`
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13437 $as_echo "pre-installed
in $ac_dir" >&6; }
13438 elif test "x
$target" = "x
$host"; then
13439 # We can use an host tool
13440 CC_FOR_TARGET='$(CC)'
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13442 $as_echo "host tool
" >&6; }
13444 # We need a cross tool
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13446 $as_echo "pre-installed
" >&6; }
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13451 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13452 if test "x
${build}" != "x
${host}" ; then
13453 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13454 # We already found the complete path
13455 ac_dir=`dirname $CXX_FOR_TARGET`
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13457 $as_echo "pre-installed
in $ac_dir" >&6; }
13459 # Canadian cross, just use what we found
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13461 $as_echo "pre-installed
" >&6; }
13465 case " ${configdirs} " in
13469 case ,${enable_languages}, in
13473 if test $ok = yes; then
13474 # An in-tree tool is available and we can use it
13475 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'
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13477 $as_echo "just compiled
" >&6; }
13478 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13479 # We already found the complete path
13480 ac_dir=`dirname $CXX_FOR_TARGET`
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13482 $as_echo "pre-installed
in $ac_dir" >&6; }
13483 elif test "x
$target" = "x
$host"; then
13484 # We can use an host tool
13485 CXX_FOR_TARGET='$(CXX)'
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13487 $as_echo "host tool
" >&6; }
13489 # We need a cross tool
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13491 $as_echo "pre-installed
" >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13496 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13497 if test "x
${build}" != "x
${host}" ; then
13498 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13499 # We already found the complete path
13500 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13502 $as_echo "pre-installed
in $ac_dir" >&6; }
13504 # Canadian cross, just use what we found
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13506 $as_echo "pre-installed
" >&6; }
13510 case " ${configdirs} " in
13514 case ,${enable_languages}, in
13518 if test $ok = yes; then
13519 # An in-tree tool is available and we can use it
13520 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'
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13522 $as_echo "just compiled
" >&6; }
13523 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13524 # We already found the complete path
13525 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13527 $as_echo "pre-installed
in $ac_dir" >&6; }
13528 elif test "x
$target" = "x
$host"; then
13529 # We can use an host tool
13530 RAW_CXX_FOR_TARGET='$(CXX)'
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13532 $as_echo "host tool
" >&6; }
13534 # We need a cross tool
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13536 $as_echo "pre-installed
" >&6; }
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13541 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13542 if test "x
${build}" != "x
${host}" ; then
13543 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13544 # We already found the complete path
13545 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13547 $as_echo "pre-installed
in $ac_dir" >&6; }
13549 # Canadian cross, just use what we found
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13551 $as_echo "pre-installed
" >&6; }
13555 case " ${configdirs} " in
13560 if test $ok = yes; then
13561 # An in-tree tool is available and we can use it
13562 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13564 $as_echo "just compiled
" >&6; }
13565 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13566 # We already found the complete path
13567 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13569 $as_echo "pre-installed
in $ac_dir" >&6; }
13570 elif test "x
$target" = "x
$host"; then
13571 # We can use an host tool
13572 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13574 $as_echo "host tool
" >&6; }
13576 # We need a cross tool
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13578 $as_echo "pre-installed
" >&6; }
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13583 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13584 if test "x
${build}" != "x
${host}" ; then
13585 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13586 # We already found the complete path
13587 ac_dir=`dirname $GCC_FOR_TARGET`
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13589 $as_echo "pre-installed
in $ac_dir" >&6; }
13591 # Canadian cross, just use what we found
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13593 $as_echo "pre-installed
" >&6; }
13597 case " ${configdirs} " in
13602 if test $ok = yes; then
13603 # An in-tree tool is available and we can use it
13604 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13606 $as_echo "just compiled
" >&6; }
13607 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13608 # We already found the complete path
13609 ac_dir=`dirname $GCC_FOR_TARGET`
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13611 $as_echo "pre-installed
in $ac_dir" >&6; }
13612 elif test "x
$target" = "x
$host"; then
13613 # We can use an host tool
13614 GCC_FOR_TARGET='$()'
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13616 $as_echo "host tool
" >&6; }
13618 # We need a cross tool
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13620 $as_echo "pre-installed
" >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13625 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13626 if test "x
${build}" != "x
${host}" ; then
13627 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13628 # We already found the complete path
13629 ac_dir=`dirname $GCJ_FOR_TARGET`
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13631 $as_echo "pre-installed
in $ac_dir" >&6; }
13633 # Canadian cross, just use what we found
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13635 $as_echo "pre-installed
" >&6; }
13639 case " ${configdirs} " in
13643 case ,${enable_languages}, in
13647 if test $ok = yes; then
13648 # An in-tree tool is available and we can use it
13649 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13651 $as_echo "just compiled
" >&6; }
13652 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13653 # We already found the complete path
13654 ac_dir=`dirname $GCJ_FOR_TARGET`
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13656 $as_echo "pre-installed
in $ac_dir" >&6; }
13657 elif test "x
$target" = "x
$host"; then
13658 # We can use an host tool
13659 GCJ_FOR_TARGET='$(GCJ)'
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13661 $as_echo "host tool
" >&6; }
13663 # We need a cross tool
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13665 $as_echo "pre-installed
" >&6; }
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13670 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13671 if test "x
${build}" != "x
${host}" ; then
13672 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13673 # We already found the complete path
13674 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13676 $as_echo "pre-installed
in $ac_dir" >&6; }
13678 # Canadian cross, just use what we found
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13680 $as_echo "pre-installed
" >&6; }
13684 case " ${configdirs} " in
13688 case ,${enable_languages}, in
13692 if test $ok = yes; then
13693 # An in-tree tool is available and we can use it
13694 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13696 $as_echo "just compiled
" >&6; }
13697 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13698 # We already found the complete path
13699 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13701 $as_echo "pre-installed
in $ac_dir" >&6; }
13702 elif test "x
$target" = "x
$host"; then
13703 # We can use an host tool
13704 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13706 $as_echo "host tool
" >&6; }
13708 # We need a cross tool
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13710 $as_echo "pre-installed
" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13715 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13716 if test "x
${build}" != "x
${host}" ; then
13717 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13718 # We already found the complete path
13719 ac_dir=`dirname $GOC_FOR_TARGET`
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13721 $as_echo "pre-installed
in $ac_dir" >&6; }
13723 # Canadian cross, just use what we found
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13725 $as_echo "pre-installed
" >&6; }
13729 case " ${configdirs} " in
13733 case ,${enable_languages}, in
13737 if test $ok = yes; then
13738 # An in-tree tool is available and we can use it
13739 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13741 $as_echo "just compiled
" >&6; }
13742 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13743 # We already found the complete path
13744 ac_dir=`dirname $GOC_FOR_TARGET`
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13746 $as_echo "pre-installed
in $ac_dir" >&6; }
13747 elif test "x
$target" = "x
$host"; then
13748 # We can use an host tool
13749 GOC_FOR_TARGET='$(GOC)'
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13751 $as_echo "host tool
" >&6; }
13753 # We need a cross tool
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13755 $as_echo "pre-installed
" >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13760 $as_echo_n "checking where to
find the target ld...
" >&6; }
13761 if test "x
${build}" != "x
${host}" ; then
13762 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13763 # We already found the complete path
13764 ac_dir=`dirname $LD_FOR_TARGET`
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13766 $as_echo "pre-installed
in $ac_dir" >&6; }
13768 # Canadian cross, just use what we found
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13770 $as_echo "pre-installed
" >&6; }
13774 case " ${configdirs} " in
13779 if test $ok = yes; then
13780 # An in-tree tool is available and we can use it
13781 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13783 $as_echo "just compiled
" >&6; }
13784 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13785 # We already found the complete path
13786 ac_dir=`dirname $LD_FOR_TARGET`
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13788 $as_echo "pre-installed
in $ac_dir" >&6; }
13789 elif test "x
$target" = "x
$host"; then
13790 # We can use an host tool
13791 LD_FOR_TARGET='$(LD)'
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13793 $as_echo "host tool
" >&6; }
13795 # We need a cross tool
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13797 $as_echo "pre-installed
" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13802 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13803 if test "x
${build}" != "x
${host}" ; then
13804 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13805 # We already found the complete path
13806 ac_dir=`dirname $LIPO_FOR_TARGET`
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13808 $as_echo "pre-installed
in $ac_dir" >&6; }
13810 # Canadian cross, just use what we found
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13812 $as_echo "pre-installed
" >&6; }
13815 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13816 # We already found the complete path
13817 ac_dir=`dirname $LIPO_FOR_TARGET`
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13819 $as_echo "pre-installed
in $ac_dir" >&6; }
13820 elif test "x
$target" = "x
$host"; then
13821 # We can use an host tool
13822 LIPO_FOR_TARGET='$(LIPO)'
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13824 $as_echo "host tool
" >&6; }
13826 # We need a cross tool
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13828 $as_echo "pre-installed
" >&6; }
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13833 $as_echo_n "checking where to
find the target nm...
" >&6; }
13834 if test "x
${build}" != "x
${host}" ; then
13835 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13836 # We already found the complete path
13837 ac_dir=`dirname $NM_FOR_TARGET`
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13839 $as_echo "pre-installed
in $ac_dir" >&6; }
13841 # Canadian cross, just use what we found
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13843 $as_echo "pre-installed
" >&6; }
13847 case " ${configdirs} " in
13852 if test $ok = yes; then
13853 # An in-tree tool is available and we can use it
13854 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13856 $as_echo "just compiled
" >&6; }
13857 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13858 # We already found the complete path
13859 ac_dir=`dirname $NM_FOR_TARGET`
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13861 $as_echo "pre-installed
in $ac_dir" >&6; }
13862 elif test "x
$target" = "x
$host"; then
13863 # We can use an host tool
13864 NM_FOR_TARGET='$(NM)'
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13866 $as_echo "host tool
" >&6; }
13868 # We need a cross tool
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13870 $as_echo "pre-installed
" >&6; }
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13875 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13876 if test "x
${build}" != "x
${host}" ; then
13877 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13878 # We already found the complete path
13879 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13881 $as_echo "pre-installed
in $ac_dir" >&6; }
13883 # Canadian cross, just use what we found
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13885 $as_echo "pre-installed
" >&6; }
13889 case " ${configdirs} " in
13894 if test $ok = yes; then
13895 # An in-tree tool is available and we can use it
13896 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13898 $as_echo "just compiled
" >&6; }
13899 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13900 # We already found the complete path
13901 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13903 $as_echo "pre-installed
in $ac_dir" >&6; }
13904 elif test "x
$target" = "x
$host"; then
13905 # We can use an host tool
13906 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13908 $as_echo "host tool
" >&6; }
13910 # We need a cross tool
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13912 $as_echo "pre-installed
" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13917 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13918 if test "x
${build}" != "x
${host}" ; then
13919 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13920 # We already found the complete path
13921 ac_dir=`dirname $RANLIB_FOR_TARGET`
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13923 $as_echo "pre-installed
in $ac_dir" >&6; }
13925 # Canadian cross, just use what we found
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13927 $as_echo "pre-installed
" >&6; }
13931 case " ${configdirs} " in
13936 if test $ok = yes; then
13937 # An in-tree tool is available and we can use it
13938 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13940 $as_echo "just compiled
" >&6; }
13941 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13942 # We already found the complete path
13943 ac_dir=`dirname $RANLIB_FOR_TARGET`
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13945 $as_echo "pre-installed
in $ac_dir" >&6; }
13946 elif test "x
$target" = "x
$host"; then
13947 # We can use an host tool
13948 RANLIB_FOR_TARGET='$(RANLIB)'
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13950 $as_echo "host tool
" >&6; }
13952 # We need a cross tool
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13954 $as_echo "pre-installed
" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
13959 $as_echo_n "checking where to
find the target readelf...
" >&6; }
13960 if test "x
${build}" != "x
${host}" ; then
13961 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
13962 # We already found the complete path
13963 ac_dir=`dirname $READELF_FOR_TARGET`
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13965 $as_echo "pre-installed
in $ac_dir" >&6; }
13967 # Canadian cross, just use what we found
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13969 $as_echo "pre-installed
" >&6; }
13973 case " ${configdirs} " in
13978 if test $ok = yes; then
13979 # An in-tree tool is available and we can use it
13980 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13982 $as_echo "just compiled
" >&6; }
13983 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $READELF_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13988 elif test "x
$target" = "x
$host"; then
13989 # We can use an host tool
13990 READELF_FOR_TARGET='$(READELF)'
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13992 $as_echo "host tool
" >&6; }
13994 # We need a cross tool
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13996 $as_echo "pre-installed
" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14001 $as_echo_n "checking where to
find the target strip...
" >&6; }
14002 if test "x
${build}" != "x
${host}" ; then
14003 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $STRIP_FOR_TARGET`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14007 $as_echo "pre-installed
in $ac_dir" >&6; }
14009 # Canadian cross, just use what we found
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14011 $as_echo "pre-installed
" >&6; }
14015 case " ${configdirs} " in
14020 if test $ok = yes; then
14021 # An in-tree tool is available and we can use it
14022 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14024 $as_echo "just compiled
" >&6; }
14025 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14026 # We already found the complete path
14027 ac_dir=`dirname $STRIP_FOR_TARGET`
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14029 $as_echo "pre-installed
in $ac_dir" >&6; }
14030 elif test "x
$target" = "x
$host"; then
14031 # We can use an host tool
14032 STRIP_FOR_TARGET='$(STRIP)'
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14034 $as_echo "host tool
" >&6; }
14036 # We need a cross tool
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14038 $as_echo "pre-installed
" >&6; }
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14043 $as_echo_n "checking where to
find the target windres...
" >&6; }
14044 if test "x
${build}" != "x
${host}" ; then
14045 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14046 # We already found the complete path
14047 ac_dir=`dirname $WINDRES_FOR_TARGET`
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14049 $as_echo "pre-installed
in $ac_dir" >&6; }
14051 # Canadian cross, just use what we found
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14053 $as_echo "pre-installed
" >&6; }
14057 case " ${configdirs} " in
14062 if test $ok = yes; then
14063 # An in-tree tool is available and we can use it
14064 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14066 $as_echo "just compiled
" >&6; }
14067 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14068 # We already found the complete path
14069 ac_dir=`dirname $WINDRES_FOR_TARGET`
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14071 $as_echo "pre-installed
in $ac_dir" >&6; }
14072 elif test "x
$target" = "x
$host"; then
14073 # We can use an host tool
14074 WINDRES_FOR_TARGET='$(WINDRES)'
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14076 $as_echo "host tool
" >&6; }
14078 # We need a cross tool
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14080 $as_echo "pre-installed
" >&6; }
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14085 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14086 if test "x
${build}" != "x
${host}" ; then
14087 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14088 # We already found the complete path
14089 ac_dir=`dirname $WINDMC_FOR_TARGET`
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14091 $as_echo "pre-installed
in $ac_dir" >&6; }
14093 # Canadian cross, just use what we found
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14095 $as_echo "pre-installed
" >&6; }
14099 case " ${configdirs} " in
14104 if test $ok = yes; then
14105 # An in-tree tool is available and we can use it
14106 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14108 $as_echo "just compiled
" >&6; }
14109 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14110 # We already found the complete path
14111 ac_dir=`dirname $WINDMC_FOR_TARGET`
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14113 $as_echo "pre-installed
in $ac_dir" >&6; }
14114 elif test "x
$target" = "x
$host"; then
14115 # We can use an host tool
14116 WINDMC_FOR_TARGET='$(WINDMC)'
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14118 $as_echo "host tool
" >&6; }
14120 # We need a cross tool
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14122 $as_echo "pre-installed
" >&6; }
14130 # Certain tools may need extra flags.
14131 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14132 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14133 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14135 # When building target libraries, except in a Canadian cross, we use
14136 # the same toolchain as the compiler we just built.
14137 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14138 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14139 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14140 if test $host = $build; then
14141 case " $configdirs " in
14143 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14144 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14145 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14155 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14156 # Check whether --enable-maintainer-mode was given.
14157 if test "${enable_maintainer_mode+set}" = set; then :
14158 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14160 USE_MAINTAINER_MODE=no
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14164 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14167 if test "$USE_MAINTAINER_MODE" = yes; then
14168 MAINTAINER_MODE_TRUE=
14169 MAINTAINER_MODE_FALSE='#'
14171 MAINTAINER_MODE_TRUE='#'
14172 MAINTAINER_MODE_FALSE=
14174 MAINT=$MAINTAINER_MODE_TRUE
14176 # ---------------------
14177 # GCC bootstrap support
14178 # ---------------------
14180 # Stage specific cflags for build.
14185 yes) stage1_cflags="-g -Wa,-J" ;;
14186 *) stage1_cflags="-g -J" ;;
14192 # Enable --enable-checking in stage1 of the compiler.
14193 # Check whether --enable-stage1-checking was given.
14194 if test "${enable_stage1_checking+set}" = set; then :
14195 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14197 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14198 stage1_checking=--enable-checking=yes,types
14200 stage1_checking=--enable-checking=$enable_checking,types
14206 # Enable -Werror in bootstrap stage2 and later.
14207 # Check whether --enable-werror was given.
14208 if test "${enable_werror+set}" = set; then :
14209 enableval=$enable_werror;
14211 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14218 case ${enable_werror} in
14219 yes) stage2_werror_flag="--enable-werror-always" ;;
14220 *) stage2_werror_flag="" ;;
14224 # Specify what files to not compare during bootstrap.
14226 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14228 hppa*64*-*-hpux*) ;;
14229 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14233 ac_config_files="$ac_config_files Makefile
"
14235 cat >confcache <<\_ACEOF
14236 # This file is a shell script that caches the results of configure
14237 # tests run on this system so they can be shared between configure
14238 # scripts and configure runs, see configure's option --config-cache.
14239 # It is not useful on other systems. If it contains results you don't
14240 # want to keep, you may remove or edit it.
14242 # config.status only pays attention to the cache file if you give it
14243 # the --recheck option to rerun configure.
14245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14247 # following values.
14251 # The following way of writing the cache mishandles newlines in values,
14252 # but we know of no workaround that is simple, portable, and efficient.
14253 # So, we kill variables containing newlines.
14254 # Ultrix sh set writes to stderr and can't be redirected directly,
14255 # and sets the high bit in the cache file unless we assign to the vars.
14257 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14258 eval ac_val=\$$ac_var
14262 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14263 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14266 _ | IFS | as_nl) ;; #(
14267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14268 *) { eval $ac_var=; unset $ac_var;} ;;
14274 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14275 *${as_nl}ac_space=\ *)
14276 # `set' does not quote correctly, so add quotes: double-quote
14277 # substitution turns \\\\ into \\, and sed turns \\ into \.
14280 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14283 # `set' quotes correctly as required by POSIX, so do not add quotes.
14284 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14295 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14297 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14298 if test -w "$cache_file"; then
14299 test "x
$cache_file" != "x
/dev
/null
" &&
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14301 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14302 cat confcache >$cache_file
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14305 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14310 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14311 # Let make expand exec_prefix.
14312 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14314 # Transform confdefs.h into DEFS.
14315 # Protect against shell expansion while executing Makefile rules.
14316 # Protect against Makefile macro expansion.
14318 # If the first sed substitution is executed (which looks for macros that
14319 # take arguments), then branch to the quote section. Otherwise,
14320 # look for a macro that doesn't take arguments.
14330 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14332 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14336 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14349 DEFS=`sed -n "$ac_script" confdefs.h`
14354 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14355 # 1. Remove the extension, and $U if already installed.
14356 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14357 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14358 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14359 # will be set to the directory where LIBOBJS objects are built.
14360 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14361 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14363 LIBOBJS=$ac_libobjs
14365 LTLIBOBJS=$ac_ltlibobjs
14369 : ${CONFIG_STATUS=./config.status}
14371 ac_clean_files_save=$ac_clean_files
14372 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14374 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14376 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14378 # Generated by $as_me.
14379 # Run this file to recreate the current configuration.
14380 # Compiler output produced by configure, useful for debugging
14381 # configure, is in config.log if it exists.
14384 ac_cs_recheck=false
14387 SHELL=\${CONFIG_SHELL-$SHELL}
14390 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14391 ## -------------------- ##
14392 ## M4sh Initialization. ##
14393 ## -------------------- ##
14395 # Be more Bourne compatible
14396 DUALCASE=1; export DUALCASE # for MKS sh
14397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14400 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14401 # is contrary to our usage. Disable this feature.
14402 alias -g '${1+"$@"}'='"$@"'
14403 setopt NO_GLOB_SUBST
14405 case `(set -o) 2>/dev/null` in #(
14417 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14418 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14419 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14420 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14421 # Prefer a ksh shell builtin over an external printf program on Solaris,
14422 # but without wasting forks for bash or zsh.
14423 if test -z "$BASH_VERSION$ZSH_VERSION" \
14424 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14425 as_echo
='print -r --'
14426 as_echo_n
='print -rn --'
14427 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14428 as_echo
='printf %s\n'
14429 as_echo_n
='printf %s'
14431 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14432 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14433 as_echo_n
='/usr/ucb/echo -n'
14435 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14436 as_echo_n_body
='eval
14440 expr "X$arg" : "X\\(.*\\)$as_nl";
14441 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14443 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14445 export as_echo_n_body
14446 as_echo_n
='sh -c $as_echo_n_body as_echo'
14448 export as_echo_body
14449 as_echo
='sh -c $as_echo_body as_echo'
14452 # The user is always right.
14453 if test "${PATH_SEPARATOR+set}" != set; then
14455 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14456 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14463 # We need space, tab and new line, in precisely that order. Quoting is
14464 # there to prevent editors from complaining about space-tab.
14465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14466 # splitting by setting IFS to empty value.)
14469 # Find who we are. Look in the path if we contain no directory separator.
14471 *[\\/]* ) as_myself
=$0 ;;
14472 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14473 for as_dir
in $PATH
14476 test -z "$as_dir" && as_dir
=.
14477 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14483 # We did not find ourselves, most probably we were run as `sh COMMAND'
14484 # in which case we are not to be found in the path.
14485 if test "x$as_myself" = x
; then
14488 if test ! -f "$as_myself"; then
14489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14493 # Unset variables that we do not need and which cause bugs (e.g. in
14494 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14495 # suppresses any "Segmentation fault" message there. '((' could
14496 # trigger a bug in pdksh 5.2.14.
14497 for as_var
in BASH_ENV ENV MAIL MAILPATH
14498 do eval test x\
${$as_var+set} = xset \
14499 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14512 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14515 # as_fn_error ERROR [LINENO LOG_FD]
14516 # ---------------------------------
14517 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14518 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14519 # script with status $?, using 1 if that was 0.
14522 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14524 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14525 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14527 $as_echo "$as_me: error: $1" >&2
14528 as_fn_exit
$as_status
14532 # as_fn_set_status STATUS
14533 # -----------------------
14534 # Set $? to STATUS, without forking.
14535 as_fn_set_status
()
14538 } # as_fn_set_status
14540 # as_fn_exit STATUS
14541 # -----------------
14542 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14546 as_fn_set_status
$1
14552 # Portably unset VAR.
14555 { eval $1=; unset $1;}
14557 as_unset
=as_fn_unset
14558 # as_fn_append VAR VALUE
14559 # ----------------------
14560 # Append the text in VALUE to the end of the definition contained in VAR. Take
14561 # advantage of any shell optimizations that allow amortized linear growth over
14562 # repeated appends, instead of the typical quadratic growth present in naive
14564 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14565 eval 'as_fn_append ()
14576 # as_fn_arith ARG...
14577 # ------------------
14578 # Perform arithmetic evaluation on the ARGs, and store the result in the
14579 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14580 # must be portable across $(()) and expr.
14581 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14582 eval 'as_fn_arith ()
14589 as_val
=`expr "$@" || test $? -eq 1`
14594 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14595 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14601 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14602 as_basename
=basename
14607 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14613 as_me
=`$as_basename -- "$0" ||
14614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14615 X"$0" : 'X\(//\)$' \| \
14616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14618 sed '/^.*\/\([^/][^/]*\)\/*$/{
14632 # Avoid depending upon Character Ranges.
14633 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14634 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14635 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14636 as_cr_digits
='0123456789'
14637 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14639 ECHO_C
= ECHO_N
= ECHO_T
=
14640 case `echo -n x` in #(((((
14642 case `echo 'xy\c'` in
14643 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14645 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14652 rm -f conf$$ conf$$.exe conf$$.
file
14653 if test -d conf$$.dir
; then
14654 rm -f conf$$.dir
/conf$$.
file
14657 mkdir conf$$.dir
2>/dev
/null
14659 if (echo >conf$$.
file) 2>/dev
/null
; then
14660 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14662 # ... but there are two gotchas:
14663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14665 # In both cases, we have to default to `cp -p'.
14666 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14668 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14676 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14677 rmdir conf$$.dir
2>/dev
/null
14682 # Create "$as_dir" as a directory, including parents if necessary.
14687 -*) as_dir
=.
/$as_dir;;
14689 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14693 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14694 *) as_qdir
=$as_dir;;
14696 as_dirs
="'$as_qdir' $as_dirs"
14697 as_dir
=`$as_dirname -- "$as_dir" ||
14698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14699 X"$as_dir" : 'X\(//\)[^/]' \| \
14700 X"$as_dir" : 'X\(//\)$' \| \
14701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14702 $as_echo X"$as_dir" |
14703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14707 /^X\(\/\/\)[^/].*/{
14720 test -d "$as_dir" && break
14722 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14723 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14727 if mkdir
-p .
2>/dev
/null
; then
14728 as_mkdir_p
='mkdir -p "$as_dir"'
14730 test -d .
/-p && rmdir .
/-p
14734 if test -x / >/dev
/null
2>&1; then
14735 as_test_x
='test -x'
14737 if ls -dL / >/dev
/null
2>&1; then
14744 if test -d "$1"; then
14750 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14751 ???[sx]*):;;*)false;;esac;fi
14755 as_executable_p
=$as_test_x
14757 # Sed expression to map a string onto a valid CPP name.
14758 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14760 # Sed expression to map a string onto a valid variable name.
14761 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14765 ## ----------------------------------- ##
14766 ## Main body of $CONFIG_STATUS script. ##
14767 ## ----------------------------------- ##
14769 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14772 # Save the log message, to keep $0 and so on meaningful, and to
14773 # report actual input values of CONFIG_FILES etc. instead of their
14774 # values after options handling.
14776 This file was extended by $as_me, which was
14777 generated by GNU Autoconf 2.64. Invocation command line was
14779 CONFIG_FILES = $CONFIG_FILES
14780 CONFIG_HEADERS = $CONFIG_HEADERS
14781 CONFIG_LINKS = $CONFIG_LINKS
14782 CONFIG_COMMANDS = $CONFIG_COMMANDS
14785 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14790 case $ac_config_files in *"
14791 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14797 # Files that config.status was made for.
14798 config_files="$ac_config_files"
14802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14804 \`$as_me' instantiates files and other configuration actions
14805 from templates according to the current configuration. Unless the files
14806 and actions are specified as TAGs, all are instantiated by default.
14808 Usage: $0 [OPTION]... [TAG]...
14810 -h, --help print this help, then exit
14811 -V, --version print version number and configuration settings, then exit
14812 -q, --quiet, --silent
14813 do not print progress messages
14814 -d, --debug don't remove temporary files
14815 --recheck update $as_me by reconfiguring in the same conditions
14816 --file=FILE[:TEMPLATE]
14817 instantiate the configuration file FILE
14819 Configuration files:
14822 Report bugs to the package provider."
14825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14828 configured by $0, generated by GNU Autoconf 2.64,
14829 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14831 Copyright (C) 2009 Free Software Foundation, Inc.
14832 This config.status script is free software; the Free Software Foundation
14833 gives unlimited permission to copy, distribute and modify it."
14839 test -n "\$AWK" || AWK=awk
14842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14843 # The default lists apply if the user does not specify any file.
14849 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14850 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14861 # Handling of the options.
14862 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14864 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14865 $as_echo "$ac_cs_version"; exit ;;
14866 --debug |
--debu |
--deb |
--de |
--d |
-d )
14868 --file |
--fil |
--fi |
--f )
14871 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14873 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14874 ac_need_defaults
=false
;;
14875 --he |
--h |
--help |
--hel |
-h )
14876 $as_echo "$ac_cs_usage"; exit ;;
14877 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14878 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14881 # This is an error.
14882 -*) as_fn_error
"unrecognized option: \`$1'
14883 Try \`$0 --help' for more information." ;;
14885 *) as_fn_append ac_config_targets
" $1"
14886 ac_need_defaults
=false
;;
14892 ac_configure_extra_args
=
14894 if $ac_cs_silent; then
14896 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14901 if \$ac_cs_recheck; then
14902 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14904 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14905 CONFIG_SHELL='$SHELL'
14906 export CONFIG_SHELL
14911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14915 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14916 ## Running $as_me. ##
14922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14926 extrasub_build="$extrasub_build"
14927 extrasub_host="$extrasub_host"
14928 extrasub_target="$extrasub_target"
14932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14934 # Handling of arguments.
14935 for ac_config_target
in $ac_config_targets
14937 case $ac_config_target in
14938 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14940 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14945 # If the user did not use the arguments to specify the items to instantiate,
14946 # then the envvar interface is used. Set only those that are not.
14947 # We use the long form for the default assignment because of an extremely
14948 # bizarre bug on SunOS 4.1.3.
14949 if $ac_need_defaults; then
14950 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14953 # Have a temporary directory for convenience. Make it in the build tree
14954 # simply because there is no reason against having it here, and in addition,
14955 # creating and moving files from /tmp can sometimes cause problems.
14956 # Hook for its removal unless debugging.
14957 # Note that there is a small window in which the directory will not be cleaned:
14958 # after its creation but before its name has been assigned to `$tmp'.
14962 trap 'exit_status=$?
14963 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14965 trap 'as_fn_exit 1' 1 2 13 15
14967 # Create a (secure) tmp directory for tmp files.
14970 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14971 test -n "$tmp" && test -d "$tmp"
14974 tmp
=.
/conf$$
-$RANDOM
14975 (umask 077 && mkdir
"$tmp")
14976 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14978 # Set up the scripts for CONFIG_FILES section.
14979 # No need to generate them if there are no CONFIG_FILES.
14980 # This happens for instance with `./config.status config.h'.
14981 if test -n "$CONFIG_FILES"; then
14983 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14984 ac_cs_awk_getline
=:
14985 ac_cs_awk_pipe_init
=
14986 ac_cs_awk_read_file
='
14987 while ((getline aline < (F[key])) > 0)
14990 ac_cs_awk_pipe_fini
=
14992 ac_cs_awk_getline
=false
14993 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14994 ac_cs_awk_read_file
='
14996 print "cat " F[key] " &&"
14997 '$ac_cs_awk_pipe_init
14998 # The final `:' finishes the AND list.
14999 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15001 ac_cr
=`echo X | tr X '\015'`
15002 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15003 # But we know of no other shell where ac_cr would be empty at this
15004 # point, so we can use a bashism as a fallback.
15005 if test "x$ac_cr" = x
; then
15006 eval ac_cr
=\$
\'\\r
\'
15008 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15009 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15012 ac_cs_awk_cr
=$ac_cr
15015 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15018 # Create commands to substitute file output variables.
15020 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15021 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15022 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15025 } >conf$
$files.sh
&&
15026 . .
/conf$
$files.sh ||
15027 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15028 rm -f conf$
$files.sh
15031 echo "cat >conf$$subs.awk <<_ACEOF" &&
15032 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15034 } >conf$$subs.sh ||
15035 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15036 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15038 for ac_last_try in false false false false false :; do
15039 . ./conf$$subs.sh ||
15040 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15042 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15043 if test $ac_delim_n = $ac_delim_num; then
15045 elif $ac_last_try; then
15046 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15048 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15051 rm -f conf$$subs.sh
15053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15054 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15058 s/^/S["/; s
/!.
*/"]=/
15068 s/\(.\{148\}\).*/\1/
15070 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15075 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15082 s/\(.\{148\}\).*/\1/
15084 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15088 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15093 ' <conf$$subs.awk | sed '
15098 ' >>$CONFIG_STATUS || ac_write_fail=1
15099 rm -f conf$$subs.awk
15100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15102 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15103 for (key in S) S_is_set[key] = 1
15105 \$ac_cs_awk_pipe_init
15109 nfields = split(line, field, "@
")
15111 len = length(field[1])
15112 for (i = 2; i < nfields; i++) {
15114 keylen = length(key)
15115 if (S_is_set[key]) {
15117 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15118 len += length(value) + length(field[++i])
15123 if (nfields == 3 && !substed) {
15125 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15126 \$ac_cs_awk_read_file
15132 \$ac_cs_awk_pipe_fini
15135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15136 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15137 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15140 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15141 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15144 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15145 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15146 # trailing colons and then remove the whole line if VPATH becomes empty
15147 # (actually we leave an empty line to preserve line numbers).
15148 if test "x
$srcdir" = x.; then
15149 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15150 s/:*\$(srcdir):*/:/
15151 s/:*\${srcdir}:*/:/
15153 s/^\([^=]*=[ ]*\):*/\1/
15159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15160 fi # test -n "$CONFIG_FILES"
15163 eval set X " :F
$CONFIG_FILES "
15168 :[FHLC]) ac_mode=$ac_tag; continue;;
15170 case $ac_mode$ac_tag in
15172 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15173 :[FH]-) ac_tag=-:-;;
15174 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15191 -) ac_f="$tmp/stdin";;
15192 *) # Look for the file first in the build tree, then in the source tree
15193 # (if the path is not absolute). The absolute path cannot be DOS-style,
15194 # because $ac_f cannot contain `:'.
15198 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15200 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15202 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15203 as_fn_append ac_file_inputs " '$ac_f'"
15206 # Let's still pretend it is `configure' which instantiates (i.e., don't
15207 # use $as_me), people would be surprised to read:
15208 # /* config.h. Generated by config.status. */
15209 configure_input='Generated from '`
15210 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15212 if test x"$ac_file" != x-; then
15213 configure_input="$ac_file.
$configure_input"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15215 $as_echo "$as_me: creating
$ac_file" >&6;}
15217 # Neutralize special characters interpreted by sed in replacement strings.
15218 case $configure_input in #(
15219 *\&* | *\|* | *\\* )
15220 ac_sed_conf_input=`$as_echo "$configure_input" |
15221 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15222 *) ac_sed_conf_input=$configure_input;;
15226 *:-:* | *:-) cat >"$tmp/stdin
" \
15227 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15232 ac_dir=`$as_dirname -- "$ac_file" ||
15233 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15234 X"$ac_file" : 'X\(//\)[^/]' \| \
15235 X"$ac_file" : 'X\(//\)$' \| \
15236 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15237 $as_echo X"$ac_file" |
15238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15242 /^X\(\/\/\)[^/].*/{
15255 as_dir="$ac_dir"; as_fn_mkdir_p
15259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15261 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15262 # A "..
" for each directory in $ac_dir_suffix.
15263 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15264 case $ac_top_builddir_sub in
15265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15269 ac_abs_top_builddir=$ac_pwd
15270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15271 # for backward compatibility:
15272 ac_top_builddir=$ac_top_build_prefix
15275 .) # We are building in place.
15277 ac_top_srcdir=$ac_top_builddir_sub
15278 ac_abs_top_srcdir=$ac_pwd ;;
15279 [\\/]* | ?:[\\/]* ) # Absolute name.
15280 ac_srcdir=$srcdir$ac_dir_suffix;
15281 ac_top_srcdir=$srcdir
15282 ac_abs_top_srcdir=$srcdir ;;
15283 *) # Relative name.
15284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15285 ac_top_srcdir=$ac_top_build_prefix$srcdir
15286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15298 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15299 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15304 # If the template does not know about datarootdir, expand it.
15305 # FIXME: This hack should be removed a few years after 2.60.
15306 ac_datarootdir_hack=; ac_datarootdir_seen=
15317 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15318 *datarootdir*) ac_datarootdir_seen=yes;;
15319 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15321 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15324 ac_datarootdir_hack='
15325 s&@datadir@&$datadir&g
15326 s&@docdir@&$docdir&g
15327 s&@infodir@&$infodir&g
15328 s&@localedir@&$localedir&g
15329 s&@mandir@&$mandir&g
15330 s&\\\${datarootdir}&$datarootdir&g' ;;
15334 # Neutralize VPATH when `$srcdir' = `.'.
15335 # Shell code in configure.ac might set extrasub.
15336 # FIXME: do we really want to maintain this feature?
15337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15338 ac_sed_extra="$ac_vpsub
15341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15343 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15344 s|@configure_input@|
$ac_sed_conf_input|
;t t
15345 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15346 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15347 s
&@srcdir@
&$ac_srcdir&;t t
15348 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15349 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15350 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15351 s
&@builddir@
&$ac_builddir&;t t
15352 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15353 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15354 s
&@INSTALL@
&$ac_INSTALL&;t t
15355 $ac_datarootdir_hack
15357 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15358 if $ac_cs_awk_getline; then
15359 $AWK -f "$tmp/subs.
awk"
15361 $AWK -f "$tmp/subs.
awk" | $SHELL
15363 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15365 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15366 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15367 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15369 which seems to be undefined. Please make sure it is defined." >&5
15370 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15371 which seems to be undefined. Please make sure it is defined." >&2;}
15375 -) cat "$tmp/out" && rm -f "$tmp/out";;
15376 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15378 || as_fn_error "could not create $ac_file" "$LINENO" 5
15386 case $ac_file$ac_mode in
15387 "Makefile":F) sed "$extrasub_build" Makefile |
15388 sed "$extrasub_host" |
15389 sed "$extrasub_target" > mf$$
15390 mv -f mf$$ Makefile ;;
15398 ac_clean_files=$ac_clean_files_save
15400 test $ac_write_fail = 0 ||
15401 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15404 # configure is writing to config.log, and then calls config.status.
15405 # config.status does its own redirection, appending to config.log.
15406 # Unfortunately, on DOS this fails, as config.log is still kept open
15407 # by configure, so config.status won't be able to
write to it
; its
15408 # output is simply discarded. So we exec the FD to /dev/null,
15409 # effectively closing config.log, so it can be properly (re)opened and
15410 # appended to by config.status. When coming back to configure, we
15411 # need to make the FD available again.
15412 if test "$no_create" != yes; then
15414 ac_config_status_args
=
15415 test "$silent" = yes &&
15416 ac_config_status_args
="$ac_config_status_args --quiet"
15418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15421 # would make configure fail if this is the last instruction.
15422 $ac_cs_success || as_fn_exit $?
15424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}