2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CFLAGS_FOR_BUILD CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_env_AR_set
=${AR+set}
742 ac_cv_env_AR_set
=${AR+set}
743 ac_cv_env_AR_value
=$AR
744 ac_env_AS_set
=${AS+set}
746 ac_cv_env_AS_set
=${AS+set}
747 ac_cv_env_AS_value
=$AS
748 ac_env_DLLTOOL_set
=${DLLTOOL+set}
749 ac_env_DLLTOOL_value
=$DLLTOOL
750 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_cv_env_DLLTOOL_value
=$DLLTOOL
752 ac_env_LD_set
=${LD+set}
754 ac_cv_env_LD_set
=${LD+set}
755 ac_cv_env_LD_value
=$LD
756 ac_env_LIPO_set
=${LIPO+set}
757 ac_env_LIPO_value
=$LIPO
758 ac_cv_env_LIPO_set
=${LIPO+set}
759 ac_cv_env_LIPO_value
=$LIPO
760 ac_env_NM_set
=${NM+set}
762 ac_cv_env_NM_set
=${NM+set}
763 ac_cv_env_NM_value
=$NM
764 ac_env_RANLIB_set
=${RANLIB+set}
765 ac_env_RANLIB_value
=$RANLIB
766 ac_cv_env_RANLIB_set
=${RANLIB+set}
767 ac_cv_env_RANLIB_value
=$RANLIB
768 ac_env_STRIP_set
=${STRIP+set}
769 ac_env_STRIP_value
=$STRIP
770 ac_cv_env_STRIP_set
=${STRIP+set}
771 ac_cv_env_STRIP_value
=$STRIP
772 ac_env_WINDRES_set
=${WINDRES+set}
773 ac_env_WINDRES_value
=$WINDRES
774 ac_cv_env_WINDRES_set
=${WINDRES+set}
775 ac_cv_env_WINDRES_value
=$WINDRES
776 ac_env_WINDMC_set
=${WINDMC+set}
777 ac_env_WINDMC_value
=$WINDMC
778 ac_cv_env_WINDMC_set
=${WINDMC+set}
779 ac_cv_env_WINDMC_value
=$WINDMC
780 ac_env_OBJCOPY_set
=${OBJCOPY+set}
781 ac_env_OBJCOPY_value
=$OBJCOPY
782 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
783 ac_cv_env_OBJCOPY_value
=$OBJCOPY
784 ac_env_OBJDUMP_set
=${OBJDUMP+set}
785 ac_env_OBJDUMP_value
=$OBJDUMP
786 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
787 ac_cv_env_OBJDUMP_value
=$OBJDUMP
788 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
789 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
790 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
791 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
792 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
793 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
794 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
795 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
796 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
797 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
798 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
799 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
800 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
801 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
802 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
803 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
804 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
805 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
806 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
807 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
808 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
809 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
810 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
811 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
812 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
813 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
814 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
815 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
816 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
817 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
818 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
819 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
820 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
821 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
822 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
823 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
824 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
825 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
826 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
827 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
828 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
829 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
830 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
831 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
832 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
833 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
834 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
835 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
836 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
837 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
838 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
839 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
840 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
841 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
842 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
843 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
844 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
845 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
846 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
847 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
848 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
849 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
850 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
851 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
854 # Report the --help message.
856 if test "$ac_init_help" = "long"; then
857 # Omit some internal or obsolete options to make the list less imposing.
858 # This message is too long to be a string in the A/UX 3.1 sh.
860 \`configure' configures this package to adapt to many kinds of systems.
862 Usage: $0 [OPTION]... [VAR=VALUE]...
864 To assign environment variables (e.g., CC, CFLAGS...), specify them as
865 VAR=VALUE. See below for descriptions of some of the useful variables.
867 Defaults for the options are specified in brackets.
870 -h, --help display this help and exit
871 --help=short display options specific to this package
872 --help=recursive display the short help of all the included packages
873 -V, --version display version information and exit
874 -q, --quiet, --silent do not print \`checking...' messages
875 --cache-file=FILE cache test results in FILE [disabled]
876 -C, --config-cache alias for \`--cache-file=config.cache'
877 -n, --no-create do not create output files
878 --srcdir=DIR find the sources in DIR [configure dir or \`..']
883 Installation directories:
884 --prefix=PREFIX install architecture-independent files in PREFIX
886 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
889 By default, \`make install' will install all the files in
890 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
891 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
892 for instance \`--prefix=\$HOME'.
894 For better control, use the options below.
896 Fine tuning of the installation directories:
897 --bindir=DIR user executables [EPREFIX/bin]
898 --sbindir=DIR system admin executables [EPREFIX/sbin]
899 --libexecdir=DIR program executables [EPREFIX/libexec]
900 --datadir=DIR read-only architecture-independent data [PREFIX/share]
901 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
902 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
903 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
904 --libdir=DIR object code libraries [EPREFIX/lib]
905 --includedir=DIR C header files [PREFIX/include]
906 --oldincludedir=DIR C header files for non-gcc [/usr/include]
907 --infodir=DIR info documentation [PREFIX/info]
908 --mandir=DIR man documentation [PREFIX/man]
914 --program-prefix=PREFIX prepend PREFIX to installed program names
915 --program-suffix=SUFFIX append SUFFIX to installed program names
916 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
919 --build=BUILD configure
for building on BUILD
[guessed
]
920 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
921 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
925 if test -n "$ac_init_help"; then
930 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
931 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
932 --enable-libada build libada directory
933 --enable-libssp build libssp directory
934 --enable-stage1-languages[=all
] choose additional languages to build during
935 stage1. Mostly useful
for compiler development.
936 --enable-objc-gc enable use of Boehm
's garbage collector with the
937 GNU Objective-C runtime
938 --enable-bootstrap enable bootstrapping [yes if native build]
939 --enable-serial-[{host,target,build}-]configure
940 force sequential configuration of
941 sub-packages for the host, target or build
942 machine, or all sub-packages
943 --enable-maintainer-mode enable make rules and dependencies not useful
944 (and sometimes confusing) to the casual installer
945 --enable-stage1-checking[=all] choose additional checking for stage1
947 --enable-werror enable -Werror in bootstrap stage2 and later
950 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
951 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
952 --with-build-libsubdir=DIR Directory where to find libraries for build system
953 --with-mpfr-dir=PATH this option has been REMOVED
954 --with-mpfr=PATH specify prefix directory for installed MPFR package.
955 Equivalent to --with-mpfr-include=PATH/include
956 plus --with-mpfr-lib=PATH/lib
957 --with-mpfr-include=PATH
958 specify directory for installed MPFR include files
959 --with-mpfr-lib=PATH specify directory for the installed MPFR library
960 --with-gmp-dir=PATH this option has been REMOVED
961 --with-gmp=PATH specify prefix directory for the installed GMP package.
962 Equivalent to --with-gmp-include=PATH/include
963 plus --with-gmp-lib=PATH/lib
964 --with-gmp-include=PATH specify directory for installed GMP include files
965 --with-gmp-lib=PATH specify directory for the installed GMP library
966 --with-build-sysroot=SYSROOT
967 use sysroot as the system root during the build
968 --with-build-time-tools=PATH
969 use given path to find target tools during the build
970 --with-datarootdir use datarootdir as the data root directory.
971 --with-docdir install documentation in this directory.
972 --with-pdfdir install pdf in this directory.
973 --with-htmldir install html in this directory.
975 Some influential environment variables:
976 CC C compiler command
977 CFLAGS C compiler flags
978 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
979 nonstandard directory <lib dir>
980 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
981 headers in a nonstandard directory <include dir>
982 CXX C++ compiler command
983 CXXFLAGS C++ compiler flags
986 DLLTOOL DLLTOOL for the host
988 LIPO LIPO for the host
990 RANLIB RANLIB for the host
991 STRIP STRIP for the host
992 WINDRES WINDRES for the host
993 WINDMC WINDMC for the host
994 OBJCOPY OBJCOPY for the host
995 OBJDUMP OBJDUMP for the host
1005 GFORTRAN for the target
1011 DLLTOOL for the target
1019 OBJDUMP for the target
1021 RANLIB for the target
1023 STRIP for the target
1025 WINDRES for the target
1027 WINDMC for the target
1029 Use these variables to override the choices made by `configure' or to
help
1030 it to
find libraries and programs with nonstandard names
/locations.
1035 if test "$ac_init_help" = "recursive"; then
1036 # If there are subdirs, report their specific --help.
1038 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1039 test -d $ac_dir ||
continue
1042 if test "$ac_dir" != .
; then
1043 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1044 # A "../" for each directory in $ac_dir_suffix.
1045 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1047 ac_dir_suffix
= ac_top_builddir
=
1051 .
) # No --srcdir option. We are building in place.
1053 if test -z "$ac_top_builddir"; then
1056 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1058 [\\/]* | ?
:[\\/]* ) # Absolute path.
1059 ac_srcdir
=$srcdir$ac_dir_suffix;
1060 ac_top_srcdir
=$srcdir ;;
1062 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1063 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1066 # Do not use `cd foo && pwd` to compute absolute paths, because
1067 # the directories may not exist.
1069 .
) ac_abs_builddir
="$ac_dir";;
1072 .
) ac_abs_builddir
=`pwd`;;
1073 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1074 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1077 case $ac_abs_builddir in
1078 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1080 case ${ac_top_builddir}.
in
1081 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1082 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1083 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1086 case $ac_abs_builddir in
1087 .
) ac_abs_srcdir
=$ac_srcdir;;
1090 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1091 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1092 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1095 case $ac_abs_builddir in
1096 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1098 case $ac_top_srcdir in
1099 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1100 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1101 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1106 # Check for guested configure; otherwise get Cygnus style configure.
1107 if test -f $ac_srcdir/configure.gnu
; then
1109 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1110 elif test -f $ac_srcdir/configure
; then
1112 $SHELL $ac_srcdir/configure
--help=recursive
1113 elif test -f $ac_srcdir/configure.ac ||
1114 test -f $ac_srcdir/configure.
in; then
1116 $ac_configure --help
1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1124 test -n "$ac_init_help" && exit 0
1125 if $ac_init_version; then
1128 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1129 This configure
script is free software
; the Free Software Foundation
1130 gives unlimited permission to copy
, distribute and modify it.
1136 This file contains any messages produced by compilers while
1137 running configure, to aid debugging if configure makes a mistake.
1139 It was created by $as_me, which was
1140 generated by GNU Autoconf 2.59. Invocation command line was
1151 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1152 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1153 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1154 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1155 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1157 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1158 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1160 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1161 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1162 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1163 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1164 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1165 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1166 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1174 test -z "$as_dir" && as_dir
=.
1175 echo "PATH: $as_dir"
1190 # Keep a trace of the command line.
1191 # Strip out --no-create and --no-recursion so they do not pile up.
1192 # Strip out --silent because we don't want to record it for future runs.
1193 # Also quote any args containing shell meta-characters.
1194 # Make two passes to allow for proper duplicate-argument suppression.
1199 ac_must_keep_next
=false
1205 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1206 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1207 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1210 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1213 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1215 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1216 if test $ac_must_keep_next = true
; then
1217 ac_must_keep_next
=false
# Got value, back to normal.
1220 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1221 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1222 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1223 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1224 case "$ac_configure_args0 " in
1225 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1228 -* ) ac_must_keep_next
=true
;;
1231 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1232 # Get rid of the leading space.
1238 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1239 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1241 # When interrupted or exit'd, cleanup temporary files, and complete
1242 # config.log. We remove comments because anyway the quotes in there
1243 # would cause problems or look ugly.
1244 # WARNING: Be sure not to use single quotes in there, as some shells,
1245 # such as our DU 5.0 friend, will then `close' the trap.
1246 trap 'exit_status=$?
1247 # Save into config.log some information that might help in debugging.
1252 ## ---------------- ##
1253 ## Cache variables. ##
1254 ## ---------------- ##
1257 # The following way of writing the cache mishandles newlines in values,
1260 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1263 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1275 ## ----------------- ##
1276 ## Output variables. ##
1277 ## ----------------- ##
1280 for ac_var in $ac_subst_vars
1282 eval ac_val=$`echo $ac_var`
1283 echo "$ac_var='"'"'$ac_val'"'"'"
1287 if test -n "$ac_subst_files"; then
1294 for ac_var in $ac_subst_files
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -s confdefs.h; then
1309 sed "/^$/d" confdefs.h | sort
1312 test "$ac_signal" != 0 &&
1313 echo "$as_me: caught signal $ac_signal"
1314 echo "$as_me: exit $exit_status"
1316 rm -f core *.core &&
1317 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1320 for ac_signal
in 1 2 13 15; do
1321 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1326 rm -rf conftest
* confdefs.h
1327 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1330 # Predefined preprocessor variables.
1332 cat >>confdefs.h
<<_ACEOF
1333 #define PACKAGE_NAME "$PACKAGE_NAME"
1337 cat >>confdefs.h
<<_ACEOF
1338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1342 cat >>confdefs.h
<<_ACEOF
1343 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1347 cat >>confdefs.h
<<_ACEOF
1348 #define PACKAGE_STRING "$PACKAGE_STRING"
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1357 # Let the site file select an alternate cache file if it wants to.
1358 # Prefer explicitly selected file to automatically selected ones.
1359 if test -z "$CONFIG_SITE"; then
1360 if test "x$prefix" != xNONE
; then
1361 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1363 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1366 for ac_site_file
in $CONFIG_SITE; do
1367 if test -r "$ac_site_file"; then
1368 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1369 echo "$as_me: loading site script $ac_site_file" >&6;}
1370 sed 's/^/| /' "$ac_site_file" >&5
1375 if test -r "$cache_file"; then
1376 # Some versions of bash will fail to source /dev/null (special
1377 # files actually), so we avoid doing that.
1378 if test -f "$cache_file"; then
1379 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1380 echo "$as_me: loading cache $cache_file" >&6;}
1382 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1383 *) . .
/$cache_file;;
1387 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1388 echo "$as_me: creating cache $cache_file" >&6;}
1392 # Check that the precious variables saved in the cache have kept the same
1394 ac_cache_corrupted
=false
1395 for ac_var
in `(set) 2>&1 |
1396 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1397 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1398 eval ac_new_set
=\
$ac_env_${ac_var}_set
1399 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1400 eval ac_new_val
="\$ac_env_${ac_var}_value"
1401 case $ac_old_set,$ac_new_set in
1403 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1405 ac_cache_corrupted
=: ;;
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1409 ac_cache_corrupted
=: ;;
1412 if test "x$ac_old_val" != "x$ac_new_val"; then
1413 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1414 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1415 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1416 echo "$as_me: former value: $ac_old_val" >&2;}
1417 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1418 echo "$as_me: current value: $ac_new_val" >&2;}
1419 ac_cache_corrupted
=:
1422 # Pass precious variables to config.status.
1423 if test "$ac_new_set" = set; then
1425 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 *) ac_arg
=$ac_var=$ac_new_val ;;
1429 case " $ac_configure_args " in
1430 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1431 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1435 if $ac_cache_corrupted; then
1436 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1437 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1438 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1439 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1440 { (exit 1); exit 1; }; }
1444 ac_cpp
='$CPP $CPPFLAGS'
1445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1469 # Find the build, host, and target systems.
1471 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1472 if test -f $ac_dir/install-sh
; then
1474 ac_install_sh
="$ac_aux_dir/install-sh -c"
1476 elif test -f $ac_dir/install.sh
; then
1478 ac_install_sh
="$ac_aux_dir/install.sh -c"
1480 elif test -f $ac_dir/shtool
; then
1482 ac_install_sh
="$ac_aux_dir/shtool install -c"
1486 if test -z "$ac_aux_dir"; then
1487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1488 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1489 { (exit 1); exit 1; }; }
1491 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1492 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1493 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1495 # Make sure we can run config.sub.
1496 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1497 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1498 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1499 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: checking build system type" >&5
1502 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1503 if test "${ac_cv_build+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 ac_cv_build_alias
=$build_alias
1507 test -z "$ac_cv_build_alias" &&
1508 ac_cv_build_alias
=`$ac_config_guess`
1509 test -z "$ac_cv_build_alias" &&
1510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1512 { (exit 1); exit 1; }; }
1513 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1520 echo "${ECHO_T}$ac_cv_build" >&6
1522 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 case ${build_alias} in
1528 "") build_noncanonical
=${build} ;;
1529 *) build_noncanonical
=${build_alias} ;;
1534 case ${host_alias} in
1535 "") host_noncanonical
=${build_noncanonical} ;;
1536 *) host_noncanonical
=${host_alias} ;;
1541 case ${target_alias} in
1542 "") target_noncanonical
=${host_noncanonical} ;;
1543 *) target_noncanonical
=${target_alias} ;;
1549 test "$host_noncanonical" = "$target_noncanonical" &&
1550 test "$program_prefix$program_suffix$program_transform_name" = \
1552 program_transform_name
=s
,y
,y
,
1554 echo "$as_me:$LINENO: checking host system type" >&5
1555 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1556 if test "${ac_cv_host+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 ac_cv_host_alias
=$host_alias
1560 test -z "$ac_cv_host_alias" &&
1561 ac_cv_host_alias
=$ac_cv_build_alias
1562 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1564 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1565 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1569 echo "${ECHO_T}$ac_cv_host" >&6
1571 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1572 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1573 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1576 echo "$as_me:$LINENO: checking target system type" >&5
1577 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1578 if test "${ac_cv_target+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 ac_cv_target_alias
=$target_alias
1582 test "x$ac_cv_target_alias" = "x" &&
1583 ac_cv_target_alias
=$ac_cv_host_alias
1584 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1586 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1591 echo "${ECHO_T}$ac_cv_target" >&6
1592 target
=$ac_cv_target
1593 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 # The aliases save the names the user supplied, while $host etc.
1599 # will get canonicalized.
1600 test -n "$target_alias" &&
1601 test "$program_prefix$program_suffix$program_transform_name" = \
1603 program_prefix
=${target_alias}-
1604 test "$program_prefix" != NONE
&&
1605 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1606 # Use a double $ so make ignores it.
1607 test "$program_suffix" != NONE
&&
1608 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1609 # Double any \ or $. echo might interpret backslashes.
1610 # By default was `s,x,x', remove it if useless.
1611 cat <<\_ACEOF
>conftest.
sed
1612 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1614 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1619 # Get 'install' or 'install-sh' and its variants.
1620 # Find a good install program. We prefer a C program (faster),
1621 # so one script is as good as another. But avoid the broken or
1622 # incompatible versions:
1623 # SysV /etc/install, /usr/sbin/install
1624 # SunOS /usr/etc/install
1625 # IRIX /sbin/install
1627 # AmigaOS /C/install, which installs bootblocks on floppy discs
1628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1631 # OS/2's system install, which has a completely different semantic
1632 # ./install, which can be erroneously created by make from ./install.sh.
1633 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1634 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1635 if test -z "$INSTALL"; then
1636 if test "${ac_cv_path_install+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1643 test -z "$as_dir" && as_dir
=.
1644 # Account for people who put trailing slashes in PATH elements.
1646 .
/ | .
// |
/cC
/* | \
1647 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1648 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1651 # OSF1 and SCO ODT 3.0 have their own names for install.
1652 # Don't use installbsd from OSF since it installs stuff as root
1654 for ac_prog
in ginstall scoinst
install; do
1655 for ac_exec_ext
in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1657 if test $ac_prog = install &&
1658 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1659 # AIX install. It has an incompatible calling convention.
1661 elif test $ac_prog = install &&
1662 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1663 # program-specific install script used by HP pwplus--don't use.
1666 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1678 if test "${ac_cv_path_install+set}" = set; then
1679 INSTALL
=$ac_cv_path_install
1681 # As a last resort, use the slow shell script. We don't cache a
1682 # path for INSTALL within a source directory, because that will
1683 # break other packages using the cache if that directory is
1684 # removed, or if the path is relative.
1685 INSTALL
=$ac_install_sh
1688 echo "$as_me:$LINENO: result: $INSTALL" >&5
1689 echo "${ECHO_T}$INSTALL" >&6
1691 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1692 # It thinks the first close brace ends the variable substitution.
1693 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1695 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1697 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1699 echo "$as_me:$LINENO: checking whether ln works" >&5
1700 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1701 if test "${acx_cv_prog_LN+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 rm -f conftestdata_t
1705 echo >conftestdata_f
1706 if ln conftestdata_f conftestdata_t
2>/dev
/null
1712 rm -f conftestdata_f conftestdata_t
1715 if test $acx_cv_prog_LN = no
; then
1717 echo "$as_me:$LINENO: result: no, using $LN" >&5
1718 echo "${ECHO_T}no, using $LN" >&6
1720 LN
="$acx_cv_prog_LN"
1721 echo "$as_me:$LINENO: result: yes" >&5
1722 echo "${ECHO_T}yes" >&6
1725 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1726 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1728 if test "$LN_S" = "ln -s"; then
1729 echo "$as_me:$LINENO: result: yes" >&5
1730 echo "${ECHO_T}yes" >&6
1732 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1733 echo "${ECHO_T}no, using $LN_S" >&6
1737 ### we might need to use some other shell than /bin/sh for running subshells
1738 ### If we are on Windows, search for the shell. This will permit people
1739 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1740 ### without also having to set CONFIG_SHELL. This code will work when
1741 ### using bash, which sets OSTYPE.
1744 if test x
${CONFIG_SHELL} = x
; then
1745 if test ! -f /bin
/sh
; then
1746 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1747 CONFIG_SHELL
=${SHELL}
1750 for prog
in sh sh.exe bash bash.exe
; do
1751 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1752 for dir
in $PATH; do
1753 test -z "$dir" && dir
=.
1754 if test -f $dir/$prog; then
1755 CONFIG_SHELL
=$dir/$prog
1761 test -n "${CONFIG_SHELL}" && break
1769 config_shell
=${CONFIG_SHELL-/bin/sh}
1772 # if PWD already has a value, it is probably wrong.
1773 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1775 # Export original configure arguments for use by sub-configures.
1776 # Quote arguments with shell meta charatcers.
1777 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1778 set -- "$progname" "$@"
1782 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1783 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1784 # if the argument is of the form -foo=baz, quote the baz part only
1785 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1788 # Add the quoted argument to the list.
1789 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1791 if test "$silent" = yes; then
1792 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1794 # Remove the initial space we just introduced and, as these will be
1795 # expanded by make, quote '$'.
1796 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1799 moveifchange
=${srcdir}/move-if-change
1801 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1803 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1805 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1806 INSTALL
="${srcpwd}/install-sh -c"
1809 # Set srcdir to "." if that's what it is.
1810 # This is important for multilib support.
1812 if test "${pwd}" = "${srcpwd}" ; then
1820 ### To add a new directory to the tree, first choose whether it is a target
1821 ### or a host dependent tool. Then put it into the appropriate list
1822 ### (library or tools, host or target), doing a dependency sort.
1824 # Subdirs will be configured in the order listed in build_configdirs,
1825 # configdirs, or target_configdirs; see the serialization section below.
1827 # Dependency sorting is only needed when *configuration* must be done in
1828 # a particular order. In all cases a dependency should be specified in
1829 # the Makefile, whether or not it's implicitly specified here.
1831 # Double entries in build_configdirs, configdirs, or target_configdirs may
1832 # cause circular dependencies and break everything horribly.
1834 # these library is used by various programs built for the build
1837 build_libs
="build-libiberty"
1839 # these tools are built for the build environment
1840 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1842 # these libraries are used by various programs built for the host environment
1844 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1846 # these tools are built for the host environment
1847 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1848 # know that we are building the simulator.
1849 # binutils, gas and ld appear in that order because it makes sense to run
1850 # "make check" in that particular order.
1851 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"
1853 # libgcj represents the runtime libraries only used by gcj.
1854 libgcj
="target-libffi \
1859 # these libraries are built for the target environment, and are built after
1860 # the host libraries and the host tools (which may be a cross compiler)
1862 target_libraries
="target-libgcc \
1866 target-libstdc++-v3 \
1869 target-libgfortran \
1876 # these tools are built using the target libraries, and are intended to
1877 # run only in the target environment
1879 # note: any program that *uses* libraries that are in the "target_libraries"
1880 # list belongs in this list. those programs are also very likely
1881 # candidates for the "native_only" list which follows
1883 target_tools
="target-examples target-groff target-gperf target-rda"
1885 ################################################################################
1887 ## All tools belong in one of the four categories, and are assigned above
1888 ## We assign ${configdirs} this way to remove all embedded newlines. This
1889 ## is important because configure will choke if they ever get through.
1890 ## ${configdirs} is directories we build using the host tools.
1891 ## ${target_configdirs} is directories we build using the target tools.
1892 configdirs
=`echo ${host_libs} ${host_tools}`
1893 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1894 build_configdirs
=`echo ${build_libs} ${build_tools}`
1896 ################################################################################
1898 srcname
="gnu development package"
1900 # This gets set non-empty for some net releases of packages.
1903 # Define is_cross_compiler to save on calls to 'test'.
1905 if test x
"${host}" = x
"${target}" ; then
1906 is_cross_compiler
=no
1908 is_cross_compiler
=yes
1911 # Find the build and target subdir names.
1913 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1914 # have matching libraries, they should use host libraries: Makefile.tpl
1915 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1916 # However, they still use the build modules, because the corresponding
1917 # host modules (e.g. bison) are only built for the host when bootstrap
1919 # - build_subdir is where we find build modules, and never changes.
1920 # - build_libsubdir is where we find build libraries, and can be overridden.
1922 # Prefix 'build-' so this never conflicts with target_subdir.
1923 build_subdir
="build-${build_noncanonical}"
1925 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1926 if test "${with_build_libsubdir+set}" = set; then
1927 withval
="$with_build_libsubdir"
1928 build_libsubdir
="$withval"
1930 build_libsubdir
="$build_subdir"
1932 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1933 if ( test $srcdir = .
&& test -d gcc
) \
1934 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1935 host_subdir
="host-${host_noncanonical}"
1940 target_subdir
=${target_noncanonical}
1943 # Skipdirs are removed silently.
1945 # Noconfigdirs are removed loudly.
1949 # Make sure we don't let GNU ld be added if we didn't want it.
1950 if test x
$with_gnu_ld = xno
; then
1952 noconfigdirs
="$noconfigdirs ld"
1956 # Make sure we don't let GNU as be added if we didn't want it.
1957 if test x
$with_gnu_as = xno
; then
1959 noconfigdirs
="$noconfigdirs gas"
1962 # some tools are so dependent upon X11 that if we're not building with X,
1963 # it's not even worth trying to configure, much less build, that tool.
1966 yes |
"") ;; # the default value for this tree is that X11 is available
1968 skipdirs
="${skipdirs} tk itcl libgui"
1969 # We won't be able to build gdbtk without X.
1972 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1975 # Some tools are only suitable for building in a "native" situation.
1976 # Remove these if host!=target.
1977 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"
1979 # Similarly, some are only suitable for cross toolchains.
1980 # Remove these if host=target.
1981 cross_only
="target-libgloss target-newlib target-opcodes"
1983 case $is_cross_compiler in
1984 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1985 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1988 # If both --with-headers and --with-libs are specified, default to
1990 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1991 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1992 if test x
"${with_newlib}" = x
; then
1997 # Recognize --with-newlib/--without-newlib.
1998 case ${with_newlib} in
1999 no
) skipdirs
="${skipdirs} target-newlib" ;;
2000 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2003 # Configure extra directories which are host specific
2007 configdirs
="$configdirs libtermcap" ;;
2010 # A target can indicate whether a language isn't supported for some reason.
2011 # Only spaces may be used in this macro; not newlines or tabs.
2012 unsupported_languages
=
2014 # Remove more programs from consideration, based on the host or
2015 # target this usually means that a port of the program doesn't
2020 noconfigdirs
="$noconfigdirs byacc"
2022 i
[3456789]86-*-vsta)
2023 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2025 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2026 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2029 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2031 i
[3456789]86-*-mingw32*)
2032 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2033 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2035 i
[3456789]86-*-beos*)
2036 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2039 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2042 noconfigdirs
="$noconfigdirs rcs"
2045 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2048 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2053 # Check whether --enable-libada or --disable-libada was given.
2054 if test "${enable_libada+set}" = set; then
2055 enableval
="$enable_libada"
2056 ENABLE_LIBADA
=$enableval
2060 if test "${ENABLE_LIBADA}" != "yes" ; then
2061 noconfigdirs
="$noconfigdirs gnattools"
2064 # Check whether --enable-libssp or --disable-libssp was given.
2065 if test "${enable_libssp+set}" = set; then
2066 enableval
="$enable_libssp"
2067 ENABLE_LIBSSP
=$enableval
2072 # Save it here so that, even in case of --enable-libgcj, if the Java
2073 # front-end isn't enabled, we still get libgcj disabled.
2074 libgcj_saved
=$libgcj
2075 case $enable_libgcj in
2077 # If we reset it here, it won't get added to noconfigdirs in the
2078 # target-specific build rules, so it will be forcibly enabled
2079 # (unless the Java language itself isn't enabled).
2083 # Make sure we get it printed in the list of not supported target libs.
2084 noconfigdirs
="$noconfigdirs ${libgcj}"
2089 # Disable libmudflap on some systems.
2090 if test x
$enable_libmudflap = x
; then
2092 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2093 # Enable libmudflap by default in GNU and friends.
2096 # Enable libmudflap by default in FreeBSD.
2099 # Disable it by default everywhere else.
2100 noconfigdirs
="$noconfigdirs target-libmudflap"
2105 # Disable libgomp on non POSIX hosted systems.
2106 if test x
$enable_libgomp = x
; then
2107 # Enable libgomp by default on hosted POSIX systems.
2109 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2111 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2113 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2115 *-*-darwin* |
*-*-aix*)
2118 noconfigdirs
="$noconfigdirs target-libgomp"
2126 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2128 powerpc-
*-darwin* | i
[3456789]86-*-darwin*)
2129 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2130 noconfigdirs
="$noconfigdirs sim target-rda"
2133 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2134 noconfigdirs
="$noconfigdirs sim target-rda"
2135 noconfigdirs
="$noconfigdirs ${libgcj}"
2137 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2138 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2141 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2142 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2143 && test -f /usr
/local
/include
/gmp.h
; then
2147 # Skip some stuff that's unsupported on some FreeBSD configurations.
2152 noconfigdirs
="$noconfigdirs ${libgcj}"
2157 # Remove unsupported stuff on all kaOS configurations.
2158 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2159 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2160 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2161 noconfigdirs
="$noconfigdirs target-libgloss"
2164 # Skip some stuff on all NetBSD configurations.
2165 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2167 # Skip some stuff that's unsupported on some NetBSD configurations.
2169 i
*86-*-netbsdelf*) ;;
2170 arm
*-*-netbsdelf*) ;;
2172 noconfigdirs
="$noconfigdirs ${libgcj}"
2177 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2180 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2182 # The tpf target doesn't support gdb yet.
2184 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2187 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2190 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2193 # ld works, but does not support shared libraries.
2194 # newlib is not 64 bit ready. I'm not sure about fileutils.
2195 # gas doesn't generate exception information.
2196 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2199 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2202 # newlib is not 64 bit ready
2203 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2206 # newlib is not 64 bit ready
2207 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2210 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2213 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2215 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2216 noconfigdirs
="$noconfigdirs ${libgcj}"
2217 noconfigdirs
="$noconfigdirs target-examples"
2218 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2219 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2220 noconfigdirs
="$noconfigdirs expect dejagnu"
2221 # the C++ libraries don't build on top of CE's C libraries
2222 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2223 noconfigdirs
="$noconfigdirs target-newlib"
2225 *-*-cygwin*) ;; # keep gdb and readline
2226 *) noconfigdirs
="$noconfigdirs gdb readline"
2231 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2235 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2236 noconfigdirs
="$noconfigdirs ${libgcj}"
2238 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2239 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2241 arm
*-*-linux-gnueabi)
2242 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2243 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
2244 case ${with_newlib} in
2245 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2249 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2252 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2255 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2258 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2261 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2264 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2267 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2270 noconfigdirs
="$noconfigdirs gdb"
2271 if test x
${is_cross_compiler} != xno
; then
2272 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2275 c4x-
*-* | tic4x-
*-*)
2276 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2278 c54x
*-*-* | tic54x-
*-*)
2279 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2281 cris-
*-* | crisv32-
*-*)
2282 unsupported_languages
="$unsupported_languages java"
2285 unsupported_languages
="$unsupported_languages fortran"
2286 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2288 unsupported_languages
="$unsupported_languages fortran"
2289 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2291 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2293 unsupported_languages
="$unsupported_languages fortran"
2294 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2298 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2301 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2304 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2307 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2310 noconfigdirs
="$noconfigdirs ${libgcj}"
2313 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2316 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2318 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2320 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2321 # In this case, it's because the hppa64-linux target is for
2322 # the kernel only at this point and has no libc, and thus no
2323 # headers, crt*.o, etc., all of which are needed by these.
2324 noconfigdirs
="$noconfigdirs target-zlib"
2326 parisc
*-*-linux* | hppa
*-*-linux*)
2330 hppa
*-*-openbsd* | \
2332 noconfigdirs
="$noconfigdirs ${libgcj}"
2335 noconfigdirs
="$noconfigdirs ld shellutils"
2338 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2339 # build on HP-UX 10.20.
2340 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2343 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2346 # No gdb support yet.
2347 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2350 # No gdb or ld support yet.
2351 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2355 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2356 noconfigdirs
="$noconfigdirs ${libgcj}"
2358 i
[3456789]86-*-linux*)
2359 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2360 # not build java stuff by default.
2363 noconfigdirs
="$noconfigdirs ${libgcj}";;
2366 # This section makes it possible to build newlib natively on linux.
2367 # If we are using a cross compiler then don't configure newlib.
2368 if test x
${is_cross_compiler} != xno
; then
2369 noconfigdirs
="$noconfigdirs target-newlib"
2371 noconfigdirs
="$noconfigdirs target-libgloss"
2372 # If we are not using a cross compiler, do configure newlib.
2373 # Note however, that newlib will only be configured in this situation
2374 # if the --with-newlib option has been given, because otherwise
2375 # 'target-newlib' will appear in skipdirs.
2377 i
[3456789]86-*-mingw32*)
2378 target_configdirs
="$target_configdirs target-winsup"
2379 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2382 target_configdirs
="$target_configdirs target-winsup"
2383 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2386 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2387 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2388 # always build newlib if winsup directory is present.
2389 if test -d "$srcdir/winsup/cygwin"; then
2390 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2391 elif test -d "$srcdir/newlib"; then
2392 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2395 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2396 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2399 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2401 i
[3456789]86-*-sco3.2v5
*)
2402 # The linker does not yet know about weak symbols in COFF,
2403 # and is not configured to handle mixed ELF and COFF.
2404 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2406 i
[3456789]86-*-sco*)
2407 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2409 i
[3456789]86-*-solaris2*)
2410 noconfigdirs
="$noconfigdirs target-libgloss"
2412 i
[3456789]86-*-sysv4*)
2413 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2415 i
[3456789]86-*-beos*)
2416 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2418 i
[3456789]86-*-rdos*)
2419 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2422 noconfigdirs
="$noconfigdirs ${libgcj}"
2424 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2425 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2428 noconfigdirs
="$noconfigdirs ${libgcj}"
2431 noconfigdirs
="$noconfigdirs ${libgcj}"
2434 # The EPOC C++ environment does not support exceptions or rtti,
2435 # and so building libstdc++-v3 tends not to always work.
2436 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2439 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2440 unsupported_languages
="$unsupported_languages fortran java"
2443 noconfigdirs
="$noconfigdirs ${libgcj}"
2446 noconfigdirs
="$noconfigdirs ${libgcj}"
2449 noconfigdirs
="$noconfigdirs sim"
2452 # copied from rs6000-*-* entry
2453 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2455 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2456 target_configdirs
="$target_configdirs target-winsup"
2457 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2458 # always build newlib.
2459 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2461 # This is temporary until we can link against shared libraries
2462 powerpcle-
*-solaris*)
2463 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2466 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2469 noconfigdirs
="$noconfigdirs ${libgcj}"
2471 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2474 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2477 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2480 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2483 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2486 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2489 # Linking libjava exceeds command-line length limits on at least
2490 # IRIX 6.2, but not on IRIX 6.5.
2491 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2492 # <oldham@codesourcery.com>
2493 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2496 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2499 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2502 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2505 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2508 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2512 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2513 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2514 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2515 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2517 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2520 noconfigdirs
="$noconfigdirs ${libgcj}"
2523 noconfigdirs
="$noconfigdirs ${libgcj}"
2526 noconfigdirs
="$noconfigdirs ${libgcj}"
2529 noconfigdirs
="$noconfigdirs ${libgcj}"
2530 if test x
${is_cross_compiler} != xno
; then
2531 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2536 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2537 noconfigdirs
="$noconfigdirs ${libgcj}"
2539 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2542 skipdirs
="target-libssp"
2545 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2548 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2551 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2554 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2557 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2560 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2563 noconfigdirs
="$noconfigdirs ${libgcj}"
2566 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2568 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2569 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2572 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2575 noconfigdirs
="$noconfigdirs ${libgcj}"
2579 # If we aren't building newlib, then don't build libgloss, since libgloss
2580 # depends upon some newlib header files.
2581 case "${noconfigdirs}" in
2582 *target-libgloss
*) ;;
2583 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2586 # Work in distributions that contain no compiler tools, like Autoconf.
2588 host_makefile_frag
=/dev
/null
2589 if test -d ${srcdir}/config
; then
2592 # Avoid "too much defining" errors from HPUX compiler.
2593 tentative_cc
="cc -Wp,-H256000"
2594 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2595 # If it's HP/UX ar, this should be harmless.
2599 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2602 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2603 # chokes on bfd, the compiler won't let you assign integers to enums, and
2604 # other problems. Defining CC to gcc is a questionable way to say "don't use
2605 # the apollo compiler" (the preferred version of GCC could be called cc,
2606 # or whatever), but I'm not sure leaving CC as cc is any better...
2607 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2608 # Used to have BISON=yacc.
2612 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2615 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2616 tentative_cc
="cc -Xa"
2617 host_makefile_frag
="config/mh-cxux"
2619 m88k-motorola-sysv
*)
2622 tentative_cc
="cc -Wf,-XNg1000"
2623 host_makefile_frag
="config/mh-decstation"
2626 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2627 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2628 host_makefile_frag
="config/mh-necv4"
2631 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2632 # environment. Also bump switch table size so that cp-parse will
2633 # compile. Bump string length limit so linker builds.
2634 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2637 host_makefile_frag
="config/mh-sysv4"
2640 # This is for a MIPS running RISC/os 4.52C.
2642 # This is needed for GDB, but needs to be in the top-level make because
2643 # if a library is compiled with the bsd headers and gets linked with the
2644 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2645 # a different size).
2646 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2647 # known except to select the sysv environment. Could we use /proc instead?
2648 # These "sysv environments" and "bsd environments" often end up being a pain.
2650 # This is not part of CFLAGS because perhaps not all C compilers have this
2652 tentative_cc
="cc -systype sysv"
2657 i
[3456789]86-*-sysv5*)
2658 host_makefile_frag
="config/mh-sysv5"
2660 i
[3456789]86-*-dgux*)
2661 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2662 host_makefile_frag
="config/mh-dgux386"
2664 i
[3456789]86-ncr-sysv4.3
*)
2665 # The MetaWare compiler will generate a copyright message unless you
2666 # turn it off by adding the -Hnocopyr flag.
2667 tentative_cc
="cc -Hnocopyr"
2669 i
[3456789]86-ncr-sysv4*)
2670 # for an NCR 3000 (i486/SVR4) system.
2671 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2672 # This compiler not only emits obnoxious copyright messages every time
2673 # you run it, but it chokes and dies on a whole bunch of GNU source
2674 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2675 tentative_cc
="/usr/ccs/ATT/cc"
2676 host_makefile_frag
="config/mh-ncr3000"
2678 i
[3456789]86-*-sco3.2v5
*)
2680 i
[3456789]86-*-sco*)
2681 # The native C compiler botches some simple uses of const. Unfortunately,
2682 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2683 tentative_cc
="cc -Dconst="
2684 host_makefile_frag
="config/mh-sco"
2686 i
[3456789]86-*-udk*)
2687 host_makefile_frag
="config/mh-sysv5"
2689 i
[3456789]86-*-solaris2*)
2690 host_makefile_frag
="config/mh-sysv4"
2692 i
[3456789]86-*-msdosdjgpp*)
2693 host_makefile_frag
="config/mh-djgpp"
2696 host_makefile_frag
="config/mh-cygwin"
2703 host_makefile_frag
="config/mh-interix"
2706 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2710 host_makefile_frag
="config/mh-solaris"
2713 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2714 # without overflowing the jump tables (-J says to use a 32 bit table)
2715 tentative_cc
="cc -J"
2718 tentative_cc
="cc -Wp,-H256000"
2721 tentative_cc
="cc -Wp,-H256000"
2724 # /bin/cc is less than useful for our purposes. Always use GCC
2725 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2726 host_makefile_frag
="config/mh-lynxrs6k"
2729 host_makefile_frag
="config/mh-ppc-darwin"
2732 host_makefile_frag
="config/mh-ppc-aix"
2735 host_makefile_frag
="config/mh-ppc-aix"
2738 # /bin/cc is less than useful for our purposes. Always use GCC
2739 tentative_cc
="/bin/gcc"
2742 host_makefile_frag
="config/mh-sysv4"
2744 # This is placed last to prevent interfering with the cases above.
2746 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2747 host_makefile_frag
="config/mh-x86omitfp"
2752 # If we aren't going to be using gcc, see if we can extract a definition
2753 # of CC from the fragment.
2754 # Actually, use the 'pre-extracted' version above.
2755 if test -z "${CC}" && test "${build}" = "${host}" ; then
2756 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2758 for dir
in $PATH; do
2759 test -z "$dir" && dir
=.
2760 if test -f $dir/gcc
; then
2766 if test -z "${found}" && test -n "${tentative_cc}" ; then
2771 if test "${build}" != "${host}" ; then
2772 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2774 CC_FOR_BUILD
="\$(CC)"
2778 ac_cpp
='$CPP $CPPFLAGS'
2779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2782 if test -n "$ac_tool_prefix"; then
2783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2784 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2785 echo "$as_me:$LINENO: checking for $ac_word" >&5
2786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2787 if test "${ac_cv_prog_CC+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC
="$CC" # Let the user override the test.
2793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir
=.
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$CC"; then
2811 echo "$as_me:$LINENO: result: $CC" >&5
2812 echo "${ECHO_T}$CC" >&6
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2819 if test -z "$ac_cv_prog_CC"; then
2821 # Extract the first word of "gcc", so it can be a program name with args.
2822 set dummy gcc
; ac_word
=$2
2823 echo "$as_me:$LINENO: checking for $ac_word" >&5
2824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 if test -n "$ac_ct_CC"; then
2829 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838 ac_cv_prog_ac_ct_CC
="gcc"
2839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2848 if test -n "$ac_ct_CC"; then
2849 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2850 echo "${ECHO_T}$ac_ct_CC" >&6
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2861 if test -z "$CC"; then
2862 if test -n "$ac_tool_prefix"; then
2863 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2864 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2865 echo "$as_me:$LINENO: checking for $ac_word" >&5
2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2867 if test "${ac_cv_prog_CC+set}" = set; then
2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 if test -n "$CC"; then
2871 ac_cv_prog_CC
="$CC" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2880 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CC"; then
2891 echo "$as_me:$LINENO: result: $CC" >&5
2892 echo "${ECHO_T}$CC" >&6
2894 echo "$as_me:$LINENO: result: no" >&5
2895 echo "${ECHO_T}no" >&6
2899 if test -z "$ac_cv_prog_CC"; then
2901 # Extract the first word of "cc", so it can be a program name with args.
2902 set dummy cc
; ac_word
=$2
2903 echo "$as_me:$LINENO: checking for $ac_word" >&5
2904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 if test -n "$ac_ct_CC"; then
2909 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_ac_ct_CC
="cc"
2919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2928 if test -n "$ac_ct_CC"; then
2929 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2930 echo "${ECHO_T}$ac_ct_CC" >&6
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2942 if test -z "$CC"; then
2943 # Extract the first word of "cc", so it can be a program name with args.
2944 set dummy cc
; ac_word
=$2
2945 echo "$as_me:$LINENO: checking for $ac_word" >&5
2946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2947 if test "${ac_cv_prog_CC+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 if test -n "$CC"; then
2951 ac_cv_prog_CC
="$CC" # Let the user override the test.
2954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir
=.
2959 for ac_exec_ext
in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2962 ac_prog_rejected
=yes
2966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 if test $ac_prog_rejected = yes; then
2973 # We found a bogon in the path, so make sure we never use it.
2974 set dummy
$ac_cv_prog_CC
2976 if test $# != 0; then
2977 # We chose a different compiler from the bogus one.
2978 # However, it has the same basename, so the bogon will be chosen
2979 # first if we set CC to just the basename; use the full file name.
2981 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2987 if test -n "$CC"; then
2988 echo "$as_me:$LINENO: result: $CC" >&5
2989 echo "${ECHO_T}$CC" >&6
2991 echo "$as_me:$LINENO: result: no" >&5
2992 echo "${ECHO_T}no" >&6
2996 if test -z "$CC"; then
2997 if test -n "$ac_tool_prefix"; then
3000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3001 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3002 echo "$as_me:$LINENO: checking for $ac_word" >&5
3003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3004 if test "${ac_cv_prog_CC+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC
="$CC" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 if test -n "$CC"; then
3028 echo "$as_me:$LINENO: result: $CC" >&5
3029 echo "${ECHO_T}$CC" >&6
3031 echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3035 test -n "$CC" && break
3038 if test -z "$CC"; then
3042 # Extract the first word of "$ac_prog", so it can be a program name with args.
3043 set dummy
$ac_prog; ac_word
=$2
3044 echo "$as_me:$LINENO: checking for $ac_word" >&5
3045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 if test -n "$ac_ct_CC"; then
3050 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 ac_cv_prog_ac_ct_CC
="$ac_prog"
3060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3069 if test -n "$ac_ct_CC"; then
3070 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3071 echo "${ECHO_T}$ac_ct_CC" >&6
3073 echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3077 test -n "$ac_ct_CC" && break
3086 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3087 See \`config.log' for more details." >&5
3088 echo "$as_me: error: no acceptable C compiler found in \$PATH
3089 See \`config.log' for more details." >&2;}
3090 { (exit 1); exit 1; }; }
3092 # Provide some information about the compiler.
3093 echo "$as_me:$LINENO:" \
3094 "checking for C compiler version" >&5
3095 ac_compiler
=`set X $ac_compile; echo $2`
3096 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3097 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }
3101 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3102 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3106 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3107 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }
3112 cat >conftest.
$ac_ext <<_ACEOF
3115 cat confdefs.h
>>conftest.
$ac_ext
3116 cat >>conftest.
$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3127 ac_clean_files_save
=$ac_clean_files
3128 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3129 # Try to create an executable without -o first, disregard a.out.
3130 # It will help us diagnose broken compilers, and finding out an intuition
3132 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3133 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3134 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3135 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3136 (eval $ac_link_default) 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; then
3140 # Find the output, starting from the most likely. This scheme is
3141 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3144 # Be careful to initialize this variable, since it used to be cached.
3145 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3147 # b.out is created by i960 compilers.
3148 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3150 test -f "$ac_file" ||
continue
3152 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3155 # This is the source file.
3158 # We found the default executable, but exeext='' is most
3162 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3163 # FIXME: I believe we export ac_cv_exeext for Libtool,
3164 # but it would be cool to find out if it's true. Does anybody
3165 # maintain Libtool? --akim.
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.
$ac_ext >&5
3176 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3177 See \`config.log' for more details." >&5
3178 echo "$as_me: error: C compiler cannot create executables
3179 See \`config.log' for more details." >&2;}
3180 { (exit 77); exit 77; }; }
3183 ac_exeext
=$ac_cv_exeext
3184 echo "$as_me:$LINENO: result: $ac_file" >&5
3185 echo "${ECHO_T}$ac_file" >&6
3187 # Check the compiler produces executables we can run. If not, either
3188 # the compiler is broken, or we cross compile.
3189 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3190 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3191 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3192 # If not cross compiling, check that we can run a simple program.
3193 if test "$cross_compiling" != yes; then
3194 if { ac_try
='./$ac_file'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 if test "$cross_compiling" = maybe
; then
3205 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3206 If you meant to cross compile, use \`--host'.
3207 See \`config.log' for more details." >&5
3208 echo "$as_me: error: cannot run C compiled programs.
3209 If you meant to cross compile, use \`--host'.
3210 See \`config.log' for more details." >&2;}
3211 { (exit 1); exit 1; }; }
3215 echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6
3218 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3219 ac_clean_files
=$ac_clean_files_save
3220 # Check the compiler produces executables we can run. If not, either
3221 # the compiler is broken, or we cross compile.
3222 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3223 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3224 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3225 echo "${ECHO_T}$cross_compiling" >&6
3227 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3228 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3230 (eval $ac_link) 2>&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; then
3234 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3235 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3236 # work properly (i.e., refer to `conftest.exe'), while it won't with
3238 for ac_file
in conftest.exe conftest conftest.
*; do
3239 test -f "$ac_file" ||
continue
3241 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3242 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3249 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3250 See \`config.log' for more details." >&5
3251 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3252 See \`config.log' for more details." >&2;}
3253 { (exit 1); exit 1; }; }
3256 rm -f conftest
$ac_cv_exeext
3257 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3258 echo "${ECHO_T}$ac_cv_exeext" >&6
3260 rm -f conftest.
$ac_ext
3261 EXEEXT
=$ac_cv_exeext
3263 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3264 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3265 if test "${ac_cv_objext+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 cat >conftest.
$ac_ext <<_ACEOF
3271 cat confdefs.h
>>conftest.
$ac_ext
3272 cat >>conftest.
$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3283 rm -f conftest.o conftest.obj
3284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3285 (eval $ac_compile) 2>&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; then
3289 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3291 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3292 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3300 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3301 See \`config.log' for more details." >&5
3302 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3303 See \`config.log' for more details." >&2;}
3304 { (exit 1); exit 1; }; }
3307 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3309 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3310 echo "${ECHO_T}$ac_cv_objext" >&6
3311 OBJEXT
=$ac_cv_objext
3313 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3314 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3315 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 cat >conftest.
$ac_ext <<_ACEOF
3321 cat confdefs.h
>>conftest.
$ac_ext
3322 cat >>conftest.
$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3336 rm -f conftest.
$ac_objext
3337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3338 (eval $ac_compile) 2>conftest.er1
3340 grep -v '^ *+' conftest.er1
>conftest.err
3342 cat conftest.err
>&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try
='test -z "$ac_c_werror_flag"
3346 || test ! -s conftest.err'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try
='test -s conftest.$ac_objext'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.
$ac_ext >&5
3365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3366 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3369 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3370 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3371 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3372 ac_test_CFLAGS
=${CFLAGS+set}
3373 ac_save_CFLAGS
=$CFLAGS
3375 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3376 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3377 if test "${ac_cv_prog_cc_g+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 cat >conftest.
$ac_ext <<_ACEOF
3383 cat confdefs.h
>>conftest.
$ac_ext
3384 cat >>conftest.
$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3395 rm -f conftest.
$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1
>conftest.err
3401 cat conftest.err
>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try
='test -z "$ac_c_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try
='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3426 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3427 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3428 if test "$ac_test_CFLAGS" = set; then
3429 CFLAGS
=$ac_save_CFLAGS
3430 elif test $ac_cv_prog_cc_g = yes; then
3431 if test "$GCC" = yes; then
3437 if test "$GCC" = yes; then
3443 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3444 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3445 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 ac_cv_prog_cc_stdc
=no
3450 cat >conftest.
$ac_ext <<_ACEOF
3453 cat confdefs.h
>>conftest.
$ac_ext
3454 cat >>conftest.
$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3458 #include <sys/types.h>
3459 #include <sys/stat.h>
3460 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3461 struct buf { int x; };
3462 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3463 static char *e (p, i)
3469 static char *f (char * (*g) (char **, int), char **p, ...)
3474 s = g (p, va_arg (v,int));
3479 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3480 function prototypes and stuff, but not '\xHH' hex character constants.
3481 These don't provoke an error unfortunately, instead are silently treated
3482 as 'x'. The following induces an error, until -std1 is added to get
3483 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3484 array size at least. It's necessary to write '\x00'==0 to get something
3485 that's true only with -std1. */
3486 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3488 int test (int i, double x);
3489 struct s1 {int (*f) (int a);};
3490 struct s2 {int (*f) (double a);};
3491 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3497 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3502 # Don't try gcc -ansi; that turns off useful extensions and
3503 # breaks some systems' header files.
3504 # AIX -qlanglvl=ansi
3505 # Ultrix and OSF/1 -std1
3506 # HP-UX 10.20 and later -Ae
3507 # HP-UX older versions -Aa -D_HPUX_SOURCE
3508 # SVR4 -Xc -D__EXTENSIONS__
3509 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3511 CC
="$ac_save_CC $ac_arg"
3512 rm -f conftest.
$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>conftest.er1
3516 grep -v '^ *+' conftest.er1
>conftest.err
3518 cat conftest.err
>&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } &&
3521 { ac_try
='test -z "$ac_c_werror_flag"
3522 || test ! -s conftest.err'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; } &&
3528 { ac_try
='test -s conftest.$ac_objext'
3529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); }; }; then
3534 ac_cv_prog_cc_stdc
=$ac_arg
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.
$ac_ext >&5
3541 rm -f conftest.err conftest.
$ac_objext
3543 rm -f conftest.
$ac_ext conftest.
$ac_objext
3548 case "x$ac_cv_prog_cc_stdc" in
3550 echo "$as_me:$LINENO: result: none needed" >&5
3551 echo "${ECHO_T}none needed" >&6 ;;
3553 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3554 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3555 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3558 # Some people use a C++ compiler to compile C. Since we use `exit',
3559 # in C++ we need to declare it. In case someone uses the same compiler
3560 # for both compiling C and C++ we need to have the C++ compiler decide
3561 # the declaration of exit, since it's the most demanding environment.
3562 cat >conftest.
$ac_ext <<_ACEOF
3567 rm -f conftest.
$ac_objext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3569 (eval $ac_compile) 2>conftest.er1
3571 grep -v '^ *+' conftest.er1
>conftest.err
3573 cat conftest.err
>&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } &&
3576 { ac_try
='test -z "$ac_c_werror_flag"
3577 || test ! -s conftest.err'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; } &&
3583 { ac_try
='test -s conftest.$ac_objext'
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; }; then
3589 for ac_declaration
in \
3591 'extern "C" void std::exit (int) throw (); using std::exit;' \
3592 'extern "C" void std::exit (int); using std::exit;' \
3593 'extern "C" void exit (int) throw ();' \
3594 'extern "C" void exit (int);' \
3597 cat >conftest.
$ac_ext <<_ACEOF
3600 cat confdefs.h
>>conftest.
$ac_ext
3601 cat >>conftest.
$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3613 rm -f conftest.
$ac_objext
3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3615 (eval $ac_compile) 2>conftest.er1
3617 grep -v '^ *+' conftest.er1
>conftest.err
3619 cat conftest.err
>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try
='test -z "$ac_c_werror_flag"
3623 || test ! -s conftest.err'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; } &&
3629 { ac_try
='test -s conftest.$ac_objext'
3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); }; }; then
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.
$ac_ext >&5
3642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3643 cat >conftest.
$ac_ext <<_ACEOF
3646 cat confdefs.h
>>conftest.
$ac_ext
3647 cat >>conftest.
$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3658 rm -f conftest.
$ac_objext
3659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3660 (eval $ac_compile) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1
>conftest.err
3664 cat conftest.err
>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try
='test -z "$ac_c_werror_flag"
3668 || test ! -s conftest.err'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; } &&
3674 { ac_try
='test -s conftest.$ac_objext'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; }; then
3682 echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.
$ac_ext >&5
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3689 if test -n "$ac_declaration"; then
3690 echo '#ifdef __cplusplus' >>confdefs.h
3691 echo $ac_declaration >>confdefs.h
3692 echo '#endif' >>confdefs.h
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 ac_cpp
='$CPP $CPPFLAGS'
3703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3708 ac_cpp
='$CXXCPP $CPPFLAGS'
3709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3712 if test -n "$ac_tool_prefix"; then
3713 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_CXX+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$CXX"; then
3723 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 if test -n "$CXX"; then
3743 echo "$as_me:$LINENO: result: $CXX" >&5
3744 echo "${ECHO_T}$CXX" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3750 test -n "$CXX" && break
3753 if test -z "$CXX"; then
3755 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3757 # Extract the first word of "$ac_prog", so it can be a program name with args.
3758 set dummy
$ac_prog; ac_word
=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$ac_ct_CXX"; then
3765 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3784 if test -n "$ac_ct_CXX"; then
3785 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3786 echo "${ECHO_T}$ac_ct_CXX" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3792 test -n "$ac_ct_CXX" && break
3794 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3800 # Provide some information about the compiler.
3801 echo "$as_me:$LINENO:" \
3802 "checking for C++ compiler version" >&5
3803 ac_compiler
=`set X $ac_compile; echo $2`
3804 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3805 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }
3809 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3810 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }
3814 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3815 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }
3820 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3821 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3822 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 cat >conftest.
$ac_ext <<_ACEOF
3828 cat confdefs.h
>>conftest.
$ac_ext
3829 cat >>conftest.
$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3843 rm -f conftest.
$ac_objext
3844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3845 (eval $ac_compile) 2>conftest.er1
3847 grep -v '^ *+' conftest.er1
>conftest.err
3849 cat conftest.err
>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } &&
3852 { ac_try
='test -z "$ac_cxx_werror_flag"
3853 || test ! -s conftest.err'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; } &&
3859 { ac_try
='test -s conftest.$ac_objext'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; }; then
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.
$ac_ext >&5
3872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3873 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3876 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3877 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3878 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3879 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3880 ac_save_CXXFLAGS
=$CXXFLAGS
3882 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3883 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3884 if test "${ac_cv_prog_cxx_g+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3902 rm -f conftest.
$ac_objext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904 (eval $ac_compile) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1
>conftest.err
3908 cat conftest.err
>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try
='test -z "$ac_cxx_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try
='test -s conftest.$ac_objext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 ac_cv_prog_cxx_g
=yes
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3933 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3934 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3935 if test "$ac_test_CXXFLAGS" = set; then
3936 CXXFLAGS
=$ac_save_CXXFLAGS
3937 elif test $ac_cv_prog_cxx_g = yes; then
3938 if test "$GXX" = yes; then
3944 if test "$GXX" = yes; then
3950 for ac_declaration
in \
3952 'extern "C" void std::exit (int) throw (); using std::exit;' \
3953 'extern "C" void std::exit (int); using std::exit;' \
3954 'extern "C" void exit (int) throw ();' \
3955 'extern "C" void exit (int);' \
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3974 rm -f conftest.
$ac_objext
3975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3976 (eval $ac_compile) 2>conftest.er1
3978 grep -v '^ *+' conftest.er1
>conftest.err
3980 cat conftest.err
>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } &&
3983 { ac_try
='test -z "$ac_cxx_werror_flag"
3984 || test ! -s conftest.err'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; } &&
3990 { ac_try
='test -s conftest.$ac_objext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.
$ac_ext >&5
4003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.
$ac_objext
4020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4021 (eval $ac_compile) 2>conftest.er1
4023 grep -v '^ *+' conftest.er1
>conftest.err
4025 cat conftest.err
>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } &&
4028 { ac_try
='test -z "$ac_cxx_werror_flag"
4029 || test ! -s conftest.err'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try
='test -s conftest.$ac_objext'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.
$ac_ext >&5
4047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4050 if test -n "$ac_declaration"; then
4051 echo '#ifdef __cplusplus' >>confdefs.h
4052 echo $ac_declaration >>confdefs.h
4053 echo '#endif' >>confdefs.h
4057 ac_cpp
='$CPP $CPPFLAGS'
4058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4063 # We must set the default linker to the linker used by gcc for the correct
4064 # operation of libtool. If LD is not defined and we are using gcc, try to
4065 # set the LD default to the ld used by gcc.
4066 if test -z "$LD"; then
4067 if test "$GCC" = yes; then
4070 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4072 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4074 case $gcc_prog_ld in
4075 # Accept absolute paths.
4076 [\\/]* |
[A-Za-z
]:[\\/]*)
4077 LD
="$gcc_prog_ld" ;;
4085 if test -n "$ac_tool_prefix"; then
4086 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4087 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4088 echo "$as_me:$LINENO: checking for $ac_word" >&5
4089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4090 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 if test -n "$GNATBIND"; then
4094 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 test -z "$as_dir" && as_dir
=.
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4103 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 GNATBIND
=$ac_cv_prog_GNATBIND
4113 if test -n "$GNATBIND"; then
4114 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4115 echo "${ECHO_T}$GNATBIND" >&6
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4122 if test -z "$ac_cv_prog_GNATBIND"; then
4123 ac_ct_GNATBIND
=$GNATBIND
4124 # Extract the first word of "gnatbind", so it can be a program name with args.
4125 set dummy gnatbind
; ac_word
=$2
4126 echo "$as_me:$LINENO: checking for $ac_word" >&5
4127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4128 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 if test -n "$ac_ct_GNATBIND"; then
4132 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4141 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4148 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4151 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4152 if test -n "$ac_ct_GNATBIND"; then
4153 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4154 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4160 GNATBIND
=$ac_ct_GNATBIND
4162 GNATBIND
="$ac_cv_prog_GNATBIND"
4165 if test -n "$ac_tool_prefix"; then
4166 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4167 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4168 echo "$as_me:$LINENO: checking for $ac_word" >&5
4169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4170 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 if test -n "$GNATMAKE"; then
4174 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 GNATMAKE
=$ac_cv_prog_GNATMAKE
4193 if test -n "$GNATMAKE"; then
4194 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4195 echo "${ECHO_T}$GNATMAKE" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4202 if test -z "$ac_cv_prog_GNATMAKE"; then
4203 ac_ct_GNATMAKE
=$GNATMAKE
4204 # Extract the first word of "gnatmake", so it can be a program name with args.
4205 set dummy gnatmake
; ac_word
=$2
4206 echo "$as_me:$LINENO: checking for $ac_word" >&5
4207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4208 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 if test -n "$ac_ct_GNATMAKE"; then
4212 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4231 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4232 if test -n "$ac_ct_GNATMAKE"; then
4233 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4234 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4240 GNATMAKE
=$ac_ct_GNATMAKE
4242 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4245 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4246 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4247 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 cat >conftest.adb
<<EOF
4251 procedure conftest is begin null; end conftest;
4253 acx_cv_cc_gcc_supports_ada
=no
4254 # There is a bug in old released versions of GCC which causes the
4255 # driver to exit successfully when the appropriate language module
4256 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4257 # Therefore we must check for the error message as well as an
4258 # unsuccessful exit.
4259 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4260 # given a .adb file, but produce no object file. So we must check
4261 # if an object file was really produced to guard against this.
4262 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4263 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4264 acx_cv_cc_gcc_supports_ada
=yes
4268 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4269 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4271 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4277 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4278 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4279 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4285 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4286 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4289 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4292 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4293 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4296 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4302 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4303 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4304 do_compare
="$gcc_cv_prog_cmp_skip"
4308 # Check for GMP and MPFR
4309 gmplibs
="-lmpfr -lgmp"
4313 # Specify a location for mpfr
4314 # check for this first so it ends up on the link line before gmp.
4316 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4317 if test "${with_mpfr_dir+set}" = set; then
4318 withval
="$with_mpfr_dir"
4319 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4320 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4321 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4322 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4323 { (exit 1); exit 1; }; }
4327 # Check whether --with-mpfr or --without-mpfr was given.
4328 if test "${with_mpfr+set}" = set; then
4329 withval
="$with_mpfr"
4333 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4334 if test "${with_mpfr_include+set}" = set; then
4335 withval
="$with_mpfr_include"
4339 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4340 if test "${with_mpfr_lib+set}" = set; then
4341 withval
="$with_mpfr_lib"
4345 if test "x$with_mpfr" != x
; then
4346 gmplibs
="-L$with_mpfr/lib $gmplibs"
4347 gmpinc
="-I$with_mpfr/include"
4349 if test "x$with_mpfr_include" != x
; then
4350 gmpinc
="-I$with_mpfr_include"
4352 if test "x$with_mpfr_lib" != x
; then
4353 gmplibs
="-L$with_mpfr_lib $gmplibs"
4355 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4356 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4357 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4358 # Do not test the mpfr version. Assume that it is sufficient, since
4359 # it is in the source tree, and the library has not been built yet
4360 # but it would be included on the link line in the version check below
4361 # hence making the test fail.
4365 # Specify a location for gmp
4367 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4368 if test "${with_gmp_dir+set}" = set; then
4369 withval
="$with_gmp_dir"
4370 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4371 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4372 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4373 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4374 { (exit 1); exit 1; }; }
4378 # Check whether --with-gmp or --without-gmp was given.
4379 if test "${with_gmp+set}" = set; then
4384 # Check whether --with-gmp_include or --without-gmp_include was given.
4385 if test "${with_gmp_include+set}" = set; then
4386 withval
="$with_gmp_include"
4390 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4391 if test "${with_gmp_lib+set}" = set; then
4392 withval
="$with_gmp_lib"
4397 if test "x$with_gmp" != x
; then
4398 gmplibs
="-L$with_gmp/lib $gmplibs"
4399 gmpinc
="-I$with_gmp/include $gmpinc"
4401 if test "x$with_gmp_include" != x
; then
4402 gmpinc
="-I$with_gmp_include $gmpinc"
4404 if test "x$with_gmp_lib" != x
; then
4405 gmplibs
="-L$with_gmp_lib $gmplibs"
4407 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4408 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4409 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4410 # Do not test the gmp version. Assume that it is sufficient, since
4411 # it is in the source tree, and the library has not been built yet
4412 # but it would be included on the link line in the version check below
4413 # hence making the test fail.
4417 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4419 saved_CFLAGS
="$CFLAGS"
4420 CFLAGS
="$CFLAGS $gmpinc"
4421 # Check GMP actually works
4422 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4423 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4436 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -z "$ac_c_werror_flag"
4454 || test ! -s conftest.err'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try
='test -s conftest.$ac_objext'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6
4469 echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.
$ac_ext >&5
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6; have_gmp
=no
4475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4477 if test x
"$have_gmp" = xyes
; then
4479 LIBS
="$LIBS $gmplibs"
4480 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4481 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4494 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
4502 mpfr_atan2 (n, n, x, GMP_RNDN);
4503 mpfr_erfc (n, x, GMP_RNDN);
4504 mpfr_subnormalize (x, t, GMP_RNDN);
4510 rm -f conftest.
$ac_objext conftest
$ac_exeext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4512 (eval $ac_link) 2>conftest.er1
4514 grep -v '^ *+' conftest.er1
>conftest.err
4516 cat conftest.err
>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try
='test -z "$ac_c_werror_flag"
4520 || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try
='test -s conftest$ac_exeext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4544 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4547 mpfr_t n; mpfr_init(n);
4553 rm -f conftest.
$ac_objext conftest
$ac_exeext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4555 (eval $ac_link) 2>conftest.er1
4557 grep -v '^ *+' conftest.er1
>conftest.err
4559 cat conftest.err
>&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } &&
4562 { ac_try
='test -z "$ac_c_werror_flag"
4563 || test ! -s conftest.err'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; } &&
4569 { ac_try
='test -s conftest$ac_exeext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4575 echo "$as_me:$LINENO: result: yes" >&5
4576 echo "${ECHO_T}yes" >&6
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4582 echo "${ECHO_T}buggy but acceptable" >&6
4584 rm -f conftest.err conftest.
$ac_objext \
4585 conftest
$ac_exeext conftest.
$ac_ext
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.
$ac_ext >&5
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6; have_gmp
=no
4593 rm -f conftest.err conftest.
$ac_objext \
4594 conftest
$ac_exeext conftest.
$ac_ext
4597 CFLAGS
="$saved_CFLAGS"
4599 if test x
$have_gmp != xyes
; then
4600 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4601 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4602 Copies of these libraries' source code can be found at their respective
4603 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4604 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4605 If you obtained GMP and/or MPFR from a vendor distribution package, make
4606 sure that you have installed both the libraries and the header files.
4607 They may be located in separate packages." >&5
4608 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4609 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4610 Copies of these libraries' source code can be found at their respective
4611 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4612 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4613 If you obtained GMP and/or MPFR from a vendor distribution package, make
4614 sure that you have installed both the libraries and the header files.
4615 They may be located in separate packages." >&2;}
4616 { (exit 1); exit 1; }; }
4620 # Flags needed for both GMP and/or MPFR
4624 # By default, C is the only stage 1 language.
4625 stage1_languages
=,c
,
4627 # Figure out what language subdirectories are present.
4628 # Look if the user specified --enable-languages="..."; if not, use
4629 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4631 # NB: embedded tabs in this IF block -- do not untabify
4632 if test -d ${srcdir}/gcc
; then
4633 if test x
"${enable_languages+set}" != xset
; then
4634 if test x
"${LANGUAGES+set}" = xset
; then
4635 enable_languages
="${LANGUAGES}"
4636 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4638 enable_languages
=all
4641 if test x
"${enable_languages}" = x ||
4642 test x
"${enable_languages}" = xyes
;
4644 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4648 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4650 # 'f95' is the old name for the 'fortran' language. We issue a warning
4651 # and make the substitution.
4652 case ,${enable_languages}, in
4654 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4655 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4659 # First scan to see if an enabled language requires some other language.
4660 # We assume that a given config-lang.in will list all the language
4661 # front ends it requires, even if some are required indirectly.
4662 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4663 case ${lang_frag} in
4665 # The odd quoting in the next line works around
4666 # an apparent bug in bash 1.12 on linux.
4667 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4669 # From the config-lang.in, get $language, $lang_requires
4673 for other
in ${lang_requires} ; do
4674 case ,${enable_languages}, in
4678 echo " \`$other' language required by \`$language'; enabling" 1>&2
4679 enable_languages
="${enable_languages},${other}"
4687 new_enable_languages
=,c
,
4688 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4689 potential_languages
=,c
,
4691 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4692 case ${lang_frag} in
4694 # The odd quoting in the next line works around
4695 # an apparent bug in bash 1.12 on linux.
4696 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4698 # From the config-lang.in, get $language, $target_libs,
4699 # $lang_dirs, $boot_language, and $build_by_default
4705 build_by_default
=yes
4707 if test x
${language} = x
; then
4708 echo "${lang_frag} doesn't set \$language." 1>&2
4712 case ,${enable_languages}, in
4714 # Language was explicitly selected; include it.
4718 # 'all' was selected, select it if it is a default language
4719 add_this_lang
=${build_by_default}
4726 # Disable languages that need other directories if these aren't available.
4727 for i
in $subdir_requires; do
4728 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4729 case ,${enable_languages}, in
4731 # Specifically requested language; tell them.
4732 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4733 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4734 { (exit 1); exit 1; }; }
4738 add_this_lang
=unsupported
4743 # Disable Ada if no preexisting GNAT is available.
4744 case ,${enable_languages},:${language}:${have_gnat} in
4745 *,${language},*:ada
:no
)
4746 # Specifically requested language; tell them.
4747 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4748 echo "$as_me: error: GNAT is required to build $language" >&2;}
4749 { (exit 1); exit 1; }; }
4753 add_this_lang
=unsupported
4757 # Disable a language that is unsupported by the target.
4758 case " $unsupported_languages " in
4760 add_this_lang
=unsupported
4764 case $add_this_lang in
4766 # Remove language-dependent dirs.
4767 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4770 # Remove language-dependent dirs; still show language as supported.
4771 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4772 potential_languages
="${potential_languages}${language},"
4775 new_enable_languages
="${new_enable_languages}${language},"
4776 potential_languages
="${potential_languages}${language},"
4777 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4778 case ${boot_language} in
4780 # Add to (comma-separated) list of stage 1 languages.
4781 stage1_languages
="${stage1_languages}${language},"
4790 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4791 if test "${enable_stage1_languages+set}" = set; then
4792 enableval
="$enable_stage1_languages"
4793 case ,${enable_stage1_languages}, in
4795 # Set it to something that will have no effect in the loop below
4796 enable_stage1_languages
=c
;;
4798 enable_stage1_languages
=`echo $new_enable_languages | \
4799 sed -e "s/^,//" -e "s/,$//" ` ;;
4801 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4802 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4805 # Add "good" languages from enable_stage1_languages to stage1_languages,
4806 # while "bad" languages go in missing_languages. Leave no duplicates.
4807 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4808 case $potential_languages in
4810 case $stage1_languages in
4812 *) stage1_languages
="$stage1_languages$i," ;;
4815 case $missing_languages in
4817 *) missing_languages
="$missing_languages$i," ;;
4823 # Remove leading/trailing commas that were added for simplicity
4824 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4825 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4826 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4827 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4829 if test "x$missing_languages" != x
; then
4830 { { echo "$as_me:$LINENO: error:
4831 The following requested languages could not be built: ${missing_languages}
4832 Supported languages are: ${potential_languages}" >&5
4833 echo "$as_me: error:
4834 The following requested languages could not be built: ${missing_languages}
4835 Supported languages are: ${potential_languages}" >&2;}
4836 { (exit 1); exit 1; }; }
4838 if test "x$new_enable_languages" != "x$enable_languages"; then
4839 echo The following languages will be built
: ${new_enable_languages}
4840 enable_languages
="$new_enable_languages"
4844 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4847 # Handle --disable-<component> generically.
4848 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4849 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4850 if eval test x\
${enable_${dirname}} "=" xno
; then
4851 noconfigdirs
="$noconfigdirs $dir"
4855 # Check for Boehm's garbage collector
4856 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4857 if test "${enable_objc_gc+set}" = set; then
4858 enableval
="$enable_objc_gc"
4859 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4860 *,objc
,*:*:yes:*target-boehm-gc
*)
4861 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4862 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4863 { (exit 1); exit 1; }; }
4868 # Make sure we only build Boehm's garbage collector if required.
4869 case ,${enable_languages},:${enable_objc_gc} in
4871 # Keep target-boehm-gc if requested for Objective-C.
4874 # Otherwise remove target-boehm-gc depending on target-libjava.
4875 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4876 noconfigdirs
="$noconfigdirs target-boehm-gc"
4881 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4882 # $build_configdirs and $target_configdirs.
4883 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4886 for dir
in .
$skipdirs $noconfigdirs ; do
4887 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4888 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4889 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4890 if test -r $srcdir/$dirname/configure
; then
4891 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4894 notsupp
="$notsupp $dir"
4898 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4899 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4900 if test -r $srcdir/$dirname/configure
; then
4901 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4904 notsupp
="$notsupp $dir"
4908 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4909 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4910 if test -r $srcdir/$dirname/configure
; then
4911 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4914 notsupp
="$notsupp $dir"
4920 # Sometimes the tools are distributed with libiberty but with no other
4921 # libraries. In that case, we don't want to build target-libiberty.
4922 # Don't let libgcc imply libiberty either.
4923 if test -n "${target_configdirs}" ; then
4926 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4927 if test "$i" = "libgcc"; then
4928 libgcc
=target-libgcc
4929 elif test "$i" != "libiberty" ; then
4930 if test -r $srcdir/$i/configure
; then
4936 if test -z "${others}" ; then
4937 target_configdirs
=$libgcc
4941 # Quietly strip out all directories which aren't configurable in this tree.
4942 # This relies on all configurable subdirectories being autoconfiscated, which
4944 build_configdirs_all
="$build_configdirs"
4946 for i
in ${build_configdirs_all} ; do
4947 j
=`echo $i | sed -e s/build-//g`
4948 if test -f ${srcdir}/$j/configure
; then
4949 build_configdirs
="${build_configdirs} $i"
4953 configdirs_all
="$configdirs"
4955 for i
in ${configdirs_all} ; do
4956 if test -f ${srcdir}/$i/configure
; then
4957 configdirs
="${configdirs} $i"
4961 target_configdirs_all
="$target_configdirs"
4963 for i
in ${target_configdirs_all} ; do
4964 j
=`echo $i | sed -e s/target-//g`
4965 if test -f ${srcdir}/$j/configure
; then
4966 target_configdirs
="${target_configdirs} $i"
4970 # Produce a warning message for the subdirs we can't configure.
4971 # This isn't especially interesting in the Cygnus tree, but in the individual
4972 # FSF releases, it's important to let people know when their machine isn't
4973 # supported by the one or two programs in a package.
4975 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4976 # If $appdirs is non-empty, at least one of those directories must still
4977 # be configured, or we error out. (E.g., if the gas release supports a
4978 # specified target in some subdirs but not the gas subdir, we shouldn't
4979 # pretend that all is well.)
4980 if test -n "$appdirs" ; then
4981 for dir
in $appdirs ; do
4982 if test -r $dir/Makefile.
in ; then
4983 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4987 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4993 if test -n "$appdirs" ; then
4994 echo "*** This configuration is not supported by this package." 1>&2
4998 # Okay, some application will build, or we don't care to check. Still
4999 # notify of subdirs not getting built.
5000 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5001 echo " ${notsupp}" 1>&2
5002 echo " (Any other directories should still work fine.)" 1>&2
5010 # To find our prefix, in gcc_cv_tool_prefix.
5012 # The user is always right.
5013 if test "${PATH_SEPARATOR+set}" != set; then
5014 echo "#! /bin/sh" >conf$$.sh
5015 echo "exit 0" >>conf$$.sh
5017 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5027 if test "x$exec_prefix" = xNONE
; then
5028 if test "x$prefix" = xNONE
; then
5029 gcc_cv_tool_prefix
=$ac_default_prefix
5031 gcc_cv_tool_prefix
=$prefix
5034 gcc_cv_tool_prefix
=$exec_prefix
5037 # If there is no compiler in the tree, use the PATH only. In any
5038 # case, if there is no compiler in the tree nobody should use
5039 # AS_FOR_TARGET and LD_FOR_TARGET.
5040 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5041 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5042 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5043 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5044 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5045 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5046 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5047 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5052 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5053 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5061 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5062 if test "${with_build_sysroot+set}" = set; then
5063 withval
="$with_build_sysroot"
5064 if test x
"$withval" != x
; then
5065 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5068 SYSROOT_CFLAGS_FOR_TARGET
=
5072 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5073 # the named directory are copied to $(tooldir)/sys-include.
5074 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5075 if test x
${is_cross_compiler} = xno
; then
5076 echo 1>&2 '***' --with-headers is only supported when cross compiling
5079 if test x
"${with_headers}" != xyes
; then
5080 x
=${gcc_cv_tool_prefix}
5081 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5085 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5086 # the name directories are copied to $(tooldir)/lib. Multiple directories
5088 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5089 if test x
${is_cross_compiler} = xno
; then
5090 echo 1>&2 '***' --with-libs is only supported when cross compiling
5093 if test x
"${with_libs}" != xyes
; then
5094 # Copy the libraries in reverse order, so that files in the first named
5095 # library override files in subsequent libraries.
5096 x
=${gcc_cv_tool_prefix}
5097 for l
in ${with_libs}; do
5098 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5103 # Set with_gnu_as and with_gnu_ld as appropriate.
5105 # This is done by determining whether or not the appropriate directory
5106 # is available, and by checking whether or not specific configurations
5107 # have requested that this magic not happen.
5109 # The command line options always override the explicit settings in
5110 # configure.in, and the settings in configure.in override this magic.
5112 # If the default for a toolchain is to use GNU as and ld, and you don't
5113 # want to do that, then you should use the --without-gnu-as and
5114 # --without-gnu-ld options for the configure script.
5116 if test x
${use_gnu_as} = x
&&
5117 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5119 extra_host_args
="$extra_host_args --with-gnu-as"
5122 if test x
${use_gnu_ld} = x
&&
5123 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5125 extra_host_args
="$extra_host_args --with-gnu-ld"
5128 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5129 # can detect this case.
5131 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5133 extra_host_args
="$extra_host_args --with-newlib"
5136 # Handle ${copy_dirs}
5137 set fnord
${copy_dirs}
5139 while test $# != 0 ; do
5140 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5143 echo Copying
$1 to
$2
5145 # Use the install script to create the directory and all required
5146 # parent directories.
5147 if test -d $2 ; then
5151 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5154 # Copy the directory, assuming we have tar.
5155 # FIXME: Should we use B in the second tar? Not all systems support it.
5156 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5158 # It is the responsibility of the user to correctly adjust all
5159 # symlinks. If somebody can figure out how to handle them correctly
5160 # here, feel free to add the code.
5167 # Determine a target-dependent exec_prefix that the installed
5168 # gcc will search in. Keep this list sorted by triplet, with
5169 # the *-*-osname triplets last.
5173 md_exec_prefix
=/gnu
/lib
/gcc-lib
5175 i
[34567]86-pc-msdosdjgpp*)
5176 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5178 i
[34567]86-*-sco3.2v5
*)
5179 if test $with_gnu_as = yes; then
5180 md_exec_prefix
=/usr
/gnu
/bin
5182 md_exec_prefix
=/usr
/ccs
/bin
/elf
5187 powerpc-
*-chorusos* | \
5188 powerpc
*-*-eabi* | \
5189 powerpc
*-*-sysv* | \
5190 powerpc
*-*-kaos* | \
5192 md_exec_prefix
=/usr
/ccs
/bin
5197 md_exec_prefix
=/usr
/ccs
/bin
5212 md_exec_prefix
=/usr
/ccs
/bin
5216 extra_arflags_for_target
=
5217 extra_nmflags_for_target
=
5218 extra_ranlibflags_for_target
=
5219 target_makefile_frag
=/dev
/null
5222 target_makefile_frag
="config/mt-mep"
5225 target_makefile_frag
="config/mt-spu"
5228 target_makefile_frag
="config/mt-sde"
5231 target_makefile_frag
="config/mt-netware"
5233 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5234 target_makefile_frag
="config/mt-gnu"
5236 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5237 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5238 # commands to handle both 32-bit and 64-bit objects. These flags are
5239 # harmless if we're using GNU nm or ar.
5240 extra_arflags_for_target
=" -X32_64"
5241 extra_nmflags_for_target
=" -B -X32_64"
5244 # ranlib from Darwin requires the -c flag to look at common symbols.
5245 extra_ranlibflags_for_target
=" -c"
5247 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5248 target_makefile_frag
="config/mt-wince"
5252 alphaieee_frag
=/dev
/null
5255 # This just makes sure to use the -mieee option to build target libs.
5256 # This should probably be set individually by each library.
5257 alphaieee_frag
="config/mt-alphaieee"
5261 # If --enable-target-optspace always use -Os instead of -O2 to build
5262 # the target libraries, similarly if it is not specified, use -Os
5263 # on selected platforms.
5264 ospace_frag
=/dev
/null
5265 case "${enable_target_optspace}:${target}" in
5267 ospace_frag
="config/mt-ospace"
5270 ospace_frag
="config/mt-d30v"
5272 :m32r-
* |
:d10v-
* |
:fr30-
*)
5273 ospace_frag
="config/mt-ospace"
5278 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5282 # Default to using --with-stabs for certain targets.
5283 if test x
${with_stabs} = x
; then
5287 mips
*-*-* | alpha
*-*-osf*)
5289 extra_host_args
="${extra_host_args} --with-stabs"
5294 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5295 # them automatically.
5298 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5302 # Some systems (e.g., one of the i386-aix systems the gas testers are
5303 # using) don't handle "\$" correctly, so don't use it here.
5304 tooldir
='${exec_prefix}'/${target_noncanonical}
5305 build_tooldir
=${tooldir}
5307 # Create a .gdbinit file which runs the one in srcdir
5308 # and tells GDB to look there for source files.
5310 if test -r ${srcdir}/.gdbinit
; then
5313 *) cat > .
/.gdbinit
<<EOF
5317 source ${srcdir}/.gdbinit
5323 # Make sure that the compiler is able to generate an executable. If it
5324 # can't, we are probably in trouble. We don't care whether we can run the
5325 # executable--we might be using a cross compiler--we only care whether it
5326 # can be created. At this point the main configure script has set CC.
5328 echo "int main () { return 0; }" > conftest.c
5329 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5330 if test $?
= 0 ; then
5331 if test -s conftest ||
test -s conftest.exe
; then
5337 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5338 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5345 # The Solaris /usr/ucb/cc compiler does not appear to work.
5347 sparc-sun-solaris2
*)
5348 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5349 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5351 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5352 if test -d /opt
/cygnus
/bin
; then
5353 if test "$could_use" = "" ; then
5354 could_use
="/opt/cygnus/bin"
5356 could_use
="$could_use or /opt/cygnus/bin"
5359 if test "$could_use" = "" ; then
5360 echo "Warning: compilation may fail because you're using"
5361 echo "/usr/ucb/cc. You should change your PATH or CC "
5362 echo "variable and rerun configure."
5364 echo "Warning: compilation may fail because you're using"
5365 echo "/usr/ucb/cc, when you should use the C compiler from"
5366 echo "$could_use. You should change your"
5367 echo "PATH or CC variable and rerun configure."
5374 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5375 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5376 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5379 # Record target_configdirs and the configure arguments for target and
5380 # build configuration in Makefile.
5381 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5382 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5384 # Determine whether gdb needs tk/tcl or not.
5385 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5386 # and in that case we want gdb to be built without tk. Ugh!
5387 # In fact I believe gdb is the *only* package directly dependent on tk,
5388 # so we should be able to put the 'maybe's in unconditionally and
5389 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5390 # 100% sure that that's safe though.
5392 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5393 case "$enable_gdbtk" in
5397 GDB_TK
="${gdb_tk}" ;;
5399 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5400 # distro. Eventually someone will fix this and move Insight, nee
5401 # gdbtk to a separate directory.
5402 if test -d ${srcdir}/gdb
/gdbtk
; then
5409 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5410 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5412 # Strip out unwanted targets.
5414 # While at that, we remove Makefiles if we were started for recursive
5415 # configuration, so that the top-level Makefile reconfigures them,
5416 # like we used to do when configure itself was recursive.
5418 # Loop over modules. $extrasub must be used with care, limiting as
5419 # much as possible the usage of range addresses. That's because autoconf
5420 # splits the sed script to overcome limits in the number of commands,
5421 # and relying on carefully-timed sed passes may turn out to be very hard
5422 # to maintain later. In this particular case, you just have to be careful
5423 # not to nest @if/@endif pairs, because configure will not warn you at all.
5425 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5426 if test "${enable_bootstrap+set}" = set; then
5427 enableval
="$enable_bootstrap"
5430 enable_bootstrap
=default
5433 # Issue errors and warnings for invalid/strange bootstrap combinations.
5434 case "$configdirs" in
5435 *gcc
*) have_compiler
=yes ;;
5436 *) have_compiler
=no
;;
5439 case "$have_compiler:$host:$target:$enable_bootstrap" in
5442 # Default behavior. Enable bootstrap if we have a compiler
5443 # and we are in a native configuration.
5444 yes:$build:$build:default
)
5445 enable_bootstrap
=yes ;;
5448 enable_bootstrap
=no
;;
5450 # We have a compiler and we are in a native configuration, bootstrap is ok
5451 yes:$build:$build:yes)
5454 # Other configurations, but we have a compiler. Assume the user knows
5457 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5458 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5461 # No compiler: if they passed --enable-bootstrap explicitly, fail
5463 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5464 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5465 { (exit 1); exit 1; }; } ;;
5467 # Fail if wrong command line
5469 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5470 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5471 { (exit 1); exit 1; }; }
5475 # Adjust the toplevel makefile according to whether bootstrap was selected.
5476 case "$enable_bootstrap" in
5478 bootstrap_suffix
=bootstrap
;;
5480 bootstrap_suffix
=no-bootstrap
;;
5483 for module
in ${build_configdirs} ; do
5484 if test -z "${no_recursion}" \
5485 && test -f ${build_subdir}/${module}/Makefile
; then
5486 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5487 rm -f ${build_subdir}/${module}/Makefile
5490 /^@if build-$module\$/d
5491 /^@endif build-$module\$/d
5492 /^@if build-$module-$bootstrap_suffix\$/d
5493 /^@endif build-$module-$bootstrap_suffix\$/d"
5495 for module
in ${configdirs} ; do
5496 if test -z "${no_recursion}"; then
5497 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5498 if test -f ${file}; then
5499 echo 1>&2 "*** removing ${file} to force reconfigure"
5506 /^@endif $module\$/d
5507 /^@if $module-$bootstrap_suffix\$/d
5508 /^@endif $module-$bootstrap_suffix\$/d"
5510 for module
in ${target_configdirs} ; do
5511 if test -z "${no_recursion}" \
5512 && test -f ${target_subdir}/${module}/Makefile
; then
5513 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5514 rm -f ${target_subdir}/${module}/Makefile
5517 /^@if target-$module\$/d
5518 /^@endif target-$module\$/d
5519 /^@if target-$module-$bootstrap_suffix\$/d
5520 /^@endif target-$module-$bootstrap_suffix\$/d"
5524 /^@if /,/^@endif /d"
5526 # Create the serialization dependencies. This uses a temporary file.
5528 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5529 if test "${enable_serial_configure+set}" = set; then
5530 enableval
="$enable_serial_configure"
5534 case ${enable_serial_configure} in
5536 enable_serial_build_configure
=yes
5537 enable_serial_host_configure
=yes
5538 enable_serial_target_configure
=yes
5542 # These force 'configure's to be done one at a time, to avoid problems
5543 # with contention over a shared config.cache.
5545 echo '# serdep.tmp' > serdep.tmp
5547 test "x${enable_serial_build_configure}" = xyes
&&
5548 for item
in ${build_configdirs} ; do
5551 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5556 test "x${enable_serial_host_configure}" = xyes
&&
5557 for item
in ${configdirs} ; do
5560 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5565 test "x${enable_serial_target_configure}" = xyes
&&
5566 for item
in ${target_configdirs} ; do
5569 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5573 serialization_dependencies
=serdep.tmp
5576 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5577 # target, nonopt, and variable assignments. These are the ones we
5578 # might not want to pass down to subconfigures. Also strip
5579 # program-prefix, program-suffix, and program-transform-name, so that
5580 # we can pass down a consistent program-transform-name.
5584 eval "set -- $ac_configure_args"
5587 if test X
"$skip_next" = X
"yes"; then
5591 if test X
"$keep_next" = X
"yes"; then
5594 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5596 baseargs
="$baseargs '$ac_arg'"
5601 # Handle separated arguments. Based on the logic generated by
5604 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5605 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5606 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5607 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5633 -program-prefix* | \
5634 -program-suffix* | \
5635 -program-transform-name* )
5636 skip_next
=$separate_arg
5640 # An option. Add it.
5643 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5645 baseargs
="$baseargs '$ac_arg'"
5646 keep_next
=$separate_arg
5649 # Either a variable assignment, or a nonopt (triplet). Don't
5650 # pass it down; let the Makefile handle this.
5655 # Remove the initial space we just introduced and, as these will be
5656 # expanded by make, quote '$'.
5657 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5659 # Add in --program-transform-name, after --program-prefix and
5660 # --program-suffix have been applied to it. Autoconf has already
5661 # doubled dollar signs and backslashes in program_transform_name; we want
5662 # the backslashes un-doubled, and then the entire thing wrapped in single
5663 # quotes, because this will be expanded first by make and then by the shell.
5664 # Also, because we want to override the logic in subdir configure scripts to
5665 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5666 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5667 ${program_transform_name}
5669 gcc_transform_name
=`cat conftestsed.out`
5670 rm -f conftestsed.out
5671 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5672 if test "$silent" = yes; then
5673 baseargs
="$baseargs --silent"
5676 # For the build-side libraries, we just need to pretend we're native,
5677 # and not use the same cache file. Multilibs are neither needed nor
5679 build_configargs
="--cache-file=../config.cache ${baseargs}"
5681 # For host modules, accept cache file option, or specification as blank.
5682 case "${cache_file}" in
5684 cache_file_option
="" ;;
5685 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5686 cache_file_option
="--cache-file=${cache_file}" ;;
5688 cache_file_option
="--cache-file=../${cache_file}" ;;
5691 # Host dirs don't like to share a cache file either, horribly enough.
5692 # This seems to be due to autoconf 2.5x stupidity.
5693 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5695 target_configargs
=${baseargs}
5697 # Passing a --with-cross-host argument lets the target libraries know
5698 # whether they are being built with a cross-compiler or being built
5699 # native. However, it would be better to use other mechanisms to make the
5700 # sorts of decisions they want to make on this basis. Please consider
5701 # this option to be deprecated. FIXME.
5702 if test x
${is_cross_compiler} = xyes
; then
5703 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5706 # Default to --enable-multilib.
5707 if test x
${enable_multilib} = x
; then
5708 target_configargs
="--enable-multilib ${target_configargs}"
5711 # Pass --with-newlib if appropriate. Note that target_configdirs has
5712 # changed from the earlier setting of with_newlib.
5713 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5714 target_configargs
="--with-newlib ${target_configargs}"
5717 # Different target subdirs use different values of certain variables
5718 # (notably CXX). Worse, multilibs use *lots* of different values.
5719 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5720 # it doesn't automatically accept command-line overrides of them.
5721 # This means it's not safe for target subdirs to share a cache file,
5722 # which is disgusting, but there you have it. Hopefully this can be
5723 # fixed in future. It's still worthwhile to use a cache file for each
5724 # directory. I think.
5726 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5727 # We need to pass --target, as newer autoconf's requires consistency
5728 # for target_alias and gcc doesn't manage it consistently.
5729 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5732 case " $target_configdirs " in
5734 case " $target_configargs " in
5735 *" --with-newlib "*)
5738 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' ;;
5741 # If we're not building GCC, don't discard standard headers.
5742 if test -d ${srcdir}/gcc
; then
5743 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5745 if test "${build}" != "${host}"; then
5746 # On Canadian crosses, CC_FOR_TARGET will have already been set
5747 # by `configure', so we won't have an opportunity to add -Bgcc/
5748 # to it. This is right: we don't want to search that directory
5749 # for binaries, but we want the header files in there, so add
5751 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5753 # Someone might think of using the pre-installed headers on
5754 # Canadian crosses, in case the installed compiler is not fully
5755 # compatible with the compiler being built. In this case, it
5756 # would be better to flag an error than risking having
5757 # incompatible object files being constructed. We can't
5758 # guarantee that an error will be flagged, but let's hope the
5759 # compiler will do it, when presented with incompatible header
5764 case "${target}-${is_cross_compiler}" in
5765 i
[3456789]86-*-linux*-no)
5766 # Here host == target, so we don't need to build gcc,
5767 # so we don't want to discard standard headers.
5768 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5771 # If we're building newlib, use its generic headers last, but search
5772 # for any libc-related directories first (so make it the last -B
5774 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5783 # Can't be handled as Cygwin above since Mingw does not use newlib.
5784 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' ;;
5787 # Allow the user to override the flags for
5788 # our build compiler if desired.
5789 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5791 # On Canadian crosses, we'll be searching the right directories for
5792 # the previously-installed cross compiler, so don't bother to add
5793 # flags for directories within the install tree of the compiler
5794 # being built; programs in there won't even run.
5795 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5796 # Search for pre-installed headers if nothing else fits.
5797 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5800 if test "x
${use_gnu_ld}" = x &&
5801 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5802 # Arrange for us to find uninstalled linker scripts.
5803 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5806 # Search for other target-specific linker scripts and such.
5809 if test -d ${srcdir}/libgloss/m32c; then
5810 # This is for crt0.o
5811 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5812 # This is for r8c.ld
5813 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5814 # This is for libnosys.a
5815 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5819 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5823 # Makefile fragments.
5824 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5826 eval fragval=\$$frag
5827 if test $fragval != /dev/null; then
5828 eval $frag=${srcdir}/$fragval
5836 # Miscellanea: directories, flags, etc.
5844 # Build module lists & subconfigure args.
5848 # Host module lists & subconfigure args.
5852 # Target module lists & subconfigure args.
5860 # Generate default definitions for YACC, M4, LEX and other programs that run
5861 # on the build machine. These are used if the Makefile can't locate these
5862 # programs in objdir.
5863 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5865 for ac_prog in 'bison -y' byacc yacc
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5870 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5871 if test "${ac_cv_prog_YACC+set}" = set; then
5872 echo $ECHO_N "(cached
) $ECHO_C" >&6
5874 if test -n "$YACC"; then
5875 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_YACC="$ac_prog"
5885 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5893 YACC=$ac_cv_prog_YACC
5894 if test -n "$YACC"; then
5895 echo "$as_me:$LINENO: result
: $YACC" >&5
5896 echo "${ECHO_T}$YACC" >&6
5898 echo "$as_me:$LINENO: result
: no
" >&5
5899 echo "${ECHO_T}no
" >&6
5902 test -n "$YACC" && break
5904 test -n "$YACC" || YACC="$MISSING bison
-y"
5906 case " $build_configdirs " in
5907 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
5908 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
5911 for ac_prog in bison
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy $ac_prog; ac_word=$2
5915 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5917 if test "${ac_cv_prog_BISON+set}" = set; then
5918 echo $ECHO_N "(cached
) $ECHO_C" >&6
5920 if test -n "$BISON"; then
5921 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_BISON="$ac_prog"
5931 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5939 BISON=$ac_cv_prog_BISON
5940 if test -n "$BISON"; then
5941 echo "$as_me:$LINENO: result
: $BISON" >&5
5942 echo "${ECHO_T}$BISON" >&6
5944 echo "$as_me:$LINENO: result
: no
" >&5
5945 echo "${ECHO_T}no
" >&6
5948 test -n "$BISON" && break
5950 test -n "$BISON" || BISON="$MISSING bison
"
5952 case " $build_configdirs " in
5953 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
5956 for ac_prog in gm4 gnum4 m4
5958 # Extract the first word of "$ac_prog", so it can be a program name with args.
5959 set dummy $ac_prog; ac_word=$2
5960 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5961 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5962 if test "${ac_cv_prog_M4+set}" = set; then
5963 echo $ECHO_N "(cached
) $ECHO_C" >&6
5965 if test -n "$M4"; then
5966 ac_cv_prog_M4="$M4" # Let the user override the test.
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_M4="$ac_prog"
5976 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5985 if test -n "$M4"; then
5986 echo "$as_me:$LINENO: result
: $M4" >&5
5987 echo "${ECHO_T}$M4" >&6
5989 echo "$as_me:$LINENO: result
: no
" >&5
5990 echo "${ECHO_T}no
" >&6
5993 test -n "$M4" && break
5995 test -n "$M4" || M4="$MISSING m4"
5997 case " $build_configdirs " in
5998 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6001 for ac_prog in flex lex
6003 # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 set dummy $ac_prog; ac_word=$2
6005 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6006 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6007 if test "${ac_cv_prog_LEX+set}" = set; then
6008 echo $ECHO_N "(cached
) $ECHO_C" >&6
6010 if test -n "$LEX"; then
6011 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_LEX="$ac_prog"
6021 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6030 if test -n "$LEX"; then
6031 echo "$as_me:$LINENO: result
: $LEX" >&5
6032 echo "${ECHO_T}$LEX" >&6
6034 echo "$as_me:$LINENO: result
: no
" >&5
6035 echo "${ECHO_T}no
" >&6
6038 test -n "$LEX" && break
6040 test -n "$LEX" || LEX="$MISSING flex
"
6042 case " $build_configdirs " in
6043 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6044 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6052 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6053 if test "${ac_cv_prog_FLEX+set}" = set; then
6054 echo $ECHO_N "(cached
) $ECHO_C" >&6
6056 if test -n "$FLEX"; then
6057 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_FLEX="$ac_prog"
6067 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6075 FLEX=$ac_cv_prog_FLEX
6076 if test -n "$FLEX"; then
6077 echo "$as_me:$LINENO: result
: $FLEX" >&5
6078 echo "${ECHO_T}$FLEX" >&6
6080 echo "$as_me:$LINENO: result
: no
" >&5
6081 echo "${ECHO_T}no
" >&6
6084 test -n "$FLEX" && break
6086 test -n "$FLEX" || FLEX="$MISSING flex
"
6088 case " $build_configdirs " in
6089 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6092 for ac_prog in makeinfo
6094 # Extract the first word of "$ac_prog", so it can be a program name with args.
6095 set dummy $ac_prog; ac_word=$2
6096 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6097 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6098 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6099 echo $ECHO_N "(cached
) $ECHO_C" >&6
6101 if test -n "$MAKEINFO"; then
6102 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_MAKEINFO="$ac_prog"
6112 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6120 MAKEINFO=$ac_cv_prog_MAKEINFO
6121 if test -n "$MAKEINFO"; then
6122 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6123 echo "${ECHO_T}$MAKEINFO" >&6
6125 echo "$as_me:$LINENO: result
: no
" >&5
6126 echo "${ECHO_T}no
" >&6
6129 test -n "$MAKEINFO" && break
6131 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6133 case " $build_configdirs " in
6134 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6137 # For an installed makeinfo, we require it to be from texinfo 4.4 or
6138 # higher, else we use the "missing
" dummy.
6139 if ${MAKEINFO} --version \
6140 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
6143 MAKEINFO="$MISSING makeinfo
"
6149 # FIXME: expect and dejagnu may become build tools?
6151 for ac_prog in expect
6153 # Extract the first word of "$ac_prog", so it can be a program name with args.
6154 set dummy $ac_prog; ac_word=$2
6155 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6157 if test "${ac_cv_prog_EXPECT+set}" = set; then
6158 echo $ECHO_N "(cached
) $ECHO_C" >&6
6160 if test -n "$EXPECT"; then
6161 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir=.
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6170 ac_cv_prog_EXPECT="$ac_prog"
6171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6179 EXPECT=$ac_cv_prog_EXPECT
6180 if test -n "$EXPECT"; then
6181 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6182 echo "${ECHO_T}$EXPECT" >&6
6184 echo "$as_me:$LINENO: result
: no
" >&5
6185 echo "${ECHO_T}no
" >&6
6188 test -n "$EXPECT" && break
6190 test -n "$EXPECT" || EXPECT="expect
"
6192 case " $configdirs " in
6194 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6198 for ac_prog in runtest
6200 # Extract the first word of "$ac_prog", so it can be a program name with args.
6201 set dummy $ac_prog; ac_word=$2
6202 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6203 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6204 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6205 echo $ECHO_N "(cached
) $ECHO_C" >&6
6207 if test -n "$RUNTEST"; then
6208 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217 ac_cv_prog_RUNTEST="$ac_prog"
6218 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6226 RUNTEST=$ac_cv_prog_RUNTEST
6227 if test -n "$RUNTEST"; then
6228 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6229 echo "${ECHO_T}$RUNTEST" >&6
6231 echo "$as_me:$LINENO: result
: no
" >&5
6232 echo "${ECHO_T}no
" >&6
6235 test -n "$RUNTEST" && break
6237 test -n "$RUNTEST" || RUNTEST="runtest
"
6239 case " $configdirs " in
6241 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6248 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6249 ncn_target_tool_prefix=
6250 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6254 if test -n "$AR"; then
6256 elif test -n "$ac_cv_prog_AR"; then
6260 if test -n "$ac_cv_prog_AR"; then
6261 for ncn_progname in ar; do
6262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6263 set dummy ${ncn_progname}; ac_word=$2
6264 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6265 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6266 if test "${ac_cv_prog_AR+set}" = set; then
6267 echo $ECHO_N "(cached
) $ECHO_C" >&6
6269 if test -n "$AR"; then
6270 ac_cv_prog_AR="$AR" # Let the user override the test.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_AR="${ncn_progname}"
6280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6289 if test -n "$AR"; then
6290 echo "$as_me:$LINENO: result
: $AR" >&5
6291 echo "${ECHO_T}$AR" >&6
6293 echo "$as_me:$LINENO: result
: no
" >&5
6294 echo "${ECHO_T}no
" >&6
6300 for ncn_progname in ar; do
6301 if test -n "$ncn_tool_prefix"; then
6302 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6303 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6304 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6305 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6306 if test "${ac_cv_prog_AR+set}" = set; then
6307 echo $ECHO_N "(cached
) $ECHO_C" >&6
6309 if test -n "$AR"; then
6310 ac_cv_prog_AR="$AR" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6320 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 if test -n "$AR"; then
6330 echo "$as_me:$LINENO: result
: $AR" >&5
6331 echo "${ECHO_T}$AR" >&6
6333 echo "$as_me:$LINENO: result
: no
" >&5
6334 echo "${ECHO_T}no
" >&6
6338 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6340 set dummy ${ncn_progname}; ac_word=$2
6341 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6342 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6343 if test "${ac_cv_prog_AR+set}" = set; then
6344 echo $ECHO_N "(cached
) $ECHO_C" >&6
6346 if test -n "$AR"; then
6347 ac_cv_prog_AR="$AR" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6356 ac_cv_prog_AR="${ncn_progname}"
6357 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6366 if test -n "$AR"; then
6367 echo "$as_me:$LINENO: result
: $AR" >&5
6368 echo "${ECHO_T}$AR" >&6
6370 echo "$as_me:$LINENO: result
: no
" >&5
6371 echo "${ECHO_T}no
" >&6
6375 test -n "$ac_cv_prog_AR" && break
6378 if test -z "$ac_cv_prog_AR" ; then
6380 if test $build = $host ; then
6383 AR="${ncn_tool_prefix}$2"
6389 if test -n "$AS"; then
6391 elif test -n "$ac_cv_prog_AS"; then
6395 if test -n "$ac_cv_prog_AS"; then
6396 for ncn_progname in as; do
6397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6398 set dummy ${ncn_progname}; ac_word=$2
6399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6401 if test "${ac_cv_prog_AS+set}" = set; then
6402 echo $ECHO_N "(cached
) $ECHO_C" >&6
6404 if test -n "$AS"; then
6405 ac_cv_prog_AS="$AS" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_AS="${ncn_progname}"
6415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6424 if test -n "$AS"; then
6425 echo "$as_me:$LINENO: result
: $AS" >&5
6426 echo "${ECHO_T}$AS" >&6
6428 echo "$as_me:$LINENO: result
: no
" >&5
6429 echo "${ECHO_T}no
" >&6
6435 for ncn_progname in as; do
6436 if test -n "$ncn_tool_prefix"; then
6437 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6438 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6439 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6441 if test "${ac_cv_prog_AS+set}" = set; then
6442 echo $ECHO_N "(cached
) $ECHO_C" >&6
6444 if test -n "$AS"; then
6445 ac_cv_prog_AS="$AS" # Let the user override the test.
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6464 if test -n "$AS"; then
6465 echo "$as_me:$LINENO: result
: $AS" >&5
6466 echo "${ECHO_T}$AS" >&6
6468 echo "$as_me:$LINENO: result
: no
" >&5
6469 echo "${ECHO_T}no
" >&6
6473 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6474 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6475 set dummy ${ncn_progname}; ac_word=$2
6476 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6477 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6478 if test "${ac_cv_prog_AS+set}" = set; then
6479 echo $ECHO_N "(cached
) $ECHO_C" >&6
6481 if test -n "$AS"; then
6482 ac_cv_prog_AS="$AS" # Let the user override the test.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491 ac_cv_prog_AS="${ncn_progname}"
6492 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6501 if test -n "$AS"; then
6502 echo "$as_me:$LINENO: result
: $AS" >&5
6503 echo "${ECHO_T}$AS" >&6
6505 echo "$as_me:$LINENO: result
: no
" >&5
6506 echo "${ECHO_T}no
" >&6
6510 test -n "$ac_cv_prog_AS" && break
6513 if test -z "$ac_cv_prog_AS" ; then
6515 if test $build = $host ; then
6518 AS="${ncn_tool_prefix}$2"
6524 if test -n "$DLLTOOL"; then
6525 ac_cv_prog_DLLTOOL=$DLLTOOL
6526 elif test -n "$ac_cv_prog_DLLTOOL"; then
6527 DLLTOOL=$ac_cv_prog_DLLTOOL
6530 if test -n "$ac_cv_prog_DLLTOOL"; then
6531 for ncn_progname in dlltool; do
6532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6533 set dummy ${ncn_progname}; ac_word=$2
6534 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6535 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6536 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6537 echo $ECHO_N "(cached
) $ECHO_C" >&6
6539 if test -n "$DLLTOOL"; then
6540 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_DLLTOOL="${ncn_progname}"
6550 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6558 DLLTOOL=$ac_cv_prog_DLLTOOL
6559 if test -n "$DLLTOOL"; then
6560 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6561 echo "${ECHO_T}$DLLTOOL" >&6
6563 echo "$as_me:$LINENO: result
: no
" >&5
6564 echo "${ECHO_T}no
" >&6
6570 for ncn_progname in dlltool; do
6571 if test -n "$ncn_tool_prefix"; then
6572 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6573 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6574 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6575 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6576 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6577 echo $ECHO_N "(cached
) $ECHO_C" >&6
6579 if test -n "$DLLTOOL"; then
6580 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6590 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6598 DLLTOOL=$ac_cv_prog_DLLTOOL
6599 if test -n "$DLLTOOL"; then
6600 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6601 echo "${ECHO_T}$DLLTOOL" >&6
6603 echo "$as_me:$LINENO: result
: no
" >&5
6604 echo "${ECHO_T}no
" >&6
6608 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6609 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6610 set dummy ${ncn_progname}; ac_word=$2
6611 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6612 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6613 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6614 echo $ECHO_N "(cached
) $ECHO_C" >&6
6616 if test -n "$DLLTOOL"; then
6617 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_DLLTOOL="${ncn_progname}"
6627 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6635 DLLTOOL=$ac_cv_prog_DLLTOOL
6636 if test -n "$DLLTOOL"; then
6637 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6638 echo "${ECHO_T}$DLLTOOL" >&6
6640 echo "$as_me:$LINENO: result
: no
" >&5
6641 echo "${ECHO_T}no
" >&6
6645 test -n "$ac_cv_prog_DLLTOOL" && break
6648 if test -z "$ac_cv_prog_DLLTOOL" ; then
6650 if test $build = $host ; then
6653 DLLTOOL="${ncn_tool_prefix}$2"
6659 if test -n "$LD"; then
6661 elif test -n "$ac_cv_prog_LD"; then
6665 if test -n "$ac_cv_prog_LD"; then
6666 for ncn_progname in ld; do
6667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6668 set dummy ${ncn_progname}; ac_word=$2
6669 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6671 if test "${ac_cv_prog_LD+set}" = set; then
6672 echo $ECHO_N "(cached
) $ECHO_C" >&6
6674 if test -n "$LD"; then
6675 ac_cv_prog_LD="$LD" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_LD="${ncn_progname}"
6685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 if test -n "$LD"; then
6695 echo "$as_me:$LINENO: result
: $LD" >&5
6696 echo "${ECHO_T}$LD" >&6
6698 echo "$as_me:$LINENO: result
: no
" >&5
6699 echo "${ECHO_T}no
" >&6
6705 for ncn_progname in ld; do
6706 if test -n "$ncn_tool_prefix"; then
6707 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6708 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6711 if test "${ac_cv_prog_LD+set}" = set; then
6712 echo $ECHO_N "(cached
) $ECHO_C" >&6
6714 if test -n "$LD"; then
6715 ac_cv_prog_LD="$LD" # Let the user override the test.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6734 if test -n "$LD"; then
6735 echo "$as_me:$LINENO: result
: $LD" >&5
6736 echo "${ECHO_T}$LD" >&6
6738 echo "$as_me:$LINENO: result
: no
" >&5
6739 echo "${ECHO_T}no
" >&6
6743 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6745 set dummy ${ncn_progname}; ac_word=$2
6746 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6747 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6748 if test "${ac_cv_prog_LD+set}" = set; then
6749 echo $ECHO_N "(cached
) $ECHO_C" >&6
6751 if test -n "$LD"; then
6752 ac_cv_prog_LD="$LD" # Let the user override the test.
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6761 ac_cv_prog_LD="${ncn_progname}"
6762 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6771 if test -n "$LD"; then
6772 echo "$as_me:$LINENO: result
: $LD" >&5
6773 echo "${ECHO_T}$LD" >&6
6775 echo "$as_me:$LINENO: result
: no
" >&5
6776 echo "${ECHO_T}no
" >&6
6780 test -n "$ac_cv_prog_LD" && break
6783 if test -z "$ac_cv_prog_LD" ; then
6785 if test $build = $host ; then
6788 LD="${ncn_tool_prefix}$2"
6794 if test -n "$LIPO"; then
6795 ac_cv_prog_LIPO=$LIPO
6796 elif test -n "$ac_cv_prog_LIPO"; then
6797 LIPO=$ac_cv_prog_LIPO
6800 if test -n "$ac_cv_prog_LIPO"; then
6801 for ncn_progname in lipo; do
6802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6803 set dummy ${ncn_progname}; ac_word=$2
6804 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6805 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6806 if test "${ac_cv_prog_LIPO+set}" = set; then
6807 echo $ECHO_N "(cached
) $ECHO_C" >&6
6809 if test -n "$LIPO"; then
6810 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_LIPO="${ncn_progname}"
6820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6828 LIPO=$ac_cv_prog_LIPO
6829 if test -n "$LIPO"; then
6830 echo "$as_me:$LINENO: result
: $LIPO" >&5
6831 echo "${ECHO_T}$LIPO" >&6
6833 echo "$as_me:$LINENO: result
: no
" >&5
6834 echo "${ECHO_T}no
" >&6
6840 for ncn_progname in lipo; do
6841 if test -n "$ncn_tool_prefix"; then
6842 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6843 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6844 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6845 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6846 if test "${ac_cv_prog_LIPO+set}" = set; then
6847 echo $ECHO_N "(cached
) $ECHO_C" >&6
6849 if test -n "$LIPO"; then
6850 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6860 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6868 LIPO=$ac_cv_prog_LIPO
6869 if test -n "$LIPO"; then
6870 echo "$as_me:$LINENO: result
: $LIPO" >&5
6871 echo "${ECHO_T}$LIPO" >&6
6873 echo "$as_me:$LINENO: result
: no
" >&5
6874 echo "${ECHO_T}no
" >&6
6878 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6879 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6880 set dummy ${ncn_progname}; ac_word=$2
6881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6883 if test "${ac_cv_prog_LIPO+set}" = set; then
6884 echo $ECHO_N "(cached
) $ECHO_C" >&6
6886 if test -n "$LIPO"; then
6887 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_LIPO="${ncn_progname}"
6897 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6905 LIPO=$ac_cv_prog_LIPO
6906 if test -n "$LIPO"; then
6907 echo "$as_me:$LINENO: result
: $LIPO" >&5
6908 echo "${ECHO_T}$LIPO" >&6
6910 echo "$as_me:$LINENO: result
: no
" >&5
6911 echo "${ECHO_T}no
" >&6
6915 test -n "$ac_cv_prog_LIPO" && break
6918 if test -z "$ac_cv_prog_LIPO" ; then
6920 if test $build = $host ; then
6923 LIPO="${ncn_tool_prefix}$2"
6929 if test -n "$NM"; then
6931 elif test -n "$ac_cv_prog_NM"; then
6935 if test -n "$ac_cv_prog_NM"; then
6936 for ncn_progname in nm; do
6937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6938 set dummy ${ncn_progname}; ac_word=$2
6939 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6940 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6941 if test "${ac_cv_prog_NM+set}" = set; then
6942 echo $ECHO_N "(cached
) $ECHO_C" >&6
6944 if test -n "$NM"; then
6945 ac_cv_prog_NM="$NM" # Let the user override the test.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_NM="${ncn_progname}"
6955 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6964 if test -n "$NM"; then
6965 echo "$as_me:$LINENO: result
: $NM" >&5
6966 echo "${ECHO_T}$NM" >&6
6968 echo "$as_me:$LINENO: result
: no
" >&5
6969 echo "${ECHO_T}no
" >&6
6975 for ncn_progname in nm; do
6976 if test -n "$ncn_tool_prefix"; then
6977 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6978 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6981 if test "${ac_cv_prog_NM+set}" = set; then
6982 echo $ECHO_N "(cached
) $ECHO_C" >&6
6984 if test -n "$NM"; then
6985 ac_cv_prog_NM="$NM" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
6995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7004 if test -n "$NM"; then
7005 echo "$as_me:$LINENO: result
: $NM" >&5
7006 echo "${ECHO_T}$NM" >&6
7008 echo "$as_me:$LINENO: result
: no
" >&5
7009 echo "${ECHO_T}no
" >&6
7013 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7014 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7015 set dummy ${ncn_progname}; ac_word=$2
7016 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7017 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7018 if test "${ac_cv_prog_NM+set}" = set; then
7019 echo $ECHO_N "(cached
) $ECHO_C" >&6
7021 if test -n "$NM"; then
7022 ac_cv_prog_NM="$NM" # Let the user override the test.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_NM="${ncn_progname}"
7032 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7041 if test -n "$NM"; then
7042 echo "$as_me:$LINENO: result
: $NM" >&5
7043 echo "${ECHO_T}$NM" >&6
7045 echo "$as_me:$LINENO: result
: no
" >&5
7046 echo "${ECHO_T}no
" >&6
7050 test -n "$ac_cv_prog_NM" && break
7053 if test -z "$ac_cv_prog_NM" ; then
7055 if test $build = $host ; then
7058 NM="${ncn_tool_prefix}$2"
7064 if test -n "$RANLIB"; then
7065 ac_cv_prog_RANLIB=$RANLIB
7066 elif test -n "$ac_cv_prog_RANLIB"; then
7067 RANLIB=$ac_cv_prog_RANLIB
7070 if test -n "$ac_cv_prog_RANLIB"; then
7071 for ncn_progname in ranlib; do
7072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7073 set dummy ${ncn_progname}; ac_word=$2
7074 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7075 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7076 if test "${ac_cv_prog_RANLIB+set}" = set; then
7077 echo $ECHO_N "(cached
) $ECHO_C" >&6
7079 if test -n "$RANLIB"; then
7080 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 test -z "$as_dir" && as_dir=.
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7089 ac_cv_prog_RANLIB="${ncn_progname}"
7090 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7098 RANLIB=$ac_cv_prog_RANLIB
7099 if test -n "$RANLIB"; then
7100 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7101 echo "${ECHO_T}$RANLIB" >&6
7103 echo "$as_me:$LINENO: result
: no
" >&5
7104 echo "${ECHO_T}no
" >&6
7110 for ncn_progname in ranlib; do
7111 if test -n "$ncn_tool_prefix"; then
7112 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7113 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7114 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7115 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7116 if test "${ac_cv_prog_RANLIB+set}" = set; then
7117 echo $ECHO_N "(cached
) $ECHO_C" >&6
7119 if test -n "$RANLIB"; then
7120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7130 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7138 RANLIB=$ac_cv_prog_RANLIB
7139 if test -n "$RANLIB"; then
7140 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7141 echo "${ECHO_T}$RANLIB" >&6
7143 echo "$as_me:$LINENO: result
: no
" >&5
7144 echo "${ECHO_T}no
" >&6
7148 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7150 set dummy ${ncn_progname}; ac_word=$2
7151 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7152 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7153 if test "${ac_cv_prog_RANLIB+set}" = set; then
7154 echo $ECHO_N "(cached
) $ECHO_C" >&6
7156 if test -n "$RANLIB"; then
7157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir=.
7164 for ac_exec_ext in '' $ac_executable_extensions; do
7165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7166 ac_cv_prog_RANLIB="${ncn_progname}"
7167 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7175 RANLIB=$ac_cv_prog_RANLIB
7176 if test -n "$RANLIB"; then
7177 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7178 echo "${ECHO_T}$RANLIB" >&6
7180 echo "$as_me:$LINENO: result
: no
" >&5
7181 echo "${ECHO_T}no
" >&6
7185 test -n "$ac_cv_prog_RANLIB" && break
7188 if test -z "$ac_cv_prog_RANLIB" ; then
7194 if test -n "$STRIP"; then
7195 ac_cv_prog_STRIP=$STRIP
7196 elif test -n "$ac_cv_prog_STRIP"; then
7197 STRIP=$ac_cv_prog_STRIP
7200 if test -n "$ac_cv_prog_STRIP"; then
7201 for ncn_progname in strip; do
7202 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7203 set dummy ${ncn_progname}; ac_word=$2
7204 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7205 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7206 if test "${ac_cv_prog_STRIP+set}" = set; then
7207 echo $ECHO_N "(cached
) $ECHO_C" >&6
7209 if test -n "$STRIP"; then
7210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_STRIP="${ncn_progname}"
7220 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7228 STRIP=$ac_cv_prog_STRIP
7229 if test -n "$STRIP"; then
7230 echo "$as_me:$LINENO: result
: $STRIP" >&5
7231 echo "${ECHO_T}$STRIP" >&6
7233 echo "$as_me:$LINENO: result
: no
" >&5
7234 echo "${ECHO_T}no
" >&6
7240 for ncn_progname in strip; do
7241 if test -n "$ncn_tool_prefix"; then
7242 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7243 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7244 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7245 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7246 if test "${ac_cv_prog_STRIP+set}" = set; then
7247 echo $ECHO_N "(cached
) $ECHO_C" >&6
7249 if test -n "$STRIP"; then
7250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7260 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7268 STRIP=$ac_cv_prog_STRIP
7269 if test -n "$STRIP"; then
7270 echo "$as_me:$LINENO: result
: $STRIP" >&5
7271 echo "${ECHO_T}$STRIP" >&6
7273 echo "$as_me:$LINENO: result
: no
" >&5
7274 echo "${ECHO_T}no
" >&6
7278 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7280 set dummy ${ncn_progname}; ac_word=$2
7281 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7283 if test "${ac_cv_prog_STRIP+set}" = set; then
7284 echo $ECHO_N "(cached
) $ECHO_C" >&6
7286 if test -n "$STRIP"; then
7287 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7296 ac_cv_prog_STRIP="${ncn_progname}"
7297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7305 STRIP=$ac_cv_prog_STRIP
7306 if test -n "$STRIP"; then
7307 echo "$as_me:$LINENO: result
: $STRIP" >&5
7308 echo "${ECHO_T}$STRIP" >&6
7310 echo "$as_me:$LINENO: result
: no
" >&5
7311 echo "${ECHO_T}no
" >&6
7315 test -n "$ac_cv_prog_STRIP" && break
7318 if test -z "$ac_cv_prog_STRIP" ; then
7324 if test -n "$WINDRES"; then
7325 ac_cv_prog_WINDRES=$WINDRES
7326 elif test -n "$ac_cv_prog_WINDRES"; then
7327 WINDRES=$ac_cv_prog_WINDRES
7330 if test -n "$ac_cv_prog_WINDRES"; then
7331 for ncn_progname in windres; do
7332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7333 set dummy ${ncn_progname}; ac_word=$2
7334 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7335 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7336 if test "${ac_cv_prog_WINDRES+set}" = set; then
7337 echo $ECHO_N "(cached
) $ECHO_C" >&6
7339 if test -n "$WINDRES"; then
7340 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7349 ac_cv_prog_WINDRES="${ncn_progname}"
7350 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7358 WINDRES=$ac_cv_prog_WINDRES
7359 if test -n "$WINDRES"; then
7360 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7361 echo "${ECHO_T}$WINDRES" >&6
7363 echo "$as_me:$LINENO: result
: no
" >&5
7364 echo "${ECHO_T}no
" >&6
7370 for ncn_progname in windres; do
7371 if test -n "$ncn_tool_prefix"; then
7372 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7373 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7374 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7376 if test "${ac_cv_prog_WINDRES+set}" = set; then
7377 echo $ECHO_N "(cached
) $ECHO_C" >&6
7379 if test -n "$WINDRES"; then
7380 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7390 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7398 WINDRES=$ac_cv_prog_WINDRES
7399 if test -n "$WINDRES"; then
7400 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7401 echo "${ECHO_T}$WINDRES" >&6
7403 echo "$as_me:$LINENO: result
: no
" >&5
7404 echo "${ECHO_T}no
" >&6
7408 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7410 set dummy ${ncn_progname}; ac_word=$2
7411 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7412 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7413 if test "${ac_cv_prog_WINDRES+set}" = set; then
7414 echo $ECHO_N "(cached
) $ECHO_C" >&6
7416 if test -n "$WINDRES"; then
7417 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_WINDRES="${ncn_progname}"
7427 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7435 WINDRES=$ac_cv_prog_WINDRES
7436 if test -n "$WINDRES"; then
7437 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7438 echo "${ECHO_T}$WINDRES" >&6
7440 echo "$as_me:$LINENO: result
: no
" >&5
7441 echo "${ECHO_T}no
" >&6
7445 test -n "$ac_cv_prog_WINDRES" && break
7448 if test -z "$ac_cv_prog_WINDRES" ; then
7450 if test $build = $host ; then
7453 WINDRES="${ncn_tool_prefix}$2"
7459 if test -n "$WINDMC"; then
7460 ac_cv_prog_WINDMC=$WINDMC
7461 elif test -n "$ac_cv_prog_WINDMC"; then
7462 WINDMC=$ac_cv_prog_WINDMC
7465 if test -n "$ac_cv_prog_WINDMC"; then
7466 for ncn_progname in windmc; do
7467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7468 set dummy ${ncn_progname}; ac_word=$2
7469 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7470 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7471 if test "${ac_cv_prog_WINDMC+set}" = set; then
7472 echo $ECHO_N "(cached
) $ECHO_C" >&6
7474 if test -n "$WINDMC"; then
7475 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_WINDMC="${ncn_progname}"
7485 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7493 WINDMC=$ac_cv_prog_WINDMC
7494 if test -n "$WINDMC"; then
7495 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7496 echo "${ECHO_T}$WINDMC" >&6
7498 echo "$as_me:$LINENO: result
: no
" >&5
7499 echo "${ECHO_T}no
" >&6
7505 for ncn_progname in windmc; do
7506 if test -n "$ncn_tool_prefix"; then
7507 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7508 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7509 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7510 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7511 if test "${ac_cv_prog_WINDMC+set}" = set; then
7512 echo $ECHO_N "(cached
) $ECHO_C" >&6
7514 if test -n "$WINDMC"; then
7515 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7524 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7525 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7533 WINDMC=$ac_cv_prog_WINDMC
7534 if test -n "$WINDMC"; then
7535 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7536 echo "${ECHO_T}$WINDMC" >&6
7538 echo "$as_me:$LINENO: result
: no
" >&5
7539 echo "${ECHO_T}no
" >&6
7543 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7545 set dummy ${ncn_progname}; ac_word=$2
7546 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7548 if test "${ac_cv_prog_WINDMC+set}" = set; then
7549 echo $ECHO_N "(cached
) $ECHO_C" >&6
7551 if test -n "$WINDMC"; then
7552 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_WINDMC="${ncn_progname}"
7562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7570 WINDMC=$ac_cv_prog_WINDMC
7571 if test -n "$WINDMC"; then
7572 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7573 echo "${ECHO_T}$WINDMC" >&6
7575 echo "$as_me:$LINENO: result
: no
" >&5
7576 echo "${ECHO_T}no
" >&6
7580 test -n "$ac_cv_prog_WINDMC" && break
7583 if test -z "$ac_cv_prog_WINDMC" ; then
7585 if test $build = $host ; then
7588 WINDMC="${ncn_tool_prefix}$2"
7594 if test -n "$OBJCOPY"; then
7595 ac_cv_prog_OBJCOPY=$OBJCOPY
7596 elif test -n "$ac_cv_prog_OBJCOPY"; then
7597 OBJCOPY=$ac_cv_prog_OBJCOPY
7600 if test -n "$ac_cv_prog_OBJCOPY"; then
7601 for ncn_progname in objcopy; do
7602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7603 set dummy ${ncn_progname}; ac_word=$2
7604 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7605 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7606 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7607 echo $ECHO_N "(cached
) $ECHO_C" >&6
7609 if test -n "$OBJCOPY"; then
7610 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_OBJCOPY="${ncn_progname}"
7620 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7628 OBJCOPY=$ac_cv_prog_OBJCOPY
7629 if test -n "$OBJCOPY"; then
7630 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7631 echo "${ECHO_T}$OBJCOPY" >&6
7633 echo "$as_me:$LINENO: result
: no
" >&5
7634 echo "${ECHO_T}no
" >&6
7640 for ncn_progname in objcopy; do
7641 if test -n "$ncn_tool_prefix"; then
7642 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7643 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7644 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7645 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7646 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7647 echo $ECHO_N "(cached
) $ECHO_C" >&6
7649 if test -n "$OBJCOPY"; then
7650 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7660 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7668 OBJCOPY=$ac_cv_prog_OBJCOPY
7669 if test -n "$OBJCOPY"; then
7670 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7671 echo "${ECHO_T}$OBJCOPY" >&6
7673 echo "$as_me:$LINENO: result
: no
" >&5
7674 echo "${ECHO_T}no
" >&6
7678 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7680 set dummy ${ncn_progname}; ac_word=$2
7681 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7682 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7683 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7684 echo $ECHO_N "(cached
) $ECHO_C" >&6
7686 if test -n "$OBJCOPY"; then
7687 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696 ac_cv_prog_OBJCOPY="${ncn_progname}"
7697 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 OBJCOPY=$ac_cv_prog_OBJCOPY
7706 if test -n "$OBJCOPY"; then
7707 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7708 echo "${ECHO_T}$OBJCOPY" >&6
7710 echo "$as_me:$LINENO: result
: no
" >&5
7711 echo "${ECHO_T}no
" >&6
7715 test -n "$ac_cv_prog_OBJCOPY" && break
7718 if test -z "$ac_cv_prog_OBJCOPY" ; then
7720 if test $build = $host ; then
7723 OBJCOPY="${ncn_tool_prefix}$2"
7729 if test -n "$OBJDUMP"; then
7730 ac_cv_prog_OBJDUMP=$OBJDUMP
7731 elif test -n "$ac_cv_prog_OBJDUMP"; then
7732 OBJDUMP=$ac_cv_prog_OBJDUMP
7735 if test -n "$ac_cv_prog_OBJDUMP"; then
7736 for ncn_progname in objdump; do
7737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7738 set dummy ${ncn_progname}; ac_word=$2
7739 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7740 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7741 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7742 echo $ECHO_N "(cached
) $ECHO_C" >&6
7744 if test -n "$OBJDUMP"; then
7745 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_OBJDUMP="${ncn_progname}"
7755 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7763 OBJDUMP=$ac_cv_prog_OBJDUMP
7764 if test -n "$OBJDUMP"; then
7765 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7766 echo "${ECHO_T}$OBJDUMP" >&6
7768 echo "$as_me:$LINENO: result
: no
" >&5
7769 echo "${ECHO_T}no
" >&6
7775 for ncn_progname in objdump; do
7776 if test -n "$ncn_tool_prefix"; then
7777 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7778 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7779 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7780 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7781 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7782 echo $ECHO_N "(cached
) $ECHO_C" >&6
7784 if test -n "$OBJDUMP"; then
7785 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7795 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7803 OBJDUMP=$ac_cv_prog_OBJDUMP
7804 if test -n "$OBJDUMP"; then
7805 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7806 echo "${ECHO_T}$OBJDUMP" >&6
7808 echo "$as_me:$LINENO: result
: no
" >&5
7809 echo "${ECHO_T}no
" >&6
7813 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7815 set dummy ${ncn_progname}; ac_word=$2
7816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7818 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7819 echo $ECHO_N "(cached
) $ECHO_C" >&6
7821 if test -n "$OBJDUMP"; then
7822 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_OBJDUMP="${ncn_progname}"
7832 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7840 OBJDUMP=$ac_cv_prog_OBJDUMP
7841 if test -n "$OBJDUMP"; then
7842 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7843 echo "${ECHO_T}$OBJDUMP" >&6
7845 echo "$as_me:$LINENO: result
: no
" >&5
7846 echo "${ECHO_T}no
" >&6
7850 test -n "$ac_cv_prog_OBJDUMP" && break
7853 if test -z "$ac_cv_prog_OBJDUMP" ; then
7855 if test $build = $host ; then
7858 OBJDUMP="${ncn_tool_prefix}$2"
7870 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7871 if test "${with_build_time_tools+set}" = set; then
7872 withval="$with_build_time_tools"
7876 with_build_time_tools=
7877 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7878 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7882 with_build_time_tools=
7887 if test -n "$CC_FOR_TARGET"; then
7888 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7889 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7890 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7893 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7894 for ncn_progname in cc gcc; do
7895 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7896 set dummy ${ncn_progname}; ac_word=$2
7897 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7899 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7900 echo $ECHO_N "(cached
) $ECHO_C" >&6
7902 if test -n "$CC_FOR_TARGET"; then
7903 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7913 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7922 if test -n "$CC_FOR_TARGET"; then
7923 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7924 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7926 echo "$as_me:$LINENO: result
: no
" >&5
7927 echo "${ECHO_T}no
" >&6
7933 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
7934 for ncn_progname in cc gcc; do
7935 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7936 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7937 if test -x $with_build_time_tools/${ncn_progname}; then
7938 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7939 echo "$as_me:$LINENO: result
: yes" >&5
7940 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result
: no
" >&5
7944 echo "${ECHO_T}no
" >&6
7949 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
7950 for ncn_progname in cc gcc; do
7951 if test -n "$ncn_target_tool_prefix"; then
7952 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7953 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7954 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7955 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7956 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7957 echo $ECHO_N "(cached
) $ECHO_C" >&6
7959 if test -n "$CC_FOR_TARGET"; then
7960 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7970 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7978 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7979 if test -n "$CC_FOR_TARGET"; then
7980 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7981 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7983 echo "$as_me:$LINENO: result
: no
" >&5
7984 echo "${ECHO_T}no
" >&6
7988 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
7989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7990 set dummy ${ncn_progname}; ac_word=$2
7991 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7992 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7993 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7994 echo $ECHO_N "(cached
) $ECHO_C" >&6
7996 if test -n "$CC_FOR_TARGET"; then
7997 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir=.
8004 for ac_exec_ext in '' $ac_executable_extensions; do
8005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8006 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8015 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8016 if test -n "$CC_FOR_TARGET"; then
8017 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8018 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8020 echo "$as_me:$LINENO: result
: no
" >&5
8021 echo "${ECHO_T}no
" >&6
8025 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8029 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8031 if test $build = $target ; then
8034 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8037 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8042 if test -n "$CXX_FOR_TARGET"; then
8043 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8044 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8045 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8048 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8049 for ncn_progname in c++ g++ cxx gxx; do
8050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8051 set dummy ${ncn_progname}; ac_word=$2
8052 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8053 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8054 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8055 echo $ECHO_N "(cached
) $ECHO_C" >&6
8057 if test -n "$CXX_FOR_TARGET"; then
8058 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8068 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8076 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8077 if test -n "$CXX_FOR_TARGET"; then
8078 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8079 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8081 echo "$as_me:$LINENO: result
: no
" >&5
8082 echo "${ECHO_T}no
" >&6
8088 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8089 for ncn_progname in c++ g++ cxx gxx; do
8090 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8091 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8092 if test -x $with_build_time_tools/${ncn_progname}; then
8093 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8094 echo "$as_me:$LINENO: result
: yes" >&5
8095 echo "${ECHO_T}yes" >&6
8098 echo "$as_me:$LINENO: result
: no
" >&5
8099 echo "${ECHO_T}no
" >&6
8104 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8105 for ncn_progname in c++ g++ cxx gxx; do
8106 if test -n "$ncn_target_tool_prefix"; then
8107 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8108 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8109 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8110 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8111 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8112 echo $ECHO_N "(cached
) $ECHO_C" >&6
8114 if test -n "$CXX_FOR_TARGET"; then
8115 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8125 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8133 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8134 if test -n "$CXX_FOR_TARGET"; then
8135 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8136 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8138 echo "$as_me:$LINENO: result
: no
" >&5
8139 echo "${ECHO_T}no
" >&6
8143 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8145 set dummy ${ncn_progname}; ac_word=$2
8146 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8147 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8148 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8149 echo $ECHO_N "(cached
) $ECHO_C" >&6
8151 if test -n "$CXX_FOR_TARGET"; then
8152 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8162 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8170 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8171 if test -n "$CXX_FOR_TARGET"; then
8172 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8173 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8175 echo "$as_me:$LINENO: result
: no
" >&5
8176 echo "${ECHO_T}no
" >&6
8180 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8184 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8185 set dummy c++ g++ cxx gxx
8186 if test $build = $target ; then
8189 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8192 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8197 if test -n "$GCC_FOR_TARGET"; then
8198 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8199 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8200 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8203 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8204 for ncn_progname in gcc; do
8205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8206 set dummy ${ncn_progname}; ac_word=$2
8207 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8208 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8209 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8210 echo $ECHO_N "(cached
) $ECHO_C" >&6
8212 if test -n "$GCC_FOR_TARGET"; then
8213 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8223 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8231 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8232 if test -n "$GCC_FOR_TARGET"; then
8233 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8234 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8236 echo "$as_me:$LINENO: result
: no
" >&5
8237 echo "${ECHO_T}no
" >&6
8243 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8244 for ncn_progname in gcc; do
8245 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8246 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8247 if test -x $with_build_time_tools/${ncn_progname}; then
8248 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8249 echo "$as_me:$LINENO: result
: yes" >&5
8250 echo "${ECHO_T}yes" >&6
8253 echo "$as_me:$LINENO: result
: no
" >&5
8254 echo "${ECHO_T}no
" >&6
8259 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8260 for ncn_progname in gcc; do
8261 if test -n "$ncn_target_tool_prefix"; then
8262 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8263 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8264 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8265 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8266 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8267 echo $ECHO_N "(cached
) $ECHO_C" >&6
8269 if test -n "$GCC_FOR_TARGET"; then
8270 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8288 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8289 if test -n "$GCC_FOR_TARGET"; then
8290 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8291 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8293 echo "$as_me:$LINENO: result
: no
" >&5
8294 echo "${ECHO_T}no
" >&6
8298 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8300 set dummy ${ncn_progname}; ac_word=$2
8301 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8303 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8304 echo $ECHO_N "(cached
) $ECHO_C" >&6
8306 if test -n "$GCC_FOR_TARGET"; then
8307 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir=.
8314 for ac_exec_ext in '' $ac_executable_extensions; do
8315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8316 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8325 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8326 if test -n "$GCC_FOR_TARGET"; then
8327 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8328 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8330 echo "$as_me:$LINENO: result
: no
" >&5
8331 echo "${ECHO_T}no
" >&6
8335 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8339 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8340 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8342 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8347 if test -n "$GCJ_FOR_TARGET"; then
8348 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8349 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8350 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8353 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8354 for ncn_progname in gcj; do
8355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8356 set dummy ${ncn_progname}; ac_word=$2
8357 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8359 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8360 echo $ECHO_N "(cached
) $ECHO_C" >&6
8362 if test -n "$GCJ_FOR_TARGET"; then
8363 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8381 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8382 if test -n "$GCJ_FOR_TARGET"; then
8383 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8384 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8386 echo "$as_me:$LINENO: result
: no
" >&5
8387 echo "${ECHO_T}no
" >&6
8393 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8394 for ncn_progname in gcj; do
8395 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8396 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8397 if test -x $with_build_time_tools/${ncn_progname}; then
8398 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8399 echo "$as_me:$LINENO: result
: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result
: no
" >&5
8404 echo "${ECHO_T}no
" >&6
8409 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8410 for ncn_progname in gcj; do
8411 if test -n "$ncn_target_tool_prefix"; then
8412 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8413 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8414 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8415 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8416 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8417 echo $ECHO_N "(cached
) $ECHO_C" >&6
8419 if test -n "$GCJ_FOR_TARGET"; then
8420 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8430 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8438 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8439 if test -n "$GCJ_FOR_TARGET"; then
8440 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8441 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8443 echo "$as_me:$LINENO: result
: no
" >&5
8444 echo "${ECHO_T}no
" >&6
8448 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8450 set dummy ${ncn_progname}; ac_word=$2
8451 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8452 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8453 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8454 echo $ECHO_N "(cached
) $ECHO_C" >&6
8456 if test -n "$GCJ_FOR_TARGET"; then
8457 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir=.
8464 for ac_exec_ext in '' $ac_executable_extensions; do
8465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8466 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8467 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8475 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8476 if test -n "$GCJ_FOR_TARGET"; then
8477 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8478 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8480 echo "$as_me:$LINENO: result
: no
" >&5
8481 echo "${ECHO_T}no
" >&6
8485 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8489 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8491 if test $build = $target ; then
8494 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8497 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8502 if test -n "$GFORTRAN_FOR_TARGET"; then
8503 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8504 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8505 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8508 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8509 for ncn_progname in gfortran; do
8510 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8511 set dummy ${ncn_progname}; ac_word=$2
8512 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8513 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8514 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8515 echo $ECHO_N "(cached
) $ECHO_C" >&6
8517 if test -n "$GFORTRAN_FOR_TARGET"; then
8518 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8527 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8528 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8536 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8537 if test -n "$GFORTRAN_FOR_TARGET"; then
8538 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8539 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8541 echo "$as_me:$LINENO: result
: no
" >&5
8542 echo "${ECHO_T}no
" >&6
8548 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8549 for ncn_progname in gfortran; do
8550 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8551 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8552 if test -x $with_build_time_tools/${ncn_progname}; then
8553 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8554 echo "$as_me:$LINENO: result
: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result
: no
" >&5
8559 echo "${ECHO_T}no
" >&6
8564 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8565 for ncn_progname in gfortran; do
8566 if test -n "$ncn_target_tool_prefix"; then
8567 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8568 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8569 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8571 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8572 echo $ECHO_N "(cached
) $ECHO_C" >&6
8574 if test -n "$GFORTRAN_FOR_TARGET"; then
8575 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir=.
8582 for ac_exec_ext in '' $ac_executable_extensions; do
8583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8584 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8593 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8594 if test -n "$GFORTRAN_FOR_TARGET"; then
8595 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8596 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8598 echo "$as_me:$LINENO: result
: no
" >&5
8599 echo "${ECHO_T}no
" >&6
8603 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8604 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8605 set dummy ${ncn_progname}; ac_word=$2
8606 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8608 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8609 echo $ECHO_N "(cached
) $ECHO_C" >&6
8611 if test -n "$GFORTRAN_FOR_TARGET"; then
8612 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618 test -z "$as_dir" && as_dir=.
8619 for ac_exec_ext in '' $ac_executable_extensions; do
8620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8621 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8622 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8630 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8631 if test -n "$GFORTRAN_FOR_TARGET"; then
8632 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8633 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8635 echo "$as_me:$LINENO: result
: no
" >&5
8636 echo "${ECHO_T}no
" >&6
8640 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8644 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8646 if test $build = $target ; then
8647 GFORTRAN_FOR_TARGET="$2"
8649 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8652 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8657 cat > conftest.c << \EOF
8662 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8663 have_gcc_for_target=yes
8665 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8666 have_gcc_for_target=no
8673 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8674 if test -n "$with_build_time_tools"; then
8675 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8676 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8677 if test -x $with_build_time_tools/ar; then
8678 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8679 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8680 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8681 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8683 echo "$as_me:$LINENO: result
: no
" >&5
8684 echo "${ECHO_T}no
" >&6
8686 elif test $build != $host && test $have_gcc_for_target = yes; then
8687 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8688 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8689 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8692 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8693 # Extract the first word of "ar", so it can be a program name with args.
8694 set dummy ar; ac_word=$2
8695 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8697 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8698 echo $ECHO_N "(cached
) $ECHO_C" >&6
8700 case $AR_FOR_TARGET in
8702 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706 for as_dir in $gcc_cv_tool_dirs
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8713 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8722 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8724 if test -n "$AR_FOR_TARGET"; then
8725 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8726 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8728 echo "$as_me:$LINENO: result
: no
" >&5
8729 echo "${ECHO_T}no
" >&6
8733 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8736 if test -n "$AR_FOR_TARGET"; then
8737 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8738 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8739 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8742 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8743 for ncn_progname in ar; do
8744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8745 set dummy ${ncn_progname}; ac_word=$2
8746 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8747 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8748 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8749 echo $ECHO_N "(cached
) $ECHO_C" >&6
8751 if test -n "$AR_FOR_TARGET"; then
8752 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8762 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8770 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8771 if test -n "$AR_FOR_TARGET"; then
8772 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8773 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8775 echo "$as_me:$LINENO: result
: no
" >&5
8776 echo "${ECHO_T}no
" >&6
8782 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8783 for ncn_progname in ar; do
8784 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8785 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8786 if test -x $with_build_time_tools/${ncn_progname}; then
8787 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8788 echo "$as_me:$LINENO: result
: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: result
: no
" >&5
8793 echo "${ECHO_T}no
" >&6
8798 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8799 for ncn_progname in ar; do
8800 if test -n "$ncn_target_tool_prefix"; then
8801 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8802 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8803 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8804 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8805 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8806 echo $ECHO_N "(cached
) $ECHO_C" >&6
8808 if test -n "$AR_FOR_TARGET"; then
8809 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8815 test -z "$as_dir" && as_dir=.
8816 for ac_exec_ext in '' $ac_executable_extensions; do
8817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8818 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8819 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8827 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8828 if test -n "$AR_FOR_TARGET"; then
8829 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8830 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8832 echo "$as_me:$LINENO: result
: no
" >&5
8833 echo "${ECHO_T}no
" >&6
8837 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8838 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8839 set dummy ${ncn_progname}; ac_word=$2
8840 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8842 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8843 echo $ECHO_N "(cached
) $ECHO_C" >&6
8845 if test -n "$AR_FOR_TARGET"; then
8846 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8856 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8864 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8865 if test -n "$AR_FOR_TARGET"; then
8866 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8867 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8869 echo "$as_me:$LINENO: result
: no
" >&5
8870 echo "${ECHO_T}no
" >&6
8874 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8878 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8880 if test $build = $target ; then
8883 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8886 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
8890 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8896 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8897 if test -n "$with_build_time_tools"; then
8898 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
8899 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
8900 if test -x $with_build_time_tools/as; then
8901 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
8902 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8903 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
8904 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
8906 echo "$as_me:$LINENO: result
: no
" >&5
8907 echo "${ECHO_T}no
" >&6
8909 elif test $build != $host && test $have_gcc_for_target = yes; then
8910 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
8911 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
8912 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8915 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8916 # Extract the first word of "as
", so it can be a program name with args.
8917 set dummy as; ac_word=$2
8918 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8919 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8920 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
8921 echo $ECHO_N "(cached
) $ECHO_C" >&6
8923 case $AS_FOR_TARGET in
8925 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
8928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 for as_dir in $gcc_cv_tool_dirs
8932 test -z "$as_dir" && as_dir=.
8933 for ac_exec_ext in '' $ac_executable_extensions; do
8934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8935 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8936 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8945 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8947 if test -n "$AS_FOR_TARGET"; then
8948 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8949 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8951 echo "$as_me:$LINENO: result
: no
" >&5
8952 echo "${ECHO_T}no
" >&6
8956 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8959 if test -n "$AS_FOR_TARGET"; then
8960 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
8961 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8962 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8965 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8966 for ncn_progname in as; do
8967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8968 set dummy ${ncn_progname}; ac_word=$2
8969 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8970 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8971 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8972 echo $ECHO_N "(cached
) $ECHO_C" >&6
8974 if test -n "$AS_FOR_TARGET"; then
8975 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8984 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8985 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8993 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8994 if test -n "$AS_FOR_TARGET"; then
8995 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8996 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8998 echo "$as_me:$LINENO: result
: no
" >&5
8999 echo "${ECHO_T}no
" >&6
9005 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9006 for ncn_progname in as; do
9007 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9008 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9009 if test -x $with_build_time_tools/${ncn_progname}; then
9010 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9011 echo "$as_me:$LINENO: result
: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9015 echo "$as_me:$LINENO: result
: no
" >&5
9016 echo "${ECHO_T}no
" >&6
9021 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9022 for ncn_progname in as; do
9023 if test -n "$ncn_target_tool_prefix"; then
9024 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9025 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9026 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9027 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9028 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9029 echo $ECHO_N "(cached
) $ECHO_C" >&6
9031 if test -n "$AS_FOR_TARGET"; then
9032 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9038 test -z "$as_dir" && as_dir=.
9039 for ac_exec_ext in '' $ac_executable_extensions; do
9040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9041 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9042 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9050 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9051 if test -n "$AS_FOR_TARGET"; then
9052 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9053 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9055 echo "$as_me:$LINENO: result
: no
" >&5
9056 echo "${ECHO_T}no
" >&6
9060 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9061 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9062 set dummy ${ncn_progname}; ac_word=$2
9063 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9064 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9065 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9066 echo $ECHO_N "(cached
) $ECHO_C" >&6
9068 if test -n "$AS_FOR_TARGET"; then
9069 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir=.
9076 for ac_exec_ext in '' $ac_executable_extensions; do
9077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9078 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9079 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9087 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9088 if test -n "$AS_FOR_TARGET"; then
9089 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9090 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9092 echo "$as_me:$LINENO: result
: no
" >&5
9093 echo "${ECHO_T}no
" >&6
9097 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9101 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9103 if test $build = $target ; then
9106 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9109 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9113 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9119 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9120 if test -n "$with_build_time_tools"; then
9121 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9122 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9123 if test -x $with_build_time_tools/dlltool; then
9124 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9125 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9126 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9127 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9129 echo "$as_me:$LINENO: result
: no
" >&5
9130 echo "${ECHO_T}no
" >&6
9132 elif test $build != $host && test $have_gcc_for_target = yes; then
9133 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9134 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9135 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9138 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9139 # Extract the first word of "dlltool
", so it can be a program name with args.
9140 set dummy dlltool; ac_word=$2
9141 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9142 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9143 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9144 echo $ECHO_N "(cached
) $ECHO_C" >&6
9146 case $DLLTOOL_FOR_TARGET in
9148 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 for as_dir in $gcc_cv_tool_dirs
9155 test -z "$as_dir" && as_dir=.
9156 for ac_exec_ext in '' $ac_executable_extensions; do
9157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9158 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9159 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9168 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9170 if test -n "$DLLTOOL_FOR_TARGET"; then
9171 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9172 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9174 echo "$as_me:$LINENO: result
: no
" >&5
9175 echo "${ECHO_T}no
" >&6
9179 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9182 if test -n "$DLLTOOL_FOR_TARGET"; then
9183 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9184 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9185 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9188 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9189 for ncn_progname in dlltool; do
9190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9191 set dummy ${ncn_progname}; ac_word=$2
9192 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9194 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9195 echo $ECHO_N "(cached
) $ECHO_C" >&6
9197 if test -n "$DLLTOOL_FOR_TARGET"; then
9198 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9204 test -z "$as_dir" && as_dir=.
9205 for ac_exec_ext in '' $ac_executable_extensions; do
9206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9207 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9208 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9216 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9217 if test -n "$DLLTOOL_FOR_TARGET"; then
9218 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9219 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9221 echo "$as_me:$LINENO: result
: no
" >&5
9222 echo "${ECHO_T}no
" >&6
9228 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9229 for ncn_progname in dlltool; do
9230 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9231 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9232 if test -x $with_build_time_tools/${ncn_progname}; then
9233 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9234 echo "$as_me:$LINENO: result
: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9238 echo "$as_me:$LINENO: result
: no
" >&5
9239 echo "${ECHO_T}no
" >&6
9244 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9245 for ncn_progname in dlltool; do
9246 if test -n "$ncn_target_tool_prefix"; then
9247 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9248 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9251 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9252 echo $ECHO_N "(cached
) $ECHO_C" >&6
9254 if test -n "$DLLTOOL_FOR_TARGET"; then
9255 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9264 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9273 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9274 if test -n "$DLLTOOL_FOR_TARGET"; then
9275 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9276 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9278 echo "$as_me:$LINENO: result
: no
" >&5
9279 echo "${ECHO_T}no
" >&6
9283 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9285 set dummy ${ncn_progname}; ac_word=$2
9286 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9287 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9288 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9289 echo $ECHO_N "(cached
) $ECHO_C" >&6
9291 if test -n "$DLLTOOL_FOR_TARGET"; then
9292 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir=.
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9301 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9302 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9310 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9311 if test -n "$DLLTOOL_FOR_TARGET"; then
9312 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9313 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9315 echo "$as_me:$LINENO: result
: no
" >&5
9316 echo "${ECHO_T}no
" >&6
9320 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9324 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9326 if test $build = $target ; then
9327 DLLTOOL_FOR_TARGET="$2"
9329 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9332 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9336 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9342 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9343 if test -n "$with_build_time_tools"; then
9344 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9345 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9346 if test -x $with_build_time_tools/ld; then
9347 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9348 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9349 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9350 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9352 echo "$as_me:$LINENO: result
: no
" >&5
9353 echo "${ECHO_T}no
" >&6
9355 elif test $build != $host && test $have_gcc_for_target = yes; then
9356 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9357 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9358 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9361 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9362 # Extract the first word of "ld
", so it can be a program name with args.
9363 set dummy ld; ac_word=$2
9364 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9365 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9366 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9367 echo $ECHO_N "(cached
) $ECHO_C" >&6
9369 case $LD_FOR_TARGET in
9371 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9375 for as_dir in $gcc_cv_tool_dirs
9378 test -z "$as_dir" && as_dir=.
9379 for ac_exec_ext in '' $ac_executable_extensions; do
9380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9381 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9382 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9391 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9393 if test -n "$LD_FOR_TARGET"; then
9394 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9395 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9397 echo "$as_me:$LINENO: result
: no
" >&5
9398 echo "${ECHO_T}no
" >&6
9402 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9405 if test -n "$LD_FOR_TARGET"; then
9406 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9407 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9408 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9411 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9412 for ncn_progname in ld; do
9413 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9414 set dummy ${ncn_progname}; ac_word=$2
9415 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9417 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9418 echo $ECHO_N "(cached
) $ECHO_C" >&6
9420 if test -n "$LD_FOR_TARGET"; then
9421 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9427 test -z "$as_dir" && as_dir=.
9428 for ac_exec_ext in '' $ac_executable_extensions; do
9429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9430 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9431 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9439 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9440 if test -n "$LD_FOR_TARGET"; then
9441 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9442 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9444 echo "$as_me:$LINENO: result
: no
" >&5
9445 echo "${ECHO_T}no
" >&6
9451 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9452 for ncn_progname in ld; do
9453 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9454 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9455 if test -x $with_build_time_tools/${ncn_progname}; then
9456 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9457 echo "$as_me:$LINENO: result
: yes" >&5
9458 echo "${ECHO_T}yes" >&6
9461 echo "$as_me:$LINENO: result
: no
" >&5
9462 echo "${ECHO_T}no
" >&6
9467 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9468 for ncn_progname in ld; do
9469 if test -n "$ncn_target_tool_prefix"; then
9470 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9471 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9472 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9473 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9474 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9475 echo $ECHO_N "(cached
) $ECHO_C" >&6
9477 if test -n "$LD_FOR_TARGET"; then
9478 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9487 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9488 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9496 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9497 if test -n "$LD_FOR_TARGET"; then
9498 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9499 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9501 echo "$as_me:$LINENO: result
: no
" >&5
9502 echo "${ECHO_T}no
" >&6
9506 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9508 set dummy ${ncn_progname}; ac_word=$2
9509 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9510 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9511 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9512 echo $ECHO_N "(cached
) $ECHO_C" >&6
9514 if test -n "$LD_FOR_TARGET"; then
9515 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9521 test -z "$as_dir" && as_dir=.
9522 for ac_exec_ext in '' $ac_executable_extensions; do
9523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9524 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9525 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9533 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9534 if test -n "$LD_FOR_TARGET"; then
9535 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9536 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9538 echo "$as_me:$LINENO: result
: no
" >&5
9539 echo "${ECHO_T}no
" >&6
9543 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9547 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9549 if test $build = $target ; then
9552 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9555 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9559 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9565 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9566 if test -n "$with_build_time_tools"; then
9567 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9568 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9569 if test -x $with_build_time_tools/lipo; then
9570 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9571 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9572 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9573 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9575 echo "$as_me:$LINENO: result
: no
" >&5
9576 echo "${ECHO_T}no
" >&6
9578 elif test $build != $host && test $have_gcc_for_target = yes; then
9579 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9580 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9581 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9584 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9585 # Extract the first word of "lipo
", so it can be a program name with args.
9586 set dummy lipo; ac_word=$2
9587 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9588 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9589 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9590 echo $ECHO_N "(cached
) $ECHO_C" >&6
9592 case $LIPO_FOR_TARGET in
9594 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598 for as_dir in $gcc_cv_tool_dirs
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9604 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9605 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9614 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9616 if test -n "$LIPO_FOR_TARGET"; then
9617 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9618 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9620 echo "$as_me:$LINENO: result
: no
" >&5
9621 echo "${ECHO_T}no
" >&6
9625 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9628 if test -n "$LIPO_FOR_TARGET"; then
9629 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9630 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9631 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9634 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9635 for ncn_progname in lipo; do
9636 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9637 set dummy ${ncn_progname}; ac_word=$2
9638 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9639 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9640 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9641 echo $ECHO_N "(cached
) $ECHO_C" >&6
9643 if test -n "$LIPO_FOR_TARGET"; then
9644 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9653 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9654 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9662 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9663 if test -n "$LIPO_FOR_TARGET"; then
9664 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9665 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9667 echo "$as_me:$LINENO: result
: no
" >&5
9668 echo "${ECHO_T}no
" >&6
9674 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9675 for ncn_progname in lipo; do
9676 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9677 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9678 if test -x $with_build_time_tools/${ncn_progname}; then
9679 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9680 echo "$as_me:$LINENO: result
: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9684 echo "$as_me:$LINENO: result
: no
" >&5
9685 echo "${ECHO_T}no
" >&6
9690 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9691 for ncn_progname in lipo; do
9692 if test -n "$ncn_target_tool_prefix"; then
9693 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9694 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9695 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9697 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9698 echo $ECHO_N "(cached
) $ECHO_C" >&6
9700 if test -n "$LIPO_FOR_TARGET"; then
9701 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9707 test -z "$as_dir" && as_dir=.
9708 for ac_exec_ext in '' $ac_executable_extensions; do
9709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9710 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9711 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9719 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9720 if test -n "$LIPO_FOR_TARGET"; then
9721 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9722 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9724 echo "$as_me:$LINENO: result
: no
" >&5
9725 echo "${ECHO_T}no
" >&6
9729 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9731 set dummy ${ncn_progname}; ac_word=$2
9732 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9733 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9734 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9735 echo $ECHO_N "(cached
) $ECHO_C" >&6
9737 if test -n "$LIPO_FOR_TARGET"; then
9738 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir=.
9745 for ac_exec_ext in '' $ac_executable_extensions; do
9746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9747 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9748 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9756 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9757 if test -n "$LIPO_FOR_TARGET"; then
9758 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9759 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9761 echo "$as_me:$LINENO: result
: no
" >&5
9762 echo "${ECHO_T}no
" >&6
9766 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9770 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9772 if test $build = $target ; then
9773 LIPO_FOR_TARGET="$2"
9775 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9778 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9782 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9788 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9789 if test -n "$with_build_time_tools"; then
9790 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9791 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9792 if test -x $with_build_time_tools/nm; then
9793 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9794 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9795 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9796 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9798 echo "$as_me:$LINENO: result
: no
" >&5
9799 echo "${ECHO_T}no
" >&6
9801 elif test $build != $host && test $have_gcc_for_target = yes; then
9802 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9803 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
9804 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9807 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9808 # Extract the first word of "nm
", so it can be a program name with args.
9809 set dummy nm; ac_word=$2
9810 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9811 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9812 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9813 echo $ECHO_N "(cached
) $ECHO_C" >&6
9815 case $NM_FOR_TARGET in
9817 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 for as_dir in $gcc_cv_tool_dirs
9824 test -z "$as_dir" && as_dir=.
9825 for ac_exec_ext in '' $ac_executable_extensions; do
9826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9827 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9828 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9837 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9839 if test -n "$NM_FOR_TARGET"; then
9840 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9841 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9843 echo "$as_me:$LINENO: result
: no
" >&5
9844 echo "${ECHO_T}no
" >&6
9848 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9851 if test -n "$NM_FOR_TARGET"; then
9852 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9853 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9854 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9857 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9858 for ncn_progname in nm; do
9859 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9860 set dummy ${ncn_progname}; ac_word=$2
9861 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9862 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9863 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9864 echo $ECHO_N "(cached
) $ECHO_C" >&6
9866 if test -n "$NM_FOR_TARGET"; then
9867 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 test -z "$as_dir" && as_dir=.
9874 for ac_exec_ext in '' $ac_executable_extensions; do
9875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9876 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9877 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9885 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9886 if test -n "$NM_FOR_TARGET"; then
9887 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9888 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9890 echo "$as_me:$LINENO: result
: no
" >&5
9891 echo "${ECHO_T}no
" >&6
9897 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
9898 for ncn_progname in nm; do
9899 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9900 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9901 if test -x $with_build_time_tools/${ncn_progname}; then
9902 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9903 echo "$as_me:$LINENO: result
: yes" >&5
9904 echo "${ECHO_T}yes" >&6
9907 echo "$as_me:$LINENO: result
: no
" >&5
9908 echo "${ECHO_T}no
" >&6
9913 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
9914 for ncn_progname in nm; do
9915 if test -n "$ncn_target_tool_prefix"; then
9916 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9917 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9918 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9919 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9920 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9921 echo $ECHO_N "(cached
) $ECHO_C" >&6
9923 if test -n "$NM_FOR_TARGET"; then
9924 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir=.
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9934 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9942 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9943 if test -n "$NM_FOR_TARGET"; then
9944 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9945 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9947 echo "$as_me:$LINENO: result
: no
" >&5
9948 echo "${ECHO_T}no
" >&6
9952 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
9953 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9954 set dummy ${ncn_progname}; ac_word=$2
9955 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9956 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9957 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9958 echo $ECHO_N "(cached
) $ECHO_C" >&6
9960 if test -n "$NM_FOR_TARGET"; then
9961 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir=.
9968 for ac_exec_ext in '' $ac_executable_extensions; do
9969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9970 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9971 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9979 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9980 if test -n "$NM_FOR_TARGET"; then
9981 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9982 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9984 echo "$as_me:$LINENO: result
: no
" >&5
9985 echo "${ECHO_T}no
" >&6
9989 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
9993 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
9995 if test $build = $target ; then
9998 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10001 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10005 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10011 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10012 if test -n "$with_build_time_tools"; then
10013 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10014 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10015 if test -x $with_build_time_tools/objdump; then
10016 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10017 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10018 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10019 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10021 echo "$as_me:$LINENO: result
: no
" >&5
10022 echo "${ECHO_T}no
" >&6
10024 elif test $build != $host && test $have_gcc_for_target = yes; then
10025 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10026 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10027 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10030 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10031 # Extract the first word of "objdump
", so it can be a program name with args.
10032 set dummy objdump; ac_word=$2
10033 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10034 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10035 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10036 echo $ECHO_N "(cached
) $ECHO_C" >&6
10038 case $OBJDUMP_FOR_TARGET in
10040 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $gcc_cv_tool_dirs
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10051 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10060 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10062 if test -n "$OBJDUMP_FOR_TARGET"; then
10063 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10064 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10066 echo "$as_me:$LINENO: result
: no
" >&5
10067 echo "${ECHO_T}no
" >&6
10071 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10074 if test -n "$OBJDUMP_FOR_TARGET"; then
10075 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10076 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10077 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10080 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10081 for ncn_progname in objdump; do
10082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10083 set dummy ${ncn_progname}; ac_word=$2
10084 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10086 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10087 echo $ECHO_N "(cached
) $ECHO_C" >&6
10089 if test -n "$OBJDUMP_FOR_TARGET"; then
10090 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10093 for as_dir in $PATH
10096 test -z "$as_dir" && as_dir=.
10097 for ac_exec_ext in '' $ac_executable_extensions; do
10098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10099 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10108 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10109 if test -n "$OBJDUMP_FOR_TARGET"; then
10110 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10111 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10113 echo "$as_me:$LINENO: result
: no
" >&5
10114 echo "${ECHO_T}no
" >&6
10120 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10121 for ncn_progname in objdump; do
10122 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10123 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10124 if test -x $with_build_time_tools/${ncn_progname}; then
10125 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10126 echo "$as_me:$LINENO: result
: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result
: no
" >&5
10131 echo "${ECHO_T}no
" >&6
10136 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10137 for ncn_progname in objdump; do
10138 if test -n "$ncn_target_tool_prefix"; then
10139 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10140 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10141 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10142 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10143 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10144 echo $ECHO_N "(cached
) $ECHO_C" >&6
10146 if test -n "$OBJDUMP_FOR_TARGET"; then
10147 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10150 for as_dir in $PATH
10153 test -z "$as_dir" && as_dir=.
10154 for ac_exec_ext in '' $ac_executable_extensions; do
10155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10156 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10157 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10165 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10166 if test -n "$OBJDUMP_FOR_TARGET"; then
10167 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10168 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10170 echo "$as_me:$LINENO: result
: no
" >&5
10171 echo "${ECHO_T}no
" >&6
10175 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10177 set dummy ${ncn_progname}; ac_word=$2
10178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10180 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10181 echo $ECHO_N "(cached
) $ECHO_C" >&6
10183 if test -n "$OBJDUMP_FOR_TARGET"; then
10184 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187 for as_dir in $PATH
10190 test -z "$as_dir" && as_dir=.
10191 for ac_exec_ext in '' $ac_executable_extensions; do
10192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10202 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10203 if test -n "$OBJDUMP_FOR_TARGET"; then
10204 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10205 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10207 echo "$as_me:$LINENO: result
: no
" >&5
10208 echo "${ECHO_T}no
" >&6
10212 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10216 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10218 if test $build = $target ; then
10219 OBJDUMP_FOR_TARGET="$2"
10221 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10224 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10228 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10234 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10235 if test -n "$with_build_time_tools"; then
10236 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10237 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10238 if test -x $with_build_time_tools/ranlib; then
10239 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10240 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10241 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10242 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10244 echo "$as_me:$LINENO: result
: no
" >&5
10245 echo "${ECHO_T}no
" >&6
10247 elif test $build != $host && test $have_gcc_for_target = yes; then
10248 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10249 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10250 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10253 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10254 # Extract the first word of "ranlib
", so it can be a program name with args.
10255 set dummy ranlib; ac_word=$2
10256 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10257 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10258 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10259 echo $ECHO_N "(cached
) $ECHO_C" >&6
10261 case $RANLIB_FOR_TARGET in
10263 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10267 for as_dir in $gcc_cv_tool_dirs
10270 test -z "$as_dir" && as_dir=.
10271 for ac_exec_ext in '' $ac_executable_extensions; do
10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10274 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10283 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10285 if test -n "$RANLIB_FOR_TARGET"; then
10286 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10287 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10289 echo "$as_me:$LINENO: result
: no
" >&5
10290 echo "${ECHO_T}no
" >&6
10294 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10297 if test -n "$RANLIB_FOR_TARGET"; then
10298 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10299 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10300 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10303 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10304 for ncn_progname in ranlib; do
10305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10306 set dummy ${ncn_progname}; ac_word=$2
10307 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10309 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10310 echo $ECHO_N "(cached
) $ECHO_C" >&6
10312 if test -n "$RANLIB_FOR_TARGET"; then
10313 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10316 for as_dir in $PATH
10319 test -z "$as_dir" && as_dir=.
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10322 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10323 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10331 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10332 if test -n "$RANLIB_FOR_TARGET"; then
10333 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10334 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10336 echo "$as_me:$LINENO: result
: no
" >&5
10337 echo "${ECHO_T}no
" >&6
10343 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10344 for ncn_progname in ranlib; do
10345 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10346 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10347 if test -x $with_build_time_tools/${ncn_progname}; then
10348 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10349 echo "$as_me:$LINENO: result
: yes" >&5
10350 echo "${ECHO_T}yes" >&6
10353 echo "$as_me:$LINENO: result
: no
" >&5
10354 echo "${ECHO_T}no
" >&6
10359 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10360 for ncn_progname in ranlib; do
10361 if test -n "$ncn_target_tool_prefix"; then
10362 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10363 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10364 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10365 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10366 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10367 echo $ECHO_N "(cached
) $ECHO_C" >&6
10369 if test -n "$RANLIB_FOR_TARGET"; then
10370 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10376 test -z "$as_dir" && as_dir=.
10377 for ac_exec_ext in '' $ac_executable_extensions; do
10378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10379 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10380 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10388 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10389 if test -n "$RANLIB_FOR_TARGET"; then
10390 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10391 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10393 echo "$as_me:$LINENO: result
: no
" >&5
10394 echo "${ECHO_T}no
" >&6
10398 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10399 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10400 set dummy ${ncn_progname}; ac_word=$2
10401 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10402 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10403 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10404 echo $ECHO_N "(cached
) $ECHO_C" >&6
10406 if test -n "$RANLIB_FOR_TARGET"; then
10407 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10417 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10426 if test -n "$RANLIB_FOR_TARGET"; then
10427 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10428 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10430 echo "$as_me:$LINENO: result
: no
" >&5
10431 echo "${ECHO_T}no
" >&6
10435 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10439 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10441 if test $build = $target ; then
10442 RANLIB_FOR_TARGET="$2"
10444 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10447 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10451 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10457 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10458 if test -n "$with_build_time_tools"; then
10459 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10460 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10461 if test -x $with_build_time_tools/strip; then
10462 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10463 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10464 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10465 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10467 echo "$as_me:$LINENO: result
: no
" >&5
10468 echo "${ECHO_T}no
" >&6
10470 elif test $build != $host && test $have_gcc_for_target = yes; then
10471 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10472 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10473 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10476 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10477 # Extract the first word of "strip
", so it can be a program name with args.
10478 set dummy strip; ac_word=$2
10479 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10480 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10481 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10482 echo $ECHO_N "(cached
) $ECHO_C" >&6
10484 case $STRIP_FOR_TARGET in
10486 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $gcc_cv_tool_dirs
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10497 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10506 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10508 if test -n "$STRIP_FOR_TARGET"; then
10509 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10510 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10512 echo "$as_me:$LINENO: result
: no
" >&5
10513 echo "${ECHO_T}no
" >&6
10517 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10520 if test -n "$STRIP_FOR_TARGET"; then
10521 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10522 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10523 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10526 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10527 for ncn_progname in strip; do
10528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10529 set dummy ${ncn_progname}; ac_word=$2
10530 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10531 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10532 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10533 echo $ECHO_N "(cached
) $ECHO_C" >&6
10535 if test -n "$STRIP_FOR_TARGET"; then
10536 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10539 for as_dir in $PATH
10542 test -z "$as_dir" && as_dir=.
10543 for ac_exec_ext in '' $ac_executable_extensions; do
10544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10545 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10546 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10554 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10555 if test -n "$STRIP_FOR_TARGET"; then
10556 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10557 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10559 echo "$as_me:$LINENO: result
: no
" >&5
10560 echo "${ECHO_T}no
" >&6
10566 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10567 for ncn_progname in strip; do
10568 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10569 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10570 if test -x $with_build_time_tools/${ncn_progname}; then
10571 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10572 echo "$as_me:$LINENO: result
: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10576 echo "$as_me:$LINENO: result
: no
" >&5
10577 echo "${ECHO_T}no
" >&6
10582 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10583 for ncn_progname in strip; do
10584 if test -n "$ncn_target_tool_prefix"; then
10585 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10586 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10587 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10588 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10589 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10590 echo $ECHO_N "(cached
) $ECHO_C" >&6
10592 if test -n "$STRIP_FOR_TARGET"; then
10593 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10596 for as_dir in $PATH
10599 test -z "$as_dir" && as_dir=.
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10603 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10611 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10612 if test -n "$STRIP_FOR_TARGET"; then
10613 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10614 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10616 echo "$as_me:$LINENO: result
: no
" >&5
10617 echo "${ECHO_T}no
" >&6
10621 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10623 set dummy ${ncn_progname}; ac_word=$2
10624 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10625 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10626 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10627 echo $ECHO_N "(cached
) $ECHO_C" >&6
10629 if test -n "$STRIP_FOR_TARGET"; then
10630 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10633 for as_dir in $PATH
10636 test -z "$as_dir" && as_dir=.
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10640 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10648 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10649 if test -n "$STRIP_FOR_TARGET"; then
10650 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10651 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10653 echo "$as_me:$LINENO: result
: no
" >&5
10654 echo "${ECHO_T}no
" >&6
10658 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10662 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10664 if test $build = $target ; then
10665 STRIP_FOR_TARGET="$2"
10667 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10670 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10674 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10680 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10681 if test -n "$with_build_time_tools"; then
10682 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10683 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10684 if test -x $with_build_time_tools/windres; then
10685 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10686 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10687 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10688 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10690 echo "$as_me:$LINENO: result
: no
" >&5
10691 echo "${ECHO_T}no
" >&6
10693 elif test $build != $host && test $have_gcc_for_target = yes; then
10694 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10695 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10696 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10699 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10700 # Extract the first word of "windres
", so it can be a program name with args.
10701 set dummy windres; ac_word=$2
10702 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10703 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10704 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10705 echo $ECHO_N "(cached
) $ECHO_C" >&6
10707 case $WINDRES_FOR_TARGET in
10709 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10713 for as_dir in $gcc_cv_tool_dirs
10716 test -z "$as_dir" && as_dir=.
10717 for ac_exec_ext in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10720 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10729 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10731 if test -n "$WINDRES_FOR_TARGET"; then
10732 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10733 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10735 echo "$as_me:$LINENO: result
: no
" >&5
10736 echo "${ECHO_T}no
" >&6
10740 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10743 if test -n "$WINDRES_FOR_TARGET"; then
10744 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10745 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10746 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10749 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10750 for ncn_progname in windres; do
10751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10752 set dummy ${ncn_progname}; ac_word=$2
10753 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10754 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10755 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10756 echo $ECHO_N "(cached
) $ECHO_C" >&6
10758 if test -n "$WINDRES_FOR_TARGET"; then
10759 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10762 for as_dir in $PATH
10765 test -z "$as_dir" && as_dir=.
10766 for ac_exec_ext in '' $ac_executable_extensions; do
10767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10768 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10769 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10777 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10778 if test -n "$WINDRES_FOR_TARGET"; then
10779 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10780 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10782 echo "$as_me:$LINENO: result
: no
" >&5
10783 echo "${ECHO_T}no
" >&6
10789 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10790 for ncn_progname in windres; do
10791 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10792 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10793 if test -x $with_build_time_tools/${ncn_progname}; then
10794 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10795 echo "$as_me:$LINENO: result
: yes" >&5
10796 echo "${ECHO_T}yes" >&6
10799 echo "$as_me:$LINENO: result
: no
" >&5
10800 echo "${ECHO_T}no
" >&6
10805 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10806 for ncn_progname in windres; do
10807 if test -n "$ncn_target_tool_prefix"; then
10808 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10809 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10810 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10811 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10812 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10813 echo $ECHO_N "(cached
) $ECHO_C" >&6
10815 if test -n "$WINDRES_FOR_TARGET"; then
10816 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10819 for as_dir in $PATH
10822 test -z "$as_dir" && as_dir=.
10823 for ac_exec_ext in '' $ac_executable_extensions; do
10824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10825 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10826 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10834 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10835 if test -n "$WINDRES_FOR_TARGET"; then
10836 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10837 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10839 echo "$as_me:$LINENO: result
: no
" >&5
10840 echo "${ECHO_T}no
" >&6
10844 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10846 set dummy ${ncn_progname}; ac_word=$2
10847 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10848 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10849 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10850 echo $ECHO_N "(cached
) $ECHO_C" >&6
10852 if test -n "$WINDRES_FOR_TARGET"; then
10853 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10856 for as_dir in $PATH
10859 test -z "$as_dir" && as_dir=.
10860 for ac_exec_ext in '' $ac_executable_extensions; do
10861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10862 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10871 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10872 if test -n "$WINDRES_FOR_TARGET"; then
10873 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10874 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10876 echo "$as_me:$LINENO: result
: no
" >&5
10877 echo "${ECHO_T}no
" >&6
10881 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10885 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10887 if test $build = $target ; then
10888 WINDRES_FOR_TARGET="$2"
10890 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10893 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
10897 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10903 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
10904 if test -n "$with_build_time_tools"; then
10905 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
10906 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
10907 if test -x $with_build_time_tools/windmc; then
10908 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
10909 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10910 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
10911 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
10913 echo "$as_me:$LINENO: result
: no
" >&5
10914 echo "${ECHO_T}no
" >&6
10916 elif test $build != $host && test $have_gcc_for_target = yes; then
10917 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
10918 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
10919 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10922 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10923 # Extract the first word of "windmc
", so it can be a program name with args.
10924 set dummy windmc; ac_word=$2
10925 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10926 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10927 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
10928 echo $ECHO_N "(cached
) $ECHO_C" >&6
10930 case $WINDMC_FOR_TARGET in
10932 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
10935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10936 for as_dir in $gcc_cv_tool_dirs
10939 test -z "$as_dir" && as_dir=.
10940 for ac_exec_ext in '' $ac_executable_extensions; do
10941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10943 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10952 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
10954 if test -n "$WINDMC_FOR_TARGET"; then
10955 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
10956 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
10958 echo "$as_me:$LINENO: result
: no
" >&5
10959 echo "${ECHO_T}no
" >&6
10963 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
10966 if test -n "$WINDMC_FOR_TARGET"; then
10967 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10968 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
10969 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
10972 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
10973 for ncn_progname in windmc; do
10974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10975 set dummy ${ncn_progname}; ac_word=$2
10976 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10977 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10978 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
10979 echo $ECHO_N "(cached
) $ECHO_C" >&6
10981 if test -n "$WINDMC_FOR_TARGET"; then
10982 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $PATH
10988 test -z "$as_dir" && as_dir=.
10989 for ac_exec_ext in '' $ac_executable_extensions; do
10990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10991 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
10992 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11000 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11001 if test -n "$WINDMC_FOR_TARGET"; then
11002 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11003 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11005 echo "$as_me:$LINENO: result
: no
" >&5
11006 echo "${ECHO_T}no
" >&6
11012 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11013 for ncn_progname in windmc; do
11014 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11015 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11016 if test -x $with_build_time_tools/${ncn_progname}; then
11017 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11018 echo "$as_me:$LINENO: result
: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11022 echo "$as_me:$LINENO: result
: no
" >&5
11023 echo "${ECHO_T}no
" >&6
11028 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11029 for ncn_progname in windmc; do
11030 if test -n "$ncn_target_tool_prefix"; then
11031 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11032 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11033 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11034 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11035 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11036 echo $ECHO_N "(cached
) $ECHO_C" >&6
11038 if test -n "$WINDMC_FOR_TARGET"; then
11039 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11048 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11049 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11057 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11058 if test -n "$WINDMC_FOR_TARGET"; then
11059 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11060 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11062 echo "$as_me:$LINENO: result
: no
" >&5
11063 echo "${ECHO_T}no
" >&6
11067 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11069 set dummy ${ncn_progname}; ac_word=$2
11070 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11071 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11072 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11073 echo $ECHO_N "(cached
) $ECHO_C" >&6
11075 if test -n "$WINDMC_FOR_TARGET"; then
11076 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11079 for as_dir in $PATH
11082 test -z "$as_dir" && as_dir=.
11083 for ac_exec_ext in '' $ac_executable_extensions; do
11084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11086 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11094 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11095 if test -n "$WINDMC_FOR_TARGET"; then
11096 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11097 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11099 echo "$as_me:$LINENO: result
: no
" >&5
11100 echo "${ECHO_T}no
" >&6
11104 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11108 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11110 if test $build = $target ; then
11111 WINDMC_FOR_TARGET="$2"
11113 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11116 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11120 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11124 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11126 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11127 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11128 if test "x
${build}" != "x
${host}" ; then
11129 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11130 # We already found the complete path
11131 ac_dir=`dirname $AR_FOR_TARGET`
11132 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11133 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11135 # Canadian cross, just use what we found
11136 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11137 echo "${ECHO_T}pre-installed
" >&6
11141 case " ${configdirs} " in
11146 if test $ok = yes; then
11147 # An in-tree tool is available and we can use it
11148 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11149 echo "$as_me:$LINENO: result
: just compiled
" >&5
11150 echo "${ECHO_T}just compiled
" >&6
11151 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11152 # We already found the complete path
11153 ac_dir=`dirname $AR_FOR_TARGET`
11154 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11155 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11156 elif test "x
$target" = "x
$host"; then
11157 # We can use an host tool
11158 AR_FOR_TARGET='$(AR)'
11159 echo "$as_me:$LINENO: result
: host tool
" >&5
11160 echo "${ECHO_T}host tool
" >&6
11162 # We need a cross tool
11163 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11164 echo "${ECHO_T}pre-installed
" >&6
11168 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11169 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11170 if test "x
${build}" != "x
${host}" ; then
11171 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11172 # We already found the complete path
11173 ac_dir=`dirname $AS_FOR_TARGET`
11174 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11175 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11177 # Canadian cross, just use what we found
11178 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11179 echo "${ECHO_T}pre-installed
" >&6
11183 case " ${configdirs} " in
11188 if test $ok = yes; then
11189 # An in-tree tool is available and we can use it
11190 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11191 echo "$as_me:$LINENO: result
: just compiled
" >&5
11192 echo "${ECHO_T}just compiled
" >&6
11193 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11194 # We already found the complete path
11195 ac_dir=`dirname $AS_FOR_TARGET`
11196 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11197 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11198 elif test "x
$target" = "x
$host"; then
11199 # We can use an host tool
11200 AS_FOR_TARGET='$(AS)'
11201 echo "$as_me:$LINENO: result
: host tool
" >&5
11202 echo "${ECHO_T}host tool
" >&6
11204 # We need a cross tool
11205 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11206 echo "${ECHO_T}pre-installed
" >&6
11210 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11211 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11212 if test "x
${build}" != "x
${host}" ; then
11213 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11214 # We already found the complete path
11215 ac_dir=`dirname $CC_FOR_TARGET`
11216 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11217 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11219 # Canadian cross, just use what we found
11220 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11221 echo "${ECHO_T}pre-installed
" >&6
11225 case " ${configdirs} " in
11230 if test $ok = yes; then
11231 # An in-tree tool is available and we can use it
11232 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11233 echo "$as_me:$LINENO: result
: just compiled
" >&5
11234 echo "${ECHO_T}just compiled
" >&6
11235 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11236 # We already found the complete path
11237 ac_dir=`dirname $CC_FOR_TARGET`
11238 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11239 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11240 elif test "x
$target" = "x
$host"; then
11241 # We can use an host tool
11242 CC_FOR_TARGET='$(CC)'
11243 echo "$as_me:$LINENO: result
: host tool
" >&5
11244 echo "${ECHO_T}host tool
" >&6
11246 # We need a cross tool
11247 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11248 echo "${ECHO_T}pre-installed
" >&6
11252 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11253 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11254 if test "x
${build}" != "x
${host}" ; then
11255 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11256 # We already found the complete path
11257 ac_dir=`dirname $CXX_FOR_TARGET`
11258 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11259 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11261 # Canadian cross, just use what we found
11262 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11263 echo "${ECHO_T}pre-installed
" >&6
11267 case " ${configdirs} " in
11271 case ,${enable_languages}, in
11275 if test $ok = yes; then
11276 # An in-tree tool is available and we can use it
11277 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'
11278 echo "$as_me:$LINENO: result
: just compiled
" >&5
11279 echo "${ECHO_T}just compiled
" >&6
11280 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11281 # We already found the complete path
11282 ac_dir=`dirname $CXX_FOR_TARGET`
11283 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11284 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11285 elif test "x
$target" = "x
$host"; then
11286 # We can use an host tool
11287 CXX_FOR_TARGET='$(CXX)'
11288 echo "$as_me:$LINENO: result
: host tool
" >&5
11289 echo "${ECHO_T}host tool
" >&6
11291 # We need a cross tool
11292 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11293 echo "${ECHO_T}pre-installed
" >&6
11297 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11298 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11299 if test "x
${build}" != "x
${host}" ; then
11300 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11301 # We already found the complete path
11302 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11303 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11304 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11306 # Canadian cross, just use what we found
11307 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11308 echo "${ECHO_T}pre-installed
" >&6
11312 case " ${configdirs} " in
11316 case ,${enable_languages}, in
11320 if test $ok = yes; then
11321 # An in-tree tool is available and we can use it
11322 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'
11323 echo "$as_me:$LINENO: result
: just compiled
" >&5
11324 echo "${ECHO_T}just compiled
" >&6
11325 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11326 # We already found the complete path
11327 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11328 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11329 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11330 elif test "x
$target" = "x
$host"; then
11331 # We can use an host tool
11332 RAW_CXX_FOR_TARGET='$(CXX)'
11333 echo "$as_me:$LINENO: result
: host tool
" >&5
11334 echo "${ECHO_T}host tool
" >&6
11336 # We need a cross tool
11337 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11338 echo "${ECHO_T}pre-installed
" >&6
11342 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11343 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11344 if test "x
${build}" != "x
${host}" ; then
11345 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11346 # We already found the complete path
11347 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11348 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11349 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11351 # Canadian cross, just use what we found
11352 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11353 echo "${ECHO_T}pre-installed
" >&6
11357 case " ${configdirs} " in
11362 if test $ok = yes; then
11363 # An in-tree tool is available and we can use it
11364 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11365 echo "$as_me:$LINENO: result
: just compiled
" >&5
11366 echo "${ECHO_T}just compiled
" >&6
11367 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11368 # We already found the complete path
11369 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11370 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11371 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11372 elif test "x
$target" = "x
$host"; then
11373 # We can use an host tool
11374 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11375 echo "$as_me:$LINENO: result
: host tool
" >&5
11376 echo "${ECHO_T}host tool
" >&6
11378 # We need a cross tool
11379 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11380 echo "${ECHO_T}pre-installed
" >&6
11384 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11385 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11386 if test "x
${build}" != "x
${host}" ; then
11387 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11388 # We already found the complete path
11389 ac_dir=`dirname $GCC_FOR_TARGET`
11390 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11391 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11393 # Canadian cross, just use what we found
11394 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11395 echo "${ECHO_T}pre-installed
" >&6
11399 case " ${configdirs} " in
11404 if test $ok = yes; then
11405 # An in-tree tool is available and we can use it
11406 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11407 echo "$as_me:$LINENO: result
: just compiled
" >&5
11408 echo "${ECHO_T}just compiled
" >&6
11409 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11410 # We already found the complete path
11411 ac_dir=`dirname $GCC_FOR_TARGET`
11412 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11413 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11414 elif test "x
$target" = "x
$host"; then
11415 # We can use an host tool
11416 GCC_FOR_TARGET='$()'
11417 echo "$as_me:$LINENO: result
: host tool
" >&5
11418 echo "${ECHO_T}host tool
" >&6
11420 # We need a cross tool
11421 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11422 echo "${ECHO_T}pre-installed
" >&6
11426 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11427 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11428 if test "x
${build}" != "x
${host}" ; then
11429 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11430 # We already found the complete path
11431 ac_dir=`dirname $GCJ_FOR_TARGET`
11432 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11433 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11435 # Canadian cross, just use what we found
11436 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11437 echo "${ECHO_T}pre-installed
" >&6
11441 case " ${configdirs} " in
11445 case ,${enable_languages}, in
11449 if test $ok = yes; then
11450 # An in-tree tool is available and we can use it
11451 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11452 echo "$as_me:$LINENO: result
: just compiled
" >&5
11453 echo "${ECHO_T}just compiled
" >&6
11454 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11455 # We already found the complete path
11456 ac_dir=`dirname $GCJ_FOR_TARGET`
11457 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11458 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11459 elif test "x
$target" = "x
$host"; then
11460 # We can use an host tool
11461 GCJ_FOR_TARGET='$(GCJ)'
11462 echo "$as_me:$LINENO: result
: host tool
" >&5
11463 echo "${ECHO_T}host tool
" >&6
11465 # We need a cross tool
11466 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11467 echo "${ECHO_T}pre-installed
" >&6
11471 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11472 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11473 if test "x
${build}" != "x
${host}" ; then
11474 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11475 # We already found the complete path
11476 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11477 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11478 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11480 # Canadian cross, just use what we found
11481 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11482 echo "${ECHO_T}pre-installed
" >&6
11486 case " ${configdirs} " in
11490 case ,${enable_languages}, in
11494 if test $ok = yes; then
11495 # An in-tree tool is available and we can use it
11496 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11497 echo "$as_me:$LINENO: result
: just compiled
" >&5
11498 echo "${ECHO_T}just compiled
" >&6
11499 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11500 # We already found the complete path
11501 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11502 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11503 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11504 elif test "x
$target" = "x
$host"; then
11505 # We can use an host tool
11506 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11507 echo "$as_me:$LINENO: result
: host tool
" >&5
11508 echo "${ECHO_T}host tool
" >&6
11510 # We need a cross tool
11511 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11512 echo "${ECHO_T}pre-installed
" >&6
11516 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11517 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11518 if test "x
${build}" != "x
${host}" ; then
11519 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11520 # We already found the complete path
11521 ac_dir=`dirname $LD_FOR_TARGET`
11522 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11523 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11525 # Canadian cross, just use what we found
11526 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11527 echo "${ECHO_T}pre-installed
" >&6
11531 case " ${configdirs} " in
11536 if test $ok = yes; then
11537 # An in-tree tool is available and we can use it
11538 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11539 echo "$as_me:$LINENO: result
: just compiled
" >&5
11540 echo "${ECHO_T}just compiled
" >&6
11541 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11542 # We already found the complete path
11543 ac_dir=`dirname $LD_FOR_TARGET`
11544 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11545 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11546 elif test "x
$target" = "x
$host"; then
11547 # We can use an host tool
11548 LD_FOR_TARGET='$(LD)'
11549 echo "$as_me:$LINENO: result
: host tool
" >&5
11550 echo "${ECHO_T}host tool
" >&6
11552 # We need a cross tool
11553 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11554 echo "${ECHO_T}pre-installed
" >&6
11558 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11559 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11560 if test "x
${build}" != "x
${host}" ; then
11561 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11562 # We already found the complete path
11563 ac_dir=`dirname $LIPO_FOR_TARGET`
11564 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11565 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11567 # Canadian cross, just use what we found
11568 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11569 echo "${ECHO_T}pre-installed
" >&6
11572 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11573 # We already found the complete path
11574 ac_dir=`dirname $LIPO_FOR_TARGET`
11575 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11576 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11577 elif test "x
$target" = "x
$host"; then
11578 # We can use an host tool
11579 LIPO_FOR_TARGET='$(LIPO)'
11580 echo "$as_me:$LINENO: result
: host tool
" >&5
11581 echo "${ECHO_T}host tool
" >&6
11583 # We need a cross tool
11584 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11585 echo "${ECHO_T}pre-installed
" >&6
11589 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11590 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11591 if test "x
${build}" != "x
${host}" ; then
11592 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11593 # We already found the complete path
11594 ac_dir=`dirname $NM_FOR_TARGET`
11595 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11596 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11598 # Canadian cross, just use what we found
11599 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11600 echo "${ECHO_T}pre-installed
" >&6
11604 case " ${configdirs} " in
11609 if test $ok = yes; then
11610 # An in-tree tool is available and we can use it
11611 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11612 echo "$as_me:$LINENO: result
: just compiled
" >&5
11613 echo "${ECHO_T}just compiled
" >&6
11614 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11615 # We already found the complete path
11616 ac_dir=`dirname $NM_FOR_TARGET`
11617 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11618 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11619 elif test "x
$target" = "x
$host"; then
11620 # We can use an host tool
11621 NM_FOR_TARGET='$(NM)'
11622 echo "$as_me:$LINENO: result
: host tool
" >&5
11623 echo "${ECHO_T}host tool
" >&6
11625 # We need a cross tool
11626 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11627 echo "${ECHO_T}pre-installed
" >&6
11631 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11632 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11633 if test "x
${build}" != "x
${host}" ; then
11634 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11635 # We already found the complete path
11636 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11637 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11638 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11640 # Canadian cross, just use what we found
11641 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11642 echo "${ECHO_T}pre-installed
" >&6
11646 case " ${configdirs} " in
11651 if test $ok = yes; then
11652 # An in-tree tool is available and we can use it
11653 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11654 echo "$as_me:$LINENO: result
: just compiled
" >&5
11655 echo "${ECHO_T}just compiled
" >&6
11656 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11657 # We already found the complete path
11658 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11659 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11660 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11661 elif test "x
$target" = "x
$host"; then
11662 # We can use an host tool
11663 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11664 echo "$as_me:$LINENO: result
: host tool
" >&5
11665 echo "${ECHO_T}host tool
" >&6
11667 # We need a cross tool
11668 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11669 echo "${ECHO_T}pre-installed
" >&6
11673 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11674 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11675 if test "x
${build}" != "x
${host}" ; then
11676 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11677 # We already found the complete path
11678 ac_dir=`dirname $RANLIB_FOR_TARGET`
11679 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11680 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11682 # Canadian cross, just use what we found
11683 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11684 echo "${ECHO_T}pre-installed
" >&6
11688 case " ${configdirs} " in
11693 if test $ok = yes; then
11694 # An in-tree tool is available and we can use it
11695 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11696 echo "$as_me:$LINENO: result
: just compiled
" >&5
11697 echo "${ECHO_T}just compiled
" >&6
11698 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11699 # We already found the complete path
11700 ac_dir=`dirname $RANLIB_FOR_TARGET`
11701 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11702 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11703 elif test "x
$target" = "x
$host"; then
11704 # We can use an host tool
11705 RANLIB_FOR_TARGET='$(RANLIB)'
11706 echo "$as_me:$LINENO: result
: host tool
" >&5
11707 echo "${ECHO_T}host tool
" >&6
11709 # We need a cross tool
11710 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11711 echo "${ECHO_T}pre-installed
" >&6
11715 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11716 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11717 if test "x
${build}" != "x
${host}" ; then
11718 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11719 # We already found the complete path
11720 ac_dir=`dirname $STRIP_FOR_TARGET`
11721 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11722 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11724 # Canadian cross, just use what we found
11725 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11726 echo "${ECHO_T}pre-installed
" >&6
11730 case " ${configdirs} " in
11735 if test $ok = yes; then
11736 # An in-tree tool is available and we can use it
11737 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11738 echo "$as_me:$LINENO: result
: just compiled
" >&5
11739 echo "${ECHO_T}just compiled
" >&6
11740 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11741 # We already found the complete path
11742 ac_dir=`dirname $STRIP_FOR_TARGET`
11743 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11744 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11745 elif test "x
$target" = "x
$host"; then
11746 # We can use an host tool
11747 STRIP_FOR_TARGET='$(STRIP)'
11748 echo "$as_me:$LINENO: result
: host tool
" >&5
11749 echo "${ECHO_T}host tool
" >&6
11751 # We need a cross tool
11752 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11753 echo "${ECHO_T}pre-installed
" >&6
11757 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11758 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11759 if test "x
${build}" != "x
${host}" ; then
11760 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11761 # We already found the complete path
11762 ac_dir=`dirname $WINDRES_FOR_TARGET`
11763 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11764 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11766 # Canadian cross, just use what we found
11767 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11768 echo "${ECHO_T}pre-installed
" >&6
11772 case " ${configdirs} " in
11777 if test $ok = yes; then
11778 # An in-tree tool is available and we can use it
11779 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11780 echo "$as_me:$LINENO: result
: just compiled
" >&5
11781 echo "${ECHO_T}just compiled
" >&6
11782 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11783 # We already found the complete path
11784 ac_dir=`dirname $WINDRES_FOR_TARGET`
11785 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11786 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11787 elif test "x
$target" = "x
$host"; then
11788 # We can use an host tool
11789 WINDRES_FOR_TARGET='$(WINDRES)'
11790 echo "$as_me:$LINENO: result
: host tool
" >&5
11791 echo "${ECHO_T}host tool
" >&6
11793 # We need a cross tool
11794 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11795 echo "${ECHO_T}pre-installed
" >&6
11799 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11800 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11801 if test "x
${build}" != "x
${host}" ; then
11802 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11803 # We already found the complete path
11804 ac_dir=`dirname $WINDMC_FOR_TARGET`
11805 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11806 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11808 # Canadian cross, just use what we found
11809 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11810 echo "${ECHO_T}pre-installed
" >&6
11814 case " ${configdirs} " in
11819 if test $ok = yes; then
11820 # An in-tree tool is available and we can use it
11821 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
11822 echo "$as_me:$LINENO: result
: just compiled
" >&5
11823 echo "${ECHO_T}just compiled
" >&6
11824 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11825 # We already found the complete path
11826 ac_dir=`dirname $WINDMC_FOR_TARGET`
11827 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11828 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11829 elif test "x
$target" = "x
$host"; then
11830 # We can use an host tool
11831 WINDMC_FOR_TARGET='$(WINDMC)'
11832 echo "$as_me:$LINENO: result
: host tool
" >&5
11833 echo "${ECHO_T}host tool
" >&6
11835 # We need a cross tool
11836 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11837 echo "${ECHO_T}pre-installed
" >&6
11845 # Certain tools may need extra flags.
11846 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11847 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11848 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11850 # When building target libraries, except in a Canadian cross, we use
11851 # the same toolchain as the compiler we just built.
11852 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11853 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11854 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11855 if test $host = $build; then
11856 case " $configdirs " in
11858 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11859 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11860 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11869 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11870 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11871 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11872 if test "${enable_maintainer_mode+set}" = set; then
11873 enableval="$enable_maintainer_mode"
11874 USE_MAINTAINER_MODE=$enableval
11876 USE_MAINTAINER_MODE=no
11878 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11879 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11882 if test "$USE_MAINTAINER_MODE" = yes; then
11883 MAINTAINER_MODE_TRUE=
11884 MAINTAINER_MODE_FALSE='#'
11886 MAINTAINER_MODE_TRUE='#'
11887 MAINTAINER_MODE_FALSE=
11889 MAINT=$MAINTAINER_MODE_TRUE
11891 # ---------------------
11892 # GCC bootstrap support
11893 # ---------------------
11895 # Stage specific cflags for build.
11900 yes) stage1_cflags="-g -Wa,-J" ;;
11901 *) stage1_cflags="-g -J" ;;
11905 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
11906 if test "$GCC" = yes; then
11907 saved_CFLAGS="$CFLAGS"
11909 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
11910 CFLAGS="$CFLAGS -fkeep-inline-functions"
11911 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
11912 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
11913 cat >conftest.$ac_ext <<_ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11920 #if (__GNUC__ < 3) \
11921 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
11922 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
11923 #error http://gcc.gnu.org/PR29382
11934 rm -f conftest.$ac_objext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11936 (eval $ac_compile) 2>conftest.er1
11938 grep -v '^ *+' conftest.er1 >conftest.err
11940 cat conftest.err >&5
11941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try='test -z "$ac_c_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest.$ac_objext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 echo "$as_me:$LINENO: result
: yes" >&5
11957 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
11959 echo "$as_me: failed program was
:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11962 echo "$as_me:$LINENO: result
: no
" >&5
11963 echo "${ECHO_T}no
" >&6
11965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11967 CFLAGS="$saved_CFLAGS"
11972 # Enable --enable-checking in stage1 of the compiler.
11973 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
11974 if test "${enable_stage1_checking+set}" = set; then
11975 enableval="$enable_stage1_checking"
11976 stage1_checking=--enable-checking=${enable_stage1_checking}
11978 if test "x
$enable_checking" = xno; then
11979 stage1_checking=--enable-checking
11981 stage1_checking=--enable-checking${enable_checking+=}$enable_checking
11986 # Enable -Werror in bootstrap stage2 and later.
11987 # Check whether --enable-werror or --disable-werror was given.
11988 if test "${enable_werror+set}" = set; then
11989 enableval="$enable_werror"
11992 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
11998 case ${enable_werror} in
11999 yes) stage2_werror_flag="--enable-werror-always" ;;
12000 *) stage2_werror_flag="" ;;
12004 # Flags needed to enable html installing and building
12006 # Check whether --with-datarootdir or --without-datarootdir was given.
12007 if test "${with_datarootdir+set}" = set; then
12008 withval="$with_datarootdir"
12009 datarootdir="\
${prefix}/${withval}"
12011 datarootdir="\
${prefix}/share
"
12015 # Check whether --with-docdir or --without-docdir was given.
12016 if test "${with_docdir+set}" = set; then
12017 withval="$with_docdir"
12018 docdir="\
${prefix}/${withval}"
12020 docdir="\
${datarootdir}/doc
"
12024 # Check whether --with-pdfdir or --without-pdfdir was given.
12025 if test "${with_pdfdir+set}" = set; then
12026 withval="$with_pdfdir"
12027 pdfdir="\
${prefix}/${withval}"
12029 pdfdir="\
${docdir}"
12033 # Check whether --with-htmldir or --without-htmldir was given.
12034 if test "${with_htmldir+set}" = set; then
12035 withval="$with_htmldir"
12036 htmldir="\
${prefix}/${withval}"
12038 htmldir="\
${docdir}"
12046 ac_config_files="$ac_config_files Makefile
"
12047 cat >confcache <<\_ACEOF
12048 # This file is a shell script that caches the results of configure
12049 # tests run on this system so they can be shared between configure
12050 # scripts and configure runs, see configure's option --config-cache.
12051 # It is not useful on other systems. If it contains results you don't
12052 # want to keep, you may remove or edit it.
12054 # config.status only pays attention to the cache file if you give it
12055 # the --recheck option to rerun configure.
12057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12059 # following values.
12063 # The following way of writing the cache mishandles newlines in values,
12064 # but we know of no workaround that is simple, portable, and efficient.
12065 # So, don't put newlines in cache variables' values.
12066 # Ultrix sh set writes to stderr and can't be redirected directly,
12067 # and sets the high bit in the cache file unless we assign to the vars.
12070 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12072 # `set' does not quote correctly, so add quotes (double-quote
12073 # substitution turns \\\\ into \\, and sed turns \\ into \).
12076 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12079 # `set' quotes correctly as required by POSIX, so do not add quotes.
12081 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12088 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12090 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12092 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12093 if test -w $cache_file; then
12094 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12095 cat confcache >$cache_file
12097 echo "not updating unwritable cache
$cache_file"
12102 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12103 # Let make expand exec_prefix.
12104 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12106 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12107 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12108 # trailing colons and then remove the whole line if VPATH becomes empty
12109 # (actually we leave an empty line to preserve line numbers).
12110 if test "x
$srcdir" = x.; then
12111 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12112 s/:*\$(srcdir):*/:/;
12113 s/:*\${srcdir}:*/:/;
12115 s/^\([^=]*=[ ]*\):*/\1/;
12121 # Transform confdefs.h into DEFS.
12122 # Protect against shell expansion while executing Makefile rules.
12123 # Protect against Makefile macro expansion.
12125 # If the first sed substitution is executed (which looks for macros that
12126 # take arguments), then we branch to the quote section. Otherwise,
12127 # look for a macro that doesn't take arguments.
12128 cat >confdef2opt.sed <<\_ACEOF
12131 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12133 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12137 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12143 # We use echo to avoid assuming a particular line-breaking character.
12144 # The extra dot is to prevent the shell from consuming trailing
12145 # line-breaks from the sub-command output. A line-break within
12146 # single-quotes doesn't work because, if this script is created in a
12147 # platform that uses two characters for line-breaks (e.g., DOS), tr
12149 ac_LF_and_DOT
=`echo; echo .`
12150 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12151 rm -f confdef2opt.
sed
12156 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12157 # 1. Remove the extension, and $U if already installed.
12158 ac_i
=`echo "$ac_i" |
12159 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12161 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12162 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12164 LIBOBJS
=$ac_libobjs
12166 LTLIBOBJS
=$ac_ltlibobjs
12170 : ${CONFIG_STATUS=./config.status}
12171 ac_clean_files_save
=$ac_clean_files
12172 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12173 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12174 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12175 cat >$CONFIG_STATUS <<_ACEOF
12177 # Generated by $as_me.
12178 # Run this file to recreate the current configuration.
12179 # Compiler output produced by configure, useful for debugging
12180 # configure, is in config.log if it exists.
12183 ac_cs_recheck=false
12185 SHELL=\${CONFIG_SHELL-$SHELL}
12188 cat >>$CONFIG_STATUS <<\_ACEOF
12189 ## --------------------- ##
12190 ## M4sh Initialization. ##
12191 ## --------------------- ##
12193 # Be Bourne compatible
12194 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12197 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12198 # is contrary to our usage. Disable this feature.
12199 alias -g '${1+"$@"}'='"$@"'
12200 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12203 DUALCASE
=1; export DUALCASE
# for MKS sh
12205 # Support unset when possible.
12206 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12213 # Work around bugs in pre-3.0 UWIN ksh.
12214 $as_unset ENV MAIL MAILPATH
12221 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12222 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12223 LC_TELEPHONE LC_TIME
12225 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12226 eval $as_var=C
; export $as_var
12232 # Required to use basename.
12233 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12239 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12240 as_basename
=basename
12246 # Name of the executable.
12247 as_me
=`$as_basename "$0" ||
12248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12249 X"$0" : 'X\(//\)$' \| \
12250 X"$0" : 'X\(/\)$' \| \
12251 . : '\(.\)' 2>/dev/null ||
12253 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12254 /^X\/\(\/\/\)$/{ s//\1/; q; }
12255 /^X\/\(\/\).*/{ s//\1/; q; }
12259 # PATH needs CR, and LINENO needs CR and PATH.
12260 # Avoid depending upon Character Ranges.
12261 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12262 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12263 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12264 as_cr_digits
='0123456789'
12265 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12267 # The user is always right.
12268 if test "${PATH_SEPARATOR+set}" != set; then
12269 echo "#! /bin/sh" >conf$$.sh
12270 echo "exit 0" >>conf$$.sh
12272 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12281 as_lineno_1
=$LINENO
12282 as_lineno_2
=$LINENO
12283 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12284 test "x$as_lineno_1" != "x$as_lineno_2" &&
12285 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12286 # Find who we are. Look in the path if we contain no path at all
12289 *[\\/]* ) as_myself
=$0 ;;
12290 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12291 for as_dir
in $PATH
12294 test -z "$as_dir" && as_dir
=.
12295 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12300 # We did not find ourselves, most probably we were run as `sh COMMAND'
12301 # in which case we are not to be found in the path.
12302 if test "x$as_myself" = x
; then
12305 if test ! -f "$as_myself"; then
12306 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12307 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12308 { (exit 1); exit 1; }; }
12310 case $CONFIG_SHELL in
12312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12313 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12316 test -z "$as_dir" && as_dir
=.
12317 for as_base
in sh bash ksh sh5
; do
12320 if ("$as_dir/$as_base" -c '
12321 as_lineno_1=$LINENO
12322 as_lineno_2=$LINENO
12323 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12324 test "x$as_lineno_1" != "x$as_lineno_2" &&
12325 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12326 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12327 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12328 CONFIG_SHELL
=$as_dir/$as_base
12329 export CONFIG_SHELL
12330 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12338 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12339 # uniformly replaced by the line number. The first 'sed' inserts a
12340 # line-number line before each line; the second 'sed' does the real
12341 # work. The second script uses 'N' to pair each line-number line
12342 # with the numbered line, and appends trailing '-' during
12343 # substitution so that $LINENO is not a special case at line end.
12344 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12345 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12346 sed '=' <$as_myself |
12351 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12354 s,^['$as_cr_digits']*\n,,
12355 ' >$as_me.lineno
&&
12356 chmod +x
$as_me.lineno ||
12357 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12358 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12359 { (exit 1); exit 1; }; }
12361 # Don't try to exec as it changes $[0], causing all sort of problems
12362 # (the dirname of $[0] is not the place where we might find the
12363 # original and so on. Autoconf is especially sensible to this).
12365 # Exit status is that of the last command.
12370 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12371 *c
*,-n*) ECHO_N
= ECHO_C
='
12373 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12374 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12377 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12383 rm -f conf$$ conf$$.exe conf$$.
file
12385 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12386 # We could just check for DJGPP; but this test a) works b) is more generic
12387 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12388 if test -f conf$$.exe
; then
12389 # Don't use ln at all; we don't have any links
12394 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12399 rm -f conf$$ conf$$.exe conf$$.
file
12401 if mkdir
-p .
2>/dev
/null
; then
12404 test -d .
/-p && rmdir .
/-p
12408 as_executable_p
="test -f"
12410 # Sed expression to map a string onto a valid CPP name.
12411 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12413 # Sed expression to map a string onto a valid variable name.
12414 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12418 # We need space, tab and new line, in precisely that order.
12428 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12429 # report actual input values of CONFIG_FILES etc. instead of their
12430 # values after options handling. Logging --version etc. is OK.
12434 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12435 ## Running $as_me. ##
12440 This file was extended by $as_me, which was
12441 generated by GNU Autoconf 2.59. Invocation command line was
12443 CONFIG_FILES = $CONFIG_FILES
12444 CONFIG_HEADERS = $CONFIG_HEADERS
12445 CONFIG_LINKS = $CONFIG_LINKS
12446 CONFIG_COMMANDS = $CONFIG_COMMANDS
12450 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12454 # Files that config.status was made for.
12455 if test -n "$ac_config_files"; then
12456 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12459 if test -n "$ac_config_headers"; then
12460 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12463 if test -n "$ac_config_links"; then
12464 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12467 if test -n "$ac_config_commands"; then
12468 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12471 cat >>$CONFIG_STATUS <<\_ACEOF
12474 \`$as_me' instantiates files from templates according to the
12475 current configuration.
12477 Usage: $0 [OPTIONS] [FILE]...
12479 -h, --help print this help, then exit
12480 -V, --version print version number, then exit
12481 -q, --quiet do not print progress messages
12482 -d, --debug don't remove temporary files
12483 --recheck update $as_me by reconfiguring in the same conditions
12484 --file=FILE[:TEMPLATE]
12485 instantiate the configuration file FILE
12487 Configuration files:
12490 Report bugs to <bug-autoconf@gnu.org>."
12493 cat >>$CONFIG_STATUS <<_ACEOF
12496 configured by $0, generated by GNU Autoconf 2.59,
12497 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12499 Copyright (C) 2003 Free Software Foundation, Inc.
12500 This config.status script is free software; the Free Software Foundation
12501 gives unlimited permission to copy, distribute and modify it."
12506 cat >>$CONFIG_STATUS <<\_ACEOF
12507 # If no file are specified by the user, then we need to provide default
12508 # value. By we need to know if files were specified by the user.
12514 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12515 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12523 *) # This is not an option, so the user has probably given explicit
12526 ac_need_defaults
=false
;;
12530 # Handling of the options.
12532 cat >>$CONFIG_STATUS <<\_ACEOF
12533 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12535 --version |
--vers* |
-V )
12536 echo "$ac_cs_version"; exit 0 ;;
12538 # Conflict between --help and --header
12539 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12540 Try \`$0 --help' for more information." >&5
12541 echo "$as_me: error: ambiguous option: $1
12542 Try \`$0 --help' for more information." >&2;}
12543 { (exit 1); exit 1; }; };;
12544 --help |
--hel |
-h )
12545 echo "$ac_cs_usage"; exit 0 ;;
12546 --debug |
--d* |
-d )
12548 --file |
--fil |
--fi |
--f )
12550 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12551 ac_need_defaults
=false
;;
12552 --header |
--heade |
--head |
--hea )
12554 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12555 ac_need_defaults
=false
;;
12556 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12557 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12560 # This is an error.
12561 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12562 Try \`$0 --help' for more information." >&5
12563 echo "$as_me: error: unrecognized option: $1
12564 Try \`$0 --help' for more information." >&2;}
12565 { (exit 1); exit 1; }; } ;;
12567 *) ac_config_targets
="$ac_config_targets $1" ;;
12573 ac_configure_extra_args
=
12575 if $ac_cs_silent; then
12577 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12581 cat >>$CONFIG_STATUS <<_ACEOF
12582 if \$ac_cs_recheck; then
12583 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12584 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12593 cat >>$CONFIG_STATUS <<\_ACEOF
12594 for ac_config_target
in $ac_config_targets
12596 case "$ac_config_target" in
12597 # Handling of arguments.
12598 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12601 { (exit 1); exit 1; }; };;
12605 # If the user did not use the arguments to specify the items to instantiate,
12606 # then the envvar interface is used. Set only those that are not.
12607 # We use the long form for the default assignment because of an extremely
12608 # bizarre bug on SunOS 4.1.3.
12609 if $ac_need_defaults; then
12610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12613 # Have a temporary directory for convenience. Make it in the build tree
12614 # simply because there is no reason to put it here, and in addition,
12615 # creating and moving files from /tmp can sometimes cause problems.
12616 # Create a temporary directory, and hook for its removal unless debugging.
12619 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12620 trap '{ (exit 1); exit 1; }' 1 2 13 15
12623 # Create a (secure) tmp directory for tmp files.
12626 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12627 test -n "$tmp" && test -d "$tmp"
12630 tmp
=.
/confstat$$
-$RANDOM
12631 (umask 077 && mkdir
$tmp)
12634 echo "$me: cannot create a temporary directory in ." >&2
12635 { (exit 1); exit 1; }
12640 cat >>$CONFIG_STATUS <<_ACEOF
12643 # CONFIG_FILES section.
12646 # No need to generate the scripts if there are no CONFIG_FILES.
12647 # This happens for instance when ./config.status config.h
12648 if test -n "\$CONFIG_FILES"; then
12649 # Protect against being on the right side of a sed subst in config.status.
12650 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12651 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12652 s,@SHELL@,$SHELL,;t t
12653 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12654 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12655 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12656 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12657 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12658 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12659 s,@exec_prefix@,$exec_prefix,;t t
12660 s,@prefix@,$prefix,;t t
12661 s,@program_transform_name@,$program_transform_name,;t t
12662 s,@bindir@,$bindir,;t t
12663 s,@sbindir@,$sbindir,;t t
12664 s,@libexecdir@,$libexecdir,;t t
12665 s,@datadir@,$datadir,;t t
12666 s,@sysconfdir@,$sysconfdir,;t t
12667 s,@sharedstatedir@,$sharedstatedir,;t t
12668 s,@localstatedir@,$localstatedir,;t t
12669 s,@libdir@,$libdir,;t t
12670 s,@includedir@,$includedir,;t t
12671 s,@oldincludedir@,$oldincludedir,;t t
12672 s,@infodir@,$infodir,;t t
12673 s,@mandir@,$mandir,;t t
12674 s,@build_alias@,$build_alias,;t t
12675 s,@host_alias@,$host_alias,;t t
12676 s,@target_alias@,$target_alias,;t t
12677 s,@DEFS@,$DEFS,;t t
12678 s,@ECHO_C@,$ECHO_C,;t t
12679 s,@ECHO_N@,$ECHO_N,;t t
12680 s,@ECHO_T@,$ECHO_T,;t t
12681 s,@LIBS@,$LIBS,;t t
12682 s,@build@,$build,;t t
12683 s,@build_cpu@,$build_cpu,;t t
12684 s,@build_vendor@,$build_vendor,;t t
12685 s,@build_os@,$build_os,;t t
12686 s,@build_noncanonical@,$build_noncanonical,;t t
12687 s,@host_noncanonical@,$host_noncanonical,;t t
12688 s,@target_noncanonical@,$target_noncanonical,;t t
12689 s,@host@,$host,;t t
12690 s,@host_cpu@,$host_cpu,;t t
12691 s,@host_vendor@,$host_vendor,;t t
12692 s,@host_os@,$host_os,;t t
12693 s,@target@,$target,;t t
12694 s,@target_cpu@,$target_cpu,;t t
12695 s,@target_vendor@,$target_vendor,;t t
12696 s,@target_os@,$target_os,;t t
12697 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12698 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12699 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12701 s,@LN_S@,$LN_S,;t t
12702 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12703 s,@build_libsubdir@,$build_libsubdir,;t t
12704 s,@build_subdir@,$build_subdir,;t t
12705 s,@host_subdir@,$host_subdir,;t t
12706 s,@target_subdir@,$target_subdir,;t t
12708 s,@CFLAGS@,$CFLAGS,;t t
12709 s,@LDFLAGS@,$LDFLAGS,;t t
12710 s,@CPPFLAGS@,$CPPFLAGS,;t t
12711 s,@ac_ct_CC@,$ac_ct_CC,;t t
12712 s,@EXEEXT@,$EXEEXT,;t t
12713 s,@OBJEXT@,$OBJEXT,;t t
12715 s,@CXXFLAGS@,$CXXFLAGS,;t t
12716 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12717 s,@GNATBIND@,$GNATBIND,;t t
12718 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12719 s,@GNATMAKE@,$GNATMAKE,;t t
12720 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12721 s,@do_compare@,$do_compare,;t t
12722 s,@gmplibs@,$gmplibs,;t t
12723 s,@gmpinc@,$gmpinc,;t t
12724 s,@stage1_languages@,$stage1_languages,;t t
12725 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12726 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12727 s,@tooldir@,$tooldir,;t t
12728 s,@build_tooldir@,$build_tooldir,;t t
12729 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12730 s,@GDB_TK@,$GDB_TK,;t t
12731 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12732 s,@build_configargs@,$build_configargs,;t t
12733 s,@build_configdirs@,$build_configdirs,;t t
12734 s,@host_configargs@,$host_configargs,;t t
12735 s,@configdirs@,$configdirs,;t t
12736 s,@target_configargs@,$target_configargs,;t t
12737 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12738 s,@config_shell@,$config_shell,;t t
12739 s,@YACC@,$YACC,;t t
12740 s,@BISON@,$BISON,;t t
12743 s,@FLEX@,$FLEX,;t t
12744 s,@MAKEINFO@,$MAKEINFO,;t t
12745 s,@EXPECT@,$EXPECT,;t t
12746 s,@RUNTEST@,$RUNTEST,;t t
12749 s,@DLLTOOL@,$DLLTOOL,;t t
12751 s,@LIPO@,$LIPO,;t t
12753 s,@RANLIB@,$RANLIB,;t t
12754 s,@STRIP@,$STRIP,;t t
12755 s,@WINDRES@,$WINDRES,;t t
12756 s,@WINDMC@,$WINDMC,;t t
12757 s,@OBJCOPY@,$OBJCOPY,;t t
12758 s,@OBJDUMP@,$OBJDUMP,;t t
12759 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12760 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12761 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12762 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12763 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12764 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12765 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12766 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12767 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12768 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12769 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12770 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12771 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12772 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12773 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12774 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12775 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12776 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12777 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12778 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12779 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12780 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12781 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12782 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12783 s,@MAINT@,$MAINT,;t t
12784 s,@stage1_cflags@,$stage1_cflags,;t t
12785 s,@stage1_checking@,$stage1_checking,;t t
12786 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12787 s,@datarootdir@,$datarootdir,;t t
12788 s,@docdir@,$docdir,;t t
12789 s,@pdfdir@,$pdfdir,;t t
12790 s,@htmldir@,$htmldir,;t t
12791 s,@LIBOBJS@,$LIBOBJS,;t t
12792 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12793 /@serialization_dependencies@/r $serialization_dependencies
12794 s,@serialization_dependencies@,,;t t
12795 /@host_makefile_frag@/r $host_makefile_frag
12796 s,@host_makefile_frag@,,;t t
12797 /@target_makefile_frag@/r $target_makefile_frag
12798 s,@target_makefile_frag@,,;t t
12799 /@alphaieee_frag@/r $alphaieee_frag
12800 s,@alphaieee_frag@,,;t t
12801 /@ospace_frag@/r $ospace_frag
12802 s,@ospace_frag@,,;t t
12807 cat >>$CONFIG_STATUS <<\_ACEOF
12808 # Split the substitutions into bite-sized pieces for seds with
12809 # small command number limits, like on Digital OSF/1 and HP-UX.
12810 ac_max_sed_lines
=48
12811 ac_sed_frag
=1 # Number of current file.
12812 ac_beg
=1 # First line for current file.
12813 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12816 while $ac_more_lines; do
12817 if test $ac_beg -gt 1; then
12818 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12820 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12822 if test ! -s $tmp/subs.frag
; then
12823 ac_more_lines
=false
12825 # The purpose of the label and of the branching condition is to
12826 # speed up the sed processing (if there are no `@' at all, there
12827 # is no need to browse any of the substitutions).
12828 # These are the two extra sed commands mentioned above.
12830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12831 if test -z "$ac_sed_cmds"; then
12832 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12834 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12836 ac_sed_frag
=`expr $ac_sed_frag + 1`
12838 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12841 if test -z "$ac_sed_cmds"; then
12844 fi # test -n "$CONFIG_FILES"
12847 cat >>$CONFIG_STATUS <<\_ACEOF
12848 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12851 - |
*:- |
*:-:* ) # input from stdin
12853 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12854 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12855 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12857 * ) ac_file_in
=$ac_file.
in ;;
12860 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12861 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12863 X"$ac_file" : 'X\(//\)[^/]' \| \
12864 X"$ac_file" : 'X\(//\)$' \| \
12865 X"$ac_file" : 'X\(/\)' \| \
12866 . : '\(.\)' 2>/dev/null ||
12868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12870 /^X\(\/\/\)$/{ s//\1/; q; }
12871 /^X\(\/\).*/{ s//\1/; q; }
12873 { if $as_mkdir_p; then
12878 while test ! -d "$as_dir"; do
12879 as_dirs
="$as_dir $as_dirs"
12880 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12882 X"$as_dir" : 'X\(//\)[^/]' \| \
12883 X"$as_dir" : 'X\(//\)$' \| \
12884 X"$as_dir" : 'X\(/\)' \| \
12885 . : '\(.\)' 2>/dev/null ||
12887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12889 /^X\(\/\/\)$/{ s//\1/; q; }
12890 /^X\(\/\).*/{ s//\1/; q; }
12893 test ! -n "$as_dirs" || mkdir
$as_dirs
12894 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12896 { (exit 1); exit 1; }; }; }
12900 if test "$ac_dir" != .
; then
12901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12902 # A "../" for each directory in $ac_dir_suffix.
12903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12905 ac_dir_suffix
= ac_top_builddir
=
12909 .
) # No --srcdir option. We are building in place.
12911 if test -z "$ac_top_builddir"; then
12914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12916 [\\/]* | ?
:[\\/]* ) # Absolute path.
12917 ac_srcdir
=$srcdir$ac_dir_suffix;
12918 ac_top_srcdir
=$srcdir ;;
12919 *) # Relative path.
12920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12924 # Do not use `cd foo && pwd` to compute absolute paths, because
12925 # the directories may not exist.
12927 .
) ac_abs_builddir
="$ac_dir";;
12930 .
) ac_abs_builddir
=`pwd`;;
12931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12935 case $ac_abs_builddir in
12936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12938 case ${ac_top_builddir}.
in
12939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12944 case $ac_abs_builddir in
12945 .
) ac_abs_srcdir
=$ac_srcdir;;
12948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12953 case $ac_abs_builddir in
12954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12956 case $ac_top_srcdir in
12957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12965 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12966 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12969 if test x
"$ac_file" != x-
; then
12970 { echo "$as_me:$LINENO: creating $ac_file" >&5
12971 echo "$as_me: creating $ac_file" >&6;}
12974 # Let's still pretend it is `configure' which instantiates (i.e., don't
12975 # use $as_me), people would be surprised to read:
12976 # /* config.h. Generated by config.status. */
12977 if test x
"$ac_file" = x-
; then
12980 configure_input
="$ac_file. "
12982 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12983 sed 's,.*/,,'` by configure."
12985 # First look for the input files in the build tree, otherwise in the
12987 ac_file_inputs
=`IFS=:
12988 for f in $ac_file_in; do
12990 -) echo $tmp/stdin ;;
12992 # Absolute (can't be DOS-style, as IFS=:)
12993 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12994 echo "$as_me: error: cannot find input file: $f" >&2;}
12995 { (exit 1); exit 1; }; }
12998 if test -f "$f"; then
13001 elif test -f "$srcdir/$f"; then
13006 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13007 echo "$as_me: error: cannot find input file: $f" >&2;}
13008 { (exit 1); exit 1; }; }
13011 done` ||
{ (exit 1); exit 1; }
13013 cat >>$CONFIG_STATUS <<_ACEOF
13017 cat >>$CONFIG_STATUS <<\_ACEOF
13019 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13020 s
,@configure_input@
,$configure_input,;t t
13021 s
,@srcdir@
,$ac_srcdir,;t t
13022 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13023 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13024 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13025 s
,@builddir@
,$ac_builddir,;t t
13026 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13027 s
,@top_builddir@
,$ac_top_builddir,;t t
13028 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13029 s
,@INSTALL@
,$ac_INSTALL,;t t
13030 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13032 if test x"$ac_file" != x-; then
13033 mv $tmp/out $ac_file
13042 cat >>$CONFIG_STATUS <<\_ACEOF
13044 { (exit 0); exit 0; }
13046 chmod +x $CONFIG_STATUS
13047 ac_clean_files=$ac_clean_files_save
13050 # configure is writing to config.log, and then calls config.status.
13051 # config.status does its own redirection, appending to config.log.
13052 # Unfortunately, on DOS this fails, as config.log is still kept open
13053 # by configure, so config.status won't be able to write to it; its
13054 # output is simply discarded. So we exec the FD to /dev/null,
13055 # effectively closing config.log, so it can be properly (re)opened and
13056 # appended to by config.status. When coming back to configure, we
13057 # need to make the FD available again.
13058 if test "$no_create" != yes; then
13060 ac_config_status_args=
13061 test "$silent" = yes &&
13062 ac_config_status_args="$ac_config_status_args --quiet"
13064 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13066 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13067 # would make configure fail if this is the last instruction.
13068 $ac_cs_success || { (exit 1); exit 1; }