2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
642 DEBUG_PREFIX_CFLAGS_FOR_TARGET
643 SYSROOT_CFLAGS_FOR_TARGET
645 extra_host_libiberty_configure_flags
653 extra_isl_gmp_configure_flags
654 extra_mpc_mpfr_configure_flags
655 extra_mpc_gmp_configure_flags
656 extra_mpfr_configure_flags
672 EXTRA_CONFIGARGS_LIBJAVA
699 TOPLEVEL_CONFIGURE_ARGUMENTS
727 program_transform_name
738 ac_subst_files
='serialization_dependencies
744 enable_option_checking
749 enable_libquadmath_support
752 enable_static_libjava
774 enable_isl_version_check
777 enable_cloog_version_check
779 enable_stage1_languages
782 with_debug_prefix_map
784 enable_serial_configure
785 with_build_time_tools
786 enable_maintainer_mode
787 enable_stage1_checking
790 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information."
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used." >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 as_fn_error
"path to source, $srcdir, contains spaces"
1367 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures this package to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1461 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1462 --disable-libquadmath do not build libquadmath directory
1463 --disable-libquadmath-support
1464 disable libquadmath support
for Fortran
1465 --enable-libada build libada directory
1466 --enable-libssp build libssp directory
1467 --enable-static-libjava[=ARG
]
1468 build static libjava
[default
=no
]
1469 --enable-bootstrap enable bootstrapping
[yes if native build
]
1470 --disable-isl-version-check
1471 disable check
for ISL version
1472 --disable-cloog-version-check
1473 disable check
for CLooG version
1474 --enable-lto enable link
time optimization support
1475 --enable-stage1-languages[=all
]
1476 choose additional languages to build during stage1.
1477 Mostly useful
for compiler development
1478 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1480 --enable-serial-[{host,target,build}-]configure
1481 force sequential configuration of sub-packages for
1482 the host, target or build machine, or all
1484 --enable-maintainer-mode
1485 enable make rules and dependencies not useful (and
1486 sometimes confusing) to the casual installer
1487 --enable-stage1-checking[=all]
1488 choose additional checking for stage1 of the
1490 --enable-werror enable -Werror in bootstrap stage2 and later
1493 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1494 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1495 --with-build-libsubdir=DIR Directory where to find libraries for build system
1496 --with-mpc=PATH specify prefix directory for installed MPC package.
1497 Equivalent to --with-mpc-include=PATH/include plus
1498 --with-mpc-lib=PATH/lib
1499 --with-mpc-include=PATH specify directory for installed MPC include files
1500 --with-mpc-lib=PATH specify directory for the installed MPC library
1501 --with-mpfr-dir=PATH this option has been REMOVED
1502 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1503 Equivalent to --with-mpfr-include=PATH/include plus
1504 --with-mpfr-lib=PATH/lib
1505 --with-mpfr-include=PATH
1506 specify directory for installed MPFR include files
1507 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1508 --with-gmp-dir=PATH this option has been REMOVED
1509 --with-gmp=PATH specify prefix directory for the installed GMP
1510 package. Equivalent to
1511 --with-gmp-include=PATH/include plus
1512 --with-gmp-lib=PATH/lib
1513 --with-gmp-include=PATH specify directory for installed GMP include files
1514 --with-gmp-lib=PATH specify directory for the installed GMP library
1515 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1517 --with-stage1-libs=LIBS libraries for stage1
1518 --with-stage1-ldflags=FLAGS
1519 linker flags for stage1
1520 --with-boot-libs=LIBS libraries for stage2 and later
1521 --with-boot-ldflags=FLAGS
1522 linker flags for stage2 and later
1523 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1524 package. Equivalent to
1525 --with-cloog-include=PATH/include plus
1526 --with-cloog-lib=PATH/lib
1527 --with-isl=PATH Specify prefix directory for the installed ISL
1528 package. Equivalent to
1529 --with-isl-include=PATH/include plus
1530 --with-isl-lib=PATH/lib
1531 --with-isl-include=PATH Specify directory for installed ISL include files
1532 --with-isl-lib=PATH Specify the directory for the installed ISL library
1533 --with-cloog-include=PATH
1534 Specify directory for installed CLooG include files
1535 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1537 --with-build-sysroot=SYSROOT
1538 use sysroot as the system root during the build
1539 --with-debug-prefix-map='A
=B C
=D ...
'
1540 map A to B, C to D ... in debug information
1541 --with-build-config='NAME NAME2...
'
1542 use config/NAME.mk build configuration
1543 --with-build-time-tools=PATH
1544 use given path to find target tools during the build
1546 Some influential environment variables:
1547 CC C compiler command
1548 CFLAGS C compiler flags
1549 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1550 nonstandard directory <lib dir>
1551 LIBS libraries to pass to the linker, e.g. -l<library>
1552 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1553 you have headers in a nonstandard directory <include dir>
1554 CXX C++ compiler command
1555 CXXFLAGS C++ compiler flags
1557 additional configure arguments for build directories
1559 additional configure arguments for host directories
1561 additional configure arguments for target directories
1564 DLLTOOL DLLTOOL for the host
1566 LIPO LIPO for the host
1568 RANLIB RANLIB for the host
1569 STRIP STRIP for the host
1570 WINDRES WINDRES for the host
1571 WINDMC WINDMC for the host
1572 OBJCOPY OBJCOPY for the host
1573 OBJDUMP OBJDUMP for the host
1574 READELF READELF for the host
1584 GFORTRAN for the target
1592 DLLTOOL for the target
1600 OBJDUMP for the target
1602 RANLIB for the target
1604 READELF for the target
1606 STRIP for the target
1608 WINDRES for the target
1610 WINDMC for the target
1612 Use these variables to override the choices made by `configure' or to
help
1613 it to
find libraries and programs with nonstandard names
/locations.
1615 Report bugs to the package provider.
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1629 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1631 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1636 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1639 ac_abs_top_builddir
=$ac_pwd
1640 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir
=$ac_top_build_prefix
1645 .
) # We are building in place.
1647 ac_top_srcdir
=$ac_top_builddir_sub
1648 ac_abs_top_srcdir
=$ac_pwd ;;
1649 [\\/]* | ?
:[\\/]* ) # Absolute name.
1650 ac_srcdir
=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir
=$srcdir
1652 ac_abs_top_srcdir
=$srcdir ;;
1654 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1658 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1660 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1679 generated by GNU Autoconf
2.64
1681 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1682 This configure
script is free software
; the Free Software Foundation
1683 gives unlimited permission to copy
, distribute and modify it.
1688 ## ------------------------ ##
1689 ## Autoconf initialization. ##
1690 ## ------------------------ ##
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 rm -f conftest.
$ac_objext
1699 if { { ac_try
="$ac_compile"
1701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 } # ac_fn_c_try_compile
1730 # ac_fn_cxx_try_compile LINENO
1731 # ----------------------------
1732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_compile ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext
1737 if { { ac_try="$ac_compile"
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_compile") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest.
$ac_objext; then :
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1766 } # ac_fn_cxx_try_compile
1768 # ac_fn_cxx_try_link LINENO
1769 # -------------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_cxx_try_link
()
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 rm -f conftest.
$ac_objext conftest
$ac_exeext
1775 if { { ac_try
="$ac_link"
1777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_cxx_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 $as_test_x conftest$ac_exeext
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806 # interfere with the next link command; also delete a directory that is
1807 # left behind by Apple's compiler. We do this before executing the actions.
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 } # ac_fn_cxx_try_link
1814 # ac_fn_c_try_link LINENO
1815 # -----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext conftest$ac_exeext
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>conftest.err
1830 if test -s conftest.err
; then
1831 grep -v '^ *+' conftest.err
>conftest.er1
1832 cat conftest.er1
>&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest
$ac_exeext && {
1840 test "$cross_compiling" = yes ||
1841 $as_test_x conftest
$ac_exeext
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.
$ac_ext >&5
1850 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852 # interfere with the next link command; also delete a directory that is
1853 # left behind by Apple's compiler. We do this before executing the actions.
1854 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1858 } # ac_fn_c_try_link
1860 # ac_fn_c_try_run LINENO
1861 # ----------------------
1862 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1863 # that executables *can* be run.
1866 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1867 if { { ac_try
="$ac_link"
1869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_link") 2>&5
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1878 { { case "(($ac_try" in
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_try") 2>&5
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; }; }; then :
1890 $as_echo "$as_me: program exited with status $ac_status" >&5
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.
$ac_ext >&5
1894 ac_retval
=$ac_status
1896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1901 cat >config.log
<<_ACEOF
1902 This file contains any messages produced by compilers while
1903 running configure, to aid debugging if configure makes a mistake.
1905 It was created by $as_me, which was
1906 generated by GNU Autoconf 2.64. Invocation command line was
1918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1925 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1927 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1928 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1930 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1931 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1932 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1933 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir
=.
1942 $as_echo "PATH: $as_dir"
1958 # Keep a trace of the command line.
1959 # Strip out --no-create and --no-recursion so they do not pile up.
1960 # Strip out --silent because we don't want to record it for future runs.
1961 # Also quote any args containing shell meta-characters.
1962 # Make two passes to allow for proper duplicate-argument suppression.
1966 ac_must_keep_next
=false
1972 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1973 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1974 |
-silent |
--silent |
--silen |
--sile |
--sil)
1977 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1980 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1982 as_fn_append ac_configure_args1
" '$ac_arg'"
1983 if test $ac_must_keep_next = true
; then
1984 ac_must_keep_next
=false
# Got value, back to normal.
1987 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1988 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1989 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1990 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1991 case "$ac_configure_args0 " in
1992 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1995 -* ) ac_must_keep_next
=true
;;
1998 as_fn_append ac_configure_args
" '$ac_arg'"
2003 { ac_configure_args0
=; unset ac_configure_args0
;}
2004 { ac_configure_args1
=; unset ac_configure_args1
;}
2006 # When interrupted or exit'd, cleanup temporary files, and complete
2007 # config.log. We remove comments because anyway the quotes in there
2008 # would cause problems or look ugly.
2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2011 trap 'exit_status=$?
2012 # Save into config.log some information that might help in debugging.
2017 ## ---------------- ##
2018 ## Cache variables. ##
2019 ## ---------------- ##
2022 # The following way of writing the cache mishandles newlines in values,
2024 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2025 eval ac_val=\$$ac_var
2029 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2030 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2033 _ | IFS | as_nl) ;; #(
2034 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2035 *) { eval $ac_var=; unset $ac_var;} ;;
2040 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2041 *${as_nl}ac_space=\ *)
2043 "s/'\''/'\''\\\\'\'''\''/g;
2044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2047 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2055 ## ----------------- ##
2056 ## Output variables. ##
2057 ## ----------------- ##
2060 for ac_var in $ac_subst_vars
2062 eval ac_val=\$$ac_var
2064 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2066 $as_echo "$ac_var='\''$ac_val'\''"
2070 if test -n "$ac_subst_files"; then
2072 ## ------------------- ##
2073 ## File substitutions. ##
2074 ## ------------------- ##
2077 for ac_var
in $ac_subst_files
2079 eval ac_val
=\$
$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -s confdefs.h; then
2098 test "$ac_signal" != 0 &&
2099 $as_echo "$as_me: caught signal $ac_signal"
2100 $as_echo "$as_me: exit $exit_status"
2102 rm -f core *.core core.conftest.* &&
2103 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2106 for ac_signal
in 1 2 13 15; do
2107 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2112 rm -f -r conftest
* confdefs.h
2114 $as_echo "/* confdefs.h */" > confdefs.h
2116 # Predefined preprocessor variables.
2118 cat >>confdefs.h
<<_ACEOF
2119 #define PACKAGE_NAME "$PACKAGE_NAME"
2122 cat >>confdefs.h
<<_ACEOF
2123 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2126 cat >>confdefs.h
<<_ACEOF
2127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2130 cat >>confdefs.h
<<_ACEOF
2131 #define PACKAGE_STRING "$PACKAGE_STRING"
2134 cat >>confdefs.h
<<_ACEOF
2135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2138 cat >>confdefs.h
<<_ACEOF
2139 #define PACKAGE_URL "$PACKAGE_URL"
2143 # Let the site file select an alternate cache file if it wants to.
2144 # Prefer an explicitly selected file to automatically selected ones.
2147 if test -n "$CONFIG_SITE"; then
2148 ac_site_file1
=$CONFIG_SITE
2149 elif test "x$prefix" != xNONE
; then
2150 ac_site_file1
=$prefix/share
/config.site
2151 ac_site_file2
=$prefix/etc
/config.site
2153 ac_site_file1
=$ac_default_prefix/share
/config.site
2154 ac_site_file2
=$ac_default_prefix/etc
/config.site
2156 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2158 test "x$ac_site_file" = xNONE
&& continue
2159 if test -r "$ac_site_file"; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2161 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2162 sed 's/^/| /' "$ac_site_file" >&5
2167 if test -r "$cache_file"; then
2168 # Some versions of bash will fail to source /dev/null (special
2169 # files actually), so we avoid doing that.
2170 if test -f "$cache_file"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2172 $as_echo "$as_me: loading cache $cache_file" >&6;}
2174 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2175 *) .
"./$cache_file";;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2180 $as_echo "$as_me: creating cache $cache_file" >&6;}
2184 # Check that the precious variables saved in the cache have kept the same
2186 ac_cache_corrupted
=false
2187 for ac_var
in $ac_precious_vars; do
2188 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2189 eval ac_new_set
=\
$ac_env_${ac_var}_set
2190 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2191 eval ac_new_val
=\
$ac_env_${ac_var}_value
2192 case $ac_old_set,$ac_new_set in
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2195 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2196 ac_cache_corrupted
=: ;;
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2199 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2200 ac_cache_corrupted
=: ;;
2203 if test "x$ac_old_val" != "x$ac_new_val"; then
2204 # differences in whitespace do not lead to failure.
2205 ac_old_val_w
=`echo x $ac_old_val`
2206 ac_new_val_w
=`echo x $ac_new_val`
2207 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2209 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2210 ac_cache_corrupted
=:
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2213 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2214 eval $ac_var=\
$ac_old_val
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2217 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2219 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2222 # Pass precious variables to config.status.
2223 if test "$ac_new_set" = set; then
2225 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2226 *) ac_arg
=$ac_var=$ac_new_val ;;
2228 case " $ac_configure_args " in
2229 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2230 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2234 if $ac_cache_corrupted; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2238 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2239 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2241 ## -------------------- ##
2242 ## Main body of script. ##
2243 ## -------------------- ##
2246 ac_cpp
='$CPP $CPPFLAGS'
2247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2260 # if PWD already has a value, it is probably wrong.
2261 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2263 # Export original configure arguments for use by sub-configures.
2264 # Quote arguments with shell meta charatcers.
2265 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2266 set -- "$progname" "$@"
2270 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2271 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2272 # if the argument is of the form -foo=baz, quote the baz part only
2273 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2276 # Add the quoted argument to the list.
2277 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2279 if test "$silent" = yes; then
2280 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2282 # Remove the initial space we just introduced and, as these will be
2283 # expanded by make, quote '$'.
2284 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2287 # Find the build, host, and target systems.
2289 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2290 for ac_t
in install-sh
install.sh shtool
; do
2291 if test -f "$ac_dir/$ac_t"; then
2293 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2298 if test -z "$ac_aux_dir"; then
2299 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2302 # These three variables are undocumented and unsupported,
2303 # and are intended to be withdrawn in a future Autoconf release.
2304 # They can cause serious problems if a builder's source tree is in a directory
2305 # whose full name contains unusual characters.
2306 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2307 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2308 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2311 # Make sure we can run config.sub.
2312 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2313 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2316 $as_echo_n "checking build system type... " >&6; }
2317 if test "${ac_cv_build+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2320 ac_build_alias
=$build_alias
2321 test "x$ac_build_alias" = x
&&
2322 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2323 test "x$ac_build_alias" = x
&&
2324 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2325 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2326 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2330 $as_echo "$ac_cv_build" >&6; }
2331 case $ac_cv_build in
2333 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2336 ac_save_IFS
=$IFS; IFS
='-'
2342 # Remember, the first character of IFS is used to create $*,
2343 # except with old shells:
2346 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2349 case ${build_alias} in
2350 "") build_noncanonical
=${build} ;;
2351 *) build_noncanonical
=${build_alias} ;;
2356 case ${host_alias} in
2357 "") host_noncanonical
=${build_noncanonical} ;;
2358 *) host_noncanonical
=${host_alias} ;;
2363 case ${target_alias} in
2364 "") target_noncanonical
=${host_noncanonical} ;;
2365 *) target_noncanonical
=${target_alias} ;;
2371 test "$host_noncanonical" = "$target_noncanonical" &&
2372 test "$program_prefix$program_suffix$program_transform_name" = \
2374 program_transform_name
=s
,y
,y
,
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2377 $as_echo_n "checking host system type... " >&6; }
2378 if test "${ac_cv_host+set}" = set; then :
2379 $as_echo_n "(cached) " >&6
2381 if test "x$host_alias" = x
; then
2382 ac_cv_host
=$ac_cv_build
2384 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2385 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2390 $as_echo "$ac_cv_host" >&6; }
2393 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2396 ac_save_IFS
=$IFS; IFS
='-'
2402 # Remember, the first character of IFS is used to create $*,
2403 # except with old shells:
2406 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2410 $as_echo_n "checking target system type... " >&6; }
2411 if test "${ac_cv_target+set}" = set; then :
2412 $as_echo_n "(cached) " >&6
2414 if test "x$target_alias" = x
; then
2415 ac_cv_target
=$ac_cv_host
2417 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2418 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2423 $as_echo "$ac_cv_target" >&6; }
2424 case $ac_cv_target in
2426 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2428 target
=$ac_cv_target
2429 ac_save_IFS
=$IFS; IFS
='-'
2435 # Remember, the first character of IFS is used to create $*,
2436 # except with old shells:
2439 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2442 # The aliases save the names the user supplied, while $host etc.
2443 # will get canonicalized.
2444 test -n "$target_alias" &&
2445 test "$program_prefix$program_suffix$program_transform_name" = \
2447 program_prefix
=${target_alias}-
2449 test "$program_prefix" != NONE
&&
2450 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2451 # Use a double $ so make ignores it.
2452 test "$program_suffix" != NONE
&&
2453 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2454 # Double any \ or $.
2455 # By default was `s,x,x', remove it if useless.
2456 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2457 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461 # Get 'install' or 'install-sh' and its variants.
2462 # Find a good install program. We prefer a C program (faster),
2463 # so one script is as good as another. But avoid the broken or
2464 # incompatible versions:
2465 # SysV /etc/install, /usr/sbin/install
2466 # SunOS /usr/etc/install
2467 # IRIX /sbin/install
2469 # AmigaOS /C/install, which installs bootblocks on floppy discs
2470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2473 # OS/2's system install, which has a completely different semantic
2474 # ./install, which can be erroneously created by make from ./install.sh.
2475 # Reject install programs that cannot install multiple files.
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2477 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2478 if test -z "$INSTALL"; then
2479 if test "${ac_cv_path_install+set}" = set; then :
2480 $as_echo_n "(cached) " >&6
2482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir
=.
2487 # Account for people who put trailing slashes in PATH elements.
2488 case $as_dir/ in #((
2489 .
/ | .
// |
/[cC
]/* | \
2490 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2491 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2494 # OSF1 and SCO ODT 3.0 have their own names for install.
2495 # Don't use installbsd from OSF since it installs stuff as root
2497 for ac_prog
in ginstall scoinst
install; do
2498 for ac_exec_ext
in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2500 if test $ac_prog = install &&
2501 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2502 # AIX install. It has an incompatible calling convention.
2504 elif test $ac_prog = install &&
2505 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2506 # program-specific install script used by HP pwplus--don't use.
2509 rm -rf conftest.one conftest.two conftest.dir
2510 echo one
> conftest.one
2511 echo two
> conftest.two
2513 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2514 test -s conftest.one
&& test -s conftest.two
&&
2515 test -s conftest.dir
/conftest.one
&&
2516 test -s conftest.dir
/conftest.two
2518 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2531 rm -rf conftest.one conftest.two conftest.dir
2534 if test "${ac_cv_path_install+set}" = set; then
2535 INSTALL
=$ac_cv_path_install
2537 # As a last resort, use the slow shell script. Don't cache a
2538 # value for INSTALL within a source directory, because that will
2539 # break other packages using the cache if that directory is
2540 # removed, or if the value is a relative name.
2541 INSTALL
=$ac_install_sh
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2545 $as_echo "$INSTALL" >&6; }
2547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2548 # It thinks the first close brace ends the variable substitution.
2549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2553 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2556 $as_echo_n "checking whether ln works... " >&6; }
2557 if test "${acx_cv_prog_LN+set}" = set; then :
2558 $as_echo_n "(cached) " >&6
2560 rm -f conftestdata_t
2561 echo >conftestdata_f
2562 if ln conftestdata_f conftestdata_t
2>/dev
/null
2568 rm -f conftestdata_f conftestdata_t
2571 if test $acx_cv_prog_LN = no
; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2574 $as_echo "no, using $LN" >&6; }
2576 LN
="$acx_cv_prog_LN"
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2578 $as_echo "yes" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2582 $as_echo_n "checking whether ln -s works... " >&6; }
2584 if test "$LN_S" = "ln -s"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586 $as_echo "yes" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2589 $as_echo "no, using $LN_S" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2593 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2594 if test "${ac_cv_path_SED+set}" = set; then :
2595 $as_echo_n "(cached) " >&6
2597 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2598 for ac_i
in 1 2 3 4 5 6 7; do
2599 ac_script
="$ac_script$as_nl$ac_script"
2601 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2602 { ac_script
=; unset ac_script
;}
2603 if test -z "$SED"; then
2604 ac_path_SED_found
=false
2605 # Loop through the user's path and test for each of PROGNAME-LIST
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_prog
in sed gsed
; do
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2614 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2615 # Check for GNU ac_path_SED and select it if it is found.
2616 # Check for GNU $ac_path_SED
2617 case `"$ac_path_SED" --version 2>&1` in
2619 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2622 $as_echo_n 0123456789 >"conftest.in"
2625 cat "conftest.in" "conftest.in" >"conftest.tmp"
2626 mv "conftest.tmp" "conftest.in"
2627 cp "conftest.in" "conftest.nl"
2628 $as_echo '' >> "conftest.nl"
2629 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2630 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2631 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2632 if test $ac_count -gt ${ac_path_SED_max-0}; then
2633 # Best one so far, save it but keep looking for a better one
2634 ac_cv_path_SED
="$ac_path_SED"
2635 ac_path_SED_max
=$ac_count
2637 # 10*(2^10) chars as input seems more than enough
2638 test $ac_count -gt 10 && break
2640 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2643 $ac_path_SED_found && break 3
2648 if test -z "$ac_cv_path_SED"; then
2649 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2657 $as_echo "$ac_cv_path_SED" >&6; }
2658 SED
="$ac_cv_path_SED"
2661 for ac_prog
in gawk mawk nawk
awk
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_prog; ac_word
=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if test "${ac_cv_prog_AWK+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$AWK"; then
2671 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_AWK
="$ac_prog"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$AWK"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2693 $as_echo "$AWK" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2700 test -n "$AWK" && break
2704 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2706 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2708 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2709 INSTALL
="${srcpwd}/install-sh -c"
2712 # Set srcdir to "." if that's what it is.
2713 # This is important for multilib support.
2715 if test "${pwd}" = "${srcpwd}" ; then
2723 ### To add a new directory to the tree, first choose whether it is a target
2724 ### or a host dependent tool. Then put it into the appropriate list
2725 ### (library or tools, host or target), doing a dependency sort.
2727 # Subdirs will be configured in the order listed in build_configdirs,
2728 # configdirs, or target_configdirs; see the serialization section below.
2730 # Dependency sorting is only needed when *configuration* must be done in
2731 # a particular order. In all cases a dependency should be specified in
2732 # the Makefile, whether or not it's implicitly specified here.
2734 # Double entries in build_configdirs, configdirs, or target_configdirs may
2735 # cause circular dependencies and break everything horribly.
2737 # these library is used by various programs built for the build
2740 build_libs
="build-libiberty"
2742 # these tools are built for the build environment
2743 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2745 # these libraries are used by various programs built for the host environment
2747 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2749 # these tools are built for the host environment
2750 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2751 # know that we are building the simulator.
2752 # binutils, gas and ld appear in that order because it makes sense to run
2753 # "make check" in that particular order.
2754 # If --enable-gold is used, "gold" may replace "ld".
2755 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2757 # libgcj represents the runtime libraries only used by gcj.
2758 libgcj
="target-libffi \
2762 # these libraries are built for the target environment, and are built after
2763 # the host libraries and the host tools (which may be a cross compiler)
2764 # Note that libiberty is not a target library.
2765 target_libraries
="target-libgcc \
2766 target-libbacktrace \
2772 target-libstdc++-v3 \
2775 target-libquadmath \
2776 target-libgfortran \
2783 # these tools are built using the target libraries, and are intended to
2784 # run only in the target environment
2786 # note: any program that *uses* libraries that are in the "target_libraries"
2787 # list belongs in this list.
2789 target_tools
="target-rda"
2791 ################################################################################
2793 ## All tools belong in one of the four categories, and are assigned above
2794 ## We assign ${configdirs} this way to remove all embedded newlines. This
2795 ## is important because configure will choke if they ever get through.
2796 ## ${configdirs} is directories we build using the host tools.
2797 ## ${target_configdirs} is directories we build using the target tools.
2798 configdirs
=`echo ${host_libs} ${host_tools}`
2799 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2800 build_configdirs
=`echo ${build_libs} ${build_tools}`
2804 ################################################################################
2806 srcname
="gnu development package"
2808 # This gets set non-empty for some net releases of packages.
2811 # Define is_cross_compiler to save on calls to 'test'.
2813 if test x
"${host}" = x
"${target}" ; then
2814 is_cross_compiler
=no
2816 is_cross_compiler
=yes
2819 # Find the build and target subdir names.
2821 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2822 # have matching libraries, they should use host libraries: Makefile.tpl
2823 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2824 # However, they still use the build modules, because the corresponding
2825 # host modules (e.g. bison) are only built for the host when bootstrap
2827 # - build_subdir is where we find build modules, and never changes.
2828 # - build_libsubdir is where we find build libraries, and can be overridden.
2830 # Prefix 'build-' so this never conflicts with target_subdir.
2831 build_subdir
="build-${build_noncanonical}"
2833 # Check whether --with-build-libsubdir was given.
2834 if test "${with_build_libsubdir+set}" = set; then :
2835 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2837 build_libsubdir
="$build_subdir"
2840 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2841 if ( test $srcdir = .
&& test -d gcc
) \
2842 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2843 host_subdir
="host-${host_noncanonical}"
2848 target_subdir
=${target_noncanonical}
2850 # Be sure to cover against remnants of an in-tree build.
2851 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2852 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2853 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2856 # Skipdirs are removed silently.
2858 # Noconfigdirs are removed loudly.
2862 # Make sure we don't let GNU ld be added if we didn't want it.
2863 if test x
$with_gnu_ld = xno
; then
2865 noconfigdirs
="$noconfigdirs ld gold"
2869 # Make sure we don't let GNU as be added if we didn't want it.
2870 if test x
$with_gnu_as = xno
; then
2872 noconfigdirs
="$noconfigdirs gas"
2876 # Make sure we don't let ZLIB be added if we didn't want it.
2877 if test x
$with_system_zlib = xyes
; then
2878 use_included_zlib
=no
2879 noconfigdirs
="$noconfigdirs zlib"
2882 # some tools are so dependent upon X11 that if we're not building with X,
2883 # it's not even worth trying to configure, much less build, that tool.
2886 yes |
"") ;; # the default value for this tree is that X11 is available
2888 skipdirs
="${skipdirs} tk itcl libgui"
2889 # We won't be able to build gdbtk without X.
2892 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2895 # Some are only suitable for cross toolchains.
2896 # Remove these if host=target.
2897 cross_only
="target-libgloss target-newlib target-opcodes"
2899 case $is_cross_compiler in
2900 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2903 # If both --with-headers and --with-libs are specified, default to
2905 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2906 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2907 if test x
"${with_newlib}" = x
; then
2912 # Recognize --with-newlib/--without-newlib.
2913 case ${with_newlib} in
2914 no
) skipdirs
="${skipdirs} target-newlib" ;;
2915 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2918 # Handle --enable-gold, --enable-ld.
2919 # --disable-gold [--enable-ld]
2920 # Build only ld. Default option.
2921 # --enable-gold [--enable-ld]
2922 # Build both gold and ld. Install gold as "ld.gold", install ld
2923 # as "ld.bfd" and "ld".
2924 # --enable-gold=default [--enable-ld]
2925 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2926 # install ld as "ld.bfd".
2927 # --enable-gold[=default] --disable-ld
2928 # Build only gold, which is then installed as both "ld.gold" and "ld".
2929 # --enable-gold --enable-ld=default
2930 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2932 # In other words, ld is default
2933 # --enable-gold=default --enable-ld=default
2937 # Check whether --enable-gold was given.
2938 if test "${enable_gold+set}" = set; then :
2939 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2944 case "${ENABLE_GOLD}" in
2946 # Check for ELF target.
2949 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2950 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2951 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2952 |
*-*-solaris2* |
*-*-nto*)
2954 *-*-linux*aout
* |
*-*-linux*oldld
*)
2962 if test "$is_elf" = "yes"; then
2963 # Check for target supported by gold.
2965 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2966 configdirs
="$configdirs gold"
2967 if test x
${ENABLE_GOLD} = xdefault
; then
2978 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2982 # Check whether --enable-ld was given.
2983 if test "${enable_ld+set}" = set; then :
2984 enableval
=$enable_ld; ENABLE_LD
=$enableval
2990 case "${ENABLE_LD}" in
2992 if test x
${default_ld} != x
; then
2993 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2999 if test x
${ENABLE_GOLD} != xyes
; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3001 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3003 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3006 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3010 # Configure extra directories which are host specific
3014 configdirs
="$configdirs libtermcap" ;;
3017 # A target can indicate whether a language isn't supported for some reason.
3018 # Only spaces may be used in this macro; not newlines or tabs.
3019 unsupported_languages
=
3021 # Remove more programs from consideration, based on the host or
3022 # target this usually means that a port of the program doesn't
3026 i
[3456789]86-*-msdosdjgpp*)
3027 noconfigdirs
="$noconfigdirs tcl tk itcl"
3032 # Check whether --enable-libquadmath was given.
3033 if test "${enable_libquadmath+set}" = set; then :
3034 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3036 ENABLE_LIBQUADMATH
=yes
3039 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3040 noconfigdirs
="$noconfigdirs target-libquadmath"
3044 # Check whether --enable-libquadmath-support was given.
3045 if test "${enable_libquadmath_support+set}" = set; then :
3046 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3048 ENABLE_LIBQUADMATH_SUPPORT
=yes
3051 enable_libquadmath_support
=
3052 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3053 enable_libquadmath_support
=no
3057 # Check whether --enable-libada was given.
3058 if test "${enable_libada+set}" = set; then :
3059 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3064 if test "${ENABLE_LIBADA}" != "yes" ; then
3065 noconfigdirs
="$noconfigdirs gnattools"
3068 # Check whether --enable-libssp was given.
3069 if test "${enable_libssp+set}" = set; then :
3070 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3076 # Save it here so that, even in case of --enable-libgcj, if the Java
3077 # front-end isn't enabled, we still get libgcj disabled.
3078 libgcj_saved
=$libgcj
3079 case $enable_libgcj in
3081 # If we reset it here, it won't get added to noconfigdirs in the
3082 # target-specific build rules, so it will be forcibly enabled
3083 # (unless the Java language itself isn't enabled).
3087 # Make sure we get it printed in the list of not supported target libs.
3088 # Don't disable libffi, though, other languages use it.
3089 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3090 # Clear libgcj_saved so that even if java is enabled libffi won't be
3096 # Check whether --enable-static-libjava was given.
3097 if test "${enable_static_libjava+set}" = set; then :
3098 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3100 ENABLE_STATIC_LIBJAVA
=no
3103 enable_static_libjava
=
3104 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3105 enable_static_libjava
=yes
3108 if test x
$enable_static_libjava != xyes
; then
3109 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3113 # Disable libmudflap on some systems.
3114 if test x
$enable_libmudflap = x
; then
3116 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3117 # Enable libmudflap by default in GNU and friends.
3120 # Enable libmudflap by default in FreeBSD.
3123 # Disable it by default everywhere else.
3124 noconfigdirs
="$noconfigdirs target-libmudflap"
3129 # Disable libgomp on non POSIX hosted systems.
3130 if test x
$enable_libgomp = x
; then
3131 # Enable libgomp by default on hosted POSIX systems.
3133 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3135 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3137 *-*-solaris2* |
*-*-hpux11*)
3139 *-*-darwin* |
*-*-aix*)
3142 noconfigdirs
="$noconfigdirs target-libgomp"
3147 # Disable libatomic on unsupported systems.
3148 if test -d ${srcdir}/libatomic
; then
3149 if test x
$enable_libatomic = x
; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3151 $as_echo_n "checking for libatomic support... " >&6; }
3152 if (srcdir
=${srcdir}/libatomic
; \
3153 .
${srcdir}/configure.tgt
; \
3154 test -n "$UNSUPPORTED")
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3158 noconfigdirs
="$noconfigdirs target-libatomic"
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3161 $as_echo "yes" >&6; }
3166 # Disable libitm on unsupported systems.
3167 if test -d ${srcdir}/libitm
; then
3168 if test x
$enable_libitm = x
; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3170 $as_echo_n "checking for libitm support... " >&6; }
3171 if (srcdir
=${srcdir}/libitm
; \
3172 .
${srcdir}/configure.tgt
; \
3173 test -n "$UNSUPPORTED")
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3177 noconfigdirs
="$noconfigdirs target-libitm"
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3180 $as_echo "yes" >&6; }
3185 # Disable libquadmath for some systems.
3187 # libquadmath is unused on AIX and libquadmath build process use of
3188 # LD_LIBRARY_PATH can break AIX bootstrap.
3189 powerpc-
*-aix* | rs6000-
*-aix*)
3190 noconfigdirs
="$noconfigdirs target-libquadmath"
3194 # Disable libssp for some systems.
3197 # No hosted I/O support.
3198 noconfigdirs
="$noconfigdirs target-libssp"
3200 powerpc-
*-aix* | rs6000-
*-aix*)
3201 noconfigdirs
="$noconfigdirs target-libssp"
3204 # libssp uses a misaligned load to trigger a fault, but the RL78
3205 # doesn't fault for those - instead, it gives a build-time error
3206 # for explicit misaligned loads.
3207 noconfigdirs
="$noconfigdirs target-libssp"
3211 # Disable libquadmath for some systems.
3214 noconfigdirs
="$noconfigdirs target-libquadmath"
3218 # Disable libstdc++-v3 for some systems.
3221 # VxWorks uses the Dinkumware C++ library.
3222 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3225 # the C++ libraries don't build on top of CE's C libraries
3226 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3229 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3233 # Disable Fortran for some systems.
3236 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3237 unsupported_languages
="$unsupported_languages fortran"
3241 # Disable Java if libffi is not supported.
3271 powerpc-
*-aix* | rs6000-
*-aix*)
3275 powerpc64-
*-freebsd*)
3279 s390-
*-* | s390x-
*-*)
3281 sh-
*-* | sh
[34]*-*-*)
3283 sh64-
*-* | sh5
*-*-*)
3290 unsupported_languages
="$unsupported_languages java"
3294 # Disable Java, libgcj or related libraries for some systems.
3298 i
[3456789]86-*-darwin*)
3300 x86_64-
*-darwin[912]*)
3303 noconfigdirs
="$noconfigdirs ${libgcj}"
3306 noconfigdirs
="$noconfigdirs ${libgcj}"
3309 noconfigdirs
="$noconfigdirs ${libgcj}"
3312 noconfigdirs
="$noconfigdirs ${libgcj}"
3315 noconfigdirs
="$noconfigdirs ${libgcj}"
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3321 noconfigdirs
="$noconfigdirs ${libgcj}"
3324 noconfigdirs
="$noconfigdirs ${libgcj}"
3327 noconfigdirs
="$noconfigdirs ${libgcj}"
3330 noconfigdirs
="$noconfigdirs target-boehm-gc"
3332 cris-
*-* | crisv32-
*-*)
3333 unsupported_languages
="$unsupported_languages java"
3337 *) # See PR46792 regarding target-libffi.
3338 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3342 # In this case, it's because the hppa64-linux target is for
3343 # the kernel only at this point and has no libc, and thus no
3344 # headers, crt*.o, etc., all of which are needed by these.
3345 unsupported_languages
="$unsupported_languages java"
3348 noconfigdirs
="$noconfigdirs ${libgcj}"
3353 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3354 # build on HP-UX 10.20.
3355 noconfigdirs
="$noconfigdirs ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3360 i
[3456789]86-w64-mingw*)
3361 noconfigdirs
="$noconfigdirs ${libgcj}"
3363 i
[3456789]86-*-mingw*)
3364 noconfigdirs
="$noconfigdirs ${libgcj}"
3367 noconfigdirs
="$noconfigdirs ${libgcj}"
3370 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3373 # copied from rs6000-*-* entry
3374 noconfigdirs
="$noconfigdirs ${libgcj}"
3377 noconfigdirs
="$noconfigdirs ${libgcj}"
3380 noconfigdirs
="$noconfigdirs ${libgcj}"
3384 # Default libgloss CPU subdirectory.
3385 libgloss_dir
="$target_cpu"
3388 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3394 cris-
*-* | crisv32-
*-*)
3403 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3404 libgloss_dir
=m68hc11
3406 m68
*-*-* | fido-
*-*)
3420 # Disable newlib and libgloss for various target OSes.
3423 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3425 i
[3456789]86-*-linux*)
3426 # This section makes it possible to build newlib natively on linux.
3427 # If we are using a cross compiler then don't configure newlib.
3428 if test x
${is_cross_compiler} != xno
; then
3429 noconfigdirs
="$noconfigdirs target-newlib"
3431 noconfigdirs
="$noconfigdirs target-libgloss"
3432 # If we are not using a cross compiler, do configure newlib.
3433 # Note however, that newlib will only be configured in this situation
3434 # if the --with-newlib option has been given, because otherwise
3435 # 'target-newlib' will appear in skipdirs.
3437 i
[3456789]86-*-rdos*)
3438 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3440 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3441 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3444 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3447 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3450 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3453 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3456 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3459 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3461 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3462 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3465 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3468 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3471 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3474 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3477 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3480 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3483 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3491 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3492 noconfigdirs
="$noconfigdirs sim target-rda"
3494 i
[3456789]86-*-darwin*)
3495 noconfigdirs
="$noconfigdirs ld gprof"
3496 noconfigdirs
="$noconfigdirs sim target-rda"
3498 x86_64-
*-darwin[912]*)
3499 noconfigdirs
="$noconfigdirs ld gas gprof"
3500 noconfigdirs
="$noconfigdirs sim target-rda"
3503 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3504 noconfigdirs
="$noconfigdirs sim target-rda"
3509 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3510 && test -f /usr
/local
/include
/gmp.h
; then
3515 # Remove unsupported stuff on all kaOS configurations.
3516 noconfigdirs
="$noconfigdirs target-libgloss"
3523 noconfigdirs
="$noconfigdirs target-libgloss"
3525 # The tpf target doesn't support gdb yet.
3527 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3530 noconfigdirs
="$noconfigdirs target-rda"
3535 # ld works, but does not support shared libraries.
3536 # gas doesn't generate exception information.
3537 noconfigdirs
="$noconfigdirs gas ld"
3540 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3543 # newlib is not 64 bit ready
3544 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3546 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3547 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3550 noconfigdirs
="$noconfigdirs target-libgloss"
3553 noconfigdirs
="$noconfigdirs target-libgloss"
3556 noconfigdirs
="$noconfigdirs ld target-libgloss"
3561 if test x
${with_avrlibc} != xno
; then
3562 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 c4x-
*-* | tic4x-
*-*)
3566 noconfigdirs
="$noconfigdirs target-libgloss"
3569 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3572 noconfigdirs
="$noconfigdirs target-libgloss"
3575 noconfigdirs
="$noconfigdirs gdb"
3578 noconfigdirs
="$noconfigdirs gdb"
3581 noconfigdirs
="$noconfigdirs gprof"
3584 noconfigdirs
="$noconfigdirs target-libgloss"
3587 noconfigdirs
="$noconfigdirs target-libgloss"
3589 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3597 hppa
*-*-openbsd* | \
3601 noconfigdirs
="$noconfigdirs ld"
3606 noconfigdirs
="$noconfigdirs ld"
3609 noconfigdirs
="$noconfigdirs gdb"
3612 # No gdb support yet.
3613 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3616 # No ld support yet.
3617 noconfigdirs
="$noconfigdirs libgui itcl ld"
3620 # No ld support yet.
3621 noconfigdirs
="$noconfigdirs libgui itcl ld"
3623 i
[3456789]86-w64-mingw*)
3625 i
[3456789]86-*-mingw*)
3626 target_configdirs
="$target_configdirs target-winsup"
3629 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3630 noconfigdirs
="$noconfigdirs target-libgloss"
3631 # always build newlib if winsup directory is present.
3632 if test -d "$srcdir/winsup/cygwin"; then
3633 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3634 elif test -d "$srcdir/newlib"; then
3635 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3639 noconfigdirs
="$noconfigdirs target-libgloss"
3641 i
[3456789]86-*-sco3.2v5
*)
3642 # The linker does not yet know about weak symbols in COFF,
3643 # and is not configured to handle mixed ELF and COFF.
3644 noconfigdirs
="$noconfigdirs ld target-libgloss"
3646 i
[3456789]86-*-sco*)
3647 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3649 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3650 noconfigdirs
="$noconfigdirs target-libgloss"
3652 i
[3456789]86-*-sysv4*)
3653 noconfigdirs
="$noconfigdirs target-libgloss"
3655 i
[3456789]86-*-beos*)
3656 noconfigdirs
="$noconfigdirs gdb"
3658 i
[3456789]86-*-rdos*)
3659 noconfigdirs
="$noconfigdirs gdb"
3662 noconfigdirs
="$noconfigdirs gdb"
3665 noconfigdirs
="$noconfigdirs sim"
3668 # copied from rs6000-*-* entry
3669 noconfigdirs
="$noconfigdirs gprof"
3671 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3672 target_configdirs
="$target_configdirs target-winsup"
3673 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3674 # always build newlib.
3675 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3677 # This is temporary until we can link against shared libraries
3678 powerpcle-
*-solaris*)
3679 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3682 noconfigdirs
="$noconfigdirs gdb"
3685 noconfigdirs
="$noconfigdirs gprof"
3688 noconfigdirs
="$noconfigdirs gprof"
3691 noconfigdirs
="$noconfigdirs gprof"
3694 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3697 noconfigdirs
="$noconfigdirs gprof"
3699 mips
*-sde-elf* | mips
*-mti-elf*)
3700 if test x
$with_newlib = xyes
; then
3701 noconfigdirs
="$noconfigdirs gprof"
3705 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3708 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3711 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3716 noconfigdirs
="$noconfigdirs gprof"
3723 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3727 if test x
${is_cross_compiler} = xno
; then
3732 noconfigdirs
="$noconfigdirs sim"
3734 tilepro-
*-* | tilegx-
*-*)
3735 noconfigdirs
="$noconfigdirs sim"
3738 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3741 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3745 # If we aren't building newlib, then don't build libgloss, since libgloss
3746 # depends upon some newlib header files.
3747 case "${noconfigdirs}" in
3748 *target-libgloss
*) ;;
3749 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3752 # Work in distributions that contain no compiler tools, like Autoconf.
3753 host_makefile_frag
=/dev
/null
3754 if test -d ${srcdir}/config
; then
3756 i
[3456789]86-*-msdosdjgpp*)
3757 host_makefile_frag
="config/mh-djgpp"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3762 $as_echo_n "checking to see if cat works as expected... " >&6; }
3763 echo a
>cygwin-cat-check
3764 if test `cat cygwin-cat-check` = a
; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3767 $as_echo "yes" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 as_fn_error
"The cat command does not ignore carriage return characters.
3773 Please either mount the build directory in binary mode or run the following
3774 commands before running any configure script:
3780 host_makefile_frag
="config/mh-cygwin"
3783 host_makefile_frag
="config/mh-mingw"
3786 host_makefile_frag
="config/mh-pa-hpux10"
3789 host_makefile_frag
="config/mh-pa"
3792 host_makefile_frag
="config/mh-pa"
3795 host_makefile_frag
="config/mh-darwin"
3798 host_makefile_frag
="config/mh-ppc-aix"
3801 host_makefile_frag
="config/mh-ppc-aix"
3806 if test "${build}" != "${host}" ; then
3807 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3808 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3809 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3810 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3811 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3812 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3813 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3814 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3815 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3816 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3817 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3818 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3819 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3821 AR_FOR_BUILD
="\$(AR)"
3822 AS_FOR_BUILD
="\$(AS)"
3823 CC_FOR_BUILD
="\$(CC)"
3824 CXX_FOR_BUILD
="\$(CXX)"
3825 GCJ_FOR_BUILD
="\$(GCJ)"
3826 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3827 GOC_FOR_BUILD
="\$(GOC)"
3828 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3829 LD_FOR_BUILD
="\$(LD)"
3830 NM_FOR_BUILD
="\$(NM)"
3831 RANLIB_FOR_BUILD
="\$(RANLIB)"
3832 WINDRES_FOR_BUILD
="\$(WINDRES)"
3833 WINDMC_FOR_BUILD
="\$(WINDMC)"
3837 ac_cpp
='$CPP $CPPFLAGS'
3838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3841 if test -n "$ac_tool_prefix"; then
3842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3843 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if test "${ac_cv_prog_CC+set}" = set; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$CC"; then
3850 ac_cv_prog_CC
="$CC" # Let the user override the test.
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir
=.
3857 for ac_exec_ext
in '' $ac_executable_extensions; do
3858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3859 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 if test -n "$CC"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3872 $as_echo "$CC" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3880 if test -z "$ac_cv_prog_CC"; then
3882 # Extract the first word of "gcc", so it can be a program name with args.
3883 set dummy gcc
; ac_word
=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$ac_ct_CC"; then
3890 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_ac_ct_CC
="gcc"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3910 if test -n "$ac_ct_CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3912 $as_echo "$ac_ct_CC" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3918 if test "x$ac_ct_CC" = x
; then
3921 case $cross_compiling:$ac_tool_warned in
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3925 ac_tool_warned
=yes ;;
3933 if test -z "$CC"; then
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3936 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if test "${ac_cv_prog_CC+set}" = set; then :
3940 $as_echo_n "(cached) " >&6
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC
="$CC" # Let the user override the test.
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir
=.
3950 for ac_exec_ext
in '' $ac_executable_extensions; do
3951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3974 if test -z "$CC"; then
3975 # Extract the first word of "cc", so it can be a program name with args.
3976 set dummy cc
; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_CC+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$CC"; then
3983 ac_cv_prog_CC
="$CC" # Let the user override the test.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3994 ac_prog_rejected
=yes
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 if test $ac_prog_rejected = yes; then
4006 # We found a bogon in the path, so make sure we never use it.
4007 set dummy
$ac_cv_prog_CC
4009 if test $# != 0; then
4010 # We chose a different compiler from the bogus one.
4011 # However, it has the same basename, so the bogon will be chosen
4012 # first if we set CC to just the basename; use the full file name.
4014 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4030 if test -z "$CC"; then
4031 if test -n "$ac_tool_prefix"; then
4032 for ac_prog
in cl.exe
4034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4035 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if test "${ac_cv_prog_CC+set}" = set; then :
4039 $as_echo_n "(cached) " >&6
4041 if test -n "$CC"; then
4042 ac_cv_prog_CC
="$CC" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4071 test -n "$CC" && break
4074 if test -z "$CC"; then
4076 for ac_prog
in cl.exe
4078 # Extract the first word of "$ac_prog", so it can be a program name with args.
4079 set dummy
$ac_prog; ac_word
=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -n "$ac_ct_CC"; then
4086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir
=.
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4095 ac_cv_prog_ac_ct_CC
="$ac_prog"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4106 if test -n "$ac_ct_CC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4108 $as_echo "$ac_ct_CC" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4115 test -n "$ac_ct_CC" && break
4118 if test "x$ac_ct_CC" = x
; then
4121 case $cross_compiling:$ac_tool_warned in
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4125 ac_tool_warned
=yes ;;
4134 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error
"no acceptable C compiler found in \$PATH
4137 See \`config.log' for more details." "$LINENO" 5; }
4139 # Provide some information about the compiler.
4140 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4143 for ac_option
in --version -v -V -qversion; do
4144 { { ac_try
="$ac_compiler $ac_option >&5"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150 $as_echo "$ac_try_echo"; } >&5
4151 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4153 if test -s conftest.err; then
4155 ... rest of stderr output deleted ...
4156 10q' conftest.err >conftest.er1
4157 cat conftest.er1 >&5
4158 rm -f conftest.er1 conftest.err
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 ac_clean_files_save=$ac_clean_files
4176 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4177 # Try to create an executable without -o first, disregard a.out.
4178 # It will help us diagnose broken compilers, and finding out an intuition
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4181 $as_echo_n "checking for C compiler default output file name... " >&6; }
4182 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4184 # The possible output files:
4185 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4188 for ac_file in $ac_files
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4192 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4197 if { { ac_try="$ac_link_default"
4199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4200 *) ac_try_echo
=$ac_try;;
4202 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4203 $as_echo "$ac_try_echo"; } >&5
4204 (eval "$ac_link_default") 2>&5
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }; then :
4208 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4209 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4210 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4211 # so that the user can short-circuit this test for compilers unknown to
4213 for ac_file
in $ac_files ''
4215 test -f "$ac_file" ||
continue
4217 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4220 # We found the default executable, but exeext='' is most
4224 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4226 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4228 # We set ac_cv_exeext here because the later test for it is not
4229 # safe: cross compilers may not add the suffix if given an `-o'
4230 # argument, so we may need to know it at that point already.
4231 # Even if this section looks crufty: it has the advantage of
4238 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4244 $as_echo "$ac_file" >&6; }
4245 if test -z "$ac_file"; then :
4246 $as_echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4251 { as_fn_set_status
77
4252 as_fn_error
"C compiler cannot create executables
4253 See \`config.log' for more details." "$LINENO" 5; }; }
4255 ac_exeext
=$ac_cv_exeext
4257 # Check that the compiler produces executables we can run. If not, either
4258 # the compiler is broken, or we cross compile.
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4260 $as_echo_n "checking whether the C compiler works... " >&6; }
4261 # If not cross compiling, check that we can run a simple program.
4262 if test "$cross_compiling" != yes; then
4263 if { ac_try
='./$ac_file'
4264 { { case "(($ac_try" in
4265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_try") 2>&5
4272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4273 test $ac_status = 0; }; }; then
4276 if test "$cross_compiling" = maybe; then
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error "cannot run C compiled programs.
4282 If you meant to cross compile
, use \
`--host'.
4283 See \`config.log
' for more details." "$LINENO" 5; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4288 $as_echo "yes" >&6; }
4290 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4291 ac_clean_files=$ac_clean_files_save
4292 # Check that the compiler produces executables we can run. If not, either
4293 # the compiler is broken, or we cross compile.
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4295 $as_echo_n "checking whether we are cross compiling... " >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4297 $as_echo "$cross_compiling" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4300 $as_echo_n "checking for suffix of executables... " >&6; }
4301 if { { ac_try="$ac_link"
4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4307 $as_echo "$ac_try_echo"; } >&5
4308 (eval "$ac_link") 2>&5
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }; then :
4312 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4313 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4314 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4316 for ac_file
in conftest.exe conftest conftest.
*; do
4317 test -f "$ac_file" ||
continue
4319 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4320 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4328 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4329 See \`config.log' for more details." "$LINENO" 5; }
4331 rm -f conftest
$ac_cv_exeext
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4333 $as_echo "$ac_cv_exeext" >&6; }
4335 rm -f conftest.
$ac_ext
4336 EXEEXT
=$ac_cv_exeext
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4339 $as_echo_n "checking for suffix of object files... " >&6; }
4340 if test "${ac_cv_objext+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4354 rm -f conftest.o conftest.obj
4355 if { { ac_try
="$ac_compile"
4357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4361 $as_echo "$ac_try_echo"; } >&5
4362 (eval "$ac_compile") 2>&5
4364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4365 test $ac_status = 0; }; then :
4366 for ac_file in conftest.o conftest.obj conftest.*; do
4367 test -f "$ac_file" || continue;
4369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4375 $as_echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4380 as_fn_error "cannot compute suffix of object files
: cannot compile
4381 See \
`config.log' for more details." "$LINENO" 5; }
4383 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4386 $as_echo "$ac_cv_objext" >&6; }
4387 OBJEXT=$ac_cv_objext
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4390 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4391 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4408 if ac_fn_c_try_compile "$LINENO"; then :
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4418 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4419 if test $ac_compiler_gnu = yes; then
4424 ac_test_CFLAGS=${CFLAGS+set}
4425 ac_save_CFLAGS=$CFLAGS
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4427 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4428 if test "${ac_cv_prog_cc_g+set}" = set; then :
4429 $as_echo_n "(cached) " >&6
4431 ac_save_c_werror_flag=$ac_c_werror_flag
4432 ac_c_werror_flag=yes
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4446 if ac_fn_c_try_compile "$LINENO"; then :
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4461 if ac_fn_c_try_compile "$LINENO"; then :
4464 ac_c_werror_flag=$ac_save_c_werror_flag
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4477 if ac_fn_c_try_compile "$LINENO"; then :
4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4485 ac_c_werror_flag=$ac_save_c_werror_flag
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4488 $as_echo "$ac_cv_prog_cc_g" >&6; }
4489 if test "$ac_test_CFLAGS" = set; then
4490 CFLAGS=$ac_save_CFLAGS
4491 elif test $ac_cv_prog_cc_g = yes; then
4492 if test "$GCC" = yes; then
4498 if test "$GCC" = yes; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4505 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4506 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 ac_cv_prog_cc_c89=no
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 #include <sys/types.h>
4516 #include <sys/stat.h>
4517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4518 struct buf { int x; };
4519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4520 static char *e (p, i)
4526 static char *f (char * (*g) (char **, int), char **p, ...)
4531 s = g (p, va_arg (v,int));
4536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4537 function prototypes and stuff, but not '\xHH' hex character constants.
4538 These don't provoke an error unfortunately, instead are silently treated
4539 as 'x'. The following induces an error, until -std is added to get
4540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4541 array size at least. It's necessary to write '\x00'==0 to get something
4542 that's true only with -std. */
4543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4546 inside strings and character constants. */
4548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4550 int test (int i, double x);
4551 struct s1 {int (*f) (int a);};
4552 struct s2 {int (*f) (double a);};
4553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4567 CC="$ac_save_CC $ac_arg"
4568 if ac_fn_c_try_compile "$LINENO"; then :
4569 ac_cv_prog_cc_c89=$ac_arg
4571 rm -f core conftest.err conftest.$ac_objext
4572 test "x$ac_cv_prog_cc_c89" != "xno" && break
4574 rm -f conftest.$ac_ext
4579 case "x$ac_cv_prog_cc_c89" in
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4582 $as_echo "none needed" >&6; } ;;
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4585 $as_echo "unsupported" >&6; } ;;
4587 CC="$CC $ac_cv_prog_cc_c89"
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4589 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4591 if test "x$ac_cv_prog_cc_c89" != xno; then :
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 ac_cpp='$CXXCPP $CPPFLAGS'
4603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4606 if test -z "$CXX"; then
4607 if test -n "$CCC"; then
4610 if test -n "$ac_tool_prefix"; then
4611 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if test "${ac_cv_prog_CXX+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$CXX"; then
4621 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 if test -n "$CXX"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4643 $as_echo "$CXX" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$CXX" && break
4653 if test -z "$CXX"; then
4655 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4657 # Extract the first word of "$ac_prog", so it can be a program name with args.
4658 set dummy $ac_prog; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$ac_ct_CXX"; then
4665 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_ac_ct_CXX="$ac_prog"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4685 if test -n "$ac_ct_CXX"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4687 $as_echo "$ac_ct_CXX" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4694 test -n "$ac_ct_CXX" && break
4697 if test "x$ac_ct_CXX" = x; then
4700 case $cross_compiling:$ac_tool_warned in
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4704 ac_tool_warned=yes ;;
4712 # Provide some information about the compiler.
4713 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4716 for ac_option in --version -v -V -qversion; do
4717 { { ac_try="$ac_compiler $ac_option >&5"
4719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4720 *) ac_try_echo
=$ac_try;;
4722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4723 $as_echo "$ac_try_echo"; } >&5
4724 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4726 if test -s conftest.err
; then
4728 ... rest of stderr output deleted ...
4729 10q' conftest.err
>conftest.er1
4730 cat conftest.er1
>&5
4731 rm -f conftest.er1 conftest.err
4733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4734 test $ac_status = 0; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4738 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4739 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
4742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4756 if ac_fn_cxx_try_compile
"$LINENO"; then :
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4762 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4766 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4767 if test $ac_compiler_gnu = yes; then
4772 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4773 ac_save_CXXFLAGS
=$CXXFLAGS
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4775 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4776 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4777 $as_echo_n "(cached) " >&6
4779 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4780 ac_cxx_werror_flag
=yes
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 if ac_fn_cxx_try_compile
"$LINENO"; then :
4795 ac_cv_prog_cxx_g
=yes
4798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_cxx_try_compile
"$LINENO"; then :
4812 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4825 if ac_fn_cxx_try_compile
"$LINENO"; then :
4826 ac_cv_prog_cxx_g
=yes
4828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4833 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4836 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4837 if test "$ac_test_CXXFLAGS" = set; then
4838 CXXFLAGS
=$ac_save_CXXFLAGS
4839 elif test $ac_cv_prog_cxx_g = yes; then
4840 if test "$GXX" = yes; then
4846 if test "$GXX" = yes; then
4853 ac_cpp
='$CPP $CPPFLAGS'
4854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4859 # We must set the default linker to the linker used by gcc for the correct
4860 # operation of libtool. If LD is not defined and we are using gcc, try to
4861 # set the LD default to the ld used by gcc.
4862 if test -z "$LD"; then
4863 if test "$GCC" = yes; then
4866 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4868 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4870 case $gcc_prog_ld in
4871 # Accept absolute paths.
4872 [\\/]* |
[A-Za-z
]:[\\/]*)
4873 LD
="$gcc_prog_ld" ;;
4878 # Check whether -static-libstdc++ -static-libgcc is supported.
4880 if test "$GCC" = yes; then
4881 saved_LDFLAGS
="$LDFLAGS"
4883 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4885 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4887 ac_cpp
='$CXXCPP $CPPFLAGS'
4888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 if ac_fn_cxx_try_link
"$LINENO"; then :
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4899 $as_echo "yes" >&6; }; have_static_libs
=yes
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4904 rm -f core conftest.err conftest.
$ac_objext \
4905 conftest
$ac_exeext conftest.
$ac_ext
4907 ac_cpp
='$CPP $CPPFLAGS'
4908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4913 LDFLAGS
="$saved_LDFLAGS"
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4921 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$GNATBIND"; then
4928 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 GNATBIND
=$ac_cv_prog_GNATBIND
4948 if test -n "$GNATBIND"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4950 $as_echo "$GNATBIND" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_GNATBIND"; then
4959 ac_ct_GNATBIND
=$GNATBIND
4960 # Extract the first word of "gnatbind", so it can be a program name with args.
4961 set dummy gnatbind
; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$ac_ct_GNATBIND"; then
4968 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4988 if test -n "$ac_ct_GNATBIND"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4990 $as_echo "$ac_ct_GNATBIND" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_GNATBIND" = x
; then
4999 case $cross_compiling:$ac_tool_warned in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned
=yes ;;
5005 GNATBIND
=$ac_ct_GNATBIND
5008 GNATBIND
="$ac_cv_prog_GNATBIND"
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5013 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$GNATMAKE"; then
5020 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir
=.
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 GNATMAKE
=$ac_cv_prog_GNATMAKE
5040 if test -n "$GNATMAKE"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5042 $as_echo "$GNATMAKE" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5050 if test -z "$ac_cv_prog_GNATMAKE"; then
5051 ac_ct_GNATMAKE
=$GNATMAKE
5052 # Extract the first word of "gnatmake", so it can be a program name with args.
5053 set dummy gnatmake
; ac_word
=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$ac_ct_GNATMAKE"; then
5060 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_exec_ext
in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5080 if test -n "$ac_ct_GNATMAKE"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5082 $as_echo "$ac_ct_GNATMAKE" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5088 if test "x$ac_ct_GNATMAKE" = x
; then
5091 case $cross_compiling:$ac_tool_warned in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned
=yes ;;
5097 GNATMAKE
=$ac_ct_GNATMAKE
5100 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5104 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5105 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5108 cat >conftest.adb
<<EOF
5109 procedure conftest is begin null; end conftest;
5111 acx_cv_cc_gcc_supports_ada
=no
5112 # There is a bug in old released versions of GCC which causes the
5113 # driver to exit successfully when the appropriate language module
5114 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5115 # Therefore we must check for the error message as well as an
5116 # unsuccessful exit.
5117 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5118 # given a .adb file, but produce no object file. So we must check
5119 # if an object file was really produced to guard against this.
5120 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5121 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5122 acx_cv_cc_gcc_supports_ada
=yes
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5127 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5129 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5136 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5137 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5138 $as_echo_n "(cached) " >&6
5142 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5143 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5144 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5147 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5150 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5151 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5154 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5161 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5162 do_compare
="$gcc_cv_prog_cmp_skip"
5166 # Check whether --enable-bootstrap was given.
5167 if test "${enable_bootstrap+set}" = set; then :
5168 enableval
=$enable_bootstrap;
5170 enable_bootstrap
=default
5174 # Issue errors and warnings for invalid/strange bootstrap combinations.
5175 if test -r $srcdir/gcc
/configure
; then
5181 case "$have_compiler:$host:$target:$enable_bootstrap" in
5184 # Default behavior. Enable bootstrap if we have a compiler
5185 # and we are in a native configuration.
5186 yes:$build:$build:default
)
5187 enable_bootstrap
=yes ;;
5190 enable_bootstrap
=no
;;
5192 # We have a compiler and we are in a native configuration, bootstrap is ok
5193 yes:$build:$build:yes)
5196 # Other configurations, but we have a compiler. Assume the user knows
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5200 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5203 # No compiler: if they passed --enable-bootstrap explicitly, fail
5205 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5207 # Fail if wrong command line
5209 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5213 # Used for setting $lt_cv_objdir
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5215 $as_echo_n "checking for objdir... " >&6; }
5216 if test "${lt_cv_objdir+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5219 rm -f .libs
2>/dev
/null
5220 mkdir .libs
2>/dev
/null
5221 if test -d .libs
; then
5224 # MS-DOS does not allow filenames that begin with a dot.
5227 rmdir .libs
2>/dev
/null
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5230 $as_echo "$lt_cv_objdir" >&6; }
5231 objdir
=$lt_cv_objdir
5237 cat >>confdefs.h
<<_ACEOF
5238 #define LT_OBJDIR "$lt_cv_objdir/"
5243 # Check for GMP, MPFR and MPC
5244 gmplibs
="-lmpc -lmpfr -lgmp"
5248 # Specify a location for mpc
5249 # check for this first so it ends up on the link line before mpfr.
5251 # Check whether --with-mpc was given.
5252 if test "${with_mpc+set}" = set; then :
5257 # Check whether --with-mpc-include was given.
5258 if test "${with_mpc_include+set}" = set; then :
5259 withval
=$with_mpc_include;
5263 # Check whether --with-mpc-lib was given.
5264 if test "${with_mpc_lib+set}" = set; then :
5265 withval
=$with_mpc_lib;
5269 if test "x$with_mpc" != x
; then
5270 gmplibs
="-L$with_mpc/lib $gmplibs"
5271 gmpinc
="-I$with_mpc/include $gmpinc"
5273 if test "x$with_mpc_include" != x
; then
5274 gmpinc
="-I$with_mpc_include $gmpinc"
5276 if test "x$with_mpc_lib" != x
; then
5277 gmplibs
="-L$with_mpc_lib $gmplibs"
5279 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5280 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5281 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5282 # Do not test the mpc version. Assume that it is sufficient, since
5283 # it is in the source tree, and the library has not been built yet
5284 # but it would be included on the link line in the version check below
5285 # hence making the test fail.
5289 # Specify a location for mpfr
5290 # check for this first so it ends up on the link line before gmp.
5292 # Check whether --with-mpfr-dir was given.
5293 if test "${with_mpfr_dir+set}" = set; then :
5294 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5295 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5300 # Check whether --with-mpfr was given.
5301 if test "${with_mpfr+set}" = set; then :
5306 # Check whether --with-mpfr-include was given.
5307 if test "${with_mpfr_include+set}" = set; then :
5308 withval
=$with_mpfr_include;
5312 # Check whether --with-mpfr-lib was given.
5313 if test "${with_mpfr_lib+set}" = set; then :
5314 withval
=$with_mpfr_lib;
5318 if test "x$with_mpfr" != x
; then
5319 gmplibs
="-L$with_mpfr/lib $gmplibs"
5320 gmpinc
="-I$with_mpfr/include $gmpinc"
5322 if test "x$with_mpfr_include" != x
; then
5323 gmpinc
="-I$with_mpfr_include $gmpinc"
5325 if test "x$with_mpfr_lib" != x
; then
5326 gmplibs
="-L$with_mpfr_lib $gmplibs"
5328 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5329 # MPFR v3.1.0 moved the sources into a src sub-directory.
5330 if test -d ${srcdir}/mpfr
/src
; then
5331 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5332 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5333 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5335 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5336 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5337 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5339 # Do not test the mpfr version. Assume that it is sufficient, since
5340 # it is in the source tree, and the library has not been built yet
5341 # but it would be included on the link line in the version check below
5342 # hence making the test fail.
5346 # Specify a location for gmp
5348 # Check whether --with-gmp-dir was given.
5349 if test "${with_gmp_dir+set}" = set; then :
5350 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5351 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5356 # Check whether --with-gmp was given.
5357 if test "${with_gmp+set}" = set; then :
5362 # Check whether --with-gmp-include was given.
5363 if test "${with_gmp_include+set}" = set; then :
5364 withval
=$with_gmp_include;
5368 # Check whether --with-gmp-lib was given.
5369 if test "${with_gmp_lib+set}" = set; then :
5370 withval
=$with_gmp_lib;
5375 if test "x$with_gmp" != x
; then
5376 gmplibs
="-L$with_gmp/lib $gmplibs"
5377 gmpinc
="-I$with_gmp/include $gmpinc"
5379 if test "x$with_gmp_include" != x
; then
5380 gmpinc
="-I$with_gmp_include $gmpinc"
5382 if test "x$with_gmp_lib" != x
; then
5383 gmplibs
="-L$with_gmp_lib $gmplibs"
5385 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5386 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5387 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5388 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5389 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5390 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5391 # Do not test the gmp version. Assume that it is sufficient, since
5392 # it is in the source tree, and the library has not been built yet
5393 # but it would be included on the link line in the version check below
5394 # hence making the test fail.
5398 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5400 saved_CFLAGS
="$CFLAGS"
5401 CFLAGS
="$CFLAGS $gmpinc"
5402 # Check for the recommended and required versions of GMP.
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5404 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5413 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5414 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5415 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5423 if ac_fn_c_try_compile
"$LINENO"; then :
5424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5431 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5432 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5433 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5441 if ac_fn_c_try_compile
"$LINENO"; then :
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5443 $as_echo "yes" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5446 $as_echo "buggy but acceptable" >&6; }
5448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }; have_gmp
=no
5453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5455 # If we have GMP, check the MPFR version.
5456 if test x
"$have_gmp" = xyes
; then
5457 # Check for the recommended and required versions of MPFR.
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5459 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5468 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5476 if ac_fn_c_try_compile
"$LINENO"; then :
5477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5485 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5493 if ac_fn_c_try_compile
"$LINENO"; then :
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 $as_echo "yes" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5498 $as_echo "buggy but acceptable" >&6; }
5500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }; have_gmp
=no
5505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5508 # Check for the MPC header version.
5509 if test x
"$have_gmp" = xyes
; then
5510 # Check for the recommended and required versions of MPC.
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5512 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5520 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5528 if ac_fn_c_try_compile
"$LINENO"; then :
5529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5536 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5544 if ac_fn_c_try_compile
"$LINENO"; then :
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5546 $as_echo "yes" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5549 $as_echo "buggy but acceptable" >&6; }
5551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }; have_gmp
=no
5556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5559 # Now check the MPFR library.
5560 if test x
"$have_gmp" = xyes
; then
5562 LIBS
="$LIBS $gmplibs"
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5564 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5578 mpfr_atan2 (n, n, x, GMP_RNDN);
5579 mpfr_erfc (n, x, GMP_RNDN);
5580 mpfr_subnormalize (x, t, GMP_RNDN);
5584 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5585 mpc_cosh (c, c, MPC_RNDNN);
5586 mpc_pow (c, c, c, MPC_RNDNN);
5587 mpc_acosh (c, c, MPC_RNDNN);
5594 if ac_fn_c_try_link
"$LINENO"; then :
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5596 $as_echo "yes" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }; have_gmp
=no
5601 rm -f core conftest.err conftest.
$ac_objext \
5602 conftest
$ac_exeext conftest.
$ac_ext
5606 CFLAGS
="$saved_CFLAGS"
5608 # The library versions listed in the error message below should match
5609 # the HARD-minimums enforced above.
5610 if test x
$have_gmp != xyes
; then
5611 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5612 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5613 their locations. Source code for these libraries can be found at
5614 their respective hosting sites as well as at
5615 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5616 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5617 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5618 make sure that you have installed both the libraries and the header
5619 files. They may be located in separate packages." "$LINENO" 5
5623 # Flags needed for both GMP, MPFR and/or MPC.
5631 # Allow host libstdc++ to be specified for static linking with PPL.
5633 # Check whether --with-host-libstdcxx was given.
5634 if test "${with_host_libstdcxx+set}" = set; then :
5635 withval
=$with_host_libstdcxx;
5639 case $with_host_libstdcxx in
5641 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5645 # Libraries to use for stage1 or when not bootstrapping.
5647 # Check whether --with-stage1-libs was given.
5648 if test "${with_stage1_libs+set}" = set; then :
5649 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5652 stage1_libs
=$withval
5655 stage1_libs
=$with_host_libstdcxx
5660 # Linker flags to use for stage1 or when not bootstrapping.
5662 # Check whether --with-stage1-ldflags was given.
5663 if test "${with_stage1_ldflags+set}" = set; then :
5664 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5667 stage1_ldflags
=$withval
5671 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5672 # if supported. But if the user explicitly specified the libraries to use,
5673 # trust that they are doing what they want.
5674 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5675 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5681 # Libraries to use for stage2 and later builds. This defaults to the
5682 # argument passed to --with-host-libstdcxx.
5684 # Check whether --with-boot-libs was given.
5685 if test "${with_boot_libs+set}" = set; then :
5686 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5689 poststage1_libs
=$withval
5692 poststage1_libs
=$with_host_libstdcxx
5697 # Linker flags to use for stage2 and later builds.
5699 # Check whether --with-boot-ldflags was given.
5700 if test "${with_boot_ldflags+set}" = set; then :
5701 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5704 poststage1_ldflags
=$withval
5708 # In stages 2 and 3, default to linking libstdc++ and libgcc
5709 # statically. But if the user explicitly specified the libraries to
5710 # use, trust that they are doing what they want.
5711 if test "$poststage1_libs" = ""; then
5712 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5718 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5719 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5723 # Check whether --with-cloog was given.
5724 if test "${with_cloog+set}" = set; then :
5725 withval
=$with_cloog;
5729 # Check whether --with-isl was given.
5730 if test "${with_isl+set}" = set; then :
5735 # Treat either --without-cloog or --without-isl as a request to disable
5736 # GRAPHITE support and skip all following checks.
5737 if test "x$with_isl" != "xno" &&
5738 test "x$with_cloog" != "xno"; then
5742 # Check whether --with-isl-include was given.
5743 if test "${with_isl_include+set}" = set; then :
5744 withval
=$with_isl_include;
5748 # Check whether --with-isl-lib was given.
5749 if test "${with_isl_lib+set}" = set; then :
5750 withval
=$with_isl_lib;
5754 # Check whether --enable-isl-version-check was given.
5755 if test "${enable_isl_version_check+set}" = set; then :
5756 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5758 ENABLE_ISL_CHECK
=yes
5762 # Initialize isllibs and islinc.
5771 isllibs
="-L$with_isl/lib"
5772 islinc
="-I$with_isl/include"
5775 if test "x${with_isl_include}" != x
; then
5776 islinc
="-I$with_isl_include"
5778 if test "x${with_isl_lib}" != x
; then
5779 isllibs
="-L$with_isl_lib"
5781 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5782 && test -d ${srcdir}/isl
; then
5783 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5784 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5790 if test "${ENABLE_ISL_CHECK}" = yes ; then
5791 _isl_saved_CFLAGS
=$CFLAGS
5792 _isl_saved_LDFLAGS
=$LDFLAGS
5793 _isl_saved_LIBS
=$LIBS
5795 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5796 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5797 LIBS
="${_isl_saved_LIBS} -lisl"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5801 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5802 if test "${gcc_cv_isl+set}" = set; then :
5803 $as_echo_n "(cached) " >&6
5805 if test "$cross_compiling" = yes; then :
5808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5810 #include <isl/version.h>
5815 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5822 if ac_fn_c_try_run
"$LINENO"; then :
5827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5828 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5833 $as_echo "$gcc_cv_isl" >&6; }
5835 CFLAGS
=$_isl_saved_CFLAGS
5836 LDFLAGS
=$_isl_saved_LDFLAGS
5837 LIBS
=$_isl_saved_LIBS
5845 if test "x${with_isl}" = xno
; then
5846 graphite_requested
=no
5847 elif test "x${with_isl}" != x \
5848 ||
test "x${with_isl_include}" != x \
5849 ||
test "x${with_isl_lib}" != x
; then
5850 graphite_requested
=yes
5852 graphite_requested
=no
5857 if test "${gcc_cv_isl}" = no
; then
5862 if test "${graphite_requested}" = yes \
5863 && test "x${isllibs}" = x \
5864 && test "x${islinc}" = x
; then
5866 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5871 if test "x$gcc_cv_isl" != "xno"; then
5875 # Check whether --with-cloog-include was given.
5876 if test "${with_cloog_include+set}" = set; then :
5877 withval
=$with_cloog_include;
5881 # Check whether --with-cloog-lib was given.
5882 if test "${with_cloog_lib+set}" = set; then :
5883 withval
=$with_cloog_lib;
5887 # Check whether --enable-cloog-version-check was given.
5888 if test "${enable_cloog_version_check+set}" = set; then :
5889 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5891 ENABLE_CLOOG_CHECK
=yes
5895 # Initialize clooglibs and clooginc.
5904 clooglibs
="-L$with_cloog/lib"
5905 clooginc
="-I$with_cloog/include"
5908 if test "x${with_cloog_include}" != x
; then
5909 clooginc
="-I$with_cloog_include"
5911 if test "x${with_cloog_lib}" != x
; then
5912 clooglibs
="-L$with_cloog_lib"
5914 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5915 && test -d ${srcdir}/cloog
; then
5916 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5917 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5920 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5921 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
5927 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5928 _cloog_saved_CFLAGS
=$CFLAGS
5929 _cloog_saved_LDFLAGS
=$LDFLAGS
5931 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5932 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5935 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5936 if test "${gcc_cv_cloog+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5941 #include "cloog/version.h"
5945 #if CLOOG_VERSION_MAJOR != 0 \
5946 || CLOOG_VERSION_MINOR != 17 \
5947 || CLOOG_VERSION_REVISION < 0
5954 if ac_fn_c_try_compile
"$LINENO"; then :
5959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5962 $as_echo "$gcc_cv_cloog" >&6; }
5964 CFLAGS
=$_cloog_saved_CFLAGS
5965 LDFLAGS
=$_cloog_saved_LDFLAGS
5974 if test "x${with_cloog}" = xno
; then
5975 graphite_requested
=no
5976 elif test "x${with_cloog}" != x \
5977 ||
test "x${with_cloog_include}" != x \
5978 ||
test "x${with_cloog_lib}" != x
; then
5979 graphite_requested
=yes
5981 graphite_requested
=no
5986 if test "${gcc_cv_cloog}" = no
; then
5991 if test "${graphite_requested}" = yes \
5992 && test "x${clooglibs}" = x \
5993 && test "x${clooginc}" = x
; then
5995 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6002 # If either the ISL or the CLooG check failed, disable builds of in-tree
6004 if test "x$with_isl" = xno ||
6005 test "x$with_cloog" = xno ||
6006 test "x$gcc_cv_cloog" = xno ||
6007 test "x$gcc_cv_isl" = xno
; then
6008 noconfigdirs
="$noconfigdirs cloog isl"
6019 # Check for LTO support.
6020 # Check whether --enable-lto was given.
6021 if test "${enable_lto+set}" = set; then :
6022 enableval
=$enable_lto; enable_lto
=$enableval
6024 enable_lto
=yes; default_enable_lto
=yes
6033 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6034 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6035 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6043 if test $target_elf = yes; then :
6044 # ELF platforms build the lto-plugin always.
6045 build_lto_plugin
=yes
6048 if test x
"$default_enable_lto" = x
"yes" ; then
6050 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6051 # On other non-ELF platforms, LTO has yet to be validated.
6055 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6056 # It would also be nice to check the binutils support, but we don't
6057 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6058 # warn during gcc/ subconfigure; unless you're bootstrapping with
6059 # -flto it won't be needed until after installation anyway.
6061 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6062 *) if test x
"$enable_lto" = x
"yes"; then
6063 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6068 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6069 # Build it unless LTO was explicitly disabled.
6071 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6079 # By default, C and C++ are the only stage 1 languages.
6080 stage1_languages
=,c
,
6082 # Target libraries that we bootstrap.
6083 bootstrap_target_libs
=,target-libgcc
,
6085 # Figure out what language subdirectories are present.
6086 # Look if the user specified --enable-languages="..."; if not, use
6087 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6089 # NB: embedded tabs in this IF block -- do not untabify
6090 if test -d ${srcdir}/gcc
; then
6091 if test x
"${enable_languages+set}" != xset
; then
6092 if test x
"${LANGUAGES+set}" = xset
; then
6093 enable_languages
="${LANGUAGES}"
6094 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6096 enable_languages
=all
6099 if test x
"${enable_languages}" = x ||
6100 test x
"${enable_languages}" = xyes
;
6102 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6106 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6108 # 'f95' is the old name for the 'fortran' language. We issue a warning
6109 # and make the substitution.
6110 case ,${enable_languages}, in
6112 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6113 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6117 # If bootstrapping, C++ must be enabled.
6118 case ",$enable_languages,:$enable_bootstrap" in
6121 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6122 enable_languages
="${enable_languages},c++"
6124 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6129 # First scan to see if an enabled language requires some other language.
6130 # We assume that a given config-lang.in will list all the language
6131 # front ends it requires, even if some are required indirectly.
6132 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6133 case ${lang_frag} in
6135 # The odd quoting in the next line works around
6136 # an apparent bug in bash 1.12 on linux.
6137 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6139 # From the config-lang.in, get $language, $lang_requires, and
6140 # $lang_requires_boot_languages.
6143 lang_requires_boot_languages
=
6145 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6146 case ,${enable_languages}, in
6150 echo " \`$other' language required by \`$language'; enabling" 1>&2
6151 enable_languages
="${enable_languages},${other}"
6155 for other
in ${lang_requires_boot_languages} ; do
6156 if test "$other" != "c"; then
6157 case ,${enable_stage1_languages}, in
6161 case ,${enable_languages}, in
6163 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6164 enable_stage1_languages
="$enable_stage1_languages,${other}"
6175 new_enable_languages
=,c
,
6177 # If LTO is enabled, add the LTO front end.
6178 extra_host_libiberty_configure_flags
=
6179 if test "$enable_lto" = "yes" ; then
6180 case ,${enable_languages}, in
6182 *) enable_languages
="${enable_languages},lto" ;;
6184 if test "${build_lto_plugin}" = "yes" ; then
6185 configdirs
="$configdirs lto-plugin"
6186 extra_host_libiberty_configure_flags
=--enable-shared
6191 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6192 potential_languages
=,c
,
6194 enabled_target_libs
=
6195 disabled_target_libs
=
6197 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6198 case ${lang_frag} in
6200 # The odd quoting in the next line works around
6201 # an apparent bug in bash 1.12 on linux.
6202 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6204 # From the config-lang.in, get $language, $target_libs,
6205 # $lang_dirs, $boot_language, and $build_by_default
6211 build_by_default
=yes
6213 if test x
${language} = x
; then
6214 echo "${lang_frag} doesn't set \$language." 1>&2
6218 if test "$language" = "c++"; then
6223 case ,${enable_languages}, in
6225 # Language was explicitly selected; include it
6226 # unless it is C, which is enabled by default.
6227 if test "$language" != "c"; then
6232 # 'all' was selected, select it if it is a default language
6233 if test "$language" != "c"; then
6234 add_this_lang
=${build_by_default}
6239 # Disable languages that need other directories if these aren't available.
6240 for i
in $subdir_requires; do
6241 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6242 case ,${enable_languages}, in
6244 # Specifically requested language; tell them.
6245 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6249 add_this_lang
=unsupported
6254 # Disable Ada if no preexisting GNAT is available.
6255 case ,${enable_languages},:${language}:${have_gnat} in
6256 *,${language},*:ada
:no
)
6257 # Specifically requested language; tell them.
6258 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6262 add_this_lang
=unsupported
6266 # Disable a language that is unsupported by the target.
6267 case " $unsupported_languages " in
6269 add_this_lang
=unsupported
6273 case $add_this_lang in
6275 # Remove language-dependent dirs.
6276 disabled_target_libs
="$disabled_target_libs $target_libs"
6277 noconfigdirs
="$noconfigdirs $lang_dirs"
6280 # Remove language-dependent dirs; still show language as supported.
6281 disabled_target_libs
="$disabled_target_libs $target_libs"
6282 noconfigdirs
="$noconfigdirs $lang_dirs"
6283 potential_languages
="${potential_languages}${language},"
6286 new_enable_languages
="${new_enable_languages}${language},"
6287 potential_languages
="${potential_languages}${language},"
6288 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6289 enabled_target_libs
="$enabled_target_libs $target_libs"
6290 case "${boot_language}:,$enable_stage1_languages," in
6291 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6292 # Add to (comma-separated) list of stage 1 languages.
6293 case ",$stage1_languages," in
6294 *,$language,* |
,yes, |
,all
,) ;;
6295 *) stage1_languages
="${stage1_languages}${language}," ;;
6297 # We need to bootstrap any supporting libraries.
6298 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6307 # Add target libraries which are only needed for disabled languages
6309 if test -n "$disabled_target_libs"; then
6310 for dir
in $disabled_target_libs; do
6311 case " $enabled_target_libs " in
6313 *) noconfigdirs
="$noconfigdirs $dir" ;;
6318 # Check whether --enable-stage1-languages was given.
6319 if test "${enable_stage1_languages+set}" = set; then :
6320 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6322 # Set it to something that will have no effect in the loop below
6323 enable_stage1_languages
=c
;;
6325 enable_stage1_languages
=`echo $new_enable_languages | \
6326 sed -e "s/^,//" -e "s/,$//" ` ;;
6328 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6329 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6332 # Add "good" languages from enable_stage1_languages to stage1_languages,
6333 # while "bad" languages go in missing_languages. Leave no duplicates.
6334 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6335 case $potential_languages in
6337 case $stage1_languages in
6339 *) stage1_languages
="$stage1_languages$i," ;;
6342 case $missing_languages in
6344 *) missing_languages
="$missing_languages$i," ;;
6351 # Remove leading/trailing commas that were added for simplicity
6352 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6353 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6354 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6355 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6357 if test "x$missing_languages" != x
; then
6359 The following requested languages could not be built: ${missing_languages}
6360 Supported languages are: ${potential_languages}" "$LINENO" 5
6362 if test "x$new_enable_languages" != "x$enable_languages"; then
6363 echo The following languages will be built
: ${new_enable_languages}
6364 enable_languages
="$new_enable_languages"
6368 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6371 # Handle --disable-<component> generically.
6372 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6373 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6374 varname
=`echo $dirname | sed -e s/+/_/g`
6375 if eval test x\
${enable_${varname}} "=" xno
; then
6376 noconfigdirs
="$noconfigdirs $dir"
6380 # Check for Boehm's garbage collector
6381 # Check whether --enable-objc-gc was given.
6382 if test "${enable_objc_gc+set}" = set; then :
6383 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6384 *,objc
,*:*:yes:*target-boehm-gc
*)
6385 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6391 # Make sure we only build Boehm's garbage collector if required.
6392 case ,${enable_languages},:${enable_objc_gc} in
6394 # Keep target-boehm-gc if requested for Objective-C.
6397 # Otherwise remove target-boehm-gc depending on target-libjava.
6398 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6399 noconfigdirs
="$noconfigdirs target-boehm-gc"
6404 # Disable libitm if we're not building C++
6405 case ,${enable_languages}, in
6408 noconfigdirs
="$noconfigdirs target-libitm"
6412 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6413 # $build_configdirs and $target_configdirs.
6414 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6417 for dir
in .
$skipdirs $noconfigdirs ; do
6418 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6419 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6420 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6421 if test -r $srcdir/$dirname/configure
; then
6422 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6425 notsupp
="$notsupp $dir"
6429 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6430 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6431 if test -r $srcdir/$dirname/configure
; then
6432 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6435 notsupp
="$notsupp $dir"
6439 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6440 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6441 if test -r $srcdir/$dirname/configure
; then
6442 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6445 notsupp
="$notsupp $dir"
6451 # Quietly strip out all directories which aren't configurable in this tree.
6452 # This relies on all configurable subdirectories being autoconfiscated, which
6454 build_configdirs_all
="$build_configdirs"
6456 for i
in ${build_configdirs_all} ; do
6457 j
=`echo $i | sed -e s/build-//g`
6458 if test -f ${srcdir}/$j/configure
; then
6459 build_configdirs
="${build_configdirs} $i"
6463 configdirs_all
="$configdirs"
6465 for i
in ${configdirs_all} ; do
6466 if test -f ${srcdir}/$i/configure
; then
6467 configdirs
="${configdirs} $i"
6471 target_configdirs_all
="$target_configdirs"
6473 for i
in ${target_configdirs_all} ; do
6474 j
=`echo $i | sed -e s/target-//g`
6475 if test -f ${srcdir}/$j/configure
; then
6476 target_configdirs
="${target_configdirs} $i"
6480 # Produce a warning message for the subdirs we can't configure.
6481 # This isn't especially interesting in the Cygnus tree, but in the individual
6482 # FSF releases, it's important to let people know when their machine isn't
6483 # supported by the one or two programs in a package.
6485 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6486 # If $appdirs is non-empty, at least one of those directories must still
6487 # be configured, or we error out. (E.g., if the gas release supports a
6488 # specified target in some subdirs but not the gas subdir, we shouldn't
6489 # pretend that all is well.)
6490 if test -n "$appdirs" ; then
6491 for dir
in $appdirs ; do
6492 if test -r $dir/Makefile.
in ; then
6493 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6497 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6503 if test -n "$appdirs" ; then
6504 echo "*** This configuration is not supported by this package." 1>&2
6508 # Okay, some application will build, or we don't care to check. Still
6509 # notify of subdirs not getting built.
6510 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6511 echo " ${notsupp}" 1>&2
6512 echo " (Any other directories should still work fine.)" 1>&2
6520 # To find our prefix, in gcc_cv_tool_prefix.
6522 # The user is always right.
6523 if test "${PATH_SEPARATOR+set}" != set; then
6524 echo "#! /bin/sh" >conf$$.sh
6525 echo "exit 0" >>conf$$.sh
6527 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6537 if test "x$exec_prefix" = xNONE
; then
6538 if test "x$prefix" = xNONE
; then
6539 gcc_cv_tool_prefix
=$ac_default_prefix
6541 gcc_cv_tool_prefix
=$prefix
6544 gcc_cv_tool_prefix
=$exec_prefix
6547 # If there is no compiler in the tree, use the PATH only. In any
6548 # case, if there is no compiler in the tree nobody should use
6549 # AS_FOR_TARGET and LD_FOR_TARGET.
6550 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6551 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6552 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6553 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6554 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6555 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6556 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6557 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6562 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6563 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6571 # Check whether --with-build-sysroot was given.
6572 if test "${with_build_sysroot+set}" = set; then :
6573 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6574 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6577 SYSROOT_CFLAGS_FOR_TARGET
=
6583 # Check whether --with-debug-prefix-map was given.
6584 if test "${with_debug_prefix_map+set}" = set; then :
6585 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6586 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6587 for debug_map
in $withval; do
6588 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6592 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6597 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6598 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6599 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6600 # We want to ensure that TARGET libraries (which we know are built with
6601 # gcc) are built with "-O2 -g", so include those options when setting
6602 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6603 if test "x$CFLAGS_FOR_TARGET" = x
; then
6604 CFLAGS_FOR_TARGET
=$CFLAGS
6607 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6610 *" -g "* |
*" -g3 "*) ;;
6611 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6616 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6617 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6618 case " $CXXFLAGS " in
6620 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6622 case " $CXXFLAGS " in
6623 *" -g "* |
*" -g3 "*) ;;
6624 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6631 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6632 # the named directory are copied to $(tooldir)/sys-include.
6633 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6634 if test x
${is_cross_compiler} = xno
; then
6635 echo 1>&2 '***' --with-headers is only supported when cross compiling
6638 if test x
"${with_headers}" != xyes
; then
6639 x
=${gcc_cv_tool_prefix}
6640 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6644 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6645 # the name directories are copied to $(tooldir)/lib. Multiple directories
6647 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6648 if test x
${is_cross_compiler} = xno
; then
6649 echo 1>&2 '***' --with-libs is only supported when cross compiling
6652 if test x
"${with_libs}" != xyes
; then
6653 # Copy the libraries in reverse order, so that files in the first named
6654 # library override files in subsequent libraries.
6655 x
=${gcc_cv_tool_prefix}
6656 for l
in ${with_libs}; do
6657 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6662 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6664 # This is done by determining whether or not the appropriate directory
6665 # is available, and by checking whether or not specific configurations
6666 # have requested that this magic not happen.
6668 # The command line options always override the explicit settings in
6669 # configure.in, and the settings in configure.in override this magic.
6671 # If the default for a toolchain is to use GNU as and ld, and you don't
6672 # want to do that, then you should use the --without-gnu-as and
6673 # --without-gnu-ld options for the configure script. Similarly, if
6674 # the default is to use the included zlib and you don't want to do that,
6675 # you should use the --with-system-zlib option for the configure script.
6677 if test x
${use_gnu_as} = x
&&
6678 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6680 extra_host_args
="$extra_host_args --with-gnu-as"
6683 if test x
${use_gnu_ld} = x
&&
6684 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6686 extra_host_args
="$extra_host_args --with-gnu-ld"
6689 if test x
${use_included_zlib} = x
&&
6690 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6693 with_system_zlib
=yes
6694 extra_host_args
="$extra_host_args --with-system-zlib"
6697 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6698 # can detect this case.
6700 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6702 extra_host_args
="$extra_host_args --with-newlib"
6705 # Handle ${copy_dirs}
6706 set fnord
${copy_dirs}
6708 while test $# != 0 ; do
6709 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6712 echo Copying
$1 to
$2
6714 # Use the install script to create the directory and all required
6715 # parent directories.
6716 if test -d $2 ; then
6720 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6723 # Copy the directory, assuming we have tar.
6724 # FIXME: Should we use B in the second tar? Not all systems support it.
6725 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6727 # It is the responsibility of the user to correctly adjust all
6728 # symlinks. If somebody can figure out how to handle them correctly
6729 # here, feel free to add the code.
6736 # Determine a target-dependent exec_prefix that the installed
6737 # gcc will search in. Keep this list sorted by triplet, with
6738 # the *-*-osname triplets last.
6741 i
[34567]86-pc-msdosdjgpp*)
6742 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6747 md_exec_prefix
=/usr
/ccs
/bin
6751 extra_arflags_for_target
=
6752 extra_nmflags_for_target
=
6753 extra_ranlibflags_for_target
=
6754 target_makefile_frag
=/dev
/null
6757 target_makefile_frag
="config/mt-spu"
6759 mips
*-sde-elf* | mips
*-mti-elf*)
6760 target_makefile_frag
="config/mt-sde"
6762 mipsisa
*-*-elfoabi*)
6763 target_makefile_frag
="config/mt-mips-elfoabi"
6765 mips
*-*-*linux
* | mips
*-*-gnu*)
6766 target_makefile_frag
="config/mt-mips-gnu"
6768 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6769 target_makefile_frag
="config/mt-gnu"
6771 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6772 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6773 # commands to handle both 32-bit and 64-bit objects. These flags are
6774 # harmless if we're using GNU nm or ar.
6775 extra_arflags_for_target
=" -X32_64"
6776 extra_nmflags_for_target
=" -B -X32_64"
6780 alphaieee_frag
=/dev
/null
6783 # This just makes sure to use the -mieee option to build target libs.
6784 # This should probably be set individually by each library.
6785 alphaieee_frag
="config/mt-alphaieee"
6789 # If --enable-target-optspace always use -Os instead of -O2 to build
6790 # the target libraries, similarly if it is not specified, use -Os
6791 # on selected platforms.
6792 ospace_frag
=/dev
/null
6793 case "${enable_target_optspace}:${target}" in
6795 ospace_frag
="config/mt-ospace"
6798 ospace_frag
="config/mt-d30v"
6800 :m32r-
* |
:d10v-
* |
:fr30-
*)
6801 ospace_frag
="config/mt-ospace"
6806 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6810 # Some systems (e.g., one of the i386-aix systems the gas testers are
6811 # using) don't handle "\$" correctly, so don't use it here.
6812 tooldir
='${exec_prefix}'/${target_noncanonical}
6813 build_tooldir
=${tooldir}
6815 # Create a .gdbinit file which runs the one in srcdir
6816 # and tells GDB to look there for source files.
6818 if test -r ${srcdir}/.gdbinit
; then
6821 *) cat > .
/.gdbinit
<<EOF
6825 source ${srcdir}/.gdbinit
6831 # Make sure that the compiler is able to generate an executable. If it
6832 # can't, we are probably in trouble. We don't care whether we can run the
6833 # executable--we might be using a cross compiler--we only care whether it
6834 # can be created. At this point the main configure script has set CC.
6836 echo "int main () { return 0; }" > conftest.c
6837 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6838 if test $?
= 0 ; then
6839 if test -s conftest ||
test -s conftest.exe
; then
6845 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6846 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6853 # Decide which environment variable is used to find dynamic libraries.
6855 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6856 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6857 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6858 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6861 # On systems where the dynamic library environment variable is PATH,
6862 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6863 # built executables to PATH.
6864 if test "$RPATH_ENVVAR" = PATH
; then
6865 GCC_SHLIB_SUBDIR
=/shlib
6870 # Record target_configdirs and the configure arguments for target and
6871 # build configuration in Makefile.
6872 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6873 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6875 # If we are building libgomp, bootstrap it.
6876 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6877 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6880 # Determine whether gdb needs tk/tcl or not.
6881 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6882 # and in that case we want gdb to be built without tk. Ugh!
6883 # In fact I believe gdb is the *only* package directly dependent on tk,
6884 # so we should be able to put the 'maybe's in unconditionally and
6885 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6886 # 100% sure that that's safe though.
6888 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6889 case "$enable_gdbtk" in
6893 GDB_TK
="${gdb_tk}" ;;
6895 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6896 # distro. Eventually someone will fix this and move Insight, nee
6897 # gdbtk to a separate directory.
6898 if test -d ${srcdir}/gdb
/gdbtk
; then
6905 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6906 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6908 # Strip out unwanted targets.
6910 # While at that, we remove Makefiles if we were started for recursive
6911 # configuration, so that the top-level Makefile reconfigures them,
6912 # like we used to do when configure itself was recursive.
6914 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6915 # but now we're fixing up the Makefile ourselves with the additional
6916 # commands passed to AC_CONFIG_FILES. Use separate variables
6917 # extrasub-{build,host,target} not because there is any reason to split
6918 # the substitutions up that way, but only to remain below the limit of
6919 # 99 commands in a script, for HP-UX sed.
6920 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6922 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6923 yes:yes:*\ gold\
*:*,c
++,*) ;;
6924 yes:yes:*\ gold\
*:*)
6925 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6929 # Adjust the toplevel makefile according to whether bootstrap was selected.
6930 case $enable_bootstrap in
6932 bootstrap_suffix
=bootstrap
6933 BUILD_CONFIG
=bootstrap-debug
6936 bootstrap_suffix
=no-bootstrap
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6942 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6945 # Check whether --with-build-config was given.
6946 if test "${with_build_config+set}" = set; then :
6947 withval
=$with_build_config; case $with_build_config in
6948 yes) with_build_config
= ;;
6949 no
) with_build_config
= BUILD_CONFIG
= ;;
6954 if test "x${with_build_config}" != x
; then
6955 BUILD_CONFIG
=$with_build_config
6957 case $BUILD_CONFIG in
6959 if echo "int f (void) { return 0; }" > conftest.c
&&
6960 ${CC} -c conftest.c
&&
6961 mv conftest.o conftest.o.g0
&&
6962 ${CC} -c -g conftest.c
&&
6963 mv conftest.o conftest.o.g
&&
6964 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6969 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6974 $as_echo "$BUILD_CONFIG" >&6; }
6978 for module
in ${build_configdirs} ; do
6979 if test -z "${no_recursion}" \
6980 && test -f ${build_subdir}/${module}/Makefile
; then
6981 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6982 rm -f ${build_subdir}/${module}/Makefile
6984 extrasub_build
="$extrasub_build
6985 /^@if build-$module\$/d
6986 /^@endif build-$module\$/d
6987 /^@if build-$module-$bootstrap_suffix\$/d
6988 /^@endif build-$module-$bootstrap_suffix\$/d"
6991 for module
in ${configdirs} ; do
6992 if test -z "${no_recursion}"; then
6993 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6994 if test -f ${file}; then
6995 echo 1>&2 "*** removing ${file} to force reconfigure"
7000 extrasub_host
="$extrasub_host
7002 /^@endif $module\$/d
7003 /^@if $module-$bootstrap_suffix\$/d
7004 /^@endif $module-$bootstrap_suffix\$/d"
7007 for module
in ${target_configdirs} ; do
7008 if test -z "${no_recursion}" \
7009 && test -f ${target_subdir}/${module}/Makefile
; then
7010 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7011 rm -f ${target_subdir}/${module}/Makefile
7014 # We only bootstrap target libraries listed in bootstrap_target_libs.
7015 case $bootstrap_target_libs in
7016 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7017 *) target_bootstrap_suffix
=no-bootstrap
;;
7020 extrasub_target
="$extrasub_target
7021 /^@if target-$module\$/d
7022 /^@endif target-$module\$/d
7023 /^@if target-$module-$target_bootstrap_suffix\$/d
7024 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7027 # Do the final fixup along with target modules.
7028 extrasub_target
="$extrasub_target
7029 /^@if /,/^@endif /d"
7031 # Create the serialization dependencies. This uses a temporary file.
7033 # Check whether --enable-serial-configure was given.
7034 if test "${enable_serial_configure+set}" = set; then :
7035 enableval
=$enable_serial_configure;
7039 case ${enable_serial_configure} in
7041 enable_serial_build_configure
=yes
7042 enable_serial_host_configure
=yes
7043 enable_serial_target_configure
=yes
7047 # These force 'configure's to be done one at a time, to avoid problems
7048 # with contention over a shared config.cache.
7050 echo '# serdep.tmp' > serdep.tmp
7052 test "x${enable_serial_build_configure}" = xyes
&&
7053 for item
in ${build_configdirs} ; do
7056 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7061 test "x${enable_serial_host_configure}" = xyes
&&
7062 for item
in ${configdirs} ; do
7065 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7070 test "x${enable_serial_target_configure}" = xyes
&&
7071 for item
in ${target_configdirs} ; do
7074 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7078 serialization_dependencies
=serdep.tmp
7081 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7082 # target, nonopt, and variable assignments. These are the ones we
7083 # might not want to pass down to subconfigures. The exception being
7084 # --cache-file=/dev/null, which is used to turn off the use of cache
7085 # files altogether, and which should be passed on to subconfigures.
7086 # Also strip program-prefix, program-suffix, and program-transform-name,
7087 # so that we can pass down a consistent program-transform-name.
7092 eval "set -- $ac_configure_args"
7095 if test X
"$skip_next" = X
"yes"; then
7099 if test X
"$keep_next" = X
"yes"; then
7102 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7104 baseargs
="$baseargs '$ac_arg'"
7105 tbaseargs
="$tbaseargs '$ac_arg'"
7110 # Handle separated arguments. Based on the logic generated by
7113 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7114 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7115 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7116 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7130 --with-* |
--without-*)
7131 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7135 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7138 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7147 mpc | mpfr | gmp | cloog
)
7148 # If we're processing --with-$lib, --with-$lib-include or
7149 # --with-$lib-lib, for one of the libs above, and target is
7150 # different from host, don't pass the current argument to any
7151 # target library's configure.
7152 if test x
$is_cross_compiler = xyes
; then
7161 --cache-file=/dev
/null | \
7162 -cache-file=/dev
/null
)
7163 # Handled here to avoid the test to skip args below.
7164 baseargs
="$baseargs '$ac_arg'"
7165 tbaseargs
="$tbaseargs '$ac_arg'"
7166 # Assert: $separate_arg should always be no.
7167 keep_next
=$separate_arg
7183 -program-prefix* | \
7184 -program-suffix* | \
7185 -program-transform-name* )
7186 skip_next
=$separate_arg
7190 # An option. Add it.
7193 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7195 baseargs
="$baseargs '$ac_arg'"
7196 if test X
"$skip_targ" = Xno
; then
7197 tbaseargs
="$tbaseargs '$ac_arg'"
7199 keep_next
=$separate_arg
7202 # Either a variable assignment, or a nonopt (triplet). Don't
7203 # pass it down; let the Makefile handle this.
7208 # Remove the initial space we just introduced and, as these will be
7209 # expanded by make, quote '$'.
7210 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7212 # Add in --program-transform-name, after --program-prefix and
7213 # --program-suffix have been applied to it. Autoconf has already
7214 # doubled dollar signs and backslashes in program_transform_name; we want
7215 # the backslashes un-doubled, and then the entire thing wrapped in single
7216 # quotes, because this will be expanded first by make and then by the shell.
7217 # Also, because we want to override the logic in subdir configure scripts to
7218 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7219 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7220 ${program_transform_name}
7222 gcc_transform_name
=`cat conftestsed.out`
7223 rm -f conftestsed.out
7224 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7225 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7226 if test "$silent" = yes; then
7227 baseargs
="$baseargs --silent"
7228 tbaseargs
="$tbaseargs --silent"
7230 baseargs
="$baseargs --disable-option-checking"
7231 tbaseargs
="$tbaseargs --disable-option-checking"
7233 # Record and document user additions to sub configure arguments.
7238 # For the build-side libraries, we just need to pretend we're native,
7239 # and not use the same cache file. Multilibs are neither needed nor
7241 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7243 # For host modules, accept cache file option, or specification as blank.
7244 case "${cache_file}" in
7246 cache_file_option
="" ;;
7247 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7248 cache_file_option
="--cache-file=${cache_file}" ;;
7250 cache_file_option
="--cache-file=../${cache_file}" ;;
7253 # Host dirs don't like to share a cache file either, horribly enough.
7254 # This seems to be due to autoconf 2.5x stupidity.
7255 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7257 target_configargs
="$target_configargs ${tbaseargs}"
7259 # Passing a --with-cross-host argument lets the target libraries know
7260 # whether they are being built with a cross-compiler or being built
7261 # native. However, it would be better to use other mechanisms to make the
7262 # sorts of decisions they want to make on this basis. Please consider
7263 # this option to be deprecated. FIXME.
7264 if test x
${is_cross_compiler} = xyes
; then
7265 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7268 # Default to --enable-multilib.
7269 if test x
${enable_multilib} = x
; then
7270 target_configargs
="--enable-multilib ${target_configargs}"
7273 # Pass --with-newlib if appropriate. Note that target_configdirs has
7274 # changed from the earlier setting of with_newlib.
7275 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7276 target_configargs
="--with-newlib ${target_configargs}"
7279 # Different target subdirs use different values of certain variables
7280 # (notably CXX). Worse, multilibs use *lots* of different values.
7281 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7282 # it doesn't automatically accept command-line overrides of them.
7283 # This means it's not safe for target subdirs to share a cache file,
7284 # which is disgusting, but there you have it. Hopefully this can be
7285 # fixed in future. It's still worthwhile to use a cache file for each
7286 # directory. I think.
7288 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7289 # We need to pass --target, as newer autoconf's requires consistency
7290 # for target_alias and gcc doesn't manage it consistently.
7291 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7294 case " $target_configdirs " in
7296 case " $target_configargs " in
7297 *" --with-newlib "*)
7300 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'
7304 # If we're not building GCC, don't discard standard headers.
7305 if test -d ${srcdir}/gcc
; then
7306 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7308 if test "${build}" != "${host}"; then
7309 # On Canadian crosses, CC_FOR_TARGET will have already been set
7310 # by `configure', so we won't have an opportunity to add -Bgcc/
7311 # to it. This is right: we don't want to search that directory
7312 # for binaries, but we want the header files in there, so add
7314 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7316 # Someone might think of using the pre-installed headers on
7317 # Canadian crosses, in case the installed compiler is not fully
7318 # compatible with the compiler being built. In this case, it
7319 # would be better to flag an error than risking having
7320 # incompatible object files being constructed. We can't
7321 # guarantee that an error will be flagged, but let's hope the
7322 # compiler will do it, when presented with incompatible header
7327 case "${target}-${is_cross_compiler}" in
7328 i
[3456789]86-*-linux*-no)
7329 # Here host == target, so we don't need to build gcc,
7330 # so we don't want to discard standard headers.
7331 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7334 # If we're building newlib, use its generic headers last, but search
7335 # for any libc-related directories first (so make it the last -B
7337 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7339 # If we're building libgloss, find the startup file, simulator library
7340 # and linker script.
7341 case " $target_configdirs " in
7343 # Look for startup file, simulator library and maybe linker script.
7344 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7345 # Look for libnosys.a in case the target needs it.
7346 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7347 # Most targets have the linker script in the source directory.
7348 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7359 x86_64-
*mingw
* |
*-w64-mingw*)
7360 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7361 # however, use a symlink named 'mingw' in ${prefix} .
7362 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7365 # MinGW can't be handled as Cygwin above since it does not use newlib.
7366 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'
7370 # Allow the user to override the flags for
7371 # our build compiler if desired.
7372 if test x
"${build}" = x
"${host}" ; then
7373 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7374 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7375 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7378 # On Canadian crosses, we'll be searching the right directories for
7379 # the previously-installed cross compiler, so don't bother to add
7380 # flags for directories within the install tree of the compiler
7381 # being built; programs in there won't even run.
7382 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7383 # Search for pre-installed headers if nothing else fits.
7384 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7387 if test "x
${use_gnu_ld}" = x &&
7388 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7389 # Arrange for us to find uninstalled linker scripts.
7390 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7393 # Search for other target-specific linker scripts and such.
7396 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7400 # Makefile fragments.
7401 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7403 eval fragval=\$$frag
7404 if test $fragval != /dev/null; then
7405 eval $frag=${srcdir}/$fragval
7413 # Miscellanea: directories, flags, etc.
7422 # Build module lists & subconfigure args.
7426 # Host module lists & subconfigure args.
7431 # Target module lists & subconfigure args.
7453 # Generate default definitions for YACC, M4, LEX and other programs that run
7454 # on the build machine. These are used if the Makefile can't locate these
7455 # programs in objdir.
7456 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7458 for ac_prog in 'bison -y' byacc yacc
7460 # Extract the first word of "$ac_prog", so it can be a program name with args.
7461 set dummy $ac_prog; ac_word=$2
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7463 $as_echo_n "checking
for $ac_word...
" >&6; }
7464 if test "${ac_cv_prog_YACC+set}" = set; then :
7465 $as_echo_n "(cached
) " >&6
7467 if test -n "$YACC"; then
7468 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir=.
7475 for ac_exec_ext in '' $ac_executable_extensions; do
7476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7477 ac_cv_prog_YACC="$ac_prog"
7478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7487 YACC=$ac_cv_prog_YACC
7488 if test -n "$YACC"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7490 $as_echo "$YACC" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7493 $as_echo "no
" >&6; }
7497 test -n "$YACC" && break
7499 test -n "$YACC" || YACC="$MISSING bison
-y"
7501 case " $build_configdirs " in
7502 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7505 for ac_prog in bison
7507 # Extract the first word of "$ac_prog", so it can be a program name with args.
7508 set dummy $ac_prog; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7510 $as_echo_n "checking
for $ac_word...
" >&6; }
7511 if test "${ac_cv_prog_BISON+set}" = set; then :
7512 $as_echo_n "(cached
) " >&6
7514 if test -n "$BISON"; then
7515 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_BISON="$ac_prog"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7534 BISON=$ac_cv_prog_BISON
7535 if test -n "$BISON"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7537 $as_echo "$BISON" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7540 $as_echo "no
" >&6; }
7544 test -n "$BISON" && break
7546 test -n "$BISON" || BISON="$MISSING bison
"
7548 case " $build_configdirs " in
7549 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7552 for ac_prog in gm4 gnum4 m4
7554 # Extract the first word of "$ac_prog", so it can be a program name with args.
7555 set dummy $ac_prog; ac_word=$2
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7557 $as_echo_n "checking
for $ac_word...
" >&6; }
7558 if test "${ac_cv_prog_M4+set}" = set; then :
7559 $as_echo_n "(cached
) " >&6
7561 if test -n "$M4"; then
7562 ac_cv_prog_M4="$M4" # Let the user override the test.
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_prog_M4="$ac_prog"
7572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7582 if test -n "$M4"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7584 $as_echo "$M4" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7587 $as_echo "no
" >&6; }
7591 test -n "$M4" && break
7593 test -n "$M4" || M4="$MISSING m4"
7595 case " $build_configdirs " in
7596 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7599 for ac_prog in flex lex
7601 # Extract the first word of "$ac_prog", so it can be a program name with args.
7602 set dummy $ac_prog; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7604 $as_echo_n "checking
for $ac_word...
" >&6; }
7605 if test "${ac_cv_prog_LEX+set}" = set; then :
7606 $as_echo_n "(cached
) " >&6
7608 if test -n "$LEX"; then
7609 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_LEX="$ac_prog"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7629 if test -n "$LEX"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7631 $as_echo "$LEX" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7638 test -n "$LEX" && break
7640 test -n "$LEX" || LEX="$MISSING flex
"
7642 case " $build_configdirs " in
7643 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7644 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7649 # Extract the first word of "$ac_prog", so it can be a program name with args.
7650 set dummy $ac_prog; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7652 $as_echo_n "checking
for $ac_word...
" >&6; }
7653 if test "${ac_cv_prog_FLEX+set}" = set; then :
7654 $as_echo_n "(cached
) " >&6
7656 if test -n "$FLEX"; then
7657 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_FLEX="$ac_prog"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7676 FLEX=$ac_cv_prog_FLEX
7677 if test -n "$FLEX"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7679 $as_echo "$FLEX" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7682 $as_echo "no
" >&6; }
7686 test -n "$FLEX" && break
7688 test -n "$FLEX" || FLEX="$MISSING flex
"
7690 case " $build_configdirs " in
7691 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7694 for ac_prog in makeinfo
7696 # Extract the first word of "$ac_prog", so it can be a program name with args.
7697 set dummy $ac_prog; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7699 $as_echo_n "checking
for $ac_word...
" >&6; }
7700 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7701 $as_echo_n "(cached
) " >&6
7703 if test -n "$MAKEINFO"; then
7704 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_prog_MAKEINFO="$ac_prog"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7723 MAKEINFO=$ac_cv_prog_MAKEINFO
7724 if test -n "$MAKEINFO"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7726 $as_echo "$MAKEINFO" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7729 $as_echo "no
" >&6; }
7733 test -n "$MAKEINFO" && break
7735 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7737 case " $build_configdirs " in
7738 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7741 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7742 # higher, else we use the "missing
" dummy.
7743 if ${MAKEINFO} --version \
7744 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7747 MAKEINFO="$MISSING makeinfo
"
7753 # FIXME: expect and dejagnu may become build tools?
7755 for ac_prog in expect
7757 # Extract the first word of "$ac_prog", so it can be a program name with args.
7758 set dummy $ac_prog; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7760 $as_echo_n "checking
for $ac_word...
" >&6; }
7761 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7762 $as_echo_n "(cached
) " >&6
7764 if test -n "$EXPECT"; then
7765 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_EXPECT="$ac_prog"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7784 EXPECT=$ac_cv_prog_EXPECT
7785 if test -n "$EXPECT"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7787 $as_echo "$EXPECT" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7790 $as_echo "no
" >&6; }
7794 test -n "$EXPECT" && break
7796 test -n "$EXPECT" || EXPECT="expect
"
7798 case " $configdirs " in
7800 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7804 for ac_prog in runtest
7806 # Extract the first word of "$ac_prog", so it can be a program name with args.
7807 set dummy $ac_prog; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7809 $as_echo_n "checking
for $ac_word...
" >&6; }
7810 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7811 $as_echo_n "(cached
) " >&6
7813 if test -n "$RUNTEST"; then
7814 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7823 ac_cv_prog_RUNTEST="$ac_prog"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7833 RUNTEST=$ac_cv_prog_RUNTEST
7834 if test -n "$RUNTEST"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7836 $as_echo "$RUNTEST" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7839 $as_echo "no
" >&6; }
7843 test -n "$RUNTEST" && break
7845 test -n "$RUNTEST" || RUNTEST="runtest
"
7847 case " $configdirs " in
7849 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7856 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7857 ncn_target_tool_prefix=
7858 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7862 if test -n "$AR"; then
7864 elif test -n "$ac_cv_prog_AR"; then
7868 if test -n "$ac_cv_prog_AR"; then
7869 for ncn_progname in ar; do
7870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7871 set dummy ${ncn_progname}; ac_word=$2
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7873 $as_echo_n "checking
for $ac_word...
" >&6; }
7874 if test "${ac_cv_prog_AR+set}" = set; then :
7875 $as_echo_n "(cached
) " >&6
7877 if test -n "$AR"; then
7878 ac_cv_prog_AR="$AR" # Let the user override the test.
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7887 ac_cv_prog_AR="${ncn_progname}"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7898 if test -n "$AR"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7900 $as_echo "$AR" >&6; }
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7903 $as_echo "no
" >&6; }
7910 for ncn_progname in ar; do
7911 if test -n "$ncn_tool_prefix"; then
7912 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7913 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7915 $as_echo_n "checking
for $ac_word...
" >&6; }
7916 if test "${ac_cv_prog_AR+set}" = set; then :
7917 $as_echo_n "(cached
) " >&6
7919 if test -n "$AR"; then
7920 ac_cv_prog_AR="$AR" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7940 if test -n "$AR"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7942 $as_echo "$AR" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7945 $as_echo "no
" >&6; }
7950 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7951 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7952 set dummy ${ncn_progname}; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7954 $as_echo_n "checking
for $ac_word...
" >&6; }
7955 if test "${ac_cv_prog_AR+set}" = set; then :
7956 $as_echo_n "(cached
) " >&6
7958 if test -n "$AR"; then
7959 ac_cv_prog_AR="$AR" # Let the user override the test.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_AR="${ncn_progname}"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7979 if test -n "$AR"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7981 $as_echo "$AR" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7984 $as_echo "no
" >&6; }
7989 test -n "$ac_cv_prog_AR" && break
7992 if test -z "$ac_cv_prog_AR" ; then
7994 if test $build = $host ; then
7997 AR="${ncn_tool_prefix}$2"
8003 if test -n "$AS"; then
8005 elif test -n "$ac_cv_prog_AS"; then
8009 if test -n "$ac_cv_prog_AS"; then
8010 for ncn_progname in as; do
8011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8012 set dummy ${ncn_progname}; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8014 $as_echo_n "checking
for $ac_word...
" >&6; }
8015 if test "${ac_cv_prog_AS+set}" = set; then :
8016 $as_echo_n "(cached
) " >&6
8018 if test -n "$AS"; then
8019 ac_cv_prog_AS="$AS" # Let the user override the test.
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_AS="${ncn_progname}"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8039 if test -n "$AS"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8041 $as_echo "$AS" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8044 $as_echo "no
" >&6; }
8051 for ncn_progname in as; do
8052 if test -n "$ncn_tool_prefix"; then
8053 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8054 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8056 $as_echo_n "checking
for $ac_word...
" >&6; }
8057 if test "${ac_cv_prog_AS+set}" = set; then :
8058 $as_echo_n "(cached
) " >&6
8060 if test -n "$AS"; then
8061 ac_cv_prog_AS="$AS" # Let the user override the test.
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8070 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8081 if test -n "$AS"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8083 $as_echo "$AS" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8086 $as_echo "no
" >&6; }
8091 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8093 set dummy ${ncn_progname}; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8095 $as_echo_n "checking
for $ac_word...
" >&6; }
8096 if test "${ac_cv_prog_AS+set}" = set; then :
8097 $as_echo_n "(cached
) " >&6
8099 if test -n "$AS"; then
8100 ac_cv_prog_AS="$AS" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109 ac_cv_prog_AS="${ncn_progname}"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8120 if test -n "$AS"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8122 $as_echo "$AS" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8125 $as_echo "no
" >&6; }
8130 test -n "$ac_cv_prog_AS" && break
8133 if test -z "$ac_cv_prog_AS" ; then
8135 if test $build = $host ; then
8138 AS="${ncn_tool_prefix}$2"
8144 if test -n "$DLLTOOL"; then
8145 ac_cv_prog_DLLTOOL=$DLLTOOL
8146 elif test -n "$ac_cv_prog_DLLTOOL"; then
8147 DLLTOOL=$ac_cv_prog_DLLTOOL
8150 if test -n "$ac_cv_prog_DLLTOOL"; then
8151 for ncn_progname in dlltool; do
8152 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8153 set dummy ${ncn_progname}; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8155 $as_echo_n "checking
for $ac_word...
" >&6; }
8156 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8157 $as_echo_n "(cached
) " >&6
8159 if test -n "$DLLTOOL"; then
8160 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_DLLTOOL="${ncn_progname}"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8179 DLLTOOL=$ac_cv_prog_DLLTOOL
8180 if test -n "$DLLTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8182 $as_echo "$DLLTOOL" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8185 $as_echo "no
" >&6; }
8192 for ncn_progname in dlltool; do
8193 if test -n "$ncn_tool_prefix"; then
8194 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8195 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8197 $as_echo_n "checking
for $ac_word...
" >&6; }
8198 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8199 $as_echo_n "(cached
) " >&6
8201 if test -n "$DLLTOOL"; then
8202 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 test -z "$as_dir" && as_dir=.
8209 for ac_exec_ext in '' $ac_executable_extensions; do
8210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8211 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8221 DLLTOOL=$ac_cv_prog_DLLTOOL
8222 if test -n "$DLLTOOL"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8224 $as_echo "$DLLTOOL" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8227 $as_echo "no
" >&6; }
8232 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8233 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8234 set dummy ${ncn_progname}; ac_word=$2
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8236 $as_echo_n "checking
for $ac_word...
" >&6; }
8237 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8238 $as_echo_n "(cached
) " >&6
8240 if test -n "$DLLTOOL"; then
8241 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_prog_DLLTOOL="${ncn_progname}"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8260 DLLTOOL=$ac_cv_prog_DLLTOOL
8261 if test -n "$DLLTOOL"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8263 $as_echo "$DLLTOOL" >&6; }
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8266 $as_echo "no
" >&6; }
8271 test -n "$ac_cv_prog_DLLTOOL" && break
8274 if test -z "$ac_cv_prog_DLLTOOL" ; then
8276 if test $build = $host ; then
8279 DLLTOOL="${ncn_tool_prefix}$2"
8285 if test -n "$LD"; then
8287 elif test -n "$ac_cv_prog_LD"; then
8291 if test -n "$ac_cv_prog_LD"; then
8292 for ncn_progname in ld; do
8293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8294 set dummy ${ncn_progname}; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8296 $as_echo_n "checking
for $ac_word...
" >&6; }
8297 if test "${ac_cv_prog_LD+set}" = set; then :
8298 $as_echo_n "(cached
) " >&6
8300 if test -n "$LD"; then
8301 ac_cv_prog_LD="$LD" # Let the user override the test.
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8310 ac_cv_prog_LD="${ncn_progname}"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 if test -n "$LD"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8323 $as_echo "$LD" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8326 $as_echo "no
" >&6; }
8333 for ncn_progname in ld; do
8334 if test -n "$ncn_tool_prefix"; then
8335 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8336 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8338 $as_echo_n "checking
for $ac_word...
" >&6; }
8339 if test "${ac_cv_prog_LD+set}" = set; then :
8340 $as_echo_n "(cached
) " >&6
8342 if test -n "$LD"; then
8343 ac_cv_prog_LD="$LD" # Let the user override the test.
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8352 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 if test -n "$LD"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8365 $as_echo "$LD" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8368 $as_echo "no
" >&6; }
8373 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8375 set dummy ${ncn_progname}; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8377 $as_echo_n "checking
for $ac_word...
" >&6; }
8378 if test "${ac_cv_prog_LD+set}" = set; then :
8379 $as_echo_n "(cached
) " >&6
8381 if test -n "$LD"; then
8382 ac_cv_prog_LD="$LD" # Let the user override the test.
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 test -z "$as_dir" && as_dir=.
8389 for ac_exec_ext in '' $ac_executable_extensions; do
8390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8391 ac_cv_prog_LD="${ncn_progname}"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8402 if test -n "$LD"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8404 $as_echo "$LD" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8407 $as_echo "no
" >&6; }
8412 test -n "$ac_cv_prog_LD" && break
8415 if test -z "$ac_cv_prog_LD" ; then
8417 if test $build = $host ; then
8420 LD="${ncn_tool_prefix}$2"
8426 if test -n "$LIPO"; then
8427 ac_cv_prog_LIPO=$LIPO
8428 elif test -n "$ac_cv_prog_LIPO"; then
8429 LIPO=$ac_cv_prog_LIPO
8432 if test -n "$ac_cv_prog_LIPO"; then
8433 for ncn_progname in lipo; do
8434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8435 set dummy ${ncn_progname}; ac_word=$2
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8437 $as_echo_n "checking
for $ac_word...
" >&6; }
8438 if test "${ac_cv_prog_LIPO+set}" = set; then :
8439 $as_echo_n "(cached
) " >&6
8441 if test -n "$LIPO"; then
8442 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir=.
8449 for ac_exec_ext in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_prog_LIPO="${ncn_progname}"
8452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8461 LIPO=$ac_cv_prog_LIPO
8462 if test -n "$LIPO"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8464 $as_echo "$LIPO" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8467 $as_echo "no
" >&6; }
8474 for ncn_progname in lipo; do
8475 if test -n "$ncn_tool_prefix"; then
8476 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8477 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8479 $as_echo_n "checking
for $ac_word...
" >&6; }
8480 if test "${ac_cv_prog_LIPO+set}" = set; then :
8481 $as_echo_n "(cached
) " >&6
8483 if test -n "$LIPO"; then
8484 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8490 test -z "$as_dir" && as_dir=.
8491 for ac_exec_ext in '' $ac_executable_extensions; do
8492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8493 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8503 LIPO=$ac_cv_prog_LIPO
8504 if test -n "$LIPO"; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8506 $as_echo "$LIPO" >&6; }
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8509 $as_echo "no
" >&6; }
8514 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8516 set dummy ${ncn_progname}; ac_word=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8518 $as_echo_n "checking
for $ac_word...
" >&6; }
8519 if test "${ac_cv_prog_LIPO+set}" = set; then :
8520 $as_echo_n "(cached
) " >&6
8522 if test -n "$LIPO"; then
8523 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8529 test -z "$as_dir" && as_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8532 ac_cv_prog_LIPO="${ncn_progname}"
8533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8542 LIPO=$ac_cv_prog_LIPO
8543 if test -n "$LIPO"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8545 $as_echo "$LIPO" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8548 $as_echo "no
" >&6; }
8553 test -n "$ac_cv_prog_LIPO" && break
8556 if test -z "$ac_cv_prog_LIPO" ; then
8558 if test $build = $host ; then
8561 LIPO="${ncn_tool_prefix}$2"
8567 if test -n "$NM"; then
8569 elif test -n "$ac_cv_prog_NM"; then
8573 if test -n "$ac_cv_prog_NM"; then
8574 for ncn_progname in nm; do
8575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8576 set dummy ${ncn_progname}; ac_word=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8578 $as_echo_n "checking
for $ac_word...
" >&6; }
8579 if test "${ac_cv_prog_NM+set}" = set; then :
8580 $as_echo_n "(cached
) " >&6
8582 if test -n "$NM"; then
8583 ac_cv_prog_NM="$NM" # Let the user override the test.
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir=.
8590 for ac_exec_ext in '' $ac_executable_extensions; do
8591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592 ac_cv_prog_NM="${ncn_progname}"
8593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8603 if test -n "$NM"; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8605 $as_echo "$NM" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8608 $as_echo "no
" >&6; }
8615 for ncn_progname in nm; do
8616 if test -n "$ncn_tool_prefix"; then
8617 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8618 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8620 $as_echo_n "checking
for $ac_word...
" >&6; }
8621 if test "${ac_cv_prog_NM+set}" = set; then :
8622 $as_echo_n "(cached
) " >&6
8624 if test -n "$NM"; then
8625 ac_cv_prog_NM="$NM" # Let the user override the test.
8627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8631 test -z "$as_dir" && as_dir=.
8632 for ac_exec_ext in '' $ac_executable_extensions; do
8633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8634 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8645 if test -n "$NM"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8647 $as_echo "$NM" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8650 $as_echo "no
" >&6; }
8655 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8657 set dummy ${ncn_progname}; ac_word=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8659 $as_echo_n "checking
for $ac_word...
" >&6; }
8660 if test "${ac_cv_prog_NM+set}" = set; then :
8661 $as_echo_n "(cached
) " >&6
8663 if test -n "$NM"; then
8664 ac_cv_prog_NM="$NM" # Let the user override the test.
8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 test -z "$as_dir" && as_dir=.
8671 for ac_exec_ext in '' $ac_executable_extensions; do
8672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8673 ac_cv_prog_NM="${ncn_progname}"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8684 if test -n "$NM"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8686 $as_echo "$NM" >&6; }
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8689 $as_echo "no
" >&6; }
8694 test -n "$ac_cv_prog_NM" && break
8697 if test -z "$ac_cv_prog_NM" ; then
8699 if test $build = $host ; then
8702 NM="${ncn_tool_prefix}$2"
8708 if test -n "$RANLIB"; then
8709 ac_cv_prog_RANLIB=$RANLIB
8710 elif test -n "$ac_cv_prog_RANLIB"; then
8711 RANLIB=$ac_cv_prog_RANLIB
8714 if test -n "$ac_cv_prog_RANLIB"; then
8715 for ncn_progname in ranlib; do
8716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8717 set dummy ${ncn_progname}; ac_word=$2
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8719 $as_echo_n "checking
for $ac_word...
" >&6; }
8720 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8721 $as_echo_n "(cached
) " >&6
8723 if test -n "$RANLIB"; then
8724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8730 test -z "$as_dir" && as_dir=.
8731 for ac_exec_ext in '' $ac_executable_extensions; do
8732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8733 ac_cv_prog_RANLIB="${ncn_progname}"
8734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8743 RANLIB=$ac_cv_prog_RANLIB
8744 if test -n "$RANLIB"; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8746 $as_echo "$RANLIB" >&6; }
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8749 $as_echo "no
" >&6; }
8756 for ncn_progname in ranlib; do
8757 if test -n "$ncn_tool_prefix"; then
8758 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8759 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8761 $as_echo_n "checking
for $ac_word...
" >&6; }
8762 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8763 $as_echo_n "(cached
) " >&6
8765 if test -n "$RANLIB"; then
8766 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 test -z "$as_dir" && as_dir=.
8773 for ac_exec_ext in '' $ac_executable_extensions; do
8774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8775 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8785 RANLIB=$ac_cv_prog_RANLIB
8786 if test -n "$RANLIB"; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8788 $as_echo "$RANLIB" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8791 $as_echo "no
" >&6; }
8796 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8797 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8798 set dummy ${ncn_progname}; ac_word=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8800 $as_echo_n "checking
for $ac_word...
" >&6; }
8801 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8802 $as_echo_n "(cached
) " >&6
8804 if test -n "$RANLIB"; then
8805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir=.
8812 for ac_exec_ext in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_prog_RANLIB="${ncn_progname}"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8824 RANLIB=$ac_cv_prog_RANLIB
8825 if test -n "$RANLIB"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8827 $as_echo "$RANLIB" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8830 $as_echo "no
" >&6; }
8835 test -n "$ac_cv_prog_RANLIB" && break
8838 if test -z "$ac_cv_prog_RANLIB" ; then
8844 if test -n "$STRIP"; then
8845 ac_cv_prog_STRIP=$STRIP
8846 elif test -n "$ac_cv_prog_STRIP"; then
8847 STRIP=$ac_cv_prog_STRIP
8850 if test -n "$ac_cv_prog_STRIP"; then
8851 for ncn_progname in strip; do
8852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8853 set dummy ${ncn_progname}; ac_word=$2
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8855 $as_echo_n "checking
for $ac_word...
" >&6; }
8856 if test "${ac_cv_prog_STRIP+set}" = set; then :
8857 $as_echo_n "(cached
) " >&6
8859 if test -n "$STRIP"; then
8860 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8866 test -z "$as_dir" && as_dir=.
8867 for ac_exec_ext in '' $ac_executable_extensions; do
8868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8869 ac_cv_prog_STRIP="${ncn_progname}"
8870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8879 STRIP=$ac_cv_prog_STRIP
8880 if test -n "$STRIP"; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8882 $as_echo "$STRIP" >&6; }
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8885 $as_echo "no
" >&6; }
8892 for ncn_progname in strip; do
8893 if test -n "$ncn_tool_prefix"; then
8894 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8895 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8897 $as_echo_n "checking
for $ac_word...
" >&6; }
8898 if test "${ac_cv_prog_STRIP+set}" = set; then :
8899 $as_echo_n "(cached
) " >&6
8901 if test -n "$STRIP"; then
8902 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8921 STRIP=$ac_cv_prog_STRIP
8922 if test -n "$STRIP"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8924 $as_echo "$STRIP" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8927 $as_echo "no
" >&6; }
8932 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8934 set dummy ${ncn_progname}; ac_word=$2
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8936 $as_echo_n "checking
for $ac_word...
" >&6; }
8937 if test "${ac_cv_prog_STRIP+set}" = set; then :
8938 $as_echo_n "(cached
) " >&6
8940 if test -n "$STRIP"; then
8941 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8950 ac_cv_prog_STRIP="${ncn_progname}"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8960 STRIP=$ac_cv_prog_STRIP
8961 if test -n "$STRIP"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8963 $as_echo "$STRIP" >&6; }
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8966 $as_echo "no
" >&6; }
8971 test -n "$ac_cv_prog_STRIP" && break
8974 if test -z "$ac_cv_prog_STRIP" ; then
8980 if test -n "$WINDRES"; then
8981 ac_cv_prog_WINDRES=$WINDRES
8982 elif test -n "$ac_cv_prog_WINDRES"; then
8983 WINDRES=$ac_cv_prog_WINDRES
8986 if test -n "$ac_cv_prog_WINDRES"; then
8987 for ncn_progname in windres; do
8988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8989 set dummy ${ncn_progname}; ac_word=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8991 $as_echo_n "checking
for $ac_word...
" >&6; }
8992 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8993 $as_echo_n "(cached
) " >&6
8995 if test -n "$WINDRES"; then
8996 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir=.
9003 for ac_exec_ext in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_prog_WINDRES="${ncn_progname}"
9006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9015 WINDRES=$ac_cv_prog_WINDRES
9016 if test -n "$WINDRES"; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9018 $as_echo "$WINDRES" >&6; }
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9021 $as_echo "no
" >&6; }
9028 for ncn_progname in windres; do
9029 if test -n "$ncn_tool_prefix"; then
9030 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9031 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9033 $as_echo_n "checking
for $ac_word...
" >&6; }
9034 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9035 $as_echo_n "(cached
) " >&6
9037 if test -n "$WINDRES"; then
9038 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9047 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9057 WINDRES=$ac_cv_prog_WINDRES
9058 if test -n "$WINDRES"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9060 $as_echo "$WINDRES" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9063 $as_echo "no
" >&6; }
9068 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9070 set dummy ${ncn_progname}; ac_word=$2
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9072 $as_echo_n "checking
for $ac_word...
" >&6; }
9073 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9074 $as_echo_n "(cached
) " >&6
9076 if test -n "$WINDRES"; then
9077 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9083 test -z "$as_dir" && as_dir=.
9084 for ac_exec_ext in '' $ac_executable_extensions; do
9085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9086 ac_cv_prog_WINDRES="${ncn_progname}"
9087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9096 WINDRES=$ac_cv_prog_WINDRES
9097 if test -n "$WINDRES"; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9099 $as_echo "$WINDRES" >&6; }
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9102 $as_echo "no
" >&6; }
9107 test -n "$ac_cv_prog_WINDRES" && break
9110 if test -z "$ac_cv_prog_WINDRES" ; then
9112 if test $build = $host ; then
9115 WINDRES="${ncn_tool_prefix}$2"
9121 if test -n "$WINDMC"; then
9122 ac_cv_prog_WINDMC=$WINDMC
9123 elif test -n "$ac_cv_prog_WINDMC"; then
9124 WINDMC=$ac_cv_prog_WINDMC
9127 if test -n "$ac_cv_prog_WINDMC"; then
9128 for ncn_progname in windmc; do
9129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9130 set dummy ${ncn_progname}; ac_word=$2
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9132 $as_echo_n "checking
for $ac_word...
" >&6; }
9133 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9134 $as_echo_n "(cached
) " >&6
9136 if test -n "$WINDMC"; then
9137 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9143 test -z "$as_dir" && as_dir=.
9144 for ac_exec_ext in '' $ac_executable_extensions; do
9145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9146 ac_cv_prog_WINDMC="${ncn_progname}"
9147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9156 WINDMC=$ac_cv_prog_WINDMC
9157 if test -n "$WINDMC"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9159 $as_echo "$WINDMC" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9162 $as_echo "no
" >&6; }
9169 for ncn_progname in windmc; do
9170 if test -n "$ncn_tool_prefix"; then
9171 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9172 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9174 $as_echo_n "checking
for $ac_word...
" >&6; }
9175 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9176 $as_echo_n "(cached
) " >&6
9178 if test -n "$WINDMC"; then
9179 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9185 test -z "$as_dir" && as_dir=.
9186 for ac_exec_ext in '' $ac_executable_extensions; do
9187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9188 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9198 WINDMC=$ac_cv_prog_WINDMC
9199 if test -n "$WINDMC"; then
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9201 $as_echo "$WINDMC" >&6; }
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9204 $as_echo "no
" >&6; }
9209 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9211 set dummy ${ncn_progname}; ac_word=$2
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9213 $as_echo_n "checking
for $ac_word...
" >&6; }
9214 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9215 $as_echo_n "(cached
) " >&6
9217 if test -n "$WINDMC"; then
9218 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224 test -z "$as_dir" && as_dir=.
9225 for ac_exec_ext in '' $ac_executable_extensions; do
9226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9227 ac_cv_prog_WINDMC="${ncn_progname}"
9228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9237 WINDMC=$ac_cv_prog_WINDMC
9238 if test -n "$WINDMC"; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9240 $as_echo "$WINDMC" >&6; }
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9243 $as_echo "no
" >&6; }
9248 test -n "$ac_cv_prog_WINDMC" && break
9251 if test -z "$ac_cv_prog_WINDMC" ; then
9253 if test $build = $host ; then
9256 WINDMC="${ncn_tool_prefix}$2"
9262 if test -n "$OBJCOPY"; then
9263 ac_cv_prog_OBJCOPY=$OBJCOPY
9264 elif test -n "$ac_cv_prog_OBJCOPY"; then
9265 OBJCOPY=$ac_cv_prog_OBJCOPY
9268 if test -n "$ac_cv_prog_OBJCOPY"; then
9269 for ncn_progname in objcopy; do
9270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9271 set dummy ${ncn_progname}; ac_word=$2
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9273 $as_echo_n "checking
for $ac_word...
" >&6; }
9274 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9275 $as_echo_n "(cached
) " >&6
9277 if test -n "$OBJCOPY"; then
9278 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9284 test -z "$as_dir" && as_dir=.
9285 for ac_exec_ext in '' $ac_executable_extensions; do
9286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9287 ac_cv_prog_OBJCOPY="${ncn_progname}"
9288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9297 OBJCOPY=$ac_cv_prog_OBJCOPY
9298 if test -n "$OBJCOPY"; then
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9300 $as_echo "$OBJCOPY" >&6; }
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9303 $as_echo "no
" >&6; }
9310 for ncn_progname in objcopy; do
9311 if test -n "$ncn_tool_prefix"; then
9312 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9313 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9315 $as_echo_n "checking
for $ac_word...
" >&6; }
9316 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9317 $as_echo_n "(cached
) " >&6
9319 if test -n "$OBJCOPY"; then
9320 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9339 OBJCOPY=$ac_cv_prog_OBJCOPY
9340 if test -n "$OBJCOPY"; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9342 $as_echo "$OBJCOPY" >&6; }
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9345 $as_echo "no
" >&6; }
9350 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9352 set dummy ${ncn_progname}; ac_word=$2
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9354 $as_echo_n "checking
for $ac_word...
" >&6; }
9355 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9356 $as_echo_n "(cached
) " >&6
9358 if test -n "$OBJCOPY"; then
9359 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9365 test -z "$as_dir" && as_dir=.
9366 for ac_exec_ext in '' $ac_executable_extensions; do
9367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9368 ac_cv_prog_OBJCOPY="${ncn_progname}"
9369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9378 OBJCOPY=$ac_cv_prog_OBJCOPY
9379 if test -n "$OBJCOPY"; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9381 $as_echo "$OBJCOPY" >&6; }
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9384 $as_echo "no
" >&6; }
9389 test -n "$ac_cv_prog_OBJCOPY" && break
9392 if test -z "$ac_cv_prog_OBJCOPY" ; then
9394 if test $build = $host ; then
9397 OBJCOPY="${ncn_tool_prefix}$2"
9403 if test -n "$OBJDUMP"; then
9404 ac_cv_prog_OBJDUMP=$OBJDUMP
9405 elif test -n "$ac_cv_prog_OBJDUMP"; then
9406 OBJDUMP=$ac_cv_prog_OBJDUMP
9409 if test -n "$ac_cv_prog_OBJDUMP"; then
9410 for ncn_progname in objdump; do
9411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9412 set dummy ${ncn_progname}; ac_word=$2
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9414 $as_echo_n "checking
for $ac_word...
" >&6; }
9415 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9416 $as_echo_n "(cached
) " >&6
9418 if test -n "$OBJDUMP"; then
9419 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9425 test -z "$as_dir" && as_dir=.
9426 for ac_exec_ext in '' $ac_executable_extensions; do
9427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9428 ac_cv_prog_OBJDUMP="${ncn_progname}"
9429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9438 OBJDUMP=$ac_cv_prog_OBJDUMP
9439 if test -n "$OBJDUMP"; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9441 $as_echo "$OBJDUMP" >&6; }
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9444 $as_echo "no
" >&6; }
9451 for ncn_progname in objdump; do
9452 if test -n "$ncn_tool_prefix"; then
9453 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9454 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9456 $as_echo_n "checking
for $ac_word...
" >&6; }
9457 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9458 $as_echo_n "(cached
) " >&6
9460 if test -n "$OBJDUMP"; then
9461 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9467 test -z "$as_dir" && as_dir=.
9468 for ac_exec_ext in '' $ac_executable_extensions; do
9469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9470 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9480 OBJDUMP=$ac_cv_prog_OBJDUMP
9481 if test -n "$OBJDUMP"; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9483 $as_echo "$OBJDUMP" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9486 $as_echo "no
" >&6; }
9491 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9493 set dummy ${ncn_progname}; ac_word=$2
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9495 $as_echo_n "checking
for $ac_word...
" >&6; }
9496 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9497 $as_echo_n "(cached
) " >&6
9499 if test -n "$OBJDUMP"; then
9500 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9506 test -z "$as_dir" && as_dir=.
9507 for ac_exec_ext in '' $ac_executable_extensions; do
9508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9509 ac_cv_prog_OBJDUMP="${ncn_progname}"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9519 OBJDUMP=$ac_cv_prog_OBJDUMP
9520 if test -n "$OBJDUMP"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9522 $as_echo "$OBJDUMP" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9525 $as_echo "no
" >&6; }
9530 test -n "$ac_cv_prog_OBJDUMP" && break
9533 if test -z "$ac_cv_prog_OBJDUMP" ; then
9535 if test $build = $host ; then
9538 OBJDUMP="${ncn_tool_prefix}$2"
9544 if test -n "$READELF"; then
9545 ac_cv_prog_READELF=$READELF
9546 elif test -n "$ac_cv_prog_READELF"; then
9547 READELF=$ac_cv_prog_READELF
9550 if test -n "$ac_cv_prog_READELF"; then
9551 for ncn_progname in readelf; do
9552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9553 set dummy ${ncn_progname}; ac_word=$2
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9555 $as_echo_n "checking
for $ac_word...
" >&6; }
9556 if test "${ac_cv_prog_READELF+set}" = set; then :
9557 $as_echo_n "(cached
) " >&6
9559 if test -n "$READELF"; then
9560 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566 test -z "$as_dir" && as_dir=.
9567 for ac_exec_ext in '' $ac_executable_extensions; do
9568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9569 ac_cv_prog_READELF="${ncn_progname}"
9570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9579 READELF=$ac_cv_prog_READELF
9580 if test -n "$READELF"; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9582 $as_echo "$READELF" >&6; }
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9585 $as_echo "no
" >&6; }
9592 for ncn_progname in readelf; do
9593 if test -n "$ncn_tool_prefix"; then
9594 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9595 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9597 $as_echo_n "checking
for $ac_word...
" >&6; }
9598 if test "${ac_cv_prog_READELF+set}" = set; then :
9599 $as_echo_n "(cached
) " >&6
9601 if test -n "$READELF"; then
9602 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 test -z "$as_dir" && as_dir=.
9609 for ac_exec_ext in '' $ac_executable_extensions; do
9610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9611 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9621 READELF=$ac_cv_prog_READELF
9622 if test -n "$READELF"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9624 $as_echo "$READELF" >&6; }
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9627 $as_echo "no
" >&6; }
9632 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9634 set dummy ${ncn_progname}; ac_word=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9636 $as_echo_n "checking
for $ac_word...
" >&6; }
9637 if test "${ac_cv_prog_READELF+set}" = set; then :
9638 $as_echo_n "(cached
) " >&6
9640 if test -n "$READELF"; then
9641 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 test -z "$as_dir" && as_dir=.
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9650 ac_cv_prog_READELF="${ncn_progname}"
9651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9660 READELF=$ac_cv_prog_READELF
9661 if test -n "$READELF"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9663 $as_echo "$READELF" >&6; }
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9666 $as_echo "no
" >&6; }
9671 test -n "$ac_cv_prog_READELF" && break
9674 if test -z "$ac_cv_prog_READELF" ; then
9676 if test $build = $host ; then
9679 READELF="${ncn_tool_prefix}$2"
9690 # Check whether --with-build-time-tools was given.
9691 if test "${with_build_time_tools+set}" = set; then :
9692 withval=$with_build_time_tools; case x"$withval" in
9695 with_build_time_tools=
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9697 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9701 with_build_time_tools=
9707 if test -n "$CC_FOR_TARGET"; then
9708 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9709 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9710 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9713 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9714 for ncn_progname in cc gcc; do
9715 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9716 set dummy ${ncn_progname}; ac_word=$2
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9718 $as_echo_n "checking
for $ac_word...
" >&6; }
9719 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9720 $as_echo_n "(cached
) " >&6
9722 if test -n "$CC_FOR_TARGET"; then
9723 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9729 test -z "$as_dir" && as_dir=.
9730 for ac_exec_ext in '' $ac_executable_extensions; do
9731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9732 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9742 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9743 if test -n "$CC_FOR_TARGET"; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9745 $as_echo "$CC_FOR_TARGET" >&6; }
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9748 $as_echo "no
" >&6; }
9755 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9756 for ncn_progname in cc gcc; do
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9758 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9759 if test -x $with_build_time_tools/${ncn_progname}; then
9760 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9762 $as_echo "yes" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9766 $as_echo "no
" >&6; }
9771 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9772 for ncn_progname in cc gcc; do
9773 if test -n "$ncn_target_tool_prefix"; then
9774 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9775 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9777 $as_echo_n "checking
for $ac_word...
" >&6; }
9778 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9779 $as_echo_n "(cached
) " >&6
9781 if test -n "$CC_FOR_TARGET"; then
9782 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9788 test -z "$as_dir" && as_dir=.
9789 for ac_exec_ext in '' $ac_executable_extensions; do
9790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9791 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9801 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9802 if test -n "$CC_FOR_TARGET"; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9804 $as_echo "$CC_FOR_TARGET" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9807 $as_echo "no
" >&6; }
9812 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9814 set dummy ${ncn_progname}; ac_word=$2
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9816 $as_echo_n "checking
for $ac_word...
" >&6; }
9817 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9818 $as_echo_n "(cached
) " >&6
9820 if test -n "$CC_FOR_TARGET"; then
9821 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir=.
9828 for ac_exec_ext in '' $ac_executable_extensions; do
9829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9830 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9840 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9841 if test -n "$CC_FOR_TARGET"; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9843 $as_echo "$CC_FOR_TARGET" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9846 $as_echo "no
" >&6; }
9851 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9855 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9857 if test $build = $target ; then
9860 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9863 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9868 if test -n "$CXX_FOR_TARGET"; then
9869 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9870 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9871 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9874 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9875 for ncn_progname in c++ g++ cxx gxx; do
9876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9877 set dummy ${ncn_progname}; ac_word=$2
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9879 $as_echo_n "checking
for $ac_word...
" >&6; }
9880 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9881 $as_echo_n "(cached
) " >&6
9883 if test -n "$CXX_FOR_TARGET"; then
9884 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir=.
9891 for ac_exec_ext in '' $ac_executable_extensions; do
9892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9893 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9903 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9904 if test -n "$CXX_FOR_TARGET"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9906 $as_echo "$CXX_FOR_TARGET" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9909 $as_echo "no
" >&6; }
9916 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9917 for ncn_progname in c++ g++ cxx gxx; do
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9919 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9920 if test -x $with_build_time_tools/${ncn_progname}; then
9921 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9923 $as_echo "yes" >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9927 $as_echo "no
" >&6; }
9932 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9933 for ncn_progname in c++ g++ cxx gxx; do
9934 if test -n "$ncn_target_tool_prefix"; then
9935 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9936 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9938 $as_echo_n "checking
for $ac_word...
" >&6; }
9939 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9940 $as_echo_n "(cached
) " >&6
9942 if test -n "$CXX_FOR_TARGET"; then
9943 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9952 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9962 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9963 if test -n "$CXX_FOR_TARGET"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9965 $as_echo "$CXX_FOR_TARGET" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9968 $as_echo "no
" >&6; }
9973 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9975 set dummy ${ncn_progname}; ac_word=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9977 $as_echo_n "checking
for $ac_word...
" >&6; }
9978 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9979 $as_echo_n "(cached
) " >&6
9981 if test -n "$CXX_FOR_TARGET"; then
9982 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10001 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10002 if test -n "$CXX_FOR_TARGET"; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10004 $as_echo "$CXX_FOR_TARGET" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10012 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10016 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10017 set dummy c++ g++ cxx gxx
10018 if test $build = $target ; then
10019 CXX_FOR_TARGET="$2"
10021 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10024 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10029 if test -n "$GCC_FOR_TARGET"; then
10030 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10031 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10032 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10035 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10036 for ncn_progname in gcc; do
10037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10038 set dummy ${ncn_progname}; ac_word=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10040 $as_echo_n "checking
for $ac_word...
" >&6; }
10041 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10042 $as_echo_n "(cached
) " >&6
10044 if test -n "$GCC_FOR_TARGET"; then
10045 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048 for as_dir in $PATH
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10054 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10064 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10065 if test -n "$GCC_FOR_TARGET"; then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10067 $as_echo "$GCC_FOR_TARGET" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10070 $as_echo "no
" >&6; }
10077 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10078 for ncn_progname in gcc; do
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10080 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10081 if test -x $with_build_time_tools/${ncn_progname}; then
10082 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10084 $as_echo "yes" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10094 for ncn_progname in gcc; do
10095 if test -n "$ncn_target_tool_prefix"; then
10096 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10099 $as_echo_n "checking
for $ac_word...
" >&6; }
10100 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10101 $as_echo_n "(cached
) " >&6
10103 if test -n "$GCC_FOR_TARGET"; then
10104 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10107 for as_dir in $PATH
10110 test -z "$as_dir" && as_dir=.
10111 for ac_exec_ext in '' $ac_executable_extensions; do
10112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10113 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10123 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10124 if test -n "$GCC_FOR_TARGET"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10126 $as_echo "$GCC_FOR_TARGET" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10129 $as_echo "no
" >&6; }
10134 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10136 set dummy ${ncn_progname}; ac_word=$2
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10138 $as_echo_n "checking
for $ac_word...
" >&6; }
10139 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10140 $as_echo_n "(cached
) " >&6
10142 if test -n "$GCC_FOR_TARGET"; then
10143 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10152 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10162 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10163 if test -n "$GCC_FOR_TARGET"; then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10165 $as_echo "$GCC_FOR_TARGET" >&6; }
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10168 $as_echo "no
" >&6; }
10173 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10177 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10178 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10180 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10185 if test -n "$GCJ_FOR_TARGET"; then
10186 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10187 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10188 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10191 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10192 for ncn_progname in gcj; do
10193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10194 set dummy ${ncn_progname}; ac_word=$2
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10196 $as_echo_n "checking
for $ac_word...
" >&6; }
10197 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10198 $as_echo_n "(cached
) " >&6
10200 if test -n "$GCJ_FOR_TARGET"; then
10201 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10204 for as_dir in $PATH
10207 test -z "$as_dir" && as_dir=.
10208 for ac_exec_ext in '' $ac_executable_extensions; do
10209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10210 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10220 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10221 if test -n "$GCJ_FOR_TARGET"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10223 $as_echo "$GCJ_FOR_TARGET" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10226 $as_echo "no
" >&6; }
10233 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10234 for ncn_progname in gcj; do
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10236 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10237 if test -x $with_build_time_tools/${ncn_progname}; then
10238 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10240 $as_echo "yes" >&6; }
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10244 $as_echo "no
" >&6; }
10249 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10250 for ncn_progname in gcj; do
10251 if test -n "$ncn_target_tool_prefix"; then
10252 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10253 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10255 $as_echo_n "checking
for $ac_word...
" >&6; }
10256 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10257 $as_echo_n "(cached
) " >&6
10259 if test -n "$GCJ_FOR_TARGET"; then
10260 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10263 for as_dir in $PATH
10266 test -z "$as_dir" && as_dir=.
10267 for ac_exec_ext in '' $ac_executable_extensions; do
10268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10269 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10279 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10280 if test -n "$GCJ_FOR_TARGET"; then
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10282 $as_echo "$GCJ_FOR_TARGET" >&6; }
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10285 $as_echo "no
" >&6; }
10290 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10292 set dummy ${ncn_progname}; ac_word=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10294 $as_echo_n "checking
for $ac_word...
" >&6; }
10295 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10296 $as_echo_n "(cached
) " >&6
10298 if test -n "$GCJ_FOR_TARGET"; then
10299 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10302 for as_dir in $PATH
10305 test -z "$as_dir" && as_dir=.
10306 for ac_exec_ext in '' $ac_executable_extensions; do
10307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10308 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10318 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10319 if test -n "$GCJ_FOR_TARGET"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10321 $as_echo "$GCJ_FOR_TARGET" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10324 $as_echo "no
" >&6; }
10329 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10333 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10335 if test $build = $target ; then
10336 GCJ_FOR_TARGET="$2"
10338 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10341 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10346 if test -n "$GFORTRAN_FOR_TARGET"; then
10347 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10348 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10349 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10352 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10353 for ncn_progname in gfortran; do
10354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10355 set dummy ${ncn_progname}; ac_word=$2
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10357 $as_echo_n "checking
for $ac_word...
" >&6; }
10358 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10359 $as_echo_n "(cached
) " >&6
10361 if test -n "$GFORTRAN_FOR_TARGET"; then
10362 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10371 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10381 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10382 if test -n "$GFORTRAN_FOR_TARGET"; then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10384 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10387 $as_echo "no
" >&6; }
10394 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10395 for ncn_progname in gfortran; do
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10397 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10398 if test -x $with_build_time_tools/${ncn_progname}; then
10399 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10401 $as_echo "yes" >&6; }
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10405 $as_echo "no
" >&6; }
10410 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10411 for ncn_progname in gfortran; do
10412 if test -n "$ncn_target_tool_prefix"; then
10413 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10414 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10416 $as_echo_n "checking
for $ac_word...
" >&6; }
10417 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10418 $as_echo_n "(cached
) " >&6
10420 if test -n "$GFORTRAN_FOR_TARGET"; then
10421 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 for as_dir in $PATH
10427 test -z "$as_dir" && as_dir=.
10428 for ac_exec_ext in '' $ac_executable_extensions; do
10429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10430 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10440 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10441 if test -n "$GFORTRAN_FOR_TARGET"; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10443 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10446 $as_echo "no
" >&6; }
10451 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10453 set dummy ${ncn_progname}; ac_word=$2
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10455 $as_echo_n "checking
for $ac_word...
" >&6; }
10456 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10457 $as_echo_n "(cached
) " >&6
10459 if test -n "$GFORTRAN_FOR_TARGET"; then
10460 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10466 test -z "$as_dir" && as_dir=.
10467 for ac_exec_ext in '' $ac_executable_extensions; do
10468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10469 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10479 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10480 if test -n "$GFORTRAN_FOR_TARGET"; then
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10482 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10485 $as_echo "no
" >&6; }
10490 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10494 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10496 if test $build = $target ; then
10497 GFORTRAN_FOR_TARGET="$2"
10499 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10502 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10507 if test -n "$GOC_FOR_TARGET"; then
10508 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10509 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10510 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10513 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10514 for ncn_progname in gccgo; do
10515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10516 set dummy ${ncn_progname}; ac_word=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10518 $as_echo_n "checking
for $ac_word...
" >&6; }
10519 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10520 $as_echo_n "(cached
) " >&6
10522 if test -n "$GOC_FOR_TARGET"; then
10523 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10526 for as_dir in $PATH
10529 test -z "$as_dir" && as_dir=.
10530 for ac_exec_ext in '' $ac_executable_extensions; do
10531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10532 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10542 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10543 if test -n "$GOC_FOR_TARGET"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10545 $as_echo "$GOC_FOR_TARGET" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10548 $as_echo "no
" >&6; }
10555 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10556 for ncn_progname in gccgo; do
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10558 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10559 if test -x $with_build_time_tools/${ncn_progname}; then
10560 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10562 $as_echo "yes" >&6; }
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10566 $as_echo "no
" >&6; }
10571 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10572 for ncn_progname in gccgo; do
10573 if test -n "$ncn_target_tool_prefix"; then
10574 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10577 $as_echo_n "checking
for $ac_word...
" >&6; }
10578 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10579 $as_echo_n "(cached
) " >&6
10581 if test -n "$GOC_FOR_TARGET"; then
10582 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10591 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10602 if test -n "$GOC_FOR_TARGET"; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10604 $as_echo "$GOC_FOR_TARGET" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10607 $as_echo "no
" >&6; }
10612 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10614 set dummy ${ncn_progname}; ac_word=$2
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10616 $as_echo_n "checking
for $ac_word...
" >&6; }
10617 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10618 $as_echo_n "(cached
) " >&6
10620 if test -n "$GOC_FOR_TARGET"; then
10621 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624 for as_dir in $PATH
10627 test -z "$as_dir" && as_dir=.
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10630 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10640 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10641 if test -n "$GOC_FOR_TARGET"; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10643 $as_echo "$GOC_FOR_TARGET" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10646 $as_echo "no
" >&6; }
10651 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10655 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10657 if test $build = $target ; then
10658 GOC_FOR_TARGET="$2"
10660 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10663 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10668 cat > conftest.c << \EOF
10673 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10674 have_gcc_for_target=yes
10676 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10677 have_gcc_for_target=no
10684 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10685 if test -n "$with_build_time_tools"; then
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10687 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10688 if test -x $with_build_time_tools/ar; then
10689 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10690 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10692 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10695 $as_echo "no
" >&6; }
10697 elif test $build != $host && test $have_gcc_for_target = yes; then
10698 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10699 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10700 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10703 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10704 # Extract the first word of "ar", so it can be a program name with args.
10705 set dummy ar; ac_word=$2
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10707 $as_echo_n "checking
for $ac_word...
" >&6; }
10708 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10709 $as_echo_n "(cached
) " >&6
10711 case $AR_FOR_TARGET in
10713 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $gcc_cv_tool_dirs
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10723 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10734 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10735 if test -n "$AR_FOR_TARGET"; then
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10737 $as_echo "$AR_FOR_TARGET" >&6; }
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10740 $as_echo "no
" >&6; }
10745 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10748 if test -n "$AR_FOR_TARGET"; then
10749 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10750 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10751 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10754 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10755 for ncn_progname in ar; do
10756 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10757 set dummy ${ncn_progname}; ac_word=$2
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10759 $as_echo_n "checking
for $ac_word...
" >&6; }
10760 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10761 $as_echo_n "(cached
) " >&6
10763 if test -n "$AR_FOR_TARGET"; then
10764 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10767 for as_dir in $PATH
10770 test -z "$as_dir" && as_dir=.
10771 for ac_exec_ext in '' $ac_executable_extensions; do
10772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10773 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10783 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10784 if test -n "$AR_FOR_TARGET"; then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10786 $as_echo "$AR_FOR_TARGET" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10789 $as_echo "no
" >&6; }
10796 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10797 for ncn_progname in ar; do
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10799 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10800 if test -x $with_build_time_tools/${ncn_progname}; then
10801 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10803 $as_echo "yes" >&6; }
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10807 $as_echo "no
" >&6; }
10812 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10813 for ncn_progname in ar; do
10814 if test -n "$ncn_target_tool_prefix"; then
10815 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10816 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10818 $as_echo_n "checking
for $ac_word...
" >&6; }
10819 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10820 $as_echo_n "(cached
) " >&6
10822 if test -n "$AR_FOR_TARGET"; then
10823 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10826 for as_dir in $PATH
10829 test -z "$as_dir" && as_dir=.
10830 for ac_exec_ext in '' $ac_executable_extensions; do
10831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10832 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10842 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10843 if test -n "$AR_FOR_TARGET"; then
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10845 $as_echo "$AR_FOR_TARGET" >&6; }
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10848 $as_echo "no
" >&6; }
10853 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10855 set dummy ${ncn_progname}; ac_word=$2
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10857 $as_echo_n "checking
for $ac_word...
" >&6; }
10858 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10859 $as_echo_n "(cached
) " >&6
10861 if test -n "$AR_FOR_TARGET"; then
10862 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10865 for as_dir in $PATH
10868 test -z "$as_dir" && as_dir=.
10869 for ac_exec_ext in '' $ac_executable_extensions; do
10870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10871 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10881 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10882 if test -n "$AR_FOR_TARGET"; then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10884 $as_echo "$AR_FOR_TARGET" >&6; }
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10887 $as_echo "no
" >&6; }
10892 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10896 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10898 if test $build = $target ; then
10901 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10904 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10908 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10914 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10915 if test -n "$with_build_time_tools"; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10917 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10918 if test -x $with_build_time_tools/as; then
10919 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10920 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10922 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10925 $as_echo "no
" >&6; }
10927 elif test $build != $host && test $have_gcc_for_target = yes; then
10928 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10929 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10930 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10933 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10934 # Extract the first word of "as
", so it can be a program name with args.
10935 set dummy as; ac_word=$2
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10937 $as_echo_n "checking
for $ac_word...
" >&6; }
10938 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10939 $as_echo_n "(cached
) " >&6
10941 case $AS_FOR_TARGET in
10943 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10947 for as_dir in $gcc_cv_tool_dirs
10950 test -z "$as_dir" && as_dir=.
10951 for ac_exec_ext in '' $ac_executable_extensions; do
10952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10953 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10964 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10965 if test -n "$AS_FOR_TARGET"; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10967 $as_echo "$AS_FOR_TARGET" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10970 $as_echo "no
" >&6; }
10975 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10978 if test -n "$AS_FOR_TARGET"; then
10979 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10980 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10981 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10984 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10985 for ncn_progname in as; do
10986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10987 set dummy ${ncn_progname}; ac_word=$2
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10989 $as_echo_n "checking
for $ac_word...
" >&6; }
10990 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10991 $as_echo_n "(cached
) " >&6
10993 if test -n "$AS_FOR_TARGET"; then
10994 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10997 for as_dir in $PATH
11000 test -z "$as_dir" && as_dir=.
11001 for ac_exec_ext in '' $ac_executable_extensions; do
11002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11003 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11013 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11014 if test -n "$AS_FOR_TARGET"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11016 $as_echo "$AS_FOR_TARGET" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11019 $as_echo "no
" >&6; }
11026 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11027 for ncn_progname in as; do
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11029 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11030 if test -x $with_build_time_tools/${ncn_progname}; then
11031 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11033 $as_echo "yes" >&6; }
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11037 $as_echo "no
" >&6; }
11042 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11043 for ncn_progname in as; do
11044 if test -n "$ncn_target_tool_prefix"; then
11045 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11046 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11048 $as_echo_n "checking
for $ac_word...
" >&6; }
11049 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11050 $as_echo_n "(cached
) " >&6
11052 if test -n "$AS_FOR_TARGET"; then
11053 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11056 for as_dir in $PATH
11059 test -z "$as_dir" && as_dir=.
11060 for ac_exec_ext in '' $ac_executable_extensions; do
11061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11062 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11072 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11073 if test -n "$AS_FOR_TARGET"; then
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11075 $as_echo "$AS_FOR_TARGET" >&6; }
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11078 $as_echo "no
" >&6; }
11083 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11085 set dummy ${ncn_progname}; ac_word=$2
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11087 $as_echo_n "checking
for $ac_word...
" >&6; }
11088 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11089 $as_echo_n "(cached
) " >&6
11091 if test -n "$AS_FOR_TARGET"; then
11092 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11095 for as_dir in $PATH
11098 test -z "$as_dir" && as_dir=.
11099 for ac_exec_ext in '' $ac_executable_extensions; do
11100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11101 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11111 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11112 if test -n "$AS_FOR_TARGET"; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11114 $as_echo "$AS_FOR_TARGET" >&6; }
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11117 $as_echo "no
" >&6; }
11122 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11126 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11128 if test $build = $target ; then
11131 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11134 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11138 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11144 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11145 if test -n "$with_build_time_tools"; then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11147 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11148 if test -x $with_build_time_tools/dlltool; then
11149 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11150 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11152 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11155 $as_echo "no
" >&6; }
11157 elif test $build != $host && test $have_gcc_for_target = yes; then
11158 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11159 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11160 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11163 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11164 # Extract the first word of "dlltool
", so it can be a program name with args.
11165 set dummy dlltool; ac_word=$2
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11167 $as_echo_n "checking
for $ac_word...
" >&6; }
11168 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11169 $as_echo_n "(cached
) " >&6
11171 case $DLLTOOL_FOR_TARGET in
11173 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11177 for as_dir in $gcc_cv_tool_dirs
11180 test -z "$as_dir" && as_dir=.
11181 for ac_exec_ext in '' $ac_executable_extensions; do
11182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11183 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11194 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11195 if test -n "$DLLTOOL_FOR_TARGET"; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11197 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11200 $as_echo "no
" >&6; }
11205 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11208 if test -n "$DLLTOOL_FOR_TARGET"; then
11209 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11210 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11211 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11214 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11215 for ncn_progname in dlltool; do
11216 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11217 set dummy ${ncn_progname}; ac_word=$2
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11219 $as_echo_n "checking
for $ac_word...
" >&6; }
11220 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11221 $as_echo_n "(cached
) " >&6
11223 if test -n "$DLLTOOL_FOR_TARGET"; then
11224 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11227 for as_dir in $PATH
11230 test -z "$as_dir" && as_dir=.
11231 for ac_exec_ext in '' $ac_executable_extensions; do
11232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11233 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11243 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11244 if test -n "$DLLTOOL_FOR_TARGET"; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11246 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11249 $as_echo "no
" >&6; }
11256 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11257 for ncn_progname in dlltool; do
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11259 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11260 if test -x $with_build_time_tools/${ncn_progname}; then
11261 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11263 $as_echo "yes" >&6; }
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11267 $as_echo "no
" >&6; }
11272 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11273 for ncn_progname in dlltool; do
11274 if test -n "$ncn_target_tool_prefix"; then
11275 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11276 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11278 $as_echo_n "checking
for $ac_word...
" >&6; }
11279 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11280 $as_echo_n "(cached
) " >&6
11282 if test -n "$DLLTOOL_FOR_TARGET"; then
11283 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $PATH
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11292 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11302 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11303 if test -n "$DLLTOOL_FOR_TARGET"; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11305 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11308 $as_echo "no
" >&6; }
11313 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11315 set dummy ${ncn_progname}; ac_word=$2
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11317 $as_echo_n "checking
for $ac_word...
" >&6; }
11318 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11319 $as_echo_n "(cached
) " >&6
11321 if test -n "$DLLTOOL_FOR_TARGET"; then
11322 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11325 for as_dir in $PATH
11328 test -z "$as_dir" && as_dir=.
11329 for ac_exec_ext in '' $ac_executable_extensions; do
11330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11331 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11341 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11342 if test -n "$DLLTOOL_FOR_TARGET"; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11344 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11347 $as_echo "no
" >&6; }
11352 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11356 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11358 if test $build = $target ; then
11359 DLLTOOL_FOR_TARGET="$2"
11361 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11364 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11368 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11374 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11375 if test -n "$with_build_time_tools"; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11377 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11378 if test -x $with_build_time_tools/ld; then
11379 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11380 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11382 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11385 $as_echo "no
" >&6; }
11387 elif test $build != $host && test $have_gcc_for_target = yes; then
11388 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11389 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11390 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11393 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11394 # Extract the first word of "ld
", so it can be a program name with args.
11395 set dummy ld; ac_word=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11397 $as_echo_n "checking
for $ac_word...
" >&6; }
11398 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11399 $as_echo_n "(cached
) " >&6
11401 case $LD_FOR_TARGET in
11403 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11407 for as_dir in $gcc_cv_tool_dirs
11410 test -z "$as_dir" && as_dir=.
11411 for ac_exec_ext in '' $ac_executable_extensions; do
11412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11413 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11424 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11425 if test -n "$LD_FOR_TARGET"; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11427 $as_echo "$LD_FOR_TARGET" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11430 $as_echo "no
" >&6; }
11435 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11438 if test -n "$LD_FOR_TARGET"; then
11439 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11440 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11441 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11444 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11445 for ncn_progname in ld; do
11446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11447 set dummy ${ncn_progname}; ac_word=$2
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11449 $as_echo_n "checking
for $ac_word...
" >&6; }
11450 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11451 $as_echo_n "(cached
) " >&6
11453 if test -n "$LD_FOR_TARGET"; then
11454 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11457 for as_dir in $PATH
11460 test -z "$as_dir" && as_dir=.
11461 for ac_exec_ext in '' $ac_executable_extensions; do
11462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11463 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11473 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11474 if test -n "$LD_FOR_TARGET"; then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11476 $as_echo "$LD_FOR_TARGET" >&6; }
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11479 $as_echo "no
" >&6; }
11486 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11487 for ncn_progname in ld; do
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11489 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11490 if test -x $with_build_time_tools/${ncn_progname}; then
11491 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11493 $as_echo "yes" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11497 $as_echo "no
" >&6; }
11502 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11503 for ncn_progname in ld; do
11504 if test -n "$ncn_target_tool_prefix"; then
11505 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11506 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11508 $as_echo_n "checking
for $ac_word...
" >&6; }
11509 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11510 $as_echo_n "(cached
) " >&6
11512 if test -n "$LD_FOR_TARGET"; then
11513 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11516 for as_dir in $PATH
11519 test -z "$as_dir" && as_dir=.
11520 for ac_exec_ext in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11532 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11533 if test -n "$LD_FOR_TARGET"; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11535 $as_echo "$LD_FOR_TARGET" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11538 $as_echo "no
" >&6; }
11543 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11545 set dummy ${ncn_progname}; ac_word=$2
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11547 $as_echo_n "checking
for $ac_word...
" >&6; }
11548 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11549 $as_echo_n "(cached
) " >&6
11551 if test -n "$LD_FOR_TARGET"; then
11552 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11555 for as_dir in $PATH
11558 test -z "$as_dir" && as_dir=.
11559 for ac_exec_ext in '' $ac_executable_extensions; do
11560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11561 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11571 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11572 if test -n "$LD_FOR_TARGET"; then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11574 $as_echo "$LD_FOR_TARGET" >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11577 $as_echo "no
" >&6; }
11582 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11586 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11588 if test $build = $target ; then
11591 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11594 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11598 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11604 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11605 if test -n "$with_build_time_tools"; then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11607 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11608 if test -x $with_build_time_tools/lipo; then
11609 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11610 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11612 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11615 $as_echo "no
" >&6; }
11617 elif test $build != $host && test $have_gcc_for_target = yes; then
11618 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11619 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11620 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11623 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11624 # Extract the first word of "lipo
", so it can be a program name with args.
11625 set dummy lipo; ac_word=$2
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11627 $as_echo_n "checking
for $ac_word...
" >&6; }
11628 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11629 $as_echo_n "(cached
) " >&6
11631 case $LIPO_FOR_TARGET in
11633 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11637 for as_dir in $gcc_cv_tool_dirs
11640 test -z "$as_dir" && as_dir=.
11641 for ac_exec_ext in '' $ac_executable_extensions; do
11642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11643 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11654 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11655 if test -n "$LIPO_FOR_TARGET"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11657 $as_echo "$LIPO_FOR_TARGET" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11660 $as_echo "no
" >&6; }
11665 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11668 if test -n "$LIPO_FOR_TARGET"; then
11669 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11670 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11671 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11674 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11675 for ncn_progname in lipo; do
11676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11677 set dummy ${ncn_progname}; ac_word=$2
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11679 $as_echo_n "checking
for $ac_word...
" >&6; }
11680 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11681 $as_echo_n "(cached
) " >&6
11683 if test -n "$LIPO_FOR_TARGET"; then
11684 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11690 test -z "$as_dir" && as_dir=.
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11693 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11703 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11704 if test -n "$LIPO_FOR_TARGET"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11706 $as_echo "$LIPO_FOR_TARGET" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11709 $as_echo "no
" >&6; }
11716 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11717 for ncn_progname in lipo; do
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11719 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11720 if test -x $with_build_time_tools/${ncn_progname}; then
11721 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11723 $as_echo "yes" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11727 $as_echo "no
" >&6; }
11732 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11733 for ncn_progname in lipo; do
11734 if test -n "$ncn_target_tool_prefix"; then
11735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11738 $as_echo_n "checking
for $ac_word...
" >&6; }
11739 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11740 $as_echo_n "(cached
) " >&6
11742 if test -n "$LIPO_FOR_TARGET"; then
11743 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11746 for as_dir in $PATH
11749 test -z "$as_dir" && as_dir=.
11750 for ac_exec_ext in '' $ac_executable_extensions; do
11751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11752 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11762 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11763 if test -n "$LIPO_FOR_TARGET"; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11765 $as_echo "$LIPO_FOR_TARGET" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11768 $as_echo "no
" >&6; }
11773 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11775 set dummy ${ncn_progname}; ac_word=$2
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11777 $as_echo_n "checking
for $ac_word...
" >&6; }
11778 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11779 $as_echo_n "(cached
) " >&6
11781 if test -n "$LIPO_FOR_TARGET"; then
11782 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11801 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11802 if test -n "$LIPO_FOR_TARGET"; then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11804 $as_echo "$LIPO_FOR_TARGET" >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11807 $as_echo "no
" >&6; }
11812 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11816 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11818 if test $build = $target ; then
11819 LIPO_FOR_TARGET="$2"
11821 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11824 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11828 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11834 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11835 if test -n "$with_build_time_tools"; then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11837 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11838 if test -x $with_build_time_tools/nm; then
11839 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11840 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11842 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11845 $as_echo "no
" >&6; }
11847 elif test $build != $host && test $have_gcc_for_target = yes; then
11848 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11849 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11850 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11853 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11854 # Extract the first word of "nm
", so it can be a program name with args.
11855 set dummy nm; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11857 $as_echo_n "checking
for $ac_word...
" >&6; }
11858 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11859 $as_echo_n "(cached
) " >&6
11861 case $NM_FOR_TARGET in
11863 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $gcc_cv_tool_dirs
11870 test -z "$as_dir" && as_dir=.
11871 for ac_exec_ext in '' $ac_executable_extensions; do
11872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11873 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11884 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11885 if test -n "$NM_FOR_TARGET"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11887 $as_echo "$NM_FOR_TARGET" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11890 $as_echo "no
" >&6; }
11895 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11898 if test -n "$NM_FOR_TARGET"; then
11899 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11900 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11901 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11904 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11905 for ncn_progname in nm; do
11906 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11907 set dummy ${ncn_progname}; ac_word=$2
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11909 $as_echo_n "checking
for $ac_word...
" >&6; }
11910 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11911 $as_echo_n "(cached
) " >&6
11913 if test -n "$NM_FOR_TARGET"; then
11914 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917 for as_dir in $PATH
11920 test -z "$as_dir" && as_dir=.
11921 for ac_exec_ext in '' $ac_executable_extensions; do
11922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11933 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11934 if test -n "$NM_FOR_TARGET"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11936 $as_echo "$NM_FOR_TARGET" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11939 $as_echo "no
" >&6; }
11946 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11947 for ncn_progname in nm; do
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11949 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11950 if test -x $with_build_time_tools/${ncn_progname}; then
11951 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11953 $as_echo "yes" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11957 $as_echo "no
" >&6; }
11962 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11963 for ncn_progname in nm; do
11964 if test -n "$ncn_target_tool_prefix"; then
11965 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11966 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11968 $as_echo_n "checking
for $ac_word...
" >&6; }
11969 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11970 $as_echo_n "(cached
) " >&6
11972 if test -n "$NM_FOR_TARGET"; then
11973 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11979 test -z "$as_dir" && as_dir=.
11980 for ac_exec_ext in '' $ac_executable_extensions; do
11981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11982 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11992 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11993 if test -n "$NM_FOR_TARGET"; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11995 $as_echo "$NM_FOR_TARGET" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11998 $as_echo "no
" >&6; }
12003 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12005 set dummy ${ncn_progname}; ac_word=$2
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12007 $as_echo_n "checking
for $ac_word...
" >&6; }
12008 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12009 $as_echo_n "(cached
) " >&6
12011 if test -n "$NM_FOR_TARGET"; then
12012 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12015 for as_dir in $PATH
12018 test -z "$as_dir" && as_dir=.
12019 for ac_exec_ext in '' $ac_executable_extensions; do
12020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12021 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12031 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12032 if test -n "$NM_FOR_TARGET"; then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12034 $as_echo "$NM_FOR_TARGET" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12037 $as_echo "no
" >&6; }
12042 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12046 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12048 if test $build = $target ; then
12051 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12054 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12058 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12064 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12065 if test -n "$with_build_time_tools"; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12067 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12068 if test -x $with_build_time_tools/objdump; then
12069 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12070 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12072 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12075 $as_echo "no
" >&6; }
12077 elif test $build != $host && test $have_gcc_for_target = yes; then
12078 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12079 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12080 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12083 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12084 # Extract the first word of "objdump
", so it can be a program name with args.
12085 set dummy objdump; ac_word=$2
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12087 $as_echo_n "checking
for $ac_word...
" >&6; }
12088 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12089 $as_echo_n "(cached
) " >&6
12091 case $OBJDUMP_FOR_TARGET in
12093 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12097 for as_dir in $gcc_cv_tool_dirs
12100 test -z "$as_dir" && as_dir=.
12101 for ac_exec_ext in '' $ac_executable_extensions; do
12102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12103 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12114 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12115 if test -n "$OBJDUMP_FOR_TARGET"; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12117 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12120 $as_echo "no
" >&6; }
12125 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12128 if test -n "$OBJDUMP_FOR_TARGET"; then
12129 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12130 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12131 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12134 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12135 for ncn_progname in objdump; do
12136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12137 set dummy ${ncn_progname}; ac_word=$2
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12139 $as_echo_n "checking
for $ac_word...
" >&6; }
12140 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12141 $as_echo_n "(cached
) " >&6
12143 if test -n "$OBJDUMP_FOR_TARGET"; then
12144 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12147 for as_dir in $PATH
12150 test -z "$as_dir" && as_dir=.
12151 for ac_exec_ext in '' $ac_executable_extensions; do
12152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12163 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12164 if test -n "$OBJDUMP_FOR_TARGET"; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12166 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12169 $as_echo "no
" >&6; }
12176 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12177 for ncn_progname in objdump; do
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12179 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12180 if test -x $with_build_time_tools/${ncn_progname}; then
12181 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12183 $as_echo "yes" >&6; }
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12187 $as_echo "no
" >&6; }
12192 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12193 for ncn_progname in objdump; do
12194 if test -n "$ncn_target_tool_prefix"; then
12195 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12196 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12198 $as_echo_n "checking
for $ac_word...
" >&6; }
12199 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12200 $as_echo_n "(cached
) " >&6
12202 if test -n "$OBJDUMP_FOR_TARGET"; then
12203 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12206 for as_dir in $PATH
12209 test -z "$as_dir" && as_dir=.
12210 for ac_exec_ext in '' $ac_executable_extensions; do
12211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12212 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12222 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12223 if test -n "$OBJDUMP_FOR_TARGET"; then
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12225 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12228 $as_echo "no
" >&6; }
12233 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12234 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12235 set dummy ${ncn_progname}; ac_word=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12237 $as_echo_n "checking
for $ac_word...
" >&6; }
12238 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12239 $as_echo_n "(cached
) " >&6
12241 if test -n "$OBJDUMP_FOR_TARGET"; then
12242 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12245 for as_dir in $PATH
12248 test -z "$as_dir" && as_dir=.
12249 for ac_exec_ext in '' $ac_executable_extensions; do
12250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12251 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12261 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12262 if test -n "$OBJDUMP_FOR_TARGET"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12264 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12267 $as_echo "no
" >&6; }
12272 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12276 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12278 if test $build = $target ; then
12279 OBJDUMP_FOR_TARGET="$2"
12281 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12284 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12288 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12294 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12295 if test -n "$with_build_time_tools"; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12297 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12298 if test -x $with_build_time_tools/ranlib; then
12299 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12300 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12302 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12305 $as_echo "no
" >&6; }
12307 elif test $build != $host && test $have_gcc_for_target = yes; then
12308 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12309 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12310 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12313 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12314 # Extract the first word of "ranlib
", so it can be a program name with args.
12315 set dummy ranlib; ac_word=$2
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12317 $as_echo_n "checking
for $ac_word...
" >&6; }
12318 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12319 $as_echo_n "(cached
) " >&6
12321 case $RANLIB_FOR_TARGET in
12323 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12327 for as_dir in $gcc_cv_tool_dirs
12330 test -z "$as_dir" && as_dir=.
12331 for ac_exec_ext in '' $ac_executable_extensions; do
12332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12333 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12344 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12345 if test -n "$RANLIB_FOR_TARGET"; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12347 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12350 $as_echo "no
" >&6; }
12355 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12358 if test -n "$RANLIB_FOR_TARGET"; then
12359 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12360 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12361 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12364 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12365 for ncn_progname in ranlib; do
12366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12367 set dummy ${ncn_progname}; ac_word=$2
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12369 $as_echo_n "checking
for $ac_word...
" >&6; }
12370 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12371 $as_echo_n "(cached
) " >&6
12373 if test -n "$RANLIB_FOR_TARGET"; then
12374 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12377 for as_dir in $PATH
12380 test -z "$as_dir" && as_dir=.
12381 for ac_exec_ext in '' $ac_executable_extensions; do
12382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12383 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12393 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12394 if test -n "$RANLIB_FOR_TARGET"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12396 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12399 $as_echo "no
" >&6; }
12406 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12407 for ncn_progname in ranlib; do
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12409 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12410 if test -x $with_build_time_tools/${ncn_progname}; then
12411 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12413 $as_echo "yes" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12417 $as_echo "no
" >&6; }
12422 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12423 for ncn_progname in ranlib; do
12424 if test -n "$ncn_target_tool_prefix"; then
12425 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12426 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12428 $as_echo_n "checking
for $ac_word...
" >&6; }
12429 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12430 $as_echo_n "(cached
) " >&6
12432 if test -n "$RANLIB_FOR_TARGET"; then
12433 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12436 for as_dir in $PATH
12439 test -z "$as_dir" && as_dir=.
12440 for ac_exec_ext in '' $ac_executable_extensions; do
12441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12442 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12452 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12453 if test -n "$RANLIB_FOR_TARGET"; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12455 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12458 $as_echo "no
" >&6; }
12463 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12465 set dummy ${ncn_progname}; ac_word=$2
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12467 $as_echo_n "checking
for $ac_word...
" >&6; }
12468 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12469 $as_echo_n "(cached
) " >&6
12471 if test -n "$RANLIB_FOR_TARGET"; then
12472 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12475 for as_dir in $PATH
12478 test -z "$as_dir" && as_dir=.
12479 for ac_exec_ext in '' $ac_executable_extensions; do
12480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12481 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12491 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12492 if test -n "$RANLIB_FOR_TARGET"; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12494 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12497 $as_echo "no
" >&6; }
12502 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12506 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12508 if test $build = $target ; then
12509 RANLIB_FOR_TARGET="$2"
12511 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12514 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12518 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12524 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12525 if test -n "$with_build_time_tools"; then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12527 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12528 if test -x $with_build_time_tools/readelf; then
12529 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12530 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12532 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12535 $as_echo "no
" >&6; }
12537 elif test $build != $host && test $have_gcc_for_target = yes; then
12538 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12539 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12540 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12543 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12544 # Extract the first word of "readelf
", so it can be a program name with args.
12545 set dummy readelf; ac_word=$2
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12547 $as_echo_n "checking
for $ac_word...
" >&6; }
12548 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12549 $as_echo_n "(cached
) " >&6
12551 case $READELF_FOR_TARGET in
12553 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12557 for as_dir in $gcc_cv_tool_dirs
12560 test -z "$as_dir" && as_dir=.
12561 for ac_exec_ext in '' $ac_executable_extensions; do
12562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12563 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12574 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12575 if test -n "$READELF_FOR_TARGET"; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12577 $as_echo "$READELF_FOR_TARGET" >&6; }
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12580 $as_echo "no
" >&6; }
12585 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12588 if test -n "$READELF_FOR_TARGET"; then
12589 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12590 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12591 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12594 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12595 for ncn_progname in readelf; do
12596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12597 set dummy ${ncn_progname}; ac_word=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12599 $as_echo_n "checking
for $ac_word...
" >&6; }
12600 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12601 $as_echo_n "(cached
) " >&6
12603 if test -n "$READELF_FOR_TARGET"; then
12604 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12623 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12624 if test -n "$READELF_FOR_TARGET"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12626 $as_echo "$READELF_FOR_TARGET" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12629 $as_echo "no
" >&6; }
12636 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12637 for ncn_progname in readelf; do
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12639 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12640 if test -x $with_build_time_tools/${ncn_progname}; then
12641 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12643 $as_echo "yes" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12647 $as_echo "no
" >&6; }
12652 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12653 for ncn_progname in readelf; do
12654 if test -n "$ncn_target_tool_prefix"; then
12655 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12656 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12658 $as_echo_n "checking
for $ac_word...
" >&6; }
12659 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12660 $as_echo_n "(cached
) " >&6
12662 if test -n "$READELF_FOR_TARGET"; then
12663 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12666 for as_dir in $PATH
12669 test -z "$as_dir" && as_dir=.
12670 for ac_exec_ext in '' $ac_executable_extensions; do
12671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12672 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12682 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12683 if test -n "$READELF_FOR_TARGET"; then
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12685 $as_echo "$READELF_FOR_TARGET" >&6; }
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12688 $as_echo "no
" >&6; }
12693 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12694 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12695 set dummy ${ncn_progname}; ac_word=$2
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12697 $as_echo_n "checking
for $ac_word...
" >&6; }
12698 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12699 $as_echo_n "(cached
) " >&6
12701 if test -n "$READELF_FOR_TARGET"; then
12702 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12705 for as_dir in $PATH
12708 test -z "$as_dir" && as_dir=.
12709 for ac_exec_ext in '' $ac_executable_extensions; do
12710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12711 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12721 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12722 if test -n "$READELF_FOR_TARGET"; then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12724 $as_echo "$READELF_FOR_TARGET" >&6; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12727 $as_echo "no
" >&6; }
12732 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12736 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12738 if test $build = $target ; then
12739 READELF_FOR_TARGET="$2"
12741 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12744 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12748 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12754 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12755 if test -n "$with_build_time_tools"; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12757 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12758 if test -x $with_build_time_tools/strip; then
12759 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12760 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12762 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12765 $as_echo "no
" >&6; }
12767 elif test $build != $host && test $have_gcc_for_target = yes; then
12768 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12769 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12770 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12773 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12774 # Extract the first word of "strip
", so it can be a program name with args.
12775 set dummy strip; ac_word=$2
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12777 $as_echo_n "checking
for $ac_word...
" >&6; }
12778 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12779 $as_echo_n "(cached
) " >&6
12781 case $STRIP_FOR_TARGET in
12783 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $gcc_cv_tool_dirs
12790 test -z "$as_dir" && as_dir=.
12791 for ac_exec_ext in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12793 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12804 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12805 if test -n "$STRIP_FOR_TARGET"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12807 $as_echo "$STRIP_FOR_TARGET" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12810 $as_echo "no
" >&6; }
12815 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12818 if test -n "$STRIP_FOR_TARGET"; then
12819 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12820 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12821 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12824 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12825 for ncn_progname in strip; do
12826 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12827 set dummy ${ncn_progname}; ac_word=$2
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12829 $as_echo_n "checking
for $ac_word...
" >&6; }
12830 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12831 $as_echo_n "(cached
) " >&6
12833 if test -n "$STRIP_FOR_TARGET"; then
12834 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12837 for as_dir in $PATH
12840 test -z "$as_dir" && as_dir=.
12841 for ac_exec_ext in '' $ac_executable_extensions; do
12842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12843 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12853 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12854 if test -n "$STRIP_FOR_TARGET"; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12856 $as_echo "$STRIP_FOR_TARGET" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12859 $as_echo "no
" >&6; }
12866 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12867 for ncn_progname in strip; do
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12869 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12870 if test -x $with_build_time_tools/${ncn_progname}; then
12871 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12873 $as_echo "yes" >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12877 $as_echo "no
" >&6; }
12882 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12883 for ncn_progname in strip; do
12884 if test -n "$ncn_target_tool_prefix"; then
12885 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12886 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12888 $as_echo_n "checking
for $ac_word...
" >&6; }
12889 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12890 $as_echo_n "(cached
) " >&6
12892 if test -n "$STRIP_FOR_TARGET"; then
12893 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896 for as_dir in $PATH
12899 test -z "$as_dir" && as_dir=.
12900 for ac_exec_ext in '' $ac_executable_extensions; do
12901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12902 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12912 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12913 if test -n "$STRIP_FOR_TARGET"; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12915 $as_echo "$STRIP_FOR_TARGET" >&6; }
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12918 $as_echo "no
" >&6; }
12923 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12924 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12925 set dummy ${ncn_progname}; ac_word=$2
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12927 $as_echo_n "checking
for $ac_word...
" >&6; }
12928 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12929 $as_echo_n "(cached
) " >&6
12931 if test -n "$STRIP_FOR_TARGET"; then
12932 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12951 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12952 if test -n "$STRIP_FOR_TARGET"; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12954 $as_echo "$STRIP_FOR_TARGET" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12957 $as_echo "no
" >&6; }
12962 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12966 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12968 if test $build = $target ; then
12969 STRIP_FOR_TARGET="$2"
12971 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12974 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12978 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12984 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12985 if test -n "$with_build_time_tools"; then
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12987 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12988 if test -x $with_build_time_tools/windres; then
12989 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12990 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12992 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12995 $as_echo "no
" >&6; }
12997 elif test $build != $host && test $have_gcc_for_target = yes; then
12998 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12999 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13000 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13003 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13004 # Extract the first word of "windres
", so it can be a program name with args.
13005 set dummy windres; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13007 $as_echo_n "checking
for $ac_word...
" >&6; }
13008 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13009 $as_echo_n "(cached
) " >&6
13011 case $WINDRES_FOR_TARGET in
13013 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13017 for as_dir in $gcc_cv_tool_dirs
13020 test -z "$as_dir" && as_dir=.
13021 for ac_exec_ext in '' $ac_executable_extensions; do
13022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13023 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13034 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13035 if test -n "$WINDRES_FOR_TARGET"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13037 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13040 $as_echo "no
" >&6; }
13045 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13048 if test -n "$WINDRES_FOR_TARGET"; then
13049 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13050 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13051 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13054 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13055 for ncn_progname in windres; do
13056 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13057 set dummy ${ncn_progname}; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13059 $as_echo_n "checking
for $ac_word...
" >&6; }
13060 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13061 $as_echo_n "(cached
) " >&6
13063 if test -n "$WINDRES_FOR_TARGET"; then
13064 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13067 for as_dir in $PATH
13070 test -z "$as_dir" && as_dir=.
13071 for ac_exec_ext in '' $ac_executable_extensions; do
13072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13073 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13083 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13084 if test -n "$WINDRES_FOR_TARGET"; then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13086 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13089 $as_echo "no
" >&6; }
13096 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13097 for ncn_progname in windres; do
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13099 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13100 if test -x $with_build_time_tools/${ncn_progname}; then
13101 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13103 $as_echo "yes" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13107 $as_echo "no
" >&6; }
13112 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13113 for ncn_progname in windres; do
13114 if test -n "$ncn_target_tool_prefix"; then
13115 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13116 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13118 $as_echo_n "checking
for $ac_word...
" >&6; }
13119 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13120 $as_echo_n "(cached
) " >&6
13122 if test -n "$WINDRES_FOR_TARGET"; then
13123 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13126 for as_dir in $PATH
13129 test -z "$as_dir" && as_dir=.
13130 for ac_exec_ext in '' $ac_executable_extensions; do
13131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13132 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13142 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13143 if test -n "$WINDRES_FOR_TARGET"; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13145 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13148 $as_echo "no
" >&6; }
13153 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13154 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13155 set dummy ${ncn_progname}; ac_word=$2
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13157 $as_echo_n "checking
for $ac_word...
" >&6; }
13158 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13159 $as_echo_n "(cached
) " >&6
13161 if test -n "$WINDRES_FOR_TARGET"; then
13162 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13171 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13181 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13182 if test -n "$WINDRES_FOR_TARGET"; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13184 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13187 $as_echo "no
" >&6; }
13192 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13196 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13198 if test $build = $target ; then
13199 WINDRES_FOR_TARGET="$2"
13201 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13204 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13208 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13214 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13215 if test -n "$with_build_time_tools"; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13217 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13218 if test -x $with_build_time_tools/windmc; then
13219 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13220 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13222 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13225 $as_echo "no
" >&6; }
13227 elif test $build != $host && test $have_gcc_for_target = yes; then
13228 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13229 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13230 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13233 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13234 # Extract the first word of "windmc
", so it can be a program name with args.
13235 set dummy windmc; ac_word=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13237 $as_echo_n "checking
for $ac_word...
" >&6; }
13238 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13239 $as_echo_n "(cached
) " >&6
13241 case $WINDMC_FOR_TARGET in
13243 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13247 for as_dir in $gcc_cv_tool_dirs
13250 test -z "$as_dir" && as_dir=.
13251 for ac_exec_ext in '' $ac_executable_extensions; do
13252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13253 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13264 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13265 if test -n "$WINDMC_FOR_TARGET"; then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13267 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13270 $as_echo "no
" >&6; }
13275 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13278 if test -n "$WINDMC_FOR_TARGET"; then
13279 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13280 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13281 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13284 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13285 for ncn_progname in windmc; do
13286 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13287 set dummy ${ncn_progname}; ac_word=$2
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13289 $as_echo_n "checking
for $ac_word...
" >&6; }
13290 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13291 $as_echo_n "(cached
) " >&6
13293 if test -n "$WINDMC_FOR_TARGET"; then
13294 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13297 for as_dir in $PATH
13300 test -z "$as_dir" && as_dir=.
13301 for ac_exec_ext in '' $ac_executable_extensions; do
13302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13303 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13313 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13314 if test -n "$WINDMC_FOR_TARGET"; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13316 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13319 $as_echo "no
" >&6; }
13326 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13327 for ncn_progname in windmc; do
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13329 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13330 if test -x $with_build_time_tools/${ncn_progname}; then
13331 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13333 $as_echo "yes" >&6; }
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13337 $as_echo "no
" >&6; }
13342 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13343 for ncn_progname in windmc; do
13344 if test -n "$ncn_target_tool_prefix"; then
13345 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13346 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13348 $as_echo_n "checking
for $ac_word...
" >&6; }
13349 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13350 $as_echo_n "(cached
) " >&6
13352 if test -n "$WINDMC_FOR_TARGET"; then
13353 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $PATH
13359 test -z "$as_dir" && as_dir=.
13360 for ac_exec_ext in '' $ac_executable_extensions; do
13361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13362 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13372 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13373 if test -n "$WINDMC_FOR_TARGET"; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13375 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13378 $as_echo "no
" >&6; }
13383 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13385 set dummy ${ncn_progname}; ac_word=$2
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13387 $as_echo_n "checking
for $ac_word...
" >&6; }
13388 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13389 $as_echo_n "(cached
) " >&6
13391 if test -n "$WINDMC_FOR_TARGET"; then
13392 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13395 for as_dir in $PATH
13398 test -z "$as_dir" && as_dir=.
13399 for ac_exec_ext in '' $ac_executable_extensions; do
13400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13401 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13411 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13412 if test -n "$WINDMC_FOR_TARGET"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13414 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13417 $as_echo "no
" >&6; }
13422 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13426 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13428 if test $build = $target ; then
13429 WINDMC_FOR_TARGET="$2"
13431 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13434 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13438 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13442 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13445 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13446 if test "x
${build}" != "x
${host}" ; then
13447 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13448 # We already found the complete path
13449 ac_dir=`dirname $AR_FOR_TARGET`
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13451 $as_echo "pre-installed
in $ac_dir" >&6; }
13453 # Canadian cross, just use what we found
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13455 $as_echo "pre-installed
" >&6; }
13459 case " ${configdirs} " in
13464 if test $ok = yes; then
13465 # An in-tree tool is available and we can use it
13466 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13468 $as_echo "just compiled
" >&6; }
13469 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13470 # We already found the complete path
13471 ac_dir=`dirname $AR_FOR_TARGET`
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13473 $as_echo "pre-installed
in $ac_dir" >&6; }
13474 elif test "x
$target" = "x
$host"; then
13475 # We can use an host tool
13476 AR_FOR_TARGET='$(AR)'
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13478 $as_echo "host tool
" >&6; }
13480 # We need a cross tool
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13482 $as_echo "pre-installed
" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13487 $as_echo_n "checking where to
find the target as...
" >&6; }
13488 if test "x
${build}" != "x
${host}" ; then
13489 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13490 # We already found the complete path
13491 ac_dir=`dirname $AS_FOR_TARGET`
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13493 $as_echo "pre-installed
in $ac_dir" >&6; }
13495 # Canadian cross, just use what we found
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13497 $as_echo "pre-installed
" >&6; }
13501 case " ${configdirs} " in
13506 if test $ok = yes; then
13507 # An in-tree tool is available and we can use it
13508 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13510 $as_echo "just compiled
" >&6; }
13511 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13512 # We already found the complete path
13513 ac_dir=`dirname $AS_FOR_TARGET`
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13515 $as_echo "pre-installed
in $ac_dir" >&6; }
13516 elif test "x
$target" = "x
$host"; then
13517 # We can use an host tool
13518 AS_FOR_TARGET='$(AS)'
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13520 $as_echo "host tool
" >&6; }
13522 # We need a cross tool
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13524 $as_echo "pre-installed
" >&6; }
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13529 $as_echo_n "checking where to
find the target cc...
" >&6; }
13530 if test "x
${build}" != "x
${host}" ; then
13531 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13532 # We already found the complete path
13533 ac_dir=`dirname $CC_FOR_TARGET`
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13535 $as_echo "pre-installed
in $ac_dir" >&6; }
13537 # Canadian cross, just use what we found
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13539 $as_echo "pre-installed
" >&6; }
13543 case " ${configdirs} " in
13548 if test $ok = yes; then
13549 # An in-tree tool is available and we can use it
13550 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13552 $as_echo "just compiled
" >&6; }
13553 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13554 # We already found the complete path
13555 ac_dir=`dirname $CC_FOR_TARGET`
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13557 $as_echo "pre-installed
in $ac_dir" >&6; }
13558 elif test "x
$target" = "x
$host"; then
13559 # We can use an host tool
13560 CC_FOR_TARGET='$(CC)'
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13562 $as_echo "host tool
" >&6; }
13564 # We need a cross tool
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13566 $as_echo "pre-installed
" >&6; }
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13571 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13572 if test "x
${build}" != "x
${host}" ; then
13573 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13574 # We already found the complete path
13575 ac_dir=`dirname $CXX_FOR_TARGET`
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13577 $as_echo "pre-installed
in $ac_dir" >&6; }
13579 # Canadian cross, just use what we found
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13581 $as_echo "pre-installed
" >&6; }
13585 case " ${configdirs} " in
13589 case ,${enable_languages}, in
13593 if test $ok = yes; then
13594 # An in-tree tool is available and we can use it
13595 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'
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13597 $as_echo "just compiled
" >&6; }
13598 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13599 # We already found the complete path
13600 ac_dir=`dirname $CXX_FOR_TARGET`
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13602 $as_echo "pre-installed
in $ac_dir" >&6; }
13603 elif test "x
$target" = "x
$host"; then
13604 # We can use an host tool
13605 CXX_FOR_TARGET='$(CXX)'
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13607 $as_echo "host tool
" >&6; }
13609 # We need a cross tool
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13611 $as_echo "pre-installed
" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13616 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13617 if test "x
${build}" != "x
${host}" ; then
13618 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13619 # We already found the complete path
13620 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13622 $as_echo "pre-installed
in $ac_dir" >&6; }
13624 # Canadian cross, just use what we found
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13626 $as_echo "pre-installed
" >&6; }
13630 case " ${configdirs} " in
13634 case ,${enable_languages}, in
13638 if test $ok = yes; then
13639 # An in-tree tool is available and we can use it
13640 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'
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13642 $as_echo "just compiled
" >&6; }
13643 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13644 # We already found the complete path
13645 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13647 $as_echo "pre-installed
in $ac_dir" >&6; }
13648 elif test "x
$target" = "x
$host"; then
13649 # We can use an host tool
13650 RAW_CXX_FOR_TARGET='$(CXX)'
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13652 $as_echo "host tool
" >&6; }
13654 # We need a cross tool
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13656 $as_echo "pre-installed
" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13661 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13662 if test "x
${build}" != "x
${host}" ; then
13663 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13664 # We already found the complete path
13665 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13667 $as_echo "pre-installed
in $ac_dir" >&6; }
13669 # Canadian cross, just use what we found
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13671 $as_echo "pre-installed
" >&6; }
13675 case " ${configdirs} " in
13680 if test $ok = yes; then
13681 # An in-tree tool is available and we can use it
13682 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13684 $as_echo "just compiled
" >&6; }
13685 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13686 # We already found the complete path
13687 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13689 $as_echo "pre-installed
in $ac_dir" >&6; }
13690 elif test "x
$target" = "x
$host"; then
13691 # We can use an host tool
13692 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13694 $as_echo "host tool
" >&6; }
13696 # We need a cross tool
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13698 $as_echo "pre-installed
" >&6; }
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13703 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13704 if test "x
${build}" != "x
${host}" ; then
13705 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13706 # We already found the complete path
13707 ac_dir=`dirname $GCC_FOR_TARGET`
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13709 $as_echo "pre-installed
in $ac_dir" >&6; }
13711 # Canadian cross, just use what we found
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13713 $as_echo "pre-installed
" >&6; }
13717 case " ${configdirs} " in
13722 if test $ok = yes; then
13723 # An in-tree tool is available and we can use it
13724 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13726 $as_echo "just compiled
" >&6; }
13727 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13728 # We already found the complete path
13729 ac_dir=`dirname $GCC_FOR_TARGET`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13731 $as_echo "pre-installed
in $ac_dir" >&6; }
13732 elif test "x
$target" = "x
$host"; then
13733 # We can use an host tool
13734 GCC_FOR_TARGET='$()'
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13736 $as_echo "host tool
" >&6; }
13738 # We need a cross tool
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13740 $as_echo "pre-installed
" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13745 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13746 if test "x
${build}" != "x
${host}" ; then
13747 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13748 # We already found the complete path
13749 ac_dir=`dirname $GCJ_FOR_TARGET`
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13751 $as_echo "pre-installed
in $ac_dir" >&6; }
13753 # Canadian cross, just use what we found
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13755 $as_echo "pre-installed
" >&6; }
13759 case " ${configdirs} " in
13763 case ,${enable_languages}, in
13767 if test $ok = yes; then
13768 # An in-tree tool is available and we can use it
13769 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13771 $as_echo "just compiled
" >&6; }
13772 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13773 # We already found the complete path
13774 ac_dir=`dirname $GCJ_FOR_TARGET`
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13776 $as_echo "pre-installed
in $ac_dir" >&6; }
13777 elif test "x
$target" = "x
$host"; then
13778 # We can use an host tool
13779 GCJ_FOR_TARGET='$(GCJ)'
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13781 $as_echo "host tool
" >&6; }
13783 # We need a cross tool
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13785 $as_echo "pre-installed
" >&6; }
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13790 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13791 if test "x
${build}" != "x
${host}" ; then
13792 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13793 # We already found the complete path
13794 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13796 $as_echo "pre-installed
in $ac_dir" >&6; }
13798 # Canadian cross, just use what we found
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13800 $as_echo "pre-installed
" >&6; }
13804 case " ${configdirs} " in
13808 case ,${enable_languages}, in
13812 if test $ok = yes; then
13813 # An in-tree tool is available and we can use it
13814 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13816 $as_echo "just compiled
" >&6; }
13817 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13818 # We already found the complete path
13819 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13821 $as_echo "pre-installed
in $ac_dir" >&6; }
13822 elif test "x
$target" = "x
$host"; then
13823 # We can use an host tool
13824 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13826 $as_echo "host tool
" >&6; }
13828 # We need a cross tool
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13830 $as_echo "pre-installed
" >&6; }
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13835 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13836 if test "x
${build}" != "x
${host}" ; then
13837 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13838 # We already found the complete path
13839 ac_dir=`dirname $GOC_FOR_TARGET`
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13841 $as_echo "pre-installed
in $ac_dir" >&6; }
13843 # Canadian cross, just use what we found
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13845 $as_echo "pre-installed
" >&6; }
13849 case " ${configdirs} " in
13853 case ,${enable_languages}, in
13857 if test $ok = yes; then
13858 # An in-tree tool is available and we can use it
13859 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13861 $as_echo "just compiled
" >&6; }
13862 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13863 # We already found the complete path
13864 ac_dir=`dirname $GOC_FOR_TARGET`
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13866 $as_echo "pre-installed
in $ac_dir" >&6; }
13867 elif test "x
$target" = "x
$host"; then
13868 # We can use an host tool
13869 GOC_FOR_TARGET='$(GOC)'
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13871 $as_echo "host tool
" >&6; }
13873 # We need a cross tool
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13875 $as_echo "pre-installed
" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13880 $as_echo_n "checking where to
find the target ld...
" >&6; }
13881 if test "x
${build}" != "x
${host}" ; then
13882 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13883 # We already found the complete path
13884 ac_dir=`dirname $LD_FOR_TARGET`
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13886 $as_echo "pre-installed
in $ac_dir" >&6; }
13888 # Canadian cross, just use what we found
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13890 $as_echo "pre-installed
" >&6; }
13894 case " ${configdirs} " in
13899 if test $ok = yes; then
13900 # An in-tree tool is available and we can use it
13901 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13903 $as_echo "just compiled
" >&6; }
13904 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13905 # We already found the complete path
13906 ac_dir=`dirname $LD_FOR_TARGET`
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13908 $as_echo "pre-installed
in $ac_dir" >&6; }
13909 elif test "x
$target" = "x
$host"; then
13910 # We can use an host tool
13911 LD_FOR_TARGET='$(LD)'
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13913 $as_echo "host tool
" >&6; }
13915 # We need a cross tool
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13917 $as_echo "pre-installed
" >&6; }
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13922 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13923 if test "x
${build}" != "x
${host}" ; then
13924 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13925 # We already found the complete path
13926 ac_dir=`dirname $LIPO_FOR_TARGET`
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13928 $as_echo "pre-installed
in $ac_dir" >&6; }
13930 # Canadian cross, just use what we found
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13932 $as_echo "pre-installed
" >&6; }
13935 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13936 # We already found the complete path
13937 ac_dir=`dirname $LIPO_FOR_TARGET`
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13939 $as_echo "pre-installed
in $ac_dir" >&6; }
13940 elif test "x
$target" = "x
$host"; then
13941 # We can use an host tool
13942 LIPO_FOR_TARGET='$(LIPO)'
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13944 $as_echo "host tool
" >&6; }
13946 # We need a cross tool
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13948 $as_echo "pre-installed
" >&6; }
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13953 $as_echo_n "checking where to
find the target nm...
" >&6; }
13954 if test "x
${build}" != "x
${host}" ; then
13955 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13956 # We already found the complete path
13957 ac_dir=`dirname $NM_FOR_TARGET`
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13959 $as_echo "pre-installed
in $ac_dir" >&6; }
13961 # Canadian cross, just use what we found
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13963 $as_echo "pre-installed
" >&6; }
13967 case " ${configdirs} " in
13972 if test $ok = yes; then
13973 # An in-tree tool is available and we can use it
13974 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13976 $as_echo "just compiled
" >&6; }
13977 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13978 # We already found the complete path
13979 ac_dir=`dirname $NM_FOR_TARGET`
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13981 $as_echo "pre-installed
in $ac_dir" >&6; }
13982 elif test "x
$target" = "x
$host"; then
13983 # We can use an host tool
13984 NM_FOR_TARGET='$(NM)'
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13986 $as_echo "host tool
" >&6; }
13988 # We need a cross tool
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13990 $as_echo "pre-installed
" >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13995 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13996 if test "x
${build}" != "x
${host}" ; then
13997 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13998 # We already found the complete path
13999 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14001 $as_echo "pre-installed
in $ac_dir" >&6; }
14003 # Canadian cross, just use what we found
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14005 $as_echo "pre-installed
" >&6; }
14009 case " ${configdirs} " in
14014 if test $ok = yes; then
14015 # An in-tree tool is available and we can use it
14016 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14018 $as_echo "just compiled
" >&6; }
14019 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14020 # We already found the complete path
14021 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14023 $as_echo "pre-installed
in $ac_dir" >&6; }
14024 elif test "x
$target" = "x
$host"; then
14025 # We can use an host tool
14026 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14028 $as_echo "host tool
" >&6; }
14030 # We need a cross tool
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14032 $as_echo "pre-installed
" >&6; }
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14037 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14038 if test "x
${build}" != "x
${host}" ; then
14039 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14040 # We already found the complete path
14041 ac_dir=`dirname $RANLIB_FOR_TARGET`
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14043 $as_echo "pre-installed
in $ac_dir" >&6; }
14045 # Canadian cross, just use what we found
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14047 $as_echo "pre-installed
" >&6; }
14051 case " ${configdirs} " in
14056 if test $ok = yes; then
14057 # An in-tree tool is available and we can use it
14058 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14060 $as_echo "just compiled
" >&6; }
14061 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14062 # We already found the complete path
14063 ac_dir=`dirname $RANLIB_FOR_TARGET`
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14065 $as_echo "pre-installed
in $ac_dir" >&6; }
14066 elif test "x
$target" = "x
$host"; then
14067 # We can use an host tool
14068 RANLIB_FOR_TARGET='$(RANLIB)'
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14070 $as_echo "host tool
" >&6; }
14072 # We need a cross tool
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14074 $as_echo "pre-installed
" >&6; }
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14079 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14080 if test "x
${build}" != "x
${host}" ; then
14081 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14082 # We already found the complete path
14083 ac_dir=`dirname $READELF_FOR_TARGET`
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14085 $as_echo "pre-installed
in $ac_dir" >&6; }
14087 # Canadian cross, just use what we found
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14089 $as_echo "pre-installed
" >&6; }
14093 case " ${configdirs} " in
14098 if test $ok = yes; then
14099 # An in-tree tool is available and we can use it
14100 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14102 $as_echo "just compiled
" >&6; }
14103 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14104 # We already found the complete path
14105 ac_dir=`dirname $READELF_FOR_TARGET`
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14107 $as_echo "pre-installed
in $ac_dir" >&6; }
14108 elif test "x
$target" = "x
$host"; then
14109 # We can use an host tool
14110 READELF_FOR_TARGET='$(READELF)'
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14112 $as_echo "host tool
" >&6; }
14114 # We need a cross tool
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14116 $as_echo "pre-installed
" >&6; }
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14121 $as_echo_n "checking where to
find the target strip...
" >&6; }
14122 if test "x
${build}" != "x
${host}" ; then
14123 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14124 # We already found the complete path
14125 ac_dir=`dirname $STRIP_FOR_TARGET`
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14127 $as_echo "pre-installed
in $ac_dir" >&6; }
14129 # Canadian cross, just use what we found
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14131 $as_echo "pre-installed
" >&6; }
14135 case " ${configdirs} " in
14140 if test $ok = yes; then
14141 # An in-tree tool is available and we can use it
14142 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14144 $as_echo "just compiled
" >&6; }
14145 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14146 # We already found the complete path
14147 ac_dir=`dirname $STRIP_FOR_TARGET`
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14149 $as_echo "pre-installed
in $ac_dir" >&6; }
14150 elif test "x
$target" = "x
$host"; then
14151 # We can use an host tool
14152 STRIP_FOR_TARGET='$(STRIP)'
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14154 $as_echo "host tool
" >&6; }
14156 # We need a cross tool
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14158 $as_echo "pre-installed
" >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14163 $as_echo_n "checking where to
find the target windres...
" >&6; }
14164 if test "x
${build}" != "x
${host}" ; then
14165 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14166 # We already found the complete path
14167 ac_dir=`dirname $WINDRES_FOR_TARGET`
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14169 $as_echo "pre-installed
in $ac_dir" >&6; }
14171 # Canadian cross, just use what we found
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14173 $as_echo "pre-installed
" >&6; }
14177 case " ${configdirs} " in
14182 if test $ok = yes; then
14183 # An in-tree tool is available and we can use it
14184 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14186 $as_echo "just compiled
" >&6; }
14187 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14188 # We already found the complete path
14189 ac_dir=`dirname $WINDRES_FOR_TARGET`
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14191 $as_echo "pre-installed
in $ac_dir" >&6; }
14192 elif test "x
$target" = "x
$host"; then
14193 # We can use an host tool
14194 WINDRES_FOR_TARGET='$(WINDRES)'
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14196 $as_echo "host tool
" >&6; }
14198 # We need a cross tool
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14200 $as_echo "pre-installed
" >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14205 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14206 if test "x
${build}" != "x
${host}" ; then
14207 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14208 # We already found the complete path
14209 ac_dir=`dirname $WINDMC_FOR_TARGET`
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14211 $as_echo "pre-installed
in $ac_dir" >&6; }
14213 # Canadian cross, just use what we found
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14215 $as_echo "pre-installed
" >&6; }
14219 case " ${configdirs} " in
14224 if test $ok = yes; then
14225 # An in-tree tool is available and we can use it
14226 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14228 $as_echo "just compiled
" >&6; }
14229 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14230 # We already found the complete path
14231 ac_dir=`dirname $WINDMC_FOR_TARGET`
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14233 $as_echo "pre-installed
in $ac_dir" >&6; }
14234 elif test "x
$target" = "x
$host"; then
14235 # We can use an host tool
14236 WINDMC_FOR_TARGET='$(WINDMC)'
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14238 $as_echo "host tool
" >&6; }
14240 # We need a cross tool
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14242 $as_echo "pre-installed
" >&6; }
14250 # Certain tools may need extra flags.
14251 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14252 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14253 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14255 # When building target libraries, except in a Canadian cross, we use
14256 # the same toolchain as the compiler we just built.
14257 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14258 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14259 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14260 if test $host = $build; then
14261 case " $configdirs " in
14263 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14264 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14265 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14275 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14276 # Check whether --enable-maintainer-mode was given.
14277 if test "${enable_maintainer_mode+set}" = set; then :
14278 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14280 USE_MAINTAINER_MODE=no
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14284 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14287 if test "$USE_MAINTAINER_MODE" = yes; then
14288 MAINTAINER_MODE_TRUE=
14289 MAINTAINER_MODE_FALSE='#'
14291 MAINTAINER_MODE_TRUE='#'
14292 MAINTAINER_MODE_FALSE=
14294 MAINT=$MAINTAINER_MODE_TRUE
14296 # ---------------------
14297 # GCC bootstrap support
14298 # ---------------------
14300 # Stage specific cflags for build.
14305 yes) stage1_cflags="-g -Wa,-J" ;;
14306 *) stage1_cflags="-g -J" ;;
14312 # Enable --enable-checking in stage1 of the compiler.
14313 # Check whether --enable-stage1-checking was given.
14314 if test "${enable_stage1_checking+set}" = set; then :
14315 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14317 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14318 stage1_checking=--enable-checking=yes,types
14320 stage1_checking=--enable-checking=$enable_checking,types
14326 # Enable -Werror in bootstrap stage2 and later.
14327 # Check whether --enable-werror was given.
14328 if test "${enable_werror+set}" = set; then :
14329 enableval=$enable_werror;
14331 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14338 case ${enable_werror} in
14339 yes) stage2_werror_flag="--enable-werror-always" ;;
14340 *) stage2_werror_flag="" ;;
14344 # Specify what files to not compare during bootstrap.
14346 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14348 hppa*64*-*-hpux*) ;;
14349 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14350 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14354 ac_config_files="$ac_config_files Makefile
"
14356 cat >confcache <<\_ACEOF
14357 # This file is a shell script that caches the results of configure
14358 # tests run on this system so they can be shared between configure
14359 # scripts and configure runs, see configure's option --config-cache.
14360 # It is not useful on other systems. If it contains results you don't
14361 # want to keep, you may remove or edit it.
14363 # config.status only pays attention to the cache file if you give it
14364 # the --recheck option to rerun configure.
14366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14368 # following values.
14372 # The following way of writing the cache mishandles newlines in values,
14373 # but we know of no workaround that is simple, portable, and efficient.
14374 # So, we kill variables containing newlines.
14375 # Ultrix sh set writes to stderr and can't be redirected directly,
14376 # and sets the high bit in the cache file unless we assign to the vars.
14378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14379 eval ac_val=\$$ac_var
14383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14384 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14387 _ | IFS | as_nl) ;; #(
14388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14389 *) { eval $ac_var=; unset $ac_var;} ;;
14395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14396 *${as_nl}ac_space=\ *)
14397 # `set' does not quote correctly, so add quotes: double-quote
14398 # substitution turns \\\\ into \\, and sed turns \\ into \.
14401 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14404 # `set' quotes correctly as required by POSIX, so do not add quotes.
14405 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14419 if test -w "$cache_file"; then
14420 test "x
$cache_file" != "x
/dev
/null
" &&
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14422 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14423 cat confcache >$cache_file
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14426 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14431 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14432 # Let make expand exec_prefix.
14433 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14435 # Transform confdefs.h into DEFS.
14436 # Protect against shell expansion while executing Makefile rules.
14437 # Protect against Makefile macro expansion.
14439 # If the first sed substitution is executed (which looks for macros that
14440 # take arguments), then branch to the quote section. Otherwise,
14441 # look for a macro that doesn't take arguments.
14451 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14453 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14457 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14470 DEFS=`sed -n "$ac_script" confdefs.h`
14475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14476 # 1. Remove the extension, and $U if already installed.
14477 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14480 # will be set to the directory where LIBOBJS objects are built.
14481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14484 LIBOBJS=$ac_libobjs
14486 LTLIBOBJS=$ac_ltlibobjs
14490 : ${CONFIG_STATUS=./config.status}
14492 ac_clean_files_save=$ac_clean_files
14493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14499 # Generated by $as_me.
14500 # Run this file to recreate the current configuration.
14501 # Compiler output produced by configure, useful for debugging
14502 # configure, is in config.log if it exists.
14505 ac_cs_recheck=false
14508 SHELL=\${CONFIG_SHELL-$SHELL}
14511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14512 ## -------------------- ##
14513 ## M4sh Initialization. ##
14514 ## -------------------- ##
14516 # Be more Bourne compatible
14517 DUALCASE=1; export DUALCASE # for MKS sh
14518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14522 # is contrary to our usage. Disable this feature.
14523 alias -g '${1+"$@"}'='"$@"'
14524 setopt NO_GLOB_SUBST
14526 case `(set -o) 2>/dev/null` in #(
14538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14540 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14541 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14542 # Prefer a ksh shell builtin over an external printf program on Solaris,
14543 # but without wasting forks for bash or zsh.
14544 if test -z "$BASH_VERSION$ZSH_VERSION" \
14545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14546 as_echo
='print -r --'
14547 as_echo_n
='print -rn --'
14548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14549 as_echo
='printf %s\n'
14550 as_echo_n
='printf %s'
14552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14553 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14554 as_echo_n
='/usr/ucb/echo -n'
14556 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14557 as_echo_n_body
='eval
14561 expr "X$arg" : "X\\(.*\\)$as_nl";
14562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14566 export as_echo_n_body
14567 as_echo_n
='sh -c $as_echo_n_body as_echo'
14569 export as_echo_body
14570 as_echo
='sh -c $as_echo_body as_echo'
14573 # The user is always right.
14574 if test "${PATH_SEPARATOR+set}" != set; then
14576 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14577 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14584 # We need space, tab and new line, in precisely that order. Quoting is
14585 # there to prevent editors from complaining about space-tab.
14586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14587 # splitting by setting IFS to empty value.)
14590 # Find who we are. Look in the path if we contain no directory separator.
14592 *[\\/]* ) as_myself
=$0 ;;
14593 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14594 for as_dir
in $PATH
14597 test -z "$as_dir" && as_dir
=.
14598 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14604 # We did not find ourselves, most probably we were run as `sh COMMAND'
14605 # in which case we are not to be found in the path.
14606 if test "x$as_myself" = x
; then
14609 if test ! -f "$as_myself"; then
14610 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14614 # Unset variables that we do not need and which cause bugs (e.g. in
14615 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14616 # suppresses any "Segmentation fault" message there. '((' could
14617 # trigger a bug in pdksh 5.2.14.
14618 for as_var
in BASH_ENV ENV MAIL MAILPATH
14619 do eval test x\
${$as_var+set} = xset \
14620 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14633 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14636 # as_fn_error ERROR [LINENO LOG_FD]
14637 # ---------------------------------
14638 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14639 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14640 # script with status $?, using 1 if that was 0.
14643 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14645 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14646 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14648 $as_echo "$as_me: error: $1" >&2
14649 as_fn_exit
$as_status
14653 # as_fn_set_status STATUS
14654 # -----------------------
14655 # Set $? to STATUS, without forking.
14656 as_fn_set_status
()
14659 } # as_fn_set_status
14661 # as_fn_exit STATUS
14662 # -----------------
14663 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14667 as_fn_set_status
$1
14673 # Portably unset VAR.
14676 { eval $1=; unset $1;}
14678 as_unset
=as_fn_unset
14679 # as_fn_append VAR VALUE
14680 # ----------------------
14681 # Append the text in VALUE to the end of the definition contained in VAR. Take
14682 # advantage of any shell optimizations that allow amortized linear growth over
14683 # repeated appends, instead of the typical quadratic growth present in naive
14685 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14686 eval 'as_fn_append ()
14697 # as_fn_arith ARG...
14698 # ------------------
14699 # Perform arithmetic evaluation on the ARGs, and store the result in the
14700 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14701 # must be portable across $(()) and expr.
14702 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14703 eval 'as_fn_arith ()
14710 as_val
=`expr "$@" || test $? -eq 1`
14715 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14716 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14722 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14723 as_basename
=basename
14728 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14734 as_me
=`$as_basename -- "$0" ||
14735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14736 X"$0" : 'X\(//\)$' \| \
14737 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14739 sed '/^.*\/\([^/][^/]*\)\/*$/{
14753 # Avoid depending upon Character Ranges.
14754 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14755 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14756 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14757 as_cr_digits
='0123456789'
14758 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14760 ECHO_C
= ECHO_N
= ECHO_T
=
14761 case `echo -n x` in #(((((
14763 case `echo 'xy\c'` in
14764 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14766 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14773 rm -f conf$$ conf$$.exe conf$$.
file
14774 if test -d conf$$.dir
; then
14775 rm -f conf$$.dir
/conf$$.
file
14778 mkdir conf$$.dir
2>/dev
/null
14780 if (echo >conf$$.
file) 2>/dev
/null
; then
14781 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14783 # ... but there are two gotchas:
14784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14786 # In both cases, we have to default to `cp -p'.
14787 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14789 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14797 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14798 rmdir conf$$.dir
2>/dev
/null
14803 # Create "$as_dir" as a directory, including parents if necessary.
14808 -*) as_dir
=.
/$as_dir;;
14810 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14814 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14815 *) as_qdir
=$as_dir;;
14817 as_dirs
="'$as_qdir' $as_dirs"
14818 as_dir
=`$as_dirname -- "$as_dir" ||
14819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14820 X"$as_dir" : 'X\(//\)[^/]' \| \
14821 X"$as_dir" : 'X\(//\)$' \| \
14822 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14823 $as_echo X"$as_dir" |
14824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14828 /^X\(\/\/\)[^/].*/{
14841 test -d "$as_dir" && break
14843 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14844 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14848 if mkdir
-p .
2>/dev
/null
; then
14849 as_mkdir_p
='mkdir -p "$as_dir"'
14851 test -d .
/-p && rmdir .
/-p
14855 if test -x / >/dev
/null
2>&1; then
14856 as_test_x
='test -x'
14858 if ls -dL / >/dev
/null
2>&1; then
14865 if test -d "$1"; then
14871 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14872 ???[sx]*):;;*)false;;esac;fi
14876 as_executable_p
=$as_test_x
14878 # Sed expression to map a string onto a valid CPP name.
14879 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14881 # Sed expression to map a string onto a valid variable name.
14882 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14886 ## ----------------------------------- ##
14887 ## Main body of $CONFIG_STATUS script. ##
14888 ## ----------------------------------- ##
14890 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14893 # Save the log message, to keep $0 and so on meaningful, and to
14894 # report actual input values of CONFIG_FILES etc. instead of their
14895 # values after options handling.
14897 This file was extended by $as_me, which was
14898 generated by GNU Autoconf 2.64. Invocation command line was
14900 CONFIG_FILES = $CONFIG_FILES
14901 CONFIG_HEADERS = $CONFIG_HEADERS
14902 CONFIG_LINKS = $CONFIG_LINKS
14903 CONFIG_COMMANDS = $CONFIG_COMMANDS
14906 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14911 case $ac_config_files in *"
14912 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14918 # Files that config.status was made for.
14919 config_files="$ac_config_files"
14923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14925 \`$as_me' instantiates files and other configuration actions
14926 from templates according to the current configuration. Unless the files
14927 and actions are specified as TAGs, all are instantiated by default.
14929 Usage: $0 [OPTION]... [TAG]...
14931 -h, --help print this help, then exit
14932 -V, --version print version number and configuration settings, then exit
14933 -q, --quiet, --silent
14934 do not print progress messages
14935 -d, --debug don't remove temporary files
14936 --recheck update $as_me by reconfiguring in the same conditions
14937 --file=FILE[:TEMPLATE]
14938 instantiate the configuration file FILE
14940 Configuration files:
14943 Report bugs to the package provider."
14946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14949 configured by $0, generated by GNU Autoconf 2.64,
14950 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14952 Copyright (C) 2009 Free Software Foundation, Inc.
14953 This config.status script is free software; the Free Software Foundation
14954 gives unlimited permission to copy, distribute and modify it."
14960 test -n "\$AWK" || AWK=awk
14963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14964 # The default lists apply if the user does not specify any file.
14970 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14971 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14982 # Handling of the options.
14983 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14985 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14986 $as_echo "$ac_cs_version"; exit ;;
14987 --debug |
--debu |
--deb |
--de |
--d |
-d )
14989 --file |
--fil |
--fi |
--f )
14992 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14994 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14995 ac_need_defaults
=false
;;
14996 --he |
--h |
--help |
--hel |
-h )
14997 $as_echo "$ac_cs_usage"; exit ;;
14998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14999 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15002 # This is an error.
15003 -*) as_fn_error
"unrecognized option: \`$1'
15004 Try \`$0 --help' for more information." ;;
15006 *) as_fn_append ac_config_targets
" $1"
15007 ac_need_defaults
=false
;;
15013 ac_configure_extra_args
=
15015 if $ac_cs_silent; then
15017 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15022 if \$ac_cs_recheck; then
15023 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15026 CONFIG_SHELL='$SHELL'
15027 export CONFIG_SHELL
15032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15037 ## Running $as_me. ##
15043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15047 extrasub_build="$extrasub_build"
15048 extrasub_host="$extrasub_host"
15049 extrasub_target="$extrasub_target"
15053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15055 # Handling of arguments.
15056 for ac_config_target
in $ac_config_targets
15058 case $ac_config_target in
15059 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15061 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15066 # If the user did not use the arguments to specify the items to instantiate,
15067 # then the envvar interface is used. Set only those that are not.
15068 # We use the long form for the default assignment because of an extremely
15069 # bizarre bug on SunOS 4.1.3.
15070 if $ac_need_defaults; then
15071 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15074 # Have a temporary directory for convenience. Make it in the build tree
15075 # simply because there is no reason against having it here, and in addition,
15076 # creating and moving files from /tmp can sometimes cause problems.
15077 # Hook for its removal unless debugging.
15078 # Note that there is a small window in which the directory will not be cleaned:
15079 # after its creation but before its name has been assigned to `$tmp'.
15083 trap 'exit_status=$?
15084 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15086 trap 'as_fn_exit 1' 1 2 13 15
15088 # Create a (secure) tmp directory for tmp files.
15091 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15092 test -n "$tmp" && test -d "$tmp"
15095 tmp
=.
/conf$$
-$RANDOM
15096 (umask 077 && mkdir
"$tmp")
15097 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15099 # Set up the scripts for CONFIG_FILES section.
15100 # No need to generate them if there are no CONFIG_FILES.
15101 # This happens for instance with `./config.status config.h'.
15102 if test -n "$CONFIG_FILES"; then
15104 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15105 ac_cs_awk_getline
=:
15106 ac_cs_awk_pipe_init
=
15107 ac_cs_awk_read_file
='
15108 while ((getline aline < (F[key])) > 0)
15111 ac_cs_awk_pipe_fini
=
15113 ac_cs_awk_getline
=false
15114 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15115 ac_cs_awk_read_file
='
15117 print "cat " F[key] " &&"
15118 '$ac_cs_awk_pipe_init
15119 # The final `:' finishes the AND list.
15120 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15122 ac_cr
=`echo X | tr X '\015'`
15123 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15124 # But we know of no other shell where ac_cr would be empty at this
15125 # point, so we can use a bashism as a fallback.
15126 if test "x$ac_cr" = x
; then
15127 eval ac_cr
=\$
\'\\r
\'
15129 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15130 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15133 ac_cs_awk_cr
=$ac_cr
15136 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15139 # Create commands to substitute file output variables.
15141 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15142 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15143 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15146 } >conf$
$files.sh
&&
15147 . .
/conf$
$files.sh ||
15148 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15149 rm -f conf$
$files.sh
15152 echo "cat >conf$$subs.awk <<_ACEOF" &&
15153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15155 } >conf$$subs.sh ||
15156 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15159 for ac_last_try in false false false false false :; do
15160 . ./conf$$subs.sh ||
15161 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15163 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15164 if test $ac_delim_n = $ac_delim_num; then
15166 elif $ac_last_try; then
15167 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15169 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15172 rm -f conf$$subs.sh
15174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15175 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15179 s/^/S["/; s
/!.
*/"]=/
15189 s/\(.\{148\}\).*/\1/
15191 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15196 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15203 s/\(.\{148\}\).*/\1/
15205 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15209 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15214 ' <conf$$subs.awk | sed '
15219 ' >>$CONFIG_STATUS || ac_write_fail=1
15220 rm -f conf$$subs.awk
15221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15223 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15224 for (key in S) S_is_set[key] = 1
15226 \$ac_cs_awk_pipe_init
15230 nfields = split(line, field, "@
")
15232 len = length(field[1])
15233 for (i = 2; i < nfields; i++) {
15235 keylen = length(key)
15236 if (S_is_set[key]) {
15238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15239 len += length(value) + length(field[++i])
15244 if (nfields == 3 && !substed) {
15246 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15247 \$ac_cs_awk_read_file
15253 \$ac_cs_awk_pipe_fini
15256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15257 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15258 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15261 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15262 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15265 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15266 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15267 # trailing colons and then remove the whole line if VPATH becomes empty
15268 # (actually we leave an empty line to preserve line numbers).
15269 if test "x
$srcdir" = x.; then
15270 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15271 s/:*\$(srcdir):*/:/
15272 s/:*\${srcdir}:*/:/
15274 s/^\([^=]*=[ ]*\):*/\1/
15280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15281 fi # test -n "$CONFIG_FILES"
15284 eval set X " :F
$CONFIG_FILES "
15289 :[FHLC]) ac_mode=$ac_tag; continue;;
15291 case $ac_mode$ac_tag in
15293 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15294 :[FH]-) ac_tag=-:-;;
15295 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15312 -) ac_f="$tmp/stdin";;
15313 *) # Look for the file first in the build tree, then in the source tree
15314 # (if the path is not absolute). The absolute path cannot be DOS-style,
15315 # because $ac_f cannot contain `:'.
15319 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15321 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15323 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15324 as_fn_append ac_file_inputs " '$ac_f'"
15327 # Let's still pretend it is `configure' which instantiates (i.e., don't
15328 # use $as_me), people would be surprised to read:
15329 # /* config.h. Generated by config.status. */
15330 configure_input='Generated from '`
15331 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15333 if test x"$ac_file" != x-; then
15334 configure_input="$ac_file.
$configure_input"
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15336 $as_echo "$as_me: creating
$ac_file" >&6;}
15338 # Neutralize special characters interpreted by sed in replacement strings.
15339 case $configure_input in #(
15340 *\&* | *\|* | *\\* )
15341 ac_sed_conf_input=`$as_echo "$configure_input" |
15342 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15343 *) ac_sed_conf_input=$configure_input;;
15347 *:-:* | *:-) cat >"$tmp/stdin
" \
15348 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15353 ac_dir=`$as_dirname -- "$ac_file" ||
15354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15355 X"$ac_file" : 'X\(//\)[^/]' \| \
15356 X"$ac_file" : 'X\(//\)$' \| \
15357 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15358 $as_echo X"$ac_file" |
15359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15363 /^X\(\/\/\)[^/].*/{
15376 as_dir="$ac_dir"; as_fn_mkdir_p
15380 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15382 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15383 # A "..
" for each directory in $ac_dir_suffix.
15384 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15385 case $ac_top_builddir_sub in
15386 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15387 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15390 ac_abs_top_builddir=$ac_pwd
15391 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15392 # for backward compatibility:
15393 ac_top_builddir=$ac_top_build_prefix
15396 .) # We are building in place.
15398 ac_top_srcdir=$ac_top_builddir_sub
15399 ac_abs_top_srcdir=$ac_pwd ;;
15400 [\\/]* | ?:[\\/]* ) # Absolute name.
15401 ac_srcdir=$srcdir$ac_dir_suffix;
15402 ac_top_srcdir=$srcdir
15403 ac_abs_top_srcdir=$srcdir ;;
15404 *) # Relative name.
15405 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15406 ac_top_srcdir=$ac_top_build_prefix$srcdir
15407 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15409 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15419 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15420 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15425 # If the template does not know about datarootdir, expand it.
15426 # FIXME: This hack should be removed a few years after 2.60.
15427 ac_datarootdir_hack=; ac_datarootdir_seen=
15438 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15439 *datarootdir*) ac_datarootdir_seen=yes;;
15440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15442 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15445 ac_datarootdir_hack='
15446 s&@datadir@&$datadir&g
15447 s&@docdir@&$docdir&g
15448 s&@infodir@&$infodir&g
15449 s&@localedir@&$localedir&g
15450 s&@mandir@&$mandir&g
15451 s&\\\${datarootdir}&$datarootdir&g' ;;
15455 # Neutralize VPATH when `$srcdir' = `.'.
15456 # Shell code in configure.ac might set extrasub.
15457 # FIXME: do we really want to maintain this feature?
15458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15459 ac_sed_extra="$ac_vpsub
15462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15464 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15465 s|@configure_input@|
$ac_sed_conf_input|
;t t
15466 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15467 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15468 s
&@srcdir@
&$ac_srcdir&;t t
15469 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15470 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15471 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15472 s
&@builddir@
&$ac_builddir&;t t
15473 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15474 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15475 s
&@INSTALL@
&$ac_INSTALL&;t t
15476 $ac_datarootdir_hack
15478 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15479 if $ac_cs_awk_getline; then
15480 $AWK -f "$tmp/subs.
awk"
15482 $AWK -f "$tmp/subs.
awk" | $SHELL
15484 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15486 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15487 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15488 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15490 which seems to be undefined. Please make sure it is defined." >&5
15491 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15492 which seems to be undefined. Please make sure it is defined." >&2;}
15496 -) cat "$tmp/out" && rm -f "$tmp/out";;
15497 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15499 || as_fn_error "could not create $ac_file" "$LINENO" 5
15507 case $ac_file$ac_mode in
15508 "Makefile":F) sed "$extrasub_build" Makefile |
15509 sed "$extrasub_host" |
15510 sed "$extrasub_target" > mf$$
15511 mv -f mf$$ Makefile ;;
15519 ac_clean_files=$ac_clean_files_save
15521 test $ac_write_fail = 0 ||
15522 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15525 # configure is writing to config.log, and then calls config.status.
15526 # config.status does its own redirection, appending to config.log.
15527 # Unfortunately, on DOS this fails, as config.log is still kept open
15528 # by configure, so config.status won't be able to
write to it
; its
15529 # output is simply discarded. So we exec the FD to /dev/null,
15530 # effectively closing config.log, so it can be properly (re)opened and
15531 # appended to by config.status. When coming back to configure, we
15532 # need to make the FD available again.
15533 if test "$no_create" != yes; then
15535 ac_config_status_args
=
15536 test "$silent" = yes &&
15537 ac_config_status_args
="$ac_config_status_args --quiet"
15539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15542 # would make configure fail if this is the last instruction.
15543 $ac_cs_success || as_fn_exit $?
15545 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15547 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}