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 build_noncanonical host_noncanonical target_noncanonical 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_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE 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 RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir htmldir 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-stage1-languages=all choose additional languages to build during
815 stage1. Mostly useful
for compiler development.
816 --enable-objc-gc enable the use of Boehm
's garbage collector with
817 the GNU Objective-C runtime.
818 --enable-bootstrap Enable bootstrapping yes if native build
819 --enable-serial-{host,target,build}-configure
820 Force sequential configuration of
821 sub-packages for the host, target or build
822 machine, or all sub-packages
823 --enable-maintainer-mode enable make rules and dependencies not useful
824 (and sometimes confusing) to the casual installer
825 --enable-stage1-checking=all choose additional checking for stage1
827 --enable-werror enable -Werror in bootstrap stage2 and later
830 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
831 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
832 --with-build-libsubdir=DIR Directory where to find libraries for build system
833 --with-mpfr-dir=PATH This option has been REMOVED
834 --with-mpfr=PATH Specify prefix directory for installed MPFR package
835 Equivalent to --with-mpfr-include=PATH/include
836 plus --with-mpfr-lib=PATH/lib
837 --with-mpfr-include=PATH
838 Specify directory for installed MPFR include files
839 --with-mpfr-lib=PATH Specify the directory for the installed MPFR library
840 --with-gmp-dir=PATH This option has been REMOVED
841 --with-gmp=PATH Specify prefix directory for the installed GMP package
842 Equivalent to --with-gmp-include=PATH/include
843 plus --with-gmp-lib=PATH/lib
844 --with-gmp-include=PATH Specify directory for installed GMP include files
845 --with-gmp-lib=PATH Specify the directory for the installed GMP library
846 --with-build-sysroot=sysroot
847 use sysroot as the system root during the build
848 --with-build-time-tools=path
849 use given path to find target tools during the build
850 --with-datarootdir Use datarootdir as the data root directory.
851 --with-docdir Install documentation in this directory.
852 --with-htmldir Install html in this directory.
854 Some influential environment variables:
855 CC C compiler command
856 CFLAGS C compiler flags
857 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
858 nonstandard directory <lib dir>
859 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
860 headers in a nonstandard directory <include dir>
862 Use these variables to override the choices made by `configure' or to
help
863 it to
find libraries and programs with nonstandard names
/locations.
868 if test "$ac_init_help" = "recursive"; then
869 # If there are subdirs, report their specific --help.
871 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
872 test -d $ac_dir ||
continue
875 if test "$ac_dir" != .
; then
876 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
877 # A "../" for each directory in $ac_dir_suffix.
878 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
880 ac_dir_suffix
= ac_top_builddir
=
884 .
) # No --srcdir option. We are building in place.
886 if test -z "$ac_top_builddir"; then
889 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
891 [\\/]* | ?
:[\\/]* ) # Absolute path.
892 ac_srcdir
=$srcdir$ac_dir_suffix;
893 ac_top_srcdir
=$srcdir ;;
895 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
896 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
899 # Do not use `cd foo && pwd` to compute absolute paths, because
900 # the directories may not exist.
902 .
) ac_abs_builddir
="$ac_dir";;
905 .
) ac_abs_builddir
=`pwd`;;
906 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
907 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
910 case $ac_abs_builddir in
911 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
913 case ${ac_top_builddir}.
in
914 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
915 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
916 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
919 case $ac_abs_builddir in
920 .
) ac_abs_srcdir
=$ac_srcdir;;
923 .
) ac_abs_srcdir
=$ac_abs_builddir;;
924 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
925 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
928 case $ac_abs_builddir in
929 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
931 case $ac_top_srcdir in
932 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
933 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
934 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
939 # Check for guested configure; otherwise get Cygnus style configure.
940 if test -f $ac_srcdir/configure.gnu
; then
942 $SHELL $ac_srcdir/configure.gnu
--help=recursive
943 elif test -f $ac_srcdir/configure
; then
945 $SHELL $ac_srcdir/configure
--help=recursive
946 elif test -f $ac_srcdir/configure.ac ||
947 test -f $ac_srcdir/configure.
in; then
951 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
957 test -n "$ac_init_help" && exit 0
958 if $ac_init_version; then
961 Copyright
(C
) 2003 Free Software Foundation
, Inc.
962 This configure
script is free software
; the Free Software Foundation
963 gives unlimited permission to copy
, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by $as_me, which was
973 generated by GNU Autoconf 2.59. Invocation command line was
984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir
=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1032 ac_must_keep_next
=false
1038 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1039 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1040 |
-silent |
--silent |
--silen |
--sile |
--sil)
1042 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1046 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1048 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true
; then
1050 ac_must_keep_next
=false
# Got value, back to normal.
1053 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1054 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1055 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1056 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061 -* ) ac_must_keep_next
=true
;;
1064 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1071 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1072 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close' the trap.
1079 trap 'exit_status=$?
1080 # Save into config.log some information that might help in debugging.
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1090 # The following way of writing the cache mishandles newlines in values,
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1113 for ac_var in $ac_subst_vars
1115 eval ac_val=$`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -n "$ac_subst_files"; then
1127 for ac_var in $ac_subst_files
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -s confdefs.h; then
1142 sed "/^$/d" confdefs.h | sort
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1149 rm -f core *.core &&
1150 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1153 for ac_signal
in 1 2 13 15; do
1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest
* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163 # Predefined preprocessor variables.
1165 cat >>confdefs.h
<<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 cat >>confdefs.h
<<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 cat >>confdefs.h
<<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 cat >>confdefs.h
<<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 cat >>confdefs.h
<<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE
; then
1194 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1196 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199 for ac_site_file
in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's/^/| /' "$ac_site_file" >&5
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1215 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1216 *) . .
/$cache_file;;
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1225 # Check that the precious variables saved in the cache have kept the same
1227 ac_cache_corrupted
=false
1228 for ac_var
in `(set) 2>&1 |
1229 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1231 eval ac_new_set
=\
$ac_env_${ac_var}_set
1232 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val
="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1238 ac_cache_corrupted
=: ;;
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted
=: ;;
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted
=:
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1258 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg
=$ac_var=$ac_new_val ;;
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1277 ac_cpp
='$CPP $CPPFLAGS'
1278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1302 # Find the build, host, and target systems.
1304 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1305 if test -f $ac_dir/install-sh
; then
1307 ac_install_sh
="$ac_aux_dir/install-sh -c"
1309 elif test -f $ac_dir/install.sh
; then
1311 ac_install_sh
="$ac_aux_dir/install.sh -c"
1313 elif test -f $ac_dir/shtool
; then
1315 ac_install_sh
="$ac_aux_dir/shtool install -c"
1319 if test -z "$ac_aux_dir"; then
1320 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1321 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1322 { (exit 1); exit 1; }; }
1324 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1325 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1326 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1328 # Make sure we can run config.sub.
1329 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1330 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1331 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1332 { (exit 1); exit 1; }; }
1334 echo "$as_me:$LINENO: checking build system type" >&5
1335 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1336 if test "${ac_cv_build+set}" = set; then
1337 echo $ECHO_N "(cached) $ECHO_C" >&6
1339 ac_cv_build_alias
=$build_alias
1340 test -z "$ac_cv_build_alias" &&
1341 ac_cv_build_alias
=`$ac_config_guess`
1342 test -z "$ac_cv_build_alias" &&
1343 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1344 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1345 { (exit 1); exit 1; }; }
1346 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1347 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1348 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1349 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1353 echo "${ECHO_T}$ac_cv_build" >&6
1355 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1356 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1357 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1360 case ${build_alias} in
1361 "") build_noncanonical
=${build} ;;
1362 *) build_noncanonical
=${build_alias} ;;
1367 case ${host_alias} in
1368 "") host_noncanonical
=${build_noncanonical} ;;
1369 *) host_noncanonical
=${host_alias} ;;
1374 case ${target_alias} in
1375 "") target_noncanonical
=${host_noncanonical} ;;
1376 *) target_noncanonical
=${target_alias} ;;
1382 test "$host_noncanonical" = "$target_noncanonical" &&
1383 test "$program_prefix$program_suffix$program_transform_name" = \
1385 program_transform_name
=s
,y
,y
,
1387 echo "$as_me:$LINENO: checking host system type" >&5
1388 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1389 if test "${ac_cv_host+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 ac_cv_host_alias
=$host_alias
1393 test -z "$ac_cv_host_alias" &&
1394 ac_cv_host_alias
=$ac_cv_build_alias
1395 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1396 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1397 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1398 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1402 echo "${ECHO_T}$ac_cv_host" >&6
1404 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1405 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1406 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1409 echo "$as_me:$LINENO: checking target system type" >&5
1410 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1411 if test "${ac_cv_target+set}" = set; then
1412 echo $ECHO_N "(cached) $ECHO_C" >&6
1414 ac_cv_target_alias
=$target_alias
1415 test "x$ac_cv_target_alias" = "x" &&
1416 ac_cv_target_alias
=$ac_cv_host_alias
1417 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1418 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1419 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1420 { (exit 1); exit 1; }; }
1423 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1424 echo "${ECHO_T}$ac_cv_target" >&6
1425 target
=$ac_cv_target
1426 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1427 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1428 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1431 # The aliases save the names the user supplied, while $host etc.
1432 # will get canonicalized.
1433 test -n "$target_alias" &&
1434 test "$program_prefix$program_suffix$program_transform_name" = \
1436 program_prefix
=${target_alias}-
1437 test "$program_prefix" != NONE
&&
1438 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1439 # Use a double $ so make ignores it.
1440 test "$program_suffix" != NONE
&&
1441 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1442 # Double any \ or $. echo might interpret backslashes.
1443 # By default was `s,x,x', remove it if useless.
1444 cat <<\_ACEOF
>conftest.
sed
1445 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1447 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1452 # Get 'install' or 'install-sh' and its variants.
1453 # Find a good install program. We prefer a C program (faster),
1454 # so one script is as good as another. But avoid the broken or
1455 # incompatible versions:
1456 # SysV /etc/install, /usr/sbin/install
1457 # SunOS /usr/etc/install
1458 # IRIX /sbin/install
1460 # AmigaOS /C/install, which installs bootblocks on floppy discs
1461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1464 # OS/2's system install, which has a completely different semantic
1465 # ./install, which can be erroneously created by make from ./install.sh.
1466 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1467 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1468 if test -z "$INSTALL"; then
1469 if test "${ac_cv_path_install+set}" = set; then
1470 echo $ECHO_N "(cached) $ECHO_C" >&6
1472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir
=.
1477 # Account for people who put trailing slashes in PATH elements.
1479 .
/ | .
// |
/cC
/* | \
1480 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1481 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1484 # OSF1 and SCO ODT 3.0 have their own names for install.
1485 # Don't use installbsd from OSF since it installs stuff as root
1487 for ac_prog
in ginstall scoinst
install; do
1488 for ac_exec_ext
in '' $ac_executable_extensions; do
1489 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1490 if test $ac_prog = install &&
1491 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1492 # AIX install. It has an incompatible calling convention.
1494 elif test $ac_prog = install &&
1495 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1496 # program-specific install script used by HP pwplus--don't use.
1499 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1511 if test "${ac_cv_path_install+set}" = set; then
1512 INSTALL
=$ac_cv_path_install
1514 # As a last resort, use the slow shell script. We don't cache a
1515 # path for INSTALL within a source directory, because that will
1516 # break other packages using the cache if that directory is
1517 # removed, or if the path is relative.
1518 INSTALL
=$ac_install_sh
1521 echo "$as_me:$LINENO: result: $INSTALL" >&5
1522 echo "${ECHO_T}$INSTALL" >&6
1524 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1525 # It thinks the first close brace ends the variable substitution.
1526 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1528 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1530 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1532 echo "$as_me:$LINENO: checking whether ln works" >&5
1533 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1534 if test "${acx_cv_prog_LN+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 rm -f conftestdata_t
1538 echo >conftestdata_f
1539 if ln conftestdata_f conftestdata_t
2>/dev
/null
1545 rm -f conftestdata_f conftestdata_t
1548 if test $acx_cv_prog_LN = no
; then
1550 echo "$as_me:$LINENO: result: no, using $LN" >&5
1551 echo "${ECHO_T}no, using $LN" >&6
1553 LN
="$acx_cv_prog_LN"
1554 echo "$as_me:$LINENO: result: yes" >&5
1555 echo "${ECHO_T}yes" >&6
1558 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1559 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1561 if test "$LN_S" = "ln -s"; then
1562 echo "$as_me:$LINENO: result: yes" >&5
1563 echo "${ECHO_T}yes" >&6
1565 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1566 echo "${ECHO_T}no, using $LN_S" >&6
1570 ### we might need to use some other shell than /bin/sh for running subshells
1571 ### If we are on Windows, search for the shell. This will permit people
1572 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1573 ### without also having to set CONFIG_SHELL. This code will work when
1574 ### using bash, which sets OSTYPE.
1577 if test x
${CONFIG_SHELL} = x
; then
1578 if test ! -f /bin
/sh
; then
1579 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1580 CONFIG_SHELL
=${SHELL}
1583 for prog
in sh sh.exe bash bash.exe
; do
1584 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1585 for dir
in $PATH; do
1586 test -z "$dir" && dir
=.
1587 if test -f $dir/$prog; then
1588 CONFIG_SHELL
=$dir/$prog
1594 test -n "${CONFIG_SHELL}" && break
1602 config_shell
=${CONFIG_SHELL-/bin/sh}
1605 # if PWD already has a value, it is probably wrong.
1606 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1608 # Export original configure arguments for use by sub-configures. These
1609 # will be expanded by make, so quote '$'.
1611 sed -e 's,\$,$$,g' <<EOF_SED > conftestsed.out
1614 TOPLEVEL_CONFIGURE_ARGUMENTS
=`cat conftestsed.out`
1615 rm -f conftestsed.out
1618 moveifchange
=${srcdir}/move-if-change
1620 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1622 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1624 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1625 INSTALL
="${srcpwd}/install-sh -c"
1628 # Set srcdir to "." if that's what it is.
1629 # This is important for multilib support.
1631 if test "${pwd}" = "${srcpwd}" ; then
1639 ### To add a new directory to the tree, first choose whether it is a target
1640 ### or a host dependent tool. Then put it into the appropriate list
1641 ### (library or tools, host or target), doing a dependency sort.
1643 # Subdirs will be configured in the order listed in build_configdirs,
1644 # configdirs, or target_configdirs; see the serialization section below.
1646 # Dependency sorting is only needed when *configuration* must be done in
1647 # a particular order. In all cases a dependency should be specified in
1648 # the Makefile, whether or not it's implicitly specified here.
1650 # Double entries in build_configdirs, configdirs, or target_configdirs may
1651 # cause circular dependencies and break everything horribly.
1653 # these library is used by various programs built for the build
1656 build_libs
="build-libiberty"
1658 # these tools are built for the build environment
1659 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1661 # these libraries are used by various programs built for the host environment
1663 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1665 # these tools are built for the host environment
1666 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1667 # know that we are building the simulator.
1668 # binutils, gas and ld appear in that order because it makes sense to run
1669 # "make check" in that particular order.
1670 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"
1672 # libgcj represents the runtime libraries only used by gcj.
1673 libgcj
="target-libffi \
1678 # these libraries are built for the target environment, and are built after
1679 # the host libraries and the host tools (which may be a cross compiler)
1681 target_libraries
="target-libiberty \
1685 target-libstdc++-v3 \
1688 target-libgfortran \
1695 # these tools are built using the target libraries, and are intended to
1696 # run only in the target environment
1698 # note: any program that *uses* libraries that are in the "target_libraries"
1699 # list belongs in this list. those programs are also very likely
1700 # candidates for the "native_only" list which follows
1702 target_tools
="target-examples target-groff target-gperf target-rda"
1704 ################################################################################
1706 ## All tools belong in one of the four categories, and are assigned above
1707 ## We assign ${configdirs} this way to remove all embedded newlines. This
1708 ## is important because configure will choke if they ever get through.
1709 ## ${configdirs} is directories we build using the host tools.
1710 ## ${target_configdirs} is directories we build using the target tools.
1711 configdirs
=`echo ${host_libs} ${host_tools}`
1712 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1713 build_configdirs
=`echo ${build_libs} ${build_tools}`
1715 ################################################################################
1717 srcname
="gnu development package"
1719 # This gets set non-empty for some net releases of packages.
1722 # Define is_cross_compiler to save on calls to 'test'.
1724 if test x
"${host}" = x
"${target}" ; then
1725 is_cross_compiler
=no
1727 is_cross_compiler
=yes
1730 # Find the build and target subdir names.
1732 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1733 # have matching libraries, they should use host libraries: Makefile.tpl
1734 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1735 # However, they still use the build modules, because the corresponding
1736 # host modules (e.g. bison) are only built for the host when bootstrap
1738 # - build_subdir is where we find build modules, and never changes.
1739 # - build_libsubdir is where we find build libraries, and can be overridden.
1741 # Prefix 'build-' so this never conflicts with target_subdir.
1742 build_subdir
="build-${build_noncanonical}"
1744 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1745 if test "${with_build_libsubdir+set}" = set; then
1746 withval
="$with_build_libsubdir"
1747 build_libsubdir
="$withval"
1749 build_libsubdir
="$build_subdir"
1751 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1752 if ( test $srcdir = .
&& test -d gcc
) \
1753 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1754 host_subdir
="host-${host_noncanonical}"
1759 target_subdir
=${target_noncanonical}
1762 # Skipdirs are removed silently.
1764 # Noconfigdirs are removed loudly.
1768 # Make sure we don't let GNU ld be added if we didn't want it.
1769 if test x
$with_gnu_ld = xno
; then
1771 noconfigdirs
="$noconfigdirs ld"
1775 # Make sure we don't let GNU as be added if we didn't want it.
1776 if test x
$with_gnu_as = xno
; then
1778 noconfigdirs
="$noconfigdirs gas"
1781 # some tools are so dependent upon X11 that if we're not building with X,
1782 # it's not even worth trying to configure, much less build, that tool.
1785 yes |
"") ;; # the default value for this tree is that X11 is available
1787 skipdirs
="${skipdirs} tk itcl libgui"
1788 # We won't be able to build gdbtk without X.
1791 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1794 # Some tools are only suitable for building in a "native" situation.
1795 # Remove these if host!=target.
1796 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
1798 # Similarly, some are only suitable for cross toolchains.
1799 # Remove these if host=target.
1800 cross_only
="target-libgloss target-newlib target-opcodes"
1802 case $is_cross_compiler in
1803 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1804 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1807 # If both --with-headers and --with-libs are specified, default to
1809 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1810 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1811 if test x
"${with_newlib}" = x
; then
1816 # Recognize --with-newlib/--without-newlib.
1817 case ${with_newlib} in
1818 no
) skipdirs
="${skipdirs} target-newlib" ;;
1819 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
1822 # Configure extra directories which are host specific
1826 configdirs
="$configdirs libtermcap" ;;
1829 # A target can indicate whether a language isn't supported for some reason.
1830 # Only spaces may be used in this macro; not newlines or tabs.
1831 unsupported_languages
=
1833 # Remove more programs from consideration, based on the host or
1834 # target this usually means that a port of the program doesn't
1839 noconfigdirs
="$noconfigdirs byacc"
1841 i
[3456789]86-*-vsta)
1842 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
1844 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
1845 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
1848 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
1850 i
[3456789]86-*-mingw32*)
1851 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
1852 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
1854 i
[3456789]86-*-beos*)
1855 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
1858 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
1861 noconfigdirs
="$noconfigdirs rcs"
1864 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
1867 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
1872 # Check whether --enable-libada or --disable-libada was given.
1873 if test "${enable_libada+set}" = set; then
1874 enableval
="$enable_libada"
1875 ENABLE_LIBADA
=$enableval
1879 if test "${ENABLE_LIBADA}" != "yes" ; then
1880 noconfigdirs
="$noconfigdirs gnattools"
1883 # Check whether --enable-libssp or --disable-libssp was given.
1884 if test "${enable_libssp+set}" = set; then
1885 enableval
="$enable_libssp"
1886 ENABLE_LIBSSP
=$enableval
1891 # Save it here so that, even in case of --enable-libgcj, if the Java
1892 # front-end isn't enabled, we still get libgcj disabled.
1893 libgcj_saved
=$libgcj
1894 case $enable_libgcj in
1896 # If we reset it here, it won't get added to noconfigdirs in the
1897 # target-specific build rules, so it will be forcibly enabled
1898 # (unless the Java language itself isn't enabled).
1902 # Make sure we get it printed in the list of not supported target libs.
1903 noconfigdirs
="$noconfigdirs ${libgcj}"
1908 # Disable libmudflap on some systems.
1909 if test x
$enable_libmudflap = x
; then
1911 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1912 # Enable libmudflap by default in GNU and friends.
1915 # Enable libmudflap by default in FreeBSD.
1918 # Disable it by default everywhere else.
1919 noconfigdirs
="$noconfigdirs target-libmudflap"
1924 # Disable libgomp on non POSIX hosted systems.
1925 if test x
$enable_libgomp = x
; then
1926 # Enable libgomp by default on hosted POSIX systems.
1928 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1930 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
1932 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
1934 *-*-darwin* |
*-*-aix*)
1937 noconfigdirs
="$noconfigdirs target-libgomp"
1945 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
1947 powerpc-
*-darwin* | i
[3456789]86-*-darwin*)
1948 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
1949 noconfigdirs
="$noconfigdirs sim target-rda"
1952 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
1953 noconfigdirs
="$noconfigdirs sim target-rda"
1954 noconfigdirs
="$noconfigdirs ${libgcj}"
1956 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
1957 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
1960 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1961 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
1962 && test -f /usr
/local
/include
/gmp.h
; then
1966 # Skip some stuff that's unsupported on some FreeBSD configurations.
1971 noconfigdirs
="$noconfigdirs ${libgcj}"
1976 # Remove unsupported stuff on all kaOS configurations.
1977 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
1978 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
1979 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
1980 noconfigdirs
="$noconfigdirs target-libgloss"
1983 # Skip some stuff on all NetBSD configurations.
1984 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
1986 # Skip some stuff that's unsupported on some NetBSD configurations.
1988 i
*86-*-netbsdelf*) ;;
1989 arm
*-*-netbsdelf*) ;;
1991 noconfigdirs
="$noconfigdirs ${libgcj}"
1996 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
1999 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2001 # The tpf target doesn't support gdb yet.
2003 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2006 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2009 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2012 # ld works, but does not support shared libraries.
2013 # newlib is not 64 bit ready. I'm not sure about fileutils.
2014 # gas doesn't generate exception information.
2015 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2018 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2021 # newlib is not 64 bit ready
2022 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2025 # newlib is not 64 bit ready
2026 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2029 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2032 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2034 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2035 noconfigdirs
="$noconfigdirs ${libgcj}"
2036 noconfigdirs
="$noconfigdirs target-examples"
2037 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2038 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2039 noconfigdirs
="$noconfigdirs expect dejagnu"
2040 # the C++ libraries don't build on top of CE's C libraries
2041 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2042 noconfigdirs
="$noconfigdirs target-newlib"
2044 *-*-cygwin*) ;; # keep gdb and readline
2045 *) noconfigdirs
="$noconfigdirs gdb readline"
2050 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2054 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2055 noconfigdirs
="$noconfigdirs ${libgcj}"
2057 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2058 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2060 arm
*-*-linux-gnueabi)
2061 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2062 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
2065 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2068 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2071 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2074 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2077 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2080 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2083 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2086 noconfigdirs
="$noconfigdirs gdb"
2087 if test x
${is_cross_compiler} != xno
; then
2088 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2091 c4x-
*-* | tic4x-
*-*)
2092 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2094 c54x
*-*-* | tic54x-
*-*)
2095 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2097 cris-
*-* | crisv32-
*-*)
2098 unsupported_languages
="$unsupported_languages java"
2101 unsupported_languages
="$unsupported_languages fortran"
2102 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2104 unsupported_languages
="$unsupported_languages fortran"
2105 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2107 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2109 unsupported_languages
="$unsupported_languages fortran"
2110 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2114 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2117 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2120 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2123 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2126 noconfigdirs
="$noconfigdirs ${libgcj}"
2129 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2132 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2134 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2136 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2137 # In this case, it's because the hppa64-linux target is for
2138 # the kernel only at this point and has no libc, and thus no
2139 # headers, crt*.o, etc., all of which are needed by these.
2140 noconfigdirs
="$noconfigdirs target-zlib"
2142 parisc
*-*-linux* | hppa
*-*-linux*)
2146 hppa
*-*-openbsd* | \
2148 noconfigdirs
="$noconfigdirs ${libgcj}"
2151 noconfigdirs
="$noconfigdirs ld shellutils"
2154 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2155 # build on HP-UX 10.20.
2156 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2159 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2162 # No gdb support yet.
2163 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2166 # No gdb or ld support yet.
2167 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2171 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2172 noconfigdirs
="$noconfigdirs ${libgcj}"
2174 i
[3456789]86-*-linux*)
2175 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2176 # not build java stuff by default.
2179 noconfigdirs
="$noconfigdirs ${libgcj}";;
2182 # This section makes it possible to build newlib natively on linux.
2183 # If we are using a cross compiler then don't configure newlib.
2184 if test x
${is_cross_compiler} != xno
; then
2185 noconfigdirs
="$noconfigdirs target-newlib"
2187 noconfigdirs
="$noconfigdirs target-libgloss"
2188 # If we are not using a cross compiler, do configure newlib.
2189 # Note however, that newlib will only be configured in this situation
2190 # if the --with-newlib option has been given, because otherwise
2191 # 'target-newlib' will appear in skipdirs.
2193 i
[3456789]86-*-mingw32*)
2194 target_configdirs
="$target_configdirs target-winsup"
2195 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2198 target_configdirs
="$target_configdirs target-winsup"
2199 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2202 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2203 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2204 # always build newlib if winsup directory is present.
2205 if test -d "$srcdir/winsup/cygwin"; then
2206 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2207 elif test -d "$srcdir/newlib"; then
2208 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2211 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2212 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2215 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2217 i
[3456789]86-*-sco3.2v5
*)
2218 # The linker does not yet know about weak symbols in COFF,
2219 # and is not configured to handle mixed ELF and COFF.
2220 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2222 i
[3456789]86-*-sco*)
2223 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2225 i
[3456789]86-*-solaris2*)
2226 noconfigdirs
="$noconfigdirs target-libgloss"
2228 i
[3456789]86-*-sysv4*)
2229 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2231 i
[3456789]86-*-beos*)
2232 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2234 i
[3456789]86-*-rdos*)
2235 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2238 noconfigdirs
="$noconfigdirs ${libgcj}"
2240 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2241 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2244 noconfigdirs
="$noconfigdirs ${libgcj}"
2247 noconfigdirs
="$noconfigdirs ${libgcj}"
2250 # The EPOC C++ environment does not support exceptions or rtti,
2251 # and so building libstdc++-v3 tends not to always work.
2252 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2255 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2256 unsupported_languages
="$unsupported_languages fortran java"
2259 noconfigdirs
="$noconfigdirs ${libgcj}"
2262 noconfigdirs
="$noconfigdirs ${libgcj}"
2265 noconfigdirs
="$noconfigdirs sim"
2268 # copied from rs6000-*-* entry
2269 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2271 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2272 target_configdirs
="$target_configdirs target-winsup"
2273 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2274 # always build newlib.
2275 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2277 # This is temporary until we can link against shared libraries
2278 powerpcle-
*-solaris*)
2279 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2282 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2285 noconfigdirs
="$noconfigdirs ${libgcj}"
2287 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2290 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2293 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2296 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2299 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2302 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2305 # Linking libjava exceeds command-line length limits on at least
2306 # IRIX 6.2, but not on IRIX 6.5.
2307 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2308 # <oldham@codesourcery.com>
2309 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2312 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2315 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2318 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2321 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2324 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2328 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2329 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2330 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2331 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2333 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2336 noconfigdirs
="$noconfigdirs ${libgcj}"
2339 noconfigdirs
="$noconfigdirs ${libgcj}"
2342 noconfigdirs
="$noconfigdirs ${libgcj}"
2345 noconfigdirs
="$noconfigdirs ${libgcj}"
2346 if test x
${is_cross_compiler} != xno
; then
2347 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2352 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2353 noconfigdirs
="$noconfigdirs ${libgcj}"
2355 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2358 skipdirs
="target-libssp"
2361 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2364 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2367 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2370 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2373 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2376 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2379 noconfigdirs
="$noconfigdirs ${libgcj}"
2382 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2384 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2385 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2388 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2391 noconfigdirs
="$noconfigdirs ${libgcj}"
2395 # If we aren't building newlib, then don't build libgloss, since libgloss
2396 # depends upon some newlib header files.
2397 case "${noconfigdirs}" in
2398 *target-libgloss
*) ;;
2399 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2402 # Work in distributions that contain no compiler tools, like Autoconf.
2404 host_makefile_frag
=/dev
/null
2405 if test -d ${srcdir}/config
; then
2408 # Avoid "too much defining" errors from HPUX compiler.
2409 tentative_cc
="cc -Wp,-H256000"
2410 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2411 # If it's HP/UX ar, this should be harmless.
2415 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2418 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2419 # chokes on bfd, the compiler won't let you assign integers to enums, and
2420 # other problems. Defining CC to gcc is a questionable way to say "don't use
2421 # the apollo compiler" (the preferred version of GCC could be called cc,
2422 # or whatever), but I'm not sure leaving CC as cc is any better...
2423 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2424 # Used to have BISON=yacc.
2428 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2431 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2432 tentative_cc
="cc -Xa"
2433 host_makefile_frag
="config/mh-cxux"
2435 m88k-motorola-sysv
*)
2438 tentative_cc
="cc -Wf,-XNg1000"
2439 host_makefile_frag
="config/mh-decstation"
2442 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2443 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2444 host_makefile_frag
="config/mh-necv4"
2447 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2448 # environment. Also bump switch table size so that cp-parse will
2449 # compile. Bump string length limit so linker builds.
2450 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2453 host_makefile_frag
="config/mh-sysv4"
2456 # This is for a MIPS running RISC/os 4.52C.
2458 # This is needed for GDB, but needs to be in the top-level make because
2459 # if a library is compiled with the bsd headers and gets linked with the
2460 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2461 # a different size).
2462 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2463 # known except to select the sysv environment. Could we use /proc instead?
2464 # These "sysv environments" and "bsd environments" often end up being a pain.
2466 # This is not part of CFLAGS because perhaps not all C compilers have this
2468 tentative_cc
="cc -systype sysv"
2473 i
[3456789]86-*-sysv5*)
2474 host_makefile_frag
="config/mh-sysv5"
2476 i
[3456789]86-*-dgux*)
2477 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2478 host_makefile_frag
="config/mh-dgux386"
2480 i
[3456789]86-ncr-sysv4.3
*)
2481 # The MetaWare compiler will generate a copyright message unless you
2482 # turn it off by adding the -Hnocopyr flag.
2483 tentative_cc
="cc -Hnocopyr"
2485 i
[3456789]86-ncr-sysv4*)
2486 # for an NCR 3000 (i486/SVR4) system.
2487 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2488 # This compiler not only emits obnoxious copyright messages every time
2489 # you run it, but it chokes and dies on a whole bunch of GNU source
2490 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2491 tentative_cc
="/usr/ccs/ATT/cc"
2492 host_makefile_frag
="config/mh-ncr3000"
2494 i
[3456789]86-*-sco3.2v5
*)
2496 i
[3456789]86-*-sco*)
2497 # The native C compiler botches some simple uses of const. Unfortunately,
2498 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2499 tentative_cc
="cc -Dconst="
2500 host_makefile_frag
="config/mh-sco"
2502 i
[3456789]86-*-udk*)
2503 host_makefile_frag
="config/mh-sysv5"
2505 i
[3456789]86-*-solaris2*)
2506 host_makefile_frag
="config/mh-sysv4"
2508 i
[3456789]86-*-msdosdjgpp*)
2509 host_makefile_frag
="config/mh-djgpp"
2512 host_makefile_frag
="config/mh-cygwin"
2519 host_makefile_frag
="config/mh-interix"
2522 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2526 host_makefile_frag
="config/mh-solaris"
2529 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2530 # without overflowing the jump tables (-J says to use a 32 bit table)
2531 tentative_cc
="cc -J"
2534 tentative_cc
="cc -Wp,-H256000"
2537 tentative_cc
="cc -Wp,-H256000"
2540 # /bin/cc is less than useful for our purposes. Always use GCC
2541 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2542 host_makefile_frag
="config/mh-lynxrs6k"
2545 host_makefile_frag
="config/mh-ppc-darwin"
2548 host_makefile_frag
="config/mh-ppc-aix"
2551 host_makefile_frag
="config/mh-ppc-aix"
2554 # /bin/cc is less than useful for our purposes. Always use GCC
2555 tentative_cc
="/bin/gcc"
2558 host_makefile_frag
="config/mh-sysv4"
2560 # This is placed last to prevent interfering with the cases above.
2562 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2563 host_makefile_frag
="config/mh-x86omitfp"
2568 # If we aren't going to be using gcc, see if we can extract a definition
2569 # of CC from the fragment.
2570 # Actually, use the 'pre-extracted' version above.
2571 if test -z "${CC}" && test "${build}" = "${host}" ; then
2572 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2574 for dir
in $PATH; do
2575 test -z "$dir" && dir
=.
2576 if test -f $dir/gcc
; then
2582 if test -z "${found}" && test -n "${tentative_cc}" ; then
2587 if test "${build}" != "${host}" ; then
2588 # If we are doing a Canadian Cross, in which the host and build systems
2589 # are not the same, we set reasonable default values for the tools.
2591 CC
=${CC-${host_noncanonical}-gcc}
2592 CFLAGS
=${CFLAGS-"-g -O2"}
2593 CXX
=${CXX-${host_noncanonical}-c++}
2594 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
2595 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2598 # Set reasonable default values for some tools even if not Canadian.
2599 # Of course, these are different reasonable default values, originally
2600 # specified directly in the Makefile.
2601 # We don't export, so that autoconf can do its job.
2602 # Note that all these settings are above the fragment inclusion point
2603 # in Makefile.in, so can still be overridden by fragments.
2604 # This is all going to change when we autoconfiscate...
2606 CC_FOR_BUILD
="\$(CC)"
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2615 echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617 if test "${ac_cv_prog_CC+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC
="$CC" # Let the user override the test.
2623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir
=.
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 if test -n "$CC"; then
2641 echo "$as_me:$LINENO: result: $CC" >&5
2642 echo "${ECHO_T}$CC" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2649 if test -z "$ac_cv_prog_CC"; then
2651 # Extract the first word of "gcc", so it can be a program name with args.
2652 set dummy gcc
; ac_word
=$2
2653 echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 if test -n "$ac_ct_CC"; then
2659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_ac_ct_CC
="gcc"
2669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2680 echo "${ECHO_T}$ac_ct_CC" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2691 if test -z "$CC"; then
2692 if test -n "$ac_tool_prefix"; then
2693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2694 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2695 echo "$as_me:$LINENO: checking for $ac_word" >&5
2696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2697 if test "${ac_cv_prog_CC+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 if test -n "$CC"; then
2701 ac_cv_prog_CC
="$CC" # Let the user override the test.
2703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir
=.
2708 for ac_exec_ext
in '' $ac_executable_extensions; do
2709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$CC"; then
2721 echo "$as_me:$LINENO: result: $CC" >&5
2722 echo "${ECHO_T}$CC" >&6
2724 echo "$as_me:$LINENO: result: no" >&5
2725 echo "${ECHO_T}no" >&6
2729 if test -z "$ac_cv_prog_CC"; then
2731 # Extract the first word of "cc", so it can be a program name with args.
2732 set dummy cc
; ac_word
=$2
2733 echo "$as_me:$LINENO: checking for $ac_word" >&5
2734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 if test -n "$ac_ct_CC"; then
2739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748 ac_cv_prog_ac_ct_CC
="cc"
2749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2758 if test -n "$ac_ct_CC"; then
2759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2760 echo "${ECHO_T}$ac_ct_CC" >&6
2762 echo "$as_me:$LINENO: result: no" >&5
2763 echo "${ECHO_T}no" >&6
2772 if test -z "$CC"; then
2773 # Extract the first word of "cc", so it can be a program name with args.
2774 set dummy cc
; ac_word
=$2
2775 echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2777 if test "${ac_cv_prog_CC+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC
="$CC" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2792 ac_prog_rejected
=yes
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 if test $ac_prog_rejected = yes; then
2803 # We found a bogon in the path, so make sure we never use it.
2804 set dummy
$ac_cv_prog_CC
2806 if test $# != 0; then
2807 # We chose a different compiler from the bogus one.
2808 # However, it has the same basename, so the bogon will be chosen
2809 # first if we set CC to just the basename; use the full file name.
2811 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2817 if test -n "$CC"; then
2818 echo "$as_me:$LINENO: result: $CC" >&5
2819 echo "${ECHO_T}$CC" >&6
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2826 if test -z "$CC"; then
2827 if test -n "$ac_tool_prefix"; then
2830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2831 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2832 echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2834 if test "${ac_cv_prog_CC+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 if test -n "$CC"; then
2838 ac_cv_prog_CC
="$CC" # Let the user override the test.
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 echo "$as_me:$LINENO: result: $CC" >&5
2859 echo "${ECHO_T}$CC" >&6
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2865 test -n "$CC" && break
2868 if test -z "$CC"; then
2872 # Extract the first word of "$ac_prog", so it can be a program name with args.
2873 set dummy
$ac_prog; ac_word
=$2
2874 echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -n "$ac_ct_CC"; then
2880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 ac_cv_prog_ac_ct_CC
="$ac_prog"
2890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2901 echo "${ECHO_T}$ac_ct_CC" >&6
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2907 test -n "$ac_ct_CC" && break
2916 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2917 See \`config.log' for more details." >&5
2918 echo "$as_me: error: no acceptable C compiler found in \$PATH
2919 See \`config.log' for more details." >&2;}
2920 { (exit 1); exit 1; }; }
2922 # Provide some information about the compiler.
2923 echo "$as_me:$LINENO:" \
2924 "checking for C compiler version" >&5
2925 ac_compiler
=`set X $ac_compile; echo $2`
2926 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2927 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }
2931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2932 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2937 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }
2942 cat >conftest.
$ac_ext <<_ACEOF
2945 cat confdefs.h
>>conftest.
$ac_ext
2946 cat >>conftest.
$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2957 ac_clean_files_save
=$ac_clean_files
2958 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2959 # Try to create an executable without -o first, disregard a.out.
2960 # It will help us diagnose broken compilers, and finding out an intuition
2962 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2963 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2964 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2965 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2966 (eval $ac_link_default) 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; then
2970 # Find the output, starting from the most likely. This scheme is
2971 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2974 # Be careful to initialize this variable, since it used to be cached.
2975 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2977 # b.out is created by i960 compilers.
2978 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2980 test -f "$ac_file" ||
continue
2982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2985 # This is the source file.
2988 # We found the default executable, but exeext='' is most
2992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2993 # FIXME: I believe we export ac_cv_exeext for Libtool,
2994 # but it would be cool to find out if it's true. Does anybody
2995 # maintain Libtool? --akim.
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.
$ac_ext >&5
3006 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3007 See \`config.log' for more details." >&5
3008 echo "$as_me: error: C compiler cannot create executables
3009 See \`config.log' for more details." >&2;}
3010 { (exit 77); exit 77; }; }
3013 ac_exeext
=$ac_cv_exeext
3014 echo "$as_me:$LINENO: result: $ac_file" >&5
3015 echo "${ECHO_T}$ac_file" >&6
3017 # Check the compiler produces executables we can run. If not, either
3018 # the compiler is broken, or we cross compile.
3019 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3020 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3022 # If not cross compiling, check that we can run a simple program.
3023 if test "$cross_compiling" != yes; then
3024 if { ac_try
='./$ac_file'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3032 if test "$cross_compiling" = maybe
; then
3035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3036 If you meant to cross compile, use \`--host'.
3037 See \`config.log' for more details." >&5
3038 echo "$as_me: error: cannot run C compiled programs.
3039 If you meant to cross compile, use \`--host'.
3040 See \`config.log' for more details." >&2;}
3041 { (exit 1); exit 1; }; }
3045 echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6
3048 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3049 ac_clean_files
=$ac_clean_files_save
3050 # Check the compiler produces executables we can run. If not, either
3051 # the compiler is broken, or we cross compile.
3052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3055 echo "${ECHO_T}$cross_compiling" >&6
3057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3060 (eval $ac_link) 2>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; then
3064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3066 # work properly (i.e., refer to `conftest.exe'), while it won't with
3068 for ac_file
in conftest.exe conftest conftest.
*; do
3069 test -f "$ac_file" ||
continue
3071 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3080 See \`config.log' for more details." >&5
3081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3082 See \`config.log' for more details." >&2;}
3083 { (exit 1); exit 1; }; }
3086 rm -f conftest
$ac_cv_exeext
3087 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3088 echo "${ECHO_T}$ac_cv_exeext" >&6
3090 rm -f conftest.
$ac_ext
3091 EXEEXT
=$ac_cv_exeext
3093 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3095 if test "${ac_cv_objext+set}" = set; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.o conftest.obj
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; then
3119 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3121 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3122 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3130 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3137 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3139 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3140 echo "${ECHO_T}$ac_cv_objext" >&6
3141 OBJEXT
=$ac_cv_objext
3143 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3144 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3145 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 cat >conftest.
$ac_ext <<_ACEOF
3151 cat confdefs.h
>>conftest.
$ac_ext
3152 cat >>conftest.
$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3166 rm -f conftest.
$ac_objext
3167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3168 (eval $ac_compile) 2>conftest.er1
3170 grep -v '^ *+' conftest.er1
>conftest.err
3172 cat conftest.err
>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } &&
3175 { ac_try
='test -z "$ac_c_werror_flag"
3176 || test ! -s conftest.err'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; } &&
3182 { ac_try
='test -s conftest.$ac_objext'
3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; }; then
3190 echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.
$ac_ext >&5
3195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3196 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3199 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3200 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3201 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3202 ac_test_CFLAGS
=${CFLAGS+set}
3203 ac_save_CFLAGS
=$CFLAGS
3205 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3206 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3207 if test "${ac_cv_prog_cc_g+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 cat >conftest.
$ac_ext <<_ACEOF
3213 cat confdefs.h
>>conftest.
$ac_ext
3214 cat >>conftest.
$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3225 rm -f conftest.
$ac_objext
3226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3227 (eval $ac_compile) 2>conftest.er1
3229 grep -v '^ *+' conftest.er1
>conftest.err
3231 cat conftest.err
>&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); } &&
3234 { ac_try
='test -z "$ac_c_werror_flag"
3235 || test ! -s conftest.err'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); }; } &&
3241 { ac_try
='test -s conftest.$ac_objext'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; }; then
3249 echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.
$ac_ext >&5
3254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3257 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3258 if test "$ac_test_CFLAGS" = set; then
3259 CFLAGS
=$ac_save_CFLAGS
3260 elif test $ac_cv_prog_cc_g = yes; then
3261 if test "$GCC" = yes; then
3267 if test "$GCC" = yes; then
3273 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3274 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3275 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 ac_cv_prog_cc_stdc
=no
3280 cat >conftest.
$ac_ext <<_ACEOF
3283 cat confdefs.h
>>conftest.
$ac_ext
3284 cat >>conftest.
$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3288 #include <sys/types.h>
3289 #include <sys/stat.h>
3290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3291 struct buf { int x; };
3292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3293 static char *e (p, i)
3299 static char *f (char * (*g) (char **, int), char **p, ...)
3304 s = g (p, va_arg (v,int));
3309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3310 function prototypes and stuff, but not '\xHH' hex character constants.
3311 These don't provoke an error unfortunately, instead are silently treated
3312 as 'x'. The following induces an error, until -std1 is added to get
3313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3314 array size at least. It's necessary to write '\x00'==0 to get something
3315 that's true only with -std1. */
3316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3318 int test (int i, double x);
3319 struct s1 {int (*f) (int a);};
3320 struct s2 {int (*f) (double a);};
3321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3332 # Don't try gcc -ansi; that turns off useful extensions and
3333 # breaks some systems' header files.
3334 # AIX -qlanglvl=ansi
3335 # Ultrix and OSF/1 -std1
3336 # HP-UX 10.20 and later -Ae
3337 # HP-UX older versions -Aa -D_HPUX_SOURCE
3338 # SVR4 -Xc -D__EXTENSIONS__
3339 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3341 CC
="$ac_save_CC $ac_arg"
3342 rm -f conftest.
$ac_objext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3344 (eval $ac_compile) 2>conftest.er1
3346 grep -v '^ *+' conftest.er1
>conftest.err
3348 cat conftest.err
>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try
='test -z "$ac_c_werror_flag"
3352 || test ! -s conftest.err'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; } &&
3358 { ac_try
='test -s conftest.$ac_objext'
3359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
3364 ac_cv_prog_cc_stdc
=$ac_arg
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.
$ac_ext >&5
3371 rm -f conftest.err conftest.
$ac_objext
3373 rm -f conftest.
$ac_ext conftest.
$ac_objext
3378 case "x$ac_cv_prog_cc_stdc" in
3380 echo "$as_me:$LINENO: result: none needed" >&5
3381 echo "${ECHO_T}none needed" >&6 ;;
3383 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3384 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3385 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3388 # Some people use a C++ compiler to compile C. Since we use `exit',
3389 # in C++ we need to declare it. In case someone uses the same compiler
3390 # for both compiling C and C++ we need to have the C++ compiler decide
3391 # the declaration of exit, since it's the most demanding environment.
3392 cat >conftest.
$ac_ext <<_ACEOF
3397 rm -f conftest.
$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1
>conftest.err
3403 cat conftest.err
>&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try
='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try
='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 for ac_declaration
in \
3421 'extern "C" void std::exit (int) throw (); using std::exit;' \
3422 'extern "C" void std::exit (int); using std::exit;' \
3423 'extern "C" void exit (int) throw ();' \
3424 'extern "C" void exit (int);' \
3427 cat >conftest.
$ac_ext <<_ACEOF
3430 cat confdefs.h
>>conftest.
$ac_ext
3431 cat >>conftest.
$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3443 rm -f conftest.
$ac_objext
3444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3445 (eval $ac_compile) 2>conftest.er1
3447 grep -v '^ *+' conftest.er1
>conftest.err
3449 cat conftest.err
>&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } &&
3452 { ac_try
='test -z "$ac_c_werror_flag"
3453 || test ! -s conftest.err'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; } &&
3459 { ac_try
='test -s conftest.$ac_objext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.
$ac_ext >&5
3472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3473 cat >conftest.
$ac_ext <<_ACEOF
3476 cat confdefs.h
>>conftest.
$ac_ext
3477 cat >>conftest.
$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3488 rm -f conftest.
$ac_objext
3489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3490 (eval $ac_compile) 2>conftest.er1
3492 grep -v '^ *+' conftest.er1
>conftest.err
3494 cat conftest.err
>&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } &&
3497 { ac_try
='test -z "$ac_c_werror_flag"
3498 || test ! -s conftest.err'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; } &&
3504 { ac_try
='test -s conftest.$ac_objext'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; }; then
3512 echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.
$ac_ext >&5
3516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3519 if test -n "$ac_declaration"; then
3520 echo '#ifdef __cplusplus' >>confdefs.h
3521 echo $ac_declaration >>confdefs.h
3522 echo '#endif' >>confdefs.h
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3532 ac_cpp
='$CPP $CPPFLAGS'
3533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3538 # We must set the default linker to the linker used by gcc for the correct
3539 # operation of libtool. If LD is not defined and we are using gcc, try to
3540 # set the LD default to the ld used by gcc.
3541 if test -z "$LD"; then
3542 if test "$GCC" = yes; then
3545 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
3547 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
3549 case $gcc_prog_ld in
3550 # Accept absolute paths.
3551 [\\/]* |
[A-Za-z
]:[\\/]*)
3552 LD
="$gcc_prog_ld" ;;
3558 CFLAGS
=${CFLAGS-"-g"}
3559 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
3565 if test -n "$ac_tool_prefix"; then
3566 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
3567 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
3568 echo "$as_me:$LINENO: checking for $ac_word" >&5
3569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3570 if test "${ac_cv_prog_GNATBIND+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 if test -n "$GNATBIND"; then
3574 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
3576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir
=.
3581 for ac_exec_ext
in '' $ac_executable_extensions; do
3582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3583 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
3584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 GNATBIND
=$ac_cv_prog_GNATBIND
3593 if test -n "$GNATBIND"; then
3594 echo "$as_me:$LINENO: result: $GNATBIND" >&5
3595 echo "${ECHO_T}$GNATBIND" >&6
3597 echo "$as_me:$LINENO: result: no" >&5
3598 echo "${ECHO_T}no" >&6
3602 if test -z "$ac_cv_prog_GNATBIND"; then
3603 ac_ct_GNATBIND
=$GNATBIND
3604 # Extract the first word of "gnatbind", so it can be a program name with args.
3605 set dummy gnatbind
; ac_word
=$2
3606 echo "$as_me:$LINENO: checking for $ac_word" >&5
3607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3608 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 if test -n "$ac_ct_GNATBIND"; then
3612 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
3622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
3631 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
3632 if test -n "$ac_ct_GNATBIND"; then
3633 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
3634 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
3636 echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6
3640 GNATBIND
=$ac_ct_GNATBIND
3642 GNATBIND
="$ac_cv_prog_GNATBIND"
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
3647 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
3648 echo "$as_me:$LINENO: checking for $ac_word" >&5
3649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3650 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 if test -n "$GNATMAKE"; then
3654 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
3664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 GNATMAKE
=$ac_cv_prog_GNATMAKE
3673 if test -n "$GNATMAKE"; then
3674 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
3675 echo "${ECHO_T}$GNATMAKE" >&6
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3682 if test -z "$ac_cv_prog_GNATMAKE"; then
3683 ac_ct_GNATMAKE
=$GNATMAKE
3684 # Extract the first word of "gnatmake", so it can be a program name with args.
3685 set dummy gnatmake
; ac_word
=$2
3686 echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3688 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 if test -n "$ac_ct_GNATMAKE"; then
3692 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
3694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir
=.
3699 for ac_exec_ext
in '' $ac_executable_extensions; do
3700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
3702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
3711 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
3712 if test -n "$ac_ct_GNATMAKE"; then
3713 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
3714 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3720 GNATMAKE
=$ac_ct_GNATMAKE
3722 GNATMAKE
="$ac_cv_prog_GNATMAKE"
3725 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
3726 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
3727 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.adb
<<EOF
3731 procedure conftest is begin null; end conftest;
3733 acx_cv_cc_gcc_supports_ada
=no
3734 # There is a bug in old released versions of GCC which causes the
3735 # driver to exit successfully when the appropriate language module
3736 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
3737 # Therefore we must check for the error message as well as an
3738 # unsuccessful exit.
3739 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
3740 # given a .adb file, but produce no object file. So we must check
3741 # if an object file was really produced to guard against this.
3742 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
3743 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
3744 acx_cv_cc_gcc_supports_ada
=yes
3748 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
3749 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
3751 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
3757 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
3758 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
3759 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
3765 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
3766 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
3769 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
3772 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
3773 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
3776 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
3782 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
3783 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
3784 do_compare
="$gcc_cv_prog_cmp_skip"
3788 # Check for GMP and MPFR
3789 gmplibs
="-lmpfr -lgmp"
3793 # Specify a location for mpfr
3794 # check for this first so it ends up on the link line before gmp.
3796 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
3797 if test "${with_mpfr_dir+set}" = set; then
3798 withval
="$with_mpfr_dir"
3799 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
3800 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
3801 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
3802 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
3803 { (exit 1); exit 1; }; }
3807 # Check whether --with-mpfr or --without-mpfr was given.
3808 if test "${with_mpfr+set}" = set; then
3809 withval
="$with_mpfr"
3813 # Check whether --with-mpfr_include or --without-mpfr_include was given.
3814 if test "${with_mpfr_include+set}" = set; then
3815 withval
="$with_mpfr_include"
3819 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
3820 if test "${with_mpfr_lib+set}" = set; then
3821 withval
="$with_mpfr_lib"
3825 if test "x$with_mpfr" != x
; then
3826 gmplibs
="-L$with_mpfr/lib $gmplibs"
3827 gmpinc
="-I$with_mpfr/include"
3829 if test "x$with_mpfr_include" != x
; then
3830 gmpinc
="-I$with_mpfr_include"
3832 if test "x$with_mpfr_lib" != x
; then
3833 gmplibs
="-L$with_mpfr_lib $gmplibs"
3835 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
3836 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
3837 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
3838 # Do not test the mpfr version. Assume that it is sufficient, since
3839 # it is in the source tree, and the library has not been built yet
3840 # but it would be included on the link line in the version check below
3841 # hence making the test fail.
3845 # Specify a location for gmp
3847 # Check whether --with-gmp-dir or --without-gmp-dir was given.
3848 if test "${with_gmp_dir+set}" = set; then
3849 withval
="$with_gmp_dir"
3850 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
3851 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
3852 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
3853 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
3854 { (exit 1); exit 1; }; }
3858 # Check whether --with-gmp or --without-gmp was given.
3859 if test "${with_gmp+set}" = set; then
3864 # Check whether --with-gmp_include or --without-gmp_include was given.
3865 if test "${with_gmp_include+set}" = set; then
3866 withval
="$with_gmp_include"
3870 # Check whether --with-gmp_lib or --without-gmp_lib was given.
3871 if test "${with_gmp_lib+set}" = set; then
3872 withval
="$with_gmp_lib"
3877 if test "x$with_gmp" != x
; then
3878 gmplibs
="-L$with_gmp/lib $gmplibs"
3879 gmpinc
="-I$with_gmp/include $gmpinc"
3881 if test "x$with_gmp_include" != x
; then
3882 gmpinc
="-I$with_gmp_include $gmpinc"
3884 if test "x$with_gmp_lib" != x
; then
3885 gmplibs
="-L$with_gmp_lib $gmplibs"
3887 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
3888 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
3889 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
3890 # Do not test the gmp version. Assume that it is sufficient, since
3891 # it is in the source tree, and the library has not been built yet
3892 # but it would be included on the link line in the version check below
3893 # hence making the test fail.
3897 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
3899 saved_CFLAGS
="$CFLAGS"
3900 CFLAGS
="$CFLAGS $gmpinc"
3901 # Check GMP actually works
3902 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
3903 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
3905 cat >conftest.
$ac_ext <<_ACEOF
3908 cat confdefs.h
>>conftest.
$ac_ext
3909 cat >>conftest.
$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3916 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
3924 rm -f conftest.
$ac_objext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3926 (eval $ac_compile) 2>conftest.er1
3928 grep -v '^ *+' conftest.er1
>conftest.err
3930 cat conftest.err
>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } &&
3933 { ac_try
='test -z "$ac_c_werror_flag"
3934 || test ! -s conftest.err'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; } &&
3940 { ac_try
='test -s conftest.$ac_objext'
3941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }; }; then
3946 echo "$as_me:$LINENO: result: yes" >&5
3947 echo "${ECHO_T}yes" >&6
3949 echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.
$ac_ext >&5
3952 echo "$as_me:$LINENO: result: no" >&5
3953 echo "${ECHO_T}no" >&6; have_gmp
=no
3955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3957 if test x
"$have_gmp" = xyes
; then
3959 LIBS
="$LIBS $gmplibs"
3960 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
3961 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
3962 cat >conftest.
$ac_ext <<_ACEOF
3965 cat confdefs.h
>>conftest.
$ac_ext
3966 cat >>conftest.
$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3974 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
3977 mpfr_t n; mpfr_init(n);
3978 mpfr_t x; mpfr_init(x);
3980 mpfr_atan2 (n, n, x, GMP_RNDN);
3981 mpfr_erfc (n, x, GMP_RNDN);
3982 mpfr_subnormalize (x, t, GMP_RNDN);
3988 rm -f conftest.
$ac_objext conftest
$ac_exeext
3989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3990 (eval $ac_link) 2>conftest.er1
3992 grep -v '^ *+' conftest.er1
>conftest.err
3994 cat conftest.err
>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } &&
3997 { ac_try
='test -z "$ac_c_werror_flag"
3998 || test ! -s conftest.err'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; } &&
4004 { ac_try
='test -s conftest$ac_exeext'
4005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); }; }; then
4010 cat >conftest.
$ac_ext <<_ACEOF
4013 cat confdefs.h
>>conftest.
$ac_ext
4014 cat >>conftest.
$ac_ext <<_ACEOF
4015 /* end confdefs.h. */
4022 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4025 mpfr_t n; mpfr_init(n);
4031 rm -f conftest.
$ac_objext conftest
$ac_exeext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4033 (eval $ac_link) 2>conftest.er1
4035 grep -v '^ *+' conftest.er1
>conftest.err
4037 cat conftest.err
>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try
='test -z "$ac_c_werror_flag"
4041 || test ! -s conftest.err'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; } &&
4047 { ac_try
='test -s conftest$ac_exeext'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.
$ac_ext >&5
4059 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4060 echo "${ECHO_T}buggy but acceptable" >&6
4062 rm -f conftest.err conftest.
$ac_objext \
4063 conftest
$ac_exeext conftest.
$ac_ext
4065 echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.
$ac_ext >&5
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6; have_gmp
=no
4071 rm -f conftest.err conftest.
$ac_objext \
4072 conftest
$ac_exeext conftest.
$ac_ext
4075 CFLAGS
="$saved_CFLAGS"
4077 if test x
$have_gmp != xyes
; then
4078 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4079 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4080 Copies of these libraries' source code can be found at their respective
4081 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4082 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4083 If you obtained GMP and/or MPFR from a vendor distribution package, make
4084 sure that you have installed both the libraries and the header files.
4085 They may be located in separate packages." >&5
4086 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4087 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4088 Copies of these libraries' source code can be found at their respective
4089 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4090 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4091 If you obtained GMP and/or MPFR from a vendor distribution package, make
4092 sure that you have installed both the libraries and the header files.
4093 They may be located in separate packages." >&2;}
4094 { (exit 1); exit 1; }; }
4098 # Flags needed for both GMP and/or MPFR
4102 # By default, C is the only stage 1 language.
4103 stage1_languages
=,c
,
4105 # Figure out what language subdirectories are present.
4106 # Look if the user specified --enable-languages="..."; if not, use
4107 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4109 # NB: embedded tabs in this IF block -- do not untabify
4110 if test -d ${srcdir}/gcc
; then
4111 if test x
"${enable_languages+set}" != xset
; then
4112 if test x
"${LANGUAGES+set}" = xset
; then
4113 enable_languages
="${LANGUAGES}"
4114 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4116 enable_languages
=all
4119 if test x
"${enable_languages}" = x ||
4120 test x
"${enable_languages}" = xyes
;
4122 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4126 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4128 # 'f95' is the old name for the 'fortran' language. We issue a warning
4129 # and make the substitution.
4130 case ,${enable_languages}, in
4132 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4133 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4137 # First scan to see if an enabled language requires some other language.
4138 # We assume that a given config-lang.in will list all the language
4139 # front ends it requires, even if some are required indirectly.
4140 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4141 case ${lang_frag} in
4143 # The odd quoting in the next line works around
4144 # an apparent bug in bash 1.12 on linux.
4145 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4147 # From the config-lang.in, get $language, $lang_requires
4151 for other
in ${lang_requires} ; do
4152 case ,${enable_languages}, in
4156 echo " \`$other' language required by \`$language'; enabling" 1>&2
4157 enable_languages
="${enable_languages},${other}"
4165 new_enable_languages
=,c
,
4166 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4167 potential_languages
=,c
,
4169 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4170 case ${lang_frag} in
4172 # The odd quoting in the next line works around
4173 # an apparent bug in bash 1.12 on linux.
4174 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4176 # From the config-lang.in, get $language, $target_libs,
4177 # $lang_dirs, $boot_language, and $build_by_default
4183 build_by_default
=yes
4185 if test x
${language} = x
; then
4186 echo "${lang_frag} doesn't set \$language." 1>&2
4190 case ,${enable_languages}, in
4192 # Language was explicitly selected; include it.
4196 # 'all' was selected, select it if it is a default language
4197 add_this_lang
=${build_by_default}
4204 # Disable languages that need other directories if these aren't available.
4205 for i
in $subdir_requires; do
4206 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4207 case ,${enable_languages}, in
4209 # Specifically requested language; tell them.
4210 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4211 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4212 { (exit 1); exit 1; }; }
4216 add_this_lang
=unsupported
4221 # Disable Ada if no preexisting GNAT is available.
4222 case ,${enable_languages},:${language}:${have_gnat} in
4223 *,${language},*:ada
:no
)
4224 # Specifically requested language; tell them.
4225 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4226 echo "$as_me: error: GNAT is required to build $language" >&2;}
4227 { (exit 1); exit 1; }; }
4231 add_this_lang
=unsupported
4235 # Disable a language that is unsupported by the target.
4236 case " $unsupported_languages " in
4238 add_this_lang
=unsupported
4242 case $add_this_lang in
4244 # Remove language-dependent dirs.
4245 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4248 # Remove language-dependent dirs; still show language as supported.
4249 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4250 potential_languages
="${potential_languages}${language},"
4253 new_enable_languages
="${new_enable_languages}${language},"
4254 potential_languages
="${potential_languages}${language},"
4255 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4256 case ${boot_language} in
4258 # Add to (comma-separated) list of stage 1 languages.
4259 stage1_languages
="${stage1_languages}${language},"
4268 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4269 if test "${enable_stage1_languages+set}" = set; then
4270 enableval
="$enable_stage1_languages"
4271 case ,${enable_stage1_languages}, in
4273 # Set it to something that will have no effect in the loop below
4274 enable_stage1_languages
=c
;;
4276 enable_stage1_languages
=`echo $new_enable_languages | \
4277 sed -e "s/^,//" -e "s/,$//" ` ;;
4279 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4280 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4283 # Add "good" languages from enable_stage1_languages to stage1_languages,
4284 # while "bad" languages go in missing_languages. Leave no duplicates.
4285 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4286 case $potential_languages in
4288 case $stage1_languages in
4290 *) stage1_languages
="$stage1_languages$i," ;;
4293 case $missing_languages in
4295 *) missing_languages
="$missing_languages$i," ;;
4301 # Remove leading/trailing commas that were added for simplicity
4302 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4303 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4304 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4305 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4307 if test "x$missing_languages" != x
; then
4308 { { echo "$as_me:$LINENO: error:
4309 The following requested languages could not be built: ${missing_languages}
4310 Supported languages are: ${potential_languages}" >&5
4311 echo "$as_me: error:
4312 The following requested languages could not be built: ${missing_languages}
4313 Supported languages are: ${potential_languages}" >&2;}
4314 { (exit 1); exit 1; }; }
4316 if test "x$new_enable_languages" != "x$enable_languages"; then
4317 echo The following languages will be built
: ${new_enable_languages}
4318 enable_languages
="$new_enable_languages"
4322 ac_configure_args
=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
4325 # Handle --disable-<component> generically.
4326 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4327 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4328 if eval test x\
${enable_${dirname}} "=" xno
; then
4329 noconfigdirs
="$noconfigdirs $dir"
4333 # Check for Boehm's garbage collector
4334 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4335 if test "${enable_objc_gc+set}" = set; then
4336 enableval
="$enable_objc_gc"
4337 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4338 *,objc
,*:*:yes:*target-boehm-gc
*)
4339 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4340 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4341 { (exit 1); exit 1; }; }
4346 # Make sure we only build Boehm's garbage collector if required.
4347 case ,${enable_languages},:${enable_objc_gc} in
4349 # Keep target-boehm-gc if requested for Objective-C.
4352 # Otherwise remove target-boehm-gc depending on target-libjava.
4353 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4354 noconfigdirs
="$noconfigdirs target-boehm-gc"
4359 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4360 # $build_configdirs and $target_configdirs.
4361 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4364 for dir
in .
$skipdirs $noconfigdirs ; do
4365 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4366 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4367 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4368 if test -r $srcdir/$dirname/configure
; then
4369 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4372 notsupp
="$notsupp $dir"
4376 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4377 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4378 if test -r $srcdir/$dirname/configure
; then
4379 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4382 notsupp
="$notsupp $dir"
4386 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4387 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4388 if test -r $srcdir/$dirname/configure
; then
4389 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4392 notsupp
="$notsupp $dir"
4398 # Sometimes the tools are distributed with libiberty but with no other
4399 # libraries. In that case, we don't want to build target-libiberty.
4400 # Don't let libgcc imply libiberty either.
4401 if test -n "${target_configdirs}" ; then
4404 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4405 if test "$i" = "libgcc"; then
4406 libgcc
=target-libgcc
4407 elif test "$i" != "libiberty" ; then
4408 if test -r $srcdir/$i/configure
; then
4414 if test -z "${others}" ; then
4415 target_configdirs
=$libgcc
4419 # Quietly strip out all directories which aren't configurable in this tree.
4420 # This relies on all configurable subdirectories being autoconfiscated, which
4422 build_configdirs_all
="$build_configdirs"
4424 for i
in ${build_configdirs_all} ; do
4425 j
=`echo $i | sed -e s/build-//g`
4426 if test -f ${srcdir}/$j/configure
; then
4427 build_configdirs
="${build_configdirs} $i"
4431 configdirs_all
="$configdirs"
4433 for i
in ${configdirs_all} ; do
4434 if test -f ${srcdir}/$i/configure
; then
4435 configdirs
="${configdirs} $i"
4439 target_configdirs_all
="$target_configdirs"
4441 for i
in ${target_configdirs_all} ; do
4442 j
=`echo $i | sed -e s/target-//g`
4443 if test -f ${srcdir}/$j/configure
; then
4444 target_configdirs
="${target_configdirs} $i"
4448 # Produce a warning message for the subdirs we can't configure.
4449 # This isn't especially interesting in the Cygnus tree, but in the individual
4450 # FSF releases, it's important to let people know when their machine isn't
4451 # supported by the one or two programs in a package.
4453 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4454 # If $appdirs is non-empty, at least one of those directories must still
4455 # be configured, or we error out. (E.g., if the gas release supports a
4456 # specified target in some subdirs but not the gas subdir, we shouldn't
4457 # pretend that all is well.)
4458 if test -n "$appdirs" ; then
4459 for dir
in $appdirs ; do
4460 if test -r $dir/Makefile.
in ; then
4461 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4465 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4471 if test -n "$appdirs" ; then
4472 echo "*** This configuration is not supported by this package." 1>&2
4476 # Okay, some application will build, or we don't care to check. Still
4477 # notify of subdirs not getting built.
4478 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
4479 echo " ${notsupp}" 1>&2
4480 echo " (Any other directories should still work fine.)" 1>&2
4491 # Check whether --with-build-sysroot or --without-build-sysroot was given.
4492 if test "${with_build_sysroot+set}" = set; then
4493 withval
="$with_build_sysroot"
4494 if test x
"$withval" != x
; then
4495 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
4498 SYSROOT_CFLAGS_FOR_TARGET
=
4502 # Handle --with-headers=XXX. If the value is not "yes", the contents of
4503 # the named directory are copied to $(tooldir)/sys-include.
4504 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
4505 if test x
${is_cross_compiler} = xno
; then
4506 echo 1>&2 '***' --with-headers is only supported when cross compiling
4509 if test x
"${with_headers}" != xyes
; then
4510 case "${exec_prefixoption}" in
4512 *) x
=${exec_prefix} ;;
4514 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
4518 # Handle --with-libs=XXX. If the value is not "yes", the contents of
4519 # the name directories are copied to $(tooldir)/lib. Multiple directories
4521 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
4522 if test x
${is_cross_compiler} = xno
; then
4523 echo 1>&2 '***' --with-libs is only supported when cross compiling
4526 if test x
"${with_libs}" != xyes
; then
4527 # Copy the libraries in reverse order, so that files in the first named
4528 # library override files in subsequent libraries.
4529 case "${exec_prefixoption}" in
4531 *) x
=${exec_prefix} ;;
4533 for l
in ${with_libs}; do
4534 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
4539 # Set with_gnu_as and with_gnu_ld as appropriate.
4541 # This is done by determining whether or not the appropriate directory
4542 # is available, and by checking whether or not specific configurations
4543 # have requested that this magic not happen.
4545 # The command line options always override the explicit settings in
4546 # configure.in, and the settings in configure.in override this magic.
4548 # If the default for a toolchain is to use GNU as and ld, and you don't
4549 # want to do that, then you should use the --without-gnu-as and
4550 # --without-gnu-ld options for the configure script.
4552 if test x
${use_gnu_as} = x
&&
4553 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
4555 extra_host_args
="$extra_host_args --with-gnu-as"
4558 if test x
${use_gnu_ld} = x
&&
4559 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
4561 extra_host_args
="$extra_host_args --with-gnu-ld"
4564 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
4565 # can detect this case.
4567 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
4569 extra_host_args
="$extra_host_args --with-newlib"
4572 # Handle ${copy_dirs}
4573 set fnord
${copy_dirs}
4575 while test $# != 0 ; do
4576 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
4579 echo Copying
$1 to
$2
4581 # Use the install script to create the directory and all required
4582 # parent directories.
4583 if test -d $2 ; then
4587 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
4590 # Copy the directory, assuming we have tar.
4591 # FIXME: Should we use B in the second tar? Not all systems support it.
4592 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
4594 # It is the responsibility of the user to correctly adjust all
4595 # symlinks. If somebody can figure out how to handle them correctly
4596 # here, feel free to add the code.
4603 # Determine a target-dependent exec_prefix that the installed
4604 # gcc will search in. Keep this list sorted by triplet, with
4605 # the *-*-osname triplets last.
4609 md_exec_prefix
=/gnu
/lib
/gcc-lib
4611 i3456786-pc-msdosdjgpp
*)
4612 md_exec_prefix
=/dev
/env
/DJDIR
/bin
4614 i3456786-
*-sco3.2v5
*)
4615 if test $with_gnu_as = yes; then
4616 md_exec_prefix
=/usr
/gnu
/bin
4618 md_exec_prefix
=/usr
/ccs
/bin
/elf
4623 powerpc-
*-chorusos* | \
4624 powerpc
*-*-eabi* | \
4625 powerpc
*-*-sysv* | \
4626 powerpc
*-*-kaos* | \
4628 md_exec_prefix
=/usr
/ccs
/bin
4633 md_exec_prefix
=/usr
/ccs
/bin
4648 md_exec_prefix
=/usr
/ccs
/bin
4652 extra_arflags_for_target
=
4653 extra_nmflags_for_target
=
4654 extra_ranlibflags_for_target
=
4655 target_makefile_frag
=/dev
/null
4658 target_makefile_frag
="config/mt-mep"
4661 target_makefile_frag
="config/mt-spu"
4664 target_makefile_frag
="config/mt-netware"
4666 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
4667 target_makefile_frag
="config/mt-gnu"
4669 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
4670 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
4671 # commands to handle both 32-bit and 64-bit objects. These flags are
4672 # harmless if we're using GNU nm or ar.
4673 extra_arflags_for_target
=" -X32_64"
4674 extra_nmflags_for_target
=" -B -X32_64"
4677 # ranlib from Darwin requires the -c flag to look at common symbols.
4678 extra_ranlibflags_for_target
=" -c"
4680 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
4681 target_makefile_frag
="config/mt-wince"
4685 alphaieee_frag
=/dev
/null
4688 # This just makes sure to use the -mieee option to build target libs.
4689 # This should probably be set individually by each library.
4690 alphaieee_frag
="config/mt-alphaieee"
4694 # If --enable-target-optspace always use -Os instead of -O2 to build
4695 # the target libraries, similarly if it is not specified, use -Os
4696 # on selected platforms.
4697 ospace_frag
=/dev
/null
4698 case "${enable_target_optspace}:${target}" in
4700 ospace_frag
="config/mt-ospace"
4703 ospace_frag
="config/mt-d30v"
4705 :m32r-
* |
:d10v-
* |
:fr30-
*)
4706 ospace_frag
="config/mt-ospace"
4711 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
4715 # Default to using --with-stabs for certain targets.
4716 if test x
${with_stabs} = x
; then
4720 mips
*-*-* | alpha
*-*-osf*)
4722 extra_host_args
="${extra_host_args} --with-stabs"
4727 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
4728 # them automatically.
4731 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
4735 # Some systems (e.g., one of the i386-aix systems the gas testers are
4736 # using) don't handle "\$" correctly, so don't use it here.
4737 tooldir
='${exec_prefix}'/${target_noncanonical}
4738 build_tooldir
=${tooldir}
4740 # Create a .gdbinit file which runs the one in srcdir
4741 # and tells GDB to look there for source files.
4743 if test -r ${srcdir}/.gdbinit
; then
4746 *) cat > .
/.gdbinit
<<EOF
4750 source ${srcdir}/.gdbinit
4756 # Make sure that the compiler is able to generate an executable. If it
4757 # can't, we are probably in trouble. We don't care whether we can run the
4758 # executable--we might be using a cross compiler--we only care whether it
4759 # can be created. At this point the main configure script has set CC.
4761 echo "int main () { return 0; }" > conftest.c
4762 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
4763 if test $?
= 0 ; then
4764 if test -s conftest ||
test -s conftest.exe
; then
4770 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
4771 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
4778 # The Solaris /usr/ucb/cc compiler does not appear to work.
4780 sparc-sun-solaris2
*)
4781 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
4782 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
4784 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
4785 if test -d /opt
/cygnus
/bin
; then
4786 if test "$could_use" = "" ; then
4787 could_use
="/opt/cygnus/bin"
4789 could_use
="$could_use or /opt/cygnus/bin"
4792 if test "$could_use" = "" ; then
4793 echo "Warning: compilation may fail because you're using"
4794 echo "/usr/ucb/cc. You should change your PATH or CC "
4795 echo "variable and rerun configure."
4797 echo "Warning: compilation may fail because you're using"
4798 echo "/usr/ucb/cc, when you should use the C compiler from"
4799 echo "$could_use. You should change your"
4800 echo "PATH or CC variable and rerun configure."
4807 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
4808 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
4809 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
4812 # Record target_configdirs and the configure arguments for target and
4813 # build configuration in Makefile.
4814 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
4815 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
4817 # Determine whether gdb needs tk/tcl or not.
4818 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
4819 # and in that case we want gdb to be built without tk. Ugh!
4820 # In fact I believe gdb is the *only* package directly dependent on tk,
4821 # so we should be able to put the 'maybe's in unconditionally and
4822 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
4823 # 100% sure that that's safe though.
4825 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
4826 case "$enable_gdbtk" in
4830 GDB_TK
="${gdb_tk}" ;;
4832 # Only add the dependency on gdbtk when GDBtk is part of the gdb
4833 # distro. Eventually someone will fix this and move Insight, nee
4834 # gdbtk to a separate directory.
4835 if test -d ${srcdir}/gdb
/gdbtk
; then
4842 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
4843 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
4845 # Strip out unwanted targets.
4847 # While at that, we remove Makefiles if we were started for recursive
4848 # configuration, so that the top-level Makefile reconfigures them,
4849 # like we used to do when configure itself was recursive.
4851 # Loop over modules. $extrasub must be used with care, limiting as
4852 # much as possible the usage of range addresses. That's because autoconf
4853 # splits the sed script to overcome limits in the number of commands,
4854 # and relying on carefully-timed sed passes may turn out to be very hard
4855 # to maintain later. In this particular case, you just have to be careful
4856 # not to nest @if/@endif pairs, because configure will not warn you at all.
4858 # Check whether --enable-bootstrap or --disable-bootstrap was given.
4859 if test "${enable_bootstrap+set}" = set; then
4860 enableval
="$enable_bootstrap"
4863 enable_bootstrap
=default
4866 # Issue errors and warnings for invalid/strange bootstrap combinations.
4867 case "$configdirs" in
4868 *gcc
*) have_compiler
=yes ;;
4869 *) have_compiler
=no
;;
4872 case "$have_compiler:$host:$target:$enable_bootstrap" in
4875 # Default behavior. Enable bootstrap if we have a compiler
4876 # and we are in a native configuration.
4877 yes:$build:$build:default
)
4878 enable_bootstrap
=yes ;;
4881 enable_bootstrap
=no
;;
4883 # We have a compiler and we are in a native configuration, bootstrap is ok
4884 yes:$build:$build:yes)
4887 # Other configurations, but we have a compiler. Assume the user knows
4890 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
4891 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
4894 # No compiler: if they passed --enable-bootstrap explicitly, fail
4896 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
4897 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
4898 { (exit 1); exit 1; }; } ;;
4900 # Fail if wrong command line
4902 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
4903 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
4904 { (exit 1); exit 1; }; }
4908 # Adjust the toplevel makefile according to whether bootstrap was selected.
4909 case "$enable_bootstrap" in
4911 bootstrap_suffix
=bootstrap
;;
4913 bootstrap_suffix
=no-bootstrap
;;
4916 for module
in ${build_configdirs} ; do
4917 if test -z "${no_recursion}" \
4918 && test -f ${build_subdir}/${module}/Makefile
; then
4919 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
4920 rm -f ${build_subdir}/${module}/Makefile
4923 /^@if build-$module\$/d
4924 /^@endif build-$module\$/d
4925 /^@if build-$module-$bootstrap_suffix\$/d
4926 /^@endif build-$module-$bootstrap_suffix\$/d"
4928 for module
in ${configdirs} ; do
4929 if test -z "${no_recursion}"; then
4930 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
4931 if test -f ${file}; then
4932 echo 1>&2 "*** removing ${file} to force reconfigure"
4939 /^@endif $module\$/d
4940 /^@if $module-$bootstrap_suffix\$/d
4941 /^@endif $module-$bootstrap_suffix\$/d"
4943 for module
in ${target_configdirs} ; do
4944 if test -z "${no_recursion}" \
4945 && test -f ${target_subdir}/${module}/Makefile
; then
4946 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
4947 rm -f ${target_subdir}/${module}/Makefile
4950 /^@if target-$module\$/d
4951 /^@endif target-$module\$/d
4952 /^@if target-$module-$bootstrap_suffix\$/d
4953 /^@endif target-$module-$bootstrap_suffix\$/d"
4957 /^@if /,/^@endif /d"
4959 # Create the serialization dependencies. This uses a temporary file.
4961 # Check whether --enable-serial-configure or --disable-serial-configure was given.
4962 if test "${enable_serial_configure+set}" = set; then
4963 enableval
="$enable_serial_configure"
4967 case ${enable_serial_configure} in
4969 enable_serial_build_configure
=yes
4970 enable_serial_host_configure
=yes
4971 enable_serial_target_configure
=yes
4975 # These force 'configure's to be done one at a time, to avoid problems
4976 # with contention over a shared config.cache.
4978 echo '# serdep.tmp' > serdep.tmp
4980 test "x${enable_serial_build_configure}" = xyes
&&
4981 for item
in ${build_configdirs} ; do
4984 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
4989 test "x${enable_serial_host_configure}" = xyes
&&
4990 for item
in ${configdirs} ; do
4993 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
4998 test "x${enable_serial_target_configure}" = xyes
&&
4999 for item
in ${target_configdirs} ; do
5002 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5006 serialization_dependencies
=serdep.tmp
5009 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5010 # target, nonopt, and variable assignments. These are the ones we
5011 # might not want to pass down to subconfigures. Also strip
5012 # program-prefix, program-suffix, and program-transform-name, so that
5013 # we can pass down a consistent program-transform-name.
5017 eval "set -- $ac_configure_args"
5020 if test X
"$skip_next" = X
"yes"; then
5024 if test X
"$keep_next" = X
"yes"; then
5027 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5029 baseargs
="$baseargs '$ac_arg'"
5034 # Handle separated arguments. Based on the logic generated by
5037 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5038 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5039 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5040 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5066 -program-prefix* | \
5067 -program-suffix* | \
5068 -program-transform-name* )
5069 skip_next
=$separate_arg
5073 # An option. Add it.
5076 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5078 baseargs
="$baseargs '$ac_arg'"
5079 keep_next
=$separate_arg
5082 # Either a variable assignment, or a nonopt (triplet). Don't
5083 # pass it down; let the Makefile handle this.
5088 # Remove the initial space we just introduced and, as these will be
5089 # expanded by make, quote '$'.
5090 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5092 # Add in --program-transform-name, after --program-prefix and
5093 # --program-suffix have been applied to it. Autoconf has already
5094 # doubled dollar signs and backslashes in program_transform_name; we want
5095 # the backslashes un-doubled, and then the entire thing wrapped in single
5096 # quotes, because this will be expanded first by make and then by the shell.
5097 # Also, because we want to override the logic in subdir configure scripts to
5098 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5099 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5100 ${program_transform_name}
5102 gcc_transform_name
=`cat conftestsed.out`
5103 rm -f conftestsed.out
5104 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5106 # For the build-side libraries, we just need to pretend we're native,
5107 # and not use the same cache file. Multilibs are neither needed nor
5109 build_configargs
="--cache-file=../config.cache ${baseargs}"
5111 # For host modules, accept cache file option, or specification as blank.
5112 case "${cache_file}" in
5114 cache_file_option
="" ;;
5115 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5116 cache_file_option
="--cache-file=${cache_file}" ;;
5118 cache_file_option
="--cache-file=../${cache_file}" ;;
5121 # Host dirs don't like to share a cache file either, horribly enough.
5122 # This seems to be due to autoconf 2.5x stupidity.
5123 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5125 target_configargs
=${baseargs}
5127 # Passing a --with-cross-host argument lets the target libraries know
5128 # whether they are being built with a cross-compiler or being built
5129 # native. However, it would be better to use other mechanisms to make the
5130 # sorts of decisions they want to make on this basis. Please consider
5131 # this option to be deprecated. FIXME.
5132 if test x
${is_cross_compiler} = xyes
; then
5133 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5136 # Default to --enable-multilib.
5137 if test x
${enable_multilib} = x
; then
5138 target_configargs
="--enable-multilib ${target_configargs}"
5141 # Pass --with-newlib if appropriate. Note that target_configdirs has
5142 # changed from the earlier setting of with_newlib.
5143 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5144 target_configargs
="--with-newlib ${target_configargs}"
5147 # Different target subdirs use different values of certain variables
5148 # (notably CXX). Worse, multilibs use *lots* of different values.
5149 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5150 # it doesn't automatically accept command-line overrides of them.
5151 # This means it's not safe for target subdirs to share a cache file,
5152 # which is disgusting, but there you have it. Hopefully this can be
5153 # fixed in future. It's still worthwhile to use a cache file for each
5154 # directory. I think.
5156 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5157 # We need to pass --target, as newer autoconf's requires consistency
5158 # for target_alias and gcc doesn't manage it consistently.
5159 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5162 case " $target_configdirs " in
5164 case " $target_configargs " in
5165 *" --with-newlib "*)
5168 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' ;;
5171 # If we're not building GCC, don't discard standard headers.
5172 if test -d ${srcdir}/gcc
; then
5173 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5175 if test "${build}" != "${host}"; then
5176 # On Canadian crosses, CC_FOR_TARGET will have already been set
5177 # by `configure', so we won't have an opportunity to add -Bgcc/
5178 # to it. This is right: we don't want to search that directory
5179 # for binaries, but we want the header files in there, so add
5181 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5183 # Someone might think of using the pre-installed headers on
5184 # Canadian crosses, in case the installed compiler is not fully
5185 # compatible with the compiler being built. In this case, it
5186 # would be better to flag an error than risking having
5187 # incompatible object files being constructed. We can't
5188 # guarantee that an error will be flagged, but let's hope the
5189 # compiler will do it, when presented with incompatible header
5194 case "${target}-${is_cross_compiler}" in
5195 i
[3456789]86-*-linux*-no)
5196 # Here host == target, so we don't need to build gcc,
5197 # so we don't want to discard standard headers.
5198 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5201 # If we're building newlib, use its generic headers last, but search
5202 # for any libc-related directories first (so make it the last -B
5204 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5213 # Can't be handled as Cygwin above since Mingw does not use newlib.
5214 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' ;;
5217 # Allow the user to override the flags for
5218 # our build compiler if desired.
5219 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5221 # On Canadian crosses, we'll be searching the right directories for
5222 # the previously-installed cross compiler, so don't bother to add
5223 # flags for directories within the install tree of the compiler
5224 # being built; programs in there won't even run.
5225 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5226 # Search for pre-installed headers if nothing else fits.
5227 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5230 if test "x
${use_gnu_ld}" = x &&
5231 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5232 # Arrange for us to find uninstalled linker scripts.
5233 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5236 # Search for other target-specific linker scripts and such.
5239 if test -d ${srcdir}/libgloss/m32c; then
5240 # This is for crt0.o
5241 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5242 # This is for r8c.ld
5243 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5244 # This is for libnosys.a
5245 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5249 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5253 # Makefile fragments.
5254 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5256 eval fragval=\$$frag
5257 if test $fragval != /dev/null; then
5258 eval $frag=${srcdir}/$fragval
5266 # Miscellanea: directories, flags, etc.
5274 # Build module lists & subconfigure args.
5278 # Host module lists & subconfigure args.
5282 # Target module lists & subconfigure args.
5290 # Generate default definitions for YACC, M4, LEX and other programs that run
5291 # on the build machine. These are used if the Makefile can't locate these
5292 # programs in objdir.
5293 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5295 for ac_prog in 'bison -y' byacc yacc
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5300 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5301 if test "${ac_cv_prog_YACC+set}" = set; then
5302 echo $ECHO_N "(cached
) $ECHO_C" >&6
5304 if test -n "$YACC"; then
5305 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_YACC="$ac_prog"
5315 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5323 YACC=$ac_cv_prog_YACC
5324 if test -n "$YACC"; then
5325 echo "$as_me:$LINENO: result
: $YACC" >&5
5326 echo "${ECHO_T}$YACC" >&6
5328 echo "$as_me:$LINENO: result
: no
" >&5
5329 echo "${ECHO_T}no
" >&6
5332 test -n "$YACC" && break
5334 test -n "$YACC" || YACC="$MISSING bison
-y"
5336 case " $build_configdirs " in
5337 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
5338 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
5341 for ac_prog in bison
5343 # Extract the first word of "$ac_prog", so it can be a program name with args.
5344 set dummy $ac_prog; ac_word=$2
5345 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5347 if test "${ac_cv_prog_BISON+set}" = set; then
5348 echo $ECHO_N "(cached
) $ECHO_C" >&6
5350 if test -n "$BISON"; then
5351 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_BISON="$ac_prog"
5361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5369 BISON=$ac_cv_prog_BISON
5370 if test -n "$BISON"; then
5371 echo "$as_me:$LINENO: result
: $BISON" >&5
5372 echo "${ECHO_T}$BISON" >&6
5374 echo "$as_me:$LINENO: result
: no
" >&5
5375 echo "${ECHO_T}no
" >&6
5378 test -n "$BISON" && break
5380 test -n "$BISON" || BISON="$MISSING bison
"
5382 case " $build_configdirs " in
5383 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
5386 for ac_prog in gm4 gnum4 m4
5388 # Extract the first word of "$ac_prog", so it can be a program name with args.
5389 set dummy $ac_prog; ac_word=$2
5390 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5391 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5392 if test "${ac_cv_prog_M4+set}" = set; then
5393 echo $ECHO_N "(cached
) $ECHO_C" >&6
5395 if test -n "$M4"; then
5396 ac_cv_prog_M4="$M4" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_M4="$ac_prog"
5406 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5415 if test -n "$M4"; then
5416 echo "$as_me:$LINENO: result
: $M4" >&5
5417 echo "${ECHO_T}$M4" >&6
5419 echo "$as_me:$LINENO: result
: no
" >&5
5420 echo "${ECHO_T}no
" >&6
5423 test -n "$M4" && break
5425 test -n "$M4" || M4="$MISSING m4"
5427 case " $build_configdirs " in
5428 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
5431 for ac_prog in flex lex
5433 # Extract the first word of "$ac_prog", so it can be a program name with args.
5434 set dummy $ac_prog; ac_word=$2
5435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5437 if test "${ac_cv_prog_LEX+set}" = set; then
5438 echo $ECHO_N "(cached
) $ECHO_C" >&6
5440 if test -n "$LEX"; then
5441 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_LEX="$ac_prog"
5451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5460 if test -n "$LEX"; then
5461 echo "$as_me:$LINENO: result
: $LEX" >&5
5462 echo "${ECHO_T}$LEX" >&6
5464 echo "$as_me:$LINENO: result
: no
" >&5
5465 echo "${ECHO_T}no
" >&6
5468 test -n "$LEX" && break
5470 test -n "$LEX" || LEX="$MISSING flex
"
5472 case " $build_configdirs " in
5473 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
5474 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
5479 # Extract the first word of "$ac_prog", so it can be a program name with args.
5480 set dummy $ac_prog; ac_word=$2
5481 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5482 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5483 if test "${ac_cv_prog_FLEX+set}" = set; then
5484 echo $ECHO_N "(cached
) $ECHO_C" >&6
5486 if test -n "$FLEX"; then
5487 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_FLEX="$ac_prog"
5497 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5505 FLEX=$ac_cv_prog_FLEX
5506 if test -n "$FLEX"; then
5507 echo "$as_me:$LINENO: result
: $FLEX" >&5
5508 echo "${ECHO_T}$FLEX" >&6
5510 echo "$as_me:$LINENO: result
: no
" >&5
5511 echo "${ECHO_T}no
" >&6
5514 test -n "$FLEX" && break
5516 test -n "$FLEX" || FLEX="$MISSING flex
"
5518 case " $build_configdirs " in
5519 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
5522 for ac_prog in makeinfo
5524 # Extract the first word of "$ac_prog", so it can be a program name with args.
5525 set dummy $ac_prog; ac_word=$2
5526 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5527 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5528 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5529 echo $ECHO_N "(cached
) $ECHO_C" >&6
5531 if test -n "$MAKEINFO"; then
5532 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5541 ac_cv_prog_MAKEINFO="$ac_prog"
5542 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5550 MAKEINFO=$ac_cv_prog_MAKEINFO
5551 if test -n "$MAKEINFO"; then
5552 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
5553 echo "${ECHO_T}$MAKEINFO" >&6
5555 echo "$as_me:$LINENO: result
: no
" >&5
5556 echo "${ECHO_T}no
" >&6
5559 test -n "$MAKEINFO" && break
5561 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
5563 case " $build_configdirs " in
5564 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
5567 # For an installed makeinfo, we require it to be from texinfo 4.4 or
5568 # higher, else we use the "missing
" dummy.
5569 if ${MAKEINFO} --version \
5570 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
5573 MAKEINFO="$MISSING makeinfo
"
5579 # FIXME: expect and dejagnu may become build tools?
5581 for ac_prog in expect
5583 # Extract the first word of "$ac_prog", so it can be a program name with args.
5584 set dummy $ac_prog; ac_word=$2
5585 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5586 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5587 if test "${ac_cv_prog_EXPECT+set}" = set; then
5588 echo $ECHO_N "(cached
) $ECHO_C" >&6
5590 if test -n "$EXPECT"; then
5591 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_EXPECT="$ac_prog"
5601 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5609 EXPECT=$ac_cv_prog_EXPECT
5610 if test -n "$EXPECT"; then
5611 echo "$as_me:$LINENO: result
: $EXPECT" >&5
5612 echo "${ECHO_T}$EXPECT" >&6
5614 echo "$as_me:$LINENO: result
: no
" >&5
5615 echo "${ECHO_T}no
" >&6
5618 test -n "$EXPECT" && break
5620 test -n "$EXPECT" || EXPECT="expect
"
5622 case " $configdirs " in
5624 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
5628 for ac_prog in runtest
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy $ac_prog; ac_word=$2
5632 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5634 if test "${ac_cv_prog_RUNTEST+set}" = set; then
5635 echo $ECHO_N "(cached
) $ECHO_C" >&6
5637 if test -n "$RUNTEST"; then
5638 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_RUNTEST="$ac_prog"
5648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5656 RUNTEST=$ac_cv_prog_RUNTEST
5657 if test -n "$RUNTEST"; then
5658 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
5659 echo "${ECHO_T}$RUNTEST" >&6
5661 echo "$as_me:$LINENO: result
: no
" >&5
5662 echo "${ECHO_T}no
" >&6
5665 test -n "$RUNTEST" && break
5667 test -n "$RUNTEST" || RUNTEST="runtest
"
5669 case " $configdirs " in
5671 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
5678 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
5679 ncn_target_tool_prefix=
5680 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
5682 for ncn_progname in ar; do
5683 if test -n "$ncn_tool_prefix"; then
5684 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5685 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5686 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5687 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5688 if test "${ac_cv_prog_AR+set}" = set; then
5689 echo $ECHO_N "(cached
) $ECHO_C" >&6
5691 if test -n "$AR"; then
5692 ac_cv_prog_AR="$AR" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
5702 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5711 if test -n "$AR"; then
5712 echo "$as_me:$LINENO: result
: $AR" >&5
5713 echo "${ECHO_T}$AR" >&6
5715 echo "$as_me:$LINENO: result
: no
" >&5
5716 echo "${ECHO_T}no
" >&6
5720 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
5721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5722 set dummy ${ncn_progname}; ac_word=$2
5723 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5724 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5725 if test "${ac_cv_prog_AR+set}" = set; then
5726 echo $ECHO_N "(cached
) $ECHO_C" >&6
5728 if test -n "$AR"; then
5729 ac_cv_prog_AR="$AR" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_AR="${ncn_progname}"
5739 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5748 if test -n "$AR"; then
5749 echo "$as_me:$LINENO: result
: $AR" >&5
5750 echo "${ECHO_T}$AR" >&6
5752 echo "$as_me:$LINENO: result
: no
" >&5
5753 echo "${ECHO_T}no
" >&6
5757 test -n "$ac_cv_prog_AR" && break
5760 if test -z "$ac_cv_prog_AR" ; then
5762 if test $build = $host ; then
5765 AR="${ncn_tool_prefix}$2"
5769 for ncn_progname in as; do
5770 if test -n "$ncn_tool_prefix"; then
5771 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5772 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5773 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5774 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5775 if test "${ac_cv_prog_AS+set}" = set; then
5776 echo $ECHO_N "(cached
) $ECHO_C" >&6
5778 if test -n "$AS"; then
5779 ac_cv_prog_AS="$AS" # Let the user override the test.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
5789 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5798 if test -n "$AS"; then
5799 echo "$as_me:$LINENO: result
: $AS" >&5
5800 echo "${ECHO_T}$AS" >&6
5802 echo "$as_me:$LINENO: result
: no
" >&5
5803 echo "${ECHO_T}no
" >&6
5807 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
5808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5809 set dummy ${ncn_progname}; ac_word=$2
5810 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5811 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5812 if test "${ac_cv_prog_AS+set}" = set; then
5813 echo $ECHO_N "(cached
) $ECHO_C" >&6
5815 if test -n "$AS"; then
5816 ac_cv_prog_AS="$AS" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_AS="${ncn_progname}"
5826 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5835 if test -n "$AS"; then
5836 echo "$as_me:$LINENO: result
: $AS" >&5
5837 echo "${ECHO_T}$AS" >&6
5839 echo "$as_me:$LINENO: result
: no
" >&5
5840 echo "${ECHO_T}no
" >&6
5844 test -n "$ac_cv_prog_AS" && break
5847 if test -z "$ac_cv_prog_AS" ; then
5849 if test $build = $host ; then
5852 AS="${ncn_tool_prefix}$2"
5856 for ncn_progname in dlltool; do
5857 if test -n "$ncn_tool_prefix"; then
5858 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5859 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5860 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5861 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5862 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5863 echo $ECHO_N "(cached
) $ECHO_C" >&6
5865 if test -n "$DLLTOOL"; then
5866 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
5876 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5884 DLLTOOL=$ac_cv_prog_DLLTOOL
5885 if test -n "$DLLTOOL"; then
5886 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
5887 echo "${ECHO_T}$DLLTOOL" >&6
5889 echo "$as_me:$LINENO: result
: no
" >&5
5890 echo "${ECHO_T}no
" >&6
5894 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
5895 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5896 set dummy ${ncn_progname}; ac_word=$2
5897 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5899 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5900 echo $ECHO_N "(cached
) $ECHO_C" >&6
5902 if test -n "$DLLTOOL"; then
5903 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_DLLTOOL="${ncn_progname}"
5913 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5921 DLLTOOL=$ac_cv_prog_DLLTOOL
5922 if test -n "$DLLTOOL"; then
5923 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
5924 echo "${ECHO_T}$DLLTOOL" >&6
5926 echo "$as_me:$LINENO: result
: no
" >&5
5927 echo "${ECHO_T}no
" >&6
5931 test -n "$ac_cv_prog_DLLTOOL" && break
5934 if test -z "$ac_cv_prog_DLLTOOL" ; then
5936 if test $build = $host ; then
5939 DLLTOOL="${ncn_tool_prefix}$2"
5943 for ncn_progname in ld; do
5944 if test -n "$ncn_tool_prefix"; then
5945 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5946 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5947 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5948 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5949 if test "${ac_cv_prog_LD+set}" = set; then
5950 echo $ECHO_N "(cached
) $ECHO_C" >&6
5952 if test -n "$LD"; then
5953 ac_cv_prog_LD="$LD" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
5963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5972 if test -n "$LD"; then
5973 echo "$as_me:$LINENO: result
: $LD" >&5
5974 echo "${ECHO_T}$LD" >&6
5976 echo "$as_me:$LINENO: result
: no
" >&5
5977 echo "${ECHO_T}no
" >&6
5981 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
5982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5983 set dummy ${ncn_progname}; ac_word=$2
5984 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5985 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5986 if test "${ac_cv_prog_LD+set}" = set; then
5987 echo $ECHO_N "(cached
) $ECHO_C" >&6
5989 if test -n "$LD"; then
5990 ac_cv_prog_LD="$LD" # Let the user override the test.
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_LD="${ncn_progname}"
6000 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6009 if test -n "$LD"; then
6010 echo "$as_me:$LINENO: result
: $LD" >&5
6011 echo "${ECHO_T}$LD" >&6
6013 echo "$as_me:$LINENO: result
: no
" >&5
6014 echo "${ECHO_T}no
" >&6
6018 test -n "$ac_cv_prog_LD" && break
6021 if test -z "$ac_cv_prog_LD" ; then
6023 if test $build = $host ; then
6026 LD="${ncn_tool_prefix}$2"
6030 for ncn_progname in lipo; do
6031 if test -n "$ncn_tool_prefix"; then
6032 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6033 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6034 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6035 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6036 if test "${ac_cv_prog_LIPO+set}" = set; then
6037 echo $ECHO_N "(cached
) $ECHO_C" >&6
6039 if test -n "$LIPO"; then
6040 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6050 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6058 LIPO=$ac_cv_prog_LIPO
6059 if test -n "$LIPO"; then
6060 echo "$as_me:$LINENO: result
: $LIPO" >&5
6061 echo "${ECHO_T}$LIPO" >&6
6063 echo "$as_me:$LINENO: result
: no
" >&5
6064 echo "${ECHO_T}no
" >&6
6068 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6070 set dummy ${ncn_progname}; ac_word=$2
6071 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6072 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6073 if test "${ac_cv_prog_LIPO+set}" = set; then
6074 echo $ECHO_N "(cached
) $ECHO_C" >&6
6076 if test -n "$LIPO"; then
6077 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LIPO="${ncn_progname}"
6087 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6095 LIPO=$ac_cv_prog_LIPO
6096 if test -n "$LIPO"; then
6097 echo "$as_me:$LINENO: result
: $LIPO" >&5
6098 echo "${ECHO_T}$LIPO" >&6
6100 echo "$as_me:$LINENO: result
: no
" >&5
6101 echo "${ECHO_T}no
" >&6
6105 test -n "$ac_cv_prog_LIPO" && break
6108 if test -z "$ac_cv_prog_LIPO" ; then
6110 if test $build = $host ; then
6113 LIPO="${ncn_tool_prefix}$2"
6117 for ncn_progname in nm; do
6118 if test -n "$ncn_tool_prefix"; then
6119 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6120 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6121 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6122 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6123 if test "${ac_cv_prog_NM+set}" = set; then
6124 echo $ECHO_N "(cached
) $ECHO_C" >&6
6126 if test -n "$NM"; then
6127 ac_cv_prog_NM="$NM" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
6137 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6146 if test -n "$NM"; then
6147 echo "$as_me:$LINENO: result
: $NM" >&5
6148 echo "${ECHO_T}$NM" >&6
6150 echo "$as_me:$LINENO: result
: no
" >&5
6151 echo "${ECHO_T}no
" >&6
6155 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
6156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6157 set dummy ${ncn_progname}; ac_word=$2
6158 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6159 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6160 if test "${ac_cv_prog_NM+set}" = set; then
6161 echo $ECHO_N "(cached
) $ECHO_C" >&6
6163 if test -n "$NM"; then
6164 ac_cv_prog_NM="$NM" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173 ac_cv_prog_NM="${ncn_progname}"
6174 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6183 if test -n "$NM"; then
6184 echo "$as_me:$LINENO: result
: $NM" >&5
6185 echo "${ECHO_T}$NM" >&6
6187 echo "$as_me:$LINENO: result
: no
" >&5
6188 echo "${ECHO_T}no
" >&6
6192 test -n "$ac_cv_prog_NM" && break
6195 if test -z "$ac_cv_prog_NM" ; then
6197 if test $build = $host ; then
6200 NM="${ncn_tool_prefix}$2"
6204 for ncn_progname in ranlib; do
6205 if test -n "$ncn_tool_prefix"; then
6206 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6207 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6208 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6209 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6210 if test "${ac_cv_prog_RANLIB+set}" = set; then
6211 echo $ECHO_N "(cached
) $ECHO_C" >&6
6213 if test -n "$RANLIB"; then
6214 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
6224 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6232 RANLIB=$ac_cv_prog_RANLIB
6233 if test -n "$RANLIB"; then
6234 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6235 echo "${ECHO_T}$RANLIB" >&6
6237 echo "$as_me:$LINENO: result
: no
" >&5
6238 echo "${ECHO_T}no
" >&6
6242 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
6243 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6244 set dummy ${ncn_progname}; ac_word=$2
6245 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6246 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6247 if test "${ac_cv_prog_RANLIB+set}" = set; then
6248 echo $ECHO_N "(cached
) $ECHO_C" >&6
6250 if test -n "$RANLIB"; then
6251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_RANLIB="${ncn_progname}"
6261 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6269 RANLIB=$ac_cv_prog_RANLIB
6270 if test -n "$RANLIB"; then
6271 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6272 echo "${ECHO_T}$RANLIB" >&6
6274 echo "$as_me:$LINENO: result
: no
" >&5
6275 echo "${ECHO_T}no
" >&6
6279 test -n "$ac_cv_prog_RANLIB" && break
6282 if test -z "$ac_cv_prog_RANLIB" ; then
6286 for ncn_progname in strip; do
6287 if test -n "$ncn_tool_prefix"; then
6288 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6289 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6290 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6291 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6292 if test "${ac_cv_prog_STRIP+set}" = set; then
6293 echo $ECHO_N "(cached
) $ECHO_C" >&6
6295 if test -n "$STRIP"; then
6296 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
6306 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6314 STRIP=$ac_cv_prog_STRIP
6315 if test -n "$STRIP"; then
6316 echo "$as_me:$LINENO: result
: $STRIP" >&5
6317 echo "${ECHO_T}$STRIP" >&6
6319 echo "$as_me:$LINENO: result
: no
" >&5
6320 echo "${ECHO_T}no
" >&6
6324 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
6325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6326 set dummy ${ncn_progname}; ac_word=$2
6327 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6329 if test "${ac_cv_prog_STRIP+set}" = set; then
6330 echo $ECHO_N "(cached
) $ECHO_C" >&6
6332 if test -n "$STRIP"; then
6333 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_STRIP="${ncn_progname}"
6343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6351 STRIP=$ac_cv_prog_STRIP
6352 if test -n "$STRIP"; then
6353 echo "$as_me:$LINENO: result
: $STRIP" >&5
6354 echo "${ECHO_T}$STRIP" >&6
6356 echo "$as_me:$LINENO: result
: no
" >&5
6357 echo "${ECHO_T}no
" >&6
6361 test -n "$ac_cv_prog_STRIP" && break
6364 if test -z "$ac_cv_prog_STRIP" ; then
6368 for ncn_progname in windres; do
6369 if test -n "$ncn_tool_prefix"; then
6370 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6371 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6372 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6373 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6374 if test "${ac_cv_prog_WINDRES+set}" = set; then
6375 echo $ECHO_N "(cached
) $ECHO_C" >&6
6377 if test -n "$WINDRES"; then
6378 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
6388 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6396 WINDRES=$ac_cv_prog_WINDRES
6397 if test -n "$WINDRES"; then
6398 echo "$as_me:$LINENO: result
: $WINDRES" >&5
6399 echo "${ECHO_T}$WINDRES" >&6
6401 echo "$as_me:$LINENO: result
: no
" >&5
6402 echo "${ECHO_T}no
" >&6
6406 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
6407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6408 set dummy ${ncn_progname}; ac_word=$2
6409 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6410 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6411 if test "${ac_cv_prog_WINDRES+set}" = set; then
6412 echo $ECHO_N "(cached
) $ECHO_C" >&6
6414 if test -n "$WINDRES"; then
6415 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6421 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6424 ac_cv_prog_WINDRES="${ncn_progname}"
6425 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6433 WINDRES=$ac_cv_prog_WINDRES
6434 if test -n "$WINDRES"; then
6435 echo "$as_me:$LINENO: result
: $WINDRES" >&5
6436 echo "${ECHO_T}$WINDRES" >&6
6438 echo "$as_me:$LINENO: result
: no
" >&5
6439 echo "${ECHO_T}no
" >&6
6443 test -n "$ac_cv_prog_WINDRES" && break
6446 if test -z "$ac_cv_prog_WINDRES" ; then
6448 if test $build = $host ; then
6451 WINDRES="${ncn_tool_prefix}$2"
6455 for ncn_progname in objcopy; do
6456 if test -n "$ncn_tool_prefix"; then
6457 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6458 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6459 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6460 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6461 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6462 echo $ECHO_N "(cached
) $ECHO_C" >&6
6464 if test -n "$OBJCOPY"; then
6465 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
6475 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6483 OBJCOPY=$ac_cv_prog_OBJCOPY
6484 if test -n "$OBJCOPY"; then
6485 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
6486 echo "${ECHO_T}$OBJCOPY" >&6
6488 echo "$as_me:$LINENO: result
: no
" >&5
6489 echo "${ECHO_T}no
" >&6
6493 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
6494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6495 set dummy ${ncn_progname}; ac_word=$2
6496 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6497 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6498 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6499 echo $ECHO_N "(cached
) $ECHO_C" >&6
6501 if test -n "$OBJCOPY"; then
6502 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_OBJCOPY="${ncn_progname}"
6512 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6520 OBJCOPY=$ac_cv_prog_OBJCOPY
6521 if test -n "$OBJCOPY"; then
6522 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
6523 echo "${ECHO_T}$OBJCOPY" >&6
6525 echo "$as_me:$LINENO: result
: no
" >&5
6526 echo "${ECHO_T}no
" >&6
6530 test -n "$ac_cv_prog_OBJCOPY" && break
6533 if test -z "$ac_cv_prog_OBJCOPY" ; then
6535 if test $build = $host ; then
6538 OBJCOPY="${ncn_tool_prefix}$2"
6542 for ncn_progname in objdump; do
6543 if test -n "$ncn_tool_prefix"; then
6544 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6545 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6546 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6548 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6549 echo $ECHO_N "(cached
) $ECHO_C" >&6
6551 if test -n "$OBJDUMP"; then
6552 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
6562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6570 OBJDUMP=$ac_cv_prog_OBJDUMP
6571 if test -n "$OBJDUMP"; then
6572 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6573 echo "${ECHO_T}$OBJDUMP" >&6
6575 echo "$as_me:$LINENO: result
: no
" >&5
6576 echo "${ECHO_T}no
" >&6
6580 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
6581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6582 set dummy ${ncn_progname}; ac_word=$2
6583 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6584 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6585 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6586 echo $ECHO_N "(cached
) $ECHO_C" >&6
6588 if test -n "$OBJDUMP"; then
6589 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_OBJDUMP="${ncn_progname}"
6599 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6607 OBJDUMP=$ac_cv_prog_OBJDUMP
6608 if test -n "$OBJDUMP"; then
6609 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6610 echo "${ECHO_T}$OBJDUMP" >&6
6612 echo "$as_me:$LINENO: result
: no
" >&5
6613 echo "${ECHO_T}no
" >&6
6617 test -n "$ac_cv_prog_OBJDUMP" && break
6620 if test -z "$ac_cv_prog_OBJDUMP" ; then
6622 if test $build = $host ; then
6625 OBJDUMP="${ncn_tool_prefix}$2"
6637 # Check whether --with-build-time-tools or --without-build-time-tools was given.
6638 if test "${with_build_time_tools+set}" = set; then
6639 withval="$with_build_time_tools"
6643 with_build_time_tools=
6644 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
6645 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
6649 with_build_time_tools=
6652 if test -n "$with_build_time_tools"; then
6653 for ncn_progname in cc gcc; do
6654 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6655 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6656 if test -x $with_build_time_tools/${ncn_progname}; then
6657 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6658 echo "$as_me:$LINENO: result
: yes" >&5
6659 echo "${ECHO_T}yes" >&6
6662 echo "$as_me:$LINENO: result
: no
" >&5
6663 echo "${ECHO_T}no
" >&6
6668 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
6669 for ncn_progname in cc gcc; do
6670 if test -n "$ncn_target_tool_prefix"; then
6671 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6672 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6673 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6674 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6675 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6676 echo $ECHO_N "(cached
) $ECHO_C" >&6
6678 if test -n "$CC_FOR_TARGET"; then
6679 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6689 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6697 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6698 if test -n "$CC_FOR_TARGET"; then
6699 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
6700 echo "${ECHO_T}$CC_FOR_TARGET" >&6
6702 echo "$as_me:$LINENO: result
: no
" >&5
6703 echo "${ECHO_T}no
" >&6
6707 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
6708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6709 set dummy ${ncn_progname}; ac_word=$2
6710 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6711 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6712 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6713 echo $ECHO_N "(cached
) $ECHO_C" >&6
6715 if test -n "$CC_FOR_TARGET"; then
6716 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
6726 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6734 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6735 if test -n "$CC_FOR_TARGET"; then
6736 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
6737 echo "${ECHO_T}$CC_FOR_TARGET" >&6
6739 echo "$as_me:$LINENO: result
: no
" >&5
6740 echo "${ECHO_T}no
" >&6
6744 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
6748 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
6750 if test $build = $target ; then
6753 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
6757 if test -n "$with_build_time_tools"; then
6758 for ncn_progname in c++ g++ cxx gxx; do
6759 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6760 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6761 if test -x $with_build_time_tools/${ncn_progname}; then
6762 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6763 echo "$as_me:$LINENO: result
: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6767 echo "$as_me:$LINENO: result
: no
" >&5
6768 echo "${ECHO_T}no
" >&6
6773 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
6774 for ncn_progname in c++ g++ cxx gxx; do
6775 if test -n "$ncn_target_tool_prefix"; then
6776 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6777 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6780 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6781 echo $ECHO_N "(cached
) $ECHO_C" >&6
6783 if test -n "$CXX_FOR_TARGET"; then
6784 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6794 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6802 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6803 if test -n "$CXX_FOR_TARGET"; then
6804 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
6805 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6807 echo "$as_me:$LINENO: result
: no
" >&5
6808 echo "${ECHO_T}no
" >&6
6812 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
6813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6814 set dummy ${ncn_progname}; ac_word=$2
6815 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6816 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6817 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6818 echo $ECHO_N "(cached
) $ECHO_C" >&6
6820 if test -n "$CXX_FOR_TARGET"; then
6821 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
6831 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6839 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6840 if test -n "$CXX_FOR_TARGET"; then
6841 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
6842 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6844 echo "$as_me:$LINENO: result
: no
" >&5
6845 echo "${ECHO_T}no
" >&6
6849 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
6853 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
6854 set dummy c++ g++ cxx gxx
6855 if test $build = $target ; then
6858 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
6862 if test -n "$with_build_time_tools"; then
6863 for ncn_progname in gcc; do
6864 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6865 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6866 if test -x $with_build_time_tools/${ncn_progname}; then
6867 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6868 echo "$as_me:$LINENO: result
: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result
: no
" >&5
6873 echo "${ECHO_T}no
" >&6
6878 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
6879 for ncn_progname in gcc; do
6880 if test -n "$ncn_target_tool_prefix"; then
6881 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6882 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6883 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6884 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6885 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
6886 echo $ECHO_N "(cached
) $ECHO_C" >&6
6888 if test -n "$GCC_FOR_TARGET"; then
6889 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6907 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
6908 if test -n "$GCC_FOR_TARGET"; then
6909 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
6910 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
6912 echo "$as_me:$LINENO: result
: no
" >&5
6913 echo "${ECHO_T}no
" >&6
6917 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
6918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6919 set dummy ${ncn_progname}; ac_word=$2
6920 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6921 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6922 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
6923 echo $ECHO_N "(cached
) $ECHO_C" >&6
6925 if test -n "$GCC_FOR_TARGET"; then
6926 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
6936 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6944 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
6945 if test -n "$GCC_FOR_TARGET"; then
6946 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
6947 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
6949 echo "$as_me:$LINENO: result
: no
" >&5
6950 echo "${ECHO_T}no
" >&6
6954 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
6958 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
6959 GCC_FOR_TARGET="${CC_FOR_TARGET}"
6962 if test -n "$with_build_time_tools"; then
6963 for ncn_progname in gcj; do
6964 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
6965 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
6966 if test -x $with_build_time_tools/${ncn_progname}; then
6967 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6968 echo "$as_me:$LINENO: result
: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6972 echo "$as_me:$LINENO: result
: no
" >&5
6973 echo "${ECHO_T}no
" >&6
6978 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
6979 for ncn_progname in gcj; do
6980 if test -n "$ncn_target_tool_prefix"; then
6981 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6982 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6983 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6985 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
6986 echo $ECHO_N "(cached
) $ECHO_C" >&6
6988 if test -n "$GCJ_FOR_TARGET"; then
6989 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6999 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7007 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
7008 if test -n "$GCJ_FOR_TARGET"; then
7009 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
7010 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
7012 echo "$as_me:$LINENO: result
: no
" >&5
7013 echo "${ECHO_T}no
" >&6
7017 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
7018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7019 set dummy ${ncn_progname}; ac_word=$2
7020 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7021 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7022 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
7023 echo $ECHO_N "(cached
) $ECHO_C" >&6
7025 if test -n "$GCJ_FOR_TARGET"; then
7026 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
7036 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7044 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
7045 if test -n "$GCJ_FOR_TARGET"; then
7046 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
7047 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
7049 echo "$as_me:$LINENO: result
: no
" >&5
7050 echo "${ECHO_T}no
" >&6
7054 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
7058 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
7060 if test $build = $target ; then
7063 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
7067 if test -n "$with_build_time_tools"; then
7068 for ncn_progname in gfortran; do
7069 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7070 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7071 if test -x $with_build_time_tools/${ncn_progname}; then
7072 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7073 echo "$as_me:$LINENO: result
: yes" >&5
7074 echo "${ECHO_T}yes" >&6
7077 echo "$as_me:$LINENO: result
: no
" >&5
7078 echo "${ECHO_T}no
" >&6
7083 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
7084 for ncn_progname in gfortran; do
7085 if test -n "$ncn_target_tool_prefix"; then
7086 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7087 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7088 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7089 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7090 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
7091 echo $ECHO_N "(cached
) $ECHO_C" >&6
7093 if test -n "$GFORTRAN_FOR_TARGET"; then
7094 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7104 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7112 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
7113 if test -n "$GFORTRAN_FOR_TARGET"; then
7114 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
7115 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
7117 echo "$as_me:$LINENO: result
: no
" >&5
7118 echo "${ECHO_T}no
" >&6
7122 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
7123 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7124 set dummy ${ncn_progname}; ac_word=$2
7125 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7126 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7127 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
7128 echo $ECHO_N "(cached
) $ECHO_C" >&6
7130 if test -n "$GFORTRAN_FOR_TARGET"; then
7131 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
7141 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7149 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
7150 if test -n "$GFORTRAN_FOR_TARGET"; then
7151 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
7152 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
7154 echo "$as_me:$LINENO: result
: no
" >&5
7155 echo "${ECHO_T}no
" >&6
7159 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
7163 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
7165 if test $build = $target ; then
7166 GFORTRAN_FOR_TARGET="$2"
7168 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
7174 # The user is always right.
7175 if test "${PATH_SEPARATOR+set}" != set; then
7176 echo "#! /bin/sh" >conf$$.sh
7177 echo "exit 0" >>conf$$.sh
7179 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7189 if test "x$exec_prefix" = xNONE
; then
7190 if test "x$prefix" = xNONE
; then
7191 gcc_cv_tool_prefix
=$ac_default_prefix
7193 gcc_cv_tool_prefix
=$prefix
7196 gcc_cv_tool_prefix
=$exec_prefix
7199 # If there is no compiler in the tree, use the PATH only. In any
7200 # case, if there is no compiler in the tree nobody should use
7201 # AS_FOR_TARGET and LD_FOR_TARGET.
7202 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
7203 gcc_version
=`cat $srcdir/gcc/BASE-VER`
7204 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7205 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
7206 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7207 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
7208 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7209 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
7214 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
7215 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
7220 cat > conftest.c
<< \EOF
7225 if ($GCC_FOR_TARGET -E conftest.c |
grep gcc_yay
) > /dev
/null
2>&1; then
7226 have_gcc_for_target
=yes
7228 GCC_FOR_TARGET
=${ncn_target_tool_prefix}gcc
7229 have_gcc_for_target
=no
7236 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
7237 if test -n "$with_build_time_tools"; then
7238 echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
7239 echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6
7240 if test -x $with_build_time_tools/ar; then
7241 AR_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ar
7242 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
7243 echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
7244 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7249 elif test $build != $host && test $have_gcc_for_target = yes; then
7250 AR_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ar`
7251 test $AR_FOR_TARGET=ar && AR_FOR_TARGET
=
7252 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
7255 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7256 # Extract the first word of "ar", so it can be a program name with args.
7257 set dummy
ar; ac_word
=$2
7258 echo "$as_me:$LINENO: checking for $ac_word" >&5
7259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7260 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 case $AR_FOR_TARGET in
7265 ac_cv_path_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test with a path.
7268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 for as_dir
in $gcc_cv_tool_dirs
7272 test -z "$as_dir" && as_dir
=.
7273 for ac_exec_ext
in '' $ac_executable_extensions; do
7274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_path_AR_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 AR_FOR_TARGET
=$ac_cv_path_AR_FOR_TARGET
7287 if test -n "$AR_FOR_TARGET"; then
7288 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7289 echo "${ECHO_T}$AR_FOR_TARGET" >&6
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7296 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
7297 if test -n "$with_build_time_tools"; then
7298 for ncn_progname
in ar; do
7299 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7300 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7301 if test -x $with_build_time_tools/${ncn_progname}; then
7302 ac_cv_prog_AR_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7303 echo "$as_me:$LINENO: result: yes" >&5
7304 echo "${ECHO_T}yes" >&6
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7313 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
7314 for ncn_progname
in ar; do
7315 if test -n "$ncn_target_tool_prefix"; then
7316 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7317 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7318 echo "$as_me:$LINENO: checking for $ac_word" >&5
7319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7320 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 if test -n "$AR_FOR_TARGET"; then
7324 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
7326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir
=.
7331 for ac_exec_ext
in '' $ac_executable_extensions; do
7332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_AR_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 AR_FOR_TARGET
=$ac_cv_prog_AR_FOR_TARGET
7343 if test -n "$AR_FOR_TARGET"; then
7344 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7345 echo "${ECHO_T}$AR_FOR_TARGET" >&6
7347 echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6
7352 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
7353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7354 set dummy
${ncn_progname}; ac_word
=$2
7355 echo "$as_me:$LINENO: checking for $ac_word" >&5
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7357 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 if test -n "$AR_FOR_TARGET"; then
7361 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_AR_FOR_TARGET
="${ncn_progname}"
7371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 AR_FOR_TARGET
=$ac_cv_prog_AR_FOR_TARGET
7380 if test -n "$AR_FOR_TARGET"; then
7381 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7382 echo "${ECHO_T}$AR_FOR_TARGET" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7389 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
7393 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
7395 if test $build = $target ; then
7398 AR_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7403 AR_FOR_TARGET
=$ac_cv_path_AR_FOR_TARGET
7409 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7410 if test -n "$with_build_time_tools"; then
7411 echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
7412 echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6
7413 if test -x $with_build_time_tools/as
; then
7414 AS_FOR_TARGET
=`cd $with_build_time_tools && pwd`/as
7415 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
7416 echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
7417 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7422 elif test $build != $host && test $have_gcc_for_target = yes; then
7423 AS_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=as`
7424 test $AS_FOR_TARGET=as
&& AS_FOR_TARGET
=
7425 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
7428 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7429 # Extract the first word of "as", so it can be a program name with args.
7430 set dummy as
; ac_word
=$2
7431 echo "$as_me:$LINENO: checking for $ac_word" >&5
7432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7433 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 case $AS_FOR_TARGET in
7438 ac_cv_path_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test with a path.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7442 for as_dir
in $gcc_cv_tool_dirs
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_path_AS_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 AS_FOR_TARGET
=$ac_cv_path_AS_FOR_TARGET
7460 if test -n "$AS_FOR_TARGET"; then
7461 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7462 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7464 echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6
7469 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7470 if test -n "$with_build_time_tools"; then
7471 for ncn_progname
in as
; do
7472 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7473 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7474 if test -x $with_build_time_tools/${ncn_progname}; then
7475 ac_cv_prog_AS_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7480 echo "$as_me:$LINENO: result: no" >&5
7481 echo "${ECHO_T}no" >&6
7486 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
7487 for ncn_progname
in as
; do
7488 if test -n "$ncn_target_tool_prefix"; then
7489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7490 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7491 echo "$as_me:$LINENO: checking for $ac_word" >&5
7492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7493 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7496 if test -n "$AS_FOR_TARGET"; then
7497 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
7499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir
=.
7504 for ac_exec_ext
in '' $ac_executable_extensions; do
7505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_AS_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 AS_FOR_TARGET
=$ac_cv_prog_AS_FOR_TARGET
7516 if test -n "$AS_FOR_TARGET"; then
7517 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7518 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7525 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
7526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7527 set dummy
${ncn_progname}; ac_word
=$2
7528 echo "$as_me:$LINENO: checking for $ac_word" >&5
7529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7530 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 if test -n "$AS_FOR_TARGET"; then
7534 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
7536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir
=.
7541 for ac_exec_ext
in '' $ac_executable_extensions; do
7542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_AS_FOR_TARGET
="${ncn_progname}"
7544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 AS_FOR_TARGET
=$ac_cv_prog_AS_FOR_TARGET
7553 if test -n "$AS_FOR_TARGET"; then
7554 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7555 echo "${ECHO_T}$AS_FOR_TARGET" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7562 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
7566 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
7568 if test $build = $target ; then
7571 AS_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7576 AS_FOR_TARGET
=$ac_cv_path_AS_FOR_TARGET
7582 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7583 if test -n "$with_build_time_tools"; then
7584 echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
7585 echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6
7586 if test -x $with_build_time_tools/dlltool
; then
7587 DLLTOOL_FOR_TARGET
=`cd $with_build_time_tools && pwd`/dlltool
7588 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
7589 echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
7590 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
7592 echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7595 elif test $build != $host && test $have_gcc_for_target = yes; then
7596 DLLTOOL_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=dlltool`
7597 test $DLLTOOL_FOR_TARGET=dlltool
&& DLLTOOL_FOR_TARGET
=
7598 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
7601 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7602 # Extract the first word of "dlltool", so it can be a program name with args.
7603 set dummy dlltool
; ac_word
=$2
7604 echo "$as_me:$LINENO: checking for $ac_word" >&5
7605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7606 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 case $DLLTOOL_FOR_TARGET in
7611 ac_cv_path_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
7614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7615 for as_dir
in $gcc_cv_tool_dirs
7618 test -z "$as_dir" && as_dir
=.
7619 for ac_exec_ext
in '' $ac_executable_extensions; do
7620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7621 ac_cv_path_DLLTOOL_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 DLLTOOL_FOR_TARGET
=$ac_cv_path_DLLTOOL_FOR_TARGET
7633 if test -n "$DLLTOOL_FOR_TARGET"; then
7634 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7635 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7637 echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7642 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7643 if test -n "$with_build_time_tools"; then
7644 for ncn_progname
in dlltool
; do
7645 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7646 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7647 if test -x $with_build_time_tools/${ncn_progname}; then
7648 ac_cv_prog_DLLTOOL_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7649 echo "$as_me:$LINENO: result: yes" >&5
7650 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7659 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
7660 for ncn_progname
in dlltool
; do
7661 if test -n "$ncn_target_tool_prefix"; then
7662 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7663 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7664 echo "$as_me:$LINENO: checking for $ac_word" >&5
7665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7666 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 if test -n "$DLLTOOL_FOR_TARGET"; then
7670 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
7672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir
=.
7677 for ac_exec_ext
in '' $ac_executable_extensions; do
7678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 DLLTOOL_FOR_TARGET
=$ac_cv_prog_DLLTOOL_FOR_TARGET
7689 if test -n "$DLLTOOL_FOR_TARGET"; then
7690 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7691 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7698 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
7699 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7700 set dummy
${ncn_progname}; ac_word
=$2
7701 echo "$as_me:$LINENO: checking for $ac_word" >&5
7702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7703 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 if test -n "$DLLTOOL_FOR_TARGET"; then
7707 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
7709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir
=.
7714 for ac_exec_ext
in '' $ac_executable_extensions; do
7715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_progname}"
7717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 DLLTOOL_FOR_TARGET
=$ac_cv_prog_DLLTOOL_FOR_TARGET
7726 if test -n "$DLLTOOL_FOR_TARGET"; then
7727 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7728 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7730 echo "$as_me:$LINENO: result: no" >&5
7731 echo "${ECHO_T}no" >&6
7735 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
7739 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
7741 if test $build = $target ; then
7742 DLLTOOL_FOR_TARGET
="$2"
7744 DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7749 DLLTOOL_FOR_TARGET
=$ac_cv_path_DLLTOOL_FOR_TARGET
7755 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
7756 if test -n "$with_build_time_tools"; then
7757 echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
7758 echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6
7759 if test -x $with_build_time_tools/ld
; then
7760 LD_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ld
7761 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
7762 echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
7763 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7768 elif test $build != $host && test $have_gcc_for_target = yes; then
7769 LD_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ld`
7770 test $LD_FOR_TARGET=ld
&& LD_FOR_TARGET
=
7771 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
7774 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7775 # Extract the first word of "ld", so it can be a program name with args.
7776 set dummy ld
; ac_word
=$2
7777 echo "$as_me:$LINENO: checking for $ac_word" >&5
7778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7779 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 case $LD_FOR_TARGET in
7784 ac_cv_path_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test with a path.
7787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7788 for as_dir
in $gcc_cv_tool_dirs
7791 test -z "$as_dir" && as_dir
=.
7792 for ac_exec_ext
in '' $ac_executable_extensions; do
7793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794 ac_cv_path_LD_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7804 LD_FOR_TARGET
=$ac_cv_path_LD_FOR_TARGET
7806 if test -n "$LD_FOR_TARGET"; then
7807 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7808 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7810 echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6
7815 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
7816 if test -n "$with_build_time_tools"; then
7817 for ncn_progname
in ld
; do
7818 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7819 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7820 if test -x $with_build_time_tools/${ncn_progname}; then
7821 ac_cv_prog_LD_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7832 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
7833 for ncn_progname
in ld
; do
7834 if test -n "$ncn_target_tool_prefix"; then
7835 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7836 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
7837 echo "$as_me:$LINENO: checking for $ac_word" >&5
7838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7839 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 if test -n "$LD_FOR_TARGET"; then
7843 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
7845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir
=.
7850 for ac_exec_ext
in '' $ac_executable_extensions; do
7851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_LD_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
7853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 LD_FOR_TARGET
=$ac_cv_prog_LD_FOR_TARGET
7862 if test -n "$LD_FOR_TARGET"; then
7863 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7864 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7871 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
7872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7873 set dummy
${ncn_progname}; ac_word
=$2
7874 echo "$as_me:$LINENO: checking for $ac_word" >&5
7875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7876 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
7877 echo $ECHO_N "(cached) $ECHO_C" >&6
7879 if test -n "$LD_FOR_TARGET"; then
7880 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
7882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir
=.
7887 for ac_exec_ext
in '' $ac_executable_extensions; do
7888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_LD_FOR_TARGET
="${ncn_progname}"
7890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 LD_FOR_TARGET
=$ac_cv_prog_LD_FOR_TARGET
7899 if test -n "$LD_FOR_TARGET"; then
7900 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
7901 echo "${ECHO_T}$LD_FOR_TARGET" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7908 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
7912 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
7914 if test $build = $target ; then
7917 LD_FOR_TARGET
="${ncn_target_tool_prefix}$2"
7922 LD_FOR_TARGET
=$ac_cv_path_LD_FOR_TARGET
7928 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
7929 if test -n "$with_build_time_tools"; then
7930 echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
7931 echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6
7932 if test -x $with_build_time_tools/lipo
; then
7933 LIPO_FOR_TARGET
=`cd $with_build_time_tools && pwd`/lipo
7934 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
7935 echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
7936 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
7938 echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6
7941 elif test $build != $host && test $have_gcc_for_target = yes; then
7942 LIPO_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=lipo`
7943 test $LIPO_FOR_TARGET=lipo
&& LIPO_FOR_TARGET
=
7944 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
7947 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7948 # Extract the first word of "lipo", so it can be a program name with args.
7949 set dummy lipo
; ac_word
=$2
7950 echo "$as_me:$LINENO: checking for $ac_word" >&5
7951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7952 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 case $LIPO_FOR_TARGET in
7957 ac_cv_path_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test with a path.
7960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7961 for as_dir
in $gcc_cv_tool_dirs
7964 test -z "$as_dir" && as_dir
=.
7965 for ac_exec_ext
in '' $ac_executable_extensions; do
7966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_path_LIPO_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
7968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 LIPO_FOR_TARGET
=$ac_cv_path_LIPO_FOR_TARGET
7979 if test -n "$LIPO_FOR_TARGET"; then
7980 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
7981 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
7983 echo "$as_me:$LINENO: result: no" >&5
7984 echo "${ECHO_T}no" >&6
7988 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
7989 if test -n "$with_build_time_tools"; then
7990 for ncn_progname
in lipo
; do
7991 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7992 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7993 if test -x $with_build_time_tools/${ncn_progname}; then
7994 ac_cv_prog_LIPO_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8005 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
8006 for ncn_progname
in lipo
; do
8007 if test -n "$ncn_target_tool_prefix"; then
8008 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8009 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8010 echo "$as_me:$LINENO: checking for $ac_word" >&5
8011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8012 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
8013 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 if test -n "$LIPO_FOR_TARGET"; then
8016 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
8018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir
=.
8023 for ac_exec_ext
in '' $ac_executable_extensions; do
8024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 LIPO_FOR_TARGET
=$ac_cv_prog_LIPO_FOR_TARGET
8035 if test -n "$LIPO_FOR_TARGET"; then
8036 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8037 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8044 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
8045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8046 set dummy
${ncn_progname}; ac_word
=$2
8047 echo "$as_me:$LINENO: checking for $ac_word" >&5
8048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8049 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 if test -n "$LIPO_FOR_TARGET"; then
8053 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
8055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir
=.
8060 for ac_exec_ext
in '' $ac_executable_extensions; do
8061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_progname}"
8063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 LIPO_FOR_TARGET
=$ac_cv_prog_LIPO_FOR_TARGET
8072 if test -n "$LIPO_FOR_TARGET"; then
8073 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8074 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8081 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
8085 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
8087 if test $build = $target ; then
8088 LIPO_FOR_TARGET
="$2"
8090 LIPO_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8095 LIPO_FOR_TARGET
=$ac_cv_path_LIPO_FOR_TARGET
8101 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
8102 if test -n "$with_build_time_tools"; then
8103 echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
8104 echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6
8105 if test -x $with_build_time_tools/nm
; then
8106 NM_FOR_TARGET
=`cd $with_build_time_tools && pwd`/nm
8107 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
8108 echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
8109 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8114 elif test $build != $host && test $have_gcc_for_target = yes; then
8115 NM_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=nm`
8116 test $NM_FOR_TARGET=nm
&& NM_FOR_TARGET
=
8117 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
8120 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8121 # Extract the first word of "nm", so it can be a program name with args.
8122 set dummy nm
; ac_word
=$2
8123 echo "$as_me:$LINENO: checking for $ac_word" >&5
8124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8125 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
8126 echo $ECHO_N "(cached) $ECHO_C" >&6
8128 case $NM_FOR_TARGET in
8130 ac_cv_path_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test with a path.
8133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8134 for as_dir
in $gcc_cv_tool_dirs
8137 test -z "$as_dir" && as_dir
=.
8138 for ac_exec_ext
in '' $ac_executable_extensions; do
8139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_path_NM_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 NM_FOR_TARGET
=$ac_cv_path_NM_FOR_TARGET
8152 if test -n "$NM_FOR_TARGET"; then
8153 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8154 echo "${ECHO_T}$NM_FOR_TARGET" >&6
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8161 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
8162 if test -n "$with_build_time_tools"; then
8163 for ncn_progname
in nm
; do
8164 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8165 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8166 if test -x $with_build_time_tools/${ncn_progname}; then
8167 ac_cv_prog_NM_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8172 echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6
8178 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
8179 for ncn_progname
in nm
; do
8180 if test -n "$ncn_target_tool_prefix"; then
8181 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8182 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8183 echo "$as_me:$LINENO: checking for $ac_word" >&5
8184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8185 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 if test -n "$NM_FOR_TARGET"; then
8189 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
8191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir
=.
8196 for ac_exec_ext
in '' $ac_executable_extensions; do
8197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8198 ac_cv_prog_NM_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8207 NM_FOR_TARGET
=$ac_cv_prog_NM_FOR_TARGET
8208 if test -n "$NM_FOR_TARGET"; then
8209 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8210 echo "${ECHO_T}$NM_FOR_TARGET" >&6
8212 echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6
8217 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
8218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8219 set dummy
${ncn_progname}; ac_word
=$2
8220 echo "$as_me:$LINENO: checking for $ac_word" >&5
8221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8222 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 if test -n "$NM_FOR_TARGET"; then
8226 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
8228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8232 test -z "$as_dir" && as_dir
=.
8233 for ac_exec_ext
in '' $ac_executable_extensions; do
8234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8235 ac_cv_prog_NM_FOR_TARGET
="${ncn_progname}"
8236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 NM_FOR_TARGET
=$ac_cv_prog_NM_FOR_TARGET
8245 if test -n "$NM_FOR_TARGET"; then
8246 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8247 echo "${ECHO_T}$NM_FOR_TARGET" >&6
8249 echo "$as_me:$LINENO: result: no" >&5
8250 echo "${ECHO_T}no" >&6
8254 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
8258 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
8260 if test $build = $target ; then
8263 NM_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8268 NM_FOR_TARGET
=$ac_cv_path_NM_FOR_TARGET
8274 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
8275 if test -n "$with_build_time_tools"; then
8276 echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
8277 echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6
8278 if test -x $with_build_time_tools/objdump
; then
8279 OBJDUMP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/objdump
8280 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
8281 echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
8282 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
8284 echo "$as_me:$LINENO: result: no" >&5
8285 echo "${ECHO_T}no" >&6
8287 elif test $build != $host && test $have_gcc_for_target = yes; then
8288 OBJDUMP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=objdump`
8289 test $OBJDUMP_FOR_TARGET=objdump
&& OBJDUMP_FOR_TARGET
=
8290 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
8293 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8294 # Extract the first word of "objdump", so it can be a program name with args.
8295 set dummy objdump
; ac_word
=$2
8296 echo "$as_me:$LINENO: checking for $ac_word" >&5
8297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8298 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 case $OBJDUMP_FOR_TARGET in
8303 ac_cv_path_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
8306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8307 for as_dir
in $gcc_cv_tool_dirs
8310 test -z "$as_dir" && as_dir
=.
8311 for ac_exec_ext
in '' $ac_executable_extensions; do
8312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8313 ac_cv_path_OBJDUMP_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 OBJDUMP_FOR_TARGET
=$ac_cv_path_OBJDUMP_FOR_TARGET
8325 if test -n "$OBJDUMP_FOR_TARGET"; then
8326 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8327 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8334 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
8335 if test -n "$with_build_time_tools"; then
8336 for ncn_progname
in objdump
; do
8337 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8338 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8339 if test -x $with_build_time_tools/${ncn_progname}; then
8340 ac_cv_prog_OBJDUMP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8341 echo "$as_me:$LINENO: result: yes" >&5
8342 echo "${ECHO_T}yes" >&6
8345 echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6
8351 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
8352 for ncn_progname
in objdump
; do
8353 if test -n "$ncn_target_tool_prefix"; then
8354 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8355 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8356 echo "$as_me:$LINENO: checking for $ac_word" >&5
8357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8358 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 if test -n "$OBJDUMP_FOR_TARGET"; then
8362 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
8364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir
=.
8369 for ac_exec_ext
in '' $ac_executable_extensions; do
8370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8380 OBJDUMP_FOR_TARGET
=$ac_cv_prog_OBJDUMP_FOR_TARGET
8381 if test -n "$OBJDUMP_FOR_TARGET"; then
8382 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8383 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8385 echo "$as_me:$LINENO: result: no" >&5
8386 echo "${ECHO_T}no" >&6
8390 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
8391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8392 set dummy
${ncn_progname}; ac_word
=$2
8393 echo "$as_me:$LINENO: checking for $ac_word" >&5
8394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8395 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8396 echo $ECHO_N "(cached) $ECHO_C" >&6
8398 if test -n "$OBJDUMP_FOR_TARGET"; then
8399 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8408 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_progname}"
8409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8417 OBJDUMP_FOR_TARGET
=$ac_cv_prog_OBJDUMP_FOR_TARGET
8418 if test -n "$OBJDUMP_FOR_TARGET"; then
8419 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8420 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8427 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
8431 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
8433 if test $build = $target ; then
8434 OBJDUMP_FOR_TARGET
="$2"
8436 OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8441 OBJDUMP_FOR_TARGET
=$ac_cv_path_OBJDUMP_FOR_TARGET
8447 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
8448 if test -n "$with_build_time_tools"; then
8449 echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
8450 echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6
8451 if test -x $with_build_time_tools/ranlib
; then
8452 RANLIB_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ranlib
8453 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
8454 echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
8455 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
8457 echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6
8460 elif test $build != $host && test $have_gcc_for_target = yes; then
8461 RANLIB_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ranlib`
8462 test $RANLIB_FOR_TARGET=ranlib
&& RANLIB_FOR_TARGET
=
8463 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
8466 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8467 # Extract the first word of "ranlib", so it can be a program name with args.
8468 set dummy ranlib
; ac_word
=$2
8469 echo "$as_me:$LINENO: checking for $ac_word" >&5
8470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8471 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
8472 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 case $RANLIB_FOR_TARGET in
8476 ac_cv_path_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
8479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8480 for as_dir
in $gcc_cv_tool_dirs
8483 test -z "$as_dir" && as_dir
=.
8484 for ac_exec_ext
in '' $ac_executable_extensions; do
8485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8486 ac_cv_path_RANLIB_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8496 RANLIB_FOR_TARGET
=$ac_cv_path_RANLIB_FOR_TARGET
8498 if test -n "$RANLIB_FOR_TARGET"; then
8499 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8500 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8502 echo "$as_me:$LINENO: result: no" >&5
8503 echo "${ECHO_T}no" >&6
8507 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
8508 if test -n "$with_build_time_tools"; then
8509 for ncn_progname
in ranlib
; do
8510 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8511 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8512 if test -x $with_build_time_tools/${ncn_progname}; then
8513 ac_cv_prog_RANLIB_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8524 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
8525 for ncn_progname
in ranlib
; do
8526 if test -n "$ncn_target_tool_prefix"; then
8527 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8528 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8529 echo "$as_me:$LINENO: checking for $ac_word" >&5
8530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8531 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 if test -n "$RANLIB_FOR_TARGET"; then
8535 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
8537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir
=.
8542 for ac_exec_ext
in '' $ac_executable_extensions; do
8543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8544 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 RANLIB_FOR_TARGET
=$ac_cv_prog_RANLIB_FOR_TARGET
8554 if test -n "$RANLIB_FOR_TARGET"; then
8555 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8556 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8563 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
8564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8565 set dummy
${ncn_progname}; ac_word
=$2
8566 echo "$as_me:$LINENO: checking for $ac_word" >&5
8567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8568 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 if test -n "$RANLIB_FOR_TARGET"; then
8572 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
8574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir
=.
8579 for ac_exec_ext
in '' $ac_executable_extensions; do
8580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8581 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_progname}"
8582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8590 RANLIB_FOR_TARGET
=$ac_cv_prog_RANLIB_FOR_TARGET
8591 if test -n "$RANLIB_FOR_TARGET"; then
8592 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
8593 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8600 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
8604 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
8606 if test $build = $target ; then
8607 RANLIB_FOR_TARGET
="$2"
8609 RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8614 RANLIB_FOR_TARGET
=$ac_cv_path_RANLIB_FOR_TARGET
8620 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
8621 if test -n "$with_build_time_tools"; then
8622 echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
8623 echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6
8624 if test -x $with_build_time_tools/strip
; then
8625 STRIP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/strip
8626 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
8627 echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
8628 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
8630 echo "$as_me:$LINENO: result: no" >&5
8631 echo "${ECHO_T}no" >&6
8633 elif test $build != $host && test $have_gcc_for_target = yes; then
8634 STRIP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=strip`
8635 test $STRIP_FOR_TARGET=strip
&& STRIP_FOR_TARGET
=
8636 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
8639 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8640 # Extract the first word of "strip", so it can be a program name with args.
8641 set dummy strip
; ac_word
=$2
8642 echo "$as_me:$LINENO: checking for $ac_word" >&5
8643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8644 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 case $STRIP_FOR_TARGET in
8649 ac_cv_path_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test with a path.
8652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8653 for as_dir
in $gcc_cv_tool_dirs
8656 test -z "$as_dir" && as_dir
=.
8657 for ac_exec_ext
in '' $ac_executable_extensions; do
8658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8659 ac_cv_path_STRIP_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8669 STRIP_FOR_TARGET
=$ac_cv_path_STRIP_FOR_TARGET
8671 if test -n "$STRIP_FOR_TARGET"; then
8672 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8673 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8675 echo "$as_me:$LINENO: result: no" >&5
8676 echo "${ECHO_T}no" >&6
8680 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
8681 if test -n "$with_build_time_tools"; then
8682 for ncn_progname
in strip
; do
8683 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8684 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8685 if test -x $with_build_time_tools/${ncn_progname}; then
8686 ac_cv_prog_STRIP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
8698 for ncn_progname
in strip
; do
8699 if test -n "$ncn_target_tool_prefix"; then
8700 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8701 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8702 echo "$as_me:$LINENO: checking for $ac_word" >&5
8703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8704 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 if test -n "$STRIP_FOR_TARGET"; then
8708 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
8710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8714 test -z "$as_dir" && as_dir
=.
8715 for ac_exec_ext
in '' $ac_executable_extensions; do
8716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8717 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8726 STRIP_FOR_TARGET
=$ac_cv_prog_STRIP_FOR_TARGET
8727 if test -n "$STRIP_FOR_TARGET"; then
8728 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8729 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8736 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
8737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8738 set dummy
${ncn_progname}; ac_word
=$2
8739 echo "$as_me:$LINENO: checking for $ac_word" >&5
8740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8741 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 if test -n "$STRIP_FOR_TARGET"; then
8745 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
8747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8751 test -z "$as_dir" && as_dir
=.
8752 for ac_exec_ext
in '' $ac_executable_extensions; do
8753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8754 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_progname}"
8755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 STRIP_FOR_TARGET
=$ac_cv_prog_STRIP_FOR_TARGET
8764 if test -n "$STRIP_FOR_TARGET"; then
8765 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
8766 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8773 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
8777 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
8779 if test $build = $target ; then
8780 STRIP_FOR_TARGET
="$2"
8782 STRIP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8787 STRIP_FOR_TARGET
=$ac_cv_path_STRIP_FOR_TARGET
8793 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
8794 if test -n "$with_build_time_tools"; then
8795 echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
8796 echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6
8797 if test -x $with_build_time_tools/windres
; then
8798 WINDRES_FOR_TARGET
=`cd $with_build_time_tools && pwd`/windres
8799 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
8800 echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
8801 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8806 elif test $build != $host && test $have_gcc_for_target = yes; then
8807 WINDRES_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=windres`
8808 test $WINDRES_FOR_TARGET=windres
&& WINDRES_FOR_TARGET
=
8809 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
8812 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8813 # Extract the first word of "windres", so it can be a program name with args.
8814 set dummy windres
; ac_word
=$2
8815 echo "$as_me:$LINENO: checking for $ac_word" >&5
8816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8817 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 case $WINDRES_FOR_TARGET in
8822 ac_cv_path_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
8825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8826 for as_dir
in $gcc_cv_tool_dirs
8829 test -z "$as_dir" && as_dir
=.
8830 for ac_exec_ext
in '' $ac_executable_extensions; do
8831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8832 ac_cv_path_WINDRES_FOR_TARGET
="$as_dir/$ac_word$ac_exec_ext"
8833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8842 WINDRES_FOR_TARGET
=$ac_cv_path_WINDRES_FOR_TARGET
8844 if test -n "$WINDRES_FOR_TARGET"; then
8845 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8846 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8848 echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6
8853 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
8854 if test -n "$with_build_time_tools"; then
8855 for ncn_progname
in windres
; do
8856 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8857 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8858 if test -x $with_build_time_tools/${ncn_progname}; then
8859 ac_cv_prog_WINDRES_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
8860 echo "$as_me:$LINENO: result: yes" >&5
8861 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
8871 for ncn_progname
in windres
; do
8872 if test -n "$ncn_target_tool_prefix"; then
8873 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8874 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
8875 echo "$as_me:$LINENO: checking for $ac_word" >&5
8876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8877 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 if test -n "$WINDRES_FOR_TARGET"; then
8881 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
8883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir
=.
8888 for ac_exec_ext
in '' $ac_executable_extensions; do
8889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8890 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
8891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 WINDRES_FOR_TARGET
=$ac_cv_prog_WINDRES_FOR_TARGET
8900 if test -n "$WINDRES_FOR_TARGET"; then
8901 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8902 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8904 echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6
8909 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
8910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8911 set dummy
${ncn_progname}; ac_word
=$2
8912 echo "$as_me:$LINENO: checking for $ac_word" >&5
8913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8914 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 if test -n "$WINDRES_FOR_TARGET"; then
8918 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
8920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8924 test -z "$as_dir" && as_dir
=.
8925 for ac_exec_ext
in '' $ac_executable_extensions; do
8926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8927 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_progname}"
8928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8936 WINDRES_FOR_TARGET
=$ac_cv_prog_WINDRES_FOR_TARGET
8937 if test -n "$WINDRES_FOR_TARGET"; then
8938 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
8939 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
8941 echo "$as_me:$LINENO: result: no" >&5
8942 echo "${ECHO_T}no" >&6
8946 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
8950 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
8952 if test $build = $target ; then
8953 WINDRES_FOR_TARGET
="$2"
8955 WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}$2"
8960 WINDRES_FOR_TARGET
=$ac_cv_path_WINDRES_FOR_TARGET
8964 RAW_CXX_FOR_TARGET
="$CXX_FOR_TARGET"
8966 echo "$as_me:$LINENO: checking where to find the target ar" >&5
8967 echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
8968 if test "x${build}" != "x${host}" ; then
8969 if expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
8970 # We already found the complete path
8971 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5
8972 echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6
8974 # Canadian cross, just use what we found
8975 echo "$as_me:$LINENO: result: pre-installed" >&5
8976 echo "${ECHO_T}pre-installed" >&6
8980 case " ${configdirs} " in
8985 if test $ok = yes; then
8986 # An in-tree tool is available and we can use it
8987 AR_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ar'
8988 echo "$as_me:$LINENO: result: just compiled" >&5
8989 echo "${ECHO_T}just compiled" >&6
8990 elif expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
8991 # We already found the complete path
8992 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AR_FOR_TARGET\`" >&5
8993 echo "${ECHO_T}pre-installed in \`dirname $AR_FOR_TARGET\`" >&6
8994 elif test "x$target" = "x$host"; then
8995 # We can use an host tool
8996 AR_FOR_TARGET
='$(AR)'
8997 echo "$as_me:$LINENO: result: host tool" >&5
8998 echo "${ECHO_T}host tool" >&6
9000 # We need a cross tool
9001 echo "$as_me:$LINENO: result: pre-installed" >&5
9002 echo "${ECHO_T}pre-installed" >&6
9006 echo "$as_me:$LINENO: checking where to find the target as" >&5
9007 echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
9008 if test "x${build}" != "x${host}" ; then
9009 if expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
9010 # We already found the complete path
9011 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5
9012 echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6
9014 # Canadian cross, just use what we found
9015 echo "$as_me:$LINENO: result: pre-installed" >&5
9016 echo "${ECHO_T}pre-installed" >&6
9020 case " ${configdirs} " in
9025 if test $ok = yes; then
9026 # An in-tree tool is available and we can use it
9027 AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gas/as-new'
9028 echo "$as_me:$LINENO: result: just compiled" >&5
9029 echo "${ECHO_T}just compiled" >&6
9030 elif expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
9031 # We already found the complete path
9032 echo "$as_me:$LINENO: result: pre-installed in \`dirname $AS_FOR_TARGET\`" >&5
9033 echo "${ECHO_T}pre-installed in \`dirname $AS_FOR_TARGET\`" >&6
9034 elif test "x$target" = "x$host"; then
9035 # We can use an host tool
9036 AS_FOR_TARGET
='$(AS)'
9037 echo "$as_me:$LINENO: result: host tool" >&5
9038 echo "${ECHO_T}host tool" >&6
9040 # We need a cross tool
9041 echo "$as_me:$LINENO: result: pre-installed" >&5
9042 echo "${ECHO_T}pre-installed" >&6
9046 echo "$as_me:$LINENO: checking where to find the target cc" >&5
9047 echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
9048 if test "x${build}" != "x${host}" ; then
9049 if expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
9050 # We already found the complete path
9051 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5
9052 echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6
9054 # Canadian cross, just use what we found
9055 echo "$as_me:$LINENO: result: pre-installed" >&5
9056 echo "${ECHO_T}pre-installed" >&6
9060 case " ${configdirs} " in
9065 if test $ok = yes; then
9066 # An in-tree tool is available and we can use it
9067 CC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
9068 echo "$as_me:$LINENO: result: just compiled" >&5
9069 echo "${ECHO_T}just compiled" >&6
9070 elif expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
9071 # We already found the complete path
9072 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CC_FOR_TARGET\`" >&5
9073 echo "${ECHO_T}pre-installed in \`dirname $CC_FOR_TARGET\`" >&6
9074 elif test "x$target" = "x$host"; then
9075 # We can use an host tool
9076 CC_FOR_TARGET
='$(CC)'
9077 echo "$as_me:$LINENO: result: host tool" >&5
9078 echo "${ECHO_T}host tool" >&6
9080 # We need a cross tool
9081 echo "$as_me:$LINENO: result: pre-installed" >&5
9082 echo "${ECHO_T}pre-installed" >&6
9086 echo "$as_me:$LINENO: checking where to find the target c++" >&5
9087 echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
9088 if test "x${build}" != "x${host}" ; then
9089 if expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
9090 # We already found the complete path
9091 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5
9092 echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6
9094 # Canadian cross, just use what we found
9095 echo "$as_me:$LINENO: result: pre-installed" >&5
9096 echo "${ECHO_T}pre-installed" >&6
9100 case " ${configdirs} " in
9104 case ,${enable_languages}, in
9108 if test $ok = yes; then
9109 # An in-tree tool is available and we can use it
9110 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'
9111 echo "$as_me:$LINENO: result: just compiled" >&5
9112 echo "${ECHO_T}just compiled" >&6
9113 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
9114 # We already found the complete path
9115 echo "$as_me:$LINENO: result: pre-installed in \`dirname $CXX_FOR_TARGET\`" >&5
9116 echo "${ECHO_T}pre-installed in \`dirname $CXX_FOR_TARGET\`" >&6
9117 elif test "x$target" = "x$host"; then
9118 # We can use an host tool
9119 CXX_FOR_TARGET
='$(CXX)'
9120 echo "$as_me:$LINENO: result: host tool" >&5
9121 echo "${ECHO_T}host tool" >&6
9123 # We need a cross tool
9124 echo "$as_me:$LINENO: result: pre-installed" >&5
9125 echo "${ECHO_T}pre-installed" >&6
9129 echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
9130 echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
9131 if test "x${build}" != "x${host}" ; then
9132 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
9133 # We already found the complete path
9134 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5
9135 echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6
9137 # Canadian cross, just use what we found
9138 echo "$as_me:$LINENO: result: pre-installed" >&5
9139 echo "${ECHO_T}pre-installed" >&6
9143 case " ${configdirs} " in
9147 case ,${enable_languages}, in
9151 if test $ok = yes; then
9152 # An in-tree tool is available and we can use it
9153 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'
9154 echo "$as_me:$LINENO: result: just compiled" >&5
9155 echo "${ECHO_T}just compiled" >&6
9156 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
9157 # We already found the complete path
9158 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&5
9159 echo "${ECHO_T}pre-installed in \`dirname $RAW_CXX_FOR_TARGET\`" >&6
9160 elif test "x$target" = "x$host"; then
9161 # We can use an host tool
9162 RAW_CXX_FOR_TARGET
='$(CXX)'
9163 echo "$as_me:$LINENO: result: host tool" >&5
9164 echo "${ECHO_T}host tool" >&6
9166 # We need a cross tool
9167 echo "$as_me:$LINENO: result: pre-installed" >&5
9168 echo "${ECHO_T}pre-installed" >&6
9172 echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
9173 echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
9174 if test "x${build}" != "x${host}" ; then
9175 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
9176 # We already found the complete path
9177 echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5
9178 echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6
9180 # Canadian cross, just use what we found
9181 echo "$as_me:$LINENO: result: pre-installed" >&5
9182 echo "${ECHO_T}pre-installed" >&6
9186 case " ${configdirs} " in
9191 if test $ok = yes; then
9192 # An in-tree tool is available and we can use it
9193 DLLTOOL_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/dlltool'
9194 echo "$as_me:$LINENO: result: just compiled" >&5
9195 echo "${ECHO_T}just compiled" >&6
9196 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
9197 # We already found the complete path
9198 echo "$as_me:$LINENO: result: pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&5
9199 echo "${ECHO_T}pre-installed in \`dirname $DLLTOOL_FOR_TARGET\`" >&6
9200 elif test "x$target" = "x$host"; then
9201 # We can use an host tool
9202 DLLTOOL_FOR_TARGET
='$(DLLTOOL)'
9203 echo "$as_me:$LINENO: result: host tool" >&5
9204 echo "${ECHO_T}host tool" >&6
9206 # We need a cross tool
9207 echo "$as_me:$LINENO: result: pre-installed" >&5
9208 echo "${ECHO_T}pre-installed" >&6
9212 echo "$as_me:$LINENO: checking where to find the target gcc" >&5
9213 echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
9214 if test "x${build}" != "x${host}" ; then
9215 if expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
9216 # We already found the complete path
9217 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5
9218 echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6
9220 # Canadian cross, just use what we found
9221 echo "$as_me:$LINENO: result: pre-installed" >&5
9222 echo "${ECHO_T}pre-installed" >&6
9226 case " ${configdirs} " in
9231 if test $ok = yes; then
9232 # An in-tree tool is available and we can use it
9233 GCC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
9234 echo "$as_me:$LINENO: result: just compiled" >&5
9235 echo "${ECHO_T}just compiled" >&6
9236 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
9237 # We already found the complete path
9238 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCC_FOR_TARGET\`" >&5
9239 echo "${ECHO_T}pre-installed in \`dirname $GCC_FOR_TARGET\`" >&6
9240 elif test "x$target" = "x$host"; then
9241 # We can use an host tool
9242 GCC_FOR_TARGET
='$()'
9243 echo "$as_me:$LINENO: result: host tool" >&5
9244 echo "${ECHO_T}host tool" >&6
9246 # We need a cross tool
9247 echo "$as_me:$LINENO: result: pre-installed" >&5
9248 echo "${ECHO_T}pre-installed" >&6
9252 echo "$as_me:$LINENO: checking where to find the target gcj" >&5
9253 echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
9254 if test "x${build}" != "x${host}" ; then
9255 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
9256 # We already found the complete path
9257 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5
9258 echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6
9260 # Canadian cross, just use what we found
9261 echo "$as_me:$LINENO: result: pre-installed" >&5
9262 echo "${ECHO_T}pre-installed" >&6
9266 case " ${configdirs} " in
9270 case ,${enable_languages}, in
9274 if test $ok = yes; then
9275 # An in-tree tool is available and we can use it
9276 GCJ_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
9277 echo "$as_me:$LINENO: result: just compiled" >&5
9278 echo "${ECHO_T}just compiled" >&6
9279 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
9280 # We already found the complete path
9281 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&5
9282 echo "${ECHO_T}pre-installed in \`dirname $GCJ_FOR_TARGET\`" >&6
9283 elif test "x$target" = "x$host"; then
9284 # We can use an host tool
9285 GCJ_FOR_TARGET
='$(GCJ)'
9286 echo "$as_me:$LINENO: result: host tool" >&5
9287 echo "${ECHO_T}host tool" >&6
9289 # We need a cross tool
9290 echo "$as_me:$LINENO: result: pre-installed" >&5
9291 echo "${ECHO_T}pre-installed" >&6
9295 echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
9296 echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
9297 if test "x${build}" != "x${host}" ; then
9298 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
9299 # We already found the complete path
9300 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5
9301 echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6
9303 # Canadian cross, just use what we found
9304 echo "$as_me:$LINENO: result: pre-installed" >&5
9305 echo "${ECHO_T}pre-installed" >&6
9309 case " ${configdirs} " in
9313 case ,${enable_languages}, in
9317 if test $ok = yes; then
9318 # An in-tree tool is available and we can use it
9319 GFORTRAN_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
9320 echo "$as_me:$LINENO: result: just compiled" >&5
9321 echo "${ECHO_T}just compiled" >&6
9322 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
9323 # We already found the complete path
9324 echo "$as_me:$LINENO: result: pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&5
9325 echo "${ECHO_T}pre-installed in \`dirname $GFORTRAN_FOR_TARGET\`" >&6
9326 elif test "x$target" = "x$host"; then
9327 # We can use an host tool
9328 GFORTRAN_FOR_TARGET
='$(GFORTRAN)'
9329 echo "$as_me:$LINENO: result: host tool" >&5
9330 echo "${ECHO_T}host tool" >&6
9332 # We need a cross tool
9333 echo "$as_me:$LINENO: result: pre-installed" >&5
9334 echo "${ECHO_T}pre-installed" >&6
9338 echo "$as_me:$LINENO: checking where to find the target ld" >&5
9339 echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
9340 if test "x${build}" != "x${host}" ; then
9341 if expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
9342 # We already found the complete path
9343 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5
9344 echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6
9346 # Canadian cross, just use what we found
9347 echo "$as_me:$LINENO: result: pre-installed" >&5
9348 echo "${ECHO_T}pre-installed" >&6
9352 case " ${configdirs} " in
9357 if test $ok = yes; then
9358 # An in-tree tool is available and we can use it
9359 LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/ld/ld-new'
9360 echo "$as_me:$LINENO: result: just compiled" >&5
9361 echo "${ECHO_T}just compiled" >&6
9362 elif expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
9363 # We already found the complete path
9364 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LD_FOR_TARGET\`" >&5
9365 echo "${ECHO_T}pre-installed in \`dirname $LD_FOR_TARGET\`" >&6
9366 elif test "x$target" = "x$host"; then
9367 # We can use an host tool
9368 LD_FOR_TARGET
='$(LD)'
9369 echo "$as_me:$LINENO: result: host tool" >&5
9370 echo "${ECHO_T}host tool" >&6
9372 # We need a cross tool
9373 echo "$as_me:$LINENO: result: pre-installed" >&5
9374 echo "${ECHO_T}pre-installed" >&6
9378 echo "$as_me:$LINENO: checking where to find the target lipo" >&5
9379 echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
9380 if test "x${build}" != "x${host}" ; then
9381 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
9382 # We already found the complete path
9383 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5
9384 echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6
9386 # Canadian cross, just use what we found
9387 echo "$as_me:$LINENO: result: pre-installed" >&5
9388 echo "${ECHO_T}pre-installed" >&6
9391 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
9392 # We already found the complete path
9393 echo "$as_me:$LINENO: result: pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&5
9394 echo "${ECHO_T}pre-installed in \`dirname $LIPO_FOR_TARGET\`" >&6
9395 elif test "x$target" = "x$host"; then
9396 # We can use an host tool
9397 LIPO_FOR_TARGET
='$(LIPO)'
9398 echo "$as_me:$LINENO: result: host tool" >&5
9399 echo "${ECHO_T}host tool" >&6
9401 # We need a cross tool
9402 echo "$as_me:$LINENO: result: pre-installed" >&5
9403 echo "${ECHO_T}pre-installed" >&6
9407 echo "$as_me:$LINENO: checking where to find the target nm" >&5
9408 echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
9409 if test "x${build}" != "x${host}" ; then
9410 if expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
9411 # We already found the complete path
9412 echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5
9413 echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6
9415 # Canadian cross, just use what we found
9416 echo "$as_me:$LINENO: result: pre-installed" >&5
9417 echo "${ECHO_T}pre-installed" >&6
9421 case " ${configdirs} " in
9426 if test $ok = yes; then
9427 # An in-tree tool is available and we can use it
9428 NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/nm-new'
9429 echo "$as_me:$LINENO: result: just compiled" >&5
9430 echo "${ECHO_T}just compiled" >&6
9431 elif expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
9432 # We already found the complete path
9433 echo "$as_me:$LINENO: result: pre-installed in \`dirname $NM_FOR_TARGET\`" >&5
9434 echo "${ECHO_T}pre-installed in \`dirname $NM_FOR_TARGET\`" >&6
9435 elif test "x$target" = "x$host"; then
9436 # We can use an host tool
9437 NM_FOR_TARGET
='$(NM)'
9438 echo "$as_me:$LINENO: result: host tool" >&5
9439 echo "${ECHO_T}host tool" >&6
9441 # We need a cross tool
9442 echo "$as_me:$LINENO: result: pre-installed" >&5
9443 echo "${ECHO_T}pre-installed" >&6
9447 echo "$as_me:$LINENO: checking where to find the target objdump" >&5
9448 echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
9449 if test "x${build}" != "x${host}" ; then
9450 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
9451 # We already found the complete path
9452 echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5
9453 echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6
9455 # Canadian cross, just use what we found
9456 echo "$as_me:$LINENO: result: pre-installed" >&5
9457 echo "${ECHO_T}pre-installed" >&6
9461 case " ${configdirs} " in
9466 if test $ok = yes; then
9467 # An in-tree tool is available and we can use it
9468 OBJDUMP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/objdump'
9469 echo "$as_me:$LINENO: result: just compiled" >&5
9470 echo "${ECHO_T}just compiled" >&6
9471 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
9472 # We already found the complete path
9473 echo "$as_me:$LINENO: result: pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&5
9474 echo "${ECHO_T}pre-installed in \`dirname $OBJDUMP_FOR_TARGET\`" >&6
9475 elif test "x$target" = "x$host"; then
9476 # We can use an host tool
9477 OBJDUMP_FOR_TARGET
='$(OBJDUMP)'
9478 echo "$as_me:$LINENO: result: host tool" >&5
9479 echo "${ECHO_T}host tool" >&6
9481 # We need a cross tool
9482 echo "$as_me:$LINENO: result: pre-installed" >&5
9483 echo "${ECHO_T}pre-installed" >&6
9487 echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
9488 echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
9489 if test "x${build}" != "x${host}" ; then
9490 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
9491 # We already found the complete path
9492 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5
9493 echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6
9495 # Canadian cross, just use what we found
9496 echo "$as_me:$LINENO: result: pre-installed" >&5
9497 echo "${ECHO_T}pre-installed" >&6
9501 case " ${configdirs} " in
9506 if test $ok = yes; then
9507 # An in-tree tool is available and we can use it
9508 RANLIB_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ranlib'
9509 echo "$as_me:$LINENO: result: just compiled" >&5
9510 echo "${ECHO_T}just compiled" >&6
9511 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
9512 # We already found the complete path
9513 echo "$as_me:$LINENO: result: pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&5
9514 echo "${ECHO_T}pre-installed in \`dirname $RANLIB_FOR_TARGET\`" >&6
9515 elif test "x$target" = "x$host"; then
9516 # We can use an host tool
9517 RANLIB_FOR_TARGET
='$(RANLIB)'
9518 echo "$as_me:$LINENO: result: host tool" >&5
9519 echo "${ECHO_T}host tool" >&6
9521 # We need a cross tool
9522 echo "$as_me:$LINENO: result: pre-installed" >&5
9523 echo "${ECHO_T}pre-installed" >&6
9527 echo "$as_me:$LINENO: checking where to find the target strip" >&5
9528 echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
9529 if test "x${build}" != "x${host}" ; then
9530 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
9531 # We already found the complete path
9532 echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5
9533 echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6
9535 # Canadian cross, just use what we found
9536 echo "$as_me:$LINENO: result: pre-installed" >&5
9537 echo "${ECHO_T}pre-installed" >&6
9541 case " ${configdirs} " in
9546 if test $ok = yes; then
9547 # An in-tree tool is available and we can use it
9548 STRIP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/strip'
9549 echo "$as_me:$LINENO: result: just compiled" >&5
9550 echo "${ECHO_T}just compiled" >&6
9551 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
9552 # We already found the complete path
9553 echo "$as_me:$LINENO: result: pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&5
9554 echo "${ECHO_T}pre-installed in \`dirname $STRIP_FOR_TARGET\`" >&6
9555 elif test "x$target" = "x$host"; then
9556 # We can use an host tool
9557 STRIP_FOR_TARGET
='$(STRIP)'
9558 echo "$as_me:$LINENO: result: host tool" >&5
9559 echo "${ECHO_T}host tool" >&6
9561 # We need a cross tool
9562 echo "$as_me:$LINENO: result: pre-installed" >&5
9563 echo "${ECHO_T}pre-installed" >&6
9567 echo "$as_me:$LINENO: checking where to find the target windres" >&5
9568 echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
9569 if test "x${build}" != "x${host}" ; then
9570 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
9571 # We already found the complete path
9572 echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5
9573 echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6
9575 # Canadian cross, just use what we found
9576 echo "$as_me:$LINENO: result: pre-installed" >&5
9577 echo "${ECHO_T}pre-installed" >&6
9581 case " ${configdirs} " in
9586 if test $ok = yes; then
9587 # An in-tree tool is available and we can use it
9588 WINDRES_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/windres'
9589 echo "$as_me:$LINENO: result: just compiled" >&5
9590 echo "${ECHO_T}just compiled" >&6
9591 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
9592 # We already found the complete path
9593 echo "$as_me:$LINENO: result: pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&5
9594 echo "${ECHO_T}pre-installed in \`dirname $WINDRES_FOR_TARGET\`" >&6
9595 elif test "x$target" = "x$host"; then
9596 # We can use an host tool
9597 WINDRES_FOR_TARGET
='$(WINDRES)'
9598 echo "$as_me:$LINENO: result: host tool" >&5
9599 echo "${ECHO_T}host tool" >&6
9601 # We need a cross tool
9602 echo "$as_me:$LINENO: result: pre-installed" >&5
9603 echo "${ECHO_T}pre-installed" >&6
9611 # Certain tools may need extra flags.
9612 AR_FOR_TARGET
=${AR_FOR_TARGET}${extra_arflags_for_target}
9613 RANLIB_FOR_TARGET
=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
9614 NM_FOR_TARGET
=${NM_FOR_TARGET}${extra_nmflags_for_target}
9616 # When building target libraries, except in a Canadian cross, we use
9617 # the same toolchain as the compiler we just built.
9618 COMPILER_AS_FOR_TARGET
='$(AS_FOR_TARGET)'
9619 COMPILER_LD_FOR_TARGET
='$(LD_FOR_TARGET)'
9620 COMPILER_NM_FOR_TARGET
='$(NM_FOR_TARGET)'
9621 if test $host = $build; then
9622 case " $configdirs " in
9624 COMPILER_AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/as'
9625 COMPILER_LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
9626 COMPILER_NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
9635 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9636 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9637 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9638 if test "${enable_maintainer_mode+set}" = set; then
9639 enableval
="$enable_maintainer_mode"
9640 USE_MAINTAINER_MODE
=$enableval
9642 USE_MAINTAINER_MODE
=no
9644 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
9645 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
9648 if test "$USE_MAINTAINER_MODE" = yes; then
9649 MAINTAINER_MODE_TRUE
=
9650 MAINTAINER_MODE_FALSE
='#'
9652 MAINTAINER_MODE_TRUE
='#'
9653 MAINTAINER_MODE_FALSE
=
9655 MAINT
=$MAINTAINER_MODE_TRUE
9657 # ---------------------
9658 # GCC bootstrap support
9659 # ---------------------
9661 # Stage specific cflags for build.
9666 yes) stage1_cflags
="-g -Wa,-J" ;;
9667 *) stage1_cflags
="-g -J" ;;
9671 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
9672 if test "$GCC" = yes; then
9673 saved_CFLAGS
="$CFLAGS"
9675 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
9676 CFLAGS
="$CFLAGS -fkeep-inline-functions"
9677 echo "$as_me:$LINENO: checking whether -fkeep-inline-functions is supported" >&5
9678 echo $ECHO_N "checking whether -fkeep-inline-functions is supported... $ECHO_C" >&6
9679 cat >conftest.
$ac_ext <<_ACEOF
9682 cat confdefs.h
>>conftest.
$ac_ext
9683 cat >>conftest.
$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9694 rm -f conftest.
$ac_objext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9696 (eval $ac_compile) 2>conftest.er1
9698 grep -v '^ *+' conftest.er1
>conftest.err
9700 cat conftest.err
>&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } &&
9703 { ac_try
='test -z "$ac_c_werror_flag"
9704 || test ! -s conftest.err'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; } &&
9710 { ac_try
='test -s conftest.$ac_objext'
9711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); }; }; then
9716 echo "$as_me:$LINENO: result: yes" >&5
9717 echo "${ECHO_T}yes" >&6; stage1_cflags
="$stage1_cflags -fkeep-inline-functions"
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.
$ac_ext >&5
9722 echo "$as_me:$LINENO: result: no" >&5
9723 echo "${ECHO_T}no" >&6
9725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9727 CFLAGS
="$saved_CFLAGS"
9732 # Enable --enable-checking in stage1 of the compiler.
9733 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
9734 if test "${enable_stage1_checking+set}" = set; then
9735 enableval
="$enable_stage1_checking"
9736 stage1_checking
=--enable-checking=${enable_stage1_checking}
9738 if test "x$enable_checking" = xno
; then
9739 stage1_checking
=--enable-checking
9741 stage1_checking
=--enable-checking${enable_checking+=}$enable_checking
9746 # Enable -Werror in bootstrap stage2 and later.
9747 # Check whether --enable-werror or --disable-werror was given.
9748 if test "${enable_werror+set}" = set; then
9749 enableval
="$enable_werror"
9752 if test -d ${srcdir}/gcc
&& test x
"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental
; then
9758 case ${enable_werror} in
9759 yes) stage2_werror_flag
="--enable-werror-always" ;;
9760 *) stage2_werror_flag
="" ;;
9764 # Flags needed to enable html installing and building
9766 # Check whether --with-datarootdir or --without-datarootdir was given.
9767 if test "${with_datarootdir+set}" = set; then
9768 withval
="$with_datarootdir"
9769 datarootdir
="\${prefix}/${withval}"
9771 datarootdir
="\${prefix}/share"
9775 # Check whether --with-docdir or --without-docdir was given.
9776 if test "${with_docdir+set}" = set; then
9777 withval
="$with_docdir"
9778 docdir
="\${prefix}/${withval}"
9780 docdir
="\${datarootdir}/doc"
9784 # Check whether --with-htmldir or --without-htmldir was given.
9785 if test "${with_htmldir+set}" = set; then
9786 withval
="$with_htmldir"
9787 htmldir
="\${prefix}/${withval}"
9789 htmldir
="\${docdir}"
9796 ac_config_files
="$ac_config_files Makefile"
9797 cat >confcache
<<\_ACEOF
9798 # This file is a shell script that caches the results of configure
9799 # tests run on this system so they can be shared between configure
9800 # scripts and configure runs, see configure's option --config-cache.
9801 # It is not useful on other systems. If it contains results you don't
9802 # want to keep, you may remove or edit it.
9804 # config.status only pays attention to the cache file if you give it
9805 # the --recheck option to rerun configure.
9807 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9808 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9813 # The following way of writing the cache mishandles newlines in values,
9814 # but we know of no workaround that is simple, portable, and efficient.
9815 # So, don't put newlines in cache variables' values.
9816 # Ultrix sh set writes to stderr and can't be redirected directly,
9817 # and sets the high bit in the cache file unless we assign to the vars.
9820 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9822 # `set' does not quote correctly, so add quotes (double-quote
9823 # substitution turns \\\\ into \\, and sed turns \\ into \).
9826 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9829 # `set' quotes correctly as required by POSIX, so do not add quotes.
9831 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9838 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9840 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9842 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9843 if test -w $cache_file; then
9844 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9845 cat confcache
>$cache_file
9847 echo "not updating unwritable cache $cache_file"
9852 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9853 # Let make expand exec_prefix.
9854 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9856 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9857 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9858 # trailing colons and then remove the whole line if VPATH becomes empty
9859 # (actually we leave an empty line to preserve line numbers).
9860 if test "x$srcdir" = x.
; then
9861 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9862 s/:*\$(srcdir):*/:/;
9863 s/:*\${srcdir}:*/:/;
9865 s/^\([^=]*=[ ]*\):*/\1/;
9871 # Transform confdefs.h into DEFS.
9872 # Protect against shell expansion while executing Makefile rules.
9873 # Protect against Makefile macro expansion.
9875 # If the first sed substitution is executed (which looks for macros that
9876 # take arguments), then we branch to the quote section. Otherwise,
9877 # look for a macro that doesn't take arguments.
9878 cat >confdef2opt.
sed <<\_ACEOF
9881 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
9883 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
9887 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
9893 # We use echo to avoid assuming a particular line-breaking character.
9894 # The extra dot is to prevent the shell from consuming trailing
9895 # line-breaks from the sub-command output. A line-break within
9896 # single-quotes doesn't work because, if this script is created in a
9897 # platform that uses two characters for line-breaks (e.g., DOS), tr
9899 ac_LF_and_DOT=`echo; echo .
`
9900 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
9901 rm -f confdef2opt.sed
9906 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9907 # 1. Remove the extension, and $U if already installed.
9908 ac_i=`echo "$ac_i" |
9909 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9911 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9912 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9916 LTLIBOBJS=$ac_ltlibobjs
9920 : ${CONFIG_STATUS=./config.status}
9921 ac_clean_files_save=$ac_clean_files
9922 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9923 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9924 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9925 cat >$CONFIG_STATUS <<_ACEOF
9927 # Generated by $as_me.
9928 # Run this file to recreate the current configuration.
9929 # Compiler output produced by configure, useful for debugging
9930 # configure, is in config.log if it exists.
9935 SHELL=\${CONFIG_SHELL-$SHELL}
9938 cat >>$CONFIG_STATUS <<\_ACEOF
9939 ## --------------------- ##
9940 ## M4sh Initialization. ##
9941 ## --------------------- ##
9943 # Be Bourne compatible
9944 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9947 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9948 # is contrary to our usage. Disable this feature.
9949 alias -g '${1+"$@"}'='"$@"'
9950 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9953 DUALCASE=1; export DUALCASE # for MKS sh
9955 # Support unset when possible.
9956 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9963 # Work around bugs in pre-3.0 UWIN ksh.
9964 $as_unset ENV MAIL MAILPATH
9971 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9972 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9973 LC_TELEPHONE LC_TIME
9975 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
9976 eval $as_var=C; export $as_var
9982 # Required to use basename.
9983 if expr a : '\(a\)' >/dev/null 2>&1; then
9989 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9990 as_basename=basename
9996 # Name of the executable.
9997 as_me=`$as_basename "$0" ||
9998 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9999 X
"$0" : 'X\(//\)$' \| \
10000 X
"$0" : 'X\(/\)$' \| \
10001 .
: '\(.\)' 2>/dev
/null ||
10003 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10004 /^X\/\(\/\/\)$/{ s//\1/; q; }
10005 /^X\/\(\/\).*/{ s//\1/; q; }
10009 # PATH needs CR, and LINENO needs CR and PATH.
10010 # Avoid depending upon Character Ranges.
10011 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10012 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10013 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10014 as_cr_digits='0123456789'
10015 as_cr_alnum=$as_cr_Letters$as_cr_digits
10017 # The user is always right.
10018 if test "${PATH_SEPARATOR+set}" != set; then
10019 echo "#! /bin/sh" >conf$$.sh
10020 echo "exit 0" >>conf$$.sh
10022 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10031 as_lineno_1=$LINENO
10032 as_lineno_2=$LINENO
10033 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
10034 test "x$as_lineno_1" != "x$as_lineno_2" &&
10035 test "x$as_lineno_3" = "x$as_lineno_2" || {
10036 # Find who we are. Look in the path if we contain no path at all
10039 *[\\/]* ) as_myself=$0 ;;
10040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10041 for as_dir in $PATH
10044 test -z "$as_dir" && as_dir=.
10045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10050 # We did not find ourselves, most probably we were run as `sh COMMAND
'
10051 # in which case we are not to be found in the path.
10052 if test "x$as_myself" = x; then
10055 if test ! -f "$as_myself"; then
10056 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10057 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10058 { (exit 1); exit 1; }; }
10060 case $CONFIG_SHELL in
10062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10063 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10066 test -z "$as_dir" && as_dir=.
10067 for as_base in sh bash ksh sh5; do
10070 if ("$as_dir/$as_base" -c '
10071 as_lineno_1
=$LINENO
10072 as_lineno_2
=$LINENO
10073 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10074 test "x$as_lineno_1" != "x$as_lineno_2" &&
10075 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10076 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10077 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10078 CONFIG_SHELL=$as_dir/$as_base
10079 export CONFIG_SHELL
10080 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10088 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10089 # uniformly replaced by the line number. The first 'sed' inserts a
10090 # line-number line before each line; the second 'sed' does the real
10091 # work. The second script uses 'N
' to pair each line-number line
10092 # with the numbered line, and appends trailing '-' during
10093 # substitution so that $LINENO is not a special case at line end.
10094 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10095 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
10096 sed '=' <$as_myself |
10101 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10104 s,^['$as_cr_digits']*\n,,
10105 ' >$as_me.lineno
&&
10106 chmod +x
$as_me.lineno ||
10107 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10108 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10109 { (exit 1); exit 1; }; }
10111 # Don't try to exec as it changes $[0], causing all sort of problems
10112 # (the dirname of $[0] is not the place where we might find the
10113 # original and so on. Autoconf is especially sensible to this).
10115 # Exit status is that of the last command.
10120 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10121 *c
*,-n*) ECHO_N
= ECHO_C
='
10123 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10124 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10127 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10133 rm -f conf$$ conf$$.exe conf$$.
file
10135 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10136 # We could just check for DJGPP; but this test a) works b) is more generic
10137 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10138 if test -f conf$$.exe
; then
10139 # Don't use ln at all; we don't have any links
10144 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10149 rm -f conf$$ conf$$.exe conf$$.
file
10151 if mkdir
-p .
2>/dev
/null
; then
10154 test -d .
/-p && rmdir .
/-p
10158 as_executable_p
="test -f"
10160 # Sed expression to map a string onto a valid CPP name.
10161 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10163 # Sed expression to map a string onto a valid variable name.
10164 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10168 # We need space, tab and new line, in precisely that order.
10178 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10179 # report actual input values of CONFIG_FILES etc. instead of their
10180 # values after options handling. Logging --version etc. is OK.
10184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10185 ## Running $as_me. ##
10190 This file was extended by $as_me, which was
10191 generated by GNU Autoconf 2.59. Invocation command line was
10193 CONFIG_FILES = $CONFIG_FILES
10194 CONFIG_HEADERS = $CONFIG_HEADERS
10195 CONFIG_LINKS = $CONFIG_LINKS
10196 CONFIG_COMMANDS = $CONFIG_COMMANDS
10200 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10204 # Files that config.status was made for.
10205 if test -n "$ac_config_files"; then
10206 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10209 if test -n "$ac_config_headers"; then
10210 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10213 if test -n "$ac_config_links"; then
10214 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10217 if test -n "$ac_config_commands"; then
10218 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10221 cat >>$CONFIG_STATUS <<\_ACEOF
10224 \`$as_me' instantiates files from templates according to the
10225 current configuration.
10227 Usage: $0 [OPTIONS] [FILE]...
10229 -h, --help print this help, then exit
10230 -V, --version print version number, then exit
10231 -q, --quiet do not print progress messages
10232 -d, --debug don't remove temporary files
10233 --recheck update $as_me by reconfiguring in the same conditions
10234 --file=FILE[:TEMPLATE]
10235 instantiate the configuration file FILE
10237 Configuration files:
10240 Report bugs to <bug-autoconf@gnu.org>."
10243 cat >>$CONFIG_STATUS <<_ACEOF
10246 configured by $0, generated by GNU Autoconf 2.59,
10247 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10249 Copyright (C) 2003 Free Software Foundation, Inc.
10250 This config.status script is free software; the Free Software Foundation
10251 gives unlimited permission to copy, distribute and modify it."
10256 cat >>$CONFIG_STATUS <<\_ACEOF
10257 # If no file are specified by the user, then we need to provide default
10258 # value. By we need to know if files were specified by the user.
10264 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10265 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10273 *) # This is not an option, so the user has probably given explicit
10276 ac_need_defaults
=false
;;
10280 # Handling of the options.
10282 cat >>$CONFIG_STATUS <<\_ACEOF
10283 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10285 --version |
--vers* |
-V )
10286 echo "$ac_cs_version"; exit 0 ;;
10288 # Conflict between --help and --header
10289 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10290 Try \`$0 --help' for more information." >&5
10291 echo "$as_me: error: ambiguous option: $1
10292 Try \`$0 --help' for more information." >&2;}
10293 { (exit 1); exit 1; }; };;
10294 --help |
--hel |
-h )
10295 echo "$ac_cs_usage"; exit 0 ;;
10296 --debug |
--d* |
-d )
10298 --file |
--fil |
--fi |
--f )
10300 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10301 ac_need_defaults
=false
;;
10302 --header |
--heade |
--head |
--hea )
10304 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10305 ac_need_defaults
=false
;;
10306 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10307 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10310 # This is an error.
10311 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10312 Try \`$0 --help' for more information." >&5
10313 echo "$as_me: error: unrecognized option: $1
10314 Try \`$0 --help' for more information." >&2;}
10315 { (exit 1); exit 1; }; } ;;
10317 *) ac_config_targets
="$ac_config_targets $1" ;;
10323 ac_configure_extra_args
=
10325 if $ac_cs_silent; then
10327 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10331 cat >>$CONFIG_STATUS <<_ACEOF
10332 if \$ac_cs_recheck; then
10333 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10334 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10343 cat >>$CONFIG_STATUS <<\_ACEOF
10344 for ac_config_target
in $ac_config_targets
10346 case "$ac_config_target" in
10347 # Handling of arguments.
10348 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10349 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10350 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10351 { (exit 1); exit 1; }; };;
10355 # If the user did not use the arguments to specify the items to instantiate,
10356 # then the envvar interface is used. Set only those that are not.
10357 # We use the long form for the default assignment because of an extremely
10358 # bizarre bug on SunOS 4.1.3.
10359 if $ac_need_defaults; then
10360 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10363 # Have a temporary directory for convenience. Make it in the build tree
10364 # simply because there is no reason to put it here, and in addition,
10365 # creating and moving files from /tmp can sometimes cause problems.
10366 # Create a temporary directory, and hook for its removal unless debugging.
10369 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10370 trap '{ (exit 1); exit 1; }' 1 2 13 15
10373 # Create a (secure) tmp directory for tmp files.
10376 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10377 test -n "$tmp" && test -d "$tmp"
10380 tmp
=.
/confstat$$
-$RANDOM
10381 (umask 077 && mkdir
$tmp)
10384 echo "$me: cannot create a temporary directory in ." >&2
10385 { (exit 1); exit 1; }
10390 cat >>$CONFIG_STATUS <<_ACEOF
10393 # CONFIG_FILES section.
10396 # No need to generate the scripts if there are no CONFIG_FILES.
10397 # This happens for instance when ./config.status config.h
10398 if test -n "\$CONFIG_FILES"; then
10399 # Protect against being on the right side of a sed subst in config.status.
10400 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10401 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10402 s,@SHELL@,$SHELL,;t t
10403 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10404 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10405 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10406 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10407 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10408 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10409 s,@exec_prefix@,$exec_prefix,;t t
10410 s,@prefix@,$prefix,;t t
10411 s,@program_transform_name@,$program_transform_name,;t t
10412 s,@bindir@,$bindir,;t t
10413 s,@sbindir@,$sbindir,;t t
10414 s,@libexecdir@,$libexecdir,;t t
10415 s,@datadir@,$datadir,;t t
10416 s,@sysconfdir@,$sysconfdir,;t t
10417 s,@sharedstatedir@,$sharedstatedir,;t t
10418 s,@localstatedir@,$localstatedir,;t t
10419 s,@libdir@,$libdir,;t t
10420 s,@includedir@,$includedir,;t t
10421 s,@oldincludedir@,$oldincludedir,;t t
10422 s,@infodir@,$infodir,;t t
10423 s,@mandir@,$mandir,;t t
10424 s,@build_alias@,$build_alias,;t t
10425 s,@host_alias@,$host_alias,;t t
10426 s,@target_alias@,$target_alias,;t t
10427 s,@DEFS@,$DEFS,;t t
10428 s,@ECHO_C@,$ECHO_C,;t t
10429 s,@ECHO_N@,$ECHO_N,;t t
10430 s,@ECHO_T@,$ECHO_T,;t t
10431 s,@LIBS@,$LIBS,;t t
10432 s,@build@,$build,;t t
10433 s,@build_cpu@,$build_cpu,;t t
10434 s,@build_vendor@,$build_vendor,;t t
10435 s,@build_os@,$build_os,;t t
10436 s,@build_noncanonical@,$build_noncanonical,;t t
10437 s,@host_noncanonical@,$host_noncanonical,;t t
10438 s,@target_noncanonical@,$target_noncanonical,;t t
10439 s,@host@,$host,;t t
10440 s,@host_cpu@,$host_cpu,;t t
10441 s,@host_vendor@,$host_vendor,;t t
10442 s,@host_os@,$host_os,;t t
10443 s,@target@,$target,;t t
10444 s,@target_cpu@,$target_cpu,;t t
10445 s,@target_vendor@,$target_vendor,;t t
10446 s,@target_os@,$target_os,;t t
10447 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10448 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10449 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10451 s,@LN_S@,$LN_S,;t t
10452 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
10453 s,@build_libsubdir@,$build_libsubdir,;t t
10454 s,@build_subdir@,$build_subdir,;t t
10455 s,@host_subdir@,$host_subdir,;t t
10456 s,@target_subdir@,$target_subdir,;t t
10458 s,@CFLAGS@,$CFLAGS,;t t
10459 s,@LDFLAGS@,$LDFLAGS,;t t
10460 s,@CPPFLAGS@,$CPPFLAGS,;t t
10461 s,@ac_ct_CC@,$ac_ct_CC,;t t
10462 s,@EXEEXT@,$EXEEXT,;t t
10463 s,@OBJEXT@,$OBJEXT,;t t
10464 s,@GNATBIND@,$GNATBIND,;t t
10465 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
10466 s,@GNATMAKE@,$GNATMAKE,;t t
10467 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
10468 s,@do_compare@,$do_compare,;t t
10469 s,@gmplibs@,$gmplibs,;t t
10470 s,@gmpinc@,$gmpinc,;t t
10471 s,@stage1_languages@,$stage1_languages,;t t
10472 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
10473 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
10474 s,@tooldir@,$tooldir,;t t
10475 s,@build_tooldir@,$build_tooldir,;t t
10476 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
10477 s,@GDB_TK@,$GDB_TK,;t t
10478 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
10479 s,@build_configargs@,$build_configargs,;t t
10480 s,@build_configdirs@,$build_configdirs,;t t
10481 s,@host_configargs@,$host_configargs,;t t
10482 s,@configdirs@,$configdirs,;t t
10483 s,@target_configargs@,$target_configargs,;t t
10484 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
10485 s,@config_shell@,$config_shell,;t t
10486 s,@YACC@,$YACC,;t t
10487 s,@BISON@,$BISON,;t t
10490 s,@FLEX@,$FLEX,;t t
10491 s,@MAKEINFO@,$MAKEINFO,;t t
10492 s,@EXPECT@,$EXPECT,;t t
10493 s,@RUNTEST@,$RUNTEST,;t t
10496 s,@DLLTOOL@,$DLLTOOL,;t t
10498 s,@LIPO@,$LIPO,;t t
10500 s,@RANLIB@,$RANLIB,;t t
10501 s,@STRIP@,$STRIP,;t t
10502 s,@WINDRES@,$WINDRES,;t t
10503 s,@OBJCOPY@,$OBJCOPY,;t t
10504 s,@OBJDUMP@,$OBJDUMP,;t t
10506 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
10507 s,@CXXFLAGS@,$CXXFLAGS,;t t
10508 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
10509 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
10510 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
10511 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
10512 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
10513 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
10514 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
10515 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
10516 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
10517 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
10518 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
10519 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
10520 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
10521 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
10522 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
10523 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
10524 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
10525 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
10526 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
10527 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
10528 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10529 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10530 s,@MAINT@,$MAINT,;t t
10531 s,@stage1_cflags@,$stage1_cflags,;t t
10532 s,@stage1_checking@,$stage1_checking,;t t
10533 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
10534 s,@datarootdir@,$datarootdir,;t t
10535 s,@docdir@,$docdir,;t t
10536 s,@htmldir@,$htmldir,;t t
10537 s,@LIBOBJS@,$LIBOBJS,;t t
10538 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10539 /@serialization_dependencies@/r $serialization_dependencies
10540 s,@serialization_dependencies@,,;t t
10541 /@host_makefile_frag@/r $host_makefile_frag
10542 s,@host_makefile_frag@,,;t t
10543 /@target_makefile_frag@/r $target_makefile_frag
10544 s,@target_makefile_frag@,,;t t
10545 /@alphaieee_frag@/r $alphaieee_frag
10546 s,@alphaieee_frag@,,;t t
10547 /@ospace_frag@/r $ospace_frag
10548 s,@ospace_frag@,,;t t
10553 cat >>$CONFIG_STATUS <<\_ACEOF
10554 # Split the substitutions into bite-sized pieces for seds with
10555 # small command number limits, like on Digital OSF/1 and HP-UX.
10556 ac_max_sed_lines
=48
10557 ac_sed_frag
=1 # Number of current file.
10558 ac_beg
=1 # First line for current file.
10559 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10562 while $ac_more_lines; do
10563 if test $ac_beg -gt 1; then
10564 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10566 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10568 if test ! -s $tmp/subs.frag
; then
10569 ac_more_lines
=false
10571 # The purpose of the label and of the branching condition is to
10572 # speed up the sed processing (if there are no `@' at all, there
10573 # is no need to browse any of the substitutions).
10574 # These are the two extra sed commands mentioned above.
10576 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10577 if test -z "$ac_sed_cmds"; then
10578 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10580 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10582 ac_sed_frag
=`expr $ac_sed_frag + 1`
10584 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10587 if test -z "$ac_sed_cmds"; then
10590 fi # test -n "$CONFIG_FILES"
10593 cat >>$CONFIG_STATUS <<\_ACEOF
10594 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10595 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10597 - |
*:- |
*:-:* ) # input from stdin
10599 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10600 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10601 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10602 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10603 * ) ac_file_in
=$ac_file.
in ;;
10606 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10607 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10608 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10609 X"$ac_file" : 'X\(//\)[^/]' \| \
10610 X"$ac_file" : 'X\(//\)$' \| \
10611 X"$ac_file" : 'X\(/\)' \| \
10612 . : '\(.\)' 2>/dev/null ||
10614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10616 /^X\(\/\/\)$/{ s//\1/; q; }
10617 /^X\(\/\).*/{ s//\1/; q; }
10619 { if $as_mkdir_p; then
10624 while test ! -d "$as_dir"; do
10625 as_dirs
="$as_dir $as_dirs"
10626 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10627 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10628 X"$as_dir" : 'X\(//\)[^/]' \| \
10629 X"$as_dir" : 'X\(//\)$' \| \
10630 X"$as_dir" : 'X\(/\)' \| \
10631 . : '\(.\)' 2>/dev/null ||
10633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10635 /^X\(\/\/\)$/{ s//\1/; q; }
10636 /^X\(\/\).*/{ s//\1/; q; }
10639 test ! -n "$as_dirs" || mkdir
$as_dirs
10640 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10641 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10642 { (exit 1); exit 1; }; }; }
10646 if test "$ac_dir" != .
; then
10647 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10648 # A "../" for each directory in $ac_dir_suffix.
10649 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10651 ac_dir_suffix
= ac_top_builddir
=
10655 .
) # No --srcdir option. We are building in place.
10657 if test -z "$ac_top_builddir"; then
10660 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10662 [\\/]* | ?
:[\\/]* ) # Absolute path.
10663 ac_srcdir
=$srcdir$ac_dir_suffix;
10664 ac_top_srcdir
=$srcdir ;;
10665 *) # Relative path.
10666 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10667 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10670 # Do not use `cd foo && pwd` to compute absolute paths, because
10671 # the directories may not exist.
10673 .
) ac_abs_builddir
="$ac_dir";;
10676 .
) ac_abs_builddir
=`pwd`;;
10677 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10678 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10681 case $ac_abs_builddir in
10682 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10684 case ${ac_top_builddir}.
in
10685 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10686 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10687 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10690 case $ac_abs_builddir in
10691 .
) ac_abs_srcdir
=$ac_srcdir;;
10694 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10695 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10696 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10699 case $ac_abs_builddir in
10700 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10702 case $ac_top_srcdir in
10703 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10704 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10705 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10711 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10712 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10715 if test x
"$ac_file" != x-
; then
10716 { echo "$as_me:$LINENO: creating $ac_file" >&5
10717 echo "$as_me: creating $ac_file" >&6;}
10720 # Let's still pretend it is `configure' which instantiates (i.e., don't
10721 # use $as_me), people would be surprised to read:
10722 # /* config.h. Generated by config.status. */
10723 if test x
"$ac_file" = x-
; then
10726 configure_input
="$ac_file. "
10728 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10729 sed 's,.*/,,'` by configure."
10731 # First look for the input files in the build tree, otherwise in the
10733 ac_file_inputs
=`IFS=:
10734 for f in $ac_file_in; do
10736 -) echo $tmp/stdin ;;
10738 # Absolute (can't be DOS-style, as IFS=:)
10739 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10740 echo "$as_me: error: cannot find input file: $f" >&2;}
10741 { (exit 1); exit 1; }; }
10744 if test -f "$f"; then
10747 elif test -f "$srcdir/$f"; then
10752 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10753 echo "$as_me: error: cannot find input file: $f" >&2;}
10754 { (exit 1); exit 1; }; }
10757 done` ||
{ (exit 1); exit 1; }
10759 cat >>$CONFIG_STATUS <<_ACEOF
10763 cat >>$CONFIG_STATUS <<\_ACEOF
10765 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10766 s
,@configure_input@
,$configure_input,;t t
10767 s
,@srcdir@
,$ac_srcdir,;t t
10768 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10769 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10770 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10771 s
,@builddir@
,$ac_builddir,;t t
10772 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10773 s
,@top_builddir@
,$ac_top_builddir,;t t
10774 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10775 s
,@INSTALL@
,$ac_INSTALL,;t t
10776 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10778 if test x"$ac_file" != x-; then
10779 mv $tmp/out $ac_file
10788 cat >>$CONFIG_STATUS <<\_ACEOF
10790 { (exit 0); exit 0; }
10792 chmod +x $CONFIG_STATUS
10793 ac_clean_files=$ac_clean_files_save
10796 # configure is writing to config.log, and then calls config.status.
10797 # config.status does its own redirection, appending to config.log.
10798 # Unfortunately, on DOS this fails, as config.log is still kept open
10799 # by configure, so config.status won't be able to write to it; its
10800 # output is simply discarded. So we exec the FD to /dev/null,
10801 # effectively closing config.log, so it can be properly (re)opened and
10802 # appended to by config.status. When coming back to configure, we
10803 # need to make the FD available again.
10804 if test "$no_create" != yes; then
10806 ac_config_status_args=
10807 test "$silent" = yes &&
10808 ac_config_status_args="$ac_config_status_args --quiet"
10810 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10813 # would make configure fail if this is the last instruction.
10814 $ac_cs_success || { (exit 1); exit 1; }