3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-libada Builds libada directory"
17 --enable-libssp Builds libssp directory"
19 --with-mpfr-dir=PATH Specify source directory for MPFR library"
21 --with-mpfr=PATH Specify directory for installed MPFR library"
23 --with-gmp-dir=PATH Specify source directory for GMP library"
25 --with-gmp=PATH Specify directory for installed GMP library"
27 --enable-objc-gc enable the use of Boehm's garbage collector with
28 the GNU Objective-C runtime."
30 --with-build-sysroot=sysroot
31 use sysroot as the system root during the build"
33 --enable-bootstrap Enable bootstrapping [yes if native build]"
35 --enable-serial-[{host,target,build}-]configure
36 Force sequential configuration of
37 sub-packages for the host, target or build
38 machine, or all sub-packages"
40 --with-build-time-tools=path
41 use given path to find target tools during the build"
43 --enable-maintainer-mode enable make rules and dependencies not useful
44 (and sometimes confusing) to the casual installer"
46 --enable-werror enable -Werror in bootstrap stage2 and later"
48 --with-datarootdir Use datarootdir as the data root directory."
50 --with-docdir Install documentation in this directory."
52 --with-htmldir Install html in this directory."
54 # Initialize some variables set by options.
55 # The variables have the same names as the options, with
56 # dashes changed to underlines.
58 cache_file
=.
/config.cache
67 program_transform_name
=s
,x
,x
,
75 bindir
='${exec_prefix}/bin'
76 sbindir
='${exec_prefix}/sbin'
77 libexecdir
='${exec_prefix}/libexec'
78 datadir
='${prefix}/share'
79 sysconfdir
='${prefix}/etc'
80 sharedstatedir
='${prefix}/com'
81 localstatedir
='${prefix}/var'
82 libdir
='${exec_prefix}/lib'
83 includedir
='${prefix}/include'
84 oldincludedir
='/usr/include'
85 infodir
='${prefix}/info'
86 mandir
='${prefix}/man'
88 # Initialize some other variables.
91 SHELL
=${CONFIG_SHELL-/bin/sh}
92 # Maximum number of lines to put in a shell here document.
99 # If the previous option needs an argument, assign it.
100 if test -n "$ac_prev"; then
101 eval "$ac_prev=\$ac_option"
107 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
111 # Accept the important Cygnus configure options, so we can diagnose typos.
115 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
117 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
118 bindir
="$ac_optarg" ;;
120 -build |
--build |
--buil |
--bui |
--bu)
122 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
123 build
="$ac_optarg" ;;
125 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
126 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
127 ac_prev
=cache_file
;;
128 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
129 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
130 cache_file
="$ac_optarg" ;;
132 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
134 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
136 datadir
="$ac_optarg" ;;
138 -disable-* |
--disable-*)
139 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
140 # Reject names that are not valid shell variable names.
141 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
142 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
144 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
145 eval "enable_${ac_feature}=no" ;;
147 -enable-* |
--enable-*)
148 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
149 # Reject names that are not valid shell variable names.
150 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
151 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
153 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
158 eval "enable_${ac_feature}='$ac_optarg'" ;;
160 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
161 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
162 |
--exec |
--exe |
--ex)
163 ac_prev
=exec_prefix
;;
164 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
165 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
166 |
--exec=* |
--exe=* |
--ex=*)
167 exec_prefix
="$ac_optarg" ;;
169 -gas |
--gas |
--ga |
--g)
170 # Obsolete; use --with-gas.
173 -help |
--help |
--hel |
--he)
174 # Omit some internal or obsolete options to make the list less imposing.
175 # This message is too long to be a string in the A/UX 3.1 sh.
177 Usage: configure [options] [host]
178 Options: [defaults in brackets after descriptions]
180 --cache-file=FILE cache test results in FILE
181 --help print this message
182 --no-create do not create output files
183 --quiet, --silent do not print \`checking...' messages
184 --version print the version of autoconf that created configure
185 Directory and file names:
186 --prefix=PREFIX install architecture-independent files in PREFIX
188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
190 --bindir=DIR user executables in DIR [EPREFIX/bin]
191 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
192 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
193 --datadir=DIR read-only architecture-independent data in DIR
195 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
196 --sharedstatedir=DIR modifiable architecture-independent data in DIR
198 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
199 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
200 --includedir=DIR C header files in DIR [PREFIX/include]
201 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
202 --infodir=DIR info documentation in DIR [PREFIX/info]
203 --mandir=DIR man documentation in DIR [PREFIX/man]
204 --srcdir=DIR find the sources in DIR [configure dir or ..]
205 --program-prefix=PREFIX prepend PREFIX to installed program names
206 --program-suffix=SUFFIX append SUFFIX to installed program names
207 --program-transform-name=PROGRAM
208 run sed PROGRAM on installed program names
212 --build=BUILD configure for building on BUILD [BUILD=HOST]
213 --host=HOST configure for HOST [guessed]
214 --target=TARGET configure for TARGET [TARGET=HOST]
215 Features and packages:
216 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
217 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
218 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
219 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
220 --x-includes=DIR X include files are in DIR
221 --x-libraries=DIR X library files are in DIR
223 if test -n "$ac_help"; then
224 echo "--enable and --with options recognized:$ac_help"
228 -host |
--host |
--hos |
--ho)
230 -host=* |
--host=* |
--hos=* |
--ho=*)
233 -includedir |
--includedir |
--includedi |
--included |
--include \
234 |
--includ |
--inclu |
--incl |
--inc)
235 ac_prev
=includedir
;;
236 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
237 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
238 includedir
="$ac_optarg" ;;
240 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
242 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
243 infodir
="$ac_optarg" ;;
245 -libdir |
--libdir |
--libdi |
--libd)
247 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
248 libdir
="$ac_optarg" ;;
250 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
251 |
--libexe |
--libex |
--libe)
252 ac_prev
=libexecdir
;;
253 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
254 |
--libexe=* |
--libex=* |
--libe=*)
255 libexecdir
="$ac_optarg" ;;
257 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
258 |
--localstate |
--localstat |
--localsta |
--localst \
259 |
--locals |
--local |
--loca |
--loc |
--lo)
260 ac_prev
=localstatedir
;;
261 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
262 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
263 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
264 localstatedir
="$ac_optarg" ;;
266 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
268 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
269 mandir
="$ac_optarg" ;;
272 # Obsolete; use --without-fp.
275 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
279 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
280 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
283 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
284 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
285 |
--oldin |
--oldi |
--old |
--ol |
--o)
286 ac_prev
=oldincludedir
;;
287 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
288 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
289 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
290 oldincludedir
="$ac_optarg" ;;
292 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
294 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
295 prefix
="$ac_optarg" ;;
297 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
298 |
--program-pre |
--program-pr |
--program-p)
299 ac_prev
=program_prefix
;;
300 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
301 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
302 program_prefix
="$ac_optarg" ;;
304 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
305 |
--program-suf |
--program-su |
--program-s)
306 ac_prev
=program_suffix
;;
307 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
308 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
309 program_suffix
="$ac_optarg" ;;
311 -program-transform-name |
--program-transform-name \
312 |
--program-transform-nam |
--program-transform-na \
313 |
--program-transform-n |
--program-transform- \
314 |
--program-transform |
--program-transfor \
315 |
--program-transfo |
--program-transf \
316 |
--program-trans |
--program-tran \
317 |
--progr-tra |
--program-tr |
--program-t)
318 ac_prev
=program_transform_name
;;
319 -program-transform-name=* |
--program-transform-name=* \
320 |
--program-transform-nam=* |
--program-transform-na=* \
321 |
--program-transform-n=* |
--program-transform-=* \
322 |
--program-transform=* |
--program-transfor=* \
323 |
--program-transfo=* |
--program-transf=* \
324 |
--program-trans=* |
--program-tran=* \
325 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
326 program_transform_name
="$ac_optarg" ;;
328 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
329 |
-silent |
--silent |
--silen |
--sile |
--sil)
332 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
334 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
336 sbindir
="$ac_optarg" ;;
338 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
339 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
340 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
342 ac_prev
=sharedstatedir
;;
343 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
344 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
345 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
347 sharedstatedir
="$ac_optarg" ;;
349 -site |
--site |
--sit)
351 -site=* |
--site=* |
--sit=*)
354 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
356 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
357 srcdir
="$ac_optarg" ;;
359 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
360 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
361 ac_prev
=sysconfdir
;;
362 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
363 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
364 sysconfdir
="$ac_optarg" ;;
366 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
368 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
369 target
="$ac_optarg" ;;
371 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
374 -version |
--version |
--versio |
--versi |
--vers)
375 echo "configure generated by autoconf version 2.13"
379 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
380 # Reject names that are not valid shell variable names.
381 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
382 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
384 ac_package
=`echo $ac_package| sed 's/-/_/g'`
389 eval "with_${ac_package}='$ac_optarg'" ;;
391 -without-* |
--without-*)
392 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
393 # Reject names that are not valid shell variable names.
394 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
395 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
397 ac_package
=`echo $ac_package| sed 's/-/_/g'`
398 eval "with_${ac_package}=no" ;;
401 # Obsolete; use --with-x.
404 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
405 |
--x-incl |
--x-inc |
--x-in |
--x-i)
406 ac_prev
=x_includes
;;
407 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
408 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
409 x_includes
="$ac_optarg" ;;
411 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
412 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
413 ac_prev
=x_libraries
;;
414 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
415 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
416 x_libraries
="$ac_optarg" ;;
418 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
422 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
423 echo "configure: warning: $ac_option: invalid host type" 1>&2
425 if test "x$nonopt" != xNONE
; then
426 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
434 if test -n "$ac_prev"; then
435 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
438 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
440 # File descriptor usage:
443 # 2 errors and warnings
444 # 3 some systems may open it to /dev/tty
445 # 4 used on the Kubota Titan
446 # 6 checking for... messages and results
447 # 5 compiler messages saved in config.log
448 if test "$silent" = yes; then
456 This file contains any messages produced by compilers while
457 running configure, to aid debugging if configure makes a mistake.
460 # Strip out --no-create and --no-recursion so they do not pile up.
461 # Also quote any args containing shell metacharacters.
466 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
467 |
--no-cr |
--no-c) ;;
468 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
469 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
470 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
471 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
472 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
477 # Only set these to C if already set. These must not be set unconditionally
478 # because not all systems understand e.g. LANG=C (notably SCO).
479 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
480 # Non-C LC_CTYPE values break the ctype check.
481 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
482 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
483 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
484 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
487 rm -rf conftest
* confdefs.h
488 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
491 # A filename unique to this package, relative to the directory that
492 # configure is in, which we can look for to find out if srcdir is correct.
493 ac_unique_file
=move-if-change
495 # Find the source files, if location was not specified.
496 if test -z "$srcdir"; then
497 ac_srcdir_defaulted
=yes
498 # Try the directory containing this script, then its parent.
500 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
501 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
503 if test ! -r $srcdir/$ac_unique_file; then
507 ac_srcdir_defaulted
=no
509 if test ! -r $srcdir/$ac_unique_file; then
510 if test "$ac_srcdir_defaulted" = yes; then
511 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
513 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
516 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
518 # Prefer explicitly selected file to automatically selected ones.
519 if test -z "$CONFIG_SITE"; then
520 if test "x$prefix" != xNONE
; then
521 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
523 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
526 for ac_site_file
in $CONFIG_SITE; do
527 if test -r "$ac_site_file"; then
528 echo "loading site script $ac_site_file"
533 if test -r "$cache_file"; then
534 echo "loading cache $cache_file"
537 echo "creating cache $cache_file"
542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
543 ac_cpp
='$CPP $CPPFLAGS'
544 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
545 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
546 cross_compiling
=$ac_cv_prog_cc_cross
550 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
551 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
552 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
559 ac_n
= ac_c
='\c' ac_t
=
565 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
566 if test -f $ac_dir/install-sh
; then
568 ac_install_sh
="$ac_aux_dir/install-sh -c"
570 elif test -f $ac_dir/install.sh
; then
572 ac_install_sh
="$ac_aux_dir/install.sh -c"
576 if test -z "$ac_aux_dir"; then
577 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
579 ac_config_guess
=$ac_aux_dir/config.guess
580 ac_config_sub
=$ac_aux_dir/config.sub
581 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
584 # Do some error checking and defaulting for the host and target type.
586 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
589 # 1. You are not allowed to specify --host, --target, and nonopt at the
591 # 2. Host defaults to nonopt.
592 # 3. If nonopt is not specified, then host defaults to the current host,
593 # as determined by config.guess.
594 # 4. Target and build default to nonopt.
595 # 5. If nonopt is not specified, then target and build default to host.
597 # The aliases save the names the user supplied, while $host etc.
598 # will get canonicalized.
599 case $host---$target---$nonopt in
600 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
601 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
605 # Make sure we can run config.sub.
606 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
607 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
610 echo $ac_n "checking host system type""... $ac_c" 1>&6
611 echo "configure:612: checking host system type" >&5
614 case "$host_alias" in
618 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
619 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
621 *) host_alias
=$nonopt ;;
625 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
626 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
627 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
628 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
629 echo "$ac_t""$host" 1>&6
631 echo $ac_n "checking target system type""... $ac_c" 1>&6
632 echo "configure:633: checking target system type" >&5
635 case "$target_alias" in
638 NONE
) target_alias
=$host_alias ;;
639 *) target_alias
=$nonopt ;;
643 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
644 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
645 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
646 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
647 echo "$ac_t""$target" 1>&6
649 echo $ac_n "checking build system type""... $ac_c" 1>&6
650 echo "configure:651: checking build system type" >&5
653 case "$build_alias" in
656 NONE
) build_alias
=$host_alias ;;
657 *) build_alias
=$nonopt ;;
661 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
662 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$build" 1>&6
667 test "$host_alias" != "$target_alias" &&
668 test "$program_prefix$program_suffix$program_transform_name" = \
670 program_prefix
=${target_alias}-
672 if test "$program_transform_name" = s
,x
,x
,; then
673 program_transform_name
=
675 # Double any \ or $. echo might interpret backslashes.
676 cat <<\EOF_SED
> conftestsed
677 s
,\\,\\\\,g
; s
,\$
,$$
,g
679 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
682 test "$program_prefix" != NONE
&&
683 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
684 # Use a double $ so make ignores it.
685 test "$program_suffix" != NONE
&&
686 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
688 # sed with no file args requires a program.
689 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
692 # Get 'install' or 'install-sh' and its variants.
693 # Find a good install program. We prefer a C program (faster),
694 # so one script is as good as another. But avoid the broken or
695 # incompatible versions:
696 # SysV /etc/install, /usr/sbin/install
697 # SunOS /usr/etc/install
700 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
701 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
702 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
703 # ./install, which can be erroneously created by make from ./install.sh.
704 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
705 echo "configure:706: checking for a BSD compatible install" >&5
706 if test -z "$INSTALL"; then
707 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
708 echo $ac_n "(cached) $ac_c" 1>&6
710 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
711 for ac_dir
in $PATH; do
712 # Account for people who put trailing slashes in PATH elements.
714 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
716 # OSF1 and SCO ODT 3.0 have their own names for install.
717 # Don't use installbsd from OSF since it installs stuff as root
719 for ac_prog
in ginstall scoinst
install; do
720 if test -f $ac_dir/$ac_prog; then
721 if test $ac_prog = install &&
722 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
723 # AIX install. It has an incompatible calling convention.
726 ac_cv_path_install
="$ac_dir/$ac_prog -c"
737 if test "${ac_cv_path_install+set}" = set; then
738 INSTALL
="$ac_cv_path_install"
740 # As a last resort, use the slow shell script. We don't cache a
741 # path for INSTALL within a source directory, because that will
742 # break other packages using the cache if that directory is
743 # removed, or if the path is relative.
744 INSTALL
="$ac_install_sh"
747 echo "$ac_t""$INSTALL" 1>&6
749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
750 # It thinks the first close brace ends the variable substitution.
751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
755 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
757 echo $ac_n "checking whether ln works""... $ac_c" 1>&6
758 echo "configure:759: checking whether ln works" >&5
759 if eval "test \"`echo '$''{'acx_cv_prog_LN'+set}'`\" = set"; then
760 echo $ac_n "(cached) $ac_c" 1>&6
764 if ln conftestdata_f conftestdata_t
2>/dev
/null
770 rm -f conftestdata_f conftestdata_t
773 if test $acx_cv_prog_LN = no
; then
775 echo "$ac_t""no, using $LN" 1>&6
778 echo "$ac_t""yes" 1>&6
781 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
782 echo "configure:783: checking whether ln -s works" >&5
783 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
784 echo $ac_n "(cached) $ac_c" 1>&6
787 if ln -s X conftestdata
2>/dev
/null
790 ac_cv_prog_LN_S
="ln -s"
795 LN_S
="$ac_cv_prog_LN_S"
796 if test "$ac_cv_prog_LN_S" = "ln -s"; then
797 echo "$ac_t""yes" 1>&6
799 echo "$ac_t""no" 1>&6
803 ### we might need to use some other shell than /bin/sh for running subshells
804 ### If we are on Windows, search for the shell. This will permit people
805 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
806 ### without also having to set CONFIG_SHELL. This code will work when
807 ### using bash, which sets OSTYPE.
810 if test x
${CONFIG_SHELL} = x
; then
811 if test ! -f /bin
/sh
; then
812 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
813 CONFIG_SHELL
=${SHELL}
816 for prog
in sh sh.exe bash bash.exe
; do
817 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
819 test -z "$dir" && dir
=.
820 if test -f $dir/$prog; then
821 CONFIG_SHELL
=$dir/$prog
827 test -n "${CONFIG_SHELL}" && break
835 config_shell
=${CONFIG_SHELL-/bin/sh}
838 # if PWD already has a value, it is probably wrong.
839 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
841 # Export original configure arguments for use by sub-configures. These
842 # will be expanded by make, so quote '$'.
844 sed -e 's,\$,$$,g' <<EOF_SED > conftestsed.out
847 TOPLEVEL_CONFIGURE_ARGUMENTS
=`cat conftestsed.out`
848 rm -f conftestsed.out
851 moveifchange
=${srcdir}/move-if-change
853 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
855 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
857 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
858 INSTALL
="${srcpwd}/install-sh -c"
861 # Set srcdir to "." if that's what it is.
862 # This is important for multilib support.
864 if test "${pwd}" = "${srcpwd}" ; then
872 ### To add a new directory to the tree, first choose whether it is a target
873 ### or a host dependent tool. Then put it into the appropriate list
874 ### (library or tools, host or target), doing a dependency sort.
876 # Subdirs will be configured in the order listed in build_configdirs,
877 # configdirs, or target_configdirs; see the serialization section below.
879 # Dependency sorting is only needed when *configuration* must be done in
880 # a particular order. In all cases a dependency should be specified in
881 # the Makefile, whether or not it's implicitly specified here.
883 # Double entries in build_configdirs, configdirs, or target_configdirs may
884 # cause circular dependencies and break everything horribly.
886 # these library is used by various programs built for the build
889 build_libs
="build-libiberty"
891 # these tools are built for the build environment
892 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
894 # these libraries are used by various programs built for the host environment
896 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber"
898 # these tools are built for the host environment
899 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
900 # know that we are building the simulator.
901 # binutils, gas and ld appear in that order because it makes sense to run
902 # "make check" in that particular order.
903 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"
905 # libgcj represents the runtime libraries only used by gcj.
906 libgcj
="target-libffi \
911 # these libraries are built for the target environment, and are built after
912 # the host libraries and the host tools (which may be a cross compiler)
914 target_libraries
="target-libiberty \
917 target-libstdc++-v3 \
927 # these tools are built using the target libraries, and are intended to
928 # run only in the target environment
930 # note: any program that *uses* libraries that are in the "target_libraries"
931 # list belongs in this list. those programs are also very likely
932 # candidates for the "native_only" list which follows
934 target_tools
="target-examples target-groff target-gperf target-rda"
936 ################################################################################
938 ## All tools belong in one of the four categories, and are assigned above
939 ## We assign ${configdirs} this way to remove all embedded newlines. This
940 ## is important because configure will choke if they ever get through.
941 ## ${configdirs} is directories we build using the host tools.
942 ## ${target_configdirs} is directories we build using the target tools.
943 configdirs
=`echo ${host_libs} ${host_tools}`
944 target_configdirs
=`echo ${target_libraries} ${target_tools}`
945 build_configdirs
=`echo ${build_libs} ${build_tools}`
947 ################################################################################
949 srcname
="gnu development package"
951 # This gets set non-empty for some net releases of packages.
954 # Define is_cross_compiler to save on calls to 'test'.
956 if test x
"${host}" = x
"${target}" ; then
959 is_cross_compiler
=yes
962 # Find the build and target subdir names.
963 case ${build_alias} in
964 "") build_noncanonical
=${build} ;;
965 *) build_noncanonical
=${build_alias} ;;
968 case ${host_alias} in
969 "") host_noncanonical
=${build_noncanonical} ;;
970 *) host_noncanonical
=${host_alias} ;;
973 case ${target_alias} in
974 "") target_noncanonical
=${host_noncanonical} ;;
975 *) target_noncanonical
=${target_alias} ;;
978 # Prefix 'build-' so this never conflicts with target_subdir.
979 build_subdir
="build-${build_noncanonical}"
980 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
981 if ( test $srcdir = .
&& test -d gcc
) \
982 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
983 host_subdir
="host-${host_noncanonical}"
988 target_subdir
=${target_noncanonical}
991 # Skipdirs are removed silently.
993 # Noconfigdirs are removed loudly.
997 # Make sure we don't let GNU ld be added if we didn't want it.
998 if test x
$with_gnu_ld = xno
; then
1000 noconfigdirs
="$noconfigdirs ld"
1004 # Make sure we don't let GNU as be added if we didn't want it.
1005 if test x
$with_gnu_as = xno
; then
1007 noconfigdirs
="$noconfigdirs gas"
1010 # some tools are so dependent upon X11 that if we're not building with X,
1011 # it's not even worth trying to configure, much less build, that tool.
1014 yes |
"") ;; # the default value for this tree is that X11 is available
1016 skipdirs
="${skipdirs} tk itcl libgui"
1017 # We won't be able to build gdbtk without X.
1020 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1023 # Some tools are only suitable for building in a "native" situation.
1024 # Remove these if host!=target.
1025 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"
1027 # Similarly, some are only suitable for cross toolchains.
1028 # Remove these if host=target.
1029 cross_only
="target-libgloss target-newlib target-opcodes"
1031 case $is_cross_compiler in
1032 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1033 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1036 # If both --with-headers and --with-libs are specified, default to
1038 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1039 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1040 if test x
"${with_newlib}" = x
; then
1045 # Recognize --with-newlib/--without-newlib.
1046 case ${with_newlib} in
1047 no
) skipdirs
="${skipdirs} target-newlib" ;;
1048 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
1051 # Configure extra directories which are host specific
1055 configdirs
="$configdirs libtermcap" ;;
1058 # A target can indicate whether a language isn't supported for some reason.
1059 # Only spaces may be used in this macro; not newlines or tabs.
1060 unsupported_languages
=
1062 # Remove more programs from consideration, based on the host or
1063 # target this usually means that a port of the program doesn't
1068 noconfigdirs
="$noconfigdirs byacc"
1070 i
[3456789]86-*-vsta)
1071 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
1073 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
1074 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
1076 i
[3456789]86-*-mingw32*)
1077 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
1078 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
1080 i
[3456789]86-*-beos*)
1081 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
1084 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
1087 noconfigdirs
="$noconfigdirs rcs"
1090 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
1093 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
1098 # Check whether --enable-libada or --disable-libada was given.
1099 if test "${enable_libada+set}" = set; then
1100 enableval
="$enable_libada"
1101 ENABLE_LIBADA
=$enableval
1106 if test "${ENABLE_LIBADA}" != "yes" ; then
1107 noconfigdirs
="$noconfigdirs gnattools"
1110 # Check whether --enable-libssp or --disable-libssp was given.
1111 if test "${enable_libssp+set}" = set; then
1112 enableval
="$enable_libssp"
1113 ENABLE_LIBSSP
=$enableval
1119 # Save it here so that, even in case of --enable-libgcj, if the Java
1120 # front-end isn't enabled, we still get libgcj disabled.
1121 libgcj_saved
=$libgcj
1122 case $enable_libgcj in
1124 # If we reset it here, it won't get added to noconfigdirs in the
1125 # target-specific build rules, so it will be forcibly enabled
1126 # (unless the Java language itself isn't enabled).
1130 # Make sure we get it printed in the list of not supported target libs.
1131 noconfigdirs
="$noconfigdirs ${libgcj}"
1136 # Disable libmudflap on some systems.
1137 if test x
$enable_libmudflap = x
; then
1139 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1140 # Enable libmudflap by default in GNU and friends.
1143 # Enable libmudflap by default in FreeBSD.
1146 # Disable it by default everywhere else.
1147 noconfigdirs
="$noconfigdirs target-libmudflap"
1152 # Disable libgomp on non POSIX hosted systems.
1153 if test x
$enable_libgomp = x
; then
1154 # Enable libgomp by default on hosted POSIX systems.
1156 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1158 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
1160 *-*-solaris2* |
*-*-sysv4* |
*-*-irix* |
*-*-osf* |
*-*-hpux*)
1162 *-*-darwin* |
*-*-aix*)
1165 noconfigdirs
="$noconfigdirs target-libgomp"
1173 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-boehm-gc ${libgcj}"
1176 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
1177 noconfigdirs
="$noconfigdirs sim target-rda"
1180 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
1181 noconfigdirs
="$noconfigdirs sim target-rda"
1182 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1184 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
1185 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-boehm-gc ${libgcj}"
1188 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1189 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
1190 && test -f /usr
/local
/include
/gmp.h
; then
1194 # Skip some stuff that's unsupported on some FreeBSD configurations.
1199 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1204 # Remove unsupported stuff on all kaOS configurations.
1205 skipdirs
="target-libiberty target-boehm-gc ${libgcj} target-libstdc++-v3 target-librx"
1206 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
1207 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
1208 noconfigdirs
="$noconfigdirs target-libgloss"
1211 # Skip some stuff on all NetBSD configurations.
1212 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
1214 # Skip some stuff that's unsupported on some NetBSD configurations.
1216 i
*86-*-netbsdelf*) ;;
1217 arm
*-*-netbsdelf*) ;;
1219 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1224 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss target-boehm-gc ${libgcj} target-libmudflap"
1227 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1229 # The tpf target doesn't support gdb yet.
1231 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-boehm-gc ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
1234 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda target-boehm-gc ${libgcj}"
1237 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 target-boehm-gc ${libgcj}"
1240 # ld works, but does not support shared libraries.
1241 # newlib is not 64 bit ready. I'm not sure about fileutils.
1242 # gas doesn't generate exception information.
1243 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
1246 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss target-boehm-gc ${libgcj}"
1249 # newlib is not 64 bit ready
1250 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1253 # newlib is not 64 bit ready
1254 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-boehm-gc ${libgcj}"
1257 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} target-newlib target-libgloss"
1260 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} target-newlib target-libgloss"
1262 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
1263 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1264 noconfigdirs
="$noconfigdirs target-examples"
1265 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
1266 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
1267 noconfigdirs
="$noconfigdirs expect dejagnu"
1268 # the C++ libraries don't build on top of CE's C libraries
1269 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
1270 noconfigdirs
="$noconfigdirs target-newlib"
1272 *-*-cygwin*) ;; # keep gdb and readline
1273 *) noconfigdirs
="$noconfigdirs gdb readline"
1278 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1282 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
1283 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1285 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
1286 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
1288 arm
*-*-linux-gnueabi)
1289 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
1290 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
1293 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} target-libiberty"
1296 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1299 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1302 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1305 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1308 noconfigdirs
="$noconfigdirs ld target-libgloss target-boehm-gc ${libgcj}"
1311 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 target-boehm-gc ${libgcj}"
1314 noconfigdirs
="$noconfigdirs target-libgloss gdb"
1315 if test x
${is_cross_compiler} != xno
; then
1316 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
1319 c4x-
*-* | tic4x-
*-*)
1320 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss target-boehm-gc ${libgcj}"
1322 c54x
*-*-* | tic54x-
*-*)
1323 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss target-boehm-gc ${libgcj} gcc gdb newlib"
1325 cris-
*-* | crisv32-
*-*)
1326 unsupported_languages
="$unsupported_languages java"
1329 unsupported_languages
="$unsupported_languages fortran"
1330 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
1332 unsupported_languages
="$unsupported_languages fortran"
1333 noconfigdirs
="$noconfigdirs target-boehm-gc";;
1335 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
1337 unsupported_languages
="$unsupported_languages fortran"
1338 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} target-newlib target-libgloss";;
1342 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap target-boehm-gc ${libgcj}"
1345 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss target-boehm-gc ${libgcj}"
1348 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} gdb"
1351 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} gdb"
1354 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1357 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1360 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss target-boehm-gc ${libgcj}"
1362 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
1364 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
1365 # In this case, it's because the hppa64-linux target is for
1366 # the kernel only at this point and has no libc, and thus no
1367 # headers, crt*.o, etc., all of which are needed by these.
1368 noconfigdirs
="$noconfigdirs target-zlib"
1370 parisc
*-*-linux* | hppa
*-*-linux*)
1374 hppa
*-*-openbsd* | \
1376 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1379 noconfigdirs
="$noconfigdirs ld shellutils"
1382 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
1383 # build on HP-UX 10.20.
1384 noconfigdirs
="$noconfigdirs ld shellutils target-boehm-gc ${libgcj}"
1387 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} gdb"
1390 # No gdb support yet.
1391 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
1394 # No gdb or ld support yet.
1395 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj} readline mmalloc libgui itcl gdb ld"
1399 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
1400 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1402 i
[3456789]86-*-linux*)
1403 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
1404 # not build java stuff by default.
1407 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}";;
1410 # This section makes it possible to build newlib natively on linux.
1411 # If we are using a cross compiler then don't configure newlib.
1412 if test x
${is_cross_compiler} != xno
; then
1413 noconfigdirs
="$noconfigdirs target-newlib"
1415 noconfigdirs
="$noconfigdirs target-libgloss"
1416 # If we are not using a cross compiler, do configure newlib.
1417 # Note however, that newlib will only be configured in this situation
1418 # if the --with-newlib option has been given, because otherwise
1419 # 'target-newlib' will appear in skipdirs.
1421 i
[3456789]86-*-mingw32*)
1422 target_configdirs
="$target_configdirs target-mingw"
1423 noconfigdirs
="$noconfigdirs expect target-libgloss target-boehm-gc ${libgcj}"
1425 # Can't build gdb for mingw32 if not native.
1427 i
[3456789]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
1428 *) noconfigdirs
="$noconfigdirs gdb tcl tk expect itcl gnuserv"
1433 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
1434 noconfigdirs
="$noconfigdirs target-gperf target-libgloss target-boehm-gc ${libgcj}"
1435 # always build newlib if winsup directory is present.
1436 if test -d "$srcdir/winsup"; then
1437 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
1438 elif test -d "$srcdir/newlib"; then
1439 echo "Warning: winsup is missing so newlib can't be built."
1442 # Can't build gdb for Cygwin if not native.
1444 *-*-cygwin*) ;; # keep gdb tcl tk expect etc.
1445 *) noconfigdirs
="$noconfigdirs gdb tcl tk expect itcl libgui gnuserv"
1449 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
1450 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
1453 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss target-boehm-gc ${libgcj}"
1455 i
[3456789]86-*-sco3.2v5
*)
1456 # The linker does not yet know about weak symbols in COFF,
1457 # and is not configured to handle mixed ELF and COFF.
1458 noconfigdirs
="$noconfigdirs ld target-libgloss target-boehm-gc ${libgcj}"
1460 i
[3456789]86-*-sco*)
1461 noconfigdirs
="$noconfigdirs gprof target-libgloss target-boehm-gc ${libgcj}"
1463 i
[3456789]86-*-solaris2*)
1464 noconfigdirs
="$noconfigdirs target-libgloss"
1466 i
[3456789]86-*-sysv4*)
1467 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1469 i
[3456789]86-*-beos*)
1470 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss target-boehm-gc ${libgcj}"
1472 i
[3456789]86-*-rdos*)
1473 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
1476 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1478 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
1479 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 target-boehm-gc ${libgcj}"
1482 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1485 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1488 # The EPOC C++ environment does not support exceptions or rtti,
1489 # and so building libstdc++-v3 tends not to always work.
1490 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
1493 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
1494 unsupported_languages
="$unsupported_languages fortran java"
1497 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1500 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1503 noconfigdirs
="$noconfigdirs sim"
1506 # copied from rs6000-*-* entry
1507 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-boehm-gc ${libgcj}"
1509 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
1510 target_configdirs
="$target_configdirs target-winsup"
1511 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv target-boehm-gc ${libgcj}"
1512 # always build newlib.
1513 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
1515 # This is temporary until we can link against shared libraries
1516 powerpcle-
*-solaris*)
1517 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv target-boehm-gc ${libgcj}"
1520 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss target-boehm-gc ${libgcj}"
1523 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1525 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
1528 noconfigdirs
="$noconfigdirs target-newlib gprof target-boehm-gc ${libgcj}"
1531 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-boehm-gc ${libgcj}"
1534 noconfigdirs
="$noconfigdirs gprof target-boehm-gc ${libgcj}"
1537 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss target-boehm-gc ${libgcj}"
1540 noconfigdirs
="$noconfigdirs gprof target-libgloss target-boehm-gc ${libgcj}"
1543 # Linking libjava exceeds command-line length limits on at least
1544 # IRIX 6.2, but not on IRIX 6.5.
1545 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
1546 # <oldham@codesourcery.com>
1547 noconfigdirs
="$noconfigdirs gprof target-libgloss target-boehm-gc ${libgcj}"
1550 noconfigdirs
="$noconfigdirs gprof target-libgloss target-boehm-gc ${libgcj}"
1553 noconfigdirs
="$noconfigdirs gprof target-libgloss target-boehm-gc ${libgcj}"
1556 noconfigdirs
="$noconfigdirs gprof target-boehm-gc ${libgcj}" # same as generic mips
1559 noconfigdirs
="$noconfigdirs target-newlib target-boehm-gc ${libgcj}"
1562 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1565 noconfigdirs
="$noconfigdirs gprof target-boehm-gc ${libgcj}"
1568 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss target-boehm-gc ${libgcj}"
1572 i
[3456789]86-*-vsta) ;; # don't add gprof back in
1573 i
[3456789]86-*-go32*) ;; # don't add gprof back in
1574 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
1575 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
1577 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1580 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1583 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1586 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1589 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1590 if test x
${is_cross_compiler} != xno
; then
1591 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
1596 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
1597 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1599 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
1602 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss target-boehm-gc ${libgcj}"
1605 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1608 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1611 noconfigdirs
="$noconfigdirs target-libgloss target-boehm-gc ${libgcj}"
1614 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss target-boehm-gc ${libgcj}"
1617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-boehm-gc ${libgcj}"
1620 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1623 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 target-boehm-gc ${libgcj}"
1625 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
1629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-boehm-gc ${libgcj}"
1632 noconfigdirs
="$noconfigdirs target-boehm-gc ${libgcj}"
1636 # If we aren't building newlib, then don't build libgloss, since libgloss
1637 # depends upon some newlib header files.
1638 case "${noconfigdirs}" in
1639 *target-libgloss
*) ;;
1640 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
1643 # Work in distributions that contain no compiler tools, like Autoconf.
1645 host_makefile_frag
=/dev
/null
1646 if test -d ${srcdir}/config
; then
1649 # Avoid "too much defining" errors from HPUX compiler.
1650 tentative_cc
="cc -Wp,-H256000"
1651 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
1652 # If it's HP/UX ar, this should be harmless.
1656 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
1659 #None of the Apollo compilers can compile gas or binutils. The preprocessor
1660 # chokes on bfd, the compiler won't let you assign integers to enums, and
1661 # other problems. Defining CC to gcc is a questionable way to say "don't use
1662 # the apollo compiler" (the preferred version of GCC could be called cc,
1663 # or whatever), but I'm not sure leaving CC as cc is any better...
1664 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
1665 # Used to have BISON=yacc.
1669 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
1672 # Under CX/UX, we want to tell the compiler to use ANSI mode.
1673 tentative_cc
="cc -Xa"
1674 host_makefile_frag
="config/mh-cxux"
1676 m88k-motorola-sysv
*)
1679 tentative_cc
="cc -Wf,-XNg1000"
1680 host_makefile_frag
="config/mh-decstation"
1683 # The C compiler on NEC MIPS SVR4 needs bigger tables.
1684 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
1685 host_makefile_frag
="config/mh-necv4"
1688 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
1689 # environment. Also bump switch table size so that cp-parse will
1690 # compile. Bump string length limit so linker builds.
1691 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
1694 host_makefile_frag
="config/mh-sysv4"
1697 # This is for a MIPS running RISC/os 4.52C.
1699 # This is needed for GDB, but needs to be in the top-level make because
1700 # if a library is compiled with the bsd headers and gets linked with the
1701 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
1702 # a different size).
1703 # ptrace(2) apparently has problems in the BSD environment. No workaround is
1704 # known except to select the sysv environment. Could we use /proc instead?
1705 # These "sysv environments" and "bsd environments" often end up being a pain.
1707 # This is not part of CFLAGS because perhaps not all C compilers have this
1709 tentative_cc
="cc -systype sysv"
1714 i
[3456789]86-*-sysv5*)
1715 host_makefile_frag
="config/mh-sysv5"
1717 i
[3456789]86-*-dgux*)
1718 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
1719 host_makefile_frag
="config/mh-dgux386"
1721 i
[3456789]86-ncr-sysv4.3
*)
1722 # The MetaWare compiler will generate a copyright message unless you
1723 # turn it off by adding the -Hnocopyr flag.
1724 tentative_cc
="cc -Hnocopyr"
1726 i
[3456789]86-ncr-sysv4*)
1727 # for an NCR 3000 (i486/SVR4) system.
1728 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
1729 # This compiler not only emits obnoxious copyright messages every time
1730 # you run it, but it chokes and dies on a whole bunch of GNU source
1731 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
1732 tentative_cc
="/usr/ccs/ATT/cc"
1733 host_makefile_frag
="config/mh-ncr3000"
1735 i
[3456789]86-*-sco3.2v5
*)
1737 i
[3456789]86-*-sco*)
1738 # The native C compiler botches some simple uses of const. Unfortunately,
1739 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
1740 tentative_cc
="cc -Dconst="
1741 host_makefile_frag
="config/mh-sco"
1743 i
[3456789]86-*-udk*)
1744 host_makefile_frag
="config/mh-sysv5"
1746 i
[3456789]86-*-solaris2*)
1747 host_makefile_frag
="config/mh-sysv4"
1749 i
[3456789]86-*-msdosdjgpp*)
1750 host_makefile_frag
="config/mh-djgpp"
1753 host_makefile_frag
="config/mh-cygwin"
1758 host_makefile_frag
="config/mh-interix"
1761 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
1765 host_makefile_frag
="config/mh-solaris"
1768 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
1769 # without overflowing the jump tables (-J says to use a 32 bit table)
1770 tentative_cc
="cc -J"
1773 tentative_cc
="cc -Wp,-H256000"
1776 tentative_cc
="cc -Wp,-H256000"
1779 # /bin/cc is less than useful for our purposes. Always use GCC
1780 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
1781 host_makefile_frag
="config/mh-lynxrs6k"
1784 host_makefile_frag
="config/mh-ppc-darwin"
1787 host_makefile_frag
="config/mh-ppc-aix"
1790 host_makefile_frag
="config/mh-ppc-aix"
1793 # /bin/cc is less than useful for our purposes. Always use GCC
1794 tentative_cc
="/bin/gcc"
1797 host_makefile_frag
="config/mh-sysv4"
1799 # This is placed last to prevent interfering with the cases above.
1801 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
1802 host_makefile_frag
="config/mh-x86omitfp"
1807 # If we aren't going to be using gcc, see if we can extract a definition
1808 # of CC from the fragment.
1809 # Actually, use the 'pre-extracted' version above.
1810 if test -z "${CC}" && test "${build}" = "${host}" ; then
1811 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1813 for dir
in $PATH; do
1814 test -z "$dir" && dir
=.
1815 if test -f $dir/gcc
; then
1821 if test -z "${found}" && test -n "${tentative_cc}" ; then
1826 if test "${build}" != "${host}" ; then
1827 # If we are doing a Canadian Cross, in which the host and build systems
1828 # are not the same, we set reasonable default values for the tools.
1830 CC
=${CC-${host_alias}-gcc}
1831 CFLAGS
=${CFLAGS-"-g -O2"}
1832 CXX
=${CXX-${host_alias}-c++}
1833 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
1834 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
1837 # Set reasonable default values for some tools even if not Canadian.
1838 # Of course, these are different reasonable default values, originally
1839 # specified directly in the Makefile.
1840 # We don't export, so that autoconf can do its job.
1841 # Note that all these settings are above the fragment inclusion point
1842 # in Makefile.in, so can still be overridden by fragments.
1843 # This is all going to change when we autoconfiscate...
1845 CC_FOR_BUILD
="\$(CC)"
1846 # Extract the first word of "gcc", so it can be a program name with args.
1847 set dummy gcc
; ac_word
=$2
1848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1849 echo "configure:1850: checking for $ac_word" >&5
1850 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1851 echo $ac_n "(cached) $ac_c" 1>&6
1853 if test -n "$CC"; then
1854 ac_cv_prog_CC
="$CC" # Let the user override the test.
1856 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1858 for ac_dir
in $ac_dummy; do
1859 test -z "$ac_dir" && ac_dir
=.
1860 if test -f $ac_dir/$ac_word; then
1869 if test -n "$CC"; then
1870 echo "$ac_t""$CC" 1>&6
1872 echo "$ac_t""no" 1>&6
1875 if test -z "$CC"; then
1876 # Extract the first word of "cc", so it can be a program name with args.
1877 set dummy cc
; ac_word
=$2
1878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1879 echo "configure:1880: checking for $ac_word" >&5
1880 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1881 echo $ac_n "(cached) $ac_c" 1>&6
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1889 for ac_dir
in $ac_dummy; do
1890 test -z "$ac_dir" && ac_dir
=.
1891 if test -f $ac_dir/$ac_word; then
1892 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1893 ac_prog_rejected
=yes
1901 if test $ac_prog_rejected = yes; then
1902 # We found a bogon in the path, so make sure we never use it.
1903 set dummy
$ac_cv_prog_CC
1905 if test $# -gt 0; then
1906 # We chose a different compiler from the bogus one.
1907 # However, it has the same basename, so the bogon will be chosen
1908 # first if we set CC to just the basename; use the full file name.
1910 set dummy
"$ac_dir/$ac_word" "$@"
1918 if test -n "$CC"; then
1919 echo "$ac_t""$CC" 1>&6
1921 echo "$ac_t""no" 1>&6
1924 if test -z "$CC"; then
1925 case "`uname -s`" in
1927 # Extract the first word of "cl", so it can be a program name with args.
1928 set dummy cl
; ac_word
=$2
1929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1930 echo "configure:1931: checking for $ac_word" >&5
1931 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1932 echo $ac_n "(cached) $ac_c" 1>&6
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC
="$CC" # Let the user override the test.
1937 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1939 for ac_dir
in $ac_dummy; do
1940 test -z "$ac_dir" && ac_dir
=.
1941 if test -f $ac_dir/$ac_word; then
1950 if test -n "$CC"; then
1951 echo "$ac_t""$CC" 1>&6
1953 echo "$ac_t""no" 1>&6
1958 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1961 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1962 echo "configure:1963: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1966 ac_cpp
='$CPP $CPPFLAGS'
1967 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1968 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1969 cross_compiling
=$ac_cv_prog_cc_cross
1971 cat > conftest.
$ac_ext << EOF
1973 #line 1974 "configure"
1974 #include "confdefs.h"
1978 if { (eval echo configure
:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1979 ac_cv_prog_cc_works
=yes
1980 # If we can't run a trivial program, we are probably using a cross compiler.
1981 if (.
/conftest
; exit) 2>/dev
/null
; then
1982 ac_cv_prog_cc_cross
=no
1984 ac_cv_prog_cc_cross
=yes
1987 echo "configure: failed program was:" >&5
1988 cat conftest.
$ac_ext >&5
1989 ac_cv_prog_cc_works
=no
1993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1994 ac_cpp
='$CPP $CPPFLAGS'
1995 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1996 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1997 cross_compiling
=$ac_cv_prog_cc_cross
1999 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2000 if test $ac_cv_prog_cc_works = no
; then
2001 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2003 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2004 echo "configure:2005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2005 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2006 cross_compiling
=$ac_cv_prog_cc_cross
2008 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2009 echo "configure:2010: checking whether we are using GNU C" >&5
2010 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2011 echo $ac_n "(cached) $ac_c" 1>&6
2013 cat > conftest.c
<<EOF
2018 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
2025 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
2027 if test $ac_cv_prog_gcc = yes; then
2033 ac_test_CFLAGS
="${CFLAGS+set}"
2034 ac_save_CFLAGS
="$CFLAGS"
2036 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2037 echo "configure:2038: checking whether ${CC-cc} accepts -g" >&5
2038 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
2039 echo $ac_n "(cached) $ac_c" 1>&6
2041 echo 'void f(){}' > conftest.c
2042 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2051 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2052 if test "$ac_test_CFLAGS" = set; then
2053 CFLAGS
="$ac_save_CFLAGS"
2054 elif test $ac_cv_prog_cc_g = yes; then
2055 if test "$GCC" = yes; then
2061 if test "$GCC" = yes; then
2069 # We must set the default linker to the linker used by gcc for the correct
2070 # operation of libtool. If LD is not defined and we are using gcc, try to
2071 # set the LD default to the ld used by gcc.
2072 if test -z "$LD"; then
2073 if test "$GCC" = yes; then
2076 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
2078 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
2080 case $gcc_prog_ld in
2081 # Accept absolute paths.
2082 [\\/]* |
[A-Za-z
]:[\\/]*)
2083 LD
="$gcc_prog_ld" ;;
2089 CFLAGS
=${CFLAGS-"-g"}
2090 CXXFLAGS
=${CXXFLAGS-"-g -O2"}
2093 if test $host != $build; then
2094 ac_tool_prefix
=${host_alias}-
2101 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
2102 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
2103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2104 echo "configure:2105: checking for $ac_word" >&5
2105 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
2106 echo $ac_n "(cached) $ac_c" 1>&6
2108 if test -n "$GNATBIND"; then
2109 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
2111 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2113 for ac_dir
in $ac_dummy; do
2114 test -z "$ac_dir" && ac_dir
=.
2115 if test -f $ac_dir/$ac_word; then
2116 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
2123 GNATBIND
="$ac_cv_prog_GNATBIND"
2124 if test -n "$GNATBIND"; then
2125 echo "$ac_t""$GNATBIND" 1>&6
2127 echo "$ac_t""no" 1>&6
2131 if test -z "$ac_cv_prog_GNATBIND"; then
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "gnatbind", so it can be a program name with args.
2134 set dummy gnatbind
; ac_word
=$2
2135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2136 echo "configure:2137: checking for $ac_word" >&5
2137 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
2138 echo $ac_n "(cached) $ac_c" 1>&6
2140 if test -n "$GNATBIND"; then
2141 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
2143 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2145 for ac_dir
in $ac_dummy; do
2146 test -z "$ac_dir" && ac_dir
=.
2147 if test -f $ac_dir/$ac_word; then
2148 ac_cv_prog_GNATBIND
="gnatbind"
2153 test -z "$ac_cv_prog_GNATBIND" && ac_cv_prog_GNATBIND
="no"
2156 GNATBIND
="$ac_cv_prog_GNATBIND"
2157 if test -n "$GNATBIND"; then
2158 echo "$ac_t""$GNATBIND" 1>&6
2160 echo "$ac_t""no" 1>&6
2168 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
2169 echo "configure:2170: checking whether compiler driver understands Ada" >&5
2170 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
2171 echo $ac_n "(cached) $ac_c" 1>&6
2173 cat >conftest.adb
<<EOF
2174 procedure conftest is begin null; end conftest;
2176 acx_cv_cc_gcc_supports_ada
=no
2177 # There is a bug in old released versions of GCC which causes the
2178 # driver to exit successfully when the appropriate language module
2179 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
2180 # Therefore we must check for the error message as well as an
2181 # unsuccessful exit.
2182 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
2183 # given a .adb file, but produce no object file. So we must check
2184 # if an object file was really produced to guard against this.
2185 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
2186 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
2187 acx_cv_cc_gcc_supports_ada
=yes
2192 echo "$ac_t""$acx_cv_cc_gcc_supports_ada" 1>&6
2194 if test x
$GNATBIND != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
2200 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
2201 echo "configure:2202: checking how to compare bootstrapped objects" >&5
2202 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
2203 echo $ac_n "(cached) $ac_c" 1>&6
2207 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
2208 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
2209 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
2212 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
2215 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
2216 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
2219 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
2226 echo "$ac_t""$gcc_cv_prog_cmp_skip" 1>&6
2227 do_compare
="$gcc_cv_prog_cmp_skip"
2231 # Check for GMP and MPFR
2235 # Specify a location for mpfr
2236 # check for this first so it ends up on the link line before gmp.
2237 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
2238 if test "${with_mpfr_dir+set}" = set; then
2239 withval
="$with_mpfr_dir"
2244 if test "x$with_mpfr_dir" != x
; then
2245 gmpinc
="-I$with_mpfr_dir"
2246 gmplibs
="$with_mpfr_dir/libmpfr.a"
2251 # Check whether --with-mpfr or --without-mpfr was given.
2252 if test "${with_mpfr+set}" = set; then
2253 withval
="$with_mpfr"
2258 if test "x$with_mpfr" != x
; then
2259 gmplibs
="-L$with_mpfr/lib $gmplibs"
2260 gmpinc
="-I$with_mpfr/include"
2263 # Specify a location for gmp
2264 # Check whether --with-gmp-dir or --without-gmp-dir was given.
2265 if test "${with_gmp_dir+set}" = set; then
2266 withval
="$with_gmp_dir"
2271 if test "x$with_gmp_dir" != x
; then
2272 gmpinc
="$gmpinc -I$with_gmp_dir"
2273 if test -f "$with_gmp_dir/.libs/libgmp.a"; then
2274 gmplibs
="$gmplibs $with_gmp_dir/.libs/libgmp.a"
2275 elif test -f "$with_gmp_dir/_libs/libgmp.a"; then
2276 gmplibs
="$gmplibs $with_gmp_dir/_libs/libgmp.a"
2278 # One of the later tests will catch the error if neither library is present.
2280 gmplibs
="$gmplibs -lgmp"
2283 # Check whether --with-gmp or --without-gmp was given.
2284 if test "${with_gmp+set}" = set; then
2290 if test "x$with_gmp" != x
; then
2291 gmplibs
="-L$with_gmp/lib $gmplibs"
2292 gmpinc
="-I$with_gmp/include $gmpinc"
2295 saved_CFLAGS
="$CFLAGS"
2296 CFLAGS
="$CFLAGS $gmpinc"
2297 # Check GMP actually works
2298 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
2299 echo "configure:2300: checking for correct version of gmp.h" >&5
2300 cat > conftest.
$ac_ext <<EOF
2301 #line 2302 "configure"
2302 #include "confdefs.h"
2306 #if __GNU_MP_VERSION < 3
2312 if { (eval echo configure
:2313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2314 echo "$ac_t""yes" 1>&6
2316 echo "configure: failed program was:" >&5
2317 cat conftest.
$ac_ext >&5
2319 echo "$ac_t""no" 1>&6; have_gmp
=no
2323 if test x
"$have_gmp" = xyes
; then
2324 echo $ac_n "checking for MPFR""... $ac_c" 1>&6
2325 echo "configure:2326: checking for MPFR" >&5
2328 LIBS
="$LIBS $gmplibs"
2329 cat > conftest.
$ac_ext <<EOF
2330 #line 2331 "configure"
2331 #include "confdefs.h"
2335 mpfr_t n; mpfr_init(n);
2338 if { (eval echo configure
:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2340 echo "$ac_t""yes" 1>&6
2342 echo "configure: failed program was:" >&5
2343 cat conftest.
$ac_ext >&5
2345 echo "$ac_t""no" 1>&6; have_gmp
=no
2350 CFLAGS
="$saved_CFLAGS"
2352 # Flags needed for both GMP and/or MPFR
2356 # By default, C is the only stage 1 language.
2360 # Figure out what language subdirectories are present.
2361 # Look if the user specified --enable-languages="..."; if not, use
2362 # the environment variable $LANGUAGES if defined. $LANGUAGES might
2364 # NB: embedded tabs in this IF block -- do not untabify
2365 if test -d ${srcdir}/gcc
; then
2366 if test x
"${enable_languages+set}" != xset
; then
2367 if test x
"${LANGUAGES+set}" = xset
; then
2368 enable_languages
="${LANGUAGES}"
2369 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
2371 enable_languages
=all
2374 if test x
"${enable_languages}" = x ||
2375 test x
"${enable_languages}" = xyes
;
2377 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
2381 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
2383 # 'f95' is the old name for the 'fortran' language. We issue a warning
2384 # and make the substitution.
2385 case ,${enable_languages}, in
2387 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
2388 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
2392 # First scan to see if an enabled language requires some other language.
2393 # We assume that a given config-lang.in will list all the language
2394 # front ends it requires, even if some are required indirectly.
2395 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
2396 case ${lang_frag} in
2398 # The odd quoting in the next line works around
2399 # an apparent bug in bash 1.12 on linux.
2400 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
2402 # From the config-lang.in, get $language, $lang_requires
2406 for other
in ${lang_requires} ; do
2407 case ,${enable_languages}, in
2411 echo " \`$other' language required by \`$language'; enabling" 1>&2
2412 enable_languages
="${enable_languages},${other}"
2420 new_enable_languages
=c
2421 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
2422 potential_languages
=c
2424 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
2425 case ${lang_frag} in
2427 # The odd quoting in the next line works around
2428 # an apparent bug in bash 1.12 on linux.
2429 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
2431 # From the config-lang.in, get $language, $target_libs,
2432 # $lang_dirs, $boot_language, and $build_by_default
2440 potential_languages
="${potential_languages},${language}"
2441 # This is quite sensitive to the ordering of the case statement arms.
2442 case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in
2444 echo "${lang_frag} doesn't set \$language." 1>&2
2448 # Ada was requested with no preexisting GNAT. Disable unconditionally.
2451 *,${language},*:*:*:*)
2452 # Language was explicitly selected; include it.
2456 # 'all' was selected, but this is not a default language
2457 # so do not include it.
2461 # 'all' was selected and this is a default language; include it.
2469 # Disable languages that need GMP if it isn't available.
2470 case ,${enable_languages},:${have_gmp}:${need_gmp} in
2471 *,${language},*:no
:yes)
2472 # Specifically requested language; tell them.
2473 { echo "configure: error: GMP with MPFR support is required to build $language" 1>&2; exit 1; }
2481 # Disable a language that is unsupported by the target.
2482 case " $unsupported_languages " in
2488 case $add_this_lang in
2490 # Remove language-dependent dirs.
2491 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
2494 new_enable_languages
="$new_enable_languages,$language"
2495 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
2496 case ${boot_language} in
2498 # Add to (comma-separated) list of stage 1 languages.
2499 stage1_languages
="${stage1_languages},${language}"
2508 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
2509 if test "x$missing_languages" != x
; then
2510 { echo "configure: error:
2511 The following requested languages could not be built: ${missing_languages}
2512 Recognised languages are: ${potential_languages}" 1>&2; exit 1; }
2515 if test "x$new_enable_languages" != "x$enable_languages"; then
2516 echo The following languages will be built
: ${new_enable_languages}
2518 enable_languages
="$new_enable_languages"
2519 ac_configure_args
=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
2522 # Handle --disable-<component> generically.
2523 for dir
in $configdirs $build_configdirs $target_configdirs ; do
2524 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
2525 if eval test x\
${enable_${dirname}} "=" xno
; then
2526 noconfigdirs
="$noconfigdirs $dir"
2530 # Check for Boehm's garbage collector
2531 # Check whether --enable-objc-gc or --disable-objc-gc was given.
2532 if test "${enable_objc_gc+set}" = set; then
2533 enableval
="$enable_objc_gc"
2534 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
2535 *,objc
,*:*:yes:*target-boehm-gc
*)
2536 { echo "configure: error: Boehm's garbage collector was requested yet not supported in this configuration" 1>&2; exit 1; }
2542 # Make sure we only build Boehm's garbage collector if required.
2543 case ,${enable_languages},:${enable_libgcj}:${enable_objc_gc} in
2545 # Keep target-boehm-gc if requested for Objective-C.
2548 # Remove target-boehm-gc if libgcj has been disabled explicitly.
2549 noconfigdirs
="$noconfigdirs target-boehm-gc"
2552 # Keep target-boehm-gc by default for Java.
2555 # Otherwise remove target-boehm-gc.
2556 noconfigdirs
="$noconfigdirs target-boehm-gc"
2560 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
2561 # $build_configdirs and $target_configdirs.
2562 # If we have the source for $noconfigdirs entries, add them to $notsupp.
2565 for dir
in .
$skipdirs $noconfigdirs ; do
2566 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
2567 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2568 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
2569 if test -r $srcdir/$dirname/configure
; then
2570 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2573 notsupp
="$notsupp $dir"
2577 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2578 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
2579 if test -r $srcdir/$dirname/configure
; then
2580 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2583 notsupp
="$notsupp $dir"
2587 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2588 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
2589 if test -r $srcdir/$dirname/configure
; then
2590 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2593 notsupp
="$notsupp $dir"
2599 # Sometimes the tools are distributed with libiberty but with no other
2600 # libraries. In that case, we don't want to build target-libiberty.
2601 if test -n "${target_configdirs}" ; then
2603 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
2604 if test "$i" != "libiberty" ; then
2605 if test -r $srcdir/$i/configure
; then
2611 if test -z "${others}" ; then
2616 # Quietly strip out all directories which aren't configurable in this tree.
2617 # This relies on all configurable subdirectories being autoconfiscated, which
2619 build_configdirs_all
="$build_configdirs"
2621 for i
in ${build_configdirs_all} ; do
2622 j
=`echo $i | sed -e s/build-//g`
2623 if test -f ${srcdir}/$j/configure
; then
2624 build_configdirs
="${build_configdirs} $i"
2628 configdirs_all
="$configdirs"
2630 for i
in ${configdirs_all} ; do
2631 if test -f ${srcdir}/$i/configure
; then
2632 configdirs
="${configdirs} $i"
2636 target_configdirs_all
="$target_configdirs"
2638 for i
in ${target_configdirs_all} ; do
2639 j
=`echo $i | sed -e s/target-//g`
2640 if test -f ${srcdir}/$j/configure
; then
2641 target_configdirs
="${target_configdirs} $i"
2645 # Produce a warning message for the subdirs we can't configure.
2646 # This isn't especially interesting in the Cygnus tree, but in the individual
2647 # FSF releases, it's important to let people know when their machine isn't
2648 # supported by the one or two programs in a package.
2650 if test -n "${notsupp}" && test -z "${norecursion}" ; then
2651 # If $appdirs is non-empty, at least one of those directories must still
2652 # be configured, or we error out. (E.g., if the gas release supports a
2653 # specified target in some subdirs but not the gas subdir, we shouldn't
2654 # pretend that all is well.)
2655 if test -n "$appdirs" ; then
2656 for dir
in $appdirs ; do
2657 if test -r $dir/Makefile.
in ; then
2658 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
2662 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
2668 if test -n "$appdirs" ; then
2669 echo "*** This configuration is not supported by this package." 1>&2
2673 # Okay, some application will build, or we don't care to check. Still
2674 # notify of subdirs not getting built.
2675 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
2676 echo " ${notsupp}" 1>&2
2677 echo " (Any other directories should still work fine.)" 1>&2
2687 # Check whether --with-build-sysroot or --without-build-sysroot was given.
2688 if test "${with_build_sysroot+set}" = set; then
2689 withval
="$with_build_sysroot"
2690 if test x
"$withval" != x
; then
2691 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
2694 SYSROOT_CFLAGS_FOR_TARGET
=
2699 # Handle --with-headers=XXX. If the value is not "yes", the contents of
2700 # the named directory are copied to $(tooldir)/sys-include.
2701 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
2702 if test x
${is_cross_compiler} = xno
; then
2703 echo 1>&2 '***' --with-headers is only supported when cross compiling
2706 if test x
"${with_headers}" != xyes
; then
2707 case "${exec_prefixoption}" in
2709 *) x
=${exec_prefix} ;;
2711 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
2715 # Handle --with-libs=XXX. If the value is not "yes", the contents of
2716 # the name directories are copied to $(tooldir)/lib. Multiple directories
2718 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2719 if test x
${is_cross_compiler} = xno
; then
2720 echo 1>&2 '***' --with-libs is only supported when cross compiling
2723 if test x
"${with_libs}" != xyes
; then
2724 # Copy the libraries in reverse order, so that files in the first named
2725 # library override files in subsequent libraries.
2726 case "${exec_prefixoption}" in
2728 *) x
=${exec_prefix} ;;
2730 for l
in ${with_libs}; do
2731 copy_dirs
="$l $x/${target_alias}/lib ${copy_dirs}"
2736 # Set with_gnu_as and with_gnu_ld as appropriate.
2738 # This is done by determining whether or not the appropriate directory
2739 # is available, and by checking whether or not specific configurations
2740 # have requested that this magic not happen.
2742 # The command line options always override the explicit settings in
2743 # configure.in, and the settings in configure.in override this magic.
2745 # If the default for a toolchain is to use GNU as and ld, and you don't
2746 # want to do that, then you should use the --without-gnu-as and
2747 # --without-gnu-ld options for the configure script.
2749 if test x
${use_gnu_as} = x
&&
2750 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
2752 extra_host_args
="$extra_host_args --with-gnu-as"
2755 if test x
${use_gnu_ld} = x
&&
2756 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
2758 extra_host_args
="$extra_host_args --with-gnu-ld"
2761 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
2762 # can detect this case.
2764 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
2766 extra_host_args
="$extra_host_args --with-newlib"
2769 # Handle ${copy_dirs}
2770 set fnord
${copy_dirs}
2772 while test $# != 0 ; do
2773 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
2776 echo Copying
$1 to
$2
2778 # Use the install script to create the directory and all required
2779 # parent directories.
2780 if test -d $2 ; then
2784 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
2787 # Copy the directory, assuming we have tar.
2788 # FIXME: Should we use B in the second tar? Not all systems support it.
2789 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
2791 # It is the responsibility of the user to correctly adjust all
2792 # symlinks. If somebody can figure out how to handle them correctly
2793 # here, feel free to add the code.
2800 # Determine a target-dependent exec_prefix that the installed
2801 # gcc will search in. Keep this list sorted by triplet, with
2802 # the *-*-osname triplets last.
2806 md_exec_prefix
=/gnu
/lib
/gcc-lib
2808 i3456786-pc-msdosdjgpp
*)
2809 md_exec_prefix
=/dev
/env
/DJDIR
/bin
2811 i3456786-
*-sco3.2v5
*)
2812 if test $with_gnu_as = yes; then
2813 md_exec_prefix
=/usr
/gnu
/bin
2815 md_exec_prefix
=/usr
/ccs
/bin
/elf
2820 powerpc-
*-chorusos* | \
2821 powerpc
*-*-eabi* | \
2822 powerpc
*-*-sysv* | \
2823 powerpc
*-*-kaos* | \
2825 md_exec_prefix
=/usr
/ccs
/bin
2830 md_exec_prefix
=/usr
/ccs
/bin
2845 md_exec_prefix
=/usr
/ccs
/bin
2849 extra_arflags_for_target
=
2850 extra_nmflags_for_target
=
2851 extra_ranlibflags_for_target
=
2852 target_makefile_frag
=/dev
/null
2855 target_makefile_frag
="config/mt-netware"
2857 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2858 target_makefile_frag
="config/mt-gnu"
2860 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
2861 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
2862 # commands to handle both 32-bit and 64-bit objects. These flags are
2863 # harmless if we're using GNU nm or ar.
2864 extra_arflags_for_target
=" -X32_64"
2865 extra_nmflags_for_target
=" -B -X32_64"
2868 # ranlib from Darwin requires the -c flag to look at common symbols.
2869 extra_ranlibflags_for_target
=" -c"
2871 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
2872 target_makefile_frag
="config/mt-wince"
2876 alphaieee_frag
=/dev
/null
2879 # This just makes sure to use the -mieee option to build target libs.
2880 # This should probably be set individually by each library.
2881 alphaieee_frag
="config/mt-alphaieee"
2885 # If --enable-target-optspace always use -Os instead of -O2 to build
2886 # the target libraries, similarly if it is not specified, use -Os
2887 # on selected platforms.
2888 ospace_frag
=/dev
/null
2889 case "${enable_target_optspace}:${target}" in
2891 ospace_frag
="config/mt-ospace"
2894 ospace_frag
="config/mt-d30v"
2896 :m32r-
* |
:d10v-
* |
:fr30-
*)
2897 ospace_frag
="config/mt-ospace"
2902 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
2906 # Default to using --with-stabs for certain targets.
2907 if test x
${with_stabs} = x
; then
2911 mips
*-*-* | alpha
*-*-osf*)
2913 extra_host_args
="${extra_host_args} --with-stabs"
2918 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
2919 # them automatically.
2922 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
2926 # Some systems (e.g., one of the i386-aix systems the gas testers are
2927 # using) don't handle "\$" correctly, so don't use it here.
2928 tooldir
='${exec_prefix}'/${target_alias}
2929 build_tooldir
=${tooldir}
2931 # Create a .gdbinit file which runs the one in srcdir
2932 # and tells GDB to look there for source files.
2934 if test -r ${srcdir}/.gdbinit
; then
2937 *) cat > .
/.gdbinit
<<EOF
2941 source ${srcdir}/.gdbinit
2947 # Make sure that the compiler is able to generate an executable. If it
2948 # can't, we are probably in trouble. We don't care whether we can run the
2949 # executable--we might be using a cross compiler--we only care whether it
2950 # can be created. At this point the main configure script has set CC.
2952 echo "int main () { return 0; }" > conftest.c
2953 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
2954 if test $?
= 0 ; then
2955 if test -s conftest ||
test -s conftest.exe
; then
2961 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
2962 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
2969 # The Solaris /usr/ucb/cc compiler does not appear to work.
2971 sparc-sun-solaris2
*)
2972 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
2973 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
2975 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
2976 if test -d /opt
/cygnus
/bin
; then
2977 if test "$could_use" = "" ; then
2978 could_use
="/opt/cygnus/bin"
2980 could_use
="$could_use or /opt/cygnus/bin"
2983 if test "$could_use" = "" ; then
2984 echo "Warning: compilation may fail because you're using"
2985 echo "/usr/ucb/cc. You should change your PATH or CC "
2986 echo "variable and rerun configure."
2988 echo "Warning: compilation may fail because you're using"
2989 echo "/usr/ucb/cc, when you should use the C compiler from"
2990 echo "$could_use. You should change your"
2991 echo "PATH or CC variable and rerun configure."
2998 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
2999 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
3000 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
3003 # Record target_configdirs and the configure arguments for target and
3004 # build configuration in Makefile.
3005 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
3006 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
3008 # Determine whether gdb needs tk/tcl or not.
3009 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
3010 # and in that case we want gdb to be built without tk. Ugh!
3011 # In fact I believe gdb is the *only* package directly dependent on tk,
3012 # so we should be able to put the 'maybe's in unconditionally and
3013 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
3014 # 100% sure that that's safe though.
3016 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
3017 case "$enable_gdbtk" in
3021 GDB_TK
="${gdb_tk}" ;;
3023 # Only add the dependency on gdbtk when GDBtk is part of the gdb
3024 # distro. Eventually someone will fix this and move Insight, nee
3025 # gdbtk to a separate directory.
3026 if test -d ${srcdir}/gdb
/gdbtk
; then
3033 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
3034 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
3036 # Strip out unwanted targets.
3038 # While at that, we remove Makefiles if we were started for recursive
3039 # configuration, so that the top-level Makefile reconfigures them,
3040 # like we used to do when configure itself was recursive.
3042 # Loop over modules. $extrasub must be used with care, limiting as
3043 # much as possible the usage of range addresses. That's because autoconf
3044 # splits the sed script to overcome limits in the number of commands,
3045 # and relying on carefully-timed sed passes may turn out to be very hard
3046 # to maintain later. In this particular case, you just have to be careful
3047 # not to nest @if/@endif pairs, because configure will not warn you at all.
3049 # Check whether --enable-bootstrap or --disable-bootstrap was given.
3050 if test "${enable_bootstrap+set}" = set; then
3051 enableval
="$enable_bootstrap"
3054 enable_bootstrap
=default
3058 # Issue errors and warnings for invalid/strange bootstrap combinations.
3059 case "$configdirs" in
3060 *gcc
*) have_compiler
=yes ;;
3061 *) have_compiler
=no
;;
3064 case "$have_compiler:$host:$target:$enable_bootstrap" in
3067 # Default behavior. Enable bootstrap if we have a compiler
3068 # and we are in a native configuration.
3069 yes:$build:$build:default
)
3070 enable_bootstrap
=yes ;;
3073 enable_bootstrap
=no
;;
3075 # We have a compiler and we are in a native configuration, bootstrap is ok
3076 yes:$build:$build:yes)
3079 # Other configurations, but we have a compiler. Assume the user knows
3082 echo "configure: warning: trying to bootstrap a cross compiler" 1>&2
3085 # No compiler: if they passed --enable-bootstrap explicitly, fail
3087 { echo "configure: error: cannot bootstrap without a compiler" 1>&2; exit 1; } ;;
3089 # Fail if wrong command line
3091 { echo "configure: error: invalid option for --enable-bootstrap" 1>&2; exit 1; }
3095 # Adjust the toplevel makefile according to whether bootstrap was selected.
3096 case "$enable_bootstrap" in
3098 bootstrap_suffix
=bootstrap
;;
3100 bootstrap_suffix
=no-bootstrap
;;
3103 for module
in ${build_configdirs} ; do
3104 if test -z "${no_recursion}" \
3105 && test -f ${build_subdir}/${module}/Makefile
; then
3106 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
3107 rm -f ${build_subdir}/${module}/Makefile
3110 /^@if build-$module\$/d
3111 /^@endif build-$module\$/d
3112 /^@if build-$module-$bootstrap_suffix\$/d
3113 /^@endif build-$module-$bootstrap_suffix\$/d"
3115 for module
in ${configdirs} ; do
3116 if test -z "${no_recursion}"; then
3117 for file in stage
*-${module}/Makefile
${module}/Makefile
; do
3118 if test -f ${file}; then
3119 echo 1>&2 "*** removing ${file} to force reconfigure"
3126 /^@endif $module\$/d
3127 /^@if $module-$bootstrap_suffix\$/d
3128 /^@endif $module-$bootstrap_suffix\$/d"
3130 for module
in ${target_configdirs} ; do
3131 if test -z "${no_recursion}" \
3132 && test -f ${target_subdir}/${module}/Makefile
; then
3133 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
3134 rm -f ${target_subdir}/${module}/Makefile
3137 /^@if target-$module\$/d
3138 /^@endif target-$module\$/d
3139 /^@if target-$module-$bootstrap_suffix\$/d
3140 /^@endif target-$module-$bootstrap_suffix\$/d"
3144 /^@if /,/^@endif /d"
3146 # Create the serialization dependencies. This uses a temporary file.
3148 # Check whether --enable-serial-configure or --disable-serial-configure was given.
3149 if test "${enable_serial_configure+set}" = set; then
3150 enableval
="$enable_serial_configure"
3155 case ${enable_serial_configure} in
3157 enable_serial_build_configure
=yes
3158 enable_serial_host_configure
=yes
3159 enable_serial_target_configure
=yes
3163 # These force 'configure's to be done one at a time, to avoid problems
3164 # with contention over a shared config.cache.
3166 echo '# serdep.tmp' > serdep.tmp
3168 test "x${enable_serial_build_configure}" = xyes
&&
3169 for item
in ${build_configdirs} ; do
3172 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
3177 test "x${enable_serial_host_configure}" = xyes
&&
3178 for item
in ${configdirs} ; do
3181 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
3186 test "x${enable_serial_target_configure}" = xyes
&&
3187 for item
in ${target_configdirs} ; do
3190 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
3194 serialization_dependencies
=serdep.tmp
3197 # Base args. Strip norecursion, cache-file, srcdir, host, build,
3198 # target and nonopt. These are the ones we might not want to pass
3199 # down to subconfigures. Also strip program-prefix, program-suffix,
3200 # and program-transform-name, so that we can pass down a consistent
3201 # program-transform-name. If autoconf has put single quotes around
3202 # any of these arguments (because they contain shell metacharacters)
3203 # then this will fail; in practice this only happens for
3204 # --program-transform-name, so be sure to override --program-transform-name
3205 # at the end of the argument list.
3206 # These will be expanded by make, so quote '$'.
3207 cat <<\EOF_SED
> conftestsed
3209 s
/ --c[a-z-
]*[= ][^
]*//g
3210 s
/ --sr[a-z-
]*[= ][^
]*//g
3211 s
/ --ho[a-z-
]*[= ][^
]*//g
3212 s
/ --bu[a-z-
]*[= ][^
]*//g
3213 s
/ --t[a-z-
]*[= ][^
]*//g
3214 s
/ --program-[pst
][a-z-
]*[= ][^
]*//g
3215 s
/ -cache-file[= ][^
]*//g
3216 s
/ -srcdir[= ][^
]*//g
3217 s
/ -host[= ][^
]*//g
3218 s
/ -build[= ][^
]*//g
3219 s
/ -target[= ][^
]*//g
3220 s
/ -program-prefix[= ][^
]*//g
3221 s
/ -program-suffix[= ][^
]*//g
3222 s
/ -program-transform-name[= ][^
]*//g
3227 sed -f conftestsed <<EOF_SED > conftestsed.out
3228 ${ac_configure_args}
3230 baseargs=`cat conftestsed.out`
3231 rm -f conftestsed conftestsed.out
3233 # Add in --program-transform-name, after --program-prefix and
3234 # --program-suffix have been applied to it. Autoconf has already
3235 # doubled dollar signs and backslashes in program_transform_name; we want
3236 # the backslashes un-doubled, and then the entire thing wrapped in single
3237 # quotes, because this will be expanded first by make and then by the shell.
3238 # Also, because we want to override the logic in subdir configure scripts to
3239 # choose program_transform_name, replace any s,x,x, with s,y,y,.
3240 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
3241 ${program_transform_name}
3243 gcc_transform_name=`cat conftestsed.out`
3244 rm -f conftestsed.out
3245 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
3247 # For the build-side libraries, we just need to pretend we're native
,
3248 # and not use the same cache file. Multilibs are neither needed nor
3250 build_configargs
="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} --target=${target_alias} ${baseargs}"
3252 # For host modules, accept cache file option, or specification as blank.
3253 case "${cache_file}" in
3255 cache_file_option
="" ;;
3256 /* |
[A-Za-z
]:[\\/]* ) # absolute path
3257 cache_file_option
="--cache-file=${cache_file}" ;;
3259 cache_file_option
="--cache-file=../${cache_file}" ;;
3262 # Host dirs don't like to share a cache file either, horribly enough.
3263 # This seems to be due to autoconf 2.5x stupidity.
3264 host_configargs
="--cache-file=./config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
3266 target_configargs
=${baseargs}
3268 # Passing a --with-cross-host argument lets the target libraries know
3269 # whether they are being built with a cross-compiler or being built
3270 # native. However, it would be better to use other mechanisms to make the
3271 # sorts of decisions they want to make on this basis. Please consider
3272 # this option to be deprecated. FIXME.
3273 if test x
${is_cross_compiler} = xyes
; then
3274 target_configargs
="--with-cross-host=${host_alias} ${target_configargs}"
3277 # Default to --enable-multilib.
3278 if test x
${enable_multilib} = x
; then
3279 target_configargs
="--enable-multilib ${target_configargs}"
3282 # Pass --with-newlib if appropriate. Note that target_configdirs has
3283 # changed from the earlier setting of with_newlib.
3284 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
3285 target_configargs
="--with-newlib ${target_configargs}"
3288 # Different target subdirs use different values of certain variables
3289 # (notably CXX). Worse, multilibs use *lots* of different values.
3290 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
3291 # it doesn't automatically accept command-line overrides of them.
3292 # This means it's not safe for target subdirs to share a cache file,
3293 # which is disgusting, but there you have it. Hopefully this can be
3294 # fixed in future. It's still worthwhile to use a cache file for each
3295 # directory. I think.
3297 # Pass the appropriate --build, --host, --target and --cache-file arguments.
3298 # We need to pass --target, as newer autoconf's requires consistency
3299 # for target_alias and gcc doesn't manage it consistently.
3300 target_configargs
="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
3303 case " $target_configdirs " in
3305 case " $target_configargs " in
3306 *" --with-newlib "*)
3309 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' ;;
3312 # If we're not building GCC, don't discard standard headers.
3313 if test -d ${srcdir}/gcc
; then
3314 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
3316 if test "${build}" != "${host}"; then
3317 # On Canadian crosses, CC_FOR_TARGET will have already been set
3318 # by `configure', so we won't have an opportunity to add -Bgcc/
3319 # to it. This is right: we don't want to search that directory
3320 # for binaries, but we want the header files in there, so add
3322 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
3324 # Someone might think of using the pre-installed headers on
3325 # Canadian crosses, in case the installed compiler is not fully
3326 # compatible with the compiler being built. In this case, it
3327 # would be better to flag an error than risking having
3328 # incompatible object files being constructed. We can't
3329 # guarantee that an error will be flagged, but let's hope the
3330 # compiler will do it, when presented with incompatible header
3335 case "${target}-${is_cross_compiler}" in
3336 i
[3456789]86-*-linux*-no)
3337 # Here host == target, so we don't need to build gcc,
3338 # so we don't want to discard standard headers.
3339 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
3342 # If we're building newlib, use its generic headers last, but search
3343 # for any libc-related directories first (so make it the last -B
3345 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
3353 # Allow the user to override the flags for
3354 # our build compiler if desired.
3355 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3357 # On Canadian crosses, we'll be searching the right directories for
3358 # the previously-installed cross compiler, so don't bother to add
3359 # flags for directories within the install tree of the compiler
3360 # being built; programs in there won't even run.
3361 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
3362 # Search for pre-installed headers if nothing else fits.
3363 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
3366 if test "x
${use_gnu_ld}" = x &&
3367 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
3368 # Arrange for us to find uninstalled linker scripts.
3369 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
3372 # Search for other target-specific linker scripts and such.
3375 if test -d ${srcdir}/libgloss/m32c; then
3376 # This is for crt0.o
3377 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
3378 # This is for r8c.ld
3379 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
3380 # This is for libnosys.a
3381 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
3386 # Makefile fragments.
3387 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
3389 eval fragval=\$$frag
3390 if test $fragval != /dev/null; then
3391 eval $frag=${srcdir}/$fragval
3399 # Miscellanea: directories, flags, etc.
3407 # Build module lists & subconfigure args.
3411 # Host module lists & subconfigure args.
3415 # Target module lists & subconfigure args.
3423 # Generate default definitions for YACC, M4, LEX and other programs that run
3424 # on the build machine. These are used if the Makefile can't locate these
3425 # programs in objdir.
3426 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
3428 for ac_prog in 'bison -y' byacc yacc
3430 # Extract the first word of "$ac_prog", so it can be a program name with args.
3431 set dummy $ac_prog; ac_word=$2
3432 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3433 echo "configure
:3434: checking
for $ac_word" >&5
3434 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3435 echo $ac_n "(cached
) $ac_c" 1>&6
3437 if test -n "$YACC"; then
3438 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3442 for ac_dir in $ac_dummy; do
3443 test -z "$ac_dir" && ac_dir=.
3444 if test -f $ac_dir/$ac_word; then
3445 ac_cv_prog_YACC="$ac_prog"
3452 YACC="$ac_cv_prog_YACC"
3453 if test -n "$YACC"; then
3454 echo "$ac_t""$YACC" 1>&6
3456 echo "$ac_t""no
" 1>&6
3459 test -n "$YACC" && break
3461 test -n "$YACC" || YACC="$MISSING bison
-y"
3463 case " $build_configdirs " in
3464 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
3465 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
3468 for ac_prog in bison
3470 # Extract the first word of "$ac_prog", so it can be a program name with args.
3471 set dummy $ac_prog; ac_word=$2
3472 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3473 echo "configure
:3474: checking
for $ac_word" >&5
3474 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
3475 echo $ac_n "(cached
) $ac_c" 1>&6
3477 if test -n "$BISON"; then
3478 ac_cv_prog_BISON="$BISON" # Let the user override the test.
3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3482 for ac_dir in $ac_dummy; do
3483 test -z "$ac_dir" && ac_dir=.
3484 if test -f $ac_dir/$ac_word; then
3485 ac_cv_prog_BISON="$ac_prog"
3492 BISON="$ac_cv_prog_BISON"
3493 if test -n "$BISON"; then
3494 echo "$ac_t""$BISON" 1>&6
3496 echo "$ac_t""no
" 1>&6
3499 test -n "$BISON" && break
3501 test -n "$BISON" || BISON="$MISSING bison
"
3503 case " $build_configdirs " in
3504 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
3507 for ac_prog in gm4 gnum4 m4
3509 # Extract the first word of "$ac_prog", so it can be a program name with args.
3510 set dummy $ac_prog; ac_word=$2
3511 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3512 echo "configure
:3513: checking
for $ac_word" >&5
3513 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
3514 echo $ac_n "(cached
) $ac_c" 1>&6
3516 if test -n "$M4"; then
3517 ac_cv_prog_M4="$M4" # Let the user override the test.
3519 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3521 for ac_dir in $ac_dummy; do
3522 test -z "$ac_dir" && ac_dir=.
3523 if test -f $ac_dir/$ac_word; then
3524 ac_cv_prog_M4="$ac_prog"
3532 if test -n "$M4"; then
3533 echo "$ac_t""$M4" 1>&6
3535 echo "$ac_t""no
" 1>&6
3538 test -n "$M4" && break
3540 test -n "$M4" || M4="$MISSING m4"
3542 case " $build_configdirs " in
3543 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
3546 for ac_prog in flex lex
3548 # Extract the first word of "$ac_prog", so it can be a program name with args.
3549 set dummy $ac_prog; ac_word=$2
3550 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3551 echo "configure
:3552: checking
for $ac_word" >&5
3552 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
3553 echo $ac_n "(cached
) $ac_c" 1>&6
3555 if test -n "$LEX"; then
3556 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3560 for ac_dir in $ac_dummy; do
3561 test -z "$ac_dir" && ac_dir=.
3562 if test -f $ac_dir/$ac_word; then
3563 ac_cv_prog_LEX="$ac_prog"
3570 LEX="$ac_cv_prog_LEX"
3571 if test -n "$LEX"; then
3572 echo "$ac_t""$LEX" 1>&6
3574 echo "$ac_t""no
" 1>&6
3577 test -n "$LEX" && break
3579 test -n "$LEX" || LEX="$MISSING flex
"
3581 case " $build_configdirs " in
3582 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
3583 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
3588 # Extract the first word of "$ac_prog", so it can be a program name with args.
3589 set dummy $ac_prog; ac_word=$2
3590 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3591 echo "configure
:3592: checking
for $ac_word" >&5
3592 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
3593 echo $ac_n "(cached
) $ac_c" 1>&6
3595 if test -n "$FLEX"; then
3596 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
3598 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3600 for ac_dir in $ac_dummy; do
3601 test -z "$ac_dir" && ac_dir=.
3602 if test -f $ac_dir/$ac_word; then
3603 ac_cv_prog_FLEX="$ac_prog"
3610 FLEX="$ac_cv_prog_FLEX"
3611 if test -n "$FLEX"; then
3612 echo "$ac_t""$FLEX" 1>&6
3614 echo "$ac_t""no
" 1>&6
3617 test -n "$FLEX" && break
3619 test -n "$FLEX" || FLEX="$MISSING flex
"
3621 case " $build_configdirs " in
3622 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
3625 for ac_prog in makeinfo
3627 # Extract the first word of "$ac_prog", so it can be a program name with args.
3628 set dummy $ac_prog; ac_word=$2
3629 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3630 echo "configure
:3631: checking
for $ac_word" >&5
3631 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
3632 echo $ac_n "(cached
) $ac_c" 1>&6
3634 if test -n "$MAKEINFO"; then
3635 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
3637 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3639 for ac_dir in $ac_dummy; do
3640 test -z "$ac_dir" && ac_dir=.
3641 if test -f $ac_dir/$ac_word; then
3642 ac_cv_prog_MAKEINFO="$ac_prog"
3649 MAKEINFO="$ac_cv_prog_MAKEINFO"
3650 if test -n "$MAKEINFO"; then
3651 echo "$ac_t""$MAKEINFO" 1>&6
3653 echo "$ac_t""no
" 1>&6
3656 test -n "$MAKEINFO" && break
3658 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
3660 case " $build_configdirs " in
3661 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
3664 # For an installed makeinfo, we require it to be from texinfo 4.4 or
3665 # higher, else we use the "missing
" dummy.
3666 if ${MAKEINFO} --version \
3667 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
3670 MAKEINFO="$MISSING makeinfo
"
3676 # FIXME: expect and dejagnu may become build tools?
3678 for ac_prog in expect
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3683 echo "configure
:3684: checking
for $ac_word" >&5
3684 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
3685 echo $ac_n "(cached
) $ac_c" 1>&6
3687 if test -n "$EXPECT"; then
3688 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
3690 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3692 for ac_dir in $ac_dummy; do
3693 test -z "$ac_dir" && ac_dir=.
3694 if test -f $ac_dir/$ac_word; then
3695 ac_cv_prog_EXPECT="$ac_prog"
3702 EXPECT="$ac_cv_prog_EXPECT"
3703 if test -n "$EXPECT"; then
3704 echo "$ac_t""$EXPECT" 1>&6
3706 echo "$ac_t""no
" 1>&6
3709 test -n "$EXPECT" && break
3711 test -n "$EXPECT" || EXPECT="expect
"
3713 case " $configdirs " in
3715 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
3719 for ac_prog in runtest
3721 # Extract the first word of "$ac_prog", so it can be a program name with args.
3722 set dummy $ac_prog; ac_word=$2
3723 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3724 echo "configure
:3725: checking
for $ac_word" >&5
3725 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
3726 echo $ac_n "(cached
) $ac_c" 1>&6
3728 if test -n "$RUNTEST"; then
3729 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
3731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3733 for ac_dir in $ac_dummy; do
3734 test -z "$ac_dir" && ac_dir=.
3735 if test -f $ac_dir/$ac_word; then
3736 ac_cv_prog_RUNTEST="$ac_prog"
3743 RUNTEST="$ac_cv_prog_RUNTEST"
3744 if test -n "$RUNTEST"; then
3745 echo "$ac_t""$RUNTEST" 1>&6
3747 echo "$ac_t""no
" 1>&6
3750 test -n "$RUNTEST" && break
3752 test -n "$RUNTEST" || RUNTEST="runtest
"
3754 case " $configdirs " in
3756 test $host = $build && RUNTEST='$$r/$(HOST_SUBDIR)/dejagnu/runtest'
3763 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
3764 ncn_target_tool_prefix=
3765 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
3767 for ncn_progname in ar; do
3768 if test -n "$ncn_tool_prefix"; then
3769 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
3770 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
3771 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3772 echo "configure
:3773: checking
for $ac_word" >&5
3773 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
3774 echo $ac_n "(cached
) $ac_c" 1>&6
3776 if test -n "$AR"; then
3777 ac_cv_prog_AR="$AR" # Let the user override the test.
3779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3781 for ac_dir in $ac_dummy; do
3782 test -z "$ac_dir" && ac_dir=.
3783 if test -f $ac_dir/$ac_word; then
3784 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
3792 if test -n "$AR"; then
3793 echo "$ac_t""$AR" 1>&6
3795 echo "$ac_t""no
" 1>&6
3799 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
3800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
3801 set dummy ${ncn_progname}; ac_word=$2
3802 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3803 echo "configure
:3804: checking
for $ac_word" >&5
3804 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
3805 echo $ac_n "(cached
) $ac_c" 1>&6
3807 if test -n "$AR"; then
3808 ac_cv_prog_AR="$AR" # Let the user override the test.
3810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3812 for ac_dir in $ac_dummy; do
3813 test -z "$ac_dir" && ac_dir=.
3814 if test -f $ac_dir/$ac_word; then
3815 ac_cv_prog_AR="${ncn_progname}"
3823 if test -n "$AR"; then
3824 echo "$ac_t""$AR" 1>&6
3826 echo "$ac_t""no
" 1>&6
3830 test -n "$ac_cv_prog_AR" && break
3833 if test -z "$ac_cv_prog_AR" ; then
3835 if test $build = $host ; then
3838 AR="${ncn_tool_prefix}$2"
3842 for ncn_progname in as; do
3843 if test -n "$ncn_tool_prefix"; then
3844 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
3845 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
3846 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3847 echo "configure
:3848: checking
for $ac_word" >&5
3848 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
3849 echo $ac_n "(cached
) $ac_c" 1>&6
3851 if test -n "$AS"; then
3852 ac_cv_prog_AS="$AS" # Let the user override the test.
3854 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3856 for ac_dir in $ac_dummy; do
3857 test -z "$ac_dir" && ac_dir=.
3858 if test -f $ac_dir/$ac_word; then
3859 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
3867 if test -n "$AS"; then
3868 echo "$ac_t""$AS" 1>&6
3870 echo "$ac_t""no
" 1>&6
3874 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
3875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
3876 set dummy ${ncn_progname}; ac_word=$2
3877 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3878 echo "configure
:3879: checking
for $ac_word" >&5
3879 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
3880 echo $ac_n "(cached
) $ac_c" 1>&6
3882 if test -n "$AS"; then
3883 ac_cv_prog_AS="$AS" # Let the user override the test.
3885 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3887 for ac_dir in $ac_dummy; do
3888 test -z "$ac_dir" && ac_dir=.
3889 if test -f $ac_dir/$ac_word; then
3890 ac_cv_prog_AS="${ncn_progname}"
3898 if test -n "$AS"; then
3899 echo "$ac_t""$AS" 1>&6
3901 echo "$ac_t""no
" 1>&6
3905 test -n "$ac_cv_prog_AS" && break
3908 if test -z "$ac_cv_prog_AS" ; then
3910 if test $build = $host ; then
3913 AS="${ncn_tool_prefix}$2"
3917 for ncn_progname in dlltool; do
3918 if test -n "$ncn_tool_prefix"; then
3919 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
3920 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
3921 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3922 echo "configure
:3923: checking
for $ac_word" >&5
3923 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
3924 echo $ac_n "(cached
) $ac_c" 1>&6
3926 if test -n "$DLLTOOL"; then
3927 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3929 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3931 for ac_dir in $ac_dummy; do
3932 test -z "$ac_dir" && ac_dir=.
3933 if test -f $ac_dir/$ac_word; then
3934 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
3941 DLLTOOL="$ac_cv_prog_DLLTOOL"
3942 if test -n "$DLLTOOL"; then
3943 echo "$ac_t""$DLLTOOL" 1>&6
3945 echo "$ac_t""no
" 1>&6
3949 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
3950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
3951 set dummy ${ncn_progname}; ac_word=$2
3952 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3953 echo "configure
:3954: checking
for $ac_word" >&5
3954 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
3955 echo $ac_n "(cached
) $ac_c" 1>&6
3957 if test -n "$DLLTOOL"; then
3958 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3960 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3962 for ac_dir in $ac_dummy; do
3963 test -z "$ac_dir" && ac_dir=.
3964 if test -f $ac_dir/$ac_word; then
3965 ac_cv_prog_DLLTOOL="${ncn_progname}"
3972 DLLTOOL="$ac_cv_prog_DLLTOOL"
3973 if test -n "$DLLTOOL"; then
3974 echo "$ac_t""$DLLTOOL" 1>&6
3976 echo "$ac_t""no
" 1>&6
3980 test -n "$ac_cv_prog_DLLTOOL" && break
3983 if test -z "$ac_cv_prog_DLLTOOL" ; then
3985 if test $build = $host ; then
3988 DLLTOOL="${ncn_tool_prefix}$2"
3992 for ncn_progname in ld; do
3993 if test -n "$ncn_tool_prefix"; then
3994 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
3995 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
3996 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3997 echo "configure
:3998: checking
for $ac_word" >&5
3998 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
3999 echo $ac_n "(cached
) $ac_c" 1>&6
4001 if test -n "$LD"; then
4002 ac_cv_prog_LD="$LD" # Let the user override the test.
4004 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4006 for ac_dir in $ac_dummy; do
4007 test -z "$ac_dir" && ac_dir=.
4008 if test -f $ac_dir/$ac_word; then
4009 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
4017 if test -n "$LD"; then
4018 echo "$ac_t""$LD" 1>&6
4020 echo "$ac_t""no
" 1>&6
4024 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
4025 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4026 set dummy ${ncn_progname}; ac_word=$2
4027 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4028 echo "configure
:4029: checking
for $ac_word" >&5
4029 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
4030 echo $ac_n "(cached
) $ac_c" 1>&6
4032 if test -n "$LD"; then
4033 ac_cv_prog_LD="$LD" # Let the user override the test.
4035 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4037 for ac_dir in $ac_dummy; do
4038 test -z "$ac_dir" && ac_dir=.
4039 if test -f $ac_dir/$ac_word; then
4040 ac_cv_prog_LD="${ncn_progname}"
4048 if test -n "$LD"; then
4049 echo "$ac_t""$LD" 1>&6
4051 echo "$ac_t""no
" 1>&6
4055 test -n "$ac_cv_prog_LD" && break
4058 if test -z "$ac_cv_prog_LD" ; then
4060 if test $build = $host ; then
4063 LD="${ncn_tool_prefix}$2"
4067 for ncn_progname in lipo; do
4068 if test -n "$ncn_tool_prefix"; then
4069 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4070 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4071 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4072 echo "configure
:4073: checking
for $ac_word" >&5
4073 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
4074 echo $ac_n "(cached
) $ac_c" 1>&6
4076 if test -n "$LIPO"; then
4077 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
4079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4081 for ac_dir in $ac_dummy; do
4082 test -z "$ac_dir" && ac_dir=.
4083 if test -f $ac_dir/$ac_word; then
4084 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
4091 LIPO="$ac_cv_prog_LIPO"
4092 if test -n "$LIPO"; then
4093 echo "$ac_t""$LIPO" 1>&6
4095 echo "$ac_t""no
" 1>&6
4099 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
4100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4101 set dummy ${ncn_progname}; ac_word=$2
4102 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4103 echo "configure
:4104: checking
for $ac_word" >&5
4104 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
4105 echo $ac_n "(cached
) $ac_c" 1>&6
4107 if test -n "$LIPO"; then
4108 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
4110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4112 for ac_dir in $ac_dummy; do
4113 test -z "$ac_dir" && ac_dir=.
4114 if test -f $ac_dir/$ac_word; then
4115 ac_cv_prog_LIPO="${ncn_progname}"
4122 LIPO="$ac_cv_prog_LIPO"
4123 if test -n "$LIPO"; then
4124 echo "$ac_t""$LIPO" 1>&6
4126 echo "$ac_t""no
" 1>&6
4130 test -n "$ac_cv_prog_LIPO" && break
4133 if test -z "$ac_cv_prog_LIPO" ; then
4135 if test $build = $host ; then
4138 LIPO="${ncn_tool_prefix}$2"
4142 for ncn_progname in nm; do
4143 if test -n "$ncn_tool_prefix"; then
4144 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4145 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4146 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4147 echo "configure
:4148: checking
for $ac_word" >&5
4148 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
4149 echo $ac_n "(cached
) $ac_c" 1>&6
4151 if test -n "$NM"; then
4152 ac_cv_prog_NM="$NM" # Let the user override the test.
4154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4156 for ac_dir in $ac_dummy; do
4157 test -z "$ac_dir" && ac_dir=.
4158 if test -f $ac_dir/$ac_word; then
4159 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
4167 if test -n "$NM"; then
4168 echo "$ac_t""$NM" 1>&6
4170 echo "$ac_t""no
" 1>&6
4174 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
4175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4176 set dummy ${ncn_progname}; ac_word=$2
4177 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4178 echo "configure
:4179: checking
for $ac_word" >&5
4179 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
4180 echo $ac_n "(cached
) $ac_c" 1>&6
4182 if test -n "$NM"; then
4183 ac_cv_prog_NM="$NM" # Let the user override the test.
4185 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4187 for ac_dir in $ac_dummy; do
4188 test -z "$ac_dir" && ac_dir=.
4189 if test -f $ac_dir/$ac_word; then
4190 ac_cv_prog_NM="${ncn_progname}"
4198 if test -n "$NM"; then
4199 echo "$ac_t""$NM" 1>&6
4201 echo "$ac_t""no
" 1>&6
4205 test -n "$ac_cv_prog_NM" && break
4208 if test -z "$ac_cv_prog_NM" ; then
4210 if test $build = $host ; then
4213 NM="${ncn_tool_prefix}$2"
4217 for ncn_progname in ranlib; do
4218 if test -n "$ncn_tool_prefix"; then
4219 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4220 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4221 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4222 echo "configure
:4223: checking
for $ac_word" >&5
4223 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
4224 echo $ac_n "(cached
) $ac_c" 1>&6
4226 if test -n "$RANLIB"; then
4227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4231 for ac_dir in $ac_dummy; do
4232 test -z "$ac_dir" && ac_dir=.
4233 if test -f $ac_dir/$ac_word; then
4234 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
4241 RANLIB="$ac_cv_prog_RANLIB"
4242 if test -n "$RANLIB"; then
4243 echo "$ac_t""$RANLIB" 1>&6
4245 echo "$ac_t""no
" 1>&6
4249 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
4250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4251 set dummy ${ncn_progname}; ac_word=$2
4252 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4253 echo "configure
:4254: checking
for $ac_word" >&5
4254 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
4255 echo $ac_n "(cached
) $ac_c" 1>&6
4257 if test -n "$RANLIB"; then
4258 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4260 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4262 for ac_dir in $ac_dummy; do
4263 test -z "$ac_dir" && ac_dir=.
4264 if test -f $ac_dir/$ac_word; then
4265 ac_cv_prog_RANLIB="${ncn_progname}"
4272 RANLIB="$ac_cv_prog_RANLIB"
4273 if test -n "$RANLIB"; then
4274 echo "$ac_t""$RANLIB" 1>&6
4276 echo "$ac_t""no
" 1>&6
4280 test -n "$ac_cv_prog_RANLIB" && break
4283 if test -z "$ac_cv_prog_RANLIB" ; then
4287 for ncn_progname in strip; do
4288 if test -n "$ncn_tool_prefix"; then
4289 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4290 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4291 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4292 echo "configure
:4293: checking
for $ac_word" >&5
4293 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
4294 echo $ac_n "(cached
) $ac_c" 1>&6
4296 if test -n "$STRIP"; then
4297 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4299 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4301 for ac_dir in $ac_dummy; do
4302 test -z "$ac_dir" && ac_dir=.
4303 if test -f $ac_dir/$ac_word; then
4304 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
4311 STRIP="$ac_cv_prog_STRIP"
4312 if test -n "$STRIP"; then
4313 echo "$ac_t""$STRIP" 1>&6
4315 echo "$ac_t""no
" 1>&6
4319 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
4320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4321 set dummy ${ncn_progname}; ac_word=$2
4322 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4323 echo "configure
:4324: checking
for $ac_word" >&5
4324 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
4325 echo $ac_n "(cached
) $ac_c" 1>&6
4327 if test -n "$STRIP"; then
4328 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4332 for ac_dir in $ac_dummy; do
4333 test -z "$ac_dir" && ac_dir=.
4334 if test -f $ac_dir/$ac_word; then
4335 ac_cv_prog_STRIP="${ncn_progname}"
4342 STRIP="$ac_cv_prog_STRIP"
4343 if test -n "$STRIP"; then
4344 echo "$ac_t""$STRIP" 1>&6
4346 echo "$ac_t""no
" 1>&6
4350 test -n "$ac_cv_prog_STRIP" && break
4353 if test -z "$ac_cv_prog_STRIP" ; then
4357 for ncn_progname in windres; do
4358 if test -n "$ncn_tool_prefix"; then
4359 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4360 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4361 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4362 echo "configure
:4363: checking
for $ac_word" >&5
4363 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
4364 echo $ac_n "(cached
) $ac_c" 1>&6
4366 if test -n "$WINDRES"; then
4367 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4369 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4371 for ac_dir in $ac_dummy; do
4372 test -z "$ac_dir" && ac_dir=.
4373 if test -f $ac_dir/$ac_word; then
4374 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
4381 WINDRES="$ac_cv_prog_WINDRES"
4382 if test -n "$WINDRES"; then
4383 echo "$ac_t""$WINDRES" 1>&6
4385 echo "$ac_t""no
" 1>&6
4389 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
4390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4391 set dummy ${ncn_progname}; ac_word=$2
4392 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4393 echo "configure
:4394: checking
for $ac_word" >&5
4394 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
4395 echo $ac_n "(cached
) $ac_c" 1>&6
4397 if test -n "$WINDRES"; then
4398 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4400 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4402 for ac_dir in $ac_dummy; do
4403 test -z "$ac_dir" && ac_dir=.
4404 if test -f $ac_dir/$ac_word; then
4405 ac_cv_prog_WINDRES="${ncn_progname}"
4412 WINDRES="$ac_cv_prog_WINDRES"
4413 if test -n "$WINDRES"; then
4414 echo "$ac_t""$WINDRES" 1>&6
4416 echo "$ac_t""no
" 1>&6
4420 test -n "$ac_cv_prog_WINDRES" && break
4423 if test -z "$ac_cv_prog_WINDRES" ; then
4425 if test $build = $host ; then
4428 WINDRES="${ncn_tool_prefix}$2"
4432 for ncn_progname in objcopy; do
4433 if test -n "$ncn_tool_prefix"; then
4434 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4435 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4436 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4437 echo "configure
:4438: checking
for $ac_word" >&5
4438 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
4439 echo $ac_n "(cached
) $ac_c" 1>&6
4441 if test -n "$OBJCOPY"; then
4442 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4446 for ac_dir in $ac_dummy; do
4447 test -z "$ac_dir" && ac_dir=.
4448 if test -f $ac_dir/$ac_word; then
4449 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
4456 OBJCOPY="$ac_cv_prog_OBJCOPY"
4457 if test -n "$OBJCOPY"; then
4458 echo "$ac_t""$OBJCOPY" 1>&6
4460 echo "$ac_t""no
" 1>&6
4464 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
4465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4466 set dummy ${ncn_progname}; ac_word=$2
4467 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4468 echo "configure
:4469: checking
for $ac_word" >&5
4469 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
4470 echo $ac_n "(cached
) $ac_c" 1>&6
4472 if test -n "$OBJCOPY"; then
4473 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4477 for ac_dir in $ac_dummy; do
4478 test -z "$ac_dir" && ac_dir=.
4479 if test -f $ac_dir/$ac_word; then
4480 ac_cv_prog_OBJCOPY="${ncn_progname}"
4487 OBJCOPY="$ac_cv_prog_OBJCOPY"
4488 if test -n "$OBJCOPY"; then
4489 echo "$ac_t""$OBJCOPY" 1>&6
4491 echo "$ac_t""no
" 1>&6
4495 test -n "$ac_cv_prog_OBJCOPY" && break
4498 if test -z "$ac_cv_prog_OBJCOPY" ; then
4500 if test $build = $host ; then
4503 OBJCOPY="${ncn_tool_prefix}$2"
4507 for ncn_progname in objdump; do
4508 if test -n "$ncn_tool_prefix"; then
4509 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
4510 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
4511 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4512 echo "configure
:4513: checking
for $ac_word" >&5
4513 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
4514 echo $ac_n "(cached
) $ac_c" 1>&6
4516 if test -n "$OBJDUMP"; then
4517 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4519 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4521 for ac_dir in $ac_dummy; do
4522 test -z "$ac_dir" && ac_dir=.
4523 if test -f $ac_dir/$ac_word; then
4524 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
4531 OBJDUMP="$ac_cv_prog_OBJDUMP"
4532 if test -n "$OBJDUMP"; then
4533 echo "$ac_t""$OBJDUMP" 1>&6
4535 echo "$ac_t""no
" 1>&6
4539 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
4540 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4541 set dummy ${ncn_progname}; ac_word=$2
4542 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4543 echo "configure
:4544: checking
for $ac_word" >&5
4544 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
4545 echo $ac_n "(cached
) $ac_c" 1>&6
4547 if test -n "$OBJDUMP"; then
4548 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4550 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4552 for ac_dir in $ac_dummy; do
4553 test -z "$ac_dir" && ac_dir=.
4554 if test -f $ac_dir/$ac_word; then
4555 ac_cv_prog_OBJDUMP="${ncn_progname}"
4562 OBJDUMP="$ac_cv_prog_OBJDUMP"
4563 if test -n "$OBJDUMP"; then
4564 echo "$ac_t""$OBJDUMP" 1>&6
4566 echo "$ac_t""no
" 1>&6
4570 test -n "$ac_cv_prog_OBJDUMP" && break
4573 if test -z "$ac_cv_prog_OBJDUMP" ; then
4575 if test $build = $host ; then
4578 OBJDUMP="${ncn_tool_prefix}$2"
4589 # Check whether --with-build-time-tools or --without-build-time-tools was given.
4590 if test "${with_build_time_tools+set}" = set; then
4591 withval="$with_build_time_tools"
4595 with_build_time_tools=
4596 echo "configure
: warning
: argument to
--with-build-time-tools must be an absolute path
" 1>&2
4600 with_build_time_tools=
4604 if test -n "$with_build_time_tools"; then
4605 for ncn_progname in cc gcc; do
4606 echo $ac_n "checking
for ${ncn_progname} in $with_build_time_tools""...
$ac_c" 1>&6
4607 echo "configure
:4608: checking
for ${ncn_progname} in $with_build_time_tools" >&5
4608 if test -x $with_build_time_tools/${ncn_progname}; then
4609 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
4610 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no
" 1>&6
4618 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
4619 for ncn_progname in cc gcc; do
4620 if test -n "$ncn_target_tool_prefix"; then
4621 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
4622 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
4623 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4624 echo "configure
:4625: checking
for $ac_word" >&5
4625 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
4626 echo $ac_n "(cached
) $ac_c" 1>&6
4628 if test -n "$CC_FOR_TARGET"; then
4629 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
4631 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4633 for ac_dir in $ac_dummy; do
4634 test -z "$ac_dir" && ac_dir=.
4635 if test -f $ac_dir/$ac_word; then
4636 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
4643 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
4644 if test -n "$CC_FOR_TARGET"; then
4645 echo "$ac_t""$CC_FOR_TARGET" 1>&6
4647 echo "$ac_t""no
" 1>&6
4651 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
4652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4653 set dummy ${ncn_progname}; ac_word=$2
4654 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4655 echo "configure
:4656: checking
for $ac_word" >&5
4656 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
4657 echo $ac_n "(cached
) $ac_c" 1>&6
4659 if test -n "$CC_FOR_TARGET"; then
4660 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
4662 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4664 for ac_dir in $ac_dummy; do
4665 test -z "$ac_dir" && ac_dir=.
4666 if test -f $ac_dir/$ac_word; then
4667 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
4674 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
4675 if test -n "$CC_FOR_TARGET"; then
4676 echo "$ac_t""$CC_FOR_TARGET" 1>&6
4678 echo "$ac_t""no
" 1>&6
4682 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
4686 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
4688 if test $build = $target ; then
4691 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
4695 if test -n "$with_build_time_tools"; then
4696 for ncn_progname in c++ g++ cxx gxx; do
4697 echo $ac_n "checking
for ${ncn_progname} in $with_build_time_tools""...
$ac_c" 1>&6
4698 echo "configure
:4699: checking
for ${ncn_progname} in $with_build_time_tools" >&5
4699 if test -x $with_build_time_tools/${ncn_progname}; then
4700 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
4701 echo "$ac_t""yes" 1>&6
4704 echo "$ac_t""no
" 1>&6
4709 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
4710 for ncn_progname in c++ g++ cxx gxx; do
4711 if test -n "$ncn_target_tool_prefix"; then
4712 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
4713 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
4714 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4715 echo "configure
:4716: checking
for $ac_word" >&5
4716 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
4717 echo $ac_n "(cached
) $ac_c" 1>&6
4719 if test -n "$CXX_FOR_TARGET"; then
4720 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
4722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4724 for ac_dir in $ac_dummy; do
4725 test -z "$ac_dir" && ac_dir=.
4726 if test -f $ac_dir/$ac_word; then
4727 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
4734 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
4735 if test -n "$CXX_FOR_TARGET"; then
4736 echo "$ac_t""$CXX_FOR_TARGET" 1>&6
4738 echo "$ac_t""no
" 1>&6
4742 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
4743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4744 set dummy ${ncn_progname}; ac_word=$2
4745 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4746 echo "configure
:4747: checking
for $ac_word" >&5
4747 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
4748 echo $ac_n "(cached
) $ac_c" 1>&6
4750 if test -n "$CXX_FOR_TARGET"; then
4751 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
4753 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4755 for ac_dir in $ac_dummy; do
4756 test -z "$ac_dir" && ac_dir=.
4757 if test -f $ac_dir/$ac_word; then
4758 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
4765 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
4766 if test -n "$CXX_FOR_TARGET"; then
4767 echo "$ac_t""$CXX_FOR_TARGET" 1>&6
4769 echo "$ac_t""no
" 1>&6
4773 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
4777 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
4778 set dummy c++ g++ cxx gxx
4779 if test $build = $target ; then
4782 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
4786 if test -n "$with_build_time_tools"; then
4787 for ncn_progname in gcc; do
4788 echo $ac_n "checking
for ${ncn_progname} in $with_build_time_tools""...
$ac_c" 1>&6
4789 echo "configure
:4790: checking
for ${ncn_progname} in $with_build_time_tools" >&5
4790 if test -x $with_build_time_tools/${ncn_progname}; then
4791 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
4792 echo "$ac_t""yes" 1>&6
4795 echo "$ac_t""no
" 1>&6
4800 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
4801 for ncn_progname in gcc; do
4802 if test -n "$ncn_target_tool_prefix"; then
4803 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
4804 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
4805 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4806 echo "configure
:4807: checking
for $ac_word" >&5
4807 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
4808 echo $ac_n "(cached
) $ac_c" 1>&6
4810 if test -n "$GCC_FOR_TARGET"; then
4811 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
4813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4815 for ac_dir in $ac_dummy; do
4816 test -z "$ac_dir" && ac_dir=.
4817 if test -f $ac_dir/$ac_word; then
4818 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
4825 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
4826 if test -n "$GCC_FOR_TARGET"; then
4827 echo "$ac_t""$GCC_FOR_TARGET" 1>&6
4829 echo "$ac_t""no
" 1>&6
4833 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
4834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4835 set dummy ${ncn_progname}; ac_word=$2
4836 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4837 echo "configure
:4838: checking
for $ac_word" >&5
4838 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
4839 echo $ac_n "(cached
) $ac_c" 1>&6
4841 if test -n "$GCC_FOR_TARGET"; then
4842 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
4844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4846 for ac_dir in $ac_dummy; do
4847 test -z "$ac_dir" && ac_dir=.
4848 if test -f $ac_dir/$ac_word; then
4849 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
4856 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
4857 if test -n "$GCC_FOR_TARGET"; then
4858 echo "$ac_t""$GCC_FOR_TARGET" 1>&6
4860 echo "$ac_t""no
" 1>&6
4864 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
4868 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
4869 GCC_FOR_TARGET="${CC_FOR_TARGET}"
4872 if test -n "$with_build_time_tools"; then
4873 for ncn_progname in gcj; do
4874 echo $ac_n "checking
for ${ncn_progname} in $with_build_time_tools""...
$ac_c" 1>&6
4875 echo "configure
:4876: checking
for ${ncn_progname} in $with_build_time_tools" >&5
4876 if test -x $with_build_time_tools/${ncn_progname}; then
4877 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
4878 echo "$ac_t""yes" 1>&6
4881 echo "$ac_t""no
" 1>&6
4886 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
4887 for ncn_progname in gcj; do
4888 if test -n "$ncn_target_tool_prefix"; then
4889 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
4890 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
4891 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4892 echo "configure
:4893: checking
for $ac_word" >&5
4893 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
4894 echo $ac_n "(cached
) $ac_c" 1>&6
4896 if test -n "$GCJ_FOR_TARGET"; then
4897 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
4899 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4901 for ac_dir in $ac_dummy; do
4902 test -z "$ac_dir" && ac_dir=.
4903 if test -f $ac_dir/$ac_word; then
4904 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
4911 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
4912 if test -n "$GCJ_FOR_TARGET"; then
4913 echo "$ac_t""$GCJ_FOR_TARGET" 1>&6
4915 echo "$ac_t""no
" 1>&6
4919 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
4920 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
4921 set dummy ${ncn_progname}; ac_word=$2
4922 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4923 echo "configure
:4924: checking
for $ac_word" >&5
4924 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
4925 echo $ac_n "(cached
) $ac_c" 1>&6
4927 if test -n "$GCJ_FOR_TARGET"; then
4928 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
4930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4932 for ac_dir in $ac_dummy; do
4933 test -z "$ac_dir" && ac_dir=.
4934 if test -f $ac_dir/$ac_word; then
4935 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
4942 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
4943 if test -n "$GCJ_FOR_TARGET"; then
4944 echo "$ac_t""$GCJ_FOR_TARGET" 1>&6
4946 echo "$ac_t""no
" 1>&6
4950 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
4954 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
4956 if test $build = $target ; then
4959 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
4963 if test -n "$with_build_time_tools"; then
4964 for ncn_progname in gfortran; do
4965 echo $ac_n "checking
for ${ncn_progname} in $with_build_time_tools""...
$ac_c" 1>&6
4966 echo "configure
:4967: checking
for ${ncn_progname} in $with_build_time_tools" >&5
4967 if test -x $with_build_time_tools/${ncn_progname}; then
4968 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
4969 echo "$ac_t""yes" 1>&6
4972 echo "$ac_t""no
" 1>&6
4977 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
4978 for ncn_progname in gfortran; do
4979 if test -n "$ncn_target_tool_prefix"; then
4980 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
4981 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
4982 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
4983 echo "configure
:4984: checking
for $ac_word" >&5
4984 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
4985 echo $ac_n "(cached
) $ac_c" 1>&6
4987 if test -n "$GFORTRAN_FOR_TARGET"; then
4988 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
4990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4992 for ac_dir in $ac_dummy; do
4993 test -z "$ac_dir" && ac_dir=.
4994 if test -f $ac_dir/$ac_word; then
4995 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
5002 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
5003 if test -n "$GFORTRAN_FOR_TARGET"; then
5004 echo "$ac_t""$GFORTRAN_FOR_TARGET" 1>&6
5006 echo "$ac_t""no
" 1>&6
5010 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
5011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5012 set dummy ${ncn_progname}; ac_word=$2
5013 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
5014 echo "configure
:5015: checking
for $ac_word" >&5
5015 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
5016 echo $ac_n "(cached
) $ac_c" 1>&6
5018 if test -n "$GFORTRAN_FOR_TARGET"; then
5019 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
5021 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5023 for ac_dir in $ac_dummy; do
5024 test -z "$ac_dir" && ac_dir=.
5025 if test -f $ac_dir/$ac_word; then
5026 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
5033 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
5034 if test -n "$GFORTRAN_FOR_TARGET"; then
5035 echo "$ac_t""$GFORTRAN_FOR_TARGET" 1>&6
5037 echo "$ac_t""no
" 1>&6
5041 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
5045 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
5047 if test $build = $target ; then
5048 GFORTRAN_FOR_TARGET="$2"
5050 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
5056 # The user is always right.
5057 if test "${PATH_SEPARATOR+set}" != set; then
5058 echo "#! /bin/sh" >conf$$.sh
5059 echo "exit 0" >>conf$$.sh
5061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5071 if test "x$exec_prefix" = xNONE
; then
5072 if test "x$prefix" = xNONE
; then
5073 gcc_cv_tool_prefix
=$ac_default_prefix
5075 gcc_cv_tool_prefix
=$prefix
5078 gcc_cv_tool_prefix
=$exec_prefix
5081 # If there is no compiler in the tree, use the PATH only. In any
5082 # case, if there is no compiler in the tree nobody should use
5083 # AS_FOR_TARGET and LD_FOR_TARGET.
5084 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5085 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5086 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5087 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5088 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5089 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5090 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5091 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5096 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5097 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5102 cat > conftest.c
<< \EOF
5107 if ($GCC_FOR_TARGET -E conftest.c |
grep gcc_yay
) > /dev
/null
2>&1; then
5108 have_gcc_for_target
=yes
5110 GCC_FOR_TARGET
=${ncn_target_tool_prefix}gcc
5111 have_gcc_for_target
=no
5118 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
5119 if test -n "$with_build_time_tools"; then
5120 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
5121 echo "configure:5122: checking for ar in $with_build_time_tools" >&5
5122 if test -x $with_build_time_tools/ar; then
5123 AR_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ar
5124 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
5125 echo "$ac_t""$ac_cv_path_AR_FOR_TARGET" 1>&6
5127 echo "$ac_t""no" 1>&6
5129 elif test $build != $host && test $have_gcc_for_target = yes; then
5130 AR_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ar`
5131 test $AR_FOR_TARGET=ar && AR_FOR_TARGET
=
5132 ac_cv_path_AR_FOR_TARGET
=$AR_FOR_TARGET
5135 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
5136 # Extract the first word of "ar", so it can be a program name with args.
5137 set dummy
ar; ac_word
=$2
5138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5139 echo "configure:5140: checking for $ac_word" >&5
5140 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
5141 echo $ac_n "(cached) $ac_c" 1>&6
5143 case "$AR_FOR_TARGET" in
5145 ac_cv_path_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test with a path.
5148 ac_cv_path_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test with a dos path.
5151 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5152 ac_dummy
="$gcc_cv_tool_dirs"
5153 for ac_dir
in $ac_dummy; do
5154 test -z "$ac_dir" && ac_dir
=.
5155 if test -f $ac_dir/$ac_word; then
5156 ac_cv_path_AR_FOR_TARGET
="$ac_dir/$ac_word"
5164 AR_FOR_TARGET
="$ac_cv_path_AR_FOR_TARGET"
5165 if test -n "$AR_FOR_TARGET"; then
5166 echo "$ac_t""$AR_FOR_TARGET" 1>&6
5168 echo "$ac_t""no" 1>&6
5172 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
5173 if test -n "$with_build_time_tools"; then
5174 for ncn_progname
in ar; do
5175 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5176 echo "configure:5177: checking for ${ncn_progname} in $with_build_time_tools" >&5
5177 if test -x $with_build_time_tools/${ncn_progname}; then
5178 ac_cv_prog_AR_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5179 echo "$ac_t""yes" 1>&6
5182 echo "$ac_t""no" 1>&6
5187 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
5188 for ncn_progname
in ar; do
5189 if test -n "$ncn_target_tool_prefix"; then
5190 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5191 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5193 echo "configure:5194: checking for $ac_word" >&5
5194 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
5195 echo $ac_n "(cached) $ac_c" 1>&6
5197 if test -n "$AR_FOR_TARGET"; then
5198 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
5200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5202 for ac_dir
in $ac_dummy; do
5203 test -z "$ac_dir" && ac_dir
=.
5204 if test -f $ac_dir/$ac_word; then
5205 ac_cv_prog_AR_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5212 AR_FOR_TARGET
="$ac_cv_prog_AR_FOR_TARGET"
5213 if test -n "$AR_FOR_TARGET"; then
5214 echo "$ac_t""$AR_FOR_TARGET" 1>&6
5216 echo "$ac_t""no" 1>&6
5220 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
5221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5222 set dummy
${ncn_progname}; ac_word
=$2
5223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5224 echo "configure:5225: checking for $ac_word" >&5
5225 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
5226 echo $ac_n "(cached) $ac_c" 1>&6
5228 if test -n "$AR_FOR_TARGET"; then
5229 ac_cv_prog_AR_FOR_TARGET
="$AR_FOR_TARGET" # Let the user override the test.
5231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5233 for ac_dir
in $ac_dummy; do
5234 test -z "$ac_dir" && ac_dir
=.
5235 if test -f $ac_dir/$ac_word; then
5236 ac_cv_prog_AR_FOR_TARGET
="${ncn_progname}"
5243 AR_FOR_TARGET
="$ac_cv_prog_AR_FOR_TARGET"
5244 if test -n "$AR_FOR_TARGET"; then
5245 echo "$ac_t""$AR_FOR_TARGET" 1>&6
5247 echo "$ac_t""no" 1>&6
5251 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
5255 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
5257 if test $build = $target ; then
5260 AR_FOR_TARGET
="${ncn_target_tool_prefix}$2"
5265 AR_FOR_TARGET
=$ac_cv_path_AR_FOR_TARGET
5271 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
5272 if test -n "$with_build_time_tools"; then
5273 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
5274 echo "configure:5275: checking for as in $with_build_time_tools" >&5
5275 if test -x $with_build_time_tools/as
; then
5276 AS_FOR_TARGET
=`cd $with_build_time_tools && pwd`/as
5277 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
5278 echo "$ac_t""$ac_cv_path_AS_FOR_TARGET" 1>&6
5280 echo "$ac_t""no" 1>&6
5282 elif test $build != $host && test $have_gcc_for_target = yes; then
5283 AS_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=as`
5284 test $AS_FOR_TARGET=as
&& AS_FOR_TARGET
=
5285 ac_cv_path_AS_FOR_TARGET
=$AS_FOR_TARGET
5288 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
5289 # Extract the first word of "as", so it can be a program name with args.
5290 set dummy as
; ac_word
=$2
5291 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5292 echo "configure:5293: checking for $ac_word" >&5
5293 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
5294 echo $ac_n "(cached) $ac_c" 1>&6
5296 case "$AS_FOR_TARGET" in
5298 ac_cv_path_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test with a path.
5301 ac_cv_path_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test with a dos path.
5304 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5305 ac_dummy
="$gcc_cv_tool_dirs"
5306 for ac_dir
in $ac_dummy; do
5307 test -z "$ac_dir" && ac_dir
=.
5308 if test -f $ac_dir/$ac_word; then
5309 ac_cv_path_AS_FOR_TARGET
="$ac_dir/$ac_word"
5317 AS_FOR_TARGET
="$ac_cv_path_AS_FOR_TARGET"
5318 if test -n "$AS_FOR_TARGET"; then
5319 echo "$ac_t""$AS_FOR_TARGET" 1>&6
5321 echo "$ac_t""no" 1>&6
5325 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
5326 if test -n "$with_build_time_tools"; then
5327 for ncn_progname
in as
; do
5328 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5329 echo "configure:5330: checking for ${ncn_progname} in $with_build_time_tools" >&5
5330 if test -x $with_build_time_tools/${ncn_progname}; then
5331 ac_cv_prog_AS_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5332 echo "$ac_t""yes" 1>&6
5335 echo "$ac_t""no" 1>&6
5340 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
5341 for ncn_progname
in as
; do
5342 if test -n "$ncn_target_tool_prefix"; then
5343 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5344 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5346 echo "configure:5347: checking for $ac_word" >&5
5347 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
5348 echo $ac_n "(cached) $ac_c" 1>&6
5350 if test -n "$AS_FOR_TARGET"; then
5351 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
5353 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5355 for ac_dir
in $ac_dummy; do
5356 test -z "$ac_dir" && ac_dir
=.
5357 if test -f $ac_dir/$ac_word; then
5358 ac_cv_prog_AS_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5365 AS_FOR_TARGET
="$ac_cv_prog_AS_FOR_TARGET"
5366 if test -n "$AS_FOR_TARGET"; then
5367 echo "$ac_t""$AS_FOR_TARGET" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
5374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5375 set dummy
${ncn_progname}; ac_word
=$2
5376 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5377 echo "configure:5378: checking for $ac_word" >&5
5378 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
5379 echo $ac_n "(cached) $ac_c" 1>&6
5381 if test -n "$AS_FOR_TARGET"; then
5382 ac_cv_prog_AS_FOR_TARGET
="$AS_FOR_TARGET" # Let the user override the test.
5384 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5386 for ac_dir
in $ac_dummy; do
5387 test -z "$ac_dir" && ac_dir
=.
5388 if test -f $ac_dir/$ac_word; then
5389 ac_cv_prog_AS_FOR_TARGET
="${ncn_progname}"
5396 AS_FOR_TARGET
="$ac_cv_prog_AS_FOR_TARGET"
5397 if test -n "$AS_FOR_TARGET"; then
5398 echo "$ac_t""$AS_FOR_TARGET" 1>&6
5400 echo "$ac_t""no" 1>&6
5404 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
5408 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
5410 if test $build = $target ; then
5413 AS_FOR_TARGET
="${ncn_target_tool_prefix}$2"
5418 AS_FOR_TARGET
=$ac_cv_path_AS_FOR_TARGET
5424 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
5425 if test -n "$with_build_time_tools"; then
5426 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
5427 echo "configure:5428: checking for dlltool in $with_build_time_tools" >&5
5428 if test -x $with_build_time_tools/dlltool
; then
5429 DLLTOOL_FOR_TARGET
=`cd $with_build_time_tools && pwd`/dlltool
5430 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
5431 echo "$ac_t""$ac_cv_path_DLLTOOL_FOR_TARGET" 1>&6
5433 echo "$ac_t""no" 1>&6
5435 elif test $build != $host && test $have_gcc_for_target = yes; then
5436 DLLTOOL_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=dlltool`
5437 test $DLLTOOL_FOR_TARGET=dlltool
&& DLLTOOL_FOR_TARGET
=
5438 ac_cv_path_DLLTOOL_FOR_TARGET
=$DLLTOOL_FOR_TARGET
5441 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
5442 # Extract the first word of "dlltool", so it can be a program name with args.
5443 set dummy dlltool
; ac_word
=$2
5444 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5445 echo "configure:5446: checking for $ac_word" >&5
5446 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
5447 echo $ac_n "(cached) $ac_c" 1>&6
5449 case "$DLLTOOL_FOR_TARGET" in
5451 ac_cv_path_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
5454 ac_cv_path_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test with a dos path.
5457 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5458 ac_dummy
="$gcc_cv_tool_dirs"
5459 for ac_dir
in $ac_dummy; do
5460 test -z "$ac_dir" && ac_dir
=.
5461 if test -f $ac_dir/$ac_word; then
5462 ac_cv_path_DLLTOOL_FOR_TARGET
="$ac_dir/$ac_word"
5470 DLLTOOL_FOR_TARGET
="$ac_cv_path_DLLTOOL_FOR_TARGET"
5471 if test -n "$DLLTOOL_FOR_TARGET"; then
5472 echo "$ac_t""$DLLTOOL_FOR_TARGET" 1>&6
5474 echo "$ac_t""no" 1>&6
5478 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
5479 if test -n "$with_build_time_tools"; then
5480 for ncn_progname
in dlltool
; do
5481 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5482 echo "configure:5483: checking for ${ncn_progname} in $with_build_time_tools" >&5
5483 if test -x $with_build_time_tools/${ncn_progname}; then
5484 ac_cv_prog_DLLTOOL_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5485 echo "$ac_t""yes" 1>&6
5488 echo "$ac_t""no" 1>&6
5493 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
5494 for ncn_progname
in dlltool
; do
5495 if test -n "$ncn_target_tool_prefix"; then
5496 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5497 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5498 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5499 echo "configure:5500: checking for $ac_word" >&5
5500 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
5501 echo $ac_n "(cached) $ac_c" 1>&6
5503 if test -n "$DLLTOOL_FOR_TARGET"; then
5504 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
5506 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5508 for ac_dir
in $ac_dummy; do
5509 test -z "$ac_dir" && ac_dir
=.
5510 if test -f $ac_dir/$ac_word; then
5511 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5518 DLLTOOL_FOR_TARGET
="$ac_cv_prog_DLLTOOL_FOR_TARGET"
5519 if test -n "$DLLTOOL_FOR_TARGET"; then
5520 echo "$ac_t""$DLLTOOL_FOR_TARGET" 1>&6
5522 echo "$ac_t""no" 1>&6
5526 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
5527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5528 set dummy
${ncn_progname}; ac_word
=$2
5529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5530 echo "configure:5531: checking for $ac_word" >&5
5531 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
5532 echo $ac_n "(cached) $ac_c" 1>&6
5534 if test -n "$DLLTOOL_FOR_TARGET"; then
5535 ac_cv_prog_DLLTOOL_FOR_TARGET
="$DLLTOOL_FOR_TARGET" # Let the user override the test.
5537 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5539 for ac_dir
in $ac_dummy; do
5540 test -z "$ac_dir" && ac_dir
=.
5541 if test -f $ac_dir/$ac_word; then
5542 ac_cv_prog_DLLTOOL_FOR_TARGET
="${ncn_progname}"
5549 DLLTOOL_FOR_TARGET
="$ac_cv_prog_DLLTOOL_FOR_TARGET"
5550 if test -n "$DLLTOOL_FOR_TARGET"; then
5551 echo "$ac_t""$DLLTOOL_FOR_TARGET" 1>&6
5553 echo "$ac_t""no" 1>&6
5557 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
5561 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
5563 if test $build = $target ; then
5564 DLLTOOL_FOR_TARGET
="$2"
5566 DLLTOOL_FOR_TARGET
="${ncn_target_tool_prefix}$2"
5571 DLLTOOL_FOR_TARGET
=$ac_cv_path_DLLTOOL_FOR_TARGET
5577 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
5578 if test -n "$with_build_time_tools"; then
5579 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
5580 echo "configure:5581: checking for ld in $with_build_time_tools" >&5
5581 if test -x $with_build_time_tools/ld
; then
5582 LD_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ld
5583 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
5584 echo "$ac_t""$ac_cv_path_LD_FOR_TARGET" 1>&6
5586 echo "$ac_t""no" 1>&6
5588 elif test $build != $host && test $have_gcc_for_target = yes; then
5589 LD_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ld`
5590 test $LD_FOR_TARGET=ld
&& LD_FOR_TARGET
=
5591 ac_cv_path_LD_FOR_TARGET
=$LD_FOR_TARGET
5594 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
5595 # Extract the first word of "ld", so it can be a program name with args.
5596 set dummy ld
; ac_word
=$2
5597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5598 echo "configure:5599: checking for $ac_word" >&5
5599 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
5600 echo $ac_n "(cached) $ac_c" 1>&6
5602 case "$LD_FOR_TARGET" in
5604 ac_cv_path_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test with a path.
5607 ac_cv_path_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test with a dos path.
5610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5611 ac_dummy
="$gcc_cv_tool_dirs"
5612 for ac_dir
in $ac_dummy; do
5613 test -z "$ac_dir" && ac_dir
=.
5614 if test -f $ac_dir/$ac_word; then
5615 ac_cv_path_LD_FOR_TARGET
="$ac_dir/$ac_word"
5623 LD_FOR_TARGET
="$ac_cv_path_LD_FOR_TARGET"
5624 if test -n "$LD_FOR_TARGET"; then
5625 echo "$ac_t""$LD_FOR_TARGET" 1>&6
5627 echo "$ac_t""no" 1>&6
5631 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
5632 if test -n "$with_build_time_tools"; then
5633 for ncn_progname
in ld
; do
5634 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5635 echo "configure:5636: checking for ${ncn_progname} in $with_build_time_tools" >&5
5636 if test -x $with_build_time_tools/${ncn_progname}; then
5637 ac_cv_prog_LD_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5638 echo "$ac_t""yes" 1>&6
5641 echo "$ac_t""no" 1>&6
5646 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
5647 for ncn_progname
in ld
; do
5648 if test -n "$ncn_target_tool_prefix"; then
5649 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5650 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5652 echo "configure:5653: checking for $ac_word" >&5
5653 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
5654 echo $ac_n "(cached) $ac_c" 1>&6
5656 if test -n "$LD_FOR_TARGET"; then
5657 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
5659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5661 for ac_dir
in $ac_dummy; do
5662 test -z "$ac_dir" && ac_dir
=.
5663 if test -f $ac_dir/$ac_word; then
5664 ac_cv_prog_LD_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5671 LD_FOR_TARGET
="$ac_cv_prog_LD_FOR_TARGET"
5672 if test -n "$LD_FOR_TARGET"; then
5673 echo "$ac_t""$LD_FOR_TARGET" 1>&6
5675 echo "$ac_t""no" 1>&6
5679 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
5680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5681 set dummy
${ncn_progname}; ac_word
=$2
5682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5683 echo "configure:5684: checking for $ac_word" >&5
5684 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
5685 echo $ac_n "(cached) $ac_c" 1>&6
5687 if test -n "$LD_FOR_TARGET"; then
5688 ac_cv_prog_LD_FOR_TARGET
="$LD_FOR_TARGET" # Let the user override the test.
5690 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5692 for ac_dir
in $ac_dummy; do
5693 test -z "$ac_dir" && ac_dir
=.
5694 if test -f $ac_dir/$ac_word; then
5695 ac_cv_prog_LD_FOR_TARGET
="${ncn_progname}"
5702 LD_FOR_TARGET
="$ac_cv_prog_LD_FOR_TARGET"
5703 if test -n "$LD_FOR_TARGET"; then
5704 echo "$ac_t""$LD_FOR_TARGET" 1>&6
5706 echo "$ac_t""no" 1>&6
5710 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
5714 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
5716 if test $build = $target ; then
5719 LD_FOR_TARGET
="${ncn_target_tool_prefix}$2"
5724 LD_FOR_TARGET
=$ac_cv_path_LD_FOR_TARGET
5730 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
5731 if test -n "$with_build_time_tools"; then
5732 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
5733 echo "configure:5734: checking for lipo in $with_build_time_tools" >&5
5734 if test -x $with_build_time_tools/lipo
; then
5735 LIPO_FOR_TARGET
=`cd $with_build_time_tools && pwd`/lipo
5736 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
5737 echo "$ac_t""$ac_cv_path_LIPO_FOR_TARGET" 1>&6
5739 echo "$ac_t""no" 1>&6
5741 elif test $build != $host && test $have_gcc_for_target = yes; then
5742 LIPO_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=lipo`
5743 test $LIPO_FOR_TARGET=lipo
&& LIPO_FOR_TARGET
=
5744 ac_cv_path_LIPO_FOR_TARGET
=$LIPO_FOR_TARGET
5747 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
5748 # Extract the first word of "lipo", so it can be a program name with args.
5749 set dummy lipo
; ac_word
=$2
5750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5751 echo "configure:5752: checking for $ac_word" >&5
5752 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
5753 echo $ac_n "(cached) $ac_c" 1>&6
5755 case "$LIPO_FOR_TARGET" in
5757 ac_cv_path_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test with a path.
5760 ac_cv_path_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test with a dos path.
5763 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5764 ac_dummy
="$gcc_cv_tool_dirs"
5765 for ac_dir
in $ac_dummy; do
5766 test -z "$ac_dir" && ac_dir
=.
5767 if test -f $ac_dir/$ac_word; then
5768 ac_cv_path_LIPO_FOR_TARGET
="$ac_dir/$ac_word"
5776 LIPO_FOR_TARGET
="$ac_cv_path_LIPO_FOR_TARGET"
5777 if test -n "$LIPO_FOR_TARGET"; then
5778 echo "$ac_t""$LIPO_FOR_TARGET" 1>&6
5780 echo "$ac_t""no" 1>&6
5784 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
5785 if test -n "$with_build_time_tools"; then
5786 for ncn_progname
in lipo
; do
5787 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5788 echo "configure:5789: checking for ${ncn_progname} in $with_build_time_tools" >&5
5789 if test -x $with_build_time_tools/${ncn_progname}; then
5790 ac_cv_prog_LIPO_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5791 echo "$ac_t""yes" 1>&6
5794 echo "$ac_t""no" 1>&6
5799 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
5800 for ncn_progname
in lipo
; do
5801 if test -n "$ncn_target_tool_prefix"; then
5802 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5803 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5805 echo "configure:5806: checking for $ac_word" >&5
5806 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5809 if test -n "$LIPO_FOR_TARGET"; then
5810 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
5812 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5814 for ac_dir
in $ac_dummy; do
5815 test -z "$ac_dir" && ac_dir
=.
5816 if test -f $ac_dir/$ac_word; then
5817 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5824 LIPO_FOR_TARGET
="$ac_cv_prog_LIPO_FOR_TARGET"
5825 if test -n "$LIPO_FOR_TARGET"; then
5826 echo "$ac_t""$LIPO_FOR_TARGET" 1>&6
5828 echo "$ac_t""no" 1>&6
5832 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
5833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5834 set dummy
${ncn_progname}; ac_word
=$2
5835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5836 echo "configure:5837: checking for $ac_word" >&5
5837 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
5838 echo $ac_n "(cached) $ac_c" 1>&6
5840 if test -n "$LIPO_FOR_TARGET"; then
5841 ac_cv_prog_LIPO_FOR_TARGET
="$LIPO_FOR_TARGET" # Let the user override the test.
5843 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5845 for ac_dir
in $ac_dummy; do
5846 test -z "$ac_dir" && ac_dir
=.
5847 if test -f $ac_dir/$ac_word; then
5848 ac_cv_prog_LIPO_FOR_TARGET
="${ncn_progname}"
5855 LIPO_FOR_TARGET
="$ac_cv_prog_LIPO_FOR_TARGET"
5856 if test -n "$LIPO_FOR_TARGET"; then
5857 echo "$ac_t""$LIPO_FOR_TARGET" 1>&6
5859 echo "$ac_t""no" 1>&6
5863 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
5867 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
5869 if test $build = $target ; then
5870 LIPO_FOR_TARGET
="$2"
5872 LIPO_FOR_TARGET
="${ncn_target_tool_prefix}$2"
5877 LIPO_FOR_TARGET
=$ac_cv_path_LIPO_FOR_TARGET
5883 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
5884 if test -n "$with_build_time_tools"; then
5885 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
5886 echo "configure:5887: checking for nm in $with_build_time_tools" >&5
5887 if test -x $with_build_time_tools/nm
; then
5888 NM_FOR_TARGET
=`cd $with_build_time_tools && pwd`/nm
5889 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
5890 echo "$ac_t""$ac_cv_path_NM_FOR_TARGET" 1>&6
5892 echo "$ac_t""no" 1>&6
5894 elif test $build != $host && test $have_gcc_for_target = yes; then
5895 NM_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=nm`
5896 test $NM_FOR_TARGET=nm
&& NM_FOR_TARGET
=
5897 ac_cv_path_NM_FOR_TARGET
=$NM_FOR_TARGET
5900 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
5901 # Extract the first word of "nm", so it can be a program name with args.
5902 set dummy nm
; ac_word
=$2
5903 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5904 echo "configure:5905: checking for $ac_word" >&5
5905 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
5906 echo $ac_n "(cached) $ac_c" 1>&6
5908 case "$NM_FOR_TARGET" in
5910 ac_cv_path_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test with a path.
5913 ac_cv_path_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test with a dos path.
5916 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5917 ac_dummy
="$gcc_cv_tool_dirs"
5918 for ac_dir
in $ac_dummy; do
5919 test -z "$ac_dir" && ac_dir
=.
5920 if test -f $ac_dir/$ac_word; then
5921 ac_cv_path_NM_FOR_TARGET
="$ac_dir/$ac_word"
5929 NM_FOR_TARGET
="$ac_cv_path_NM_FOR_TARGET"
5930 if test -n "$NM_FOR_TARGET"; then
5931 echo "$ac_t""$NM_FOR_TARGET" 1>&6
5933 echo "$ac_t""no" 1>&6
5937 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
5938 if test -n "$with_build_time_tools"; then
5939 for ncn_progname
in nm
; do
5940 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
5941 echo "configure:5942: checking for ${ncn_progname} in $with_build_time_tools" >&5
5942 if test -x $with_build_time_tools/${ncn_progname}; then
5943 ac_cv_prog_NM_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
5944 echo "$ac_t""yes" 1>&6
5947 echo "$ac_t""no" 1>&6
5952 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
5953 for ncn_progname
in nm
; do
5954 if test -n "$ncn_target_tool_prefix"; then
5955 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
5956 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
5957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5958 echo "configure:5959: checking for $ac_word" >&5
5959 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
5960 echo $ac_n "(cached) $ac_c" 1>&6
5962 if test -n "$NM_FOR_TARGET"; then
5963 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
5965 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5967 for ac_dir
in $ac_dummy; do
5968 test -z "$ac_dir" && ac_dir
=.
5969 if test -f $ac_dir/$ac_word; then
5970 ac_cv_prog_NM_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
5977 NM_FOR_TARGET
="$ac_cv_prog_NM_FOR_TARGET"
5978 if test -n "$NM_FOR_TARGET"; then
5979 echo "$ac_t""$NM_FOR_TARGET" 1>&6
5981 echo "$ac_t""no" 1>&6
5985 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
5986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5987 set dummy
${ncn_progname}; ac_word
=$2
5988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5989 echo "configure:5990: checking for $ac_word" >&5
5990 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
5991 echo $ac_n "(cached) $ac_c" 1>&6
5993 if test -n "$NM_FOR_TARGET"; then
5994 ac_cv_prog_NM_FOR_TARGET
="$NM_FOR_TARGET" # Let the user override the test.
5996 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5998 for ac_dir
in $ac_dummy; do
5999 test -z "$ac_dir" && ac_dir
=.
6000 if test -f $ac_dir/$ac_word; then
6001 ac_cv_prog_NM_FOR_TARGET
="${ncn_progname}"
6008 NM_FOR_TARGET
="$ac_cv_prog_NM_FOR_TARGET"
6009 if test -n "$NM_FOR_TARGET"; then
6010 echo "$ac_t""$NM_FOR_TARGET" 1>&6
6012 echo "$ac_t""no" 1>&6
6016 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
6020 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
6022 if test $build = $target ; then
6025 NM_FOR_TARGET
="${ncn_target_tool_prefix}$2"
6030 NM_FOR_TARGET
=$ac_cv_path_NM_FOR_TARGET
6036 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
6037 if test -n "$with_build_time_tools"; then
6038 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
6039 echo "configure:6040: checking for objdump in $with_build_time_tools" >&5
6040 if test -x $with_build_time_tools/objdump
; then
6041 OBJDUMP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/objdump
6042 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
6043 echo "$ac_t""$ac_cv_path_OBJDUMP_FOR_TARGET" 1>&6
6045 echo "$ac_t""no" 1>&6
6047 elif test $build != $host && test $have_gcc_for_target = yes; then
6048 OBJDUMP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=objdump`
6049 test $OBJDUMP_FOR_TARGET=objdump
&& OBJDUMP_FOR_TARGET
=
6050 ac_cv_path_OBJDUMP_FOR_TARGET
=$OBJDUMP_FOR_TARGET
6053 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
6054 # Extract the first word of "objdump", so it can be a program name with args.
6055 set dummy objdump
; ac_word
=$2
6056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6057 echo "configure:6058: checking for $ac_word" >&5
6058 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
6059 echo $ac_n "(cached) $ac_c" 1>&6
6061 case "$OBJDUMP_FOR_TARGET" in
6063 ac_cv_path_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
6066 ac_cv_path_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test with a dos path.
6069 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6070 ac_dummy
="$gcc_cv_tool_dirs"
6071 for ac_dir
in $ac_dummy; do
6072 test -z "$ac_dir" && ac_dir
=.
6073 if test -f $ac_dir/$ac_word; then
6074 ac_cv_path_OBJDUMP_FOR_TARGET
="$ac_dir/$ac_word"
6082 OBJDUMP_FOR_TARGET
="$ac_cv_path_OBJDUMP_FOR_TARGET"
6083 if test -n "$OBJDUMP_FOR_TARGET"; then
6084 echo "$ac_t""$OBJDUMP_FOR_TARGET" 1>&6
6086 echo "$ac_t""no" 1>&6
6090 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
6091 if test -n "$with_build_time_tools"; then
6092 for ncn_progname
in objdump
; do
6093 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
6094 echo "configure:6095: checking for ${ncn_progname} in $with_build_time_tools" >&5
6095 if test -x $with_build_time_tools/${ncn_progname}; then
6096 ac_cv_prog_OBJDUMP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
6097 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6105 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
6106 for ncn_progname
in objdump
; do
6107 if test -n "$ncn_target_tool_prefix"; then
6108 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6109 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
6110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6111 echo "configure:6112: checking for $ac_word" >&5
6112 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6
6115 if test -n "$OBJDUMP_FOR_TARGET"; then
6116 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
6118 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6120 for ac_dir
in $ac_dummy; do
6121 test -z "$ac_dir" && ac_dir
=.
6122 if test -f $ac_dir/$ac_word; then
6123 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
6130 OBJDUMP_FOR_TARGET
="$ac_cv_prog_OBJDUMP_FOR_TARGET"
6131 if test -n "$OBJDUMP_FOR_TARGET"; then
6132 echo "$ac_t""$OBJDUMP_FOR_TARGET" 1>&6
6134 echo "$ac_t""no" 1>&6
6138 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
6139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6140 set dummy
${ncn_progname}; ac_word
=$2
6141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6142 echo "configure:6143: checking for $ac_word" >&5
6143 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
6144 echo $ac_n "(cached) $ac_c" 1>&6
6146 if test -n "$OBJDUMP_FOR_TARGET"; then
6147 ac_cv_prog_OBJDUMP_FOR_TARGET
="$OBJDUMP_FOR_TARGET" # Let the user override the test.
6149 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6151 for ac_dir
in $ac_dummy; do
6152 test -z "$ac_dir" && ac_dir
=.
6153 if test -f $ac_dir/$ac_word; then
6154 ac_cv_prog_OBJDUMP_FOR_TARGET
="${ncn_progname}"
6161 OBJDUMP_FOR_TARGET
="$ac_cv_prog_OBJDUMP_FOR_TARGET"
6162 if test -n "$OBJDUMP_FOR_TARGET"; then
6163 echo "$ac_t""$OBJDUMP_FOR_TARGET" 1>&6
6165 echo "$ac_t""no" 1>&6
6169 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
6173 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
6175 if test $build = $target ; then
6176 OBJDUMP_FOR_TARGET
="$2"
6178 OBJDUMP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
6183 OBJDUMP_FOR_TARGET
=$ac_cv_path_OBJDUMP_FOR_TARGET
6189 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
6190 if test -n "$with_build_time_tools"; then
6191 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
6192 echo "configure:6193: checking for ranlib in $with_build_time_tools" >&5
6193 if test -x $with_build_time_tools/ranlib
; then
6194 RANLIB_FOR_TARGET
=`cd $with_build_time_tools && pwd`/ranlib
6195 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
6196 echo "$ac_t""$ac_cv_path_RANLIB_FOR_TARGET" 1>&6
6198 echo "$ac_t""no" 1>&6
6200 elif test $build != $host && test $have_gcc_for_target = yes; then
6201 RANLIB_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=ranlib`
6202 test $RANLIB_FOR_TARGET=ranlib
&& RANLIB_FOR_TARGET
=
6203 ac_cv_path_RANLIB_FOR_TARGET
=$RANLIB_FOR_TARGET
6206 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
6207 # Extract the first word of "ranlib", so it can be a program name with args.
6208 set dummy ranlib
; ac_word
=$2
6209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6210 echo "configure:6211: checking for $ac_word" >&5
6211 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
6212 echo $ac_n "(cached) $ac_c" 1>&6
6214 case "$RANLIB_FOR_TARGET" in
6216 ac_cv_path_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
6219 ac_cv_path_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test with a dos path.
6222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6223 ac_dummy
="$gcc_cv_tool_dirs"
6224 for ac_dir
in $ac_dummy; do
6225 test -z "$ac_dir" && ac_dir
=.
6226 if test -f $ac_dir/$ac_word; then
6227 ac_cv_path_RANLIB_FOR_TARGET
="$ac_dir/$ac_word"
6235 RANLIB_FOR_TARGET
="$ac_cv_path_RANLIB_FOR_TARGET"
6236 if test -n "$RANLIB_FOR_TARGET"; then
6237 echo "$ac_t""$RANLIB_FOR_TARGET" 1>&6
6239 echo "$ac_t""no" 1>&6
6243 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
6244 if test -n "$with_build_time_tools"; then
6245 for ncn_progname
in ranlib
; do
6246 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
6247 echo "configure:6248: checking for ${ncn_progname} in $with_build_time_tools" >&5
6248 if test -x $with_build_time_tools/${ncn_progname}; then
6249 ac_cv_prog_RANLIB_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
6250 echo "$ac_t""yes" 1>&6
6253 echo "$ac_t""no" 1>&6
6258 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
6259 for ncn_progname
in ranlib
; do
6260 if test -n "$ncn_target_tool_prefix"; then
6261 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6262 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
6263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6264 echo "configure:6265: checking for $ac_word" >&5
6265 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
6266 echo $ac_n "(cached) $ac_c" 1>&6
6268 if test -n "$RANLIB_FOR_TARGET"; then
6269 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
6271 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6273 for ac_dir
in $ac_dummy; do
6274 test -z "$ac_dir" && ac_dir
=.
6275 if test -f $ac_dir/$ac_word; then
6276 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
6283 RANLIB_FOR_TARGET
="$ac_cv_prog_RANLIB_FOR_TARGET"
6284 if test -n "$RANLIB_FOR_TARGET"; then
6285 echo "$ac_t""$RANLIB_FOR_TARGET" 1>&6
6287 echo "$ac_t""no" 1>&6
6291 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
6292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6293 set dummy
${ncn_progname}; ac_word
=$2
6294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6295 echo "configure:6296: checking for $ac_word" >&5
6296 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
6297 echo $ac_n "(cached) $ac_c" 1>&6
6299 if test -n "$RANLIB_FOR_TARGET"; then
6300 ac_cv_prog_RANLIB_FOR_TARGET
="$RANLIB_FOR_TARGET" # Let the user override the test.
6302 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6304 for ac_dir
in $ac_dummy; do
6305 test -z "$ac_dir" && ac_dir
=.
6306 if test -f $ac_dir/$ac_word; then
6307 ac_cv_prog_RANLIB_FOR_TARGET
="${ncn_progname}"
6314 RANLIB_FOR_TARGET
="$ac_cv_prog_RANLIB_FOR_TARGET"
6315 if test -n "$RANLIB_FOR_TARGET"; then
6316 echo "$ac_t""$RANLIB_FOR_TARGET" 1>&6
6318 echo "$ac_t""no" 1>&6
6322 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
6326 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
6328 if test $build = $target ; then
6329 RANLIB_FOR_TARGET
="$2"
6331 RANLIB_FOR_TARGET
="${ncn_target_tool_prefix}$2"
6336 RANLIB_FOR_TARGET
=$ac_cv_path_RANLIB_FOR_TARGET
6342 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
6343 if test -n "$with_build_time_tools"; then
6344 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
6345 echo "configure:6346: checking for strip in $with_build_time_tools" >&5
6346 if test -x $with_build_time_tools/strip
; then
6347 STRIP_FOR_TARGET
=`cd $with_build_time_tools && pwd`/strip
6348 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
6349 echo "$ac_t""$ac_cv_path_STRIP_FOR_TARGET" 1>&6
6351 echo "$ac_t""no" 1>&6
6353 elif test $build != $host && test $have_gcc_for_target = yes; then
6354 STRIP_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=strip`
6355 test $STRIP_FOR_TARGET=strip
&& STRIP_FOR_TARGET
=
6356 ac_cv_path_STRIP_FOR_TARGET
=$STRIP_FOR_TARGET
6359 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
6360 # Extract the first word of "strip", so it can be a program name with args.
6361 set dummy strip
; ac_word
=$2
6362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6363 echo "configure:6364: checking for $ac_word" >&5
6364 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
6365 echo $ac_n "(cached) $ac_c" 1>&6
6367 case "$STRIP_FOR_TARGET" in
6369 ac_cv_path_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test with a path.
6372 ac_cv_path_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test with a dos path.
6375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6376 ac_dummy
="$gcc_cv_tool_dirs"
6377 for ac_dir
in $ac_dummy; do
6378 test -z "$ac_dir" && ac_dir
=.
6379 if test -f $ac_dir/$ac_word; then
6380 ac_cv_path_STRIP_FOR_TARGET
="$ac_dir/$ac_word"
6388 STRIP_FOR_TARGET
="$ac_cv_path_STRIP_FOR_TARGET"
6389 if test -n "$STRIP_FOR_TARGET"; then
6390 echo "$ac_t""$STRIP_FOR_TARGET" 1>&6
6392 echo "$ac_t""no" 1>&6
6396 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
6397 if test -n "$with_build_time_tools"; then
6398 for ncn_progname
in strip
; do
6399 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
6400 echo "configure:6401: checking for ${ncn_progname} in $with_build_time_tools" >&5
6401 if test -x $with_build_time_tools/${ncn_progname}; then
6402 ac_cv_prog_STRIP_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
6403 echo "$ac_t""yes" 1>&6
6406 echo "$ac_t""no" 1>&6
6411 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
6412 for ncn_progname
in strip
; do
6413 if test -n "$ncn_target_tool_prefix"; then
6414 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6415 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
6416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6417 echo "configure:6418: checking for $ac_word" >&5
6418 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
6419 echo $ac_n "(cached) $ac_c" 1>&6
6421 if test -n "$STRIP_FOR_TARGET"; then
6422 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
6424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6426 for ac_dir
in $ac_dummy; do
6427 test -z "$ac_dir" && ac_dir
=.
6428 if test -f $ac_dir/$ac_word; then
6429 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
6436 STRIP_FOR_TARGET
="$ac_cv_prog_STRIP_FOR_TARGET"
6437 if test -n "$STRIP_FOR_TARGET"; then
6438 echo "$ac_t""$STRIP_FOR_TARGET" 1>&6
6440 echo "$ac_t""no" 1>&6
6444 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
6445 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6446 set dummy
${ncn_progname}; ac_word
=$2
6447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6448 echo "configure:6449: checking for $ac_word" >&5
6449 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
6450 echo $ac_n "(cached) $ac_c" 1>&6
6452 if test -n "$STRIP_FOR_TARGET"; then
6453 ac_cv_prog_STRIP_FOR_TARGET
="$STRIP_FOR_TARGET" # Let the user override the test.
6455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6457 for ac_dir
in $ac_dummy; do
6458 test -z "$ac_dir" && ac_dir
=.
6459 if test -f $ac_dir/$ac_word; then
6460 ac_cv_prog_STRIP_FOR_TARGET
="${ncn_progname}"
6467 STRIP_FOR_TARGET
="$ac_cv_prog_STRIP_FOR_TARGET"
6468 if test -n "$STRIP_FOR_TARGET"; then
6469 echo "$ac_t""$STRIP_FOR_TARGET" 1>&6
6471 echo "$ac_t""no" 1>&6
6475 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
6479 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
6481 if test $build = $target ; then
6482 STRIP_FOR_TARGET
="$2"
6484 STRIP_FOR_TARGET
="${ncn_target_tool_prefix}$2"
6489 STRIP_FOR_TARGET
=$ac_cv_path_STRIP_FOR_TARGET
6495 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
6496 if test -n "$with_build_time_tools"; then
6497 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
6498 echo "configure:6499: checking for windres in $with_build_time_tools" >&5
6499 if test -x $with_build_time_tools/windres
; then
6500 WINDRES_FOR_TARGET
=`cd $with_build_time_tools && pwd`/windres
6501 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
6502 echo "$ac_t""$ac_cv_path_WINDRES_FOR_TARGET" 1>&6
6504 echo "$ac_t""no" 1>&6
6506 elif test $build != $host && test $have_gcc_for_target = yes; then
6507 WINDRES_FOR_TARGET
=`$GCC_FOR_TARGET --print-prog-name=windres`
6508 test $WINDRES_FOR_TARGET=windres
&& WINDRES_FOR_TARGET
=
6509 ac_cv_path_WINDRES_FOR_TARGET
=$WINDRES_FOR_TARGET
6512 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
6513 # Extract the first word of "windres", so it can be a program name with args.
6514 set dummy windres
; ac_word
=$2
6515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6516 echo "configure:6517: checking for $ac_word" >&5
6517 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
6518 echo $ac_n "(cached) $ac_c" 1>&6
6520 case "$WINDRES_FOR_TARGET" in
6522 ac_cv_path_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
6525 ac_cv_path_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test with a dos path.
6528 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6529 ac_dummy
="$gcc_cv_tool_dirs"
6530 for ac_dir
in $ac_dummy; do
6531 test -z "$ac_dir" && ac_dir
=.
6532 if test -f $ac_dir/$ac_word; then
6533 ac_cv_path_WINDRES_FOR_TARGET
="$ac_dir/$ac_word"
6541 WINDRES_FOR_TARGET
="$ac_cv_path_WINDRES_FOR_TARGET"
6542 if test -n "$WINDRES_FOR_TARGET"; then
6543 echo "$ac_t""$WINDRES_FOR_TARGET" 1>&6
6545 echo "$ac_t""no" 1>&6
6549 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
6550 if test -n "$with_build_time_tools"; then
6551 for ncn_progname
in windres
; do
6552 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
6553 echo "configure:6554: checking for ${ncn_progname} in $with_build_time_tools" >&5
6554 if test -x $with_build_time_tools/${ncn_progname}; then
6555 ac_cv_prog_WINDRES_FOR_TARGET
=$with_build_time_tools/${ncn_progname}
6556 echo "$ac_t""yes" 1>&6
6559 echo "$ac_t""no" 1>&6
6564 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
6565 for ncn_progname
in windres
; do
6566 if test -n "$ncn_target_tool_prefix"; then
6567 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6568 set dummy
${ncn_target_tool_prefix}${ncn_progname}; ac_word
=$2
6569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6570 echo "configure:6571: checking for $ac_word" >&5
6571 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
6572 echo $ac_n "(cached) $ac_c" 1>&6
6574 if test -n "$WINDRES_FOR_TARGET"; then
6575 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
6577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6579 for ac_dir
in $ac_dummy; do
6580 test -z "$ac_dir" && ac_dir
=.
6581 if test -f $ac_dir/$ac_word; then
6582 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}${ncn_progname}"
6589 WINDRES_FOR_TARGET
="$ac_cv_prog_WINDRES_FOR_TARGET"
6590 if test -n "$WINDRES_FOR_TARGET"; then
6591 echo "$ac_t""$WINDRES_FOR_TARGET" 1>&6
6593 echo "$ac_t""no" 1>&6
6597 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
6598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6599 set dummy
${ncn_progname}; ac_word
=$2
6600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6601 echo "configure:6602: checking for $ac_word" >&5
6602 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
6603 echo $ac_n "(cached) $ac_c" 1>&6
6605 if test -n "$WINDRES_FOR_TARGET"; then
6606 ac_cv_prog_WINDRES_FOR_TARGET
="$WINDRES_FOR_TARGET" # Let the user override the test.
6608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6610 for ac_dir
in $ac_dummy; do
6611 test -z "$ac_dir" && ac_dir
=.
6612 if test -f $ac_dir/$ac_word; then
6613 ac_cv_prog_WINDRES_FOR_TARGET
="${ncn_progname}"
6620 WINDRES_FOR_TARGET
="$ac_cv_prog_WINDRES_FOR_TARGET"
6621 if test -n "$WINDRES_FOR_TARGET"; then
6622 echo "$ac_t""$WINDRES_FOR_TARGET" 1>&6
6624 echo "$ac_t""no" 1>&6
6628 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
6632 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
6634 if test $build = $target ; then
6635 WINDRES_FOR_TARGET
="$2"
6637 WINDRES_FOR_TARGET
="${ncn_target_tool_prefix}$2"
6642 WINDRES_FOR_TARGET
=$ac_cv_path_WINDRES_FOR_TARGET
6646 RAW_CXX_FOR_TARGET
="$CXX_FOR_TARGET"
6648 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
6649 echo "configure:6650: checking where to find the target ar" >&5
6650 if test "x${build}" != "x${host}" ; then
6651 if expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
6652 # We already found the complete path
6653 echo "$ac_t""pre-installed in `dirname $AR_FOR_TARGET`" 1>&6
6655 # Canadian cross, just use what we found
6656 echo "$ac_t""pre-installed" 1>&6
6660 case " ${configdirs} " in
6665 if test $ok = yes; then
6666 # An in-tree tool is available and we can use it
6667 AR_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ar'
6668 echo "$ac_t""just compiled" 1>&6
6669 elif expr "x$AR_FOR_TARGET" : "x/" > /dev
/null
; then
6670 # We already found the complete path
6671 echo "$ac_t""pre-installed in `dirname $AR_FOR_TARGET`" 1>&6
6672 elif test "x$target" = "x$host"; then
6673 # We can use an host tool
6674 AR_FOR_TARGET
='$(AR)'
6675 echo "$ac_t""host tool" 1>&6
6677 # We need a cross tool
6678 echo "$ac_t""pre-installed" 1>&6
6681 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
6682 echo "configure:6683: checking where to find the target as" >&5
6683 if test "x${build}" != "x${host}" ; then
6684 if expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
6685 # We already found the complete path
6686 echo "$ac_t""pre-installed in `dirname $AS_FOR_TARGET`" 1>&6
6688 # Canadian cross, just use what we found
6689 echo "$ac_t""pre-installed" 1>&6
6693 case " ${configdirs} " in
6698 if test $ok = yes; then
6699 # An in-tree tool is available and we can use it
6700 AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gas/as-new'
6701 echo "$ac_t""just compiled" 1>&6
6702 elif expr "x$AS_FOR_TARGET" : "x/" > /dev
/null
; then
6703 # We already found the complete path
6704 echo "$ac_t""pre-installed in `dirname $AS_FOR_TARGET`" 1>&6
6705 elif test "x$target" = "x$host"; then
6706 # We can use an host tool
6707 AS_FOR_TARGET
='$(AS)'
6708 echo "$ac_t""host tool" 1>&6
6710 # We need a cross tool
6711 echo "$ac_t""pre-installed" 1>&6
6714 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
6715 echo "configure:6716: checking where to find the target cc" >&5
6716 if test "x${build}" != "x${host}" ; then
6717 if expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
6718 # We already found the complete path
6719 echo "$ac_t""pre-installed in `dirname $CC_FOR_TARGET`" 1>&6
6721 # Canadian cross, just use what we found
6722 echo "$ac_t""pre-installed" 1>&6
6726 case " ${configdirs} " in
6731 if test $ok = yes; then
6732 # An in-tree tool is available and we can use it
6733 CC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
6734 echo "$ac_t""just compiled" 1>&6
6735 elif expr "x$CC_FOR_TARGET" : "x/" > /dev
/null
; then
6736 # We already found the complete path
6737 echo "$ac_t""pre-installed in `dirname $CC_FOR_TARGET`" 1>&6
6738 elif test "x$target" = "x$host"; then
6739 # We can use an host tool
6740 CC_FOR_TARGET
='$(CC)'
6741 echo "$ac_t""host tool" 1>&6
6743 # We need a cross tool
6744 echo "$ac_t""pre-installed" 1>&6
6747 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
6748 echo "configure:6749: checking where to find the target c++" >&5
6749 if test "x${build}" != "x${host}" ; then
6750 if expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
6751 # We already found the complete path
6752 echo "$ac_t""pre-installed in `dirname $CXX_FOR_TARGET`" 1>&6
6754 # Canadian cross, just use what we found
6755 echo "$ac_t""pre-installed" 1>&6
6759 case " ${configdirs} " in
6763 case ,${enable_languages}, in
6767 if test $ok = yes; then
6768 # An in-tree tool is available and we can use it
6769 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'
6770 echo "$ac_t""just compiled" 1>&6
6771 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev
/null
; then
6772 # We already found the complete path
6773 echo "$ac_t""pre-installed in `dirname $CXX_FOR_TARGET`" 1>&6
6774 elif test "x$target" = "x$host"; then
6775 # We can use an host tool
6776 CXX_FOR_TARGET
='$(CXX)'
6777 echo "$ac_t""host tool" 1>&6
6779 # We need a cross tool
6780 echo "$ac_t""pre-installed" 1>&6
6783 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
6784 echo "configure:6785: checking where to find the target c++ for libstdc++" >&5
6785 if test "x${build}" != "x${host}" ; then
6786 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
6787 # We already found the complete path
6788 echo "$ac_t""pre-installed in `dirname $RAW_CXX_FOR_TARGET`" 1>&6
6790 # Canadian cross, just use what we found
6791 echo "$ac_t""pre-installed" 1>&6
6795 case " ${configdirs} " in
6799 case ,${enable_languages}, in
6803 if test $ok = yes; then
6804 # An in-tree tool is available and we can use it
6805 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'
6806 echo "$ac_t""just compiled" 1>&6
6807 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev
/null
; then
6808 # We already found the complete path
6809 echo "$ac_t""pre-installed in `dirname $RAW_CXX_FOR_TARGET`" 1>&6
6810 elif test "x$target" = "x$host"; then
6811 # We can use an host tool
6812 RAW_CXX_FOR_TARGET
='$(CXX)'
6813 echo "$ac_t""host tool" 1>&6
6815 # We need a cross tool
6816 echo "$ac_t""pre-installed" 1>&6
6819 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
6820 echo "configure:6821: checking where to find the target dlltool" >&5
6821 if test "x${build}" != "x${host}" ; then
6822 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
6823 # We already found the complete path
6824 echo "$ac_t""pre-installed in `dirname $DLLTOOL_FOR_TARGET`" 1>&6
6826 # Canadian cross, just use what we found
6827 echo "$ac_t""pre-installed" 1>&6
6831 case " ${configdirs} " in
6836 if test $ok = yes; then
6837 # An in-tree tool is available and we can use it
6838 DLLTOOL_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/dlltool'
6839 echo "$ac_t""just compiled" 1>&6
6840 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev
/null
; then
6841 # We already found the complete path
6842 echo "$ac_t""pre-installed in `dirname $DLLTOOL_FOR_TARGET`" 1>&6
6843 elif test "x$target" = "x$host"; then
6844 # We can use an host tool
6845 DLLTOOL_FOR_TARGET
='$(DLLTOOL)'
6846 echo "$ac_t""host tool" 1>&6
6848 # We need a cross tool
6849 echo "$ac_t""pre-installed" 1>&6
6852 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
6853 echo "configure:6854: checking where to find the target gcc" >&5
6854 if test "x${build}" != "x${host}" ; then
6855 if expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
6856 # We already found the complete path
6857 echo "$ac_t""pre-installed in `dirname $GCC_FOR_TARGET`" 1>&6
6859 # Canadian cross, just use what we found
6860 echo "$ac_t""pre-installed" 1>&6
6864 case " ${configdirs} " in
6869 if test $ok = yes; then
6870 # An in-tree tool is available and we can use it
6871 GCC_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
6872 echo "$ac_t""just compiled" 1>&6
6873 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev
/null
; then
6874 # We already found the complete path
6875 echo "$ac_t""pre-installed in `dirname $GCC_FOR_TARGET`" 1>&6
6876 elif test "x$target" = "x$host"; then
6877 # We can use an host tool
6878 GCC_FOR_TARGET
='$()'
6879 echo "$ac_t""host tool" 1>&6
6881 # We need a cross tool
6882 echo "$ac_t""pre-installed" 1>&6
6885 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
6886 echo "configure:6887: checking where to find the target gcj" >&5
6887 if test "x${build}" != "x${host}" ; then
6888 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
6889 # We already found the complete path
6890 echo "$ac_t""pre-installed in `dirname $GCJ_FOR_TARGET`" 1>&6
6892 # Canadian cross, just use what we found
6893 echo "$ac_t""pre-installed" 1>&6
6897 case " ${configdirs} " in
6901 case ,${enable_languages}, in
6905 if test $ok = yes; then
6906 # An in-tree tool is available and we can use it
6907 GCJ_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
6908 echo "$ac_t""just compiled" 1>&6
6909 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev
/null
; then
6910 # We already found the complete path
6911 echo "$ac_t""pre-installed in `dirname $GCJ_FOR_TARGET`" 1>&6
6912 elif test "x$target" = "x$host"; then
6913 # We can use an host tool
6914 GCJ_FOR_TARGET
='$(GCJ)'
6915 echo "$ac_t""host tool" 1>&6
6917 # We need a cross tool
6918 echo "$ac_t""pre-installed" 1>&6
6921 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
6922 echo "configure:6923: checking where to find the target gfortran" >&5
6923 if test "x${build}" != "x${host}" ; then
6924 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
6925 # We already found the complete path
6926 echo "$ac_t""pre-installed in `dirname $GFORTRAN_FOR_TARGET`" 1>&6
6928 # Canadian cross, just use what we found
6929 echo "$ac_t""pre-installed" 1>&6
6933 case " ${configdirs} " in
6937 case ,${enable_languages}, in
6941 if test $ok = yes; then
6942 # An in-tree tool is available and we can use it
6943 GFORTRAN_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
6944 echo "$ac_t""just compiled" 1>&6
6945 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev
/null
; then
6946 # We already found the complete path
6947 echo "$ac_t""pre-installed in `dirname $GFORTRAN_FOR_TARGET`" 1>&6
6948 elif test "x$target" = "x$host"; then
6949 # We can use an host tool
6950 GFORTRAN_FOR_TARGET
='$(GFORTRAN)'
6951 echo "$ac_t""host tool" 1>&6
6953 # We need a cross tool
6954 echo "$ac_t""pre-installed" 1>&6
6957 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
6958 echo "configure:6959: checking where to find the target ld" >&5
6959 if test "x${build}" != "x${host}" ; then
6960 if expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
6961 # We already found the complete path
6962 echo "$ac_t""pre-installed in `dirname $LD_FOR_TARGET`" 1>&6
6964 # Canadian cross, just use what we found
6965 echo "$ac_t""pre-installed" 1>&6
6969 case " ${configdirs} " in
6974 if test $ok = yes; then
6975 # An in-tree tool is available and we can use it
6976 LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/ld/ld-new'
6977 echo "$ac_t""just compiled" 1>&6
6978 elif expr "x$LD_FOR_TARGET" : "x/" > /dev
/null
; then
6979 # We already found the complete path
6980 echo "$ac_t""pre-installed in `dirname $LD_FOR_TARGET`" 1>&6
6981 elif test "x$target" = "x$host"; then
6982 # We can use an host tool
6983 LD_FOR_TARGET
='$(LD)'
6984 echo "$ac_t""host tool" 1>&6
6986 # We need a cross tool
6987 echo "$ac_t""pre-installed" 1>&6
6990 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
6991 echo "configure:6992: checking where to find the target lipo" >&5
6992 if test "x${build}" != "x${host}" ; then
6993 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
6994 # We already found the complete path
6995 echo "$ac_t""pre-installed in `dirname $LIPO_FOR_TARGET`" 1>&6
6997 # Canadian cross, just use what we found
6998 echo "$ac_t""pre-installed" 1>&6
7001 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev
/null
; then
7002 # We already found the complete path
7003 echo "$ac_t""pre-installed in `dirname $LIPO_FOR_TARGET`" 1>&6
7004 elif test "x$target" = "x$host"; then
7005 # We can use an host tool
7006 LIPO_FOR_TARGET
='$(LIPO)'
7007 echo "$ac_t""host tool" 1>&6
7009 # We need a cross tool
7010 echo "$ac_t""pre-installed" 1>&6
7013 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
7014 echo "configure:7015: checking where to find the target nm" >&5
7015 if test "x${build}" != "x${host}" ; then
7016 if expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
7017 # We already found the complete path
7018 echo "$ac_t""pre-installed in `dirname $NM_FOR_TARGET`" 1>&6
7020 # Canadian cross, just use what we found
7021 echo "$ac_t""pre-installed" 1>&6
7025 case " ${configdirs} " in
7030 if test $ok = yes; then
7031 # An in-tree tool is available and we can use it
7032 NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/nm-new'
7033 echo "$ac_t""just compiled" 1>&6
7034 elif expr "x$NM_FOR_TARGET" : "x/" > /dev
/null
; then
7035 # We already found the complete path
7036 echo "$ac_t""pre-installed in `dirname $NM_FOR_TARGET`" 1>&6
7037 elif test "x$target" = "x$host"; then
7038 # We can use an host tool
7039 NM_FOR_TARGET
='$(NM)'
7040 echo "$ac_t""host tool" 1>&6
7042 # We need a cross tool
7043 echo "$ac_t""pre-installed" 1>&6
7046 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
7047 echo "configure:7048: checking where to find the target objdump" >&5
7048 if test "x${build}" != "x${host}" ; then
7049 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
7050 # We already found the complete path
7051 echo "$ac_t""pre-installed in `dirname $OBJDUMP_FOR_TARGET`" 1>&6
7053 # Canadian cross, just use what we found
7054 echo "$ac_t""pre-installed" 1>&6
7058 case " ${configdirs} " in
7063 if test $ok = yes; then
7064 # An in-tree tool is available and we can use it
7065 OBJDUMP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/objdump'
7066 echo "$ac_t""just compiled" 1>&6
7067 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev
/null
; then
7068 # We already found the complete path
7069 echo "$ac_t""pre-installed in `dirname $OBJDUMP_FOR_TARGET`" 1>&6
7070 elif test "x$target" = "x$host"; then
7071 # We can use an host tool
7072 OBJDUMP_FOR_TARGET
='$(OBJDUMP)'
7073 echo "$ac_t""host tool" 1>&6
7075 # We need a cross tool
7076 echo "$ac_t""pre-installed" 1>&6
7079 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
7080 echo "configure:7081: checking where to find the target ranlib" >&5
7081 if test "x${build}" != "x${host}" ; then
7082 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
7083 # We already found the complete path
7084 echo "$ac_t""pre-installed in `dirname $RANLIB_FOR_TARGET`" 1>&6
7086 # Canadian cross, just use what we found
7087 echo "$ac_t""pre-installed" 1>&6
7091 case " ${configdirs} " in
7096 if test $ok = yes; then
7097 # An in-tree tool is available and we can use it
7098 RANLIB_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/ranlib'
7099 echo "$ac_t""just compiled" 1>&6
7100 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev
/null
; then
7101 # We already found the complete path
7102 echo "$ac_t""pre-installed in `dirname $RANLIB_FOR_TARGET`" 1>&6
7103 elif test "x$target" = "x$host"; then
7104 # We can use an host tool
7105 RANLIB_FOR_TARGET
='$(RANLIB)'
7106 echo "$ac_t""host tool" 1>&6
7108 # We need a cross tool
7109 echo "$ac_t""pre-installed" 1>&6
7112 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
7113 echo "configure:7114: checking where to find the target strip" >&5
7114 if test "x${build}" != "x${host}" ; then
7115 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
7116 # We already found the complete path
7117 echo "$ac_t""pre-installed in `dirname $STRIP_FOR_TARGET`" 1>&6
7119 # Canadian cross, just use what we found
7120 echo "$ac_t""pre-installed" 1>&6
7124 case " ${configdirs} " in
7129 if test $ok = yes; then
7130 # An in-tree tool is available and we can use it
7131 STRIP_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/strip'
7132 echo "$ac_t""just compiled" 1>&6
7133 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev
/null
; then
7134 # We already found the complete path
7135 echo "$ac_t""pre-installed in `dirname $STRIP_FOR_TARGET`" 1>&6
7136 elif test "x$target" = "x$host"; then
7137 # We can use an host tool
7138 STRIP_FOR_TARGET
='$(STRIP)'
7139 echo "$ac_t""host tool" 1>&6
7141 # We need a cross tool
7142 echo "$ac_t""pre-installed" 1>&6
7145 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
7146 echo "configure:7147: checking where to find the target windres" >&5
7147 if test "x${build}" != "x${host}" ; then
7148 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
7149 # We already found the complete path
7150 echo "$ac_t""pre-installed in `dirname $WINDRES_FOR_TARGET`" 1>&6
7152 # Canadian cross, just use what we found
7153 echo "$ac_t""pre-installed" 1>&6
7157 case " ${configdirs} " in
7162 if test $ok = yes; then
7163 # An in-tree tool is available and we can use it
7164 WINDRES_FOR_TARGET
='$$r/$(HOST_SUBDIR)/binutils/windres'
7165 echo "$ac_t""just compiled" 1>&6
7166 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev
/null
; then
7167 # We already found the complete path
7168 echo "$ac_t""pre-installed in `dirname $WINDRES_FOR_TARGET`" 1>&6
7169 elif test "x$target" = "x$host"; then
7170 # We can use an host tool
7171 WINDRES_FOR_TARGET
='$(WINDRES)'
7172 echo "$ac_t""host tool" 1>&6
7174 # We need a cross tool
7175 echo "$ac_t""pre-installed" 1>&6
7182 # Certain tools may need extra flags.
7183 AR_FOR_TARGET
=${AR_FOR_TARGET}${extra_arflags_for_target}
7184 RANLIB_FOR_TARGET
=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
7185 NM_FOR_TARGET
=${NM_FOR_TARGET}${extra_nmflags_for_target}
7187 # When building target libraries, except in a Canadian cross, we use
7188 # the same toolchain as the compiler we just built.
7189 COMPILER_AS_FOR_TARGET
='$(AS_FOR_TARGET)'
7190 COMPILER_LD_FOR_TARGET
='$(LD_FOR_TARGET)'
7191 COMPILER_NM_FOR_TARGET
='$(NM_FOR_TARGET)'
7192 if test $host = $build; then
7193 case " $configdirs " in
7195 COMPILER_AS_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/as'
7196 COMPILER_LD_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
7197 COMPILER_NM_FOR_TARGET
='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
7206 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
7207 echo "configure:7208: checking whether to enable maintainer-specific portions of Makefiles" >&5
7208 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7209 if test "${enable_maintainer_mode+set}" = set; then
7210 enableval
="$enable_maintainer_mode"
7211 USE_MAINTAINER_MODE
=$enableval
7213 USE_MAINTAINER_MODE
=no
7216 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
7219 if test "$USE_MAINTAINER_MODE" = yes; then
7220 MAINTAINER_MODE_TRUE
=
7221 MAINTAINER_MODE_FALSE
='#'
7223 MAINTAINER_MODE_TRUE
='#'
7224 MAINTAINER_MODE_FALSE
=
7226 MAINT
=$MAINTAINER_MODE_TRUE
7228 # ---------------------
7229 # GCC bootstrap support
7230 # ---------------------
7232 # Stage specific cflags for build.
7237 yes) stage1_cflags
="-g -Wa,-J" ;;
7238 *) stage1_cflags
="-g -J" ;;
7241 # The spiffy cpp-precomp chokes on some legitimate constructs in GCC
7242 # sources; use -no-cpp-precomp to get to GNU cpp.
7243 # Apple's GCC has bugs in designated initializer handling, so disable
7245 stage1_cflags
="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0"
7250 # Enable -Werror in bootstrap stage2 and later.
7251 # Change the default to "no" on release branches.
7252 # Check whether --enable-werror or --disable-werror was given.
7253 if test "${enable_werror+set}" = set; then
7254 enableval
="$enable_werror"
7260 case ${enable_werror} in
7261 yes) stage2_werror_flag
="--enable-werror-always" ;;
7262 *) stage2_werror_flag
="" ;;
7266 # Flags needed to enable html installing and building
7267 # Check whether --with-datarootdir or --without-datarootdir was given.
7268 if test "${with_datarootdir+set}" = set; then
7269 withval
="$with_datarootdir"
7270 datarootdir
="\${prefix}/${withval}"
7272 datarootdir
="\${prefix}/share"
7276 # Check whether --with-docdir or --without-docdir was given.
7277 if test "${with_docdir+set}" = set; then
7278 withval
="$with_docdir"
7279 docdir
="\${prefix}/${withval}"
7281 docdir
="\${datarootdir}/doc"
7285 # Check whether --with-htmldir or --without-htmldir was given.
7286 if test "${with_htmldir+set}" = set; then
7287 withval
="$with_htmldir"
7288 htmldir
="\${prefix}/${withval}"
7290 htmldir
="\${docdir}"
7299 cat > confcache
<<\EOF
7300 # This file is a shell script that caches the results of configure
7301 # tests run on this system so they can be shared between configure
7302 # scripts and configure runs. It is not useful on other systems.
7303 # If it contains results you don't want to keep, you may remove or edit it.
7305 # By default, configure uses ./config.cache as the cache file,
7306 # creating it if it does not exist already. You can give configure
7307 # the --cache-file=FILE option to use a different cache file; that is
7308 # what configure does when it calls configure scripts in
7309 # subdirectories, so they share the cache.
7310 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7311 # config.status only pays attention to the cache file if you give it the
7312 # --recheck option to rerun configure.
7315 # The following way of writing the cache mishandles newlines in values,
7316 # but we know of no workaround that is simple, portable, and efficient.
7317 # So, don't put newlines in cache variables' values.
7318 # Ultrix sh set writes to stderr and can't be redirected directly,
7319 # and sets the high bit in the cache file unless we assign to the vars.
7321 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7323 # `set' does not quote correctly, so add quotes (double-quote substitution
7324 # turns \\\\ into \\, and sed turns \\ into \).
7326 -e "s/'/'\\\\''/g" \
7327 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7330 # `set' quotes correctly as required by POSIX, so do not add quotes.
7331 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7334 if cmp -s $cache_file confcache
; then
7337 if test -w $cache_file; then
7338 echo "updating cache $cache_file"
7339 cat confcache
> $cache_file
7341 echo "not updating unwritable cache $cache_file"
7346 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7348 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7349 # Let make expand exec_prefix.
7350 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7352 # Any assignment to VPATH causes Sun make to only execute
7353 # the first set of double-colon rules, so remove it if not needed.
7354 # If there is a colon in the path, we need to keep it.
7355 if test "x$srcdir" = x.
; then
7356 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7359 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7361 # Transform confdefs.h into DEFS.
7362 # Protect against shell expansion while executing Makefile rules.
7363 # Protect against Makefile macro expansion.
7364 cat > conftest.defs
<<\EOF
7365 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
7366 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
7371 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
7375 # Without the "./", some shells look in PATH for config.status.
7376 : ${CONFIG_STATUS=./config.status}
7378 echo creating $CONFIG_STATUS
7379 rm -f $CONFIG_STATUS
7380 cat > $CONFIG_STATUS <<EOF
7382 # Generated automatically by configure.
7383 # Run this file to recreate the current configuration.
7384 # This directory was configured as follows,
7385 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
7387 # $0 $ac_configure_args
7389 # Compiler output produced by configure, useful for debugging
7390 # configure, is in ./config.log if it exists.
7392 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7395 case "\$ac_option" in
7396 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7397 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7398 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7399 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7400 echo "$CONFIG_STATUS generated by autoconf version 2.13"
7402 -help | --help | --hel | --he | --h)
7403 echo "\$ac_cs_usage"; exit 0 ;;
7404 *) echo "\$ac_cs_usage"; exit 1 ;;
7408 ac_given_srcdir=$srcdir
7409 ac_given_INSTALL="$INSTALL"
7411 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
7413 cat >> $CONFIG_STATUS <<EOF
7415 # Protect against being on the right side of a sed subst in config.status.
7416 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7417 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7421 s%@CFLAGS@%$CFLAGS%g
7422 s%@CPPFLAGS@%$CPPFLAGS%g
7423 s%@CXXFLAGS@%$CXXFLAGS%g
7424 s%@FFLAGS@%$FFLAGS%g
7426 s%@LDFLAGS@%$LDFLAGS%g
7428 s%@exec_prefix@%$exec_prefix%g
7429 s%@prefix@%$prefix%g
7430 s%@program_transform_name@%$program_transform_name%g
7431 s%@bindir@%$bindir%g
7432 s%@sbindir@%$sbindir%g
7433 s%@libexecdir@%$libexecdir%g
7434 s%@datadir@%$datadir%g
7435 s%@sysconfdir@%$sysconfdir%g
7436 s%@sharedstatedir@%$sharedstatedir%g
7437 s%@localstatedir@%$localstatedir%g
7438 s%@libdir@%$libdir%g
7439 s%@includedir@%$includedir%g
7440 s%@oldincludedir@%$oldincludedir%g
7441 s%@infodir@%$infodir%g
7442 s%@mandir@%$mandir%g
7444 s%@host_alias@%$host_alias%g
7445 s%@host_cpu@%$host_cpu%g
7446 s%@host_vendor@%$host_vendor%g
7447 s%@host_os@%$host_os%g
7448 s%@target@%$target%g
7449 s%@target_alias@%$target_alias%g
7450 s%@target_cpu@%$target_cpu%g
7451 s%@target_vendor@%$target_vendor%g
7452 s%@target_os@%$target_os%g
7454 s%@build_alias@%$build_alias%g
7455 s%@build_cpu@%$build_cpu%g
7456 s%@build_vendor@%$build_vendor%g
7457 s%@build_os@%$build_os%g
7458 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7459 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
7460 s%@INSTALL_DATA@%$INSTALL_DATA%g
7463 s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%$TOPLEVEL_CONFIGURE_ARGUMENTS%g
7464 s%@build_subdir@%$build_subdir%g
7465 s%@host_subdir@%$host_subdir%g
7466 s%@target_subdir@%$target_subdir%g
7468 s%@GNATBIND@%$GNATBIND%g
7469 s%@do_compare@%$do_compare%g
7470 s%@gmplibs@%$gmplibs%g
7471 s%@gmpinc@%$gmpinc%g
7472 s%@stage1_languages@%$stage1_languages%g
7473 s%@SYSROOT_CFLAGS_FOR_TARGET@%$SYSROOT_CFLAGS_FOR_TARGET%g
7474 /@serialization_dependencies@/r $serialization_dependencies
7475 s%@serialization_dependencies@%%g
7476 /@host_makefile_frag@/r $host_makefile_frag
7477 s%@host_makefile_frag@%%g
7478 /@target_makefile_frag@/r $target_makefile_frag
7479 s%@target_makefile_frag@%%g
7480 /@alphaieee_frag@/r $alphaieee_frag
7481 s%@alphaieee_frag@%%g
7482 /@ospace_frag@/r $ospace_frag
7484 s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g
7485 s%@tooldir@%$tooldir%g
7486 s%@build_tooldir@%$build_tooldir%g
7487 s%@CONFIGURE_GDB_TK@%$CONFIGURE_GDB_TK%g
7488 s%@GDB_TK@%$GDB_TK%g
7489 s%@INSTALL_GDB_TK@%$INSTALL_GDB_TK%g
7490 s%@build_configargs@%$build_configargs%g
7491 s%@build_configdirs@%$build_configdirs%g
7492 s%@host_configargs@%$host_configargs%g
7493 s%@configdirs@%$configdirs%g
7494 s%@target_configargs@%$target_configargs%g
7495 s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
7496 s%@config_shell@%$config_shell%g
7502 s%@MAKEINFO@%$MAKEINFO%g
7503 s%@EXPECT@%$EXPECT%g
7504 s%@RUNTEST@%$RUNTEST%g
7507 s%@DLLTOOL@%$DLLTOOL%g
7511 s%@RANLIB@%$RANLIB%g
7513 s%@WINDRES@%$WINDRES%g
7514 s%@OBJCOPY@%$OBJCOPY%g
7515 s%@OBJDUMP@%$OBJDUMP%g
7517 s%@CFLAGS_FOR_BUILD@%$CFLAGS_FOR_BUILD%g
7518 s%@CC_FOR_TARGET@%$CC_FOR_TARGET%g
7519 s%@CXX_FOR_TARGET@%$CXX_FOR_TARGET%g
7520 s%@GCC_FOR_TARGET@%$GCC_FOR_TARGET%g
7521 s%@GCJ_FOR_TARGET@%$GCJ_FOR_TARGET%g
7522 s%@GFORTRAN_FOR_TARGET@%$GFORTRAN_FOR_TARGET%g
7523 s%@AR_FOR_TARGET@%$AR_FOR_TARGET%g
7524 s%@AS_FOR_TARGET@%$AS_FOR_TARGET%g
7525 s%@DLLTOOL_FOR_TARGET@%$DLLTOOL_FOR_TARGET%g
7526 s%@LD_FOR_TARGET@%$LD_FOR_TARGET%g
7527 s%@LIPO_FOR_TARGET@%$LIPO_FOR_TARGET%g
7528 s%@NM_FOR_TARGET@%$NM_FOR_TARGET%g
7529 s%@OBJDUMP_FOR_TARGET@%$OBJDUMP_FOR_TARGET%g
7530 s%@RANLIB_FOR_TARGET@%$RANLIB_FOR_TARGET%g
7531 s%@STRIP_FOR_TARGET@%$STRIP_FOR_TARGET%g
7532 s%@WINDRES_FOR_TARGET@%$WINDRES_FOR_TARGET%g
7533 s%@FLAGS_FOR_TARGET@%$FLAGS_FOR_TARGET%g
7534 s%@RAW_CXX_FOR_TARGET@%$RAW_CXX_FOR_TARGET%g
7535 s%@COMPILER_AS_FOR_TARGET@%$COMPILER_AS_FOR_TARGET%g
7536 s%@COMPILER_LD_FOR_TARGET@%$COMPILER_LD_FOR_TARGET%g
7537 s%@COMPILER_NM_FOR_TARGET@%$COMPILER_NM_FOR_TARGET%g
7538 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
7539 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
7541 s%@stage1_cflags@%$stage1_cflags%g
7542 s%@stage2_werror_flag@%$stage2_werror_flag%g
7543 s%@datarootdir@%$datarootdir%g
7544 s%@docdir@%$docdir%g
7545 s%@htmldir@%$htmldir%g
7550 cat >> $CONFIG_STATUS <<\EOF
7552 # Split the substitutions into bite-sized pieces for seds with
7553 # small command number limits, like on Digital OSF/1 and HP-UX.
7554 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
7555 ac_file=1 # Number of current file.
7556 ac_beg=1 # First line for current file.
7557 ac_end=$ac_max_sed_cmds # Line after last line for current file.
7560 while $ac_more_lines; do
7561 if test $ac_beg -gt 1; then
7562 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
7564 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
7566 if test ! -s conftest.s$ac_file; then
7568 rm -f conftest.s$ac_file
7570 if test -z "$ac_sed_cmds"; then
7571 ac_sed_cmds="sed -f conftest.s$ac_file"
7573 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
7575 ac_file=`expr $ac_file + 1`
7577 ac_end=`expr $ac_end + $ac_max_sed_cmds`
7580 if test -z "$ac_sed_cmds"; then
7585 cat >> $CONFIG_STATUS <<EOF
7587 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
7589 cat >> $CONFIG_STATUS <<\EOF
7590 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
7591 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7593 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
7594 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
7595 *) ac_file_in="${ac_file}.in" ;;
7598 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7600 # Remove last slash and all that follows it. Not all systems have dirname.
7601 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
7602 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7603 # The file is in a subdirectory.
7604 test ! -d "$ac_dir" && mkdir "$ac_dir"
7605 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
7606 # A "../" for each directory in $ac_dir_suffix.
7607 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
7609 ac_dir_suffix= ac_dots=
7612 case "$ac_given_srcdir" in
7614 if test -z "$ac_dots"; then top_srcdir=.
7615 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
7616 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
7618 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7619 top_srcdir="$ac_dots$ac_given_srcdir" ;;
7622 case "$ac_given_INSTALL" in
7623 [/$]*) INSTALL="$ac_given_INSTALL" ;;
7624 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
7627 echo creating "$ac_file"
7629 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
7631 *Makefile*) ac_comsub="1i\\
7632 # $configure_input" ;;
7636 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7638 s%@configure_input@%$configure_input%g
7639 s%@srcdir@%$srcdir%g
7640 s%@top_srcdir@%$top_srcdir%g
7641 s%@INSTALL@%$INSTALL%g
7642 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7647 cat >> $CONFIG_STATUS <<EOF
7650 cat >> $CONFIG_STATUS <<\EOF
7654 chmod +x $CONFIG_STATUS
7655 rm -fr confdefs* $ac_clean_files
7656 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1