2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES OBJCOPY OBJDUMP CXX CFLAGS_FOR_BUILD CXXFLAGS CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET FLAGS_FOR_TARGET RAW_CXX_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage2_werror_flag LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
799 --build=BUILD configure
for building on BUILD
[guessed
]
800 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
801 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
805 if test -n "$ac_init_help"; then
810 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
811 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
812 --enable-libada Builds libada directory
813 --enable-libssp Builds libssp directory
814 --enable-libgcc-math Builds libgcc-math directory
815 --enable-bootstrap Enable bootstrapping
yes if native build
816 --enable-serial-{host,target
,build
}-configure
817 Force sequential configuration of
818 sub-packages
for the
host, target or build
819 machine
, or all sub-packages
820 --enable-maintainer-mode enable make rules and dependencies not useful
821 (and sometimes confusing
) to the casual installer
822 --enable-werror enable -Werror in bootstrap stage2 and later
825 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
826 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
827 --with-mpfr-dir=PATH Specify
source directory
for MPFR library
828 --with-mpfr=PATH Specify directory
for installed MPFR library
829 --with-gmp-dir=PATH Specify
source directory
for GMP library
830 --with-gmp=PATH Specify directory
for installed GMP library
831 --with-build-sysroot=sysroot
832 use sysroot as the system root during the build
833 --with-build-time-tools=path
834 use given path to
find target tools during the build
836 Some influential environment variables
:
837 CC C compiler
command
838 CFLAGS C compiler flags
839 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
840 nonstandard directory
<lib dir
>
841 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
842 headers
in a nonstandard directory
<include dir
>
844 Use these variables to override the choices made by
`configure' or to help
845 it to find libraries and programs with nonstandard names/locations.
850 if test "$ac_init_help" = "recursive"; then
851 # If there are subdirs, report their specific --help.
853 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
854 test -d $ac_dir || continue
857 if test "$ac_dir" != .; then
858 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
859 # A "../" for each directory in $ac_dir_suffix.
860 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
862 ac_dir_suffix= ac_top_builddir=
866 .) # No --srcdir option. We are building in place.
868 if test -z "$ac_top_builddir"; then
871 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
873 [\\/]* | ?:[\\/]* ) # Absolute path.
874 ac_srcdir=$srcdir$ac_dir_suffix;
875 ac_top_srcdir=$srcdir ;;
877 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
878 ac_top_srcdir=$ac_top_builddir$srcdir ;;
881 # Do not use `cd foo
&& pwd` to compute absolute paths, because
882 # the directories may not exist.
884 .) ac_abs_builddir="$ac_dir";;
887 .) ac_abs_builddir=`pwd`;;
888 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
889 *) ac_abs_builddir=`pwd`/"$ac_dir";;
892 case $ac_abs_builddir in
893 .) ac_abs_top_builddir=${ac_top_builddir}.;;
895 case ${ac_top_builddir}. in
896 .) ac_abs_top_builddir=$ac_abs_builddir;;
897 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
898 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
901 case $ac_abs_builddir in
902 .) ac_abs_srcdir=$ac_srcdir;;
905 .) ac_abs_srcdir=$ac_abs_builddir;;
906 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
907 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
910 case $ac_abs_builddir in
911 .) ac_abs_top_srcdir=$ac_top_srcdir;;
913 case $ac_top_srcdir in
914 .) ac_abs_top_srcdir=$ac_abs_builddir;;
915 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
916 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
921 # Check for guested configure; otherwise get Cygnus style configure.
922 if test -f $ac_srcdir/configure.gnu; then
924 $SHELL $ac_srcdir/configure.gnu --help=recursive
925 elif test -f $ac_srcdir/configure; then
927 $SHELL $ac_srcdir/configure --help=recursive
928 elif test -f $ac_srcdir/configure.ac ||
929 test -f $ac_srcdir/configure.in; then
933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
939 test -n "$ac_init_help" && exit 0
940 if $ac_init_version; then
943 Copyright (C) 2003 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by $as_me, which was
955 generated by GNU Autoconf 2.59. Invocation command line was
966 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
967 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
968 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
969 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
970 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
972 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
973 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
975 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
976 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
977 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
978 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
979 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
980 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
981 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close
' the trap.
1061 trap 'exit_status
=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var
in $ac_subst_vars
1097 eval ac_val
=$
`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var
in $ac_subst_files
1111 eval ac_val
=$
`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h
; then
1124 sed "/^$/d" confdefs.h |
sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core
*.core
&&
1132 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's
/^
/|
/' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1229 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1254 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1261 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1284 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1285 if test -f $ac_dir/install-sh; then
1287 ac_install_sh="$ac_aux_dir/install-sh -c"
1289 elif test -f $ac_dir/install.sh; then
1291 ac_install_sh="$ac_aux_dir/install.sh -c"
1293 elif test -f $ac_dir/shtool; then
1295 ac_install_sh="$ac_aux_dir/shtool install -c"
1299 if test -z "$ac_aux_dir"; then
1300 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1301 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1302 { (exit 1); exit 1; }; }
1304 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1305 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1306 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1308 # Make sure we can run config.sub.
1309 $ac_config_sub sun4 >/dev/null 2>&1 ||
1310 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1311 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1312 { (exit 1); exit 1; }; }
1314 echo "$as_me:$LINENO: checking build system type" >&5
1315 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1316 if test "${ac_cv_build+set}" = set; then
1317 echo $ECHO_N "(cached) $ECHO_C" >&6
1319 ac_cv_build_alias=$build_alias
1320 test -z "$ac_cv_build_alias" &&
1321 ac_cv_build_alias=`$ac_config_guess`
1322 test -z "$ac_cv_build_alias" &&
1323 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1324 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1325 { (exit 1); exit 1; }; }
1326 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1327 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1328 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1329 { (exit 1); exit 1; }; }
1332 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1333 echo "${ECHO_T}$ac_cv_build" >&6
1335 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1336 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1337 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1340 echo "$as_me:$LINENO: checking host system type" >&5
1341 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1342 if test "${ac_cv_host+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 ac_cv_host_alias=$host_alias
1346 test -z "$ac_cv_host_alias" &&
1347 ac_cv_host_alias=$ac_cv_build_alias
1348 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1349 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1350 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1351 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1355 echo "${ECHO_T}$ac_cv_host" >&6
1357 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1358 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1359 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1362 echo "$as_me:$LINENO: checking target system type" >&5
1363 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1364 if test "${ac_cv_target+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 ac_cv_target_alias=$target_alias
1368 test "x$ac_cv_target_alias" = "x" &&
1369 ac_cv_target_alias=$ac_cv_host_alias
1370 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1377 echo "${ECHO_T}$ac_cv_target" >&6
1378 target=$ac_cv_target
1379 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1380 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1381 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1384 # The aliases save the names the user supplied, while $host etc.
1385 # will get canonicalized.
1386 test -n "$target_alias" &&
1387 test "$program_prefix$program_suffix$program_transform_name" = \
1389 program_prefix=${target_alias}-
1390 test "$program_prefix" != NONE &&
1391 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1392 # Use a double $ so make ignores it.
1393 test "$program_suffix" != NONE &&
1394 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1395 # Double any \ or $. echo might interpret backslashes.
1396 # By default was `s,x,x', remove it
if useless.
1397 cat <<\_ACEOF
>conftest.
sed
1398 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1400 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1404 # Get 'install' or 'install-sh' and its variants.
1405 # Find a good install program. We prefer a C program (faster),
1406 # so one script is as good as another. But avoid the broken or
1407 # incompatible versions:
1408 # SysV /etc/install, /usr/sbin/install
1409 # SunOS /usr/etc/install
1410 # IRIX /sbin/install
1412 # AmigaOS /C/install, which installs bootblocks on floppy discs
1413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1416 # OS/2's system install, which has a completely different semantic
1417 # ./install, which can be erroneously created by make from ./install.sh.
1418 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1419 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1420 if test -z "$INSTALL"; then
1421 if test "${ac_cv_path_install+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir
=.
1429 # Account for people who put trailing slashes in PATH elements.
1431 .
/ | .
// |
/cC
/* | \
1432 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1433 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1436 # OSF1 and SCO ODT 3.0 have their own names for install.
1437 # Don't use installbsd from OSF since it installs stuff as root
1439 for ac_prog
in ginstall scoinst
install; do
1440 for ac_exec_ext
in '' $ac_executable_extensions; do
1441 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1442 if test $ac_prog = install &&
1443 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1444 # AIX install. It has an incompatible calling convention.
1446 elif test $ac_prog = install &&
1447 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1448 # program-specific install script used by HP pwplus--don't use.
1451 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1463 if test "${ac_cv_path_install+set}" = set; then
1464 INSTALL
=$ac_cv_path_install
1466 # As a last resort, use the slow shell script. We don't cache a
1467 # path for INSTALL within a source directory, because that will
1468 # break other packages using the cache if that directory is
1469 # removed, or if the path is relative.
1470 INSTALL
=$ac_install_sh
1473 echo "$as_me:$LINENO: result: $INSTALL" >&5
1474 echo "${ECHO_T}$INSTALL" >&6
1476 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1477 # It thinks the first close brace ends the variable substitution.
1478 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1480 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1482 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1484 echo "$as_me:$LINENO: checking whether ln works" >&5
1485 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1486 if test "${acx_cv_prog_LN+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 rm -f conftestdata_t
1490 echo >conftestdata_f
1491 if ln conftestdata_f conftestdata_t
2>/dev
/null
1497 rm -f conftestdata_f conftestdata_t
1500 if test $acx_cv_prog_LN = no
; then
1502 echo "$as_me:$LINENO: result: no, using $LN" >&5
1503 echo "${ECHO_T}no, using $LN" >&6
1505 LN
="$acx_cv_prog_LN"
1506 echo "$as_me:$LINENO: result: yes" >&5
1507 echo "${ECHO_T}yes" >&6
1510 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1511 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1513 if test "$LN_S" = "ln -s"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1517 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1518 echo "${ECHO_T}no, using $LN_S" >&6
1522 ### we might need to use some other shell than /bin/sh for running subshells
1523 ### If we are on Windows, search for the shell. This will permit people
1524 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1525 ### without also having to set CONFIG_SHELL. This code will work when
1526 ### using bash, which sets OSTYPE.
1529 if test x
${CONFIG_SHELL} = x
; then
1530 if test ! -f /bin
/sh
; then
1531 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1532 CONFIG_SHELL
=${SHELL}
1535 for prog
in sh sh.exe bash bash.exe
; do
1536 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1537 for dir
in $PATH; do
1538 test -z "$dir" && dir
=.
1539 if test -f $dir/$prog; then
1540 CONFIG_SHELL
=$dir/$prog
1546 test -n "${CONFIG_SHELL}" && break
1554 config_shell
=${CONFIG_SHELL-/bin/sh}
1557 # if PWD already has a value, it is probably wrong.
1558 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1560 # Export original configure arguments for use by sub-configures. These
1561 # will be expanded by make, so quote '$'.
1563 sed -e 's,\$,$$,g' <<EOF_SED > conftestsed.out
1566 TOPLEVEL_CONFIGURE_ARGUMENTS
=`cat conftestsed.out`
1567 rm -f conftestsed.out
1570 moveifchange
=${srcdir}/move-if-change
1572 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1574 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1576 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1577 INSTALL
="${srcpwd}/install-sh -c"
1580 # Set srcdir to "." if that's what it is.
1581 # This is important for multilib support.
1583 if test "${pwd}" = "${srcpwd}" ; then
1591 ### To add a new directory to the tree, first choose whether it is a target
1592 ### or a host dependent tool. Then put it into the appropriate list
1593 ### (library or tools, host or target), doing a dependency sort.
1595 # Subdirs will be configured in the order listed in build_configdirs,
1596 # configdirs, or target_configdirs; see the serialization section below.
1598 # Dependency sorting is only needed when *configuration* must be done in
1599 # a particular order. In all cases a dependency should be specified in
1600 # the Makefile, whether or not it's implicitly specified here.
1602 # Double entries in build_configdirs, configdirs, or target_configdirs may
1603 # cause circular dependencies and break everything horribly.
1605 # these library is used by various programs built for the build
1608 build_libs
="build-libiberty"
1610 # these tools are built for the build environment
1611 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1613 # these libraries are used by various programs built for the host environment
1615 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber"
1617 # these tools are built for the host environment
1618 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1619 # know that we are building the simulator.
1620 # binutils, gas and ld appear in that order because it makes sense to run
1621 # "make check" in that particular order.
1622 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
1624 # libgcj represents the runtime libraries only used by gcj.
1625 libgcj
="target-libffi \
1631 # these libraries are built for the target environment, and are built after
1632 # the host libraries and the host tools (which may be a cross compiler)
1634 target_libraries
="target-libiberty \
1637 target-libstdc++-v3 \
1640 target-libgcc-math \
1641 target-libgfortran \
1647 # these tools are built using the target libraries, and are intended to
1648 # run only in the target environment
1650 # note: any program that *uses* libraries that are in the "target_libraries"
1651 # list belongs in this list. those programs are also very likely
1652 # candidates for the "native_only" list which follows
1654 target_tools
="target-examples target-groff target-gperf target-rda"
1656 ################################################################################
1658 ## All tools belong in one of the four categories, and are assigned above
1659 ## We assign ${configdirs} this way to remove all embedded newlines. This
1660 ## is important because configure will choke if they ever get through.
1661 ## ${configdirs} is directories we build using the host tools.
1662 ## ${target_configdirs} is directories we build using the target tools.
1663 configdirs
=`echo ${host_libs} ${host_tools}`
1664 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1665 build_configdirs
=`echo ${build_libs} ${build_tools}`
1667 ################################################################################
1669 srcname
="gnu development package"
1671 # This gets set non-empty for some net releases of packages.
1674 # Define is_cross_compiler to save on calls to 'test'.
1676 if test x
"${host}" = x
"${target}" ; then
1677 is_cross_compiler
=no
1679 is_cross_compiler
=yes
1682 # Find the build and target subdir names.
1683 case ${build_alias} in
1684 "") build_noncanonical
=${build} ;;
1685 *) build_noncanonical
=${build_alias} ;;
1688 case ${host_alias} in
1689 "") host_noncanonical
=${build_noncanonical} ;;
1690 *) host_noncanonical
=${host_alias} ;;
1693 case ${target_alias} in
1694 "") target_noncanonical
=${host_noncanonical} ;;
1695 *) target_noncanonical
=${target_alias} ;;
1698 # Prefix 'build-' so this never conflicts with target_subdir.
1699 build_subdir
="build-${build_noncanonical}"
1700 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1701 if ( test $srcdir = .
&& test -d gcc
) \
1702 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1703 host_subdir
="host-${host_noncanonical}"
1708 target_subdir
=${target_noncanonical}
1711 # Skipdirs are removed silently.
1713 # Noconfigdirs are removed loudly.
1717 # Make sure we don't let GNU ld be added if we didn't want it.
1718 if test x
$with_gnu_ld = xno
; then
1720 noconfigdirs
="$noconfigdirs ld"
1724 # Make sure we don't let GNU as be added if we didn't want it.
1725 if test x
$with_gnu_as = xno
; then
1727 noconfigdirs
="$noconfigdirs gas"
1730 # some tools are so dependent upon X11 that if we're not building with X,
1731 # it's not even worth trying to configure, much less build, that tool.
1734 yes |
"") ;; # the default value for this tree is that X11 is available
1736 skipdirs
="${skipdirs} tk itcl libgui"
1737 # We won't be able to build gdbtk without X.
1740 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1743 # Some tools are only suitable for building in a "native" situation.
1744 # Remove these if host!=target.
1745 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
1747 # Similarly, some are only suitable for cross toolchains.
1748 # Remove these if host=target.
1749 cross_only
="target-libgloss target-newlib target-opcodes"
1751 case $is_cross_compiler in
1752 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1753 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1756 # If both --with-headers and --with-libs are specified, default to
1758 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1759 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1760 if test x
"${with_newlib}" = x
; then
1765 # Recognize --with-newlib/--without-newlib.
1766 case ${with_newlib} in
1767 no
) skipdirs
="${skipdirs} target-newlib" ;;
1768 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
1771 # Configure extra directories which are host specific
1775 configdirs
="$configdirs libtermcap" ;;
1778 # A target can indicate whether a language isn't supported for some reason.
1779 # Only spaces may be used in this macro; not newlines or tabs.
1780 unsupported_languages
=
1782 # Remove more programs from consideration, based on the host or
1783 # target this usually means that a port of the program doesn't
1788 noconfigdirs
="$noconfigdirs byacc"
1790 i
[3456789]86-*-vsta)
1791 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
1793 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
1794 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
1796 i
[3456789]86-*-mingw32*)
1797 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
1798 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
1800 i
[3456789]86-*-beos*)
1801 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
1804 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
1807 noconfigdirs
="$noconfigdirs rcs"
1810 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
1813 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
1818 # Check whether --enable-libada or --disable-libada was given.
1819 if test "${enable_libada+set}" = set; then
1820 enableval
="$enable_libada"
1821 ENABLE_LIBADA
=$enableval
1825 if test "${ENABLE_LIBADA}" != "yes" ; then
1826 noconfigdirs
="$noconfigdirs gnattools"
1829 # Check whether --enable-libssp or --disable-libssp was given.
1830 if test "${enable_libssp+set}" = set; then
1831 enableval
="$enable_libssp"
1832 ENABLE_LIBSSP
=$enableval
1837 # Set the default so we build libgcc-math for ix86 and x86_64
1838 # Check whether --enable-libgcc-math or --disable-libgcc-math was given.
1839 if test "${enable_libgcc_math+set}" = set; then
1840 enableval
="$enable_libgcc_math"
1846 enable_libgcc_math
=yes ;;
1848 enable_libgcc_math
=no
;;
1853 # Save it here so that, even in case of --enable-libgcj, if the Java
1854 # front-end isn't enabled, we still get libgcj disabled.
1855 libgcj_saved
=$libgcj
1856 case $enable_libgcj in
1858 # If we reset it here, it won't get added to noconfigdirs in the
1859 # target-specific build rules, so it will be forcibly enabled
1860 # (unless the Java language itself isn't enabled).
1864 # Make sure we get it printed in the list of not supported target libs.
1865 noconfigdirs
="$noconfigdirs ${libgcj}"
1870 # Disable libmudflap on some systems.
1871 if test x
$enable_libmudflap = x
; then
1873 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1874 # Enable libmudflap by default in GNU and friends.
1877 # Enable libmudflap by default in FreeBSD.
1880 # Disable it by default everywhere else.
1881 noconfigdirs
="$noconfigdirs target-libmudflap"
1886 # Disable libgomp on non POSIX hosted systems.
1887 if test x
$enable_libgomp = x
; then
1888 # Enable libgomp by default on hosted POSIX systems.
1890 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1892 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
1894 *-*-solaris2* |
*-*-sysv4* |
*-*-irix* |
*-*-osf* |
*-*-hpux*)
1896 *-*-darwin* |
*-*-aix*)
1899 noconfigdirs
="$noconfigdirs target-libgomp"
1907 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
1910 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
1911 noconfigdirs
="$noconfigdirs sim target-rda"
1914 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
1915 noconfigdirs
="$noconfigdirs sim target-rda"
1916 noconfigdirs
="$noconfigdirs ${libgcj}"
1918 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
1919 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
1922 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1923 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
1924 && test -f /usr
/local
/include
/gmp.h
; then
1928 # Skip some stuff that's unsupported on some FreeBSD configurations.
1933 noconfigdirs
="$noconfigdirs ${libgcj}"
1938 # Remove unsupported stuff on all kaOS configurations.
1939 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
1940 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
1941 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
1942 noconfigdirs
="$noconfigdirs target-libgloss"
1945 # Skip some stuff on all NetBSD configurations.
1946 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
1948 # Skip some stuff that's unsupported on some NetBSD configurations.
1950 i
*86-*-netbsdelf*) ;;
1951 arm
*-*-netbsdelf*) ;;
1953 noconfigdirs
="$noconfigdirs ${libgcj}"
1958 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
1961 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
1963 # The tpf target doesn't support gdb yet.
1965 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
1968 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
1971 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
1974 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
1977 # ld works, but does not support shared libraries.
1978 # newlib is not 64 bit ready. I'm not sure about fileutils.
1979 # gas doesn't generate exception information.
1980 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
1983 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
1986 # newlib is not 64 bit ready
1987 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1990 # newlib is not 64 bit ready
1991 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
1994 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1997 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1999 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2000 noconfigdirs
="$noconfigdirs ${libgcj}"
2001 noconfigdirs
="$noconfigdirs target-examples"
2002 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2003 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2004 noconfigdirs
="$noconfigdirs expect dejagnu"
2005 # the C++ libraries don't build on top of CE's C libraries
2006 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2007 noconfigdirs
="$noconfigdirs target-newlib"
2009 *-*-cygwin*) ;; # keep gdb and readline
2010 *) noconfigdirs
="$noconfigdirs gdb readline"
2015 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2019 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2020 noconfigdirs
="$noconfigdirs ${libgcj}"
2022 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2023 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2025 arm
*-*-linux-gnueabi)
2026 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2027 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
2030 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2033 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2036 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2039 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2042 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2045 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2048 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2051 noconfigdirs
="$noconfigdirs target-libgloss gdb"
2052 if test x
${is_cross_compiler} != xno
; then
2053 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2056 c4x-
*-* | tic4x-
*-*)
2057 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2059 c54x
*-*-* | tic54x-
*-*)
2060 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2062 cris-
*-* | crisv32-
*-*)
2063 unsupported_languages
="$unsupported_languages java"
2066 unsupported_languages
="$unsupported_languages fortran"
2067 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2069 unsupported_languages
="$unsupported_languages fortran"
2070 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2072 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2074 unsupported_languages
="$unsupported_languages fortran"
2075 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2079 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2082 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2085 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2088 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2091 noconfigdirs
="$noconfigdirs ${libgcj}"
2094 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2097 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2099 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2101 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2102 # In this case, it's because the hppa64-linux target is for
2103 # the kernel only at this point and has no libc, and thus no
2104 # headers, crt*.o, etc., all of which are needed by these.
2105 noconfigdirs
="$noconfigdirs target-zlib"
2107 parisc
*-*-linux* | hppa
*-*-linux*)
2111 hppa
*-*-openbsd* | \
2113 noconfigdirs
="$noconfigdirs ${libgcj}"
2116 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2117 # build on HP-UX 10.20.
2118 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2121 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2124 # No gdb support yet.
2125 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2128 # No gdb or ld support yet.
2129 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2133 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2134 noconfigdirs
="$noconfigdirs ${libgcj}"
2136 i
[3456789]86-*-linux*)
2137 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2138 # not build java stuff by default.
2141 noconfigdirs
="$noconfigdirs ${libgcj}";;
2144 # This section makes it possible to build newlib natively on linux.
2145 # If we are using a cross compiler then don't configure newlib.
2146 if test x
${is_cross_compiler} != xno
; then
2147 noconfigdirs
="$noconfigdirs target-newlib"
2149 noconfigdirs
="$noconfigdirs target-libgloss"
2150 # If we are not using a cross compiler, do configure newlib.
2151 # Note however, that newlib will only be configured in this situation
2152 # if the --with-newlib option has been given, because otherwise
2153 # 'target-newlib' will appear in skipdirs.
2155 i
[3456789]86-*-mingw32*)
2156 target_configdirs
="$target_configdirs target-mingw"
2157 noconfigdirs
="$noconfigdirs expect target-libgloss ${libgcj}"
2159 # Can't build gdb for mingw32 if not native.
2161 i
[3456789]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
2162 *) noconfigdirs
="$noconfigdirs gdb tcl tk expect itcl gnuserv"
2167 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2168 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2169 # always build newlib if winsup directory is present.
2170 if test -d "$srcdir/winsup"; then
2171 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2172 elif test -d "$srcdir/newlib"; then
2173 echo "Warning: winsup is missing so newlib can't be built."
2176 # Can't build gdb for Cygwin if not native.
2178 *-*-cygwin*) ;; # keep gdb tcl tk expect etc.
2179 *) noconfigdirs
="$noconfigdirs gdb tcl tk expect itcl libgui gnuserv"
2183 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2184 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2187 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2189 i
[3456789]86-*-sco3.2v5
*)
2190 # The linker does not yet know about weak symbols in COFF,
2191 # and is not configured to handle mixed ELF and COFF.
2192 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2194 i
[3456789]86-*-sco*)
2195 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2197 i
[3456789]86-*-solaris2*)
2198 noconfigdirs
="$noconfigdirs target-libgloss"
2200 i
[3456789]86-*-sysv4*)
2201 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2203 i
[3456789]86-*-beos*)
2204 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2206 i
[3456789]86-*-rdos*)
2207 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2210 noconfigdirs
="$noconfigdirs ${libgcj}"
2212 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2213 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2216 noconfigdirs
="$noconfigdirs ${libgcj}"
2219 noconfigdirs
="$noconfigdirs ${libgcj}"
2222 # The EPOC C++ environment does not support exceptions or rtti,
2223 # and so building libstdc++-v3 tends not to always work.
2224 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2227 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2228 unsupported_languages
="$unsupported_languages fortran java"
2231 noconfigdirs
="$noconfigdirs ${libgcj}"
2234 noconfigdirs
="$noconfigdirs ${libgcj}"
2237 noconfigdirs
="$noconfigdirs sim"
2240 # copied from rs6000-*-* entry
2241 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2243 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2244 target_configdirs
="$target_configdirs target-winsup"
2245 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2246 # always build newlib.
2247 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2249 # This is temporary until we can link against shared libraries
2250 powerpcle-
*-solaris*)
2251 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2254 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2257 noconfigdirs
="$noconfigdirs ${libgcj}"
2259 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2262 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2265 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2268 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2271 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2274 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2277 # Linking libjava exceeds command-line length limits on at least
2278 # IRIX 6.2, but not on IRIX 6.5.
2279 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2280 # <oldham@codesourcery.com>
2281 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2284 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2287 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2290 noconfigdirs
="$noconfigdirs gprof ${libgcj}" # same as generic mips
2293 noconfigdirs
="$noconfigdirs target-newlib ${libgcj}"
2296 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2299 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2302 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2306 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2307 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2308 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2309 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2311 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2314 noconfigdirs
="$noconfigdirs ${libgcj}"
2317 noconfigdirs
="$noconfigdirs ${libgcj}"
2320 noconfigdirs
="$noconfigdirs ${libgcj}"
2323 noconfigdirs
="$noconfigdirs ${libgcj}"
2324 if test x
${is_cross_compiler} != xno
; then
2325 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2330 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2331 noconfigdirs
="$noconfigdirs ${libgcj}"
2333 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2336 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2339 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2342 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2345 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2348 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2351 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2354 noconfigdirs
="$noconfigdirs ${libgcj}"
2357 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2359 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2360 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2363 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2366 noconfigdirs
="$noconfigdirs ${libgcj}"
2370 # If we aren't building newlib, then don't build libgloss, since libgloss
2371 # depends upon some newlib header files.
2372 case "${noconfigdirs}" in
2373 *target-libgloss
*) ;;
2374 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2377 # Work in distributions that contain no compiler tools, like Autoconf.
2379 host_makefile_frag
=/dev
/null
2380 if test -d ${srcdir}/config
; then
2383 # Avoid "too much defining" errors from HPUX compiler.
2384 tentative_cc
="cc -Wp,-H256000"
2385 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2386 # If it's HP/UX ar, this should be harmless.
2390 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2393 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2394 # chokes on bfd, the compiler won't let you assign integers to enums, and
2395 # other problems. Defining CC to gcc is a questionable way to say "don't use
2396 # the apollo compiler" (the preferred version of GCC could be called cc,
2397 # or whatever), but I'm not sure leaving CC as cc is any better...
2398 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2399 # Used to have BISON=yacc.
2403 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2406 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2407 tentative_cc
="cc -Xa"
2408 host_makefile_frag
="config/mh-cxux"
2410 m88k-motorola-sysv
*)
2413 tentative_cc
="cc -Wf,-XNg1000"
2414 host_makefile_frag
="config/mh-decstation"
2417 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2418 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2419 host_makefile_frag
="config/mh-necv4"
2422 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2423 # environment. Also bump switch table size so that cp-parse will
2424 # compile. Bump string length limit so linker builds.
2425 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2428 host_makefile_frag
="config/mh-sysv4"
2431 # This is for a MIPS running RISC/os 4.52C.
2433 # This is needed for GDB, but needs to be in the top-level make because
2434 # if a library is compiled with the bsd headers and gets linked with the
2435 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2436 # a different size).
2437 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2438 # known except to select the sysv environment. Could we use /proc instead?
2439 # These "sysv environments" and "bsd environments" often end up being a pain.
2441 # This is not part of CFLAGS because perhaps not all C compilers have this
2443 tentative_cc
="cc -systype sysv"
2448 i
[3456789]86-*-sysv5*)
2449 host_makefile_frag
="config/mh-sysv5"
2451 i
[3456789]86-*-dgux*)
2452 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2453 host_makefile_frag
="config/mh-dgux386"
2455 i
[3456789]86-ncr-sysv4.3
*)
2456 # The MetaWare compiler will generate a copyright message unless you
2457 # turn it off by adding the -Hnocopyr flag.
2458 tentative_cc
="cc -Hnocopyr"
2460 i
[3456789]86-ncr-sysv4*)
2461 # for an NCR 3000 (i486/SVR4) system.
2462 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2463 # This compiler not only emits obnoxious copyright messages every time
2464 # you run it, but it chokes and dies on a whole bunch of GNU source
2465 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2466 tentative_cc
="/usr/ccs/ATT/cc"
2467 host_makefile_frag
="config/mh-ncr3000"
2469 i
[3456789]86-*-sco3.2v5
*)
2471 i
[3456789]86-*-sco*)
2472 # The native C compiler botches some simple uses of const. Unfortunately,
2473 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2474 tentative_cc
="cc -Dconst="
2475 host_makefile_frag
="config/mh-sco"
2477 i
[3456789]86-*-udk*)
2478 host_makefile_frag
="config/mh-sysv5"
2480 i
[3456789]86-*-solaris2*)
2481 host_makefile_frag
="config/mh-sysv4"
2483 i
[3456789]86-*-msdosdjgpp*)
2484 host_makefile_frag
="config/mh-djgpp"
2487 host_makefile_frag
="config/mh-cygwin"
2492 host_makefile_frag
="config/mh-interix"
2495 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2499 host_makefile_frag
="config/mh-solaris"
2502 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2503 # without overflowing the jump tables (-J says to use a 32 bit table)
2504 tentative_cc
="cc -J"
2507 tentative_cc
="cc -Wp,-H256000"
2510 tentative_cc
="cc -Wp,-H256000"
2513 # /bin/cc is less than useful for our purposes. Always use GCC
2514 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2515 host_makefile_frag
="config/mh-lynxrs6k"
2518 host_makefile_frag
="config/mh-ppc-darwin"
2521 host_makefile_frag
="config/mh-ppc-aix"
2524 host_makefile_frag
="config/mh-ppc-aix"
2527 # /bin/cc is less than useful for our purposes. Always use GCC
2528 tentative_cc
="/bin/gcc"
2531 host_makefile_frag
="config/mh-sysv4"
2533 # This is placed last to prevent interfering with the cases above.
2535 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2536 host_makefile_frag
="config/mh-x86omitfp"
2541 # If we aren't going to be using gcc, see if we can extract a definition
2542 # of CC from the fragment.
2543 # Actually, use the 'pre-extracted' version above.
2544 if test -z "${CC}" && test "${build}" = "${host}" ; then
2545 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2547 for dir
in $PATH; do
2548 test -z "$dir" && dir
=.
2549 if test -f $dir/gcc
; then
2555 if test -z "${found}" && test -n "${tentative_cc}" ; then
2560 if test "${build}" != "${host}" ; then
2561 # If we are doing a Canadian Cross, in which the host and build systems
2562 # are not the same, we set reasonable default values for the tools.
2564 CC
=${CC-${host_alias}-gcc}
2565 CFLAGS
=${CFLAGS-"-g -O2"}
2566 CXX
=${CXX-${host_alias}-c++}
2567 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
2568 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2571 # Set reasonable default values for some tools even if not Canadian.
2572 # Of course, these are different reasonable default values, originally
2573 # specified directly in the Makefile.
2574 # We don't export, so that autoconf can do its job.
2575 # Note that all these settings are above the fragment inclusion point
2576 # in Makefile.in, so can still be overridden by fragments.
2577 # This is all going to change when we autoconfiscate...
2579 CC_FOR_BUILD
="\$(CC)"
2581 ac_cpp
='$CPP $CPPFLAGS'
2582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2585 if test -n "$ac_tool_prefix"; then
2586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2587 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2588 echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2590 if test "${ac_cv_prog_CC+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 if test -n "$CC"; then
2594 ac_cv_prog_CC
="$CC" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 if test -n "$CC"; then
2614 echo "$as_me:$LINENO: result: $CC" >&5
2615 echo "${ECHO_T}$CC" >&6
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2622 if test -z "$ac_cv_prog_CC"; then
2624 # Extract the first word of "gcc", so it can be a program name with args.
2625 set dummy gcc
; ac_word
=$2
2626 echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 if test -n "$ac_ct_CC"; then
2632 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir
=.
2639 for ac_exec_ext
in '' $ac_executable_extensions; do
2640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641 ac_cv_prog_ac_ct_CC
="gcc"
2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2651 if test -n "$ac_ct_CC"; then
2652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2653 echo "${ECHO_T}$ac_ct_CC" >&6
2655 echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6
2664 if test -z "$CC"; then
2665 if test -n "$ac_tool_prefix"; then
2666 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2667 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2668 echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2670 if test "${ac_cv_prog_CC+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 if test -n "$CC"; then
2674 ac_cv_prog_CC
="$CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 if test -n "$CC"; then
2694 echo "$as_me:$LINENO: result: $CC" >&5
2695 echo "${ECHO_T}$CC" >&6
2697 echo "$as_me:$LINENO: result: no" >&5
2698 echo "${ECHO_T}no" >&6
2702 if test -z "$ac_cv_prog_CC"; then
2704 # Extract the first word of "cc", so it can be a program name with args.
2705 set dummy cc
; ac_word
=$2
2706 echo "$as_me:$LINENO: checking for $ac_word" >&5
2707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 if test -n "$ac_ct_CC"; then
2712 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2721 ac_cv_prog_ac_ct_CC
="cc"
2722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2731 if test -n "$ac_ct_CC"; then
2732 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2733 echo "${ECHO_T}$ac_ct_CC" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2745 if test -z "$CC"; then
2746 # Extract the first word of "cc", so it can be a program name with args.
2747 set dummy cc
; ac_word
=$2
2748 echo "$as_me:$LINENO: checking for $ac_word" >&5
2749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2750 if test "${ac_cv_prog_CC+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC
="$CC" # Let the user override the test.
2757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir
=.
2762 for ac_exec_ext
in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2765 ac_prog_rejected
=yes
2769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test $ac_prog_rejected = yes; then
2776 # We found a bogon in the path, so make sure we never use it.
2777 set dummy
$ac_cv_prog_CC
2779 if test $# != 0; then
2780 # We chose a different compiler from the bogus one.
2781 # However, it has the same basename, so the bogon will be chosen
2782 # first if we set CC to just the basename; use the full file name.
2784 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2790 if test -n "$CC"; then
2791 echo "$as_me:$LINENO: result: $CC" >&5
2792 echo "${ECHO_T}$CC" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 if test -z "$CC"; then
2800 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2804 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2805 echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2807 if test "${ac_cv_prog_CC+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC
="$CC" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 if test -n "$CC"; then
2831 echo "$as_me:$LINENO: result: $CC" >&5
2832 echo "${ECHO_T}$CC" >&6
2834 echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6
2838 test -n "$CC" && break
2841 if test -z "$CC"; then
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846 set dummy
$ac_prog; ac_word
=$2
2847 echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 if test -n "$ac_ct_CC"; then
2853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_ac_ct_CC
="$ac_prog"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2872 if test -n "$ac_ct_CC"; then
2873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2874 echo "${ECHO_T}$ac_ct_CC" >&6
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2880 test -n "$ac_ct_CC" && break
2889 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }
2895 # Provide some information about the compiler.
2896 echo "$as_me:$LINENO:" \
2897 "checking for C compiler version" >&5
2898 ac_compiler
=`set X $ac_compile; echo $2`
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2900 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2905 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2910 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2930 ac_clean_files_save
=$ac_clean_files
2931 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2932 # Try to create an executable without -o first, disregard a.out.
2933 # It will help us diagnose broken compilers, and finding out an intuition
2935 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2936 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2937 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2938 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2939 (eval $ac_link_default) 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; then
2943 # Find the output, starting from the most likely. This scheme is
2944 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2947 # Be careful to initialize this variable, since it used to be cached.
2948 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2950 # b.out is created by i960 compilers.
2951 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2953 test -f "$ac_file" ||
continue
2955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2958 # This is the source file.
2961 # We found the default executable, but exeext='' is most
2965 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2966 # FIXME: I believe we export ac_cv_exeext for Libtool,
2967 # but it would be cool to find out if it's true. Does anybody
2968 # maintain Libtool? --akim.
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.
$ac_ext >&5
2979 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2980 See \`config.log' for more details." >&5
2981 echo "$as_me: error: C compiler cannot create executables
2982 See \`config.log' for more details." >&2;}
2983 { (exit 77); exit 77; }; }
2986 ac_exeext
=$ac_cv_exeext
2987 echo "$as_me:$LINENO: result: $ac_file" >&5
2988 echo "${ECHO_T}$ac_file" >&6
2990 # Check the compiler produces executables we can run. If not, either
2991 # the compiler is broken, or we cross compile.
2992 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2993 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2994 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2995 # If not cross compiling, check that we can run a simple program.
2996 if test "$cross_compiling" != yes; then
2997 if { ac_try
='./$ac_file'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3005 if test "$cross_compiling" = maybe
; then
3008 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3009 If you meant to cross compile, use \`--host'.
3010 See \`config.log' for more details." >&5
3011 echo "$as_me: error: cannot run C compiled programs.
3012 If you meant to cross compile, use \`--host'.
3013 See \`config.log' for more details." >&2;}
3014 { (exit 1); exit 1; }; }
3018 echo "$as_me:$LINENO: result: yes" >&5
3019 echo "${ECHO_T}yes" >&6
3021 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3022 ac_clean_files
=$ac_clean_files_save
3023 # Check the compiler produces executables we can run. If not, either
3024 # the compiler is broken, or we cross compile.
3025 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3026 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3027 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3028 echo "${ECHO_T}$cross_compiling" >&6
3030 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3031 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3033 (eval $ac_link) 2>&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; then
3037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3039 # work properly (i.e., refer to `conftest.exe'), while it won't with
3041 for ac_file
in conftest.exe conftest conftest.
*; do
3042 test -f "$ac_file" ||
continue
3044 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3045 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3052 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3053 See \`config.log' for more details." >&5
3054 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3055 See \`config.log' for more details." >&2;}
3056 { (exit 1); exit 1; }; }
3059 rm -f conftest
$ac_cv_exeext
3060 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3061 echo "${ECHO_T}$ac_cv_exeext" >&6
3063 rm -f conftest.
$ac_ext
3064 EXEEXT
=$ac_cv_exeext
3066 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3067 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3068 if test "${ac_cv_objext+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.o conftest.obj
3087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3088 (eval $ac_compile) 2>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; then
3092 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3094 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3095 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.
$ac_ext >&5
3103 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3106 See \`config.log' for more details." >&2;}
3107 { (exit 1); exit 1; }; }
3110 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3112 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3113 echo "${ECHO_T}$ac_cv_objext" >&6
3114 OBJEXT
=$ac_cv_objext
3116 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3117 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3118 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 cat >conftest.
$ac_ext <<_ACEOF
3124 cat confdefs.h
>>conftest.
$ac_ext
3125 cat >>conftest.
$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3139 rm -f conftest.
$ac_objext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3141 (eval $ac_compile) 2>conftest.er1
3143 grep -v '^ *+' conftest.er1
>conftest.err
3145 cat conftest.err
>&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
3148 { ac_try
='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; } &&
3155 { ac_try
='test -s conftest.$ac_objext'
3156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; }; then
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.
$ac_ext >&5
3168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3169 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3172 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3173 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3174 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3175 ac_test_CFLAGS
=${CFLAGS+set}
3176 ac_save_CFLAGS
=$CFLAGS
3178 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3180 if test "${ac_cv_prog_cc_g+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 cat >conftest.
$ac_ext <<_ACEOF
3186 cat confdefs.h
>>conftest.
$ac_ext
3187 cat >>conftest.
$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3198 rm -f conftest.
$ac_objext
3199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200 (eval $ac_compile) 2>conftest.er1
3202 grep -v '^ *+' conftest.er1
>conftest.err
3204 cat conftest.err
>&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try
='test -z "$ac_c_werror_flag"
3208 || test ! -s conftest.err'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; } &&
3214 { ac_try
='test -s conftest.$ac_objext'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; }; then
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.
$ac_ext >&5
3227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3229 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3230 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3231 if test "$ac_test_CFLAGS" = set; then
3232 CFLAGS
=$ac_save_CFLAGS
3233 elif test $ac_cv_prog_cc_g = yes; then
3234 if test "$GCC" = yes; then
3240 if test "$GCC" = yes; then
3246 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3247 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3248 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 ac_cv_prog_cc_stdc
=no
3253 cat >conftest.
$ac_ext <<_ACEOF
3256 cat confdefs.h
>>conftest.
$ac_ext
3257 cat >>conftest.
$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3261 #include <sys/types.h>
3262 #include <sys/stat.h>
3263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3264 struct buf { int x; };
3265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3266 static char *e (p, i)
3272 static char *f (char * (*g) (char **, int), char **p, ...)
3277 s = g (p, va_arg (v,int));
3282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3283 function prototypes and stuff, but not '\xHH' hex character constants.
3284 These don't provoke an error unfortunately, instead are silently treated
3285 as 'x'. The following induces an error, until -std1 is added to get
3286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3287 array size at least. It's necessary to write '\x00'==0 to get something
3288 that's true only with -std1. */
3289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3291 int test (int i, double x);
3292 struct s1 {int (*f) (int a);};
3293 struct s2 {int (*f) (double a);};
3294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3305 # Don't try gcc -ansi; that turns off useful extensions and
3306 # breaks some systems' header files.
3307 # AIX -qlanglvl=ansi
3308 # Ultrix and OSF/1 -std1
3309 # HP-UX 10.20 and later -Ae
3310 # HP-UX older versions -Aa -D_HPUX_SOURCE
3311 # SVR4 -Xc -D__EXTENSIONS__
3312 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3314 CC
="$ac_save_CC $ac_arg"
3315 rm -f conftest.
$ac_objext
3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3317 (eval $ac_compile) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1
>conftest.err
3321 cat conftest.err
>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } &&
3324 { ac_try
='test -z "$ac_c_werror_flag"
3325 || test ! -s conftest.err'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; } &&
3331 { ac_try
='test -s conftest.$ac_objext'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }; }; then
3337 ac_cv_prog_cc_stdc
=$ac_arg
3340 echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.
$ac_ext >&5
3344 rm -f conftest.err conftest.
$ac_objext
3346 rm -f conftest.
$ac_ext conftest.
$ac_objext
3351 case "x$ac_cv_prog_cc_stdc" in
3353 echo "$as_me:$LINENO: result: none needed" >&5
3354 echo "${ECHO_T}none needed" >&6 ;;
3356 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3357 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3358 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3361 # Some people use a C++ compiler to compile C. Since we use `exit',
3362 # in C++ we need to declare it. In case someone uses the same compiler
3363 # for both compiling C and C++ we need to have the C++ compiler decide
3364 # the declaration of exit, since it's the most demanding environment.
3365 cat >conftest.
$ac_ext <<_ACEOF
3370 rm -f conftest.
$ac_objext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3372 (eval $ac_compile) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } &&
3379 { ac_try
='test -z "$ac_c_werror_flag"
3380 || test ! -s conftest.err'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; } &&
3386 { ac_try
='test -s conftest.$ac_objext'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; }; then
3392 for ac_declaration
in \
3394 'extern "C" void std::exit (int) throw (); using std::exit;' \
3395 'extern "C" void std::exit (int); using std::exit;' \
3396 'extern "C" void exit (int) throw ();' \
3397 'extern "C" void exit (int);' \
3400 cat >conftest.
$ac_ext <<_ACEOF
3403 cat confdefs.h
>>conftest.
$ac_ext
3404 cat >>conftest.
$ac_ext <<_ACEOF
3405 /* end confdefs.h. */
3416 rm -f conftest.
$ac_objext
3417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418 (eval $ac_compile) 2>conftest.er1
3420 grep -v '^ *+' conftest.er1
>conftest.err
3422 cat conftest.err
>&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } &&
3425 { ac_try
='test -z "$ac_c_werror_flag"
3426 || test ! -s conftest.err'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; } &&
3432 { ac_try
='test -s conftest.$ac_objext'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; }; then
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.
$ac_ext >&5
3445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.
$ac_objext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1
>conftest.err
3467 cat conftest.err
>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try
='test -z "$ac_c_werror_flag"
3471 || test ! -s conftest.err'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; } &&
3477 { ac_try
='test -s conftest.$ac_objext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.
$ac_ext >&5
3489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3492 if test -n "$ac_declaration"; then
3493 echo '#ifdef __cplusplus' >>confdefs.h
3494 echo $ac_declaration >>confdefs.h
3495 echo '#endif' >>confdefs.h
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.
$ac_ext >&5
3503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3505 ac_cpp
='$CPP $CPPFLAGS'
3506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3511 # We must set the default linker to the linker used by gcc for the correct
3512 # operation of libtool. If LD is not defined and we are using gcc, try to
3513 # set the LD default to the ld used by gcc.
3514 if test -z "$LD"; then
3515 if test "$GCC" = yes; then
3518 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
3520 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
3522 case $gcc_prog_ld in
3523 # Accept absolute paths.
3524 [\\/]* |
[A-Za-z
]:[\\/]*)
3525 LD
="$gcc_prog_ld" ;;
3531 CFLAGS
=${CFLAGS-"-g"}
3532 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
3540 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_GNATBIND+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 if test -n "$GNATBIND"; then
3547 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 GNATBIND
=$ac_cv_prog_GNATBIND
3566 if test -n "$GNATBIND"; then
3567 echo "$as_me:$LINENO: result: $GNATBIND" >&5
3568 echo "${ECHO_T}$GNATBIND" >&6
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3575 if test -z "$ac_cv_prog_GNATBIND"; then
3576 ac_ct_GNATBIND
=$GNATBIND
3577 # Extract the first word of "gnatbind", so it can be a program name with args.
3578 set dummy gnatbind
; ac_word
=$2
3579 echo "$as_me:$LINENO: checking for $ac_word" >&5
3580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3581 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 if test -n "$ac_ct_GNATBIND"; then
3585 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
3595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
3604 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
3605 if test -n "$ac_ct_GNATBIND"; then
3606 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
3607 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3613 GNATBIND
=$ac_ct_GNATBIND
3615 GNATBIND
="$ac_cv_prog_GNATBIND"
3618 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
3619 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
3620 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 cat >conftest.adb
<<EOF
3624 procedure conftest is begin null; end conftest;
3626 acx_cv_cc_gcc_supports_ada
=no
3627 # There is a bug in old released versions of GCC which causes the
3628 # driver to exit successfully when the appropriate language module
3629 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
3630 # Therefore we must check for the error message as well as an
3631 # unsuccessful exit.
3632 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
3633 # given a .adb file, but produce no object file. So we must check
3634 # if an object file was really produced to guard against this.
3635 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
3636 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
3637 acx_cv_cc_gcc_supports_ada
=yes
3641 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
3642 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
3644 if test x
$GNATBIND != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
3650 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
3651 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
3652 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
3658 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
3659 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
3662 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
3665 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
3666 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
3669 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
3675 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
3676 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
3677 do_compare
="$gcc_cv_prog_cmp_skip"
3681 # Check for GMP and MPFR
3685 # Specify a location for mpfr
3686 # check for this first so it ends up on the link line before gmp.
3688 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
3689 if test "${with_mpfr_dir+set}" = set; then
3690 withval
="$with_mpfr_dir"
3694 if test "x$with_mpfr_dir" != x
; then
3695 gmpinc
="-I$with_mpfr_dir"
3696 gmplibs
="$with_mpfr_dir/libmpfr.a"
3702 # Check whether --with-mpfr or --without-mpfr was given.
3703 if test "${with_mpfr+set}" = set; then
3704 withval
="$with_mpfr"
3708 if test "x$with_mpfr" != x
; then
3709 gmplibs
="-L$with_mpfr/lib $gmplibs"
3710 gmpinc
="-I$with_mpfr/include"
3713 # Specify a location for gmp
3715 # Check whether --with-gmp-dir or --without-gmp-dir was given.
3716 if test "${with_gmp_dir+set}" = set; then
3717 withval
="$with_gmp_dir"
3721 if test "x$with_gmp_dir" != x
; then
3722 gmpinc
="$gmpinc -I$with_gmp_dir"
3723 if test -f "$with_gmp_dir/.libs/libgmp.a"; then
3724 gmplibs
="$gmplibs $with_gmp_dir/.libs/libgmp.a"
3725 elif test -f "$with_gmp_dir/_libs/libgmp.a"; then
3726 gmplibs
="$gmplibs $with_gmp_dir/_libs/libgmp.a"
3728 # One of the later tests will catch the error if neither library is present.
3730 gmplibs
="$gmplibs -lgmp"
3734 # Check whether --with-gmp or --without-gmp was given.
3735 if test "${with_gmp+set}" = set; then
3740 if test "x$with_gmp" != x
; then
3741 gmplibs
="-L$with_gmp/lib $gmplibs"
3742 gmpinc
="-I$with_gmp/include $gmpinc"
3745 saved_CFLAGS
="$CFLAGS"
3746 CFLAGS
="$CFLAGS $gmpinc"
3747 # Check GMP actually works
3748 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
3749 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
3751 cat >conftest.
$ac_ext <<_ACEOF
3754 cat confdefs.h
>>conftest.
$ac_ext
3755 cat >>conftest.
$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3762 #if __GNU_MP_VERSION < 3
3770 rm -f conftest.
$ac_objext
3771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3772 (eval $ac_compile) 2>conftest.er1
3774 grep -v '^ *+' conftest.er1
>conftest.err
3776 cat conftest.err
>&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } &&
3779 { ac_try
='test -z "$ac_c_werror_flag"
3780 || test ! -s conftest.err'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; } &&
3786 { ac_try
='test -s conftest.$ac_objext'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me: failed program was:" >&5
3796 sed 's/^/| /' conftest.
$ac_ext >&5
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6; have_gmp
=no
3801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3803 if test x
"$have_gmp" = xyes
; then
3804 echo "$as_me:$LINENO: checking for MPFR" >&5
3805 echo $ECHO_N "checking for MPFR... $ECHO_C" >&6
3808 LIBS
="$LIBS $gmplibs"
3809 cat >conftest.
$ac_ext <<_ACEOF
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3820 mpfr_t n; mpfr_init(n);
3825 rm -f conftest.
$ac_objext conftest
$ac_exeext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3827 (eval $ac_link) 2>conftest.er1
3829 grep -v '^ *+' conftest.er1
>conftest.err
3831 cat conftest.err
>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try
='test -z "$ac_c_werror_flag"
3835 || test ! -s conftest.err'
3836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); }; } &&
3841 { ac_try
='test -s conftest$ac_exeext'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; }; then
3847 echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6
3850 echo "$as_me: failed program was:" >&5
3851 sed 's/^/| /' conftest.
$ac_ext >&5
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6; have_gmp
=no
3856 rm -f conftest.err conftest.
$ac_objext \
3857 conftest
$ac_exeext conftest.
$ac_ext
3859 CFLAGS
="$saved_CFLAGS"
3862 # Flags needed for both GMP and/or MPFR
3866 # By default, C is the only stage 1 language.
3870 # Figure out what language subdirectories are present.
3871 # Look if the user specified --enable-languages="..."; if not, use
3872 # the environment variable $LANGUAGES if defined. $LANGUAGES might
3874 # NB: embedded tabs in this IF block -- do not untabify
3875 if test -d ${srcdir}/gcc
; then
3876 if test x
"${enable_languages+set}" != xset
; then
3877 if test x
"${LANGUAGES+set}" = xset
; then
3878 enable_languages
="${LANGUAGES}"
3879 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
3881 enable_languages
=all
3884 if test x
"${enable_languages}" = x ||
3885 test x
"${enable_languages}" = xyes
;
3887 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
3891 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
3893 # 'f95' is the old name for the 'fortran' language. We issue a warning
3894 # and make the substitution.
3895 case ,${enable_languages}, in
3897 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
3898 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
3902 # First scan to see if an enabled language requires some other language.
3903 # We assume that a given config-lang.in will list all the language
3904 # front ends it requires, even if some are required indirectly.
3905 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
3906 case ${lang_frag} in
3908 # The odd quoting in the next line works around
3909 # an apparent bug in bash 1.12 on linux.
3910 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
3912 # From the config-lang.in, get $language, $lang_requires
3916 for other
in ${lang_requires} ; do
3917 case ,${enable_languages}, in
3921 echo " \`$other' language required by \`$language'; enabling" 1>&2
3922 enable_languages
="${enable_languages},${other}"
3930 new_enable_languages
=c
3931 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
3932 potential_languages
=c
3934 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
3935 case ${lang_frag} in
3937 # The odd quoting in the next line works around
3938 # an apparent bug in bash 1.12 on linux.
3939 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
3941 # From the config-lang.in, get $language, $target_libs,
3942 # $lang_dirs, $boot_language, and $build_by_default
3950 potential_languages
="${potential_languages},${language}"
3951 # This is quite sensitive to the ordering of the case statement arms.
3952 case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in
3954 echo "${lang_frag} doesn't set \$language." 1>&2
3958 # Ada was requested with no preexisting GNAT. Disable unconditionally.
3961 *,${language},*:*:*:*)
3962 # Language was explicitly selected; include it.
3966 # 'all' was selected, but this is not a default language
3967 # so do not include it.
3971 # 'all' was selected and this is a default language; include it.
3979 # Disable languages that need GMP if it isn't available.
3980 case ,${enable_languages},:${have_gmp}:${need_gmp} in
3981 *,${language},*:no
:yes)
3982 # Specifically requested language; tell them.
3983 { { echo "$as_me:$LINENO: error: GMP with MPFR support is required to build $language" >&5
3984 echo "$as_me: error: GMP with MPFR support is required to build $language" >&2;}
3985 { (exit 1); exit 1; }; }
3993 # Disable a language that is unsupported by the target.
3994 case " $unsupported_languages " in
4000 case $add_this_lang in
4002 # Remove language-dependent dirs.
4003 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4006 new_enable_languages
="$new_enable_languages,$language"
4007 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4008 case ${boot_language} in
4010 # Add to (comma-separated) list of stage 1 languages.
4011 stage1_languages
="${stage1_languages},${language}"
4020 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4021 if test "x$missing_languages" != x
; then
4022 { { echo "$as_me:$LINENO: error:
4023 The following requested languages could not be built: ${missing_languages}
4024 Recognised languages are: ${potential_languages}" >&5
4025 echo "$as_me: error:
4026 The following requested languages could not be built: ${missing_languages}
4027 Recognised languages are: ${potential_languages}" >&2;}
4028 { (exit 1); exit 1; }; }
4031 if test "x$new_enable_languages" != "x$enable_languages"; then
4032 echo The following languages will be built
: ${new_enable_languages}
4034 enable_languages
="$new_enable_languages"
4035 ac_configure_args
=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
4038 # Handle --disable-<component> generically.
4039 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4040 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4041 if eval test x\
${enable_${dirname}} "=" xno
; then
4042 noconfigdirs
="$noconfigdirs $dir"
4046 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4047 # $build_configdirs and $target_configdirs.
4048 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4051 for dir
in .
$skipdirs $noconfigdirs ; do
4052 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4053 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4054 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4055 if test -r $srcdir/$dirname/configure
; then
4056 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4059 notsupp
="$notsupp $dir"
4063 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4064 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4065 if test -r $srcdir/$dirname/configure
; then
4066 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4069 notsupp
="$notsupp $dir"
4073 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4074 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4075 if test -r $srcdir/$dirname/configure
; then
4076 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4079 notsupp
="$notsupp $dir"
4085 # Sometimes the tools are distributed with libiberty but with no other
4086 # libraries. In that case, we don't want to build target-libiberty.
4087 if test -n "${target_configdirs}" ; then
4089 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4090 if test "$i" != "libiberty" ; then
4091 if test -r $srcdir/$i/configure
; then
4097 if test -z "${others}" ; then
4102 # Quietly strip out all directories which aren't configurable in this tree.
4103 # This relies on all configurable subdirectories being autoconfiscated, which
4105 build_configdirs_all
="$build_configdirs"
4107 for i
in ${build_configdirs_all} ; do
4108 j
=`echo $i | sed -e s/build-//g`
4109 if test -f ${srcdir}/$j/configure
; then
4110 build_configdirs
="${build_configdirs} $i"
4114 configdirs_all
="$configdirs"
4116 for i
in ${configdirs_all} ; do
4117 if test -f ${srcdir}/$i/configure
; then
4118 configdirs
="${configdirs} $i"
4122 target_configdirs_all
="$target_configdirs"
4124 for i
in ${target_configdirs_all} ; do
4125 j
=`echo $i | sed -e s/target-//g`
4126 if test -f ${srcdir}/$j/configure
; then
4127 target_configdirs
="${target_configdirs} $i"
4131 # Produce a warning message for the subdirs we can't configure.
4132 # This isn't especially interesting in the Cygnus tree, but in the individual
4133 # FSF releases, it's important to let people know when their machine isn't
4134 # supported by the one or two programs in a package.
4136 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4137 # If $appdirs is non-empty, at least one of those directories must still
4138 # be configured, or we error out. (E.g., if the gas release supports a
4139 # specified target in some subdirs but not the gas subdir, we shouldn't
4140 # pretend that all is well.)
4141 if test -n "$appdirs" ; then
4142 for dir
in $appdirs ; do
4143 if test -r $dir/Makefile.
in ; then
4144 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4148 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4154 if test -n "$appdirs" ; then
4155 echo "*** This configuration is not supported by this package." 1>&2
4159 # Okay, some application will build, or we don't care to check. Still
4160 # notify of subdirs not getting built.
4161 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
4162 echo " ${notsupp}" 1>&2
4163 echo " (Any other directories should still work fine.)" 1>&2
4174 # Check whether --with-build-sysroot or --without-build-sysroot was given.
4175 if test "${with_build_sysroot+set}" = set; then
4176 withval
="$with_build_sysroot"
4177 if test x
"$withval" != x
; then
4178 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
4181 SYSROOT_CFLAGS_FOR_TARGET
=
4185 # Handle --with-headers=XXX. If the value is not "yes", the contents of
4186 # the named directory are copied to $(tooldir)/sys-include.
4187 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
4188 if test x
${is_cross_compiler} = xno
; then
4189 echo 1>&2 '***' --with-headers is only supported when cross compiling
4192 if test x
"${with_headers}" != xyes
; then
4193 case "${exec_prefixoption}" in
4195 *) x
=${exec_prefix} ;;
4197 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
4201 # Handle --with-libs=XXX. If the value is not "yes", the contents of
4202 # the name directories are copied to $(tooldir)/lib. Multiple directories
4204 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
4205 if test x
${is_cross_compiler} = xno
; then
4206 echo 1>&2 '***' --with-libs is only supported when cross compiling
4209 if test x
"${with_libs}" != xyes
; then
4210 # Copy the libraries in reverse order, so that files in the first named
4211 # library override files in subsequent libraries.
4212 case "${exec_prefixoption}" in
4214 *) x
=${exec_prefix} ;;
4216 for l
in ${with_libs}; do
4217 copy_dirs
="$l $x/${target_alias}/lib ${copy_dirs}"
4222 # Set with_gnu_as and with_gnu_ld as appropriate.
4224 # This is done by determining whether or not the appropriate directory
4225 # is available, and by checking whether or not specific configurations
4226 # have requested that this magic not happen.
4228 # The command line options always override the explicit settings in
4229 # configure.in, and the settings in configure.in override this magic.
4231 # If the default for a toolchain is to use GNU as and ld, and you don't
4232 # want to do that, then you should use the --without-gnu-as and
4233 # --without-gnu-ld options for the configure script.
4235 if test x
${use_gnu_as} = x
&&
4236 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
4238 extra_host_args
="$extra_host_args --with-gnu-as"
4241 if test x
${use_gnu_ld} = x
&&
4242 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
4244 extra_host_args
="$extra_host_args --with-gnu-ld"
4247 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
4248 # can detect this case.
4250 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
4252 extra_host_args
="$extra_host_args --with-newlib"
4255 # Handle ${copy_dirs}
4256 set fnord
${copy_dirs}
4258 while test $# != 0 ; do
4259 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
4262 echo Copying
$1 to
$2
4264 # Use the install script to create the directory and all required
4265 # parent directories.
4266 if test -d $2 ; then
4270 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
4273 # Copy the directory, assuming we have tar.
4274 # FIXME: Should we use B in the second tar? Not all systems support it.
4275 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
4277 # It is the responsibility of the user to correctly adjust all
4278 # symlinks. If somebody can figure out how to handle them correctly
4279 # here, feel free to add the code.
4286 # Determine a target-dependent exec_prefix that the installed
4287 # gcc will search in. Keep this list sorted by triplet, with
4288 # the *-*-osname triplets last.
4292 md_exec_prefix
=/gnu
/lib
/gcc-lib
4294 i3456786-pc-msdosdjgpp
*)
4295 md_exec_prefix
=/dev
/env
/DJDIR
/bin
4297 i3456786-
*-sco3.2v5
*)
4298 if test $with_gnu_as = yes; then
4299 md_exec_prefix
=/usr
/gnu
/bin
4301 md_exec_prefix
=/usr
/ccs
/bin
/elf
4306 powerpc-
*-chorusos* | \
4307 powerpc
*-*-eabi* | \
4308 powerpc
*-*-sysv* | \
4309 powerpc
*-*-kaos* | \
4311 md_exec_prefix
=/usr
/ccs
/bin
4316 md_exec_prefix
=/usr
/ccs
/bin
4331 md_exec_prefix
=/usr
/ccs
/bin
4335 extra_arflags_for_target
=
4336 extra_nmflags_for_target
=
4337 extra_ranlibflags_for_target
=
4338 target_makefile_frag
=/dev
/null
4341 target_makefile_frag
="config/mt-netware"
4343 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
4344 target_makefile_frag
="config/mt-gnu"
4346 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
4347 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
4348 # commands to handle both 32-bit and 64-bit objects. These flags are
4349 # harmless if we're using GNU nm or ar.
4350 extra_arflags_for_target
=" -X32_64"
4351 extra_nmflags_for_target
=" -B -X32_64"
4354 # ranlib from Darwin requires the -c flag to look at common symbols.
4355 extra_ranlibflags_for_target
=" -c"
4357 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
4358 target_makefile_frag
="config/mt-wince"
4362 alphaieee_frag
=/dev
/null
4365 # This just makes sure to use the -mieee option to build target libs.
4366 # This should probably be set individually by each library.
4367 alphaieee_frag
="config/mt-alphaieee"
4371 # If --enable-target-optspace always use -Os instead of -O2 to build
4372 # the target libraries, similarly if it is not specified, use -Os
4373 # on selected platforms.
4374 ospace_frag
=/dev
/null
4375 case "${enable_target_optspace}:${target}" in
4377 ospace_frag
="config/mt-ospace"
4380 ospace_frag
="config/mt-d30v"
4382 :m32r-
* |
:d10v-
* |
:fr30-
*)
4383 ospace_frag
="config/mt-ospace"
4388 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
4392 # Default to using --with-stabs for certain targets.
4393 if test x
${with_stabs} = x
; then
4397 mips
*-*-* | alpha
*-*-osf*)
4399 extra_host_args
="${extra_host_args} --with-stabs"
4404 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
4405 # them automatically.
4408 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
4412 # Some systems (e.g., one of the i386-aix systems the gas testers are
4413 # using) don't handle "\$" correctly, so don't use it here.
4414 tooldir
='${exec_prefix}'/${target_alias}
4415 build_tooldir
=${tooldir}
4417 # Create a .gdbinit file which runs the one in srcdir
4418 # and tells GDB to look there for source files.
4420 if test -r ${srcdir}/.gdbinit
; then
4423 *) cat > .
/.gdbinit
<<EOF
4427 source ${srcdir}/.gdbinit
4433 # Make sure that the compiler is able to generate an executable. If it
4434 # can't, we are probably in trouble. We don't care whether we can run the
4435 # executable--we might be using a cross compiler--we only care whether it
4436 # can be created. At this point the main configure script has set CC.
4438 echo "int main () { return 0; }" > conftest.c
4439 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
4440 if test $?
= 0 ; then
4441 if test -s conftest ||
test -s conftest.exe
; then
4447 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
4448 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
4455 # The Solaris /usr/ucb/cc compiler does not appear to work.
4457 sparc-sun-solaris2
*)
4458 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
4459 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
4461 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
4462 if test -d /opt
/cygnus
/bin
; then
4463 if test "$could_use" = "" ; then
4464 could_use
="/opt/cygnus/bin"
4466 could_use
="$could_use or /opt/cygnus/bin"
4469 if test "$could_use" = "" ; then
4470 echo "Warning: compilation may fail because you're using"
4471 echo "/usr/ucb/cc. You should change your PATH or CC "
4472 echo "variable and rerun configure."
4474 echo "Warning: compilation may fail because you're using"
4475 echo "/usr/ucb/cc, when you should use the C compiler from"
4476 echo "$could_use. You should change your"
4477 echo "PATH or CC variable and rerun configure."
4484 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
4485 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
4486 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
4489 # Record target_configdirs and the configure arguments for target and
4490 # build configuration in Makefile.
4491 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
4492 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
4494 # Determine whether gdb needs tk/tcl or not.
4495 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
4496 # and in that case we want gdb to be built without tk. Ugh!
4497 # In fact I believe gdb is the *only* package directly dependent on tk,
4498 # so we should be able to put the 'maybe's in unconditionally and
4499 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
4500 # 100% sure that that's safe though.
4502 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
4503 case "$enable_gdbtk" in
4507 GDB_TK
="${gdb_tk}" ;;
4509 # Only add the dependency on gdbtk when GDBtk is part of the gdb
4510 # distro. Eventually someone will fix this and move Insight, nee
4511 # gdbtk to a separate directory.
4512 if test -d ${srcdir}/gdb
/gdbtk
; then
4519 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
4520 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
4522 # Strip out unwanted targets.
4524 # While at that, we remove Makefiles if we were started for recursive
4525 # configuration, so that the top-level Makefile reconfigures them,
4526 # like we used to do when configure itself was recursive.
4528 # Loop over modules. $extrasub must be used with care, limiting as
4529 # much as possible the usage of range addresses. That's because autoconf
4530 # splits the sed script to overcome limits in the number of commands,
4531 # and relying on carefully-timed sed passes may turn out to be very hard
4532 # to maintain later. In this particular case, you just have to be careful
4533 # not to nest @if/@endif pairs, because configure will not warn you at all.
4535 # Check whether --enable-bootstrap or --disable-bootstrap was given.
4536 if test "${enable_bootstrap+set}" = set; then
4537 enableval
="$enable_bootstrap"
4540 enable_bootstrap
=default
4543 # Issue errors and warnings for invalid/strange bootstrap combinations.
4544 case "$configdirs" in
4545 *gcc
*) have_compiler
=yes ;;
4546 *) have_compiler
=no
;;
4549 case "$have_compiler:$host:$target:$enable_bootstrap" in
4552 # Default behavior. Enable bootstrap if we have a compiler
4553 # and we are in a native configuration.
4554 yes:$build:$build:default
)
4555 enable_bootstrap
=yes ;;
4558 enable_bootstrap
=no
;;
4560 # We have a compiler and we are in a native configuration, bootstrap is ok
4561 yes:$build:$build:yes)
4564 # Other configurations, but we have a compiler. Assume the user knows
4567 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
4568 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
4571 # No compiler: if they passed --enable-bootstrap explicitly, fail
4573 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
4574 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
4575 { (exit 1); exit 1; }; } ;;
4577 # Fail if wrong command line
4579 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
4580 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
4581 { (exit 1); exit 1; }; }
4585 # Adjust the toplevel makefile according to whether bootstrap was selected.
4586 case "$enable_bootstrap" in
4588 bootstrap_suffix
=bootstrap
;;
4590 bootstrap_suffix
=no-bootstrap
;;
4593 for module
in ${build_configdirs} ; do
4594 if test -z "${no_recursion}" \
4595 && test -f ${build_subdir}/${module}/Makefile
; then
4596 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
4597 rm -f ${build_subdir}/${module}/Makefile
4600 /^@if build-$module\$/d
4601 /^@endif build-$module\$/d
4602 /^@if build-$module-$bootstrap_suffix\$/d
4603 /^@endif build-$module-$bootstrap_suffix\$/d"
4605 for module
in ${configdirs} ; do
4606 if test -z "${no_recursion}"; then
4607 for file in stage
*-${module}/Makefile
${module}/Makefile
; do
4608 if test -f ${file}; then
4609 echo 1>&2 "*** removing ${file} to force reconfigure"
4616 /^@endif $module\$/d
4617 /^@if $module-$bootstrap_suffix\$/d
4618 /^@endif $module-$bootstrap_suffix\$/d"
4620 for module
in ${target_configdirs} ; do
4621 if test -z "${no_recursion}" \
4622 && test -f ${target_subdir}/${module}/Makefile
; then
4623 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
4624 rm -f ${target_subdir}/${module}/Makefile
4627 /^@if target-$module\$/d
4628 /^@endif target-$module\$/d
4629 /^@if target-$module-$bootstrap_suffix\$/d
4630 /^@endif target-$module-$bootstrap_suffix\$/d"
4634 /^@if /,/^@endif /d"
4636 # Create the serialization dependencies. This uses a temporary file.
4638 # Check whether --enable-serial-configure or --disable-serial-configure was given.
4639 if test "${enable_serial_configure+set}" = set; then
4640 enableval
="$enable_serial_configure"
4644 case ${enable_serial_configure} in
4646 enable_serial_build_configure
=yes
4647 enable_serial_host_configure
=yes
4648 enable_serial_target_configure
=yes
4652 # These force 'configure's to be done one at a time, to avoid problems
4653 # with contention over a shared config.cache.
4655 echo '# serdep.tmp' > serdep.tmp
4657 test "x${enable_serial_build_configure}" = xyes
&&
4658 for item
in ${build_configdirs} ; do
4661 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
4666 test "x${enable_serial_host_configure}" = xyes
&&
4667 for item
in ${configdirs} ; do
4670 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
4675 test "x${enable_serial_target_configure}" = xyes
&&
4676 for item
in ${target_configdirs} ; do
4679 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
4683 serialization_dependencies
=serdep.tmp
4686 # Base args. Strip norecursion, cache-file, srcdir, host, build,
4687 # target and nonopt. These are the ones we might not want to pass
4688 # down to subconfigures. Also strip program-prefix, program-suffix,
4689 # and program-transform-name, so that we can pass down a consistent
4690 # program-transform-name. If autoconf has put single quotes around
4691 # any of these arguments (because they contain shell metacharacters)
4692 # then this will fail; in practice this only happens for
4693 # --program-transform-name, so be sure to override --program-transform-name
4694 # at the end of the argument list.
4695 # These will be expanded by make, so quote '$'.
4696 cat <<\EOF_SED
> conftestsed
4698 s
/ --c[a-z-
]*[= ][^
]*//g
4699 s
/ --sr[a-z-
]*[= ][^
]*//g
4700 s
/ --ho[a-z-
]*[= ][^
]*//g
4701 s
/ --bu[a-z-
]*[= ][^
]*//g
4702 s
/ --t[a-z-
]*[= ][^
]*//g
4703 s
/ --program-[pst
][a-z-
]*[= ][^
]*//g
4704 s
/ -cache-file[= ][^
]*//g
4705 s
/ -srcdir[= ][^
]*//g
4706 s
/ -host[= ][^
]*//g
4707 s
/ -build[= ][^
]*//g
4708 s
/ -target[= ][^
]*//g
4709 s
/ -program-prefix[= ][^
]*//g
4710 s
/ -program-suffix[= ][^
]*//g
4711 s
/ -program-transform-name[= ][^
]*//g
4716 sed -f conftestsed <<EOF_SED > conftestsed.out
4717 ${ac_configure_args}
4719 baseargs=`cat conftestsed.out`
4720 rm -f conftestsed conftestsed.out
4722 # Add in --program-transform-name, after --program-prefix and
4723 # --program-suffix have been applied to it. Autoconf has already
4724 # doubled dollar signs and backslashes in program_transform_name; we want
4725 # the backslashes un-doubled, and then the entire thing wrapped in single
4726 # quotes, because this will be expanded first by make and then by the shell.
4727 # Also, because we want to override the logic in subdir configure scripts to
4728 # choose program_transform_name, replace any s,x,x, with s,y,y,.
4729 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
4730 ${program_transform_name}
4732 gcc_transform_name=`cat conftestsed.out`
4733 rm -f conftestsed.out
4734 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
4736 # For the build-side libraries, we just need to pretend we're native
,
4737 # and not use the same cache file. Multilibs are neither needed nor
4739 build_configargs
="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} --target=${target_alias} ${baseargs}"
4741 # For host modules, accept cache file option, or specification as blank.
4742 case "${cache_file}" in
4744 cache_file_option
="" ;;
4745 /* |
[A-Za-z
]:[\\/]* ) # absolute path
4746 cache_file_option
="--cache-file=${cache_file}" ;;
4748 cache_file_option
="--cache-file=../${cache_file}" ;;
4751 # Host dirs don't like to share a cache file either, horribly enough.
4752 # This seems to be due to autoconf 2.5x stupidity.
4753 host_configargs
="--cache-file=./config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
4755 target_configargs
=${baseargs}
4757 # Passing a --with-cross-host argument lets the target libraries know
4758 # whether they are being built with a cross-compiler or being built
4759 # native. However, it would be better to use other mechanisms to make the
4760 # sorts of decisions they want to make on this basis. Please consider
4761 # this option to be deprecated. FIXME.
4762 if test x
${is_cross_compiler} = xyes
; then
4763 target_configargs
="--with-cross-host=${host_alias} ${target_configargs}"
4766 # Default to --enable-multilib.
4767 if test x
${enable_multilib} = x
; then
4768 target_configargs
="--enable-multilib ${target_configargs}"
4771 # Pass --with-newlib if appropriate. Note that target_configdirs has
4772 # changed from the earlier setting of with_newlib.
4773 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
4774 target_configargs
="--with-newlib ${target_configargs}"
4777 # Different target subdirs use different values of certain variables
4778 # (notably CXX). Worse, multilibs use *lots* of different values.
4779 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
4780 # it doesn't automatically accept command-line overrides of them.
4781 # This means it's not safe for target subdirs to share a cache file,
4782 # which is disgusting, but there you have it. Hopefully this can be
4783 # fixed in future. It's still worthwhile to use a cache file for each
4784 # directory. I think.
4786 # Pass the appropriate --build, --host, --target and --cache-file arguments.
4787 # We need to pass --target, as newer autoconf's requires consistency
4788 # for target_alias and gcc doesn't manage it consistently.
4789 target_configargs
="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
4792 case " $target_configdirs " in
4794 case " $target_configargs " in
4795 *" --with-newlib "*)
4798 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' ;;
4801 # If we're not building GCC, don't discard standard headers.
4802 if test -d ${srcdir}/gcc
; then
4803 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
4805 if test "${build}" != "${host}"; then
4806 # On Canadian crosses, CC_FOR_TARGET will have already been set
4807 # by `configure', so we won't have an opportunity to add -Bgcc/
4808 # to it. This is right: we don't want to search that directory
4809 # for binaries, but we want the header files in there, so add
4811 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
4813 # Someone might think of using the pre-installed headers on
4814 # Canadian crosses, in case the installed compiler is not fully
4815 # compatible with the compiler being built. In this case, it
4816 # would be better to flag an error than risking having
4817 # incompatible object files being constructed. We can't
4818 # guarantee that an error will be flagged, but let's hope the
4819 # compiler will do it, when presented with incompatible header
4824 case "${target}-${is_cross_compiler}" in
4825 i
[3456789]86-*-linux*-no)
4826 # Here host == target, so we don't need to build gcc,
4827 # so we don't want to discard standard headers.
4828 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
4831 # If we're building newlib, use its generic headers last, but search
4832 # for any libc-related directories first (so make it the last -B
4834 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
4842 # Allow the user to override the flags for
4843 # our build compiler if desired.
4844 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
4846 # On Canadian crosses, we'll be searching the right directories for
4847 # the previously-installed cross compiler, so don't bother to add
4848 # flags for directories within the install tree of the compiler
4849 # being built; programs in there won't even run.
4850 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
4851 # Search for pre-installed headers if nothing else fits.
4852 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
4855 if test "x
${use_gnu_ld}" = x &&
4856 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
4857 # Arrange for us to find uninstalled linker scripts.
4858 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
4861 # Makefile fragments.
4862 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
4864 eval fragval=\$$frag
4865 if test $fragval != /dev/null; then
4866 eval $frag=${srcdir}/$fragval
4874 # Miscellanea: directories, flags, etc.
4882 # Build module lists & subconfigure args.
4886 # Host module lists & subconfigure args.
4890 # Target module lists & subconfigure args.
4898 # Generate default definitions for YACC, M4, LEX and other programs that run
4899 # on the build machine. These are used if the Makefile can't locate these
4900 # programs in objdir.
4901 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4903 for ac_prog in 'bison -y' byacc yacc
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy $ac_prog; ac_word=$2
4907 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4908 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4909 if test "${ac_cv_prog_YACC+set}" = set; then
4910 echo $ECHO_N "(cached
) $ECHO_C" >&6
4912 if test -n "$YACC"; then
4913 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_YACC="$ac_prog"
4923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4931 YACC=$ac_cv_prog_YACC
4932 if test -n "$YACC"; then
4933 echo "$as_me:$LINENO: result
: $YACC" >&5
4934 echo "${ECHO_T}$YACC" >&6
4936 echo "$as_me:$LINENO: result
: no
" >&5
4937 echo "${ECHO_T}no
" >&6
4940 test -n "$YACC" && break
4942 test -n "$YACC" || YACC="$MISSING bison
-y"
4944 case " $build_configdirs " in
4945 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
4946 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
4949 for ac_prog in bison
4951 # Extract the first word of "$ac_prog", so it can be a program name with args.
4952 set dummy $ac_prog; ac_word=$2
4953 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4954 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4955 if test "${ac_cv_prog_BISON+set}" = set; then
4956 echo $ECHO_N "(cached
) $ECHO_C" >&6
4958 if test -n "$BISON"; then
4959 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_BISON="$ac_prog"
4969 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4977 BISON=$ac_cv_prog_BISON
4978 if test -n "$BISON"; then
4979 echo "$as_me:$LINENO: result
: $BISON" >&5
4980 echo "${ECHO_T}$BISON" >&6
4982 echo "$as_me:$LINENO: result
: no
" >&5
4983 echo "${ECHO_T}no
" >&6
4986 test -n "$BISON" && break
4988 test -n "$BISON" || BISON="$MISSING bison
"
4990 case " $build_configdirs " in
4991 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
4994 for ac_prog in gm4 gnum4 m4
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4999 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5000 if test "${ac_cv_prog_M4+set}" = set; then
5001 echo $ECHO_N "(cached
) $ECHO_C" >&6
5003 if test -n "$M4"; then
5004 ac_cv_prog_M4="$M4" # Let the user override the test.
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_M4="$ac_prog"
5014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5023 if test -n "$M4"; then
5024 echo "$as_me:$LINENO: result
: $M4" >&5
5025 echo "${ECHO_T}$M4" >&6
5027 echo "$as_me:$LINENO: result
: no
" >&5
5028 echo "${ECHO_T}no
" >&6
5031 test -n "$M4" && break
5033 test -n "$M4" || M4="$MISSING m4"
5035 case " $build_configdirs " in
5036 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
5039 for ac_prog in flex lex
5041 # Extract the first word of "$ac_prog", so it can be a program name with args.
5042 set dummy $ac_prog; ac_word=$2
5043 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5044 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5045 if test "${ac_cv_prog_LEX+set}" = set; then
5046 echo $ECHO_N "(cached
) $ECHO_C" >&6
5048 if test -n "$LEX"; then
5049 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_LEX="$ac_prog"
5059 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5068 if test -n "$LEX"; then
5069 echo "$as_me:$LINENO: result
: $LEX" >&5
5070 echo "${ECHO_T}$LEX" >&6
5072 echo "$as_me:$LINENO: result
: no
" >&5
5073 echo "${ECHO_T}no
" >&6
5076 test -n "$LEX" && break
5078 test -n "$LEX" || LEX="$MISSING flex
"
5080 case " $build_configdirs " in
5081 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
5082 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy $ac_prog; ac_word=$2
5089 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5090 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5091 if test "${ac_cv_prog_FLEX+set}" = set; then
5092 echo $ECHO_N "(cached
) $ECHO_C" >&6
5094 if test -n "$FLEX"; then
5095 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_FLEX="$ac_prog"
5105 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5113 FLEX=$ac_cv_prog_FLEX
5114 if test -n "$FLEX"; then
5115 echo "$as_me:$LINENO: result
: $FLEX" >&5
5116 echo "${ECHO_T}$FLEX" >&6
5118 echo "$as_me:$LINENO: result
: no
" >&5
5119 echo "${ECHO_T}no
" >&6
5122 test -n "$FLEX" && break
5124 test -n "$FLEX" || FLEX="$MISSING flex
"
5126 case " $build_configdirs " in
5127 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
5130 for ac_prog in makeinfo
5132 # Extract the first word of "$ac_prog", so it can be a program name with args.
5133 set dummy $ac_prog; ac_word=$2
5134 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5135 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5136 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5137 echo $ECHO_N "(cached
) $ECHO_C" >&6
5139 if test -n "$MAKEINFO"; then
5140 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_MAKEINFO="$ac_prog"
5150 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5158 MAKEINFO=$ac_cv_prog_MAKEINFO
5159 if test -n "$MAKEINFO"; then
5160 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
5161 echo "${ECHO_T}$MAKEINFO" >&6
5163 echo "$as_me:$LINENO: result
: no
" >&5
5164 echo "${ECHO_T}no
" >&6
5167 test -n "$MAKEINFO" && break
5169 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
5171 case " $build_configdirs " in
5172 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
5175 # For an installed makeinfo, we require it to be from texinfo 4.2 or
5176 # higher, else we use the "missing
" dummy.
5177 if ${MAKEINFO} --version \
5178 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; then
5181 MAKEINFO="$MISSING makeinfo
"
5187 # FIXME: expect and dejagnu may become build tools?
5189 for ac_prog in expect
5191 # Extract the first word of "$ac_prog", so it can be a program name with args.
5192 set dummy $ac_prog; ac_word=$2
5193 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5194 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5195 if test "${ac_cv_prog_EXPECT+set}" = set; then
5196 echo $ECHO_N "(cached
) $ECHO_C" >&6
5198 if test -n "$EXPECT"; then
5199 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_EXPECT="$ac_prog"
5209 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5217 EXPECT=$ac_cv_prog_EXPECT
5218 if test -n "$EXPECT"; then
5219 echo "$as_me:$LINENO: result
: $EXPECT" >&5
5220 echo "${ECHO_T}$EXPECT" >&6
5222 echo "$as_me:$LINENO: result
: no
" >&5
5223 echo "${ECHO_T}no
" >&6
5226 test -n "$EXPECT" && break
5228 test -n "$EXPECT" || EXPECT="expect
"
5230 case " $configdirs " in
5232 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
5236 for ac_prog in runtest
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy $ac_prog; ac_word=$2
5240 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5241 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5242 if test "${ac_cv_prog_RUNTEST+set}" = set; then
5243 echo $ECHO_N "(cached
) $ECHO_C" >&6
5245 if test -n "$RUNTEST"; then
5246 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_RUNTEST="$ac_prog"
5256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5264 RUNTEST=$ac_cv_prog_RUNTEST
5265 if test -n "$RUNTEST"; then
5266 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
5267 echo "${ECHO_T}$RUNTEST" >&6
5269 echo "$as_me:$LINENO: result
: no
" >&5
5270 echo "${ECHO_T}no
" >&6
5273 test -n "$RUNTEST" && break
5275 test -n "$RUNTEST" || RUNTEST="runtest
"
5277 case " $configdirs " in
5279 test $host = $build && RUNTEST='$$r/$(HOST_SUBDIR)/dejagnu/runtest'
5286 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
5287 ncn_target_tool_prefix=
5288 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
5290 for ncn_progname in ar; do
5291 if test -n "$ncn_tool_prefix"; then
5292 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5293 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5294 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5295 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5296 if test "${ac_cv_prog_AR+set}" = set; then
5297 echo $ECHO_N "(cached
) $ECHO_C" >&6
5299 if test -n "$AR"; then
5300 ac_cv_prog_AR="$AR" # Let the user override the test.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
5310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5319 if test -n "$AR"; then
5320 echo "$as_me:$LINENO: result
: $AR" >&5
5321 echo "${ECHO_T}$AR" >&6
5323 echo "$as_me:$LINENO: result
: no
" >&5
5324 echo "${ECHO_T}no
" >&6
5328 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
5329 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5330 set dummy ${ncn_progname}; ac_word=$2
5331 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5332 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5333 if test "${ac_cv_prog_AR+set}" = set; then
5334 echo $ECHO_N "(cached
) $ECHO_C" >&6
5336 if test -n "$AR"; then
5337 ac_cv_prog_AR="$AR" # Let the user override the test.
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir=.
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_AR="${ncn_progname}"
5347 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5356 if test -n "$AR"; then
5357 echo "$as_me:$LINENO: result
: $AR" >&5
5358 echo "${ECHO_T}$AR" >&6
5360 echo "$as_me:$LINENO: result
: no
" >&5
5361 echo "${ECHO_T}no
" >&6
5365 test -n "$ac_cv_prog_AR" && break
5368 if test -z "$ac_cv_prog_AR" ; then
5370 if test $build = $host ; then
5373 AR="${ncn_tool_prefix}$2"
5377 for ncn_progname in as; do
5378 if test -n "$ncn_tool_prefix"; then
5379 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5380 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5381 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5382 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5383 if test "${ac_cv_prog_AS+set}" = set; then
5384 echo $ECHO_N "(cached
) $ECHO_C" >&6
5386 if test -n "$AS"; then
5387 ac_cv_prog_AS="$AS" # Let the user override the test.
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
5397 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5406 if test -n "$AS"; then
5407 echo "$as_me:$LINENO: result
: $AS" >&5
5408 echo "${ECHO_T}$AS" >&6
5410 echo "$as_me:$LINENO: result
: no
" >&5
5411 echo "${ECHO_T}no
" >&6
5415 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
5416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5417 set dummy ${ncn_progname}; ac_word=$2
5418 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5419 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5420 if test "${ac_cv_prog_AS+set}" = set; then
5421 echo $ECHO_N "(cached
) $ECHO_C" >&6
5423 if test -n "$AS"; then
5424 ac_cv_prog_AS="$AS" # Let the user override the test.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_AS="${ncn_progname}"
5434 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5443 if test -n "$AS"; then
5444 echo "$as_me:$LINENO: result
: $AS" >&5
5445 echo "${ECHO_T}$AS" >&6
5447 echo "$as_me:$LINENO: result
: no
" >&5
5448 echo "${ECHO_T}no
" >&6
5452 test -n "$ac_cv_prog_AS" && break
5455 if test -z "$ac_cv_prog_AS" ; then
5457 if test $build = $host ; then
5460 AS="${ncn_tool_prefix}$2"
5464 for ncn_progname in dlltool; do
5465 if test -n "$ncn_tool_prefix"; then
5466 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5467 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5468 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5469 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5470 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5471 echo $ECHO_N "(cached
) $ECHO_C" >&6
5473 if test -n "$DLLTOOL"; then
5474 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
5484 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5492 DLLTOOL=$ac_cv_prog_DLLTOOL
5493 if test -n "$DLLTOOL"; then
5494 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
5495 echo "${ECHO_T}$DLLTOOL" >&6
5497 echo "$as_me:$LINENO: result
: no
" >&5
5498 echo "${ECHO_T}no
" >&6
5502 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
5503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5504 set dummy ${ncn_progname}; ac_word=$2
5505 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5506 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5507 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5508 echo $ECHO_N "(cached
) $ECHO_C" >&6
5510 if test -n "$DLLTOOL"; then
5511 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_DLLTOOL="${ncn_progname}"
5521 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5529 DLLTOOL=$ac_cv_prog_DLLTOOL
5530 if test -n "$DLLTOOL"; then
5531 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
5532 echo "${ECHO_T}$DLLTOOL" >&6
5534 echo "$as_me:$LINENO: result
: no
" >&5
5535 echo "${ECHO_T}no
" >&6
5539 test -n "$ac_cv_prog_DLLTOOL" && break
5542 if test -z "$ac_cv_prog_DLLTOOL" ; then
5544 if test $build = $host ; then
5547 DLLTOOL="${ncn_tool_prefix}$2"
5551 for ncn_progname in ld; do
5552 if test -n "$ncn_tool_prefix"; then
5553 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5554 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5555 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5556 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5557 if test "${ac_cv_prog_LD+set}" = set; then
5558 echo $ECHO_N "(cached
) $ECHO_C" >&6
5560 if test -n "$LD"; then
5561 ac_cv_prog_LD="$LD" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
5571 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5580 if test -n "$LD"; then
5581 echo "$as_me:$LINENO: result
: $LD" >&5
5582 echo "${ECHO_T}$LD" >&6
5584 echo "$as_me:$LINENO: result
: no
" >&5
5585 echo "${ECHO_T}no
" >&6
5589 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
5590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5591 set dummy ${ncn_progname}; ac_word=$2
5592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5594 if test "${ac_cv_prog_LD+set}" = set; then
5595 echo $ECHO_N "(cached
) $ECHO_C" >&6
5597 if test -n "$LD"; then
5598 ac_cv_prog_LD="$LD" # Let the user override the test.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_LD="${ncn_progname}"
5608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5617 if test -n "$LD"; then
5618 echo "$as_me:$LINENO: result
: $LD" >&5
5619 echo "${ECHO_T}$LD" >&6
5621 echo "$as_me:$LINENO: result
: no
" >&5
5622 echo "${ECHO_T}no
" >&6
5626 test -n "$ac_cv_prog_LD" && break
5629 if test -z "$ac_cv_prog_LD" ; then
5631 if test $build = $host ; then
5634 LD="${ncn_tool_prefix}$2"
5638 for ncn_progname in lipo; do
5639 if test -n "$ncn_tool_prefix"; then
5640 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5641 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5642 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5643 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5644 if test "${ac_cv_prog_LIPO+set}" = set; then
5645 echo $ECHO_N "(cached
) $ECHO_C" >&6
5647 if test -n "$LIPO"; then
5648 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
5658 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5666 LIPO=$ac_cv_prog_LIPO
5667 if test -n "$LIPO"; then
5668 echo "$as_me:$LINENO: result
: $LIPO" >&5
5669 echo "${ECHO_T}$LIPO" >&6
5671 echo "$as_me:$LINENO: result
: no
" >&5
5672 echo "${ECHO_T}no
" >&6
5676 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
5677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5678 set dummy ${ncn_progname}; ac_word=$2
5679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5681 if test "${ac_cv_prog_LIPO+set}" = set; then
5682 echo $ECHO_N "(cached
) $ECHO_C" >&6
5684 if test -n "$LIPO"; then
5685 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_LIPO="${ncn_progname}"
5695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5703 LIPO=$ac_cv_prog_LIPO
5704 if test -n "$LIPO"; then
5705 echo "$as_me:$LINENO: result
: $LIPO" >&5
5706 echo "${ECHO_T}$LIPO" >&6
5708 echo "$as_me:$LINENO: result
: no
" >&5
5709 echo "${ECHO_T}no
" >&6
5713 test -n "$ac_cv_prog_LIPO" && break
5716 if test -z "$ac_cv_prog_LIPO" ; then
5718 if test $build = $host ; then
5721 LIPO="${ncn_tool_prefix}$2"
5725 for ncn_progname in nm; do
5726 if test -n "$ncn_tool_prefix"; then
5727 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5728 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5729 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5730 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5731 if test "${ac_cv_prog_NM+set}" = set; then
5732 echo $ECHO_N "(cached
) $ECHO_C" >&6
5734 if test -n "$NM"; then
5735 ac_cv_prog_NM="$NM" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
5745 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5754 if test -n "$NM"; then
5755 echo "$as_me:$LINENO: result
: $NM" >&5
5756 echo "${ECHO_T}$NM" >&6
5758 echo "$as_me:$LINENO: result
: no
" >&5
5759 echo "${ECHO_T}no
" >&6
5763 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
5764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5765 set dummy ${ncn_progname}; ac_word=$2
5766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5768 if test "${ac_cv_prog_NM+set}" = set; then
5769 echo $ECHO_N "(cached
) $ECHO_C" >&6
5771 if test -n "$NM"; then
5772 ac_cv_prog_NM="$NM" # Let the user override the test.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_NM="${ncn_progname}"
5782 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5791 if test -n "$NM"; then
5792 echo "$as_me:$LINENO: result
: $NM" >&5
5793 echo "${ECHO_T}$NM" >&6
5795 echo "$as_me:$LINENO: result
: no
" >&5
5796 echo "${ECHO_T}no
" >&6
5800 test -n "$ac_cv_prog_NM" && break
5803 if test -z "$ac_cv_prog_NM" ; then
5805 if test $build = $host ; then
5808 NM="${ncn_tool_prefix}$2"
5812 for ncn_progname in ranlib; do
5813 if test -n "$ncn_tool_prefix"; then
5814 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5815 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5818 if test "${ac_cv_prog_RANLIB+set}" = set; then
5819 echo $ECHO_N "(cached
) $ECHO_C" >&6
5821 if test -n "$RANLIB"; then
5822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
5832 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5840 RANLIB=$ac_cv_prog_RANLIB
5841 if test -n "$RANLIB"; then
5842 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5843 echo "${ECHO_T}$RANLIB" >&6
5845 echo "$as_me:$LINENO: result
: no
" >&5
5846 echo "${ECHO_T}no
" >&6
5850 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
5851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5852 set dummy ${ncn_progname}; ac_word=$2
5853 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5854 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5855 if test "${ac_cv_prog_RANLIB+set}" = set; then
5856 echo $ECHO_N "(cached
) $ECHO_C" >&6
5858 if test -n "$RANLIB"; then
5859 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_RANLIB="${ncn_progname}"
5869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5877 RANLIB=$ac_cv_prog_RANLIB
5878 if test -n "$RANLIB"; then
5879 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5880 echo "${ECHO_T}$RANLIB" >&6
5882 echo "$as_me:$LINENO: result
: no
" >&5
5883 echo "${ECHO_T}no
" >&6
5887 test -n "$ac_cv_prog_RANLIB" && break
5890 if test -z "$ac_cv_prog_RANLIB" ; then
5894 for ncn_progname in strip; do
5895 if test -n "$ncn_tool_prefix"; then
5896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5898 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5900 if test "${ac_cv_prog_STRIP+set}" = set; then
5901 echo $ECHO_N "(cached
) $ECHO_C" >&6
5903 if test -n "$STRIP"; then
5904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
5914 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5922 STRIP=$ac_cv_prog_STRIP
5923 if test -n "$STRIP"; then
5924 echo "$as_me:$LINENO: result
: $STRIP" >&5
5925 echo "${ECHO_T}$STRIP" >&6
5927 echo "$as_me:$LINENO: result
: no
" >&5
5928 echo "${ECHO_T}no
" >&6
5932 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
5933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5934 set dummy ${ncn_progname}; ac_word=$2
5935 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5937 if test "${ac_cv_prog_STRIP+set}" = set; then
5938 echo $ECHO_N "(cached
) $ECHO_C" >&6
5940 if test -n "$STRIP"; then
5941 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_STRIP="${ncn_progname}"
5951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5959 STRIP=$ac_cv_prog_STRIP
5960 if test -n "$STRIP"; then
5961 echo "$as_me:$LINENO: result
: $STRIP" >&5
5962 echo "${ECHO_T}$STRIP" >&6
5964 echo "$as_me:$LINENO: result
: no
" >&5
5965 echo "${ECHO_T}no
" >&6
5969 test -n "$ac_cv_prog_STRIP" && break
5972 if test -z "$ac_cv_prog_STRIP" ; then
5976 for ncn_progname in windres; do
5977 if test -n "$ncn_tool_prefix"; then
5978 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5979 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5980 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5981 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5982 if test "${ac_cv_prog_WINDRES+set}" = set; then
5983 echo $ECHO_N "(cached
) $ECHO_C" >&6
5985 if test -n "$WINDRES"; then
5986 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
5996 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6004 WINDRES=$ac_cv_prog_WINDRES
6005 if test -n "$WINDRES"; then
6006 echo "$as_me:$LINENO: result
: $WINDRES" >&5
6007 echo "${ECHO_T}$WINDRES" >&6
6009 echo "$as_me:$LINENO: result
: no
" >&5
6010 echo "${ECHO_T}no
" >&6
6014 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
6015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6016 set dummy ${ncn_progname}; ac_word=$2
6017 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6019 if test "${ac_cv_prog_WINDRES+set}" = set; then
6020 echo $ECHO_N "(cached
) $ECHO_C" >&6
6022 if test -n "$WINDRES"; then
6023 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_WINDRES="${ncn_progname}"
6033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6041 WINDRES=$ac_cv_prog_WINDRES
6042 if test -n "$WINDRES"; then
6043 echo "$as_me:$LINENO: result
: $WINDRES" >&5
6044 echo "${ECHO_T}$WINDRES" >&6
6046 echo "$as_me:$LINENO: result
: no
" >&5
6047 echo "${ECHO_T}no
" >&6
6051 test -n "$ac_cv_prog_WINDRES" && break
6054 if test -z "$ac_cv_prog_WINDRES" ; then
6056 if test $build = $host ; then
6059 WINDRES="${ncn_tool_prefix}$2"
6063 for ncn_progname in objcopy; do
6064 if test -n "$ncn_tool_prefix"; then
6065 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6066 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6069 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6070 echo $ECHO_N "(cached
) $ECHO_C" >&6
6072 if test -n "$OBJCOPY"; then
6073 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
6083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6091 OBJCOPY=$ac_cv_prog_OBJCOPY
6092 if test -n "$OBJCOPY"; then
6093 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
6094 echo "${ECHO_T}$OBJCOPY" >&6
6096 echo "$as_me:$LINENO: result
: no
" >&5
6097 echo "${ECHO_T}no
" >&6
6101 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
6102 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6103 set dummy ${ncn_progname}; ac_word=$2
6104 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6105 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6106 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6107 echo $ECHO_N "(cached
) $ECHO_C" >&6
6109 if test -n "$OBJCOPY"; then
6110 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_OBJCOPY="${ncn_progname}"
6120 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6128 OBJCOPY=$ac_cv_prog_OBJCOPY
6129 if test -n "$OBJCOPY"; then
6130 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
6131 echo "${ECHO_T}$OBJCOPY" >&6
6133 echo "$as_me:$LINENO: result
: no
" >&5
6134 echo "${ECHO_T}no
" >&6
6138 test -n "$ac_cv_prog_OBJCOPY" && break
6141 if test -z "$ac_cv_prog_OBJCOPY" ; then
6143 if test $build = $host ; then
6146 OBJCOPY="${ncn_tool_prefix}$2"
6150 for ncn_progname in objdump; do
6151 if test -n "$ncn_tool_prefix"; then
6152 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6153 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6154 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6155 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6156 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6157 echo $ECHO_N "(cached
) $ECHO_C" >&6
6159 if test -n "$OBJDUMP"; then
6160 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
6170 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6178 OBJDUMP=$ac_cv_prog_OBJDUMP
6179 if test -n "$OBJDUMP"; then
6180 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6181 echo "${ECHO_T}$OBJDUMP" >&6
6183 echo "$as_me:$LINENO: result
: no
" >&5
6184 echo "${ECHO_T}no
" >&6
6188 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
6189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6190 set dummy ${ncn_progname}; ac_word=$2
6191 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6192 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6193 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6194 echo $ECHO_N "(cached
) $ECHO_C" >&6
6196 if test -n "$OBJDUMP"; then
6197 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 test -z "$as_dir" && as_dir=.
6204 for ac_exec_ext in '' $ac_executable_extensions; do
6205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206 ac_cv_prog_OBJDUMP="${ncn_progname}"
6207 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6215 OBJDUMP=$ac_cv_prog_OBJDUMP
6216 if test -n "$OBJDUMP"; then
6217 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6218 echo "${ECHO_T}$OBJDUMP" >&6
6220 echo "$as_me:$LINENO: result
: no
" >&5
6221 echo "${ECHO_T}no
" >&6
6225 test -n "$ac_cv_prog_OBJDUMP" && break
6228 if test -z "$ac_cv_prog_OBJDUMP" ; then
6230 if test $build = $host ; then
6233 OBJDUMP="${ncn_tool_prefix}$2"
6245 # Check whether --with-build-time-tools or --without-build-time-tools was given.
6246 if test "${with_build_time_tools+set}" = set; then
6247 withval="$with_build_time_tools"
6251 with_build_time_tools=
6252 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
6253 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
6257 with_build_time_tools=
6260 if test -n "$with_build_time_tools"; then
6261 for ncn_progname in cc gcc; do
6262 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6263 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6264 if test -x $with_build_time_tools/${ncn_progname}; then
6265 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6266 echo "$as_me:$LINENO: result
: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6270 echo "$as_me:$LINENO: result
: no
" >&5
6271 echo "${ECHO_T}no
" >&6
6276 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
6277 for ncn_progname in cc gcc; do
6278 if test -n "$ncn_target_tool_prefix"; then
6279 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6280 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6281 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6283 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6284 echo $ECHO_N "(cached
) $ECHO_C" >&6
6286 if test -n "$CC_FOR_TARGET"; then
6287 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6305 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6306 if test -n "$CC_FOR_TARGET"; then
6307 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
6308 echo "${ECHO_T}$CC_FOR_TARGET" >&6
6310 echo "$as_me:$LINENO: result
: no
" >&5
6311 echo "${ECHO_T}no
" >&6
6315 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
6316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6317 set dummy ${ncn_progname}; ac_word=$2
6318 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6319 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6320 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6321 echo $ECHO_N "(cached
) $ECHO_C" >&6
6323 if test -n "$CC_FOR_TARGET"; then
6324 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
6334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6342 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6343 if test -n "$CC_FOR_TARGET"; then
6344 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
6345 echo "${ECHO_T}$CC_FOR_TARGET" >&6
6347 echo "$as_me:$LINENO: result
: no
" >&5
6348 echo "${ECHO_T}no
" >&6
6352 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
6356 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
6358 if test $build = $target ; then
6361 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
6365 if test -n "$with_build_time_tools"; then
6366 for ncn_progname in c++ g++ cxx gxx; do
6367 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6368 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6369 if test -x $with_build_time_tools/${ncn_progname}; then
6370 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6371 echo "$as_me:$LINENO: result
: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result
: no
" >&5
6376 echo "${ECHO_T}no
" >&6
6381 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
6382 for ncn_progname in c++ g++ cxx gxx; do
6383 if test -n "$ncn_target_tool_prefix"; then
6384 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6385 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6386 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6388 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6389 echo $ECHO_N "(cached
) $ECHO_C" >&6
6391 if test -n "$CXX_FOR_TARGET"; then
6392 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6411 if test -n "$CXX_FOR_TARGET"; then
6412 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
6413 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6415 echo "$as_me:$LINENO: result
: no
" >&5
6416 echo "${ECHO_T}no
" >&6
6420 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
6421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6422 set dummy ${ncn_progname}; ac_word=$2
6423 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6424 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6425 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6426 echo $ECHO_N "(cached
) $ECHO_C" >&6
6428 if test -n "$CXX_FOR_TARGET"; then
6429 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
6439 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6447 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6448 if test -n "$CXX_FOR_TARGET"; then
6449 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
6450 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6452 echo "$as_me:$LINENO: result
: no
" >&5
6453 echo "${ECHO_T}no
" >&6
6457 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
6461 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
6462 set dummy c++ g++ cxx gxx
6463 if test $build = $target ; then
6466 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
6470 if test -n "$with_build_time_tools"; then
6471 for ncn_progname in gcc; do
6472 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6473 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6474 if test -x $with_build_time_tools/${ncn_progname}; then
6475 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6476 echo "$as_me:$LINENO: result
: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6480 echo "$as_me:$LINENO: result
: no
" >&5
6481 echo "${ECHO_T}no
" >&6
6486 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
6487 for ncn_progname in gcc; do
6488 if test -n "$ncn_target_tool_prefix"; then
6489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6490 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6491 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6492 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6493 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
6494 echo $ECHO_N "(cached
) $ECHO_C" >&6
6496 if test -n "$GCC_FOR_TARGET"; then
6497 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6507 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6515 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
6516 if test -n "$GCC_FOR_TARGET"; then
6517 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
6518 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
6520 echo "$as_me:$LINENO: result
: no
" >&5
6521 echo "${ECHO_T}no
" >&6
6525 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
6526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6527 set dummy ${ncn_progname}; ac_word=$2
6528 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6529 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6530 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
6531 echo $ECHO_N "(cached
) $ECHO_C" >&6
6533 if test -n "$GCC_FOR_TARGET"; then
6534 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
6544 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6552 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
6553 if test -n "$GCC_FOR_TARGET"; then
6554 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
6555 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
6557 echo "$as_me:$LINENO: result
: no
" >&5
6558 echo "${ECHO_T}no
" >&6
6562 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
6566 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
6567 GCC_FOR_TARGET="${CC_FOR_TARGET}"
6570 if test -n "$with_build_time_tools"; then
6571 for ncn_progname in gcj; do
6572 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6573 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6574 if test -x $with_build_time_tools/${ncn_progname}; then
6575 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6576 echo "$as_me:$LINENO: result
: yes" >&5
6577 echo "${ECHO_T}yes" >&6
6580 echo "$as_me:$LINENO: result
: no
" >&5
6581 echo "${ECHO_T}no
" >&6
6586 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
6587 for ncn_progname in gcj; do
6588 if test -n "$ncn_target_tool_prefix"; then
6589 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6590 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6591 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6592 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6593 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
6594 echo $ECHO_N "(cached
) $ECHO_C" >&6
6596 if test -n "$GCJ_FOR_TARGET"; then
6597 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6607 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6615 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
6616 if test -n "$GCJ_FOR_TARGET"; then
6617 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
6618 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
6620 echo "$as_me:$LINENO: result
: no
" >&5
6621 echo "${ECHO_T}no
" >&6
6625 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
6626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6627 set dummy ${ncn_progname}; ac_word=$2
6628 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6629 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6630 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
6631 echo $ECHO_N "(cached
) $ECHO_C" >&6
6633 if test -n "$GCJ_FOR_TARGET"; then
6634 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
6644 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6652 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
6653 if test -n "$GCJ_FOR_TARGET"; then
6654 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
6655 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
6657 echo "$as_me:$LINENO: result
: no
" >&5
6658 echo "${ECHO_T}no
" >&6
6662 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
6666 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
6668 if test $build = $target ; then
6671 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
6675 if test -n "$with_build_time_tools"; then
6676 for ncn_progname in gfortran; do
6677 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6678 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6679 if test -x $with_build_time_tools/${ncn_progname}; then
6680 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6681 echo "$as_me:$LINENO: result
: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6685 echo "$as_me:$LINENO: result
: no
" >&5
6686 echo "${ECHO_T}no
" >&6
6691 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
6692 for ncn_progname in gfortran; do
6693 if test -n "$ncn_target_tool_prefix"; then
6694 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6695 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6696 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6697 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6698 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
6699 echo $ECHO_N "(cached
) $ECHO_C" >&6
6701 if test -n "$GFORTRAN_FOR_TARGET"; then
6702 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6712 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6720 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
6721 if test -n "$GFORTRAN_FOR_TARGET"; then
6722 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
6723 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
6725 echo "$as_me:$LINENO: result
: no
" >&5
6726 echo "${ECHO_T}no
" >&6
6730 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
6731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6732 set dummy ${ncn_progname}; ac_word=$2
6733 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6734 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6735 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
6736 echo $ECHO_N "(cached
) $ECHO_C" >&6
6738 if test -n "$GFORTRAN_FOR_TARGET"; then
6739 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
6749 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
6758 if test -n "$GFORTRAN_FOR_TARGET"; then
6759 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
6760 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
6762 echo "$as_me:$LINENO: result
: no
" >&5
6763 echo "${ECHO_T}no
" >&6
6767 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
6771 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
6773 if test $build = $target ; then
6774 GFORTRAN_FOR_TARGET="$2"
6776 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
6782 # The user is always right.
6783 if test "${PATH_SEPARATOR+set}" != set; then
6784 echo "#! /bin/sh" >conf$$.sh
6785 echo "exit 0" >>conf$$.sh
6787 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6797 if test "x$exec_prefix" = xNONE
; then
6798 if test "x$prefix" = xNONE
; then
6799 gcc_cv_tool_prefix
=$ac_default_prefix
6801 gcc_cv_tool_prefix
=$prefix
6804 gcc_cv_tool_prefix
=$exec_prefix
6807 # If there is no compiler in the tree, use the PATH only. In any
6808 # case, if there is no compiler in the tree nobody should use
6809 # AS_FOR_TARGET and LD_FOR_TARGET.
6810 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6811 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6812 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6813 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6814 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6815 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6816 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6817 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6822 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6823 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6828 cat > conftest.c
<< \EOF
6833 if ($GCC_FOR_TARGET -E conftest.c |
grep gcc_yay
) > /dev
/null
2>&1; then
6834 have_gcc_for_target
=yes
6836 GCC_FOR_TARGET
=${ncn_target_tool_prefix}gcc
6837 have_gcc_for_target
=no
6844 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
6845 if test -n "$with_build_time_tools"; then
6846 echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
6847 echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6
6848 if test -x $with_build_time_tools/ar; then
6849 AR_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ar
6850 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
6851 echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
6852 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6857 elif test $build != $host && test $have_gcc_for_target = yes; then
6858 AR_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ar`
6859 test $AR_FOR_TARGET=ar && AR_FOR_TARGET
=
6860 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
6863 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
6864 # Extract the first word of "ar", so it can be a program name with args.
6865 set dummy
ar; ac_word
=$2
6866 echo "$as_me:$LINENO: checking for $ac_word" >&5
6867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6868 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 case $AR_FOR_TARGET in
6873 ac_cv_path_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test with a path.
6876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6877 for as_dir
in $gcc_cv_tool_dirs
6880 test -z "$as_dir" && as_dir
=.
6881 for ac_exec_ext
in '' $ac_executable_extensions; do
6882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6883 ac_cv_path_AR_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
6884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 AR_FOR_TARGET
=$ac_cv_path_AR_FOR_TARGET
6895 if test -n "$AR_FOR_TARGET"; then
6896 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
6897 echo "${ECHO_T}$AR_FOR_TARGET" >&6
6899 echo "$as_me:$LINENO: result: no" >&5
6900 echo "${ECHO_T}no" >&6
6904 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
6905 if test -n "$with_build_time_tools"; then
6906 for ncn_progname
in ar; do
6907 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
6908 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
6909 if test -x $with_build_time_tools/${ncn_progname}; then
6910 ac_cv_prog_AR_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
6911 echo "$as_me:$LINENO: result: yes" >&5
6912 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
6922 for ncn_progname
in ar; do
6923 if test -n "$ncn_target_tool_prefix"; then
6924 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6925 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
6926 echo "$as_me:$LINENO: checking for $ac_word" >&5
6927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6928 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 if test -n "$AR_FOR_TARGET"; then
6932 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
6934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir
=.
6939 for ac_exec_ext
in '' $ac_executable_extensions; do
6940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6941 ac_cv_prog_AR_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
6942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 AR_FOR_TARGET
=$ac_cv_prog_AR_FOR_TARGET
6951 if test -n "$AR_FOR_TARGET"; then
6952 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
6953 echo "${ECHO_T}$AR_FOR_TARGET" >&6
6955 echo "$as_me:$LINENO: result: no" >&5
6956 echo "${ECHO_T}no" >&6
6960 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
6961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6962 set dummy
${ncn_progname}; ac_word
=$2
6963 echo "$as_me:$LINENO: checking for $ac_word" >&5
6964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6965 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 if test -n "$AR_FOR_TARGET"; then
6969 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
6971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir
=.
6976 for ac_exec_ext
in '' $ac_executable_extensions; do
6977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_AR_FOR_TARGET
="${ncn_progname}"
6979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 AR_FOR_TARGET
=$ac_cv_prog_AR_FOR_TARGET
6988 if test -n "$AR_FOR_TARGET"; then
6989 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
6990 echo "${ECHO_T}$AR_FOR_TARGET" >&6
6992 echo "$as_me:$LINENO: result: no" >&5
6993 echo "${ECHO_T}no" >&6
6997 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
7001 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
7003 if test $build = $target ; then
7006 AR_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7011 AR_FOR_TARGET
=$ac_cv_path_AR_FOR_TARGET
7017 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7018 if test -n "$with_build_time_tools"; then
7019 echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
7020 echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6
7021 if test -x $with_build_time_tools/as
; then
7022 AS_FOR_TARGET
=`cd $with_build_time_tools && pwd`/as
7023 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
7024 echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
7025 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
7027 echo "$as_me:$LINENO: result: no" >&5
7028 echo "${ECHO_T}no" >&6
7030 elif test $build != $host && test $have_gcc_for_target = yes; then
7031 AS_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=as`
7032 test $AS_FOR_TARGET=as
&& AS_FOR_TARGET
=
7033 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
7036 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7037 # Extract the first word of "as", so it can be a program name with args.
7038 set dummy as
; ac_word
=$2
7039 echo "$as_me:$LINENO: checking for $ac_word" >&5
7040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7041 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 case $AS_FOR_TARGET in
7046 ac_cv_path_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test with a path.
7049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 for as_dir
in $gcc_cv_tool_dirs
7053 test -z "$as_dir" && as_dir
=.
7054 for ac_exec_ext
in '' $ac_executable_extensions; do
7055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_path_AS_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 AS_FOR_TARGET
=$ac_cv_path_AS_FOR_TARGET
7068 if test -n "$AS_FOR_TARGET"; then
7069 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7070 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7072 echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6
7077 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7078 if test -n "$with_build_time_tools"; then
7079 for ncn_progname
in as
; do
7080 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7081 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7082 if test -x $with_build_time_tools/${ncn_progname}; then
7083 ac_cv_prog_AS_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
7095 for ncn_progname
in as
; do
7096 if test -n "$ncn_target_tool_prefix"; then
7097 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7098 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7099 echo "$as_me:$LINENO: checking for $ac_word" >&5
7100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7101 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 if test -n "$AS_FOR_TARGET"; then
7105 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_AS_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 AS_FOR_TARGET
=$ac_cv_prog_AS_FOR_TARGET
7124 if test -n "$AS_FOR_TARGET"; then
7125 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7126 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7133 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
7134 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7135 set dummy
${ncn_progname}; ac_word
=$2
7136 echo "$as_me:$LINENO: checking for $ac_word" >&5
7137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7138 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 if test -n "$AS_FOR_TARGET"; then
7142 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_AS_FOR_TARGET
="${ncn_progname}"
7152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 AS_FOR_TARGET
=$ac_cv_prog_AS_FOR_TARGET
7161 if test -n "$AS_FOR_TARGET"; then
7162 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7163 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7170 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
7174 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
7176 if test $build = $target ; then
7179 AS_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7184 AS_FOR_TARGET
=$ac_cv_path_AS_FOR_TARGET
7190 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7191 if test -n "$with_build_time_tools"; then
7192 echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
7193 echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6
7194 if test -x $with_build_time_tools/dlltool
; then
7195 DLLTOOL_FOR_TARGET
=`cd $with_build_time_tools && pwd`/dlltool
7196 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
7197 echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
7198 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7203 elif test $build != $host && test $have_gcc_for_target = yes; then
7204 DLLTOOL_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=dlltool`
7205 test $DLLTOOL_FOR_TARGET=dlltool
&& DLLTOOL_FOR_TARGET
=
7206 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
7209 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7210 # Extract the first word of "dlltool", so it can be a program name with args.
7211 set dummy dlltool
; ac_word
=$2
7212 echo "$as_me:$LINENO: checking for $ac_word" >&5
7213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7214 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 case $DLLTOOL_FOR_TARGET in
7219 ac_cv_path_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
7222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 for as_dir
in $gcc_cv_tool_dirs
7226 test -z "$as_dir" && as_dir
=.
7227 for ac_exec_ext
in '' $ac_executable_extensions; do
7228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7229 ac_cv_path_DLLTOOL_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7239 DLLTOOL_FOR_TARGET
=$ac_cv_path_DLLTOOL_FOR_TARGET
7241 if test -n "$DLLTOOL_FOR_TARGET"; then
7242 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7243 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7245 echo "$as_me:$LINENO: result: no" >&5
7246 echo "${ECHO_T}no" >&6
7250 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7251 if test -n "$with_build_time_tools"; then
7252 for ncn_progname
in dlltool
; do
7253 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7254 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7255 if test -x $with_build_time_tools/${ncn_progname}; then
7256 ac_cv_prog_DLLTOOL_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
7268 for ncn_progname
in dlltool
; do
7269 if test -n "$ncn_target_tool_prefix"; then
7270 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7271 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7272 echo "$as_me:$LINENO: checking for $ac_word" >&5
7273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7274 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 if test -n "$DLLTOOL_FOR_TARGET"; then
7278 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
7280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir
=.
7285 for ac_exec_ext
in '' $ac_executable_extensions; do
7286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 DLLTOOL_FOR_TARGET
=$ac_cv_prog_DLLTOOL_FOR_TARGET
7297 if test -n "$DLLTOOL_FOR_TARGET"; then
7298 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7299 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7306 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
7307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7308 set dummy
${ncn_progname}; ac_word
=$2
7309 echo "$as_me:$LINENO: checking for $ac_word" >&5
7310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7311 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 if test -n "$DLLTOOL_FOR_TARGET"; then
7315 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 test -z "$as_dir" && as_dir
=.
7322 for ac_exec_ext
in '' $ac_executable_extensions; do
7323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_progname}"
7325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 DLLTOOL_FOR_TARGET
=$ac_cv_prog_DLLTOOL_FOR_TARGET
7334 if test -n "$DLLTOOL_FOR_TARGET"; then
7335 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7336 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7338 echo "$as_me:$LINENO: result: no" >&5
7339 echo "${ECHO_T}no" >&6
7343 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
7347 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
7349 if test $build = $target ; then
7350 DLLTOOL_FOR_TARGET
="$2"
7352 DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7357 DLLTOOL_FOR_TARGET
=$ac_cv_path_DLLTOOL_FOR_TARGET
7363 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
7364 if test -n "$with_build_time_tools"; then
7365 echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
7366 echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6
7367 if test -x $with_build_time_tools/ld
; then
7368 LD_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ld
7369 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
7370 echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
7371 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7376 elif test $build != $host && test $have_gcc_for_target = yes; then
7377 LD_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ld`
7378 test $LD_FOR_TARGET=ld
&& LD_FOR_TARGET
=
7379 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
7382 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
7383 # Extract the first word of "ld", so it can be a program name with args.
7384 set dummy ld
; ac_word
=$2
7385 echo "$as_me:$LINENO: checking for $ac_word" >&5
7386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7387 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 case $LD_FOR_TARGET in
7392 ac_cv_path_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test with a path.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7396 for as_dir
in $gcc_cv_tool_dirs
7399 test -z "$as_dir" && as_dir
=.
7400 for ac_exec_ext
in '' $ac_executable_extensions; do
7401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7402 ac_cv_path_LD_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 LD_FOR_TARGET
=$ac_cv_path_LD_FOR_TARGET
7414 if test -n "$LD_FOR_TARGET"; then
7415 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7416 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7423 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
7424 if test -n "$with_build_time_tools"; then
7425 for ncn_progname
in ld
; do
7426 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7427 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7428 if test -x $with_build_time_tools/${ncn_progname}; then
7429 ac_cv_prog_LD_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7430 echo "$as_me:$LINENO: result: yes" >&5
7431 echo "${ECHO_T}yes" >&6
7434 echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7440 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
7441 for ncn_progname
in ld
; do
7442 if test -n "$ncn_target_tool_prefix"; then
7443 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7444 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7445 echo "$as_me:$LINENO: checking for $ac_word" >&5
7446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7447 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 if test -n "$LD_FOR_TARGET"; then
7451 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
7453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir
=.
7458 for ac_exec_ext
in '' $ac_executable_extensions; do
7459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_LD_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7469 LD_FOR_TARGET
=$ac_cv_prog_LD_FOR_TARGET
7470 if test -n "$LD_FOR_TARGET"; then
7471 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7472 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7474 echo "$as_me:$LINENO: result: no" >&5
7475 echo "${ECHO_T}no" >&6
7479 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
7480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7481 set dummy
${ncn_progname}; ac_word
=$2
7482 echo "$as_me:$LINENO: checking for $ac_word" >&5
7483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7484 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 if test -n "$LD_FOR_TARGET"; then
7488 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_LD_FOR_TARGET
="${ncn_progname}"
7498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 LD_FOR_TARGET
=$ac_cv_prog_LD_FOR_TARGET
7507 if test -n "$LD_FOR_TARGET"; then
7508 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7509 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7511 echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6
7516 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
7520 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
7522 if test $build = $target ; then
7525 LD_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7530 LD_FOR_TARGET
=$ac_cv_path_LD_FOR_TARGET
7536 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
7537 if test -n "$with_build_time_tools"; then
7538 echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
7539 echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6
7540 if test -x $with_build_time_tools/lipo
; then
7541 LIPO_FOR_TARGET
=`cd $with_build_time_tools && pwd`/lipo
7542 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
7543 echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
7544 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7549 elif test $build != $host && test $have_gcc_for_target = yes; then
7550 LIPO_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=lipo`
7551 test $LIPO_FOR_TARGET=lipo
&& LIPO_FOR_TARGET
=
7552 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
7555 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
7556 # Extract the first word of "lipo", so it can be a program name with args.
7557 set dummy lipo
; ac_word
=$2
7558 echo "$as_me:$LINENO: checking for $ac_word" >&5
7559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7560 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 case $LIPO_FOR_TARGET in
7565 ac_cv_path_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test with a path.
7568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7569 for as_dir
in $gcc_cv_tool_dirs
7572 test -z "$as_dir" && as_dir
=.
7573 for ac_exec_ext
in '' $ac_executable_extensions; do
7574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7575 ac_cv_path_LIPO_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 LIPO_FOR_TARGET
=$ac_cv_path_LIPO_FOR_TARGET
7587 if test -n "$LIPO_FOR_TARGET"; then
7588 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
7589 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7596 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
7597 if test -n "$with_build_time_tools"; then
7598 for ncn_progname
in lipo
; do
7599 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7600 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7601 if test -x $with_build_time_tools/${ncn_progname}; then
7602 ac_cv_prog_LIPO_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7603 echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6
7607 echo "$as_me:$LINENO: result: no" >&5
7608 echo "${ECHO_T}no" >&6
7613 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
7614 for ncn_progname
in lipo
; do
7615 if test -n "$ncn_target_tool_prefix"; then
7616 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7617 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7618 echo "$as_me:$LINENO: checking for $ac_word" >&5
7619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7620 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 if test -n "$LIPO_FOR_TARGET"; then
7624 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
7626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir
=.
7631 for ac_exec_ext
in '' $ac_executable_extensions; do
7632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 LIPO_FOR_TARGET
=$ac_cv_prog_LIPO_FOR_TARGET
7643 if test -n "$LIPO_FOR_TARGET"; then
7644 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
7645 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
7647 echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6
7652 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
7653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7654 set dummy
${ncn_progname}; ac_word
=$2
7655 echo "$as_me:$LINENO: checking for $ac_word" >&5
7656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7657 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7660 if test -n "$LIPO_FOR_TARGET"; then
7661 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
7663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir
=.
7668 for ac_exec_ext
in '' $ac_executable_extensions; do
7669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_progname}"
7671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7679 LIPO_FOR_TARGET
=$ac_cv_prog_LIPO_FOR_TARGET
7680 if test -n "$LIPO_FOR_TARGET"; then
7681 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
7682 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7689 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
7693 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
7695 if test $build = $target ; then
7696 LIPO_FOR_TARGET
="$2"
7698 LIPO_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7703 LIPO_FOR_TARGET
=$ac_cv_path_LIPO_FOR_TARGET
7709 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
7710 if test -n "$with_build_time_tools"; then
7711 echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
7712 echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6
7713 if test -x $with_build_time_tools/nm
; then
7714 NM_FOR_TARGET
=`cd $with_build_time_tools && pwd`/nm
7715 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
7716 echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
7717 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
7719 echo "$as_me:$LINENO: result: no" >&5
7720 echo "${ECHO_T}no" >&6
7722 elif test $build != $host && test $have_gcc_for_target = yes; then
7723 NM_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=nm`
7724 test $NM_FOR_TARGET=nm
&& NM_FOR_TARGET
=
7725 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
7728 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
7729 # Extract the first word of "nm", so it can be a program name with args.
7730 set dummy nm
; ac_word
=$2
7731 echo "$as_me:$LINENO: checking for $ac_word" >&5
7732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7733 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 case $NM_FOR_TARGET in
7738 ac_cv_path_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test with a path.
7741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7742 for as_dir
in $gcc_cv_tool_dirs
7745 test -z "$as_dir" && as_dir
=.
7746 for ac_exec_ext
in '' $ac_executable_extensions; do
7747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7748 ac_cv_path_NM_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7758 NM_FOR_TARGET
=$ac_cv_path_NM_FOR_TARGET
7760 if test -n "$NM_FOR_TARGET"; then
7761 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
7762 echo "${ECHO_T}$NM_FOR_TARGET" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7769 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
7770 if test -n "$with_build_time_tools"; then
7771 for ncn_progname
in nm
; do
7772 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7773 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7774 if test -x $with_build_time_tools/${ncn_progname}; then
7775 ac_cv_prog_NM_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
7787 for ncn_progname
in nm
; do
7788 if test -n "$ncn_target_tool_prefix"; then
7789 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7790 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7791 echo "$as_me:$LINENO: checking for $ac_word" >&5
7792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7793 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 if test -n "$NM_FOR_TARGET"; then
7797 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
7799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir
=.
7804 for ac_exec_ext
in '' $ac_executable_extensions; do
7805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_NM_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7815 NM_FOR_TARGET
=$ac_cv_prog_NM_FOR_TARGET
7816 if test -n "$NM_FOR_TARGET"; then
7817 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
7818 echo "${ECHO_T}$NM_FOR_TARGET" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7825 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
7826 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7827 set dummy
${ncn_progname}; ac_word
=$2
7828 echo "$as_me:$LINENO: checking for $ac_word" >&5
7829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7830 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 if test -n "$NM_FOR_TARGET"; then
7834 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
7836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir
=.
7841 for ac_exec_ext
in '' $ac_executable_extensions; do
7842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7843 ac_cv_prog_NM_FOR_TARGET
="${ncn_progname}"
7844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7852 NM_FOR_TARGET
=$ac_cv_prog_NM_FOR_TARGET
7853 if test -n "$NM_FOR_TARGET"; then
7854 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
7855 echo "${ECHO_T}$NM_FOR_TARGET" >&6
7857 echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6
7862 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
7866 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
7868 if test $build = $target ; then
7871 NM_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7876 NM_FOR_TARGET
=$ac_cv_path_NM_FOR_TARGET
7882 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
7883 if test -n "$with_build_time_tools"; then
7884 echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
7885 echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6
7886 if test -x $with_build_time_tools/objdump
; then
7887 OBJDUMP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/objdump
7888 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
7889 echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
7890 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
7892 echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6
7895 elif test $build != $host && test $have_gcc_for_target = yes; then
7896 OBJDUMP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=objdump`
7897 test $OBJDUMP_FOR_TARGET=objdump
&& OBJDUMP_FOR_TARGET
=
7898 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
7901 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
7902 # Extract the first word of "objdump", so it can be a program name with args.
7903 set dummy objdump
; ac_word
=$2
7904 echo "$as_me:$LINENO: checking for $ac_word" >&5
7905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7906 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7909 case $OBJDUMP_FOR_TARGET in
7911 ac_cv_path_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
7914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7915 for as_dir
in $gcc_cv_tool_dirs
7918 test -z "$as_dir" && as_dir
=.
7919 for ac_exec_ext
in '' $ac_executable_extensions; do
7920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7921 ac_cv_path_OBJDUMP_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 OBJDUMP_FOR_TARGET
=$ac_cv_path_OBJDUMP_FOR_TARGET
7933 if test -n "$OBJDUMP_FOR_TARGET"; then
7934 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
7935 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
7937 echo "$as_me:$LINENO: result: no" >&5
7938 echo "${ECHO_T}no" >&6
7942 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
7943 if test -n "$with_build_time_tools"; then
7944 for ncn_progname
in objdump
; do
7945 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7946 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7947 if test -x $with_build_time_tools/${ncn_progname}; then
7948 ac_cv_prog_OBJDUMP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
7960 for ncn_progname
in objdump
; do
7961 if test -n "$ncn_target_tool_prefix"; then
7962 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7963 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7964 echo "$as_me:$LINENO: checking for $ac_word" >&5
7965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7966 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 if test -n "$OBJDUMP_FOR_TARGET"; then
7970 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
7972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir
=.
7977 for ac_exec_ext
in '' $ac_executable_extensions; do
7978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 OBJDUMP_FOR_TARGET
=$ac_cv_prog_OBJDUMP_FOR_TARGET
7989 if test -n "$OBJDUMP_FOR_TARGET"; then
7990 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
7991 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7998 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
7999 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8000 set dummy
${ncn_progname}; ac_word
=$2
8001 echo "$as_me:$LINENO: checking for $ac_word" >&5
8002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8003 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8004 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 if test -n "$OBJDUMP_FOR_TARGET"; then
8007 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
8009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8013 test -z "$as_dir" && as_dir
=.
8014 for ac_exec_ext
in '' $ac_executable_extensions; do
8015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_progname}"
8017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 OBJDUMP_FOR_TARGET
=$ac_cv_prog_OBJDUMP_FOR_TARGET
8026 if test -n "$OBJDUMP_FOR_TARGET"; then
8027 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8028 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8035 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
8039 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
8041 if test $build = $target ; then
8042 OBJDUMP_FOR_TARGET
="$2"
8044 OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8049 OBJDUMP_FOR_TARGET
=$ac_cv_path_OBJDUMP_FOR_TARGET
8055 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
8056 if test -n "$with_build_time_tools"; then
8057 echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
8058 echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6
8059 if test -x $with_build_time_tools/ranlib
; then
8060 RANLIB_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ranlib
8061 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
8062 echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
8063 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8068 elif test $build != $host && test $have_gcc_for_target = yes; then
8069 RANLIB_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ranlib`
8070 test $RANLIB_FOR_TARGET=ranlib
&& RANLIB_FOR_TARGET
=
8071 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
8074 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
8075 # Extract the first word of "ranlib", so it can be a program name with args.
8076 set dummy ranlib
; ac_word
=$2
8077 echo "$as_me:$LINENO: checking for $ac_word" >&5
8078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8079 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 case $RANLIB_FOR_TARGET in
8084 ac_cv_path_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
8087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8088 for as_dir
in $gcc_cv_tool_dirs
8091 test -z "$as_dir" && as_dir
=.
8092 for ac_exec_ext
in '' $ac_executable_extensions; do
8093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_path_RANLIB_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 RANLIB_FOR_TARGET
=$ac_cv_path_RANLIB_FOR_TARGET
8106 if test -n "$RANLIB_FOR_TARGET"; then
8107 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8108 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8115 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
8116 if test -n "$with_build_time_tools"; then
8117 for ncn_progname
in ranlib
; do
8118 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8119 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8120 if test -x $with_build_time_tools/${ncn_progname}; then
8121 ac_cv_prog_RANLIB_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8122 echo "$as_me:$LINENO: result: yes" >&5
8123 echo "${ECHO_T}yes" >&6
8126 echo "$as_me:$LINENO: result: no" >&5
8127 echo "${ECHO_T}no" >&6
8132 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
8133 for ncn_progname
in ranlib
; do
8134 if test -n "$ncn_target_tool_prefix"; then
8135 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8136 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8137 echo "$as_me:$LINENO: checking for $ac_word" >&5
8138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8139 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
8140 echo $ECHO_N "(cached) $ECHO_C" >&6
8142 if test -n "$RANLIB_FOR_TARGET"; then
8143 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8152 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8161 RANLIB_FOR_TARGET
=$ac_cv_prog_RANLIB_FOR_TARGET
8162 if test -n "$RANLIB_FOR_TARGET"; then
8163 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8164 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8166 echo "$as_me:$LINENO: result: no" >&5
8167 echo "${ECHO_T}no" >&6
8171 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
8172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8173 set dummy
${ncn_progname}; ac_word
=$2
8174 echo "$as_me:$LINENO: checking for $ac_word" >&5
8175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8176 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 if test -n "$RANLIB_FOR_TARGET"; then
8180 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
8182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir
=.
8187 for ac_exec_ext
in '' $ac_executable_extensions; do
8188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8189 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_progname}"
8190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 RANLIB_FOR_TARGET
=$ac_cv_prog_RANLIB_FOR_TARGET
8199 if test -n "$RANLIB_FOR_TARGET"; then
8200 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8201 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8208 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
8212 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
8214 if test $build = $target ; then
8215 RANLIB_FOR_TARGET
="$2"
8217 RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8222 RANLIB_FOR_TARGET
=$ac_cv_path_RANLIB_FOR_TARGET
8228 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
8229 if test -n "$with_build_time_tools"; then
8230 echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
8231 echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6
8232 if test -x $with_build_time_tools/strip
; then
8233 STRIP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/strip
8234 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
8235 echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
8236 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8241 elif test $build != $host && test $have_gcc_for_target = yes; then
8242 STRIP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=strip`
8243 test $STRIP_FOR_TARGET=strip
&& STRIP_FOR_TARGET
=
8244 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
8247 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
8248 # Extract the first word of "strip", so it can be a program name with args.
8249 set dummy strip
; ac_word
=$2
8250 echo "$as_me:$LINENO: checking for $ac_word" >&5
8251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8252 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8255 case $STRIP_FOR_TARGET in
8257 ac_cv_path_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test with a path.
8260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8261 for as_dir
in $gcc_cv_tool_dirs
8264 test -z "$as_dir" && as_dir
=.
8265 for ac_exec_ext
in '' $ac_executable_extensions; do
8266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8267 ac_cv_path_STRIP_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8277 STRIP_FOR_TARGET
=$ac_cv_path_STRIP_FOR_TARGET
8279 if test -n "$STRIP_FOR_TARGET"; then
8280 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8281 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8283 echo "$as_me:$LINENO: result: no" >&5
8284 echo "${ECHO_T}no" >&6
8288 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
8289 if test -n "$with_build_time_tools"; then
8290 for ncn_progname
in strip
; do
8291 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8292 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8293 if test -x $with_build_time_tools/${ncn_progname}; then
8294 ac_cv_prog_STRIP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8305 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
8306 for ncn_progname
in strip
; do
8307 if test -n "$ncn_target_tool_prefix"; then
8308 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8309 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8310 echo "$as_me:$LINENO: checking for $ac_word" >&5
8311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8312 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 if test -n "$STRIP_FOR_TARGET"; then
8316 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
8318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir
=.
8323 for ac_exec_ext
in '' $ac_executable_extensions; do
8324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 STRIP_FOR_TARGET
=$ac_cv_prog_STRIP_FOR_TARGET
8335 if test -n "$STRIP_FOR_TARGET"; then
8336 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8337 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8344 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
8345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8346 set dummy
${ncn_progname}; ac_word
=$2
8347 echo "$as_me:$LINENO: checking for $ac_word" >&5
8348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8349 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 if test -n "$STRIP_FOR_TARGET"; then
8353 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
8355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir
=.
8360 for ac_exec_ext
in '' $ac_executable_extensions; do
8361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_progname}"
8363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 STRIP_FOR_TARGET
=$ac_cv_prog_STRIP_FOR_TARGET
8372 if test -n "$STRIP_FOR_TARGET"; then
8373 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8374 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8381 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
8385 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
8387 if test $build = $target ; then
8388 STRIP_FOR_TARGET
="$2"
8390 STRIP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8395 STRIP_FOR_TARGET
=$ac_cv_path_STRIP_FOR_TARGET
8401 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
8402 if test -n "$with_build_time_tools"; then
8403 echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
8404 echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6
8405 if test -x $with_build_time_tools/windres
; then
8406 WINDRES_FOR_TARGET
=`cd $with_build_time_tools && pwd`/windres
8407 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
8408 echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
8409 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8414 elif test $build != $host && test $have_gcc_for_target = yes; then
8415 WINDRES_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=windres`
8416 test $WINDRES_FOR_TARGET=windres
&& WINDRES_FOR_TARGET
=
8417 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
8420 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
8421 # Extract the first word of "windres", so it can be a program name with args.
8422 set dummy windres
; ac_word
=$2
8423 echo "$as_me:$LINENO: checking for $ac_word" >&5
8424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8425 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
8426 echo $ECHO_N "(cached) $ECHO_C" >&6
8428 case $WINDRES_FOR_TARGET in
8430 ac_cv_path_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
8433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8434 for as_dir
in $gcc_cv_tool_dirs
8437 test -z "$as_dir" && as_dir
=.
8438 for ac_exec_ext
in '' $ac_executable_extensions; do
8439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8440 ac_cv_path_WINDRES_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8450 WINDRES_FOR_TARGET
=$ac_cv_path_WINDRES_FOR_TARGET
8452 if test -n "$WINDRES_FOR_TARGET"; then
8453 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8454 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8461 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
8462 if test -n "$with_build_time_tools"; then
8463 for ncn_progname
in windres
; do
8464 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8465 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8466 if test -x $with_build_time_tools/${ncn_progname}; then
8467 ac_cv_prog_WINDRES_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8478 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
8479 for ncn_progname
in windres
; do
8480 if test -n "$ncn_target_tool_prefix"; then
8481 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8482 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8483 echo "$as_me:$LINENO: checking for $ac_word" >&5
8484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8485 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 if test -n "$WINDRES_FOR_TARGET"; then
8489 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
8491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir
=.
8496 for ac_exec_ext
in '' $ac_executable_extensions; do
8497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8498 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8507 WINDRES_FOR_TARGET
=$ac_cv_prog_WINDRES_FOR_TARGET
8508 if test -n "$WINDRES_FOR_TARGET"; then
8509 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8510 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8512 echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6
8517 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
8518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8519 set dummy
${ncn_progname}; ac_word
=$2
8520 echo "$as_me:$LINENO: checking for $ac_word" >&5
8521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8522 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 if test -n "$WINDRES_FOR_TARGET"; then
8526 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
8528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8532 test -z "$as_dir" && as_dir
=.
8533 for ac_exec_ext
in '' $ac_executable_extensions; do
8534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8535 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_progname}"
8536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 WINDRES_FOR_TARGET
=$ac_cv_prog_WINDRES_FOR_TARGET
8545 if test -n "$WINDRES_FOR_TARGET"; then
8546 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8547 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8549 echo "$as_me:$LINENO: result: no" >&5
8550 echo "${ECHO_T}no" >&6
8554 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
8558 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
8560 if test $build = $target ; then
8561 WINDRES_FOR_TARGET
="$2"
8563 WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8568 WINDRES_FOR_TARGET
=$ac_cv_path_WINDRES_FOR_TARGET
8572 RAW_CXX_FOR_TARGET
="$CXX_FOR_TARGET"
8574 echo "$as_me:$LINENO: checking where to find the target ar" >&5
8575 echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
8576 if test "x${build}" != "x${host}" ; then
8577 if expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
8578 # We already found the complete path
8579 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5
8580 echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6
8582 # Canadian cross, just use what we found
8583 echo "$as_me:$LINENO: result: pre-installed" >&5
8584 echo "${ECHO_T}pre-installed" >&6
8588 case " ${configdirs} " in
8593 if test $ok = yes; then
8594 # An in-tree tool is available and we can use it
8595 AR_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ar'
8596 echo "$as_me:$LINENO: result: just compiled" >&5
8597 echo "${ECHO_T}just compiled" >&6
8598 elif expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
8599 # We already found the complete path
8600 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5
8601 echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6
8602 elif test "x$target" = "x$host"; then
8603 # We can use an host tool
8604 AR_FOR_TARGET
='$(AR)'
8605 echo "$as_me:$LINENO: result: host tool" >&5
8606 echo "${ECHO_T}host tool" >&6
8608 # We need a cross tool
8609 echo "$as_me:$LINENO: result: pre-installed" >&5
8610 echo "${ECHO_T}pre-installed" >&6
8613 echo "$as_me:$LINENO: checking where to find the target as" >&5
8614 echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
8615 if test "x${build}" != "x${host}" ; then
8616 if expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
8617 # We already found the complete path
8618 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5
8619 echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6
8621 # Canadian cross, just use what we found
8622 echo "$as_me:$LINENO: result: pre-installed" >&5
8623 echo "${ECHO_T}pre-installed" >&6
8627 case " ${configdirs} " in
8632 if test $ok = yes; then
8633 # An in-tree tool is available and we can use it
8634 AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gas/as-new'
8635 echo "$as_me:$LINENO: result: just compiled" >&5
8636 echo "${ECHO_T}just compiled" >&6
8637 elif expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
8638 # We already found the complete path
8639 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5
8640 echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6
8641 elif test "x$target" = "x$host"; then
8642 # We can use an host tool
8643 AS_FOR_TARGET
='$(AS)'
8644 echo "$as_me:$LINENO: result: host tool" >&5
8645 echo "${ECHO_T}host tool" >&6
8647 # We need a cross tool
8648 echo "$as_me:$LINENO: result: pre-installed" >&5
8649 echo "${ECHO_T}pre-installed" >&6
8652 echo "$as_me:$LINENO: checking where to find the target cc" >&5
8653 echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
8654 if test "x${build}" != "x${host}" ; then
8655 if expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
8656 # We already found the complete path
8657 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5
8658 echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6
8660 # Canadian cross, just use what we found
8661 echo "$as_me:$LINENO: result: pre-installed" >&5
8662 echo "${ECHO_T}pre-installed" >&6
8666 case " ${configdirs} " in
8671 if test $ok = yes; then
8672 # An in-tree tool is available and we can use it
8673 CC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
8674 echo "$as_me:$LINENO: result: just compiled" >&5
8675 echo "${ECHO_T}just compiled" >&6
8676 elif expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
8677 # We already found the complete path
8678 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5
8679 echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6
8680 elif test "x$target" = "x$host"; then
8681 # We can use an host tool
8682 CC_FOR_TARGET
='$(CC)'
8683 echo "$as_me:$LINENO: result: host tool" >&5
8684 echo "${ECHO_T}host tool" >&6
8686 # We need a cross tool
8687 echo "$as_me:$LINENO: result: pre-installed" >&5
8688 echo "${ECHO_T}pre-installed" >&6
8691 echo "$as_me:$LINENO: checking where to find the target c++" >&5
8692 echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
8693 if test "x${build}" != "x${host}" ; then
8694 if expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
8695 # We already found the complete path
8696 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5
8697 echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6
8699 # Canadian cross, just use what we found
8700 echo "$as_me:$LINENO: result: pre-installed" >&5
8701 echo "${ECHO_T}pre-installed" >&6
8705 case " ${configdirs} " in
8709 case ,${enable_languages}, in
8713 if test $ok = yes; then
8714 # An in-tree tool is available and we can use it
8715 CXX_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
8716 echo "$as_me:$LINENO: result: just compiled" >&5
8717 echo "${ECHO_T}just compiled" >&6
8718 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
8719 # We already found the complete path
8720 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5
8721 echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6
8722 elif test "x$target" = "x$host"; then
8723 # We can use an host tool
8724 CXX_FOR_TARGET
='$(CXX)'
8725 echo "$as_me:$LINENO: result: host tool" >&5
8726 echo "${ECHO_T}host tool" >&6
8728 # We need a cross tool
8729 echo "$as_me:$LINENO: result: pre-installed" >&5
8730 echo "${ECHO_T}pre-installed" >&6
8733 echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
8734 echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
8735 if test "x${build}" != "x${host}" ; then
8736 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
8737 # We already found the complete path
8738 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5
8739 echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6
8741 # Canadian cross, just use what we found
8742 echo "$as_me:$LINENO: result: pre-installed" >&5
8743 echo "${ECHO_T}pre-installed" >&6
8747 case " ${configdirs} " in
8751 case ,${enable_languages}, in
8755 if test $ok = yes; then
8756 # An in-tree tool is available and we can use it
8757 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'
8758 echo "$as_me:$LINENO: result: just compiled" >&5
8759 echo "${ECHO_T}just compiled" >&6
8760 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
8761 # We already found the complete path
8762 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5
8763 echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6
8764 elif test "x$target" = "x$host"; then
8765 # We can use an host tool
8766 RAW_CXX_FOR_TARGET
='$(CXX)'
8767 echo "$as_me:$LINENO: result: host tool" >&5
8768 echo "${ECHO_T}host tool" >&6
8770 # We need a cross tool
8771 echo "$as_me:$LINENO: result: pre-installed" >&5
8772 echo "${ECHO_T}pre-installed" >&6
8775 echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
8776 echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
8777 if test "x${build}" != "x${host}" ; then
8778 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
8779 # We already found the complete path
8780 echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5
8781 echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6
8783 # Canadian cross, just use what we found
8784 echo "$as_me:$LINENO: result: pre-installed" >&5
8785 echo "${ECHO_T}pre-installed" >&6
8789 case " ${configdirs} " in
8794 if test $ok = yes; then
8795 # An in-tree tool is available and we can use it
8796 DLLTOOL_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/dlltool'
8797 echo "$as_me:$LINENO: result: just compiled" >&5
8798 echo "${ECHO_T}just compiled" >&6
8799 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
8800 # We already found the complete path
8801 echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5
8802 echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6
8803 elif test "x$target" = "x$host"; then
8804 # We can use an host tool
8805 DLLTOOL_FOR_TARGET
='$(DLLTOOL)'
8806 echo "$as_me:$LINENO: result: host tool" >&5
8807 echo "${ECHO_T}host tool" >&6
8809 # We need a cross tool
8810 echo "$as_me:$LINENO: result: pre-installed" >&5
8811 echo "${ECHO_T}pre-installed" >&6
8814 echo "$as_me:$LINENO: checking where to find the target gcc" >&5
8815 echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
8816 if test "x${build}" != "x${host}" ; then
8817 if expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
8818 # We already found the complete path
8819 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5
8820 echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6
8822 # Canadian cross, just use what we found
8823 echo "$as_me:$LINENO: result: pre-installed" >&5
8824 echo "${ECHO_T}pre-installed" >&6
8828 case " ${configdirs} " in
8833 if test $ok = yes; then
8834 # An in-tree tool is available and we can use it
8835 GCC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
8836 echo "$as_me:$LINENO: result: just compiled" >&5
8837 echo "${ECHO_T}just compiled" >&6
8838 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
8839 # We already found the complete path
8840 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5
8841 echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6
8842 elif test "x$target" = "x$host"; then
8843 # We can use an host tool
8844 GCC_FOR_TARGET
='$()'
8845 echo "$as_me:$LINENO: result: host tool" >&5
8846 echo "${ECHO_T}host tool" >&6
8848 # We need a cross tool
8849 echo "$as_me:$LINENO: result: pre-installed" >&5
8850 echo "${ECHO_T}pre-installed" >&6
8853 echo "$as_me:$LINENO: checking where to find the target gcj" >&5
8854 echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
8855 if test "x${build}" != "x${host}" ; then
8856 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
8857 # We already found the complete path
8858 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5
8859 echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6
8861 # Canadian cross, just use what we found
8862 echo "$as_me:$LINENO: result: pre-installed" >&5
8863 echo "${ECHO_T}pre-installed" >&6
8867 case " ${configdirs} " in
8871 case ,${enable_languages}, in
8875 if test $ok = yes; then
8876 # An in-tree tool is available and we can use it
8877 GCJ_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
8878 echo "$as_me:$LINENO: result: just compiled" >&5
8879 echo "${ECHO_T}just compiled" >&6
8880 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
8881 # We already found the complete path
8882 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5
8883 echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6
8884 elif test "x$target" = "x$host"; then
8885 # We can use an host tool
8886 GCJ_FOR_TARGET
='$(GCJ)'
8887 echo "$as_me:$LINENO: result: host tool" >&5
8888 echo "${ECHO_T}host tool" >&6
8890 # We need a cross tool
8891 echo "$as_me:$LINENO: result: pre-installed" >&5
8892 echo "${ECHO_T}pre-installed" >&6
8895 echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
8896 echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
8897 if test "x${build}" != "x${host}" ; then
8898 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
8899 # We already found the complete path
8900 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5
8901 echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6
8903 # Canadian cross, just use what we found
8904 echo "$as_me:$LINENO: result: pre-installed" >&5
8905 echo "${ECHO_T}pre-installed" >&6
8909 case " ${configdirs} " in
8913 case ,${enable_languages}, in
8917 if test $ok = yes; then
8918 # An in-tree tool is available and we can use it
8919 GFORTRAN_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
8920 echo "$as_me:$LINENO: result: just compiled" >&5
8921 echo "${ECHO_T}just compiled" >&6
8922 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
8923 # We already found the complete path
8924 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5
8925 echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6
8926 elif test "x$target" = "x$host"; then
8927 # We can use an host tool
8928 GFORTRAN_FOR_TARGET
='$(GFORTRAN)'
8929 echo "$as_me:$LINENO: result: host tool" >&5
8930 echo "${ECHO_T}host tool" >&6
8932 # We need a cross tool
8933 echo "$as_me:$LINENO: result: pre-installed" >&5
8934 echo "${ECHO_T}pre-installed" >&6
8937 echo "$as_me:$LINENO: checking where to find the target ld" >&5
8938 echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
8939 if test "x${build}" != "x${host}" ; then
8940 if expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
8941 # We already found the complete path
8942 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5
8943 echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6
8945 # Canadian cross, just use what we found
8946 echo "$as_me:$LINENO: result: pre-installed" >&5
8947 echo "${ECHO_T}pre-installed" >&6
8951 case " ${configdirs} " in
8956 if test $ok = yes; then
8957 # An in-tree tool is available and we can use it
8958 LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/ld/ld-new'
8959 echo "$as_me:$LINENO: result: just compiled" >&5
8960 echo "${ECHO_T}just compiled" >&6
8961 elif expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
8962 # We already found the complete path
8963 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5
8964 echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6
8965 elif test "x$target" = "x$host"; then
8966 # We can use an host tool
8967 LD_FOR_TARGET
='$(LD)'
8968 echo "$as_me:$LINENO: result: host tool" >&5
8969 echo "${ECHO_T}host tool" >&6
8971 # We need a cross tool
8972 echo "$as_me:$LINENO: result: pre-installed" >&5
8973 echo "${ECHO_T}pre-installed" >&6
8976 echo "$as_me:$LINENO: checking where to find the target lipo" >&5
8977 echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
8978 if test "x${build}" != "x${host}" ; then
8979 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
8980 # We already found the complete path
8981 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5
8982 echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6
8984 # Canadian cross, just use what we found
8985 echo "$as_me:$LINENO: result: pre-installed" >&5
8986 echo "${ECHO_T}pre-installed" >&6
8989 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
8990 # We already found the complete path
8991 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5
8992 echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6
8993 elif test "x$target" = "x$host"; then
8994 # We can use an host tool
8995 LIPO_FOR_TARGET
='$(LIPO)'
8996 echo "$as_me:$LINENO: result: host tool" >&5
8997 echo "${ECHO_T}host tool" >&6
8999 # We need a cross tool
9000 echo "$as_me:$LINENO: result: pre-installed" >&5
9001 echo "${ECHO_T}pre-installed" >&6
9004 echo "$as_me:$LINENO: checking where to find the target nm" >&5
9005 echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
9006 if test "x${build}" != "x${host}" ; then
9007 if expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
9008 # We already found the complete path
9009 echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5
9010 echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6
9012 # Canadian cross, just use what we found
9013 echo "$as_me:$LINENO: result: pre-installed" >&5
9014 echo "${ECHO_T}pre-installed" >&6
9018 case " ${configdirs} " in
9023 if test $ok = yes; then
9024 # An in-tree tool is available and we can use it
9025 NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/nm-new'
9026 echo "$as_me:$LINENO: result: just compiled" >&5
9027 echo "${ECHO_T}just compiled" >&6
9028 elif expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
9029 # We already found the complete path
9030 echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5
9031 echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6
9032 elif test "x$target" = "x$host"; then
9033 # We can use an host tool
9034 NM_FOR_TARGET
='$(NM)'
9035 echo "$as_me:$LINENO: result: host tool" >&5
9036 echo "${ECHO_T}host tool" >&6
9038 # We need a cross tool
9039 echo "$as_me:$LINENO: result: pre-installed" >&5
9040 echo "${ECHO_T}pre-installed" >&6
9043 echo "$as_me:$LINENO: checking where to find the target objdump" >&5
9044 echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
9045 if test "x${build}" != "x${host}" ; then
9046 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
9047 # We already found the complete path
9048 echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5
9049 echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6
9051 # Canadian cross, just use what we found
9052 echo "$as_me:$LINENO: result: pre-installed" >&5
9053 echo "${ECHO_T}pre-installed" >&6
9057 case " ${configdirs} " in
9062 if test $ok = yes; then
9063 # An in-tree tool is available and we can use it
9064 OBJDUMP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/objdump'
9065 echo "$as_me:$LINENO: result: just compiled" >&5
9066 echo "${ECHO_T}just compiled" >&6
9067 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
9068 # We already found the complete path
9069 echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5
9070 echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6
9071 elif test "x$target" = "x$host"; then
9072 # We can use an host tool
9073 OBJDUMP_FOR_TARGET
='$(OBJDUMP)'
9074 echo "$as_me:$LINENO: result: host tool" >&5
9075 echo "${ECHO_T}host tool" >&6
9077 # We need a cross tool
9078 echo "$as_me:$LINENO: result: pre-installed" >&5
9079 echo "${ECHO_T}pre-installed" >&6
9082 echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
9083 echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
9084 if test "x${build}" != "x${host}" ; then
9085 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
9086 # We already found the complete path
9087 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5
9088 echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6
9090 # Canadian cross, just use what we found
9091 echo "$as_me:$LINENO: result: pre-installed" >&5
9092 echo "${ECHO_T}pre-installed" >&6
9096 case " ${configdirs} " in
9101 if test $ok = yes; then
9102 # An in-tree tool is available and we can use it
9103 RANLIB_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ranlib'
9104 echo "$as_me:$LINENO: result: just compiled" >&5
9105 echo "${ECHO_T}just compiled" >&6
9106 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
9107 # We already found the complete path
9108 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5
9109 echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6
9110 elif test "x$target" = "x$host"; then
9111 # We can use an host tool
9112 RANLIB_FOR_TARGET
='$(RANLIB)'
9113 echo "$as_me:$LINENO: result: host tool" >&5
9114 echo "${ECHO_T}host tool" >&6
9116 # We need a cross tool
9117 echo "$as_me:$LINENO: result: pre-installed" >&5
9118 echo "${ECHO_T}pre-installed" >&6
9121 echo "$as_me:$LINENO: checking where to find the target strip" >&5
9122 echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
9123 if test "x${build}" != "x${host}" ; then
9124 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
9125 # We already found the complete path
9126 echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5
9127 echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6
9129 # Canadian cross, just use what we found
9130 echo "$as_me:$LINENO: result: pre-installed" >&5
9131 echo "${ECHO_T}pre-installed" >&6
9135 case " ${configdirs} " in
9140 if test $ok = yes; then
9141 # An in-tree tool is available and we can use it
9142 STRIP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/strip'
9143 echo "$as_me:$LINENO: result: just compiled" >&5
9144 echo "${ECHO_T}just compiled" >&6
9145 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
9146 # We already found the complete path
9147 echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5
9148 echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6
9149 elif test "x$target" = "x$host"; then
9150 # We can use an host tool
9151 STRIP_FOR_TARGET
='$(STRIP)'
9152 echo "$as_me:$LINENO: result: host tool" >&5
9153 echo "${ECHO_T}host tool" >&6
9155 # We need a cross tool
9156 echo "$as_me:$LINENO: result: pre-installed" >&5
9157 echo "${ECHO_T}pre-installed" >&6
9160 echo "$as_me:$LINENO: checking where to find the target windres" >&5
9161 echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
9162 if test "x${build}" != "x${host}" ; then
9163 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
9164 # We already found the complete path
9165 echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5
9166 echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6
9168 # Canadian cross, just use what we found
9169 echo "$as_me:$LINENO: result: pre-installed" >&5
9170 echo "${ECHO_T}pre-installed" >&6
9174 case " ${configdirs} " in
9179 if test $ok = yes; then
9180 # An in-tree tool is available and we can use it
9181 WINDRES_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/windres'
9182 echo "$as_me:$LINENO: result: just compiled" >&5
9183 echo "${ECHO_T}just compiled" >&6
9184 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
9185 # We already found the complete path
9186 echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5
9187 echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6
9188 elif test "x$target" = "x$host"; then
9189 # We can use an host tool
9190 WINDRES_FOR_TARGET
='$(WINDRES)'
9191 echo "$as_me:$LINENO: result: host tool" >&5
9192 echo "${ECHO_T}host tool" >&6
9194 # We need a cross tool
9195 echo "$as_me:$LINENO: result: pre-installed" >&5
9196 echo "${ECHO_T}pre-installed" >&6
9203 # Certain tools may need extra flags.
9204 AR_FOR_TARGET
=${AR_FOR_TARGET}${extra_arflags_for_target}
9205 RANLIB_FOR_TARGET
=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
9206 NM_FOR_TARGET
=${NM_FOR_TARGET}${extra_nmflags_for_target}
9208 # When building target libraries, except in a Canadian cross, we use
9209 # the same toolchain as the compiler we just built.
9210 COMPILER_AS_FOR_TARGET
='$(AS_FOR_TARGET)'
9211 COMPILER_LD_FOR_TARGET
='$(LD_FOR_TARGET)'
9212 COMPILER_NM_FOR_TARGET
='$(NM_FOR_TARGET)'
9213 if test $host = $build; then
9214 case " $configdirs " in
9216 COMPILER_AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/as'
9217 COMPILER_LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
9218 COMPILER_NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
9227 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9228 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9229 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9230 if test "${enable_maintainer_mode+set}" = set; then
9231 enableval
="$enable_maintainer_mode"
9232 USE_MAINTAINER_MODE
=$enableval
9234 USE_MAINTAINER_MODE
=no
9236 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
9237 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
9240 if test "$USE_MAINTAINER_MODE" = yes; then
9241 MAINTAINER_MODE_TRUE
=
9242 MAINTAINER_MODE_FALSE
='#'
9244 MAINTAINER_MODE_TRUE
='#'
9245 MAINTAINER_MODE_FALSE
=
9247 MAINT
=$MAINTAINER_MODE_TRUE
9249 # ---------------------
9250 # GCC bootstrap support
9251 # ---------------------
9253 # Stage specific cflags for build.
9258 yes) stage1_cflags
="-g -Wa,-J" ;;
9259 *) stage1_cflags
="-g -J" ;;
9262 # The spiffy cpp-precomp chokes on some legitimate constructs in GCC
9263 # sources; use -no-cpp-precomp to get to GNU cpp.
9264 # Apple's GCC has bugs in designated initializer handling, so disable
9266 stage1_cflags
="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0"
9271 # Enable -Werror in bootstrap stage2 and later.
9272 # Change the default to "no" on release branches.
9273 # Check whether --enable-werror or --disable-werror was given.
9274 if test "${enable_werror+set}" = set; then
9275 enableval
="$enable_werror"
9280 case ${enable_werror} in
9281 yes) stage2_werror_flag
="--enable-werror-always" ;;
9282 *) stage2_werror_flag
="" ;;
9286 ac_config_files
="$ac_config_files Makefile"
9287 cat >confcache
<<\_ACEOF
9288 # This file is a shell script that caches the results of configure
9289 # tests run on this system so they can be shared between configure
9290 # scripts and configure runs, see configure's option --config-cache.
9291 # It is not useful on other systems. If it contains results you don't
9292 # want to keep, you may remove or edit it.
9294 # config.status only pays attention to the cache file if you give it
9295 # the --recheck option to rerun configure.
9297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9303 # The following way of writing the cache mishandles newlines in values,
9304 # but we know of no workaround that is simple, portable, and efficient.
9305 # So, don't put newlines in cache variables' values.
9306 # Ultrix sh set writes to stderr and can't be redirected directly,
9307 # and sets the high bit in the cache file unless we assign to the vars.
9310 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9312 # `set' does not quote correctly, so add quotes (double-quote
9313 # substitution turns \\\\ into \\, and sed turns \\ into \).
9316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9319 # `set' quotes correctly as required by POSIX, so do not add quotes.
9321 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9328 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9330 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9332 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9333 if test -w $cache_file; then
9334 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9335 cat confcache
>$cache_file
9337 echo "not updating unwritable cache $cache_file"
9342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9343 # Let make expand exec_prefix.
9344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9346 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9347 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9348 # trailing colons and then remove the whole line if VPATH becomes empty
9349 # (actually we leave an empty line to preserve line numbers).
9350 if test "x$srcdir" = x.
; then
9351 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9352 s/:*\$(srcdir):*/:/;
9353 s/:*\${srcdir}:*/:/;
9355 s/^\([^=]*=[ ]*\):*/\1/;
9361 # Transform confdefs.h into DEFS.
9362 # Protect against shell expansion while executing Makefile rules.
9363 # Protect against Makefile macro expansion.
9365 # If the first sed substitution is executed (which looks for macros that
9366 # take arguments), then we branch to the quote section. Otherwise,
9367 # look for a macro that doesn't take arguments.
9368 cat >confdef2opt.
sed <<\_ACEOF
9371 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
9373 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
9377 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
9383 # We use echo to avoid assuming a particular line-breaking character.
9384 # The extra dot is to prevent the shell from consuming trailing
9385 # line-breaks from the sub-command output. A line-break within
9386 # single-quotes doesn't work because, if this script is created in a
9387 # platform that uses two characters for line-breaks (e.g., DOS), tr
9389 ac_LF_and_DOT=`echo; echo .
`
9390 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
9391 rm -f confdef2opt.sed
9396 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9397 # 1. Remove the extension, and $U if already installed.
9398 ac_i=`echo "$ac_i" |
9399 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9401 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9402 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9406 LTLIBOBJS=$ac_ltlibobjs
9410 : ${CONFIG_STATUS=./config.status}
9411 ac_clean_files_save=$ac_clean_files
9412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9413 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9414 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9415 cat >$CONFIG_STATUS <<_ACEOF
9417 # Generated by $as_me.
9418 # Run this file to recreate the current configuration.
9419 # Compiler output produced by configure, useful for debugging
9420 # configure, is in config.log if it exists.
9425 SHELL=\${CONFIG_SHELL-$SHELL}
9428 cat >>$CONFIG_STATUS <<\_ACEOF
9429 ## --------------------- ##
9430 ## M4sh Initialization. ##
9431 ## --------------------- ##
9433 # Be Bourne compatible
9434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9437 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9438 # is contrary to our usage. Disable this feature.
9439 alias -g '${1+"$@"}'='"$@"'
9440 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9443 DUALCASE=1; export DUALCASE # for MKS sh
9445 # Support unset when possible.
9446 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9453 # Work around bugs in pre-3.0 UWIN ksh.
9454 $as_unset ENV MAIL MAILPATH
9461 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9462 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9463 LC_TELEPHONE LC_TIME
9465 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
9466 eval $as_var=C; export $as_var
9472 # Required to use basename.
9473 if expr a : '\(a\)' >/dev/null 2>&1; then
9479 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9480 as_basename=basename
9486 # Name of the executable.
9487 as_me=`$as_basename "$0" ||
9488 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9489 X
"$0" : 'X\(//\)$' \| \
9490 X
"$0" : 'X\(/\)$' \| \
9491 .
: '\(.\)' 2>/dev
/null ||
9493 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9494 /^X\/\(\/\/\)$/{ s//\1/; q; }
9495 /^X\/\(\/\).*/{ s//\1/; q; }
9499 # PATH needs CR, and LINENO needs CR and PATH.
9500 # Avoid depending upon Character Ranges.
9501 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9504 as_cr_digits='0123456789'
9505 as_cr_alnum=$as_cr_Letters$as_cr_digits
9507 # The user is always right.
9508 if test "${PATH_SEPARATOR+set}" != set; then
9509 echo "#! /bin/sh" >conf$$.sh
9510 echo "exit 0" >>conf$$.sh
9512 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9523 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
9524 test "x$as_lineno_1" != "x$as_lineno_2" &&
9525 test "x$as_lineno_3" = "x$as_lineno_2" || {
9526 # Find who we are. Look in the path if we contain no path at all
9529 *[\\/]* ) as_myself=$0 ;;
9530 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 test -z "$as_dir" && as_dir=.
9535 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9540 # We did not find ourselves, most probably we were run as `sh COMMAND
'
9541 # in which case we are not to be found in the path.
9542 if test "x$as_myself" = x; then
9545 if test ! -f "$as_myself"; then
9546 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9547 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9548 { (exit 1); exit 1; }; }
9550 case $CONFIG_SHELL in
9552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9556 test -z "$as_dir" && as_dir=.
9557 for as_base in sh bash ksh sh5; do
9560 if ("$as_dir/$as_base" -c '
9563 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9564 test "x$as_lineno_1" != "x$as_lineno_2" &&
9565 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9566 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9567 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9568 CONFIG_SHELL=$as_dir/$as_base
9570 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9578 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9579 # uniformly replaced by the line number. The first 'sed' inserts a
9580 # line-number line before each line; the second 'sed' does the real
9581 # work. The second script uses 'N
' to pair each line-number line
9582 # with the numbered line, and appends trailing '-' during
9583 # substitution so that $LINENO is not a special case at line end.
9584 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9585 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
9586 sed '=' <$as_myself |
9591 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9594 s,^['$as_cr_digits']*\n,,
9596 chmod +x
$as_me.lineno ||
9597 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9598 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9599 { (exit 1); exit 1; }; }
9601 # Don't try to exec as it changes $[0], causing all sort of problems
9602 # (the dirname of $[0] is not the place where we might find the
9603 # original and so on. Autoconf is especially sensible to this).
9605 # Exit status is that of the last command.
9610 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9611 *c
*,-n*) ECHO_N
= ECHO_C
='
9613 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9614 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9617 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9623 rm -f conf$$ conf$$.exe conf$$.
file
9625 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9626 # We could just check for DJGPP; but this test a) works b) is more generic
9627 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9628 if test -f conf$$.exe
; then
9629 # Don't use ln at all; we don't have any links
9634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9639 rm -f conf$$ conf$$.exe conf$$.
file
9641 if mkdir
-p .
2>/dev
/null
; then
9644 test -d .
/-p && rmdir .
/-p
9648 as_executable_p
="test -f"
9650 # Sed expression to map a string onto a valid CPP name.
9651 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9653 # Sed expression to map a string onto a valid variable name.
9654 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9658 # We need space, tab and new line, in precisely that order.
9668 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9669 # report actual input values of CONFIG_FILES etc. instead of their
9670 # values after options handling. Logging --version etc. is OK.
9674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9675 ## Running $as_me. ##
9680 This file was extended by $as_me, which was
9681 generated by GNU Autoconf 2.59. Invocation command line was
9683 CONFIG_FILES = $CONFIG_FILES
9684 CONFIG_HEADERS = $CONFIG_HEADERS
9685 CONFIG_LINKS = $CONFIG_LINKS
9686 CONFIG_COMMANDS = $CONFIG_COMMANDS
9690 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9694 # Files that config.status was made for.
9695 if test -n "$ac_config_files"; then
9696 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9699 if test -n "$ac_config_headers"; then
9700 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9703 if test -n "$ac_config_links"; then
9704 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9707 if test -n "$ac_config_commands"; then
9708 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9711 cat >>$CONFIG_STATUS <<\_ACEOF
9714 \`$as_me' instantiates files from templates according to the
9715 current configuration.
9717 Usage: $0 [OPTIONS] [FILE]...
9719 -h, --help print this help, then exit
9720 -V, --version print version number, then exit
9721 -q, --quiet do not print progress messages
9722 -d, --debug don't remove temporary files
9723 --recheck update $as_me by reconfiguring in the same conditions
9724 --file=FILE[:TEMPLATE]
9725 instantiate the configuration file FILE
9727 Configuration files:
9730 Report bugs to <bug-autoconf@gnu.org>."
9733 cat >>$CONFIG_STATUS <<_ACEOF
9736 configured by $0, generated by GNU Autoconf 2.59,
9737 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9739 Copyright (C) 2003 Free Software Foundation, Inc.
9740 This config.status script is free software; the Free Software Foundation
9741 gives unlimited permission to copy, distribute and modify it."
9746 cat >>$CONFIG_STATUS <<\_ACEOF
9747 # If no file are specified by the user, then we need to provide default
9748 # value. By we need to know if files were specified by the user.
9754 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9755 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9763 *) # This is not an option, so the user has probably given explicit
9766 ac_need_defaults
=false
;;
9770 # Handling of the options.
9772 cat >>$CONFIG_STATUS <<\_ACEOF
9773 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9775 --version |
--vers* |
-V )
9776 echo "$ac_cs_version"; exit 0 ;;
9778 # Conflict between --help and --header
9779 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9780 Try \`$0 --help' for more information." >&5
9781 echo "$as_me: error: ambiguous option: $1
9782 Try \`$0 --help' for more information." >&2;}
9783 { (exit 1); exit 1; }; };;
9784 --help |
--hel |
-h )
9785 echo "$ac_cs_usage"; exit 0 ;;
9786 --debug |
--d* |
-d )
9788 --file |
--fil |
--fi |
--f )
9790 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9791 ac_need_defaults
=false
;;
9792 --header |
--heade |
--head |
--hea )
9794 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9795 ac_need_defaults
=false
;;
9796 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9797 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9801 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9802 Try \`$0 --help' for more information." >&5
9803 echo "$as_me: error: unrecognized option: $1
9804 Try \`$0 --help' for more information." >&2;}
9805 { (exit 1); exit 1; }; } ;;
9807 *) ac_config_targets
="$ac_config_targets $1" ;;
9813 ac_configure_extra_args
=
9815 if $ac_cs_silent; then
9817 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9821 cat >>$CONFIG_STATUS <<_ACEOF
9822 if \$ac_cs_recheck; then
9823 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9824 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9833 cat >>$CONFIG_STATUS <<\_ACEOF
9834 for ac_config_target
in $ac_config_targets
9836 case "$ac_config_target" in
9837 # Handling of arguments.
9838 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9839 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9840 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9841 { (exit 1); exit 1; }; };;
9845 # If the user did not use the arguments to specify the items to instantiate,
9846 # then the envvar interface is used. Set only those that are not.
9847 # We use the long form for the default assignment because of an extremely
9848 # bizarre bug on SunOS 4.1.3.
9849 if $ac_need_defaults; then
9850 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9853 # Have a temporary directory for convenience. Make it in the build tree
9854 # simply because there is no reason to put it here, and in addition,
9855 # creating and moving files from /tmp can sometimes cause problems.
9856 # Create a temporary directory, and hook for its removal unless debugging.
9859 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9860 trap '{ (exit 1); exit 1; }' 1 2 13 15
9863 # Create a (secure) tmp directory for tmp files.
9866 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9867 test -n "$tmp" && test -d "$tmp"
9870 tmp
=.
/confstat$$
-$RANDOM
9871 (umask 077 && mkdir
$tmp)
9874 echo "$me: cannot create a temporary directory in ." >&2
9875 { (exit 1); exit 1; }
9880 cat >>$CONFIG_STATUS <<_ACEOF
9883 # CONFIG_FILES section.
9886 # No need to generate the scripts if there are no CONFIG_FILES.
9887 # This happens for instance when ./config.status config.h
9888 if test -n "\$CONFIG_FILES"; then
9889 # Protect against being on the right side of a sed subst in config.status.
9890 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9891 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9892 s,@SHELL@,$SHELL,;t t
9893 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9894 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9895 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9896 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9897 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9898 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9899 s,@exec_prefix@,$exec_prefix,;t t
9900 s,@prefix@,$prefix,;t t
9901 s,@program_transform_name@,$program_transform_name,;t t
9902 s,@bindir@,$bindir,;t t
9903 s,@sbindir@,$sbindir,;t t
9904 s,@libexecdir@,$libexecdir,;t t
9905 s,@datadir@,$datadir,;t t
9906 s,@sysconfdir@,$sysconfdir,;t t
9907 s,@sharedstatedir@,$sharedstatedir,;t t
9908 s,@localstatedir@,$localstatedir,;t t
9909 s,@libdir@,$libdir,;t t
9910 s,@includedir@,$includedir,;t t
9911 s,@oldincludedir@,$oldincludedir,;t t
9912 s,@infodir@,$infodir,;t t
9913 s,@mandir@,$mandir,;t t
9914 s,@build_alias@,$build_alias,;t t
9915 s,@host_alias@,$host_alias,;t t
9916 s,@target_alias@,$target_alias,;t t
9918 s,@ECHO_C@,$ECHO_C,;t t
9919 s,@ECHO_N@,$ECHO_N,;t t
9920 s,@ECHO_T@,$ECHO_T,;t t
9922 s,@build@,$build,;t t
9923 s,@build_cpu@,$build_cpu,;t t
9924 s,@build_vendor@,$build_vendor,;t t
9925 s,@build_os@,$build_os,;t t
9927 s,@host_cpu@,$host_cpu,;t t
9928 s,@host_vendor@,$host_vendor,;t t
9929 s,@host_os@,$host_os,;t t
9930 s,@target@,$target,;t t
9931 s,@target_cpu@,$target_cpu,;t t
9932 s,@target_vendor@,$target_vendor,;t t
9933 s,@target_os@,$target_os,;t t
9934 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9935 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9936 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9939 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
9940 s,@build_subdir@,$build_subdir,;t t
9941 s,@host_subdir@,$host_subdir,;t t
9942 s,@target_subdir@,$target_subdir,;t t
9944 s,@CFLAGS@,$CFLAGS,;t t
9945 s,@LDFLAGS@,$LDFLAGS,;t t
9946 s,@CPPFLAGS@,$CPPFLAGS,;t t
9947 s,@ac_ct_CC@,$ac_ct_CC,;t t
9948 s,@EXEEXT@,$EXEEXT,;t t
9949 s,@OBJEXT@,$OBJEXT,;t t
9950 s,@GNATBIND@,$GNATBIND,;t t
9951 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
9952 s,@do_compare@,$do_compare,;t t
9953 s,@gmplibs@,$gmplibs,;t t
9954 s,@gmpinc@,$gmpinc,;t t
9955 s,@stage1_languages@,$stage1_languages,;t t
9956 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
9957 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
9958 s,@tooldir@,$tooldir,;t t
9959 s,@build_tooldir@,$build_tooldir,;t t
9960 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
9961 s,@GDB_TK@,$GDB_TK,;t t
9962 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
9963 s,@build_configargs@,$build_configargs,;t t
9964 s,@build_configdirs@,$build_configdirs,;t t
9965 s,@host_configargs@,$host_configargs,;t t
9966 s,@configdirs@,$configdirs,;t t
9967 s,@target_configargs@,$target_configargs,;t t
9968 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9969 s,@config_shell@,$config_shell,;t t
9971 s,@BISON@,$BISON,;t t
9975 s,@MAKEINFO@,$MAKEINFO,;t t
9976 s,@EXPECT@,$EXPECT,;t t
9977 s,@RUNTEST@,$RUNTEST,;t t
9980 s,@DLLTOOL@,$DLLTOOL,;t t
9984 s,@RANLIB@,$RANLIB,;t t
9985 s,@STRIP@,$STRIP,;t t
9986 s,@WINDRES@,$WINDRES,;t t
9987 s,@OBJCOPY@,$OBJCOPY,;t t
9988 s,@OBJDUMP@,$OBJDUMP,;t t
9990 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
9991 s,@CXXFLAGS@,$CXXFLAGS,;t t
9992 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
9993 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
9994 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
9995 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
9996 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
9997 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
9998 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
9999 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
10000 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
10001 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
10002 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
10003 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
10004 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
10005 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
10006 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
10007 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
10008 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
10009 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
10010 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
10011 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
10012 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10013 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10014 s,@MAINT@,$MAINT,;t t
10015 s,@stage1_cflags@,$stage1_cflags,;t t
10016 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
10017 s,@LIBOBJS@,$LIBOBJS,;t t
10018 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10019 /@serialization_dependencies@/r $serialization_dependencies
10020 s,@serialization_dependencies@,,;t t
10021 /@host_makefile_frag@/r $host_makefile_frag
10022 s,@host_makefile_frag@,,;t t
10023 /@target_makefile_frag@/r $target_makefile_frag
10024 s,@target_makefile_frag@,,;t t
10025 /@alphaieee_frag@/r $alphaieee_frag
10026 s,@alphaieee_frag@,,;t t
10027 /@ospace_frag@/r $ospace_frag
10028 s,@ospace_frag@,,;t t
10033 cat >>$CONFIG_STATUS <<\_ACEOF
10034 # Split the substitutions into bite-sized pieces for seds with
10035 # small command number limits, like on Digital OSF/1 and HP-UX.
10036 ac_max_sed_lines
=48
10037 ac_sed_frag
=1 # Number of current file.
10038 ac_beg
=1 # First line for current file.
10039 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10042 while $ac_more_lines; do
10043 if test $ac_beg -gt 1; then
10044 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10046 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10048 if test ! -s $tmp/subs.frag
; then
10049 ac_more_lines
=false
10051 # The purpose of the label and of the branching condition is to
10052 # speed up the sed processing (if there are no `@' at all, there
10053 # is no need to browse any of the substitutions).
10054 # These are the two extra sed commands mentioned above.
10056 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10057 if test -z "$ac_sed_cmds"; then
10058 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10060 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10062 ac_sed_frag
=`expr $ac_sed_frag + 1`
10064 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10067 if test -z "$ac_sed_cmds"; then
10070 fi # test -n "$CONFIG_FILES"
10073 cat >>$CONFIG_STATUS <<\_ACEOF
10074 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10075 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10077 - |
*:- |
*:-:* ) # input from stdin
10079 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10080 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10081 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10082 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10083 * ) ac_file_in
=$ac_file.
in ;;
10086 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10087 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10089 X"$ac_file" : 'X\(//\)[^/]' \| \
10090 X"$ac_file" : 'X\(//\)$' \| \
10091 X"$ac_file" : 'X\(/\)' \| \
10092 . : '\(.\)' 2>/dev/null ||
10094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10096 /^X\(\/\/\)$/{ s//\1/; q; }
10097 /^X\(\/\).*/{ s//\1/; q; }
10099 { if $as_mkdir_p; then
10104 while test ! -d "$as_dir"; do
10105 as_dirs
="$as_dir $as_dirs"
10106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10108 X"$as_dir" : 'X\(//\)[^/]' \| \
10109 X"$as_dir" : 'X\(//\)$' \| \
10110 X"$as_dir" : 'X\(/\)' \| \
10111 . : '\(.\)' 2>/dev/null ||
10113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10115 /^X\(\/\/\)$/{ s//\1/; q; }
10116 /^X\(\/\).*/{ s//\1/; q; }
10119 test ! -n "$as_dirs" || mkdir
$as_dirs
10120 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10122 { (exit 1); exit 1; }; }; }
10126 if test "$ac_dir" != .
; then
10127 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10128 # A "../" for each directory in $ac_dir_suffix.
10129 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10131 ac_dir_suffix
= ac_top_builddir
=
10135 .
) # No --srcdir option. We are building in place.
10137 if test -z "$ac_top_builddir"; then
10140 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10142 [\\/]* | ?
:[\\/]* ) # Absolute path.
10143 ac_srcdir
=$srcdir$ac_dir_suffix;
10144 ac_top_srcdir
=$srcdir ;;
10145 *) # Relative path.
10146 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10147 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10150 # Do not use `cd foo && pwd` to compute absolute paths, because
10151 # the directories may not exist.
10153 .
) ac_abs_builddir
="$ac_dir";;
10156 .
) ac_abs_builddir
=`pwd`;;
10157 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10158 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10161 case $ac_abs_builddir in
10162 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10164 case ${ac_top_builddir}.
in
10165 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10166 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10167 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10170 case $ac_abs_builddir in
10171 .
) ac_abs_srcdir
=$ac_srcdir;;
10174 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10175 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10176 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10179 case $ac_abs_builddir in
10180 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10182 case $ac_top_srcdir in
10183 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10184 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10185 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10191 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10192 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10195 if test x
"$ac_file" != x-
; then
10196 { echo "$as_me:$LINENO: creating $ac_file" >&5
10197 echo "$as_me: creating $ac_file" >&6;}
10200 # Let's still pretend it is `configure' which instantiates (i.e., don't
10201 # use $as_me), people would be surprised to read:
10202 # /* config.h. Generated by config.status. */
10203 if test x
"$ac_file" = x-
; then
10206 configure_input
="$ac_file. "
10208 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10209 sed 's,.*/,,'` by configure."
10211 # First look for the input files in the build tree, otherwise in the
10213 ac_file_inputs
=`IFS=:
10214 for f in $ac_file_in; do
10216 -) echo $tmp/stdin ;;
10218 # Absolute (can't be DOS-style, as IFS=:)
10219 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10220 echo "$as_me: error: cannot find input file: $f" >&2;}
10221 { (exit 1); exit 1; }; }
10224 if test -f "$f"; then
10227 elif test -f "$srcdir/$f"; then
10232 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10233 echo "$as_me: error: cannot find input file: $f" >&2;}
10234 { (exit 1); exit 1; }; }
10237 done` ||
{ (exit 1); exit 1; }
10239 cat >>$CONFIG_STATUS <<_ACEOF
10243 cat >>$CONFIG_STATUS <<\_ACEOF
10245 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10246 s
,@configure_input@
,$configure_input,;t t
10247 s
,@srcdir@
,$ac_srcdir,;t t
10248 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10249 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10250 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10251 s
,@builddir@
,$ac_builddir,;t t
10252 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10253 s
,@top_builddir@
,$ac_top_builddir,;t t
10254 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10255 s
,@INSTALL@
,$ac_INSTALL,;t t
10256 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10258 if test x"$ac_file" != x-; then
10259 mv $tmp/out $ac_file
10268 cat >>$CONFIG_STATUS <<\_ACEOF
10270 { (exit 0); exit 0; }
10272 chmod +x $CONFIG_STATUS
10273 ac_clean_files=$ac_clean_files_save
10276 # configure is writing to config.log, and then calls config.status.
10277 # config.status does its own redirection, appending to config.log.
10278 # Unfortunately, on DOS this fails, as config.log is still kept open
10279 # by configure, so config.status won't be able to write to it; its
10280 # output is simply discarded. So we exec the FD to /dev/null,
10281 # effectively closing config.log, so it can be properly (re)opened and
10282 # appended to by config.status. When coming back to configure, we
10283 # need to make the FD available again.
10284 if test "$no_create" != yes; then
10286 ac_config_status_args=
10287 test "$silent" = yes &&
10288 ac_config_status_args="$ac_config_status_args --quiet"
10290 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10292 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10293 # would make configure fail if this is the last instruction.
10294 $ac_cs_success || { (exit 1); exit 1; }