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 extra_mpfr_configure_flags stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_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 AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP 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_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
718 ac_env_CC_set
=${CC+set}
720 ac_cv_env_CC_set
=${CC+set}
721 ac_cv_env_CC_value
=$CC
722 ac_env_CFLAGS_set
=${CFLAGS+set}
723 ac_env_CFLAGS_value
=$CFLAGS
724 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value
=$CFLAGS
726 ac_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_env_LDFLAGS_value
=$LDFLAGS
728 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value
=$LDFLAGS
730 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
734 ac_env_CXX_set
=${CXX+set}
735 ac_env_CXX_value
=$CXX
736 ac_cv_env_CXX_set
=${CXX+set}
737 ac_cv_env_CXX_value
=$CXX
738 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
741 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
742 ac_env_AR_set
=${AR+set}
744 ac_cv_env_AR_set
=${AR+set}
745 ac_cv_env_AR_value
=$AR
746 ac_env_AS_set
=${AS+set}
748 ac_cv_env_AS_set
=${AS+set}
749 ac_cv_env_AS_value
=$AS
750 ac_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_env_DLLTOOL_value
=$DLLTOOL
752 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
753 ac_cv_env_DLLTOOL_value
=$DLLTOOL
754 ac_env_LD_set
=${LD+set}
756 ac_cv_env_LD_set
=${LD+set}
757 ac_cv_env_LD_value
=$LD
758 ac_env_LIPO_set
=${LIPO+set}
759 ac_env_LIPO_value
=$LIPO
760 ac_cv_env_LIPO_set
=${LIPO+set}
761 ac_cv_env_LIPO_value
=$LIPO
762 ac_env_NM_set
=${NM+set}
764 ac_cv_env_NM_set
=${NM+set}
765 ac_cv_env_NM_value
=$NM
766 ac_env_RANLIB_set
=${RANLIB+set}
767 ac_env_RANLIB_value
=$RANLIB
768 ac_cv_env_RANLIB_set
=${RANLIB+set}
769 ac_cv_env_RANLIB_value
=$RANLIB
770 ac_env_STRIP_set
=${STRIP+set}
771 ac_env_STRIP_value
=$STRIP
772 ac_cv_env_STRIP_set
=${STRIP+set}
773 ac_cv_env_STRIP_value
=$STRIP
774 ac_env_WINDRES_set
=${WINDRES+set}
775 ac_env_WINDRES_value
=$WINDRES
776 ac_cv_env_WINDRES_set
=${WINDRES+set}
777 ac_cv_env_WINDRES_value
=$WINDRES
778 ac_env_WINDMC_set
=${WINDMC+set}
779 ac_env_WINDMC_value
=$WINDMC
780 ac_cv_env_WINDMC_set
=${WINDMC+set}
781 ac_cv_env_WINDMC_value
=$WINDMC
782 ac_env_OBJCOPY_set
=${OBJCOPY+set}
783 ac_env_OBJCOPY_value
=$OBJCOPY
784 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
785 ac_cv_env_OBJCOPY_value
=$OBJCOPY
786 ac_env_OBJDUMP_set
=${OBJDUMP+set}
787 ac_env_OBJDUMP_value
=$OBJDUMP
788 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
789 ac_cv_env_OBJDUMP_value
=$OBJDUMP
790 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
791 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
792 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
793 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
794 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
795 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
796 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
797 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
798 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
799 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
800 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
801 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
802 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
803 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
804 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
805 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
806 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
807 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
808 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
809 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
810 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
811 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
812 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
813 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
814 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
815 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
816 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
817 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
818 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
819 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
820 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
821 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
822 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
823 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
824 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
825 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
826 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
827 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
828 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
829 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
830 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
831 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
832 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
833 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
834 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
835 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
836 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
837 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
838 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
839 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
840 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
841 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
842 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
843 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
844 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
845 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
846 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
847 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
848 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
849 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
850 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
851 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
852 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
853 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
856 # Report the --help message.
858 if test "$ac_init_help" = "long"; then
859 # Omit some internal or obsolete options to make the list less imposing.
860 # This message is too long to be a string in the A/UX 3.1 sh.
862 \`configure' configures this package to adapt to many kinds of systems.
864 Usage: $0 [OPTION]... [VAR=VALUE]...
866 To assign environment variables (e.g., CC, CFLAGS...), specify them as
867 VAR=VALUE. See below for descriptions of some of the useful variables.
869 Defaults for the options are specified in brackets.
872 -h, --help display this help and exit
873 --help=short display options specific to this package
874 --help=recursive display the short help of all the included packages
875 -V, --version display version information and exit
876 -q, --quiet, --silent do not print \`checking...' messages
877 --cache-file=FILE cache test results in FILE [disabled]
878 -C, --config-cache alias for \`--cache-file=config.cache'
879 -n, --no-create do not create output files
880 --srcdir=DIR find the sources in DIR [configure dir or \`..']
885 Installation directories:
886 --prefix=PREFIX install architecture-independent files in PREFIX
888 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
891 By default, \`make install' will install all the files in
892 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
893 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
894 for instance \`--prefix=\$HOME'.
896 For better control, use the options below.
898 Fine tuning of the installation directories:
899 --bindir=DIR user executables [EPREFIX/bin]
900 --sbindir=DIR system admin executables [EPREFIX/sbin]
901 --libexecdir=DIR program executables [EPREFIX/libexec]
902 --datadir=DIR read-only architecture-independent data [PREFIX/share]
903 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
904 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
905 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
906 --libdir=DIR object code libraries [EPREFIX/lib]
907 --includedir=DIR C header files [PREFIX/include]
908 --oldincludedir=DIR C header files for non-gcc [/usr/include]
909 --infodir=DIR info documentation [PREFIX/info]
910 --mandir=DIR man documentation [PREFIX/man]
916 --program-prefix=PREFIX prepend PREFIX to installed program names
917 --program-suffix=SUFFIX append SUFFIX to installed program names
918 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
921 --build=BUILD configure
for building on BUILD
[guessed
]
922 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
923 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
927 if test -n "$ac_init_help"; then
932 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
933 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
934 --enable-libada build libada directory
935 --enable-libssp build libssp directory
936 --enable-stage1-languages[=all
] choose additional languages to build during
937 stage1. Mostly useful
for compiler development.
938 --enable-objc-gc enable use of Boehm
's garbage collector with the
939 GNU Objective-C runtime
940 --enable-bootstrap enable bootstrapping [yes if native build]
941 --enable-serial-[{host,target,build}-]configure
942 force sequential configuration of
943 sub-packages for the host, target or build
944 machine, or all sub-packages
945 --enable-maintainer-mode enable make rules and dependencies not useful
946 (and sometimes confusing) to the casual installer
947 --enable-stage1-checking[=all] choose additional checking for stage1
949 --enable-werror enable -Werror in bootstrap stage2 and later
952 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
953 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
954 --with-build-libsubdir=DIR Directory where to find libraries for build system
955 --with-mpfr-dir=PATH this option has been REMOVED
956 --with-mpfr=PATH specify prefix directory for installed MPFR package.
957 Equivalent to --with-mpfr-include=PATH/include
958 plus --with-mpfr-lib=PATH/lib
959 --with-mpfr-include=PATH
960 specify directory for installed MPFR include files
961 --with-mpfr-lib=PATH specify directory for the installed MPFR library
962 --with-gmp-dir=PATH this option has been REMOVED
963 --with-gmp=PATH specify prefix directory for the installed GMP package.
964 Equivalent to --with-gmp-include=PATH/include
965 plus --with-gmp-lib=PATH/lib
966 --with-gmp-include=PATH specify directory for installed GMP include files
967 --with-gmp-lib=PATH specify directory for the installed GMP library
968 --with-build-sysroot=SYSROOT
969 use sysroot as the system root during the build
970 --with-debug-prefix-map='A
=B C
=D ...
'
971 map A to B, C to D ... in debug information
972 --with-build-time-tools=PATH
973 use given path to find target tools during the build
974 --with-datarootdir use datarootdir as the data root directory.
975 --with-docdir install documentation in this directory.
976 --with-pdfdir install pdf in this directory.
977 --with-htmldir install html in this directory.
979 Some influential environment variables:
980 CC C compiler command
981 CFLAGS C compiler flags
982 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
983 nonstandard directory <lib dir>
984 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
985 headers in a nonstandard directory <include dir>
986 CXX C++ compiler command
987 CXXFLAGS C++ compiler flags
990 DLLTOOL DLLTOOL for the host
992 LIPO LIPO for the host
994 RANLIB RANLIB for the host
995 STRIP STRIP for the host
996 WINDRES WINDRES for the host
997 WINDMC WINDMC for the host
998 OBJCOPY OBJCOPY for the host
999 OBJDUMP OBJDUMP for the host
1009 GFORTRAN for the target
1015 DLLTOOL for the target
1023 OBJDUMP for the target
1025 RANLIB for the target
1027 STRIP for the target
1029 WINDRES for the target
1031 WINDMC for the target
1033 Use these variables to override the choices made by `configure' or to
help
1034 it to
find libraries and programs with nonstandard names
/locations.
1039 if test "$ac_init_help" = "recursive"; then
1040 # If there are subdirs, report their specific --help.
1042 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1043 test -d $ac_dir ||
continue
1046 if test "$ac_dir" != .
; then
1047 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1048 # A "../" for each directory in $ac_dir_suffix.
1049 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 ac_dir_suffix
= ac_top_builddir
=
1055 .
) # No --srcdir option. We are building in place.
1057 if test -z "$ac_top_builddir"; then
1060 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1062 [\\/]* | ?
:[\\/]* ) # Absolute path.
1063 ac_srcdir
=$srcdir$ac_dir_suffix;
1064 ac_top_srcdir
=$srcdir ;;
1066 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1067 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1070 # Do not use `cd foo && pwd` to compute absolute paths, because
1071 # the directories may not exist.
1073 .
) ac_abs_builddir
="$ac_dir";;
1076 .
) ac_abs_builddir
=`pwd`;;
1077 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1078 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1081 case $ac_abs_builddir in
1082 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1084 case ${ac_top_builddir}.
in
1085 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1086 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1087 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1090 case $ac_abs_builddir in
1091 .
) ac_abs_srcdir
=$ac_srcdir;;
1094 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1095 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1096 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1099 case $ac_abs_builddir in
1100 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1102 case $ac_top_srcdir in
1103 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1104 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1105 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu
; then
1113 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1114 elif test -f $ac_srcdir/configure
; then
1116 $SHELL $ac_srcdir/configure
--help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.
in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1132 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1133 This configure
script is free software
; the Free Software Foundation
1134 gives unlimited permission to copy
, distribute and modify it.
1140 This file contains any messages produced by compilers while
1141 running configure, to aid debugging if configure makes a mistake.
1143 It was created by $as_me, which was
1144 generated by GNU Autoconf 2.59. Invocation command line was
1155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1167 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1178 test -z "$as_dir" && as_dir
=.
1179 echo "PATH: $as_dir"
1194 # Keep a trace of the command line.
1195 # Strip out --no-create and --no-recursion so they do not pile up.
1196 # Strip out --silent because we don't want to record it for future runs.
1197 # Also quote any args containing shell meta-characters.
1198 # Make two passes to allow for proper duplicate-argument suppression.
1203 ac_must_keep_next
=false
1209 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1210 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1211 |
-silent |
--silent |
--silen |
--sile |
--sil)
1213 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1217 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1219 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1220 if test $ac_must_keep_next = true
; then
1221 ac_must_keep_next
=false
# Got value, back to normal.
1224 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1225 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1226 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1227 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1228 case "$ac_configure_args0 " in
1229 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1232 -* ) ac_must_keep_next
=true
;;
1235 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1236 # Get rid of the leading space.
1242 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1243 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1245 # When interrupted or exit'd, cleanup temporary files, and complete
1246 # config.log. We remove comments because anyway the quotes in there
1247 # would cause problems or look ugly.
1248 # WARNING: Be sure not to use single quotes in there, as some shells,
1249 # such as our DU 5.0 friend, will then `close' the trap.
1250 trap 'exit_status=$?
1251 # Save into config.log some information that might help in debugging.
1256 ## ---------------- ##
1257 ## Cache variables. ##
1258 ## ---------------- ##
1261 # The following way of writing the cache mishandles newlines in values,
1264 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1267 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1272 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ## ----------------- ##
1280 ## Output variables. ##
1281 ## ----------------- ##
1284 for ac_var in $ac_subst_vars
1286 eval ac_val=$`echo $ac_var`
1287 echo "$ac_var='"'"'$ac_val'"'"'"
1291 if test -n "$ac_subst_files"; then
1298 for ac_var in $ac_subst_files
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -s confdefs.h; then
1313 sed "/^$/d" confdefs.h | sort
1316 test "$ac_signal" != 0 &&
1317 echo "$as_me: caught signal $ac_signal"
1318 echo "$as_me: exit $exit_status"
1320 rm -f core *.core &&
1321 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1324 for ac_signal
in 1 2 13 15; do
1325 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1330 rm -rf conftest
* confdefs.h
1331 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1334 # Predefined preprocessor variables.
1336 cat >>confdefs.h
<<_ACEOF
1337 #define PACKAGE_NAME "$PACKAGE_NAME"
1341 cat >>confdefs.h
<<_ACEOF
1342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1346 cat >>confdefs.h
<<_ACEOF
1347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1351 cat >>confdefs.h
<<_ACEOF
1352 #define PACKAGE_STRING "$PACKAGE_STRING"
1356 cat >>confdefs.h
<<_ACEOF
1357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1361 # Let the site file select an alternate cache file if it wants to.
1362 # Prefer explicitly selected file to automatically selected ones.
1363 if test -z "$CONFIG_SITE"; then
1364 if test "x$prefix" != xNONE
; then
1365 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1367 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1370 for ac_site_file
in $CONFIG_SITE; do
1371 if test -r "$ac_site_file"; then
1372 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1373 echo "$as_me: loading site script $ac_site_file" >&6;}
1374 sed 's/^/| /' "$ac_site_file" >&5
1379 if test -r "$cache_file"; then
1380 # Some versions of bash will fail to source /dev/null (special
1381 # files actually), so we avoid doing that.
1382 if test -f "$cache_file"; then
1383 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1384 echo "$as_me: loading cache $cache_file" >&6;}
1386 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1387 *) . .
/$cache_file;;
1391 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1392 echo "$as_me: creating cache $cache_file" >&6;}
1396 # Check that the precious variables saved in the cache have kept the same
1398 ac_cache_corrupted
=false
1399 for ac_var
in `(set) 2>&1 |
1400 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1401 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1402 eval ac_new_set
=\
$ac_env_${ac_var}_set
1403 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1404 eval ac_new_val
="\$ac_env_${ac_var}_value"
1405 case $ac_old_set,$ac_new_set in
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1409 ac_cache_corrupted
=: ;;
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1413 ac_cache_corrupted
=: ;;
1416 if test "x$ac_old_val" != "x$ac_new_val"; then
1417 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1418 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1419 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1420 echo "$as_me: former value: $ac_old_val" >&2;}
1421 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1422 echo "$as_me: current value: $ac_new_val" >&2;}
1423 ac_cache_corrupted
=:
1426 # Pass precious variables to config.status.
1427 if test "$ac_new_set" = set; then
1429 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1430 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 *) ac_arg
=$ac_var=$ac_new_val ;;
1433 case " $ac_configure_args " in
1434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1435 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1439 if $ac_cache_corrupted; then
1440 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1441 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1442 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1443 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1444 { (exit 1); exit 1; }; }
1448 ac_cpp
='$CPP $CPPFLAGS'
1449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1473 # Find the build, host, and target systems.
1475 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1476 if test -f $ac_dir/install-sh
; then
1478 ac_install_sh
="$ac_aux_dir/install-sh -c"
1480 elif test -f $ac_dir/install.sh
; then
1482 ac_install_sh
="$ac_aux_dir/install.sh -c"
1484 elif test -f $ac_dir/shtool
; then
1486 ac_install_sh
="$ac_aux_dir/shtool install -c"
1490 if test -z "$ac_aux_dir"; then
1491 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1492 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1493 { (exit 1); exit 1; }; }
1495 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1496 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1497 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1499 # Make sure we can run config.sub.
1500 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1501 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1502 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1503 { (exit 1); exit 1; }; }
1505 echo "$as_me:$LINENO: checking build system type" >&5
1506 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1507 if test "${ac_cv_build+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 ac_cv_build_alias
=$build_alias
1511 test -z "$ac_cv_build_alias" &&
1512 ac_cv_build_alias
=`$ac_config_guess`
1513 test -z "$ac_cv_build_alias" &&
1514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1516 { (exit 1); exit 1; }; }
1517 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1524 echo "${ECHO_T}$ac_cv_build" >&6
1526 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 case ${build_alias} in
1532 "") build_noncanonical
=${build} ;;
1533 *) build_noncanonical
=${build_alias} ;;
1538 case ${host_alias} in
1539 "") host_noncanonical
=${build_noncanonical} ;;
1540 *) host_noncanonical
=${host_alias} ;;
1545 case ${target_alias} in
1546 "") target_noncanonical
=${host_noncanonical} ;;
1547 *) target_noncanonical
=${target_alias} ;;
1553 test "$host_noncanonical" = "$target_noncanonical" &&
1554 test "$program_prefix$program_suffix$program_transform_name" = \
1556 program_transform_name
=s
,y
,y
,
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 ac_cv_host_alias
=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias
=$ac_cv_build_alias
1566 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1575 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_target_alias
=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias
=$ac_cv_host_alias
1588 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target
=$ac_cv_target
1597 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1607 program_prefix
=${target_alias}-
1608 test "$program_prefix" != NONE
&&
1609 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1610 # Use a double $ so make ignores it.
1611 test "$program_suffix" != NONE
&&
1612 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1613 # Double any \ or $. echo might interpret backslashes.
1614 # By default was `s,x,x', remove it if useless.
1615 cat <<\_ACEOF
>conftest.
sed
1616 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1618 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1623 # Get 'install' or 'install-sh' and its variants.
1624 # Find a good install program. We prefer a C program (faster),
1625 # so one script is as good as another. But avoid the broken or
1626 # incompatible versions:
1627 # SysV /etc/install, /usr/sbin/install
1628 # SunOS /usr/etc/install
1629 # IRIX /sbin/install
1631 # AmigaOS /C/install, which installs bootblocks on floppy discs
1632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1635 # OS/2's system install, which has a completely different semantic
1636 # ./install, which can be erroneously created by make from ./install.sh.
1637 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1638 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1639 if test -z "$INSTALL"; then
1640 if test "${ac_cv_path_install+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 # Account for people who put trailing slashes in PATH elements.
1650 .
/ | .
// |
/cC
/* | \
1651 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1652 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1655 # OSF1 and SCO ODT 3.0 have their own names for install.
1656 # Don't use installbsd from OSF since it installs stuff as root
1658 for ac_prog
in ginstall scoinst
install; do
1659 for ac_exec_ext
in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1661 if test $ac_prog = install &&
1662 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1663 # AIX install. It has an incompatible calling convention.
1665 elif test $ac_prog = install &&
1666 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1667 # program-specific install script used by HP pwplus--don't use.
1670 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1682 if test "${ac_cv_path_install+set}" = set; then
1683 INSTALL
=$ac_cv_path_install
1685 # As a last resort, use the slow shell script. We don't cache a
1686 # path for INSTALL within a source directory, because that will
1687 # break other packages using the cache if that directory is
1688 # removed, or if the path is relative.
1689 INSTALL
=$ac_install_sh
1692 echo "$as_me:$LINENO: result: $INSTALL" >&5
1693 echo "${ECHO_T}$INSTALL" >&6
1695 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1696 # It thinks the first close brace ends the variable substitution.
1697 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1699 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1701 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1703 echo "$as_me:$LINENO: checking whether ln works" >&5
1704 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1705 if test "${acx_cv_prog_LN+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 rm -f conftestdata_t
1709 echo >conftestdata_f
1710 if ln conftestdata_f conftestdata_t
2>/dev
/null
1716 rm -f conftestdata_f conftestdata_t
1719 if test $acx_cv_prog_LN = no
; then
1721 echo "$as_me:$LINENO: result: no, using $LN" >&5
1722 echo "${ECHO_T}no, using $LN" >&6
1724 LN
="$acx_cv_prog_LN"
1725 echo "$as_me:$LINENO: result: yes" >&5
1726 echo "${ECHO_T}yes" >&6
1729 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1730 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1732 if test "$LN_S" = "ln -s"; then
1733 echo "$as_me:$LINENO: result: yes" >&5
1734 echo "${ECHO_T}yes" >&6
1736 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1737 echo "${ECHO_T}no, using $LN_S" >&6
1741 ### we might need to use some other shell than /bin/sh for running subshells
1742 ### If we are on Windows, search for the shell. This will permit people
1743 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1744 ### without also having to set CONFIG_SHELL. This code will work when
1745 ### using bash, which sets OSTYPE.
1748 if test x
${CONFIG_SHELL} = x
; then
1749 if test ! -f /bin
/sh
; then
1750 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1751 CONFIG_SHELL
=${SHELL}
1754 for prog
in sh sh.exe bash bash.exe
; do
1755 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1756 for dir
in $PATH; do
1757 test -z "$dir" && dir
=.
1758 if test -f $dir/$prog; then
1759 CONFIG_SHELL
=$dir/$prog
1765 test -n "${CONFIG_SHELL}" && break
1773 config_shell
=${CONFIG_SHELL-/bin/sh}
1776 # if PWD already has a value, it is probably wrong.
1777 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1779 # Export original configure arguments for use by sub-configures.
1780 # Quote arguments with shell meta charatcers.
1781 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1782 set -- "$progname" "$@"
1786 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1787 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1788 # if the argument is of the form -foo=baz, quote the baz part only
1789 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1792 # Add the quoted argument to the list.
1793 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1795 if test "$silent" = yes; then
1796 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1798 # Remove the initial space we just introduced and, as these will be
1799 # expanded by make, quote '$'.
1800 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1803 moveifchange
=${srcdir}/move-if-change
1805 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1807 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1809 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1810 INSTALL
="${srcpwd}/install-sh -c"
1813 # Set srcdir to "." if that's what it is.
1814 # This is important for multilib support.
1816 if test "${pwd}" = "${srcpwd}" ; then
1824 ### To add a new directory to the tree, first choose whether it is a target
1825 ### or a host dependent tool. Then put it into the appropriate list
1826 ### (library or tools, host or target), doing a dependency sort.
1828 # Subdirs will be configured in the order listed in build_configdirs,
1829 # configdirs, or target_configdirs; see the serialization section below.
1831 # Dependency sorting is only needed when *configuration* must be done in
1832 # a particular order. In all cases a dependency should be specified in
1833 # the Makefile, whether or not it's implicitly specified here.
1835 # Double entries in build_configdirs, configdirs, or target_configdirs may
1836 # cause circular dependencies and break everything horribly.
1838 # these library is used by various programs built for the build
1841 build_libs
="build-libiberty"
1843 # these tools are built for the build environment
1844 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1846 # these libraries are used by various programs built for the host environment
1848 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1850 # these tools are built for the host environment
1851 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1852 # know that we are building the simulator.
1853 # binutils, gas and ld appear in that order because it makes sense to run
1854 # "make check" in that particular order.
1855 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"
1857 # libgcj represents the runtime libraries only used by gcj.
1858 libgcj
="target-libffi \
1863 # these libraries are built for the target environment, and are built after
1864 # the host libraries and the host tools (which may be a cross compiler)
1866 target_libraries
="target-libgcc \
1871 target-libstdc++-v3 \
1874 target-libgfortran \
1880 # these tools are built using the target libraries, and are intended to
1881 # run only in the target environment
1883 # note: any program that *uses* libraries that are in the "target_libraries"
1884 # list belongs in this list. those programs are also very likely
1885 # candidates for the "native_only" list which follows
1887 target_tools
="target-examples target-groff target-gperf target-rda"
1889 ################################################################################
1891 ## All tools belong in one of the four categories, and are assigned above
1892 ## We assign ${configdirs} this way to remove all embedded newlines. This
1893 ## is important because configure will choke if they ever get through.
1894 ## ${configdirs} is directories we build using the host tools.
1895 ## ${target_configdirs} is directories we build using the target tools.
1896 configdirs
=`echo ${host_libs} ${host_tools}`
1897 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1898 build_configdirs
=`echo ${build_libs} ${build_tools}`
1902 ################################################################################
1904 srcname
="gnu development package"
1906 # This gets set non-empty for some net releases of packages.
1909 # Define is_cross_compiler to save on calls to 'test'.
1911 if test x
"${host}" = x
"${target}" ; then
1912 is_cross_compiler
=no
1914 is_cross_compiler
=yes
1917 # Find the build and target subdir names.
1919 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1920 # have matching libraries, they should use host libraries: Makefile.tpl
1921 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1922 # However, they still use the build modules, because the corresponding
1923 # host modules (e.g. bison) are only built for the host when bootstrap
1925 # - build_subdir is where we find build modules, and never changes.
1926 # - build_libsubdir is where we find build libraries, and can be overridden.
1928 # Prefix 'build-' so this never conflicts with target_subdir.
1929 build_subdir
="build-${build_noncanonical}"
1931 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1932 if test "${with_build_libsubdir+set}" = set; then
1933 withval
="$with_build_libsubdir"
1934 build_libsubdir
="$withval"
1936 build_libsubdir
="$build_subdir"
1938 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1939 if ( test $srcdir = .
&& test -d gcc
) \
1940 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1941 host_subdir
="host-${host_noncanonical}"
1946 target_subdir
=${target_noncanonical}
1949 # Skipdirs are removed silently.
1951 # Noconfigdirs are removed loudly.
1955 # Make sure we don't let GNU ld be added if we didn't want it.
1956 if test x
$with_gnu_ld = xno
; then
1958 noconfigdirs
="$noconfigdirs ld"
1962 # Make sure we don't let GNU as be added if we didn't want it.
1963 if test x
$with_gnu_as = xno
; then
1965 noconfigdirs
="$noconfigdirs gas"
1968 # some tools are so dependent upon X11 that if we're not building with X,
1969 # it's not even worth trying to configure, much less build, that tool.
1972 yes |
"") ;; # the default value for this tree is that X11 is available
1974 skipdirs
="${skipdirs} tk itcl libgui"
1975 # We won't be able to build gdbtk without X.
1978 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1981 # Some tools are only suitable for building in a "native" situation.
1982 # Remove these if host!=target.
1983 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"
1985 # Similarly, some are only suitable for cross toolchains.
1986 # Remove these if host=target.
1987 cross_only
="target-libgloss target-newlib target-opcodes"
1989 case $is_cross_compiler in
1990 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1991 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1994 # If both --with-headers and --with-libs are specified, default to
1996 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1997 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1998 if test x
"${with_newlib}" = x
; then
2003 # Recognize --with-newlib/--without-newlib.
2004 case ${with_newlib} in
2005 no
) skipdirs
="${skipdirs} target-newlib" ;;
2006 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2009 # Configure extra directories which are host specific
2013 configdirs
="$configdirs libtermcap" ;;
2016 # A target can indicate whether a language isn't supported for some reason.
2017 # Only spaces may be used in this macro; not newlines or tabs.
2018 unsupported_languages
=
2020 # Remove more programs from consideration, based on the host or
2021 # target this usually means that a port of the program doesn't
2026 noconfigdirs
="$noconfigdirs byacc"
2028 i
[3456789]86-*-vsta)
2029 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2031 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2032 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2035 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2037 i
[3456789]86-*-mingw32*)
2038 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2039 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2041 i
[3456789]86-*-beos*)
2042 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2045 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2048 noconfigdirs
="$noconfigdirs rcs"
2051 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2054 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2059 # Check whether --enable-libada or --disable-libada was given.
2060 if test "${enable_libada+set}" = set; then
2061 enableval
="$enable_libada"
2062 ENABLE_LIBADA
=$enableval
2066 if test "${ENABLE_LIBADA}" != "yes" ; then
2067 noconfigdirs
="$noconfigdirs gnattools"
2070 # Check whether --enable-libssp or --disable-libssp was given.
2071 if test "${enable_libssp+set}" = set; then
2072 enableval
="$enable_libssp"
2073 ENABLE_LIBSSP
=$enableval
2078 # Save it here so that, even in case of --enable-libgcj, if the Java
2079 # front-end isn't enabled, we still get libgcj disabled.
2080 libgcj_saved
=$libgcj
2081 case $enable_libgcj in
2083 # If we reset it here, it won't get added to noconfigdirs in the
2084 # target-specific build rules, so it will be forcibly enabled
2085 # (unless the Java language itself isn't enabled).
2089 # Make sure we get it printed in the list of not supported target libs.
2090 noconfigdirs
="$noconfigdirs ${libgcj}"
2095 # Disable libmudflap on some systems.
2096 if test x
$enable_libmudflap = x
; then
2098 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2099 # Enable libmudflap by default in GNU and friends.
2102 # Enable libmudflap by default in FreeBSD.
2105 # Disable it by default everywhere else.
2106 noconfigdirs
="$noconfigdirs target-libmudflap"
2111 # Disable libgomp on non POSIX hosted systems.
2112 if test x
$enable_libgomp = x
; then
2113 # Enable libgomp by default on hosted POSIX systems.
2115 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2117 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2119 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2121 *-*-darwin* |
*-*-aix*)
2124 noconfigdirs
="$noconfigdirs target-libgomp"
2129 # Default libgloss CPU subdirectory.
2130 libgloss_dir
="$target_cpu"
2134 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2136 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2137 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2138 noconfigdirs
="$noconfigdirs sim target-rda"
2141 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2142 noconfigdirs
="$noconfigdirs sim target-rda"
2143 noconfigdirs
="$noconfigdirs ${libgcj}"
2145 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2146 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2149 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2150 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2151 && test -f /usr
/local
/include
/gmp.h
; then
2155 # Skip some stuff that's unsupported on some FreeBSD configurations.
2160 noconfigdirs
="$noconfigdirs ${libgcj}"
2165 # Remove unsupported stuff on all kaOS configurations.
2166 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2167 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2168 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2169 noconfigdirs
="$noconfigdirs target-libgloss"
2172 # Skip some stuff on all NetBSD configurations.
2173 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2175 # Skip some stuff that's unsupported on some NetBSD configurations.
2177 i
*86-*-netbsdelf*) ;;
2178 arm
*-*-netbsdelf*) ;;
2180 noconfigdirs
="$noconfigdirs ${libgcj}"
2185 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2188 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2190 # The tpf target doesn't support gdb yet.
2192 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2195 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2198 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2201 # ld works, but does not support shared libraries.
2202 # newlib is not 64 bit ready. I'm not sure about fileutils.
2203 # gas doesn't generate exception information.
2204 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2207 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2210 # newlib is not 64 bit ready
2211 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2214 # newlib is not 64 bit ready
2215 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2218 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2221 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2223 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2224 noconfigdirs
="$noconfigdirs ${libgcj}"
2225 noconfigdirs
="$noconfigdirs target-examples"
2226 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2227 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2228 noconfigdirs
="$noconfigdirs expect dejagnu"
2229 # the C++ libraries don't build on top of CE's C libraries
2230 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2231 noconfigdirs
="$noconfigdirs target-newlib"
2233 *-*-cygwin*) ;; # keep gdb and readline
2234 *) noconfigdirs
="$noconfigdirs gdb readline"
2240 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2244 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2245 noconfigdirs
="$noconfigdirs ${libgcj}"
2248 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2249 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2252 arm
*-*-linux-gnueabi)
2253 noconfigdirs
="$noconfigdirs target-qthreads"
2254 noconfigdirs
="$noconfigdirs target-libobjc"
2255 case ${with_newlib} in
2256 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2261 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2265 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2268 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2271 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2274 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2277 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2280 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2283 noconfigdirs
="$noconfigdirs gdb"
2284 if test x
${is_cross_compiler} != xno
; then
2285 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2288 c4x-
*-* | tic4x-
*-*)
2289 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2291 c54x
*-*-* | tic54x-
*-*)
2292 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2294 cris-
*-* | crisv32-
*-*)
2295 unsupported_languages
="$unsupported_languages java"
2298 unsupported_languages
="$unsupported_languages fortran"
2299 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2301 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2303 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2305 unsupported_languages
="$unsupported_languages fortran"
2306 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2311 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2314 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2317 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2319 ep9312-
*-elf | ep9312-
*-coff)
2323 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2326 noconfigdirs
="$noconfigdirs ${libgcj}"
2329 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2332 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2334 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2336 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2337 # In this case, it's because the hppa64-linux target is for
2338 # the kernel only at this point and has no libc, and thus no
2339 # headers, crt*.o, etc., all of which are needed by these.
2340 noconfigdirs
="$noconfigdirs target-zlib"
2342 parisc
*-*-linux* | hppa
*-*-linux*)
2346 hppa
*-*-openbsd* | \
2348 noconfigdirs
="$noconfigdirs ${libgcj}"
2351 noconfigdirs
="$noconfigdirs ld shellutils"
2357 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2358 # build on HP-UX 10.20.
2359 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2362 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2365 # No gdb support yet.
2366 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2369 # No gdb or ld support yet.
2370 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2374 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2375 noconfigdirs
="$noconfigdirs ${libgcj}"
2378 i
[3456789]86-*-linux*)
2379 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2380 # not build java stuff by default.
2383 noconfigdirs
="$noconfigdirs ${libgcj}";;
2386 # This section makes it possible to build newlib natively on linux.
2387 # If we are using a cross compiler then don't configure newlib.
2388 if test x
${is_cross_compiler} != xno
; then
2389 noconfigdirs
="$noconfigdirs target-newlib"
2391 noconfigdirs
="$noconfigdirs target-libgloss"
2392 # If we are not using a cross compiler, do configure newlib.
2393 # Note however, that newlib will only be configured in this situation
2394 # if the --with-newlib option has been given, because otherwise
2395 # 'target-newlib' will appear in skipdirs.
2397 i
[3456789]86-*-mingw32*)
2398 target_configdirs
="$target_configdirs target-winsup"
2399 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2402 target_configdirs
="$target_configdirs target-winsup"
2403 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2406 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2407 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2408 # always build newlib if winsup directory is present.
2409 if test -d "$srcdir/winsup/cygwin"; then
2410 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2411 elif test -d "$srcdir/newlib"; then
2412 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2415 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2416 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2419 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2421 i
[3456789]86-*-sco3.2v5
*)
2422 # The linker does not yet know about weak symbols in COFF,
2423 # and is not configured to handle mixed ELF and COFF.
2424 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2426 i
[3456789]86-*-sco*)
2427 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2429 i
[3456789]86-*-solaris2*)
2430 noconfigdirs
="$noconfigdirs target-libgloss"
2432 i
[3456789]86-*-sysv4*)
2433 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2435 i
[3456789]86-*-beos*)
2436 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2438 i
[3456789]86-*-rdos*)
2439 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2442 noconfigdirs
="$noconfigdirs ${libgcj}"
2444 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2445 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2446 libgloss_dir
=m68hc11
2449 noconfigdirs
="$noconfigdirs ${libgcj}"
2452 noconfigdirs
="$noconfigdirs ${libgcj}"
2454 m68
*-*-* | fido-
*-*)
2458 # The EPOC C++ environment does not support exceptions or rtti,
2459 # and so building libstdc++-v3 tends not to always work.
2460 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2463 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2464 unsupported_languages
="$unsupported_languages fortran java"
2467 noconfigdirs
="$noconfigdirs ${libgcj}"
2470 noconfigdirs
="$noconfigdirs ${libgcj}"
2473 noconfigdirs
="$noconfigdirs sim"
2476 # copied from rs6000-*-* entry
2477 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2479 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2480 target_configdirs
="$target_configdirs target-winsup"
2481 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2482 # always build newlib.
2483 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2485 # This is temporary until we can link against shared libraries
2486 powerpcle-
*-solaris*)
2487 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2491 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2494 noconfigdirs
="$noconfigdirs ${libgcj}"
2497 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2501 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2504 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2507 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2510 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2513 skipdirs
="$skipdirs target-libiberty"
2514 noconfigdirs
="$noconfigdirs ${libgcj}"
2515 if test x
$with_newlib = xyes
; then
2516 noconfigdirs
="$noconfigdirs gprof"
2521 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2524 # Linking libjava exceeds command-line length limits on at least
2525 # IRIX 6.2, but not on IRIX 6.5.
2526 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2527 # <oldham@codesourcery.com>
2528 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2531 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2537 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2541 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2545 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2546 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2547 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2548 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2550 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2552 sparclet-
*-aout* | sparc86x-
*-*)
2556 noconfigdirs
="$noconfigdirs ${libgcj}"
2559 noconfigdirs
="$noconfigdirs ${libgcj}"
2563 noconfigdirs
="$noconfigdirs ${libgcj}"
2567 noconfigdirs
="$noconfigdirs ${libgcj}"
2568 if test x
${is_cross_compiler} != xno
; then
2569 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2574 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2575 noconfigdirs
="$noconfigdirs ${libgcj}"
2577 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2580 skipdirs
="target-libssp"
2583 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2586 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2589 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2592 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2595 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2601 noconfigdirs
="$noconfigdirs ${libgcj}"
2604 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2606 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2613 noconfigdirs
="$noconfigdirs ${libgcj}"
2617 # If we aren't building newlib, then don't build libgloss, since libgloss
2618 # depends upon some newlib header files.
2619 case "${noconfigdirs}" in
2620 *target-libgloss
*) ;;
2621 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2624 # Work in distributions that contain no compiler tools, like Autoconf.
2626 host_makefile_frag
=/dev
/null
2627 if test -d ${srcdir}/config
; then
2630 # Avoid "too much defining" errors from HPUX compiler.
2631 tentative_cc
="cc -Wp,-H256000"
2632 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2633 # If it's HP/UX ar, this should be harmless.
2637 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2640 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2641 # chokes on bfd, the compiler won't let you assign integers to enums, and
2642 # other problems. Defining CC to gcc is a questionable way to say "don't use
2643 # the apollo compiler" (the preferred version of GCC could be called cc,
2644 # or whatever), but I'm not sure leaving CC as cc is any better...
2645 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2646 # Used to have BISON=yacc.
2650 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2653 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2654 tentative_cc
="cc -Xa"
2655 host_makefile_frag
="config/mh-cxux"
2657 m88k-motorola-sysv
*)
2660 tentative_cc
="cc -Wf,-XNg1000"
2661 host_makefile_frag
="config/mh-decstation"
2664 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2665 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2666 host_makefile_frag
="config/mh-necv4"
2669 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2670 # environment. Also bump switch table size so that cp-parse will
2671 # compile. Bump string length limit so linker builds.
2672 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2675 host_makefile_frag
="config/mh-sysv4"
2678 # This is for a MIPS running RISC/os 4.52C.
2680 # This is needed for GDB, but needs to be in the top-level make because
2681 # if a library is compiled with the bsd headers and gets linked with the
2682 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2683 # a different size).
2684 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2685 # known except to select the sysv environment. Could we use /proc instead?
2686 # These "sysv environments" and "bsd environments" often end up being a pain.
2688 # This is not part of CFLAGS because perhaps not all C compilers have this
2690 tentative_cc
="cc -systype sysv"
2695 i
[3456789]86-*-sysv5*)
2696 host_makefile_frag
="config/mh-sysv5"
2698 i
[3456789]86-*-dgux*)
2699 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2700 host_makefile_frag
="config/mh-dgux386"
2702 i
[3456789]86-ncr-sysv4.3
*)
2703 # The MetaWare compiler will generate a copyright message unless you
2704 # turn it off by adding the -Hnocopyr flag.
2705 tentative_cc
="cc -Hnocopyr"
2707 i
[3456789]86-ncr-sysv4*)
2708 # for an NCR 3000 (i486/SVR4) system.
2709 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2710 # This compiler not only emits obnoxious copyright messages every time
2711 # you run it, but it chokes and dies on a whole bunch of GNU source
2712 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2713 tentative_cc
="/usr/ccs/ATT/cc"
2714 host_makefile_frag
="config/mh-ncr3000"
2716 i
[3456789]86-*-sco3.2v5
*)
2718 i
[3456789]86-*-sco*)
2719 # The native C compiler botches some simple uses of const. Unfortunately,
2720 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2721 tentative_cc
="cc -Dconst="
2722 host_makefile_frag
="config/mh-sco"
2724 i
[3456789]86-*-udk*)
2725 host_makefile_frag
="config/mh-sysv5"
2727 i
[3456789]86-*-solaris2*)
2728 host_makefile_frag
="config/mh-sysv4"
2730 i
[3456789]86-*-msdosdjgpp*)
2731 host_makefile_frag
="config/mh-djgpp"
2734 host_makefile_frag
="config/mh-cygwin"
2737 host_makefile_frag
="config/mh-mingw"
2740 host_makefile_frag
="config/mh-mingw"
2743 host_makefile_frag
="config/mh-interix"
2746 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2750 host_makefile_frag
="config/mh-solaris"
2753 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2754 # without overflowing the jump tables (-J says to use a 32 bit table)
2755 tentative_cc
="cc -J"
2758 tentative_cc
="cc -Wp,-H256000"
2761 tentative_cc
="cc -Wp,-H256000"
2764 # /bin/cc is less than useful for our purposes. Always use GCC
2765 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2766 host_makefile_frag
="config/mh-lynxrs6k"
2769 host_makefile_frag
="config/mh-ppc-darwin"
2772 host_makefile_frag
="config/mh-ppc-aix"
2775 host_makefile_frag
="config/mh-ppc-aix"
2778 # /bin/cc is less than useful for our purposes. Always use GCC
2779 tentative_cc
="/bin/gcc"
2782 host_makefile_frag
="config/mh-sysv4"
2784 # This is placed last to prevent interfering with the cases above.
2786 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2787 host_makefile_frag
="config/mh-x86omitfp"
2792 # If we aren't going to be using gcc, see if we can extract a definition
2793 # of CC from the fragment.
2794 # Actually, use the 'pre-extracted' version above.
2795 if test -z "${CC}" && test "${build}" = "${host}" ; then
2796 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2798 for dir
in $PATH; do
2799 test -z "$dir" && dir
=.
2800 if test -f $dir/gcc
; then
2806 if test -z "${found}" && test -n "${tentative_cc}" ; then
2811 if test "${build}" != "${host}" ; then
2812 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2813 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2814 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2815 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2816 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2817 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2818 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2819 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2820 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2821 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2822 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2823 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2825 AR_FOR_BUILD
="\$(AR)"
2826 AS_FOR_BUILD
="\$(AS)"
2827 CC_FOR_BUILD
="\$(CC)"
2828 CXX_FOR_BUILD
="\$(CXX)"
2829 GCJ_FOR_BUILD
="\$(GCJ)"
2830 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2831 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2832 LD_FOR_BUILD
="\$(LD)"
2833 NM_FOR_BUILD
="\$(NM)"
2834 RANLIB_FOR_BUILD
="\$(RANLIB)"
2835 WINDRES_FOR_BUILD
="\$(WINDRES)"
2836 WINDMC_FOR_BUILD
="\$(WINDMC)"
2840 ac_cpp
='$CPP $CPPFLAGS'
2841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2844 if test -n "$ac_tool_prefix"; then
2845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2846 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2847 echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849 if test "${ac_cv_prog_CC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC
="$CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 if test -n "$CC"; then
2873 echo "$as_me:$LINENO: result: $CC" >&5
2874 echo "${ECHO_T}$CC" >&6
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2881 if test -z "$ac_cv_prog_CC"; then
2883 # Extract the first word of "gcc", so it can be a program name with args.
2884 set dummy gcc
; ac_word
=$2
2885 echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 if test -n "$ac_ct_CC"; then
2891 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_ac_ct_CC
="gcc"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2910 if test -n "$ac_ct_CC"; then
2911 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2912 echo "${ECHO_T}$ac_ct_CC" >&6
2914 echo "$as_me:$LINENO: result: no" >&5
2915 echo "${ECHO_T}no" >&6
2923 if test -z "$CC"; then
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2926 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2927 echo "$as_me:$LINENO: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2929 if test "${ac_cv_prog_CC+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC
="$CC" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2942 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 echo "$as_me:$LINENO: result: $CC" >&5
2954 echo "${ECHO_T}$CC" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2961 if test -z "$ac_cv_prog_CC"; then
2963 # Extract the first word of "cc", so it can be a program name with args.
2964 set dummy cc
; ac_word
=$2
2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -n "$ac_ct_CC"; then
2971 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir
=.
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_ac_ct_CC
="cc"
2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2990 if test -n "$ac_ct_CC"; then
2991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2992 echo "${ECHO_T}$ac_ct_CC" >&6
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
3004 if test -z "$CC"; then
3005 # Extract the first word of "cc", so it can be a program name with args.
3006 set dummy cc
; ac_word
=$2
3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009 if test "${ac_cv_prog_CC+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 if test -n "$CC"; then
3013 ac_cv_prog_CC
="$CC" # Let the user override the test.
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3024 ac_prog_rejected
=yes
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test $ac_prog_rejected = yes; then
3035 # We found a bogon in the path, so make sure we never use it.
3036 set dummy
$ac_cv_prog_CC
3038 if test $# != 0; then
3039 # We chose a different compiler from the bogus one.
3040 # However, it has the same basename, so the bogon will be chosen
3041 # first if we set CC to just the basename; use the full file name.
3043 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3049 if test -n "$CC"; then
3050 echo "$as_me:$LINENO: result: $CC" >&5
3051 echo "${ECHO_T}$CC" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3058 if test -z "$CC"; then
3059 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3063 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3064 echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066 if test "${ac_cv_prog_CC+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC
="$CC" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 echo "$as_me:$LINENO: result: $CC" >&5
3091 echo "${ECHO_T}$CC" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3097 test -n "$CC" && break
3100 if test -z "$CC"; then
3104 # Extract the first word of "$ac_prog", so it can be a program name with args.
3105 set dummy
$ac_prog; ac_word
=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_ac_ct_CC
="$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3131 if test -n "$ac_ct_CC"; then
3132 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3133 echo "${ECHO_T}$ac_ct_CC" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3139 test -n "$ac_ct_CC" && break
3148 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3149 See \`config.log' for more details." >&5
3150 echo "$as_me: error: no acceptable C compiler found in \$PATH
3151 See \`config.log' for more details." >&2;}
3152 { (exit 1); exit 1; }; }
3154 # Provide some information about the compiler.
3155 echo "$as_me:$LINENO:" \
3156 "checking for C compiler version" >&5
3157 ac_compiler
=`set X $ac_compile; echo $2`
3158 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3159 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }
3163 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3164 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }
3168 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3169 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 ac_clean_files_save
=$ac_clean_files
3190 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3191 # Try to create an executable without -o first, disregard a.out.
3192 # It will help us diagnose broken compilers, and finding out an intuition
3194 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3195 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3196 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3197 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3198 (eval $ac_link_default) 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; then
3202 # Find the output, starting from the most likely. This scheme is
3203 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3206 # Be careful to initialize this variable, since it used to be cached.
3207 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3209 # b.out is created by i960 compilers.
3210 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3212 test -f "$ac_file" ||
continue
3214 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3217 # This is the source file.
3220 # We found the default executable, but exeext='' is most
3224 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 # FIXME: I believe we export ac_cv_exeext for Libtool,
3226 # but it would be cool to find out if it's true. Does anybody
3227 # maintain Libtool? --akim.
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3238 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3239 See \`config.log' for more details." >&5
3240 echo "$as_me: error: C compiler cannot create executables
3241 See \`config.log' for more details." >&2;}
3242 { (exit 77); exit 77; }; }
3245 ac_exeext
=$ac_cv_exeext
3246 echo "$as_me:$LINENO: result: $ac_file" >&5
3247 echo "${ECHO_T}$ac_file" >&6
3249 # Check the compiler produces executables we can run. If not, either
3250 # the compiler is broken, or we cross compile.
3251 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3252 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3253 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3254 # If not cross compiling, check that we can run a simple program.
3255 if test "$cross_compiling" != yes; then
3256 if { ac_try
='./$ac_file'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3264 if test "$cross_compiling" = maybe
; then
3267 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3268 If you meant to cross compile, use \`--host'.
3269 See \`config.log' for more details." >&5
3270 echo "$as_me: error: cannot run C compiled programs.
3271 If you meant to cross compile, use \`--host'.
3272 See \`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; }
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3280 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3281 ac_clean_files
=$ac_clean_files_save
3282 # Check the compiler produces executables we can run. If not, either
3283 # the compiler is broken, or we cross compile.
3284 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3285 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3286 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3287 echo "${ECHO_T}$cross_compiling" >&6
3289 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3290 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3292 (eval $ac_link) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; then
3296 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3297 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3298 # work properly (i.e., refer to `conftest.exe'), while it won't with
3300 for ac_file
in conftest.exe conftest conftest.
*; do
3301 test -f "$ac_file" ||
continue
3303 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3304 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3312 See \`config.log' for more details." >&5
3313 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3314 See \`config.log' for more details." >&2;}
3315 { (exit 1); exit 1; }; }
3318 rm -f conftest
$ac_cv_exeext
3319 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3320 echo "${ECHO_T}$ac_cv_exeext" >&6
3322 rm -f conftest.
$ac_ext
3323 EXEEXT
=$ac_cv_exeext
3325 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3326 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3327 if test "${ac_cv_objext+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 cat >conftest.
$ac_ext <<_ACEOF
3333 cat confdefs.h
>>conftest.
$ac_ext
3334 cat >>conftest.
$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3345 rm -f conftest.o conftest.obj
3346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3347 (eval $ac_compile) 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; then
3351 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3353 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3354 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.
$ac_ext >&5
3362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3363 See \`config.log' for more details." >&5
3364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3365 See \`config.log' for more details." >&2;}
3366 { (exit 1); exit 1; }; }
3369 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3371 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3372 echo "${ECHO_T}$ac_cv_objext" >&6
3373 OBJEXT
=$ac_cv_objext
3375 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3377 if test "${ac_cv_c_compiler_gnu+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. */
3398 rm -f conftest.
$ac_objext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400 (eval $ac_compile) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1
>conftest.err
3404 cat conftest.err
>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try
='test -z "$ac_c_werror_flag"
3408 || test ! -s conftest.err'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; } &&
3414 { ac_try
='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.
$ac_ext >&5
3427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3428 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3431 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3432 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3433 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3434 ac_test_CFLAGS
=${CFLAGS+set}
3435 ac_save_CFLAGS
=$CFLAGS
3437 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3438 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3439 if test "${ac_cv_prog_cc_g+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.
$ac_ext <<_ACEOF
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3457 rm -f conftest.
$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>conftest.er1
3461 grep -v '^ *+' conftest.er1
>conftest.err
3463 cat conftest.err
>&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try
='test -z "$ac_c_werror_flag"
3467 || test ! -s conftest.err'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; } &&
3473 { ac_try
='test -s conftest.$ac_objext'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.
$ac_ext >&5
3486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3489 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3490 if test "$ac_test_CFLAGS" = set; then
3491 CFLAGS
=$ac_save_CFLAGS
3492 elif test $ac_cv_prog_cc_g = yes; then
3493 if test "$GCC" = yes; then
3499 if test "$GCC" = yes; then
3505 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3506 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3507 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 ac_cv_prog_cc_stdc
=no
3512 cat >conftest.
$ac_ext <<_ACEOF
3515 cat confdefs.h
>>conftest.
$ac_ext
3516 cat >>conftest.
$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3520 #include <sys/types.h>
3521 #include <sys/stat.h>
3522 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3523 struct buf { int x; };
3524 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3525 static char *e (p, i)
3531 static char *f (char * (*g) (char **, int), char **p, ...)
3536 s = g (p, va_arg (v,int));
3541 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3542 function prototypes and stuff, but not '\xHH' hex character constants.
3543 These don't provoke an error unfortunately, instead are silently treated
3544 as 'x'. The following induces an error, until -std1 is added to get
3545 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3546 array size at least. It's necessary to write '\x00'==0 to get something
3547 that's true only with -std1. */
3548 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3550 int test (int i, double x);
3551 struct s1 {int (*f) (int a);};
3552 struct s2 {int (*f) (double a);};
3553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3564 # Don't try gcc -ansi; that turns off useful extensions and
3565 # breaks some systems' header files.
3566 # AIX -qlanglvl=ansi
3567 # Ultrix and OSF/1 -std1
3568 # HP-UX 10.20 and later -Ae
3569 # HP-UX older versions -Aa -D_HPUX_SOURCE
3570 # SVR4 -Xc -D__EXTENSIONS__
3571 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3573 CC
="$ac_save_CC $ac_arg"
3574 rm -f conftest.
$ac_objext
3575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3576 (eval $ac_compile) 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } &&
3583 { ac_try
='test -z "$ac_c_werror_flag"
3584 || test ! -s conftest.err'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } &&
3590 { ac_try
='test -s conftest.$ac_objext'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3596 ac_cv_prog_cc_stdc
=$ac_arg
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3603 rm -f conftest.err conftest.
$ac_objext
3605 rm -f conftest.
$ac_ext conftest.
$ac_objext
3610 case "x$ac_cv_prog_cc_stdc" in
3612 echo "$as_me:$LINENO: result: none needed" >&5
3613 echo "${ECHO_T}none needed" >&6 ;;
3615 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3616 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3617 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3620 # Some people use a C++ compiler to compile C. Since we use `exit',
3621 # in C++ we need to declare it. In case someone uses the same compiler
3622 # for both compiling C and C++ we need to have the C++ compiler decide
3623 # the declaration of exit, since it's the most demanding environment.
3624 cat >conftest.
$ac_ext <<_ACEOF
3629 rm -f conftest.
$ac_objext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3631 (eval $ac_compile) 2>conftest.er1
3633 grep -v '^ *+' conftest.er1
>conftest.err
3635 cat conftest.err
>&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } &&
3638 { ac_try
='test -z "$ac_c_werror_flag"
3639 || test ! -s conftest.err'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; } &&
3645 { ac_try
='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 for ac_declaration
in \
3653 'extern "C" void std::exit (int) throw (); using std::exit;' \
3654 'extern "C" void std::exit (int); using std::exit;' \
3655 'extern "C" void exit (int) throw ();' \
3656 'extern "C" void exit (int);' \
3659 cat >conftest.
$ac_ext <<_ACEOF
3662 cat confdefs.h
>>conftest.
$ac_ext
3663 cat >>conftest.
$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3675 rm -f conftest.
$ac_objext
3676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3677 (eval $ac_compile) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1
>conftest.err
3681 cat conftest.err
>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } &&
3684 { ac_try
='test -z "$ac_c_werror_flag"
3685 || test ! -s conftest.err'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; } &&
3691 { ac_try
='test -s conftest.$ac_objext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.
$ac_ext >&5
3704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3705 cat >conftest.
$ac_ext <<_ACEOF
3708 cat confdefs.h
>>conftest.
$ac_ext
3709 cat >>conftest.
$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3720 rm -f conftest.
$ac_objext
3721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3722 (eval $ac_compile) 2>conftest.er1
3724 grep -v '^ *+' conftest.er1
>conftest.err
3726 cat conftest.err
>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try
='test -z "$ac_c_werror_flag"
3730 || test ! -s conftest.err'
3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }; } &&
3736 { ac_try
='test -s conftest.$ac_objext'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; }; then
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.
$ac_ext >&5
3748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3751 if test -n "$ac_declaration"; then
3752 echo '#ifdef __cplusplus' >>confdefs.h
3753 echo $ac_declaration >>confdefs.h
3754 echo '#endif' >>confdefs.h
3758 echo "$as_me: failed program was:" >&5
3759 sed 's/^/| /' conftest.
$ac_ext >&5
3762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3764 ac_cpp
='$CPP $CPPFLAGS'
3765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3770 ac_cpp
='$CXXCPP $CPPFLAGS'
3771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3774 if test -n "$ac_tool_prefix"; then
3775 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3777 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3778 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3779 echo "$as_me:$LINENO: checking for $ac_word" >&5
3780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3781 if test "${ac_cv_prog_CXX+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 if test -n "$CXX"; then
3785 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir
=.
3792 for ac_exec_ext
in '' $ac_executable_extensions; do
3793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 if test -n "$CXX"; then
3805 echo "$as_me:$LINENO: result: $CXX" >&5
3806 echo "${ECHO_T}$CXX" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3812 test -n "$CXX" && break
3815 if test -z "$CXX"; then
3817 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3819 # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy
$ac_prog; ac_word
=$2
3821 echo "$as_me:$LINENO: checking for $ac_word" >&5
3822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3823 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 if test -n "$ac_ct_CXX"; then
3827 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_exec_ext
in '' $ac_executable_extensions; do
3835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3846 if test -n "$ac_ct_CXX"; then
3847 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3848 echo "${ECHO_T}$ac_ct_CXX" >&6
3850 echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3854 test -n "$ac_ct_CXX" && break
3856 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3862 # Provide some information about the compiler.
3863 echo "$as_me:$LINENO:" \
3864 "checking for C++ compiler version" >&5
3865 ac_compiler
=`set X $ac_compile; echo $2`
3866 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3867 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }
3871 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3872 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }
3876 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3877 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }
3882 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3883 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3884 if test "${ac_cv_cxx_compiler_gnu+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. */
3905 rm -f conftest.
$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907 (eval $ac_compile) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try
='test -z "$ac_cxx_werror_flag"
3915 || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try
='test -s conftest.$ac_objext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3935 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3938 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3939 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3940 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3941 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3942 ac_save_CXXFLAGS
=$CXXFLAGS
3944 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3945 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3946 if test "${ac_cv_prog_cxx_g+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 cat >conftest.
$ac_ext <<_ACEOF
3952 cat confdefs.h
>>conftest.
$ac_ext
3953 cat >>conftest.
$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3964 rm -f conftest.
$ac_objext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3966 (eval $ac_compile) 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } &&
3973 { ac_try
='test -z "$ac_cxx_werror_flag"
3974 || test ! -s conftest.err'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; } &&
3980 { ac_try
='test -s conftest.$ac_objext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3986 ac_cv_prog_cxx_g
=yes
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.
$ac_ext >&5
3993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3995 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3996 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3997 if test "$ac_test_CXXFLAGS" = set; then
3998 CXXFLAGS
=$ac_save_CXXFLAGS
3999 elif test $ac_cv_prog_cxx_g = yes; then
4000 if test "$GXX" = yes; then
4006 if test "$GXX" = yes; then
4012 for ac_declaration
in \
4014 'extern "C" void std::exit (int) throw (); using std::exit;' \
4015 'extern "C" void std::exit (int); using std::exit;' \
4016 'extern "C" void exit (int) throw ();' \
4017 'extern "C" void exit (int);' \
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4036 rm -f conftest.
$ac_objext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1
>conftest.err
4042 cat conftest.err
>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try
='test -z "$ac_cxx_werror_flag"
4046 || test ! -s conftest.err'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; } &&
4052 { ac_try
='test -s conftest.$ac_objext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 cat >conftest.
$ac_ext <<_ACEOF
4069 cat confdefs.h
>>conftest.
$ac_ext
4070 cat >>conftest.
$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4081 rm -f conftest.
$ac_objext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4083 (eval $ac_compile) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try
='test -z "$ac_cxx_werror_flag"
4091 || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try
='test -s conftest.$ac_objext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.
$ac_ext >&5
4109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4112 if test -n "$ac_declaration"; then
4113 echo '#ifdef __cplusplus' >>confdefs.h
4114 echo $ac_declaration >>confdefs.h
4115 echo '#endif' >>confdefs.h
4119 ac_cpp
='$CPP $CPPFLAGS'
4120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 # We must set the default linker to the linker used by gcc for the correct
4126 # operation of libtool. If LD is not defined and we are using gcc, try to
4127 # set the LD default to the ld used by gcc.
4128 if test -z "$LD"; then
4129 if test "$GCC" = yes; then
4132 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4134 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4136 case $gcc_prog_ld in
4137 # Accept absolute paths.
4138 [\\/]* |
[A-Za-z
]:[\\/]*)
4139 LD
="$gcc_prog_ld" ;;
4147 if test -n "$ac_tool_prefix"; then
4148 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4149 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4150 echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4152 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -n "$GNATBIND"; then
4156 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4165 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 GNATBIND
=$ac_cv_prog_GNATBIND
4175 if test -n "$GNATBIND"; then
4176 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4177 echo "${ECHO_T}$GNATBIND" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4184 if test -z "$ac_cv_prog_GNATBIND"; then
4185 ac_ct_GNATBIND
=$GNATBIND
4186 # Extract the first word of "gnatbind", so it can be a program name with args.
4187 set dummy gnatbind
; ac_word
=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 if test -n "$ac_ct_GNATBIND"; then
4194 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4213 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4214 if test -n "$ac_ct_GNATBIND"; then
4215 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4216 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4222 GNATBIND
=$ac_ct_GNATBIND
4224 GNATBIND
="$ac_cv_prog_GNATBIND"
4227 if test -n "$ac_tool_prefix"; then
4228 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4229 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4230 echo "$as_me:$LINENO: checking for $ac_word" >&5
4231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4232 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4235 if test -n "$GNATMAKE"; then
4236 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir
=.
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 GNATMAKE
=$ac_cv_prog_GNATMAKE
4255 if test -n "$GNATMAKE"; then
4256 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4257 echo "${ECHO_T}$GNATMAKE" >&6
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4264 if test -z "$ac_cv_prog_GNATMAKE"; then
4265 ac_ct_GNATMAKE
=$GNATMAKE
4266 # Extract the first word of "gnatmake", so it can be a program name with args.
4267 set dummy gnatmake
; ac_word
=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if test -n "$ac_ct_GNATMAKE"; then
4274 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4293 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4294 if test -n "$ac_ct_GNATMAKE"; then
4295 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4296 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4298 echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6
4302 GNATMAKE
=$ac_ct_GNATMAKE
4304 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4307 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4308 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4309 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 cat >conftest.adb
<<EOF
4313 procedure conftest is begin null; end conftest;
4315 acx_cv_cc_gcc_supports_ada
=no
4316 # There is a bug in old released versions of GCC which causes the
4317 # driver to exit successfully when the appropriate language module
4318 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4319 # Therefore we must check for the error message as well as an
4320 # unsuccessful exit.
4321 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4322 # given a .adb file, but produce no object file. So we must check
4323 # if an object file was really produced to guard against this.
4324 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4325 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4326 acx_cv_cc_gcc_supports_ada
=yes
4330 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4331 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4333 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4339 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4340 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4341 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4347 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4348 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4351 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4354 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4355 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4358 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4364 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4365 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4366 do_compare
="$gcc_cv_prog_cmp_skip"
4370 # Check for GMP and MPFR
4371 gmplibs
="-lmpfr -lgmp"
4375 # Specify a location for mpfr
4376 # check for this first so it ends up on the link line before gmp.
4378 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4379 if test "${with_mpfr_dir+set}" = set; then
4380 withval
="$with_mpfr_dir"
4381 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4382 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4383 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4384 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4385 { (exit 1); exit 1; }; }
4389 # Check whether --with-mpfr or --without-mpfr was given.
4390 if test "${with_mpfr+set}" = set; then
4391 withval
="$with_mpfr"
4395 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4396 if test "${with_mpfr_include+set}" = set; then
4397 withval
="$with_mpfr_include"
4401 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4402 if test "${with_mpfr_lib+set}" = set; then
4403 withval
="$with_mpfr_lib"
4407 if test "x$with_mpfr" != x
; then
4408 gmplibs
="-L$with_mpfr/lib $gmplibs"
4409 gmpinc
="-I$with_mpfr/include"
4411 if test "x$with_mpfr_include" != x
; then
4412 gmpinc
="-I$with_mpfr_include"
4414 if test "x$with_mpfr_lib" != x
; then
4415 gmplibs
="-L$with_mpfr_lib $gmplibs"
4417 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4418 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4419 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4420 # Do not test the mpfr version. Assume that it is sufficient, since
4421 # it is in the source tree, and the library has not been built yet
4422 # but it would be included on the link line in the version check below
4423 # hence making the test fail.
4427 # Specify a location for gmp
4429 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4430 if test "${with_gmp_dir+set}" = set; then
4431 withval
="$with_gmp_dir"
4432 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4433 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4434 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4435 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4436 { (exit 1); exit 1; }; }
4440 # Check whether --with-gmp or --without-gmp was given.
4441 if test "${with_gmp+set}" = set; then
4446 # Check whether --with-gmp_include or --without-gmp_include was given.
4447 if test "${with_gmp_include+set}" = set; then
4448 withval
="$with_gmp_include"
4452 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4453 if test "${with_gmp_lib+set}" = set; then
4454 withval
="$with_gmp_lib"
4459 if test "x$with_gmp" != x
; then
4460 gmplibs
="-L$with_gmp/lib $gmplibs"
4461 gmpinc
="-I$with_gmp/include $gmpinc"
4463 if test "x$with_gmp_include" != x
; then
4464 gmpinc
="-I$with_gmp_include $gmpinc"
4466 if test "x$with_gmp_lib" != x
; then
4467 gmplibs
="-L$with_gmp_lib $gmplibs"
4469 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4470 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4471 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4472 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
4473 # Do not test the gmp version. Assume that it is sufficient, since
4474 # it is in the source tree, and the library has not been built yet
4475 # but it would be included on the link line in the version check below
4476 # hence making the test fail.
4480 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4482 saved_CFLAGS
="$CFLAGS"
4483 CFLAGS
="$CFLAGS $gmpinc"
4484 # Check GMP actually works
4485 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4486 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4499 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -z "$ac_c_werror_flag"
4517 || test ! -s conftest.err'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; } &&
4523 { ac_try
='test -s conftest.$ac_objext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4529 echo "$as_me:$LINENO: result: yes" >&5
4530 echo "${ECHO_T}yes" >&6
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; have_gmp
=no
4538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4540 if test x
"$have_gmp" = xyes
; then
4542 LIBS
="$LIBS $gmplibs"
4543 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4544 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4545 cat >conftest.
$ac_ext <<_ACEOF
4548 cat confdefs.h
>>conftest.
$ac_ext
4549 cat >>conftest.
$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4557 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4565 mpfr_atan2 (n, n, x, GMP_RNDN);
4566 mpfr_erfc (n, x, GMP_RNDN);
4567 mpfr_subnormalize (x, t, GMP_RNDN);
4573 rm -f conftest.
$ac_objext conftest
$ac_exeext
4574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4575 (eval $ac_link) 2>conftest.er1
4577 grep -v '^ *+' conftest.er1
>conftest.err
4579 cat conftest.err
>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } &&
4582 { ac_try
='test -z "$ac_c_werror_flag"
4583 || test ! -s conftest.err'
4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; } &&
4589 { ac_try
='test -s conftest$ac_exeext'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; }; then
4595 cat >conftest.
$ac_ext <<_ACEOF
4598 cat confdefs.h
>>conftest.
$ac_ext
4599 cat >>conftest.
$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4607 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4610 mpfr_t n; mpfr_init(n);
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag"
4626 || test ! -s conftest.err'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; } &&
4632 { ac_try
='test -s conftest$ac_exeext'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.
$ac_ext >&5
4644 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4645 echo "${ECHO_T}buggy but acceptable" >&6
4647 rm -f conftest.err conftest.
$ac_objext \
4648 conftest
$ac_exeext conftest.
$ac_ext
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6; have_gmp
=no
4656 rm -f conftest.err conftest.
$ac_objext \
4657 conftest
$ac_exeext conftest.
$ac_ext
4660 CFLAGS
="$saved_CFLAGS"
4662 if test x
$have_gmp != xyes
; then
4663 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4664 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4665 Copies of these libraries' source code can be found at their respective
4666 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4667 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4668 If you obtained GMP and/or MPFR from a vendor distribution package, make
4669 sure that you have installed both the libraries and the header files.
4670 They may be located in separate packages." >&5
4671 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4672 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4673 Copies of these libraries' source code can be found at their respective
4674 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4675 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4676 If you obtained GMP and/or MPFR from a vendor distribution package, make
4677 sure that you have installed both the libraries and the header files.
4678 They may be located in separate packages." >&2;}
4679 { (exit 1); exit 1; }; }
4683 # Flags needed for both GMP and/or MPFR
4688 # By default, C is the only stage 1 language.
4689 stage1_languages
=,c
,
4691 # Figure out what language subdirectories are present.
4692 # Look if the user specified --enable-languages="..."; if not, use
4693 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4695 # NB: embedded tabs in this IF block -- do not untabify
4696 if test -d ${srcdir}/gcc
; then
4697 if test x
"${enable_languages+set}" != xset
; then
4698 if test x
"${LANGUAGES+set}" = xset
; then
4699 enable_languages
="${LANGUAGES}"
4700 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4702 enable_languages
=all
4705 if test x
"${enable_languages}" = x ||
4706 test x
"${enable_languages}" = xyes
;
4708 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4712 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4714 # 'f95' is the old name for the 'fortran' language. We issue a warning
4715 # and make the substitution.
4716 case ,${enable_languages}, in
4718 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4719 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4723 # First scan to see if an enabled language requires some other language.
4724 # We assume that a given config-lang.in will list all the language
4725 # front ends it requires, even if some are required indirectly.
4726 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4727 case ${lang_frag} in
4729 # The odd quoting in the next line works around
4730 # an apparent bug in bash 1.12 on linux.
4731 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4733 # From the config-lang.in, get $language, $lang_requires
4737 for other
in ${lang_requires} ; do
4738 case ,${enable_languages}, in
4742 echo " \`$other' language required by \`$language'; enabling" 1>&2
4743 enable_languages
="${enable_languages},${other}"
4751 new_enable_languages
=,c
,
4752 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4753 potential_languages
=,c
,
4755 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4756 case ${lang_frag} in
4758 # The odd quoting in the next line works around
4759 # an apparent bug in bash 1.12 on linux.
4760 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4762 # From the config-lang.in, get $language, $target_libs,
4763 # $lang_dirs, $boot_language, and $build_by_default
4769 build_by_default
=yes
4771 if test x
${language} = x
; then
4772 echo "${lang_frag} doesn't set \$language." 1>&2
4776 case ,${enable_languages}, in
4778 # Language was explicitly selected; include it.
4782 # 'all' was selected, select it if it is a default language
4783 add_this_lang
=${build_by_default}
4790 # Disable languages that need other directories if these aren't available.
4791 for i
in $subdir_requires; do
4792 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4793 case ,${enable_languages}, in
4795 # Specifically requested language; tell them.
4796 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4797 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4798 { (exit 1); exit 1; }; }
4802 add_this_lang
=unsupported
4807 # Disable Ada if no preexisting GNAT is available.
4808 case ,${enable_languages},:${language}:${have_gnat} in
4809 *,${language},*:ada
:no
)
4810 # Specifically requested language; tell them.
4811 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4812 echo "$as_me: error: GNAT is required to build $language" >&2;}
4813 { (exit 1); exit 1; }; }
4817 add_this_lang
=unsupported
4821 # Disable a language that is unsupported by the target.
4822 case " $unsupported_languages " in
4824 add_this_lang
=unsupported
4828 case $add_this_lang in
4830 # Remove language-dependent dirs.
4831 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4834 # Remove language-dependent dirs; still show language as supported.
4835 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4836 potential_languages
="${potential_languages}${language},"
4839 new_enable_languages
="${new_enable_languages}${language},"
4840 potential_languages
="${potential_languages}${language},"
4841 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4842 case ${boot_language} in
4844 # Add to (comma-separated) list of stage 1 languages.
4845 stage1_languages
="${stage1_languages}${language},"
4854 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4855 if test "${enable_stage1_languages+set}" = set; then
4856 enableval
="$enable_stage1_languages"
4857 case ,${enable_stage1_languages}, in
4859 # Set it to something that will have no effect in the loop below
4860 enable_stage1_languages
=c
;;
4862 enable_stage1_languages
=`echo $new_enable_languages | \
4863 sed -e "s/^,//" -e "s/,$//" ` ;;
4865 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4866 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4869 # Add "good" languages from enable_stage1_languages to stage1_languages,
4870 # while "bad" languages go in missing_languages. Leave no duplicates.
4871 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4872 case $potential_languages in
4874 case $stage1_languages in
4876 *) stage1_languages
="$stage1_languages$i," ;;
4879 case $missing_languages in
4881 *) missing_languages
="$missing_languages$i," ;;
4887 # Remove leading/trailing commas that were added for simplicity
4888 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4889 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4890 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4891 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4893 if test "x$missing_languages" != x
; then
4894 { { echo "$as_me:$LINENO: error:
4895 The following requested languages could not be built: ${missing_languages}
4896 Supported languages are: ${potential_languages}" >&5
4897 echo "$as_me: error:
4898 The following requested languages could not be built: ${missing_languages}
4899 Supported languages are: ${potential_languages}" >&2;}
4900 { (exit 1); exit 1; }; }
4902 if test "x$new_enable_languages" != "x$enable_languages"; then
4903 echo The following languages will be built
: ${new_enable_languages}
4904 enable_languages
="$new_enable_languages"
4908 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4911 # Handle --disable-<component> generically.
4912 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4913 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4914 varname
=`echo $dirname | sed -e s/+/_/g`
4915 if eval test x\
${enable_${varname}} "=" xno
; then
4916 noconfigdirs
="$noconfigdirs $dir"
4920 # Check for Boehm's garbage collector
4921 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4922 if test "${enable_objc_gc+set}" = set; then
4923 enableval
="$enable_objc_gc"
4924 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4925 *,objc
,*:*:yes:*target-boehm-gc
*)
4926 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4927 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4928 { (exit 1); exit 1; }; }
4933 # Make sure we only build Boehm's garbage collector if required.
4934 case ,${enable_languages},:${enable_objc_gc} in
4936 # Keep target-boehm-gc if requested for Objective-C.
4939 # Otherwise remove target-boehm-gc depending on target-libjava.
4940 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4941 noconfigdirs
="$noconfigdirs target-boehm-gc"
4946 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4947 # $build_configdirs and $target_configdirs.
4948 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4951 for dir
in .
$skipdirs $noconfigdirs ; do
4952 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4953 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4954 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4955 if test -r $srcdir/$dirname/configure
; then
4956 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4959 notsupp
="$notsupp $dir"
4963 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4964 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4965 if test -r $srcdir/$dirname/configure
; then
4966 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4969 notsupp
="$notsupp $dir"
4973 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4974 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4975 if test -r $srcdir/$dirname/configure
; then
4976 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4979 notsupp
="$notsupp $dir"
4985 # Sometimes the tools are distributed with libiberty but with no other
4986 # libraries. In that case, we don't want to build target-libiberty.
4987 # Don't let libgcc imply libiberty either.
4988 if test -n "${target_configdirs}" ; then
4991 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4992 if test "$i" = "libgcc"; then
4993 libgcc
=target-libgcc
4994 elif test "$i" != "libiberty" ; then
4995 if test -r $srcdir/$i/configure
; then
5001 if test -z "${others}" ; then
5002 target_configdirs
=$libgcc
5006 # Quietly strip out all directories which aren't configurable in this tree.
5007 # This relies on all configurable subdirectories being autoconfiscated, which
5009 build_configdirs_all
="$build_configdirs"
5011 for i
in ${build_configdirs_all} ; do
5012 j
=`echo $i | sed -e s/build-//g`
5013 if test -f ${srcdir}/$j/configure
; then
5014 build_configdirs
="${build_configdirs} $i"
5018 configdirs_all
="$configdirs"
5020 for i
in ${configdirs_all} ; do
5021 if test -f ${srcdir}/$i/configure
; then
5022 configdirs
="${configdirs} $i"
5026 target_configdirs_all
="$target_configdirs"
5028 for i
in ${target_configdirs_all} ; do
5029 j
=`echo $i | sed -e s/target-//g`
5030 if test -f ${srcdir}/$j/configure
; then
5031 target_configdirs
="${target_configdirs} $i"
5035 # Produce a warning message for the subdirs we can't configure.
5036 # This isn't especially interesting in the Cygnus tree, but in the individual
5037 # FSF releases, it's important to let people know when their machine isn't
5038 # supported by the one or two programs in a package.
5040 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5041 # If $appdirs is non-empty, at least one of those directories must still
5042 # be configured, or we error out. (E.g., if the gas release supports a
5043 # specified target in some subdirs but not the gas subdir, we shouldn't
5044 # pretend that all is well.)
5045 if test -n "$appdirs" ; then
5046 for dir
in $appdirs ; do
5047 if test -r $dir/Makefile.
in ; then
5048 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5052 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5058 if test -n "$appdirs" ; then
5059 echo "*** This configuration is not supported by this package." 1>&2
5063 # Okay, some application will build, or we don't care to check. Still
5064 # notify of subdirs not getting built.
5065 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5066 echo " ${notsupp}" 1>&2
5067 echo " (Any other directories should still work fine.)" 1>&2
5075 # To find our prefix, in gcc_cv_tool_prefix.
5077 # The user is always right.
5078 if test "${PATH_SEPARATOR+set}" != set; then
5079 echo "#! /bin/sh" >conf$$.sh
5080 echo "exit 0" >>conf$$.sh
5082 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5092 if test "x$exec_prefix" = xNONE
; then
5093 if test "x$prefix" = xNONE
; then
5094 gcc_cv_tool_prefix
=$ac_default_prefix
5096 gcc_cv_tool_prefix
=$prefix
5099 gcc_cv_tool_prefix
=$exec_prefix
5102 # If there is no compiler in the tree, use the PATH only. In any
5103 # case, if there is no compiler in the tree nobody should use
5104 # AS_FOR_TARGET and LD_FOR_TARGET.
5105 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5106 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5107 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5108 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5109 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5110 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5111 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5112 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5117 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5118 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5126 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5127 if test "${with_build_sysroot+set}" = set; then
5128 withval
="$with_build_sysroot"
5129 if test x
"$withval" != x
; then
5130 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5133 SYSROOT_CFLAGS_FOR_TARGET
=
5138 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5139 if test "${with_debug_prefix_map+set}" = set; then
5140 withval
="$with_debug_prefix_map"
5141 if test x
"$withval" != x
; then
5142 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5143 for debug_map
in $withval; do
5144 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5148 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5152 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5153 # the named directory are copied to $(tooldir)/sys-include.
5154 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5155 if test x
${is_cross_compiler} = xno
; then
5156 echo 1>&2 '***' --with-headers is only supported when cross compiling
5159 if test x
"${with_headers}" != xyes
; then
5160 x
=${gcc_cv_tool_prefix}
5161 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5165 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5166 # the name directories are copied to $(tooldir)/lib. Multiple directories
5168 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5169 if test x
${is_cross_compiler} = xno
; then
5170 echo 1>&2 '***' --with-libs is only supported when cross compiling
5173 if test x
"${with_libs}" != xyes
; then
5174 # Copy the libraries in reverse order, so that files in the first named
5175 # library override files in subsequent libraries.
5176 x
=${gcc_cv_tool_prefix}
5177 for l
in ${with_libs}; do
5178 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5183 # Set with_gnu_as and with_gnu_ld as appropriate.
5185 # This is done by determining whether or not the appropriate directory
5186 # is available, and by checking whether or not specific configurations
5187 # have requested that this magic not happen.
5189 # The command line options always override the explicit settings in
5190 # configure.in, and the settings in configure.in override this magic.
5192 # If the default for a toolchain is to use GNU as and ld, and you don't
5193 # want to do that, then you should use the --without-gnu-as and
5194 # --without-gnu-ld options for the configure script.
5196 if test x
${use_gnu_as} = x
&&
5197 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5199 extra_host_args
="$extra_host_args --with-gnu-as"
5202 if test x
${use_gnu_ld} = x
&&
5203 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5205 extra_host_args
="$extra_host_args --with-gnu-ld"
5208 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5209 # can detect this case.
5211 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5213 extra_host_args
="$extra_host_args --with-newlib"
5216 # Handle ${copy_dirs}
5217 set fnord
${copy_dirs}
5219 while test $# != 0 ; do
5220 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5223 echo Copying
$1 to
$2
5225 # Use the install script to create the directory and all required
5226 # parent directories.
5227 if test -d $2 ; then
5231 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5234 # Copy the directory, assuming we have tar.
5235 # FIXME: Should we use B in the second tar? Not all systems support it.
5236 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5238 # It is the responsibility of the user to correctly adjust all
5239 # symlinks. If somebody can figure out how to handle them correctly
5240 # here, feel free to add the code.
5247 # Determine a target-dependent exec_prefix that the installed
5248 # gcc will search in. Keep this list sorted by triplet, with
5249 # the *-*-osname triplets last.
5253 md_exec_prefix
=/gnu
/lib
/gcc-lib
5255 i
[34567]86-pc-msdosdjgpp*)
5256 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5258 i
[34567]86-*-sco3.2v5
*)
5259 if test $with_gnu_as = yes; then
5260 md_exec_prefix
=/usr
/gnu
/bin
5262 md_exec_prefix
=/usr
/ccs
/bin
/elf
5267 powerpc-
*-chorusos* | \
5268 powerpc
*-*-eabi* | \
5269 powerpc
*-*-sysv* | \
5270 powerpc
*-*-kaos* | \
5272 md_exec_prefix
=/usr
/ccs
/bin
5277 md_exec_prefix
=/usr
/ccs
/bin
5292 md_exec_prefix
=/usr
/ccs
/bin
5296 extra_arflags_for_target
=
5297 extra_nmflags_for_target
=
5298 extra_ranlibflags_for_target
=
5299 target_makefile_frag
=/dev
/null
5302 target_makefile_frag
="config/mt-mep"
5305 target_makefile_frag
="config/mt-spu"
5308 target_makefile_frag
="config/mt-sde"
5310 mipsisa
*-*-elfoabi*)
5311 target_makefile_frag
="config/mt-mips-elfoabi"
5314 target_makefile_frag
="config/mt-netware"
5316 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5317 target_makefile_frag
="config/mt-gnu"
5319 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5320 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5321 # commands to handle both 32-bit and 64-bit objects. These flags are
5322 # harmless if we're using GNU nm or ar.
5323 extra_arflags_for_target
=" -X32_64"
5324 extra_nmflags_for_target
=" -B -X32_64"
5327 # ranlib from Darwin requires the -c flag to look at common symbols.
5328 extra_ranlibflags_for_target
=" -c"
5330 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5331 target_makefile_frag
="config/mt-wince"
5335 alphaieee_frag
=/dev
/null
5338 # This just makes sure to use the -mieee option to build target libs.
5339 # This should probably be set individually by each library.
5340 alphaieee_frag
="config/mt-alphaieee"
5344 # If --enable-target-optspace always use -Os instead of -O2 to build
5345 # the target libraries, similarly if it is not specified, use -Os
5346 # on selected platforms.
5347 ospace_frag
=/dev
/null
5348 case "${enable_target_optspace}:${target}" in
5350 ospace_frag
="config/mt-ospace"
5353 ospace_frag
="config/mt-d30v"
5355 :m32r-
* |
:d10v-
* |
:fr30-
*)
5356 ospace_frag
="config/mt-ospace"
5361 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5365 # Default to using --with-stabs for certain targets.
5366 if test x
${with_stabs} = x
; then
5370 mips
*-*-* | alpha
*-*-osf*)
5372 extra_host_args
="${extra_host_args} --with-stabs"
5377 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5378 # them automatically.
5381 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5385 # Some systems (e.g., one of the i386-aix systems the gas testers are
5386 # using) don't handle "\$" correctly, so don't use it here.
5387 tooldir
='${exec_prefix}'/${target_noncanonical}
5388 build_tooldir
=${tooldir}
5390 # Create a .gdbinit file which runs the one in srcdir
5391 # and tells GDB to look there for source files.
5393 if test -r ${srcdir}/.gdbinit
; then
5396 *) cat > .
/.gdbinit
<<EOF
5400 source ${srcdir}/.gdbinit
5406 # Make sure that the compiler is able to generate an executable. If it
5407 # can't, we are probably in trouble. We don't care whether we can run the
5408 # executable--we might be using a cross compiler--we only care whether it
5409 # can be created. At this point the main configure script has set CC.
5411 echo "int main () { return 0; }" > conftest.c
5412 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5413 if test $?
= 0 ; then
5414 if test -s conftest ||
test -s conftest.exe
; then
5420 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5421 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5428 # The Solaris /usr/ucb/cc compiler does not appear to work.
5430 sparc-sun-solaris2
*)
5431 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5432 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5434 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5435 if test -d /opt
/cygnus
/bin
; then
5436 if test "$could_use" = "" ; then
5437 could_use
="/opt/cygnus/bin"
5439 could_use
="$could_use or /opt/cygnus/bin"
5442 if test "$could_use" = "" ; then
5443 echo "Warning: compilation may fail because you're using"
5444 echo "/usr/ucb/cc. You should change your PATH or CC "
5445 echo "variable and rerun configure."
5447 echo "Warning: compilation may fail because you're using"
5448 echo "/usr/ucb/cc, when you should use the C compiler from"
5449 echo "$could_use. You should change your"
5450 echo "PATH or CC variable and rerun configure."
5457 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5458 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5459 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5462 # Record target_configdirs and the configure arguments for target and
5463 # build configuration in Makefile.
5464 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5465 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5467 # Determine whether gdb needs tk/tcl or not.
5468 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5469 # and in that case we want gdb to be built without tk. Ugh!
5470 # In fact I believe gdb is the *only* package directly dependent on tk,
5471 # so we should be able to put the 'maybe's in unconditionally and
5472 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5473 # 100% sure that that's safe though.
5475 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5476 case "$enable_gdbtk" in
5480 GDB_TK
="${gdb_tk}" ;;
5482 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5483 # distro. Eventually someone will fix this and move Insight, nee
5484 # gdbtk to a separate directory.
5485 if test -d ${srcdir}/gdb
/gdbtk
; then
5492 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5493 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5495 # Strip out unwanted targets.
5497 # While at that, we remove Makefiles if we were started for recursive
5498 # configuration, so that the top-level Makefile reconfigures them,
5499 # like we used to do when configure itself was recursive.
5501 # Loop over modules. $extrasub must be used with care, limiting as
5502 # much as possible the usage of range addresses. That's because autoconf
5503 # splits the sed script to overcome limits in the number of commands,
5504 # and relying on carefully-timed sed passes may turn out to be very hard
5505 # to maintain later. In this particular case, you just have to be careful
5506 # not to nest @if/@endif pairs, because configure will not warn you at all.
5508 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5509 if test "${enable_bootstrap+set}" = set; then
5510 enableval
="$enable_bootstrap"
5513 enable_bootstrap
=default
5516 # Issue errors and warnings for invalid/strange bootstrap combinations.
5517 case "$configdirs" in
5518 *gcc
*) have_compiler
=yes ;;
5519 *) have_compiler
=no
;;
5522 case "$have_compiler:$host:$target:$enable_bootstrap" in
5525 # Default behavior. Enable bootstrap if we have a compiler
5526 # and we are in a native configuration.
5527 yes:$build:$build:default
)
5528 enable_bootstrap
=yes ;;
5531 enable_bootstrap
=no
;;
5533 # We have a compiler and we are in a native configuration, bootstrap is ok
5534 yes:$build:$build:yes)
5537 # Other configurations, but we have a compiler. Assume the user knows
5540 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5541 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5544 # No compiler: if they passed --enable-bootstrap explicitly, fail
5546 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5547 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5548 { (exit 1); exit 1; }; } ;;
5550 # Fail if wrong command line
5552 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5553 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5554 { (exit 1); exit 1; }; }
5558 # Adjust the toplevel makefile according to whether bootstrap was selected.
5559 case "$enable_bootstrap" in
5561 bootstrap_suffix
=bootstrap
;;
5563 bootstrap_suffix
=no-bootstrap
;;
5566 for module
in ${build_configdirs} ; do
5567 if test -z "${no_recursion}" \
5568 && test -f ${build_subdir}/${module}/Makefile
; then
5569 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5570 rm -f ${build_subdir}/${module}/Makefile
5573 /^@if build-$module\$/d
5574 /^@endif build-$module\$/d
5575 /^@if build-$module-$bootstrap_suffix\$/d
5576 /^@endif build-$module-$bootstrap_suffix\$/d"
5578 for module
in ${configdirs} ; do
5579 if test -z "${no_recursion}"; then
5580 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5581 if test -f ${file}; then
5582 echo 1>&2 "*** removing ${file} to force reconfigure"
5589 /^@endif $module\$/d
5590 /^@if $module-$bootstrap_suffix\$/d
5591 /^@endif $module-$bootstrap_suffix\$/d"
5593 for module
in ${target_configdirs} ; do
5594 if test -z "${no_recursion}" \
5595 && test -f ${target_subdir}/${module}/Makefile
; then
5596 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5597 rm -f ${target_subdir}/${module}/Makefile
5600 /^@if target-$module\$/d
5601 /^@endif target-$module\$/d
5602 /^@if target-$module-$bootstrap_suffix\$/d
5603 /^@endif target-$module-$bootstrap_suffix\$/d"
5607 /^@if /,/^@endif /d"
5609 # Create the serialization dependencies. This uses a temporary file.
5611 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5612 if test "${enable_serial_configure+set}" = set; then
5613 enableval
="$enable_serial_configure"
5617 case ${enable_serial_configure} in
5619 enable_serial_build_configure
=yes
5620 enable_serial_host_configure
=yes
5621 enable_serial_target_configure
=yes
5625 # These force 'configure's to be done one at a time, to avoid problems
5626 # with contention over a shared config.cache.
5628 echo '# serdep.tmp' > serdep.tmp
5630 test "x${enable_serial_build_configure}" = xyes
&&
5631 for item
in ${build_configdirs} ; do
5634 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5639 test "x${enable_serial_host_configure}" = xyes
&&
5640 for item
in ${configdirs} ; do
5643 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5648 test "x${enable_serial_target_configure}" = xyes
&&
5649 for item
in ${target_configdirs} ; do
5652 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5656 serialization_dependencies
=serdep.tmp
5659 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5660 # target, nonopt, and variable assignments. These are the ones we
5661 # might not want to pass down to subconfigures. Also strip
5662 # program-prefix, program-suffix, and program-transform-name, so that
5663 # we can pass down a consistent program-transform-name.
5667 eval "set -- $ac_configure_args"
5670 if test X
"$skip_next" = X
"yes"; then
5674 if test X
"$keep_next" = X
"yes"; then
5677 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5679 baseargs
="$baseargs '$ac_arg'"
5684 # Handle separated arguments. Based on the logic generated by
5687 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5688 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5689 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5690 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5716 -program-prefix* | \
5717 -program-suffix* | \
5718 -program-transform-name* )
5719 skip_next
=$separate_arg
5723 # An option. Add it.
5726 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5728 baseargs
="$baseargs '$ac_arg'"
5729 keep_next
=$separate_arg
5732 # Either a variable assignment, or a nonopt (triplet). Don't
5733 # pass it down; let the Makefile handle this.
5738 # Remove the initial space we just introduced and, as these will be
5739 # expanded by make, quote '$'.
5740 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5742 # Add in --program-transform-name, after --program-prefix and
5743 # --program-suffix have been applied to it. Autoconf has already
5744 # doubled dollar signs and backslashes in program_transform_name; we want
5745 # the backslashes un-doubled, and then the entire thing wrapped in single
5746 # quotes, because this will be expanded first by make and then by the shell.
5747 # Also, because we want to override the logic in subdir configure scripts to
5748 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5749 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5750 ${program_transform_name}
5752 gcc_transform_name
=`cat conftestsed.out`
5753 rm -f conftestsed.out
5754 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5755 if test "$silent" = yes; then
5756 baseargs
="$baseargs --silent"
5759 # For the build-side libraries, we just need to pretend we're native,
5760 # and not use the same cache file. Multilibs are neither needed nor
5762 build_configargs
="--cache-file=../config.cache ${baseargs}"
5764 # For host modules, accept cache file option, or specification as blank.
5765 case "${cache_file}" in
5767 cache_file_option
="" ;;
5768 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5769 cache_file_option
="--cache-file=${cache_file}" ;;
5771 cache_file_option
="--cache-file=../${cache_file}" ;;
5774 # Host dirs don't like to share a cache file either, horribly enough.
5775 # This seems to be due to autoconf 2.5x stupidity.
5776 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5778 target_configargs
=${baseargs}
5780 # Passing a --with-cross-host argument lets the target libraries know
5781 # whether they are being built with a cross-compiler or being built
5782 # native. However, it would be better to use other mechanisms to make the
5783 # sorts of decisions they want to make on this basis. Please consider
5784 # this option to be deprecated. FIXME.
5785 if test x
${is_cross_compiler} = xyes
; then
5786 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5789 # Default to --enable-multilib.
5790 if test x
${enable_multilib} = x
; then
5791 target_configargs
="--enable-multilib ${target_configargs}"
5794 # Pass --with-newlib if appropriate. Note that target_configdirs has
5795 # changed from the earlier setting of with_newlib.
5796 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5797 target_configargs
="--with-newlib ${target_configargs}"
5800 # Different target subdirs use different values of certain variables
5801 # (notably CXX). Worse, multilibs use *lots* of different values.
5802 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5803 # it doesn't automatically accept command-line overrides of them.
5804 # This means it's not safe for target subdirs to share a cache file,
5805 # which is disgusting, but there you have it. Hopefully this can be
5806 # fixed in future. It's still worthwhile to use a cache file for each
5807 # directory. I think.
5809 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5810 # We need to pass --target, as newer autoconf's requires consistency
5811 # for target_alias and gcc doesn't manage it consistently.
5812 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5815 case " $target_configdirs " in
5817 case " $target_configargs " in
5818 *" --with-newlib "*)
5821 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' ;;
5824 # If we're not building GCC, don't discard standard headers.
5825 if test -d ${srcdir}/gcc
; then
5826 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5828 if test "${build}" != "${host}"; then
5829 # On Canadian crosses, CC_FOR_TARGET will have already been set
5830 # by `configure', so we won't have an opportunity to add -Bgcc/
5831 # to it. This is right: we don't want to search that directory
5832 # for binaries, but we want the header files in there, so add
5834 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5836 # Someone might think of using the pre-installed headers on
5837 # Canadian crosses, in case the installed compiler is not fully
5838 # compatible with the compiler being built. In this case, it
5839 # would be better to flag an error than risking having
5840 # incompatible object files being constructed. We can't
5841 # guarantee that an error will be flagged, but let's hope the
5842 # compiler will do it, when presented with incompatible header
5847 case "${target}-${is_cross_compiler}" in
5848 i
[3456789]86-*-linux*-no)
5849 # Here host == target, so we don't need to build gcc,
5850 # so we don't want to discard standard headers.
5851 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5854 # If we're building newlib, use its generic headers last, but search
5855 # for any libc-related directories first (so make it the last -B
5857 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5859 # If we're building libgloss, find the startup file, simulator library
5860 # and linker script.
5861 case " $target_configdirs " in
5863 # Look for startup file, simulator library and maybe linker script.
5864 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
5865 # Look for libnosys.a in case the target needs it.
5866 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5867 # Most targets have the linker script in the source directory.
5868 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
5879 # Can't be handled as Cygwin above since Mingw does not use newlib.
5880 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' ;;
5883 # Allow the user to override the flags for
5884 # our build compiler if desired.
5885 if test x
"${build}" = x
"${host}" ; then
5886 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5887 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
5888 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
5891 # On Canadian crosses, we'll be searching the right directories for
5892 # the previously-installed cross compiler, so don't bother to add
5893 # flags for directories within the install tree of the compiler
5894 # being built; programs in there won't even run.
5895 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5896 # Search for pre-installed headers if nothing else fits.
5897 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5900 if test "x
${use_gnu_ld}" = x &&
5901 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5902 # Arrange for us to find uninstalled linker scripts.
5903 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5906 # Search for other target-specific linker scripts and such.
5909 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5913 # Makefile fragments.
5914 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5916 eval fragval=\$$frag
5917 if test $fragval != /dev/null; then
5918 eval $frag=${srcdir}/$fragval
5926 # Miscellanea: directories, flags, etc.
5934 # Build module lists & subconfigure args.
5938 # Host module lists & subconfigure args.
5942 # Target module lists & subconfigure args.
5964 # Generate default definitions for YACC, M4, LEX and other programs that run
5965 # on the build machine. These are used if the Makefile can't locate these
5966 # programs in objdir.
5967 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5969 for ac_prog in 'bison -y' byacc yacc
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy $ac_prog; ac_word=$2
5973 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5974 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5975 if test "${ac_cv_prog_YACC+set}" = set; then
5976 echo $ECHO_N "(cached
) $ECHO_C" >&6
5978 if test -n "$YACC"; then
5979 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_YACC="$ac_prog"
5989 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5997 YACC=$ac_cv_prog_YACC
5998 if test -n "$YACC"; then
5999 echo "$as_me:$LINENO: result
: $YACC" >&5
6000 echo "${ECHO_T}$YACC" >&6
6002 echo "$as_me:$LINENO: result
: no
" >&5
6003 echo "${ECHO_T}no
" >&6
6006 test -n "$YACC" && break
6008 test -n "$YACC" || YACC="$MISSING bison
-y"
6010 case " $build_configdirs " in
6011 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6012 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6015 for ac_prog in bison
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6021 if test "${ac_cv_prog_BISON+set}" = set; then
6022 echo $ECHO_N "(cached
) $ECHO_C" >&6
6024 if test -n "$BISON"; then
6025 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_BISON="$ac_prog"
6035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6043 BISON=$ac_cv_prog_BISON
6044 if test -n "$BISON"; then
6045 echo "$as_me:$LINENO: result
: $BISON" >&5
6046 echo "${ECHO_T}$BISON" >&6
6048 echo "$as_me:$LINENO: result
: no
" >&5
6049 echo "${ECHO_T}no
" >&6
6052 test -n "$BISON" && break
6054 test -n "$BISON" || BISON="$MISSING bison
"
6056 case " $build_configdirs " in
6057 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6060 for ac_prog in gm4 gnum4 m4
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6065 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6066 if test "${ac_cv_prog_M4+set}" = set; then
6067 echo $ECHO_N "(cached
) $ECHO_C" >&6
6069 if test -n "$M4"; then
6070 ac_cv_prog_M4="$M4" # Let the user override the test.
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_M4="$ac_prog"
6080 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6089 if test -n "$M4"; then
6090 echo "$as_me:$LINENO: result
: $M4" >&5
6091 echo "${ECHO_T}$M4" >&6
6093 echo "$as_me:$LINENO: result
: no
" >&5
6094 echo "${ECHO_T}no
" >&6
6097 test -n "$M4" && break
6099 test -n "$M4" || M4="$MISSING m4"
6101 case " $build_configdirs " in
6102 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6105 for ac_prog in flex lex
6107 # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 set dummy $ac_prog; ac_word=$2
6109 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6110 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6111 if test "${ac_cv_prog_LEX+set}" = set; then
6112 echo $ECHO_N "(cached
) $ECHO_C" >&6
6114 if test -n "$LEX"; then
6115 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_LEX="$ac_prog"
6125 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6134 if test -n "$LEX"; then
6135 echo "$as_me:$LINENO: result
: $LEX" >&5
6136 echo "${ECHO_T}$LEX" >&6
6138 echo "$as_me:$LINENO: result
: no
" >&5
6139 echo "${ECHO_T}no
" >&6
6142 test -n "$LEX" && break
6144 test -n "$LEX" || LEX="$MISSING flex
"
6146 case " $build_configdirs " in
6147 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6148 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
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_FLEX+set}" = set; then
6158 echo $ECHO_N "(cached
) $ECHO_C" >&6
6160 if test -n "$FLEX"; then
6161 ac_cv_prog_FLEX="$FLEX" # 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_FLEX="$ac_prog"
6171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6179 FLEX=$ac_cv_prog_FLEX
6180 if test -n "$FLEX"; then
6181 echo "$as_me:$LINENO: result
: $FLEX" >&5
6182 echo "${ECHO_T}$FLEX" >&6
6184 echo "$as_me:$LINENO: result
: no
" >&5
6185 echo "${ECHO_T}no
" >&6
6188 test -n "$FLEX" && break
6190 test -n "$FLEX" || FLEX="$MISSING flex
"
6192 case " $build_configdirs " in
6193 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6196 for ac_prog in makeinfo
6198 # Extract the first word of "$ac_prog", so it can be a program name with args.
6199 set dummy $ac_prog; ac_word=$2
6200 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6201 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6202 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6203 echo $ECHO_N "(cached
) $ECHO_C" >&6
6205 if test -n "$MAKEINFO"; then
6206 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6215 ac_cv_prog_MAKEINFO="$ac_prog"
6216 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6224 MAKEINFO=$ac_cv_prog_MAKEINFO
6225 if test -n "$MAKEINFO"; then
6226 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6227 echo "${ECHO_T}$MAKEINFO" >&6
6229 echo "$as_me:$LINENO: result
: no
" >&5
6230 echo "${ECHO_T}no
" >&6
6233 test -n "$MAKEINFO" && break
6235 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6237 case " $build_configdirs " in
6238 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6241 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6242 # higher, else we use the "missing
" dummy.
6243 if ${MAKEINFO} --version \
6244 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6247 MAKEINFO="$MISSING makeinfo
"
6253 # FIXME: expect and dejagnu may become build tools?
6255 for ac_prog in expect
6257 # Extract the first word of "$ac_prog", so it can be a program name with args.
6258 set dummy $ac_prog; ac_word=$2
6259 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6260 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6261 if test "${ac_cv_prog_EXPECT+set}" = set; then
6262 echo $ECHO_N "(cached
) $ECHO_C" >&6
6264 if test -n "$EXPECT"; then
6265 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_EXPECT="$ac_prog"
6275 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6283 EXPECT=$ac_cv_prog_EXPECT
6284 if test -n "$EXPECT"; then
6285 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6286 echo "${ECHO_T}$EXPECT" >&6
6288 echo "$as_me:$LINENO: result
: no
" >&5
6289 echo "${ECHO_T}no
" >&6
6292 test -n "$EXPECT" && break
6294 test -n "$EXPECT" || EXPECT="expect
"
6296 case " $configdirs " in
6298 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6302 for ac_prog in runtest
6304 # Extract the first word of "$ac_prog", so it can be a program name with args.
6305 set dummy $ac_prog; ac_word=$2
6306 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6307 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6308 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6309 echo $ECHO_N "(cached
) $ECHO_C" >&6
6311 if test -n "$RUNTEST"; then
6312 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir=.
6319 for ac_exec_ext in '' $ac_executable_extensions; do
6320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_RUNTEST="$ac_prog"
6322 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6330 RUNTEST=$ac_cv_prog_RUNTEST
6331 if test -n "$RUNTEST"; then
6332 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6333 echo "${ECHO_T}$RUNTEST" >&6
6335 echo "$as_me:$LINENO: result
: no
" >&5
6336 echo "${ECHO_T}no
" >&6
6339 test -n "$RUNTEST" && break
6341 test -n "$RUNTEST" || RUNTEST="runtest
"
6343 case " $configdirs " in
6345 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6352 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6353 ncn_target_tool_prefix=
6354 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6358 if test -n "$AR"; then
6360 elif test -n "$ac_cv_prog_AR"; then
6364 if test -n "$ac_cv_prog_AR"; then
6365 for ncn_progname in ar; do
6366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6367 set dummy ${ncn_progname}; ac_word=$2
6368 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6369 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6370 if test "${ac_cv_prog_AR+set}" = set; then
6371 echo $ECHO_N "(cached
) $ECHO_C" >&6
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_AR="${ncn_progname}"
6384 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6393 if test -n "$AR"; then
6394 echo "$as_me:$LINENO: result
: $AR" >&5
6395 echo "${ECHO_T}$AR" >&6
6397 echo "$as_me:$LINENO: result
: no
" >&5
6398 echo "${ECHO_T}no
" >&6
6404 for ncn_progname in ar; do
6405 if test -n "$ncn_tool_prefix"; then
6406 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6407 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6408 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6409 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6410 if test "${ac_cv_prog_AR+set}" = set; then
6411 echo $ECHO_N "(cached
) $ECHO_C" >&6
6413 if test -n "$AR"; then
6414 ac_cv_prog_AR="$AR" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6424 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6433 if test -n "$AR"; then
6434 echo "$as_me:$LINENO: result
: $AR" >&5
6435 echo "${ECHO_T}$AR" >&6
6437 echo "$as_me:$LINENO: result
: no
" >&5
6438 echo "${ECHO_T}no
" >&6
6442 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6444 set dummy ${ncn_progname}; ac_word=$2
6445 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6446 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6447 if test "${ac_cv_prog_AR+set}" = set; then
6448 echo $ECHO_N "(cached
) $ECHO_C" >&6
6450 if test -n "$AR"; then
6451 ac_cv_prog_AR="$AR" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_AR="${ncn_progname}"
6461 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6470 if test -n "$AR"; then
6471 echo "$as_me:$LINENO: result
: $AR" >&5
6472 echo "${ECHO_T}$AR" >&6
6474 echo "$as_me:$LINENO: result
: no
" >&5
6475 echo "${ECHO_T}no
" >&6
6479 test -n "$ac_cv_prog_AR" && break
6482 if test -z "$ac_cv_prog_AR" ; then
6484 if test $build = $host ; then
6487 AR="${ncn_tool_prefix}$2"
6493 if test -n "$AS"; then
6495 elif test -n "$ac_cv_prog_AS"; then
6499 if test -n "$ac_cv_prog_AS"; then
6500 for ncn_progname in as; do
6501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6502 set dummy ${ncn_progname}; ac_word=$2
6503 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6504 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6505 if test "${ac_cv_prog_AS+set}" = set; then
6506 echo $ECHO_N "(cached
) $ECHO_C" >&6
6508 if test -n "$AS"; then
6509 ac_cv_prog_AS="$AS" # Let the user override the test.
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_AS="${ncn_progname}"
6519 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6528 if test -n "$AS"; then
6529 echo "$as_me:$LINENO: result
: $AS" >&5
6530 echo "${ECHO_T}$AS" >&6
6532 echo "$as_me:$LINENO: result
: no
" >&5
6533 echo "${ECHO_T}no
" >&6
6539 for ncn_progname in as; do
6540 if test -n "$ncn_tool_prefix"; then
6541 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6542 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6545 if test "${ac_cv_prog_AS+set}" = set; then
6546 echo $ECHO_N "(cached
) $ECHO_C" >&6
6548 if test -n "$AS"; then
6549 ac_cv_prog_AS="$AS" # Let the user override the test.
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6559 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6568 if test -n "$AS"; then
6569 echo "$as_me:$LINENO: result
: $AS" >&5
6570 echo "${ECHO_T}$AS" >&6
6572 echo "$as_me:$LINENO: result
: no
" >&5
6573 echo "${ECHO_T}no
" >&6
6577 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6579 set dummy ${ncn_progname}; ac_word=$2
6580 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6581 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6582 if test "${ac_cv_prog_AS+set}" = set; then
6583 echo $ECHO_N "(cached
) $ECHO_C" >&6
6585 if test -n "$AS"; then
6586 ac_cv_prog_AS="$AS" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AS="${ncn_progname}"
6596 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6605 if test -n "$AS"; then
6606 echo "$as_me:$LINENO: result
: $AS" >&5
6607 echo "${ECHO_T}$AS" >&6
6609 echo "$as_me:$LINENO: result
: no
" >&5
6610 echo "${ECHO_T}no
" >&6
6614 test -n "$ac_cv_prog_AS" && break
6617 if test -z "$ac_cv_prog_AS" ; then
6619 if test $build = $host ; then
6622 AS="${ncn_tool_prefix}$2"
6628 if test -n "$DLLTOOL"; then
6629 ac_cv_prog_DLLTOOL=$DLLTOOL
6630 elif test -n "$ac_cv_prog_DLLTOOL"; then
6631 DLLTOOL=$ac_cv_prog_DLLTOOL
6634 if test -n "$ac_cv_prog_DLLTOOL"; then
6635 for ncn_progname in dlltool; do
6636 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6637 set dummy ${ncn_progname}; ac_word=$2
6638 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6639 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6640 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6641 echo $ECHO_N "(cached
) $ECHO_C" >&6
6643 if test -n "$DLLTOOL"; then
6644 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6653 ac_cv_prog_DLLTOOL="${ncn_progname}"
6654 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6662 DLLTOOL=$ac_cv_prog_DLLTOOL
6663 if test -n "$DLLTOOL"; then
6664 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6665 echo "${ECHO_T}$DLLTOOL" >&6
6667 echo "$as_me:$LINENO: result
: no
" >&5
6668 echo "${ECHO_T}no
" >&6
6674 for ncn_progname in dlltool; do
6675 if test -n "$ncn_tool_prefix"; then
6676 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6677 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6678 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6679 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6680 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6681 echo $ECHO_N "(cached
) $ECHO_C" >&6
6683 if test -n "$DLLTOOL"; then
6684 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6694 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6702 DLLTOOL=$ac_cv_prog_DLLTOOL
6703 if test -n "$DLLTOOL"; then
6704 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6705 echo "${ECHO_T}$DLLTOOL" >&6
6707 echo "$as_me:$LINENO: result
: no
" >&5
6708 echo "${ECHO_T}no
" >&6
6712 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6714 set dummy ${ncn_progname}; ac_word=$2
6715 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6716 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6717 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6718 echo $ECHO_N "(cached
) $ECHO_C" >&6
6720 if test -n "$DLLTOOL"; then
6721 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_DLLTOOL="${ncn_progname}"
6731 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6739 DLLTOOL=$ac_cv_prog_DLLTOOL
6740 if test -n "$DLLTOOL"; then
6741 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6742 echo "${ECHO_T}$DLLTOOL" >&6
6744 echo "$as_me:$LINENO: result
: no
" >&5
6745 echo "${ECHO_T}no
" >&6
6749 test -n "$ac_cv_prog_DLLTOOL" && break
6752 if test -z "$ac_cv_prog_DLLTOOL" ; then
6754 if test $build = $host ; then
6757 DLLTOOL="${ncn_tool_prefix}$2"
6763 if test -n "$LD"; then
6765 elif test -n "$ac_cv_prog_LD"; then
6769 if test -n "$ac_cv_prog_LD"; then
6770 for ncn_progname in ld; do
6771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6772 set dummy ${ncn_progname}; ac_word=$2
6773 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6774 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6775 if test "${ac_cv_prog_LD+set}" = set; then
6776 echo $ECHO_N "(cached
) $ECHO_C" >&6
6778 if test -n "$LD"; then
6779 ac_cv_prog_LD="$LD" # Let the user override the test.
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_LD="${ncn_progname}"
6789 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6798 if test -n "$LD"; then
6799 echo "$as_me:$LINENO: result
: $LD" >&5
6800 echo "${ECHO_T}$LD" >&6
6802 echo "$as_me:$LINENO: result
: no
" >&5
6803 echo "${ECHO_T}no
" >&6
6809 for ncn_progname in ld; do
6810 if test -n "$ncn_tool_prefix"; then
6811 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6812 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6813 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6815 if test "${ac_cv_prog_LD+set}" = set; then
6816 echo $ECHO_N "(cached
) $ECHO_C" >&6
6818 if test -n "$LD"; then
6819 ac_cv_prog_LD="$LD" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6829 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6838 if test -n "$LD"; then
6839 echo "$as_me:$LINENO: result
: $LD" >&5
6840 echo "${ECHO_T}$LD" >&6
6842 echo "$as_me:$LINENO: result
: no
" >&5
6843 echo "${ECHO_T}no
" >&6
6847 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6849 set dummy ${ncn_progname}; ac_word=$2
6850 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6852 if test "${ac_cv_prog_LD+set}" = set; then
6853 echo $ECHO_N "(cached
) $ECHO_C" >&6
6855 if test -n "$LD"; then
6856 ac_cv_prog_LD="$LD" # Let the user override the test.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_LD="${ncn_progname}"
6866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6875 if test -n "$LD"; then
6876 echo "$as_me:$LINENO: result
: $LD" >&5
6877 echo "${ECHO_T}$LD" >&6
6879 echo "$as_me:$LINENO: result
: no
" >&5
6880 echo "${ECHO_T}no
" >&6
6884 test -n "$ac_cv_prog_LD" && break
6887 if test -z "$ac_cv_prog_LD" ; then
6889 if test $build = $host ; then
6892 LD="${ncn_tool_prefix}$2"
6898 if test -n "$LIPO"; then
6899 ac_cv_prog_LIPO=$LIPO
6900 elif test -n "$ac_cv_prog_LIPO"; then
6901 LIPO=$ac_cv_prog_LIPO
6904 if test -n "$ac_cv_prog_LIPO"; then
6905 for ncn_progname in lipo; do
6906 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6907 set dummy ${ncn_progname}; ac_word=$2
6908 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6909 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6910 if test "${ac_cv_prog_LIPO+set}" = set; then
6911 echo $ECHO_N "(cached
) $ECHO_C" >&6
6913 if test -n "$LIPO"; then
6914 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6923 ac_cv_prog_LIPO="${ncn_progname}"
6924 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6932 LIPO=$ac_cv_prog_LIPO
6933 if test -n "$LIPO"; then
6934 echo "$as_me:$LINENO: result
: $LIPO" >&5
6935 echo "${ECHO_T}$LIPO" >&6
6937 echo "$as_me:$LINENO: result
: no
" >&5
6938 echo "${ECHO_T}no
" >&6
6944 for ncn_progname in lipo; do
6945 if test -n "$ncn_tool_prefix"; then
6946 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6947 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6948 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6949 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6950 if test "${ac_cv_prog_LIPO+set}" = set; then
6951 echo $ECHO_N "(cached
) $ECHO_C" >&6
6953 if test -n "$LIPO"; then
6954 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6963 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6964 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6972 LIPO=$ac_cv_prog_LIPO
6973 if test -n "$LIPO"; then
6974 echo "$as_me:$LINENO: result
: $LIPO" >&5
6975 echo "${ECHO_T}$LIPO" >&6
6977 echo "$as_me:$LINENO: result
: no
" >&5
6978 echo "${ECHO_T}no
" >&6
6982 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6984 set dummy ${ncn_progname}; ac_word=$2
6985 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6986 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6987 if test "${ac_cv_prog_LIPO+set}" = set; then
6988 echo $ECHO_N "(cached
) $ECHO_C" >&6
6990 if test -n "$LIPO"; then
6991 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_LIPO="${ncn_progname}"
7001 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7009 LIPO=$ac_cv_prog_LIPO
7010 if test -n "$LIPO"; then
7011 echo "$as_me:$LINENO: result
: $LIPO" >&5
7012 echo "${ECHO_T}$LIPO" >&6
7014 echo "$as_me:$LINENO: result
: no
" >&5
7015 echo "${ECHO_T}no
" >&6
7019 test -n "$ac_cv_prog_LIPO" && break
7022 if test -z "$ac_cv_prog_LIPO" ; then
7024 if test $build = $host ; then
7027 LIPO="${ncn_tool_prefix}$2"
7033 if test -n "$NM"; then
7035 elif test -n "$ac_cv_prog_NM"; then
7039 if test -n "$ac_cv_prog_NM"; then
7040 for ncn_progname in nm; do
7041 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7042 set dummy ${ncn_progname}; ac_word=$2
7043 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7044 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7045 if test "${ac_cv_prog_NM+set}" = set; then
7046 echo $ECHO_N "(cached
) $ECHO_C" >&6
7048 if test -n "$NM"; then
7049 ac_cv_prog_NM="$NM" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_NM="${ncn_progname}"
7059 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7068 if test -n "$NM"; then
7069 echo "$as_me:$LINENO: result
: $NM" >&5
7070 echo "${ECHO_T}$NM" >&6
7072 echo "$as_me:$LINENO: result
: no
" >&5
7073 echo "${ECHO_T}no
" >&6
7079 for ncn_progname in nm; do
7080 if test -n "$ncn_tool_prefix"; then
7081 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7082 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7083 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7084 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7085 if test "${ac_cv_prog_NM+set}" = set; then
7086 echo $ECHO_N "(cached
) $ECHO_C" >&6
7088 if test -n "$NM"; then
7089 ac_cv_prog_NM="$NM" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7099 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7108 if test -n "$NM"; then
7109 echo "$as_me:$LINENO: result
: $NM" >&5
7110 echo "${ECHO_T}$NM" >&6
7112 echo "$as_me:$LINENO: result
: no
" >&5
7113 echo "${ECHO_T}no
" >&6
7117 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7119 set dummy ${ncn_progname}; ac_word=$2
7120 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7121 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7122 if test "${ac_cv_prog_NM+set}" = set; then
7123 echo $ECHO_N "(cached
) $ECHO_C" >&6
7125 if test -n "$NM"; then
7126 ac_cv_prog_NM="$NM" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_NM="${ncn_progname}"
7136 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 if test -n "$NM"; then
7146 echo "$as_me:$LINENO: result
: $NM" >&5
7147 echo "${ECHO_T}$NM" >&6
7149 echo "$as_me:$LINENO: result
: no
" >&5
7150 echo "${ECHO_T}no
" >&6
7154 test -n "$ac_cv_prog_NM" && break
7157 if test -z "$ac_cv_prog_NM" ; then
7159 if test $build = $host ; then
7162 NM="${ncn_tool_prefix}$2"
7168 if test -n "$RANLIB"; then
7169 ac_cv_prog_RANLIB=$RANLIB
7170 elif test -n "$ac_cv_prog_RANLIB"; then
7171 RANLIB=$ac_cv_prog_RANLIB
7174 if test -n "$ac_cv_prog_RANLIB"; then
7175 for ncn_progname in ranlib; do
7176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7177 set dummy ${ncn_progname}; ac_word=$2
7178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7180 if test "${ac_cv_prog_RANLIB+set}" = set; then
7181 echo $ECHO_N "(cached
) $ECHO_C" >&6
7183 if test -n "$RANLIB"; then
7184 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_RANLIB="${ncn_progname}"
7194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7202 RANLIB=$ac_cv_prog_RANLIB
7203 if test -n "$RANLIB"; then
7204 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7205 echo "${ECHO_T}$RANLIB" >&6
7207 echo "$as_me:$LINENO: result
: no
" >&5
7208 echo "${ECHO_T}no
" >&6
7214 for ncn_progname in ranlib; do
7215 if test -n "$ncn_tool_prefix"; then
7216 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7217 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7218 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7220 if test "${ac_cv_prog_RANLIB+set}" = set; then
7221 echo $ECHO_N "(cached
) $ECHO_C" >&6
7223 if test -n "$RANLIB"; then
7224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7234 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7242 RANLIB=$ac_cv_prog_RANLIB
7243 if test -n "$RANLIB"; then
7244 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7245 echo "${ECHO_T}$RANLIB" >&6
7247 echo "$as_me:$LINENO: result
: no
" >&5
7248 echo "${ECHO_T}no
" >&6
7252 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7254 set dummy ${ncn_progname}; ac_word=$2
7255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7257 if test "${ac_cv_prog_RANLIB+set}" = set; then
7258 echo $ECHO_N "(cached
) $ECHO_C" >&6
7260 if test -n "$RANLIB"; then
7261 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_RANLIB="${ncn_progname}"
7271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7279 RANLIB=$ac_cv_prog_RANLIB
7280 if test -n "$RANLIB"; then
7281 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7282 echo "${ECHO_T}$RANLIB" >&6
7284 echo "$as_me:$LINENO: result
: no
" >&5
7285 echo "${ECHO_T}no
" >&6
7289 test -n "$ac_cv_prog_RANLIB" && break
7292 if test -z "$ac_cv_prog_RANLIB" ; then
7298 if test -n "$STRIP"; then
7299 ac_cv_prog_STRIP=$STRIP
7300 elif test -n "$ac_cv_prog_STRIP"; then
7301 STRIP=$ac_cv_prog_STRIP
7304 if test -n "$ac_cv_prog_STRIP"; then
7305 for ncn_progname in strip; do
7306 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7307 set dummy ${ncn_progname}; ac_word=$2
7308 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7309 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7310 if test "${ac_cv_prog_STRIP+set}" = set; then
7311 echo $ECHO_N "(cached
) $ECHO_C" >&6
7313 if test -n "$STRIP"; then
7314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323 ac_cv_prog_STRIP="${ncn_progname}"
7324 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7332 STRIP=$ac_cv_prog_STRIP
7333 if test -n "$STRIP"; then
7334 echo "$as_me:$LINENO: result
: $STRIP" >&5
7335 echo "${ECHO_T}$STRIP" >&6
7337 echo "$as_me:$LINENO: result
: no
" >&5
7338 echo "${ECHO_T}no
" >&6
7344 for ncn_progname in strip; do
7345 if test -n "$ncn_tool_prefix"; then
7346 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7347 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7348 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7349 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7350 if test "${ac_cv_prog_STRIP+set}" = set; then
7351 echo $ECHO_N "(cached
) $ECHO_C" >&6
7353 if test -n "$STRIP"; then
7354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7364 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7372 STRIP=$ac_cv_prog_STRIP
7373 if test -n "$STRIP"; then
7374 echo "$as_me:$LINENO: result
: $STRIP" >&5
7375 echo "${ECHO_T}$STRIP" >&6
7377 echo "$as_me:$LINENO: result
: no
" >&5
7378 echo "${ECHO_T}no
" >&6
7382 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7384 set dummy ${ncn_progname}; ac_word=$2
7385 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7387 if test "${ac_cv_prog_STRIP+set}" = set; then
7388 echo $ECHO_N "(cached
) $ECHO_C" >&6
7390 if test -n "$STRIP"; then
7391 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_prog_STRIP="${ncn_progname}"
7401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 STRIP=$ac_cv_prog_STRIP
7410 if test -n "$STRIP"; then
7411 echo "$as_me:$LINENO: result
: $STRIP" >&5
7412 echo "${ECHO_T}$STRIP" >&6
7414 echo "$as_me:$LINENO: result
: no
" >&5
7415 echo "${ECHO_T}no
" >&6
7419 test -n "$ac_cv_prog_STRIP" && break
7422 if test -z "$ac_cv_prog_STRIP" ; then
7428 if test -n "$WINDRES"; then
7429 ac_cv_prog_WINDRES=$WINDRES
7430 elif test -n "$ac_cv_prog_WINDRES"; then
7431 WINDRES=$ac_cv_prog_WINDRES
7434 if test -n "$ac_cv_prog_WINDRES"; then
7435 for ncn_progname in windres; do
7436 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7437 set dummy ${ncn_progname}; ac_word=$2
7438 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7439 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7440 if test "${ac_cv_prog_WINDRES+set}" = set; then
7441 echo $ECHO_N "(cached
) $ECHO_C" >&6
7443 if test -n "$WINDRES"; then
7444 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 test -z "$as_dir" && as_dir=.
7451 for ac_exec_ext in '' $ac_executable_extensions; do
7452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7453 ac_cv_prog_WINDRES="${ncn_progname}"
7454 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7462 WINDRES=$ac_cv_prog_WINDRES
7463 if test -n "$WINDRES"; then
7464 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7465 echo "${ECHO_T}$WINDRES" >&6
7467 echo "$as_me:$LINENO: result
: no
" >&5
7468 echo "${ECHO_T}no
" >&6
7474 for ncn_progname in windres; do
7475 if test -n "$ncn_tool_prefix"; then
7476 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7477 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7480 if test "${ac_cv_prog_WINDRES+set}" = set; then
7481 echo $ECHO_N "(cached
) $ECHO_C" >&6
7483 if test -n "$WINDRES"; then
7484 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7502 WINDRES=$ac_cv_prog_WINDRES
7503 if test -n "$WINDRES"; then
7504 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7505 echo "${ECHO_T}$WINDRES" >&6
7507 echo "$as_me:$LINENO: result
: no
" >&5
7508 echo "${ECHO_T}no
" >&6
7512 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7514 set dummy ${ncn_progname}; ac_word=$2
7515 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7517 if test "${ac_cv_prog_WINDRES+set}" = set; then
7518 echo $ECHO_N "(cached
) $ECHO_C" >&6
7520 if test -n "$WINDRES"; then
7521 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_prog_WINDRES="${ncn_progname}"
7531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7539 WINDRES=$ac_cv_prog_WINDRES
7540 if test -n "$WINDRES"; then
7541 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7542 echo "${ECHO_T}$WINDRES" >&6
7544 echo "$as_me:$LINENO: result
: no
" >&5
7545 echo "${ECHO_T}no
" >&6
7549 test -n "$ac_cv_prog_WINDRES" && break
7552 if test -z "$ac_cv_prog_WINDRES" ; then
7554 if test $build = $host ; then
7557 WINDRES="${ncn_tool_prefix}$2"
7563 if test -n "$WINDMC"; then
7564 ac_cv_prog_WINDMC=$WINDMC
7565 elif test -n "$ac_cv_prog_WINDMC"; then
7566 WINDMC=$ac_cv_prog_WINDMC
7569 if test -n "$ac_cv_prog_WINDMC"; then
7570 for ncn_progname in windmc; do
7571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7572 set dummy ${ncn_progname}; ac_word=$2
7573 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7574 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7575 if test "${ac_cv_prog_WINDMC+set}" = set; then
7576 echo $ECHO_N "(cached
) $ECHO_C" >&6
7578 if test -n "$WINDMC"; then
7579 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_WINDMC="${ncn_progname}"
7589 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7597 WINDMC=$ac_cv_prog_WINDMC
7598 if test -n "$WINDMC"; then
7599 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7600 echo "${ECHO_T}$WINDMC" >&6
7602 echo "$as_me:$LINENO: result
: no
" >&5
7603 echo "${ECHO_T}no
" >&6
7609 for ncn_progname in windmc; do
7610 if test -n "$ncn_tool_prefix"; then
7611 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7612 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7613 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7614 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7615 if test "${ac_cv_prog_WINDMC+set}" = set; then
7616 echo $ECHO_N "(cached
) $ECHO_C" >&6
7618 if test -n "$WINDMC"; then
7619 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7629 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7637 WINDMC=$ac_cv_prog_WINDMC
7638 if test -n "$WINDMC"; then
7639 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7640 echo "${ECHO_T}$WINDMC" >&6
7642 echo "$as_me:$LINENO: result
: no
" >&5
7643 echo "${ECHO_T}no
" >&6
7647 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7649 set dummy ${ncn_progname}; ac_word=$2
7650 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7651 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7652 if test "${ac_cv_prog_WINDMC+set}" = set; then
7653 echo $ECHO_N "(cached
) $ECHO_C" >&6
7655 if test -n "$WINDMC"; then
7656 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_WINDMC="${ncn_progname}"
7666 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7674 WINDMC=$ac_cv_prog_WINDMC
7675 if test -n "$WINDMC"; then
7676 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7677 echo "${ECHO_T}$WINDMC" >&6
7679 echo "$as_me:$LINENO: result
: no
" >&5
7680 echo "${ECHO_T}no
" >&6
7684 test -n "$ac_cv_prog_WINDMC" && break
7687 if test -z "$ac_cv_prog_WINDMC" ; then
7689 if test $build = $host ; then
7692 WINDMC="${ncn_tool_prefix}$2"
7698 if test -n "$OBJCOPY"; then
7699 ac_cv_prog_OBJCOPY=$OBJCOPY
7700 elif test -n "$ac_cv_prog_OBJCOPY"; then
7701 OBJCOPY=$ac_cv_prog_OBJCOPY
7704 if test -n "$ac_cv_prog_OBJCOPY"; then
7705 for ncn_progname in objcopy; do
7706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7707 set dummy ${ncn_progname}; ac_word=$2
7708 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7709 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7710 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7711 echo $ECHO_N "(cached
) $ECHO_C" >&6
7713 if test -n "$OBJCOPY"; then
7714 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_prog_OBJCOPY="${ncn_progname}"
7724 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7732 OBJCOPY=$ac_cv_prog_OBJCOPY
7733 if test -n "$OBJCOPY"; then
7734 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7735 echo "${ECHO_T}$OBJCOPY" >&6
7737 echo "$as_me:$LINENO: result
: no
" >&5
7738 echo "${ECHO_T}no
" >&6
7744 for ncn_progname in objcopy; do
7745 if test -n "$ncn_tool_prefix"; then
7746 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7747 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7748 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7749 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7750 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7751 echo $ECHO_N "(cached
) $ECHO_C" >&6
7753 if test -n "$OBJCOPY"; then
7754 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7763 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7764 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7772 OBJCOPY=$ac_cv_prog_OBJCOPY
7773 if test -n "$OBJCOPY"; then
7774 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7775 echo "${ECHO_T}$OBJCOPY" >&6
7777 echo "$as_me:$LINENO: result
: no
" >&5
7778 echo "${ECHO_T}no
" >&6
7782 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7783 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7784 set dummy ${ncn_progname}; ac_word=$2
7785 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7786 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7787 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7788 echo $ECHO_N "(cached
) $ECHO_C" >&6
7790 if test -n "$OBJCOPY"; then
7791 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7800 ac_cv_prog_OBJCOPY="${ncn_progname}"
7801 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7809 OBJCOPY=$ac_cv_prog_OBJCOPY
7810 if test -n "$OBJCOPY"; then
7811 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7812 echo "${ECHO_T}$OBJCOPY" >&6
7814 echo "$as_me:$LINENO: result
: no
" >&5
7815 echo "${ECHO_T}no
" >&6
7819 test -n "$ac_cv_prog_OBJCOPY" && break
7822 if test -z "$ac_cv_prog_OBJCOPY" ; then
7824 if test $build = $host ; then
7827 OBJCOPY="${ncn_tool_prefix}$2"
7833 if test -n "$OBJDUMP"; then
7834 ac_cv_prog_OBJDUMP=$OBJDUMP
7835 elif test -n "$ac_cv_prog_OBJDUMP"; then
7836 OBJDUMP=$ac_cv_prog_OBJDUMP
7839 if test -n "$ac_cv_prog_OBJDUMP"; then
7840 for ncn_progname in objdump; do
7841 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7842 set dummy ${ncn_progname}; ac_word=$2
7843 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7845 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7846 echo $ECHO_N "(cached
) $ECHO_C" >&6
7848 if test -n "$OBJDUMP"; then
7849 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_OBJDUMP="${ncn_progname}"
7859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7867 OBJDUMP=$ac_cv_prog_OBJDUMP
7868 if test -n "$OBJDUMP"; then
7869 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7870 echo "${ECHO_T}$OBJDUMP" >&6
7872 echo "$as_me:$LINENO: result
: no
" >&5
7873 echo "${ECHO_T}no
" >&6
7879 for ncn_progname in objdump; do
7880 if test -n "$ncn_tool_prefix"; then
7881 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7882 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7883 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7884 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7885 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7886 echo $ECHO_N "(cached
) $ECHO_C" >&6
7888 if test -n "$OBJDUMP"; then
7889 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7907 OBJDUMP=$ac_cv_prog_OBJDUMP
7908 if test -n "$OBJDUMP"; then
7909 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7910 echo "${ECHO_T}$OBJDUMP" >&6
7912 echo "$as_me:$LINENO: result
: no
" >&5
7913 echo "${ECHO_T}no
" >&6
7917 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7919 set dummy ${ncn_progname}; ac_word=$2
7920 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7921 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7922 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7923 echo $ECHO_N "(cached
) $ECHO_C" >&6
7925 if test -n "$OBJDUMP"; then
7926 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_OBJDUMP="${ncn_progname}"
7936 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7944 OBJDUMP=$ac_cv_prog_OBJDUMP
7945 if test -n "$OBJDUMP"; then
7946 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7947 echo "${ECHO_T}$OBJDUMP" >&6
7949 echo "$as_me:$LINENO: result
: no
" >&5
7950 echo "${ECHO_T}no
" >&6
7954 test -n "$ac_cv_prog_OBJDUMP" && break
7957 if test -z "$ac_cv_prog_OBJDUMP" ; then
7959 if test $build = $host ; then
7962 OBJDUMP="${ncn_tool_prefix}$2"
7973 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7974 if test "${with_build_time_tools+set}" = set; then
7975 withval="$with_build_time_tools"
7979 with_build_time_tools=
7980 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7981 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7985 with_build_time_tools=
7990 if test -n "$CC_FOR_TARGET"; then
7991 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7992 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7993 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7996 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7997 for ncn_progname in cc gcc; do
7998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7999 set dummy ${ncn_progname}; ac_word=$2
8000 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8001 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8002 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8003 echo $ECHO_N "(cached
) $ECHO_C" >&6
8005 if test -n "$CC_FOR_TARGET"; then
8006 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8016 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8024 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8025 if test -n "$CC_FOR_TARGET"; then
8026 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8027 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8029 echo "$as_me:$LINENO: result
: no
" >&5
8030 echo "${ECHO_T}no
" >&6
8036 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8037 for ncn_progname in cc gcc; do
8038 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8039 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8040 if test -x $with_build_time_tools/${ncn_progname}; then
8041 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8042 echo "$as_me:$LINENO: result
: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result
: no
" >&5
8047 echo "${ECHO_T}no
" >&6
8052 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8053 for ncn_progname in cc gcc; do
8054 if test -n "$ncn_target_tool_prefix"; then
8055 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8056 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8057 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8058 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8059 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8060 echo $ECHO_N "(cached
) $ECHO_C" >&6
8062 if test -n "$CC_FOR_TARGET"; then
8063 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8073 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8081 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8082 if test -n "$CC_FOR_TARGET"; then
8083 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8084 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8086 echo "$as_me:$LINENO: result
: no
" >&5
8087 echo "${ECHO_T}no
" >&6
8091 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8093 set dummy ${ncn_progname}; ac_word=$2
8094 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8095 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8096 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8097 echo $ECHO_N "(cached
) $ECHO_C" >&6
8099 if test -n "$CC_FOR_TARGET"; then
8100 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8110 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8118 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8119 if test -n "$CC_FOR_TARGET"; then
8120 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8121 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8123 echo "$as_me:$LINENO: result
: no
" >&5
8124 echo "${ECHO_T}no
" >&6
8128 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8132 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8134 if test $build = $target ; then
8137 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8140 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8145 if test -n "$CXX_FOR_TARGET"; then
8146 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8147 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8148 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8151 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8152 for ncn_progname in c++ g++ cxx gxx; do
8153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8154 set dummy ${ncn_progname}; ac_word=$2
8155 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8157 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8158 echo $ECHO_N "(cached
) $ECHO_C" >&6
8160 if test -n "$CXX_FOR_TARGET"; then
8161 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8170 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8179 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8180 if test -n "$CXX_FOR_TARGET"; then
8181 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8182 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8184 echo "$as_me:$LINENO: result
: no
" >&5
8185 echo "${ECHO_T}no
" >&6
8191 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8192 for ncn_progname in c++ g++ cxx gxx; do
8193 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8194 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8195 if test -x $with_build_time_tools/${ncn_progname}; then
8196 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8197 echo "$as_me:$LINENO: result
: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8201 echo "$as_me:$LINENO: result
: no
" >&5
8202 echo "${ECHO_T}no
" >&6
8207 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8208 for ncn_progname in c++ g++ cxx gxx; do
8209 if test -n "$ncn_target_tool_prefix"; then
8210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8214 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8215 echo $ECHO_N "(cached
) $ECHO_C" >&6
8217 if test -n "$CXX_FOR_TARGET"; then
8218 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8228 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8236 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8237 if test -n "$CXX_FOR_TARGET"; then
8238 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8239 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8241 echo "$as_me:$LINENO: result
: no
" >&5
8242 echo "${ECHO_T}no
" >&6
8246 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_progname}; ac_word=$2
8249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8251 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8252 echo $ECHO_N "(cached
) $ECHO_C" >&6
8254 if test -n "$CXX_FOR_TARGET"; then
8255 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8273 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8274 if test -n "$CXX_FOR_TARGET"; then
8275 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8276 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8278 echo "$as_me:$LINENO: result
: no
" >&5
8279 echo "${ECHO_T}no
" >&6
8283 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8287 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8288 set dummy c++ g++ cxx gxx
8289 if test $build = $target ; then
8292 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8295 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8300 if test -n "$GCC_FOR_TARGET"; then
8301 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8302 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8303 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8306 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8307 for ncn_progname in gcc; do
8308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8309 set dummy ${ncn_progname}; ac_word=$2
8310 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8311 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8312 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8313 echo $ECHO_N "(cached
) $ECHO_C" >&6
8315 if test -n "$GCC_FOR_TARGET"; then
8316 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8326 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8334 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8335 if test -n "$GCC_FOR_TARGET"; then
8336 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8337 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8339 echo "$as_me:$LINENO: result
: no
" >&5
8340 echo "${ECHO_T}no
" >&6
8346 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8347 for ncn_progname in gcc; do
8348 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8349 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8350 if test -x $with_build_time_tools/${ncn_progname}; then
8351 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8352 echo "$as_me:$LINENO: result
: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result
: no
" >&5
8357 echo "${ECHO_T}no
" >&6
8362 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8363 for ncn_progname in gcc; do
8364 if test -n "$ncn_target_tool_prefix"; then
8365 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8366 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8369 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8370 echo $ECHO_N "(cached
) $ECHO_C" >&6
8372 if test -n "$GCC_FOR_TARGET"; then
8373 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8391 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8392 if test -n "$GCC_FOR_TARGET"; then
8393 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8394 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8396 echo "$as_me:$LINENO: result
: no
" >&5
8397 echo "${ECHO_T}no
" >&6
8401 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8403 set dummy ${ncn_progname}; ac_word=$2
8404 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8405 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8406 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8407 echo $ECHO_N "(cached
) $ECHO_C" >&6
8409 if test -n "$GCC_FOR_TARGET"; then
8410 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir=.
8417 for ac_exec_ext in '' $ac_executable_extensions; do
8418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8419 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8420 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8428 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8429 if test -n "$GCC_FOR_TARGET"; then
8430 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8431 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8433 echo "$as_me:$LINENO: result
: no
" >&5
8434 echo "${ECHO_T}no
" >&6
8438 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8442 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8443 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8445 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8450 if test -n "$GCJ_FOR_TARGET"; then
8451 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8452 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8453 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8456 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8457 for ncn_progname in gcj; do
8458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8459 set dummy ${ncn_progname}; ac_word=$2
8460 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8461 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8462 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8463 echo $ECHO_N "(cached
) $ECHO_C" >&6
8465 if test -n "$GCJ_FOR_TARGET"; then
8466 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8476 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8484 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8485 if test -n "$GCJ_FOR_TARGET"; then
8486 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8487 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8489 echo "$as_me:$LINENO: result
: no
" >&5
8490 echo "${ECHO_T}no
" >&6
8496 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8497 for ncn_progname in gcj; do
8498 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8499 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8500 if test -x $with_build_time_tools/${ncn_progname}; then
8501 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8502 echo "$as_me:$LINENO: result
: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8506 echo "$as_me:$LINENO: result
: no
" >&5
8507 echo "${ECHO_T}no
" >&6
8512 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8513 for ncn_progname in gcj; do
8514 if test -n "$ncn_target_tool_prefix"; then
8515 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8516 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8517 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8518 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8519 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8520 echo $ECHO_N "(cached
) $ECHO_C" >&6
8522 if test -n "$GCJ_FOR_TARGET"; then
8523 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8529 test -z "$as_dir" && as_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8532 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8533 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8541 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8542 if test -n "$GCJ_FOR_TARGET"; then
8543 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8544 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8546 echo "$as_me:$LINENO: result
: no
" >&5
8547 echo "${ECHO_T}no
" >&6
8551 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8553 set dummy ${ncn_progname}; ac_word=$2
8554 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8555 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8556 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8557 echo $ECHO_N "(cached
) $ECHO_C" >&6
8559 if test -n "$GCJ_FOR_TARGET"; then
8560 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8569 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8570 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8578 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8579 if test -n "$GCJ_FOR_TARGET"; then
8580 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8581 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8583 echo "$as_me:$LINENO: result
: no
" >&5
8584 echo "${ECHO_T}no
" >&6
8588 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8592 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8594 if test $build = $target ; then
8597 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8600 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8605 if test -n "$GFORTRAN_FOR_TARGET"; then
8606 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8607 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8608 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8611 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8612 for ncn_progname in gfortran; do
8613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8614 set dummy ${ncn_progname}; ac_word=$2
8615 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8616 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8617 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8618 echo $ECHO_N "(cached
) $ECHO_C" >&6
8620 if test -n "$GFORTRAN_FOR_TARGET"; then
8621 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8631 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8639 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8640 if test -n "$GFORTRAN_FOR_TARGET"; then
8641 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8642 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8644 echo "$as_me:$LINENO: result
: no
" >&5
8645 echo "${ECHO_T}no
" >&6
8651 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8652 for ncn_progname in gfortran; do
8653 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8654 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8655 if test -x $with_build_time_tools/${ncn_progname}; then
8656 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8657 echo "$as_me:$LINENO: result
: yes" >&5
8658 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result
: no
" >&5
8662 echo "${ECHO_T}no
" >&6
8667 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8668 for ncn_progname in gfortran; do
8669 if test -n "$ncn_target_tool_prefix"; then
8670 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8671 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8672 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8673 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8674 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8675 echo $ECHO_N "(cached
) $ECHO_C" >&6
8677 if test -n "$GFORTRAN_FOR_TARGET"; then
8678 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8688 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8696 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8697 if test -n "$GFORTRAN_FOR_TARGET"; then
8698 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8699 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8701 echo "$as_me:$LINENO: result
: no
" >&5
8702 echo "${ECHO_T}no
" >&6
8706 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8708 set dummy ${ncn_progname}; ac_word=$2
8709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8711 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8712 echo $ECHO_N "(cached
) $ECHO_C" >&6
8714 if test -n "$GFORTRAN_FOR_TARGET"; then
8715 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721 test -z "$as_dir" && as_dir=.
8722 for ac_exec_ext in '' $ac_executable_extensions; do
8723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8724 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8733 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8734 if test -n "$GFORTRAN_FOR_TARGET"; then
8735 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8736 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8738 echo "$as_me:$LINENO: result
: no
" >&5
8739 echo "${ECHO_T}no
" >&6
8743 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8747 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8749 if test $build = $target ; then
8750 GFORTRAN_FOR_TARGET="$2"
8752 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8755 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8760 cat > conftest.c << \EOF
8765 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8766 have_gcc_for_target=yes
8768 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8769 have_gcc_for_target=no
8776 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8777 if test -n "$with_build_time_tools"; then
8778 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8779 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8780 if test -x $with_build_time_tools/ar; then
8781 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8782 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8783 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8784 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8786 echo "$as_me:$LINENO: result
: no
" >&5
8787 echo "${ECHO_T}no
" >&6
8789 elif test $build != $host && test $have_gcc_for_target = yes; then
8790 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8791 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8792 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8795 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8796 # Extract the first word of "ar", so it can be a program name with args.
8797 set dummy ar; ac_word=$2
8798 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8799 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8800 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8801 echo $ECHO_N "(cached
) $ECHO_C" >&6
8803 case $AR_FOR_TARGET in
8805 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 for as_dir in $gcc_cv_tool_dirs
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8816 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8825 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8827 if test -n "$AR_FOR_TARGET"; then
8828 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8829 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8831 echo "$as_me:$LINENO: result
: no
" >&5
8832 echo "${ECHO_T}no
" >&6
8836 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8839 if test -n "$AR_FOR_TARGET"; then
8840 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8841 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8842 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8845 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8846 for ncn_progname in ar; do
8847 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8848 set dummy ${ncn_progname}; ac_word=$2
8849 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8850 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8851 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8852 echo $ECHO_N "(cached
) $ECHO_C" >&6
8854 if test -n "$AR_FOR_TARGET"; then
8855 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir=.
8862 for ac_exec_ext in '' $ac_executable_extensions; do
8863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8864 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8873 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8874 if test -n "$AR_FOR_TARGET"; then
8875 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8876 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8878 echo "$as_me:$LINENO: result
: no
" >&5
8879 echo "${ECHO_T}no
" >&6
8885 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8886 for ncn_progname in ar; do
8887 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8888 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8889 if test -x $with_build_time_tools/${ncn_progname}; then
8890 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8891 echo "$as_me:$LINENO: result
: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result
: no
" >&5
8896 echo "${ECHO_T}no
" >&6
8901 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8902 for ncn_progname in ar; do
8903 if test -n "$ncn_target_tool_prefix"; then
8904 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8905 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8906 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8907 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8908 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8909 echo $ECHO_N "(cached
) $ECHO_C" >&6
8911 if test -n "$AR_FOR_TARGET"; then
8912 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8918 test -z "$as_dir" && as_dir=.
8919 for ac_exec_ext in '' $ac_executable_extensions; do
8920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8921 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8922 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8930 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8931 if test -n "$AR_FOR_TARGET"; then
8932 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8933 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8935 echo "$as_me:$LINENO: result
: no
" >&5
8936 echo "${ECHO_T}no
" >&6
8940 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8941 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8942 set dummy ${ncn_progname}; ac_word=$2
8943 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8944 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8945 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8946 echo $ECHO_N "(cached
) $ECHO_C" >&6
8948 if test -n "$AR_FOR_TARGET"; then
8949 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir=.
8956 for ac_exec_ext in '' $ac_executable_extensions; do
8957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8959 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8968 if test -n "$AR_FOR_TARGET"; then
8969 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8970 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8972 echo "$as_me:$LINENO: result
: no
" >&5
8973 echo "${ECHO_T}no
" >&6
8977 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8981 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8983 if test $build = $target ; then
8986 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8989 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
8993 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8999 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9000 if test -n "$with_build_time_tools"; then
9001 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9002 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9003 if test -x $with_build_time_tools/as; then
9004 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9005 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9006 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9007 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9009 echo "$as_me:$LINENO: result
: no
" >&5
9010 echo "${ECHO_T}no
" >&6
9012 elif test $build != $host && test $have_gcc_for_target = yes; then
9013 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9014 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9015 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9018 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9019 # Extract the first word of "as
", so it can be a program name with args.
9020 set dummy as; ac_word=$2
9021 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9022 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9023 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9024 echo $ECHO_N "(cached
) $ECHO_C" >&6
9026 case $AS_FOR_TARGET in
9028 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9032 for as_dir in $gcc_cv_tool_dirs
9035 test -z "$as_dir" && as_dir=.
9036 for ac_exec_ext in '' $ac_executable_extensions; do
9037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9038 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9039 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9048 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9050 if test -n "$AS_FOR_TARGET"; then
9051 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9052 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9054 echo "$as_me:$LINENO: result
: no
" >&5
9055 echo "${ECHO_T}no
" >&6
9059 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9062 if test -n "$AS_FOR_TARGET"; then
9063 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9064 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9065 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9068 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9069 for ncn_progname in as; do
9070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9071 set dummy ${ncn_progname}; ac_word=$2
9072 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9073 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9074 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9075 echo $ECHO_N "(cached
) $ECHO_C" >&6
9077 if test -n "$AS_FOR_TARGET"; then
9078 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9087 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9088 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9096 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9097 if test -n "$AS_FOR_TARGET"; then
9098 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9099 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9101 echo "$as_me:$LINENO: result
: no
" >&5
9102 echo "${ECHO_T}no
" >&6
9108 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9109 for ncn_progname in as; do
9110 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9111 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9112 if test -x $with_build_time_tools/${ncn_progname}; then
9113 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9114 echo "$as_me:$LINENO: result
: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9118 echo "$as_me:$LINENO: result
: no
" >&5
9119 echo "${ECHO_T}no
" >&6
9124 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9125 for ncn_progname in as; do
9126 if test -n "$ncn_target_tool_prefix"; then
9127 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9128 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9129 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9131 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9132 echo $ECHO_N "(cached
) $ECHO_C" >&6
9134 if test -n "$AS_FOR_TARGET"; then
9135 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141 test -z "$as_dir" && as_dir=.
9142 for ac_exec_ext in '' $ac_executable_extensions; do
9143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9144 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9153 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9154 if test -n "$AS_FOR_TARGET"; then
9155 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9156 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9158 echo "$as_me:$LINENO: result
: no
" >&5
9159 echo "${ECHO_T}no
" >&6
9163 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9165 set dummy ${ncn_progname}; ac_word=$2
9166 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9167 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9168 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9169 echo $ECHO_N "(cached
) $ECHO_C" >&6
9171 if test -n "$AS_FOR_TARGET"; then
9172 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir=.
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9181 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9182 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9190 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9191 if test -n "$AS_FOR_TARGET"; then
9192 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9193 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9195 echo "$as_me:$LINENO: result
: no
" >&5
9196 echo "${ECHO_T}no
" >&6
9200 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9204 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9206 if test $build = $target ; then
9209 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9212 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9216 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9222 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9223 if test -n "$with_build_time_tools"; then
9224 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9225 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9226 if test -x $with_build_time_tools/dlltool; then
9227 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9228 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9229 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9230 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9232 echo "$as_me:$LINENO: result
: no
" >&5
9233 echo "${ECHO_T}no
" >&6
9235 elif test $build != $host && test $have_gcc_for_target = yes; then
9236 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9237 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9238 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9241 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9242 # Extract the first word of "dlltool
", so it can be a program name with args.
9243 set dummy dlltool; ac_word=$2
9244 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9245 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9246 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9247 echo $ECHO_N "(cached
) $ECHO_C" >&6
9249 case $DLLTOOL_FOR_TARGET in
9251 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9255 for as_dir in $gcc_cv_tool_dirs
9258 test -z "$as_dir" && as_dir=.
9259 for ac_exec_ext in '' $ac_executable_extensions; do
9260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9261 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9262 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9271 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9273 if test -n "$DLLTOOL_FOR_TARGET"; then
9274 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9275 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9277 echo "$as_me:$LINENO: result
: no
" >&5
9278 echo "${ECHO_T}no
" >&6
9282 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9285 if test -n "$DLLTOOL_FOR_TARGET"; then
9286 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9287 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9288 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9291 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9292 for ncn_progname in dlltool; do
9293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9294 set dummy ${ncn_progname}; ac_word=$2
9295 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9296 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9297 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9298 echo $ECHO_N "(cached
) $ECHO_C" >&6
9300 if test -n "$DLLTOOL_FOR_TARGET"; then
9301 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9307 test -z "$as_dir" && as_dir=.
9308 for ac_exec_ext in '' $ac_executable_extensions; do
9309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9311 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9319 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9320 if test -n "$DLLTOOL_FOR_TARGET"; then
9321 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9322 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9324 echo "$as_me:$LINENO: result
: no
" >&5
9325 echo "${ECHO_T}no
" >&6
9331 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9332 for ncn_progname in dlltool; do
9333 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9334 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9335 if test -x $with_build_time_tools/${ncn_progname}; then
9336 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9337 echo "$as_me:$LINENO: result
: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result
: no
" >&5
9342 echo "${ECHO_T}no
" >&6
9347 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9348 for ncn_progname in dlltool; do
9349 if test -n "$ncn_target_tool_prefix"; then
9350 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9351 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9352 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9353 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9354 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9355 echo $ECHO_N "(cached
) $ECHO_C" >&6
9357 if test -n "$DLLTOOL_FOR_TARGET"; then
9358 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9376 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9377 if test -n "$DLLTOOL_FOR_TARGET"; then
9378 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9379 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9381 echo "$as_me:$LINENO: result
: no
" >&5
9382 echo "${ECHO_T}no
" >&6
9386 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9388 set dummy ${ncn_progname}; ac_word=$2
9389 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9390 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9391 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9392 echo $ECHO_N "(cached
) $ECHO_C" >&6
9394 if test -n "$DLLTOOL_FOR_TARGET"; then
9395 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401 test -z "$as_dir" && as_dir=.
9402 for ac_exec_ext in '' $ac_executable_extensions; do
9403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9404 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9405 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9413 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9414 if test -n "$DLLTOOL_FOR_TARGET"; then
9415 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9416 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9418 echo "$as_me:$LINENO: result
: no
" >&5
9419 echo "${ECHO_T}no
" >&6
9423 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9427 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9429 if test $build = $target ; then
9430 DLLTOOL_FOR_TARGET="$2"
9432 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9435 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9439 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9445 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9446 if test -n "$with_build_time_tools"; then
9447 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9448 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9449 if test -x $with_build_time_tools/ld; then
9450 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9451 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9452 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9453 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9455 echo "$as_me:$LINENO: result
: no
" >&5
9456 echo "${ECHO_T}no
" >&6
9458 elif test $build != $host && test $have_gcc_for_target = yes; then
9459 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9460 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9461 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9464 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9465 # Extract the first word of "ld
", so it can be a program name with args.
9466 set dummy ld; ac_word=$2
9467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9469 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9470 echo $ECHO_N "(cached
) $ECHO_C" >&6
9472 case $LD_FOR_TARGET in
9474 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9478 for as_dir in $gcc_cv_tool_dirs
9481 test -z "$as_dir" && as_dir=.
9482 for ac_exec_ext in '' $ac_executable_extensions; do
9483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9484 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9485 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9494 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9496 if test -n "$LD_FOR_TARGET"; then
9497 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9498 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9500 echo "$as_me:$LINENO: result
: no
" >&5
9501 echo "${ECHO_T}no
" >&6
9505 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9508 if test -n "$LD_FOR_TARGET"; then
9509 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9510 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9511 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9514 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9515 for ncn_progname in ld; do
9516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9517 set dummy ${ncn_progname}; ac_word=$2
9518 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9519 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9520 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9521 echo $ECHO_N "(cached
) $ECHO_C" >&6
9523 if test -n "$LD_FOR_TARGET"; then
9524 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9530 test -z "$as_dir" && as_dir=.
9531 for ac_exec_ext in '' $ac_executable_extensions; do
9532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9533 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9534 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9542 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9543 if test -n "$LD_FOR_TARGET"; then
9544 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9545 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9547 echo "$as_me:$LINENO: result
: no
" >&5
9548 echo "${ECHO_T}no
" >&6
9554 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9555 for ncn_progname in ld; do
9556 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9557 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9558 if test -x $with_build_time_tools/${ncn_progname}; then
9559 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9560 echo "$as_me:$LINENO: result
: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9564 echo "$as_me:$LINENO: result
: no
" >&5
9565 echo "${ECHO_T}no
" >&6
9570 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9571 for ncn_progname in ld; do
9572 if test -n "$ncn_target_tool_prefix"; then
9573 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9574 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9575 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9576 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9577 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9578 echo $ECHO_N "(cached
) $ECHO_C" >&6
9580 if test -n "$LD_FOR_TARGET"; then
9581 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9590 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9591 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9599 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9600 if test -n "$LD_FOR_TARGET"; then
9601 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9602 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9604 echo "$as_me:$LINENO: result
: no
" >&5
9605 echo "${ECHO_T}no
" >&6
9609 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9611 set dummy ${ncn_progname}; ac_word=$2
9612 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9613 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9614 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9615 echo $ECHO_N "(cached
) $ECHO_C" >&6
9617 if test -n "$LD_FOR_TARGET"; then
9618 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 test -z "$as_dir" && as_dir=.
9625 for ac_exec_ext in '' $ac_executable_extensions; do
9626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9627 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9628 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9636 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9637 if test -n "$LD_FOR_TARGET"; then
9638 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9639 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9641 echo "$as_me:$LINENO: result
: no
" >&5
9642 echo "${ECHO_T}no
" >&6
9646 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9650 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9652 if test $build = $target ; then
9655 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9658 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9662 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9668 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9669 if test -n "$with_build_time_tools"; then
9670 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9671 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9672 if test -x $with_build_time_tools/lipo; then
9673 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9674 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9675 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9676 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9678 echo "$as_me:$LINENO: result
: no
" >&5
9679 echo "${ECHO_T}no
" >&6
9681 elif test $build != $host && test $have_gcc_for_target = yes; then
9682 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9683 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9684 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9687 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9688 # Extract the first word of "lipo
", so it can be a program name with args.
9689 set dummy lipo; ac_word=$2
9690 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9691 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9692 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9693 echo $ECHO_N "(cached
) $ECHO_C" >&6
9695 case $LIPO_FOR_TARGET in
9697 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9701 for as_dir in $gcc_cv_tool_dirs
9704 test -z "$as_dir" && as_dir=.
9705 for ac_exec_ext in '' $ac_executable_extensions; do
9706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9707 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9708 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9717 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9719 if test -n "$LIPO_FOR_TARGET"; then
9720 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9721 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9723 echo "$as_me:$LINENO: result
: no
" >&5
9724 echo "${ECHO_T}no
" >&6
9728 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9731 if test -n "$LIPO_FOR_TARGET"; then
9732 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9733 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9734 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9737 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9738 for ncn_progname in lipo; do
9739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9740 set dummy ${ncn_progname}; ac_word=$2
9741 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9743 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9744 echo $ECHO_N "(cached
) $ECHO_C" >&6
9746 if test -n "$LIPO_FOR_TARGET"; then
9747 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 test -z "$as_dir" && as_dir=.
9754 for ac_exec_ext in '' $ac_executable_extensions; do
9755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9756 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9757 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9765 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9766 if test -n "$LIPO_FOR_TARGET"; then
9767 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9768 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9770 echo "$as_me:$LINENO: result
: no
" >&5
9771 echo "${ECHO_T}no
" >&6
9777 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9778 for ncn_progname in lipo; do
9779 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9780 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9781 if test -x $with_build_time_tools/${ncn_progname}; then
9782 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9783 echo "$as_me:$LINENO: result
: yes" >&5
9784 echo "${ECHO_T}yes" >&6
9787 echo "$as_me:$LINENO: result
: no
" >&5
9788 echo "${ECHO_T}no
" >&6
9793 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9794 for ncn_progname in lipo; do
9795 if test -n "$ncn_target_tool_prefix"; then
9796 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9797 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9798 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9799 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9800 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9801 echo $ECHO_N "(cached
) $ECHO_C" >&6
9803 if test -n "$LIPO_FOR_TARGET"; then
9804 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 test -z "$as_dir" && as_dir=.
9811 for ac_exec_ext in '' $ac_executable_extensions; do
9812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9813 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9822 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9823 if test -n "$LIPO_FOR_TARGET"; then
9824 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9825 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9827 echo "$as_me:$LINENO: result
: no
" >&5
9828 echo "${ECHO_T}no
" >&6
9832 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9834 set dummy ${ncn_progname}; ac_word=$2
9835 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9837 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9838 echo $ECHO_N "(cached
) $ECHO_C" >&6
9840 if test -n "$LIPO_FOR_TARGET"; then
9841 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9847 test -z "$as_dir" && as_dir=.
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9850 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9859 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9860 if test -n "$LIPO_FOR_TARGET"; then
9861 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9862 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9864 echo "$as_me:$LINENO: result
: no
" >&5
9865 echo "${ECHO_T}no
" >&6
9869 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9873 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9875 if test $build = $target ; then
9876 LIPO_FOR_TARGET="$2"
9878 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9881 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9885 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9891 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9892 if test -n "$with_build_time_tools"; then
9893 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9894 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9895 if test -x $with_build_time_tools/nm; then
9896 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9897 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9898 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9899 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9901 echo "$as_me:$LINENO: result
: no
" >&5
9902 echo "${ECHO_T}no
" >&6
9904 elif test $build != $host && test $have_gcc_for_target = yes; then
9905 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9906 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
9907 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9910 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9911 # Extract the first word of "nm
", so it can be a program name with args.
9912 set dummy nm; ac_word=$2
9913 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9914 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9915 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9916 echo $ECHO_N "(cached
) $ECHO_C" >&6
9918 case $NM_FOR_TARGET in
9920 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9924 for as_dir in $gcc_cv_tool_dirs
9927 test -z "$as_dir" && as_dir=.
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9930 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9931 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9940 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9942 if test -n "$NM_FOR_TARGET"; then
9943 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9944 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9946 echo "$as_me:$LINENO: result
: no
" >&5
9947 echo "${ECHO_T}no
" >&6
9951 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9954 if test -n "$NM_FOR_TARGET"; then
9955 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9956 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9957 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9960 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9961 for ncn_progname in nm; do
9962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9963 set dummy ${ncn_progname}; ac_word=$2
9964 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9965 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9966 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9967 echo $ECHO_N "(cached
) $ECHO_C" >&6
9969 if test -n "$NM_FOR_TARGET"; then
9970 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 test -z "$as_dir" && as_dir=.
9977 for ac_exec_ext in '' $ac_executable_extensions; do
9978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9979 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9980 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9988 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9989 if test -n "$NM_FOR_TARGET"; then
9990 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9991 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9993 echo "$as_me:$LINENO: result
: no
" >&5
9994 echo "${ECHO_T}no
" >&6
10000 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10001 for ncn_progname in nm; do
10002 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10003 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10004 if test -x $with_build_time_tools/${ncn_progname}; then
10005 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10006 echo "$as_me:$LINENO: result
: yes" >&5
10007 echo "${ECHO_T}yes" >&6
10010 echo "$as_me:$LINENO: result
: no
" >&5
10011 echo "${ECHO_T}no
" >&6
10016 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10017 for ncn_progname in nm; do
10018 if test -n "$ncn_target_tool_prefix"; then
10019 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10020 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10021 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10022 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10023 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10024 echo $ECHO_N "(cached
) $ECHO_C" >&6
10026 if test -n "$NM_FOR_TARGET"; then
10027 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10030 for as_dir in $PATH
10033 test -z "$as_dir" && as_dir=.
10034 for ac_exec_ext in '' $ac_executable_extensions; do
10035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10036 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10037 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10045 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10046 if test -n "$NM_FOR_TARGET"; then
10047 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10048 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10050 echo "$as_me:$LINENO: result
: no
" >&5
10051 echo "${ECHO_T}no
" >&6
10055 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10056 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10057 set dummy ${ncn_progname}; ac_word=$2
10058 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10059 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10060 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10061 echo $ECHO_N "(cached
) $ECHO_C" >&6
10063 if test -n "$NM_FOR_TARGET"; then
10064 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10067 for as_dir in $PATH
10070 test -z "$as_dir" && as_dir=.
10071 for ac_exec_ext in '' $ac_executable_extensions; do
10072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10073 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10074 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10082 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10083 if test -n "$NM_FOR_TARGET"; then
10084 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10085 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10087 echo "$as_me:$LINENO: result
: no
" >&5
10088 echo "${ECHO_T}no
" >&6
10092 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10096 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10098 if test $build = $target ; then
10101 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10104 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10108 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10114 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10115 if test -n "$with_build_time_tools"; then
10116 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10117 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10118 if test -x $with_build_time_tools/objdump; then
10119 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10120 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10121 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10122 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10124 echo "$as_me:$LINENO: result
: no
" >&5
10125 echo "${ECHO_T}no
" >&6
10127 elif test $build != $host && test $have_gcc_for_target = yes; then
10128 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10129 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10130 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10133 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10134 # Extract the first word of "objdump
", so it can be a program name with args.
10135 set dummy objdump; ac_word=$2
10136 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10137 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10138 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10139 echo $ECHO_N "(cached
) $ECHO_C" >&6
10141 case $OBJDUMP_FOR_TARGET in
10143 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10147 for as_dir in $gcc_cv_tool_dirs
10150 test -z "$as_dir" && as_dir=.
10151 for ac_exec_ext in '' $ac_executable_extensions; do
10152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10153 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10154 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10163 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10165 if test -n "$OBJDUMP_FOR_TARGET"; then
10166 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10167 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10169 echo "$as_me:$LINENO: result
: no
" >&5
10170 echo "${ECHO_T}no
" >&6
10174 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10177 if test -n "$OBJDUMP_FOR_TARGET"; then
10178 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10179 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10180 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10183 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10184 for ncn_progname in objdump; do
10185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10186 set dummy ${ncn_progname}; ac_word=$2
10187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10189 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10190 echo $ECHO_N "(cached
) $ECHO_C" >&6
10192 if test -n "$OBJDUMP_FOR_TARGET"; then
10193 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10199 test -z "$as_dir" && as_dir=.
10200 for ac_exec_ext in '' $ac_executable_extensions; do
10201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10202 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10211 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10212 if test -n "$OBJDUMP_FOR_TARGET"; then
10213 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10214 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10216 echo "$as_me:$LINENO: result
: no
" >&5
10217 echo "${ECHO_T}no
" >&6
10223 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10224 for ncn_progname in objdump; do
10225 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10226 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10227 if test -x $with_build_time_tools/${ncn_progname}; then
10228 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10229 echo "$as_me:$LINENO: result
: yes" >&5
10230 echo "${ECHO_T}yes" >&6
10233 echo "$as_me:$LINENO: result
: no
" >&5
10234 echo "${ECHO_T}no
" >&6
10239 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10240 for ncn_progname in objdump; do
10241 if test -n "$ncn_target_tool_prefix"; then
10242 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10243 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10244 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10245 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10246 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10247 echo $ECHO_N "(cached
) $ECHO_C" >&6
10249 if test -n "$OBJDUMP_FOR_TARGET"; then
10250 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10253 for as_dir in $PATH
10256 test -z "$as_dir" && as_dir=.
10257 for ac_exec_ext in '' $ac_executable_extensions; do
10258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10259 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10260 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10268 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10269 if test -n "$OBJDUMP_FOR_TARGET"; then
10270 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10271 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10273 echo "$as_me:$LINENO: result
: no
" >&5
10274 echo "${ECHO_T}no
" >&6
10278 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10280 set dummy ${ncn_progname}; ac_word=$2
10281 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10283 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10284 echo $ECHO_N "(cached
) $ECHO_C" >&6
10286 if test -n "$OBJDUMP_FOR_TARGET"; then
10287 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10290 for as_dir in $PATH
10293 test -z "$as_dir" && as_dir=.
10294 for ac_exec_ext in '' $ac_executable_extensions; do
10295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10296 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10305 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10306 if test -n "$OBJDUMP_FOR_TARGET"; then
10307 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10308 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10310 echo "$as_me:$LINENO: result
: no
" >&5
10311 echo "${ECHO_T}no
" >&6
10315 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10319 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10321 if test $build = $target ; then
10322 OBJDUMP_FOR_TARGET="$2"
10324 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10327 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10331 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10337 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10338 if test -n "$with_build_time_tools"; then
10339 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10340 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10341 if test -x $with_build_time_tools/ranlib; then
10342 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10343 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10344 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10345 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10347 echo "$as_me:$LINENO: result
: no
" >&5
10348 echo "${ECHO_T}no
" >&6
10350 elif test $build != $host && test $have_gcc_for_target = yes; then
10351 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10352 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10353 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10356 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10357 # Extract the first word of "ranlib
", so it can be a program name with args.
10358 set dummy ranlib; ac_word=$2
10359 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10361 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10362 echo $ECHO_N "(cached
) $ECHO_C" >&6
10364 case $RANLIB_FOR_TARGET in
10366 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $gcc_cv_tool_dirs
10373 test -z "$as_dir" && as_dir=.
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10376 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10377 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10386 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10388 if test -n "$RANLIB_FOR_TARGET"; then
10389 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10390 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10392 echo "$as_me:$LINENO: result
: no
" >&5
10393 echo "${ECHO_T}no
" >&6
10397 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10400 if test -n "$RANLIB_FOR_TARGET"; then
10401 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10402 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10403 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10406 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10407 for ncn_progname in ranlib; do
10408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10409 set dummy ${ncn_progname}; ac_word=$2
10410 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10411 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10412 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10413 echo $ECHO_N "(cached
) $ECHO_C" >&6
10415 if test -n "$RANLIB_FOR_TARGET"; then
10416 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10419 for as_dir in $PATH
10422 test -z "$as_dir" && as_dir=.
10423 for ac_exec_ext in '' $ac_executable_extensions; do
10424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10425 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10426 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10434 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10435 if test -n "$RANLIB_FOR_TARGET"; then
10436 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10437 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10439 echo "$as_me:$LINENO: result
: no
" >&5
10440 echo "${ECHO_T}no
" >&6
10446 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10447 for ncn_progname in ranlib; do
10448 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10449 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10450 if test -x $with_build_time_tools/${ncn_progname}; then
10451 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10452 echo "$as_me:$LINENO: result
: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10456 echo "$as_me:$LINENO: result
: no
" >&5
10457 echo "${ECHO_T}no
" >&6
10462 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10463 for ncn_progname in ranlib; do
10464 if test -n "$ncn_target_tool_prefix"; then
10465 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10466 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10469 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10470 echo $ECHO_N "(cached
) $ECHO_C" >&6
10472 if test -n "$RANLIB_FOR_TARGET"; then
10473 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10479 test -z "$as_dir" && as_dir=.
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10482 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10491 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10492 if test -n "$RANLIB_FOR_TARGET"; then
10493 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10494 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10496 echo "$as_me:$LINENO: result
: no
" >&5
10497 echo "${ECHO_T}no
" >&6
10501 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10503 set dummy ${ncn_progname}; ac_word=$2
10504 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10505 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10506 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10507 echo $ECHO_N "(cached
) $ECHO_C" >&6
10509 if test -n "$RANLIB_FOR_TARGET"; then
10510 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10513 for as_dir in $PATH
10516 test -z "$as_dir" && as_dir=.
10517 for ac_exec_ext in '' $ac_executable_extensions; do
10518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10519 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10520 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10528 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10529 if test -n "$RANLIB_FOR_TARGET"; then
10530 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10531 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10533 echo "$as_me:$LINENO: result
: no
" >&5
10534 echo "${ECHO_T}no
" >&6
10538 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10542 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10544 if test $build = $target ; then
10545 RANLIB_FOR_TARGET="$2"
10547 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10550 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10554 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10560 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10561 if test -n "$with_build_time_tools"; then
10562 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10563 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10564 if test -x $with_build_time_tools/strip; then
10565 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10566 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10567 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10568 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10570 echo "$as_me:$LINENO: result
: no
" >&5
10571 echo "${ECHO_T}no
" >&6
10573 elif test $build != $host && test $have_gcc_for_target = yes; then
10574 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10575 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10576 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10579 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10580 # Extract the first word of "strip
", so it can be a program name with args.
10581 set dummy strip; ac_word=$2
10582 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10583 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10584 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10585 echo $ECHO_N "(cached
) $ECHO_C" >&6
10587 case $STRIP_FOR_TARGET in
10589 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $gcc_cv_tool_dirs
10596 test -z "$as_dir" && as_dir=.
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10599 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10600 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10609 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10611 if test -n "$STRIP_FOR_TARGET"; then
10612 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10613 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10615 echo "$as_me:$LINENO: result
: no
" >&5
10616 echo "${ECHO_T}no
" >&6
10620 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10623 if test -n "$STRIP_FOR_TARGET"; then
10624 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10625 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10626 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10629 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10630 for ncn_progname in strip; do
10631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10632 set dummy ${ncn_progname}; ac_word=$2
10633 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10634 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10635 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10636 echo $ECHO_N "(cached
) $ECHO_C" >&6
10638 if test -n "$STRIP_FOR_TARGET"; then
10639 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10645 test -z "$as_dir" && as_dir=.
10646 for ac_exec_ext in '' $ac_executable_extensions; do
10647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10648 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10649 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10657 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10658 if test -n "$STRIP_FOR_TARGET"; then
10659 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10660 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10662 echo "$as_me:$LINENO: result
: no
" >&5
10663 echo "${ECHO_T}no
" >&6
10669 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10670 for ncn_progname in strip; do
10671 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10672 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10673 if test -x $with_build_time_tools/${ncn_progname}; then
10674 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10675 echo "$as_me:$LINENO: result
: yes" >&5
10676 echo "${ECHO_T}yes" >&6
10679 echo "$as_me:$LINENO: result
: no
" >&5
10680 echo "${ECHO_T}no
" >&6
10685 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10686 for ncn_progname in strip; do
10687 if test -n "$ncn_target_tool_prefix"; then
10688 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10689 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10690 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10691 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10692 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10693 echo $ECHO_N "(cached
) $ECHO_C" >&6
10695 if test -n "$STRIP_FOR_TARGET"; then
10696 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10699 for as_dir in $PATH
10702 test -z "$as_dir" && as_dir=.
10703 for ac_exec_ext in '' $ac_executable_extensions; do
10704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10705 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10706 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10714 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10715 if test -n "$STRIP_FOR_TARGET"; then
10716 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10717 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10719 echo "$as_me:$LINENO: result
: no
" >&5
10720 echo "${ECHO_T}no
" >&6
10724 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10726 set dummy ${ncn_progname}; ac_word=$2
10727 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10728 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10729 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10730 echo $ECHO_N "(cached
) $ECHO_C" >&6
10732 if test -n "$STRIP_FOR_TARGET"; then
10733 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10736 for as_dir in $PATH
10739 test -z "$as_dir" && as_dir=.
10740 for ac_exec_ext in '' $ac_executable_extensions; do
10741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10742 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10743 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10751 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10752 if test -n "$STRIP_FOR_TARGET"; then
10753 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10754 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10756 echo "$as_me:$LINENO: result
: no
" >&5
10757 echo "${ECHO_T}no
" >&6
10761 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10765 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10767 if test $build = $target ; then
10768 STRIP_FOR_TARGET="$2"
10770 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10773 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10777 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10783 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10784 if test -n "$with_build_time_tools"; then
10785 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10786 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10787 if test -x $with_build_time_tools/windres; then
10788 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10789 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10790 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10791 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10793 echo "$as_me:$LINENO: result
: no
" >&5
10794 echo "${ECHO_T}no
" >&6
10796 elif test $build != $host && test $have_gcc_for_target = yes; then
10797 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10798 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10799 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10802 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10803 # Extract the first word of "windres
", so it can be a program name with args.
10804 set dummy windres; ac_word=$2
10805 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10806 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10807 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10808 echo $ECHO_N "(cached
) $ECHO_C" >&6
10810 case $WINDRES_FOR_TARGET in
10812 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10816 for as_dir in $gcc_cv_tool_dirs
10819 test -z "$as_dir" && as_dir=.
10820 for ac_exec_ext in '' $ac_executable_extensions; do
10821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10822 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10823 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10832 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10834 if test -n "$WINDRES_FOR_TARGET"; then
10835 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10836 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10838 echo "$as_me:$LINENO: result
: no
" >&5
10839 echo "${ECHO_T}no
" >&6
10843 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10846 if test -n "$WINDRES_FOR_TARGET"; then
10847 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10848 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10849 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10852 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10853 for ncn_progname in windres; do
10854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10855 set dummy ${ncn_progname}; ac_word=$2
10856 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10857 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10858 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10859 echo $ECHO_N "(cached
) $ECHO_C" >&6
10861 if test -n "$WINDRES_FOR_TARGET"; then
10862 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10865 for as_dir in $PATH
10868 test -z "$as_dir" && as_dir=.
10869 for ac_exec_ext in '' $ac_executable_extensions; do
10870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10871 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10872 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10880 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10881 if test -n "$WINDRES_FOR_TARGET"; then
10882 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10883 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10885 echo "$as_me:$LINENO: result
: no
" >&5
10886 echo "${ECHO_T}no
" >&6
10892 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10893 for ncn_progname in windres; do
10894 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10895 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10896 if test -x $with_build_time_tools/${ncn_progname}; then
10897 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10898 echo "$as_me:$LINENO: result
: yes" >&5
10899 echo "${ECHO_T}yes" >&6
10902 echo "$as_me:$LINENO: result
: no
" >&5
10903 echo "${ECHO_T}no
" >&6
10908 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10909 for ncn_progname in windres; do
10910 if test -n "$ncn_target_tool_prefix"; then
10911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10913 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10914 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10915 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10916 echo $ECHO_N "(cached
) $ECHO_C" >&6
10918 if test -n "$WINDRES_FOR_TARGET"; then
10919 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10922 for as_dir in $PATH
10925 test -z "$as_dir" && as_dir=.
10926 for ac_exec_ext in '' $ac_executable_extensions; do
10927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10928 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10929 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10937 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10938 if test -n "$WINDRES_FOR_TARGET"; then
10939 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10940 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10942 echo "$as_me:$LINENO: result
: no
" >&5
10943 echo "${ECHO_T}no
" >&6
10947 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10949 set dummy ${ncn_progname}; ac_word=$2
10950 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10951 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10952 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10953 echo $ECHO_N "(cached
) $ECHO_C" >&6
10955 if test -n "$WINDRES_FOR_TARGET"; then
10956 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10959 for as_dir in $PATH
10962 test -z "$as_dir" && as_dir=.
10963 for ac_exec_ext in '' $ac_executable_extensions; do
10964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10965 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10966 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10974 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10975 if test -n "$WINDRES_FOR_TARGET"; then
10976 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10977 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10979 echo "$as_me:$LINENO: result
: no
" >&5
10980 echo "${ECHO_T}no
" >&6
10984 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10988 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10990 if test $build = $target ; then
10991 WINDRES_FOR_TARGET="$2"
10993 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10996 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11000 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11006 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11007 if test -n "$with_build_time_tools"; then
11008 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11009 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11010 if test -x $with_build_time_tools/windmc; then
11011 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11012 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11013 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11014 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11016 echo "$as_me:$LINENO: result
: no
" >&5
11017 echo "${ECHO_T}no
" >&6
11019 elif test $build != $host && test $have_gcc_for_target = yes; then
11020 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11021 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11022 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11025 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11026 # Extract the first word of "windmc
", so it can be a program name with args.
11027 set dummy windmc; ac_word=$2
11028 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11030 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11031 echo $ECHO_N "(cached
) $ECHO_C" >&6
11033 case $WINDMC_FOR_TARGET in
11035 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11039 for as_dir in $gcc_cv_tool_dirs
11042 test -z "$as_dir" && as_dir=.
11043 for ac_exec_ext in '' $ac_executable_extensions; do
11044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11045 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11046 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11055 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11057 if test -n "$WINDMC_FOR_TARGET"; then
11058 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11059 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11061 echo "$as_me:$LINENO: result
: no
" >&5
11062 echo "${ECHO_T}no
" >&6
11066 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11069 if test -n "$WINDMC_FOR_TARGET"; then
11070 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11071 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11072 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11075 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11076 for ncn_progname in windmc; do
11077 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11078 set dummy ${ncn_progname}; ac_word=$2
11079 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11080 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11081 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11082 echo $ECHO_N "(cached
) $ECHO_C" >&6
11084 if test -n "$WINDMC_FOR_TARGET"; then
11085 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11088 for as_dir in $PATH
11091 test -z "$as_dir" && as_dir=.
11092 for ac_exec_ext in '' $ac_executable_extensions; do
11093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11094 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11095 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11103 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11104 if test -n "$WINDMC_FOR_TARGET"; then
11105 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11106 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11108 echo "$as_me:$LINENO: result
: no
" >&5
11109 echo "${ECHO_T}no
" >&6
11115 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11116 for ncn_progname in windmc; do
11117 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11118 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11119 if test -x $with_build_time_tools/${ncn_progname}; then
11120 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11121 echo "$as_me:$LINENO: result
: yes" >&5
11122 echo "${ECHO_T}yes" >&6
11125 echo "$as_me:$LINENO: result
: no
" >&5
11126 echo "${ECHO_T}no
" >&6
11131 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11132 for ncn_progname in windmc; do
11133 if test -n "$ncn_target_tool_prefix"; then
11134 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11135 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11136 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11137 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11138 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11139 echo $ECHO_N "(cached
) $ECHO_C" >&6
11141 if test -n "$WINDMC_FOR_TARGET"; then
11142 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11145 for as_dir in $PATH
11148 test -z "$as_dir" && as_dir=.
11149 for ac_exec_ext in '' $ac_executable_extensions; do
11150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11151 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11152 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11160 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11161 if test -n "$WINDMC_FOR_TARGET"; then
11162 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11163 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11165 echo "$as_me:$LINENO: result
: no
" >&5
11166 echo "${ECHO_T}no
" >&6
11170 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11172 set dummy ${ncn_progname}; ac_word=$2
11173 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11174 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11175 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11176 echo $ECHO_N "(cached
) $ECHO_C" >&6
11178 if test -n "$WINDMC_FOR_TARGET"; then
11179 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11182 for as_dir in $PATH
11185 test -z "$as_dir" && as_dir=.
11186 for ac_exec_ext in '' $ac_executable_extensions; do
11187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11188 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11189 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11197 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11198 if test -n "$WINDMC_FOR_TARGET"; then
11199 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11200 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11202 echo "$as_me:$LINENO: result
: no
" >&5
11203 echo "${ECHO_T}no
" >&6
11207 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11211 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11213 if test $build = $target ; then
11214 WINDMC_FOR_TARGET="$2"
11216 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11219 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11223 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11227 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11229 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11230 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11231 if test "x
${build}" != "x
${host}" ; then
11232 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11233 # We already found the complete path
11234 ac_dir=`dirname $AR_FOR_TARGET`
11235 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11236 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11238 # Canadian cross, just use what we found
11239 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11240 echo "${ECHO_T}pre-installed
" >&6
11244 case " ${configdirs} " in
11249 if test $ok = yes; then
11250 # An in-tree tool is available and we can use it
11251 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11252 echo "$as_me:$LINENO: result
: just compiled
" >&5
11253 echo "${ECHO_T}just compiled
" >&6
11254 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11255 # We already found the complete path
11256 ac_dir=`dirname $AR_FOR_TARGET`
11257 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11258 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11259 elif test "x
$target" = "x
$host"; then
11260 # We can use an host tool
11261 AR_FOR_TARGET='$(AR)'
11262 echo "$as_me:$LINENO: result
: host tool
" >&5
11263 echo "${ECHO_T}host tool
" >&6
11265 # We need a cross tool
11266 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11267 echo "${ECHO_T}pre-installed
" >&6
11271 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11272 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11273 if test "x
${build}" != "x
${host}" ; then
11274 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11275 # We already found the complete path
11276 ac_dir=`dirname $AS_FOR_TARGET`
11277 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11278 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11280 # Canadian cross, just use what we found
11281 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11282 echo "${ECHO_T}pre-installed
" >&6
11286 case " ${configdirs} " in
11291 if test $ok = yes; then
11292 # An in-tree tool is available and we can use it
11293 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11294 echo "$as_me:$LINENO: result
: just compiled
" >&5
11295 echo "${ECHO_T}just compiled
" >&6
11296 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11297 # We already found the complete path
11298 ac_dir=`dirname $AS_FOR_TARGET`
11299 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11300 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11301 elif test "x
$target" = "x
$host"; then
11302 # We can use an host tool
11303 AS_FOR_TARGET='$(AS)'
11304 echo "$as_me:$LINENO: result
: host tool
" >&5
11305 echo "${ECHO_T}host tool
" >&6
11307 # We need a cross tool
11308 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11309 echo "${ECHO_T}pre-installed
" >&6
11313 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11314 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11315 if test "x
${build}" != "x
${host}" ; then
11316 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11317 # We already found the complete path
11318 ac_dir=`dirname $CC_FOR_TARGET`
11319 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11320 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11322 # Canadian cross, just use what we found
11323 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11324 echo "${ECHO_T}pre-installed
" >&6
11328 case " ${configdirs} " in
11333 if test $ok = yes; then
11334 # An in-tree tool is available and we can use it
11335 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11336 echo "$as_me:$LINENO: result
: just compiled
" >&5
11337 echo "${ECHO_T}just compiled
" >&6
11338 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11339 # We already found the complete path
11340 ac_dir=`dirname $CC_FOR_TARGET`
11341 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11342 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11343 elif test "x
$target" = "x
$host"; then
11344 # We can use an host tool
11345 CC_FOR_TARGET='$(CC)'
11346 echo "$as_me:$LINENO: result
: host tool
" >&5
11347 echo "${ECHO_T}host tool
" >&6
11349 # We need a cross tool
11350 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11351 echo "${ECHO_T}pre-installed
" >&6
11355 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11356 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11357 if test "x
${build}" != "x
${host}" ; then
11358 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11359 # We already found the complete path
11360 ac_dir=`dirname $CXX_FOR_TARGET`
11361 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11362 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11364 # Canadian cross, just use what we found
11365 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11366 echo "${ECHO_T}pre-installed
" >&6
11370 case " ${configdirs} " in
11374 case ,${enable_languages}, in
11378 if test $ok = yes; then
11379 # An in-tree tool is available and we can use it
11380 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'
11381 echo "$as_me:$LINENO: result
: just compiled
" >&5
11382 echo "${ECHO_T}just compiled
" >&6
11383 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11384 # We already found the complete path
11385 ac_dir=`dirname $CXX_FOR_TARGET`
11386 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11387 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11388 elif test "x
$target" = "x
$host"; then
11389 # We can use an host tool
11390 CXX_FOR_TARGET='$(CXX)'
11391 echo "$as_me:$LINENO: result
: host tool
" >&5
11392 echo "${ECHO_T}host tool
" >&6
11394 # We need a cross tool
11395 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11396 echo "${ECHO_T}pre-installed
" >&6
11400 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11401 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11402 if test "x
${build}" != "x
${host}" ; then
11403 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11404 # We already found the complete path
11405 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11406 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11407 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11409 # Canadian cross, just use what we found
11410 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11411 echo "${ECHO_T}pre-installed
" >&6
11415 case " ${configdirs} " in
11419 case ,${enable_languages}, in
11423 if test $ok = yes; then
11424 # An in-tree tool is available and we can use it
11425 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'
11426 echo "$as_me:$LINENO: result
: just compiled
" >&5
11427 echo "${ECHO_T}just compiled
" >&6
11428 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11429 # We already found the complete path
11430 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11431 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11432 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11433 elif test "x
$target" = "x
$host"; then
11434 # We can use an host tool
11435 RAW_CXX_FOR_TARGET='$(CXX)'
11436 echo "$as_me:$LINENO: result
: host tool
" >&5
11437 echo "${ECHO_T}host tool
" >&6
11439 # We need a cross tool
11440 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11441 echo "${ECHO_T}pre-installed
" >&6
11445 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11446 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11447 if test "x
${build}" != "x
${host}" ; then
11448 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11449 # We already found the complete path
11450 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11451 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11452 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11454 # Canadian cross, just use what we found
11455 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11456 echo "${ECHO_T}pre-installed
" >&6
11460 case " ${configdirs} " in
11465 if test $ok = yes; then
11466 # An in-tree tool is available and we can use it
11467 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11468 echo "$as_me:$LINENO: result
: just compiled
" >&5
11469 echo "${ECHO_T}just compiled
" >&6
11470 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11471 # We already found the complete path
11472 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11473 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11474 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11475 elif test "x
$target" = "x
$host"; then
11476 # We can use an host tool
11477 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11478 echo "$as_me:$LINENO: result
: host tool
" >&5
11479 echo "${ECHO_T}host tool
" >&6
11481 # We need a cross tool
11482 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11483 echo "${ECHO_T}pre-installed
" >&6
11487 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11488 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11489 if test "x
${build}" != "x
${host}" ; then
11490 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11491 # We already found the complete path
11492 ac_dir=`dirname $GCC_FOR_TARGET`
11493 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11494 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11496 # Canadian cross, just use what we found
11497 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11498 echo "${ECHO_T}pre-installed
" >&6
11502 case " ${configdirs} " in
11507 if test $ok = yes; then
11508 # An in-tree tool is available and we can use it
11509 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11510 echo "$as_me:$LINENO: result
: just compiled
" >&5
11511 echo "${ECHO_T}just compiled
" >&6
11512 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11513 # We already found the complete path
11514 ac_dir=`dirname $GCC_FOR_TARGET`
11515 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11516 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11517 elif test "x
$target" = "x
$host"; then
11518 # We can use an host tool
11519 GCC_FOR_TARGET='$()'
11520 echo "$as_me:$LINENO: result
: host tool
" >&5
11521 echo "${ECHO_T}host tool
" >&6
11523 # We need a cross tool
11524 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11525 echo "${ECHO_T}pre-installed
" >&6
11529 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11530 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11531 if test "x
${build}" != "x
${host}" ; then
11532 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11533 # We already found the complete path
11534 ac_dir=`dirname $GCJ_FOR_TARGET`
11535 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11536 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11538 # Canadian cross, just use what we found
11539 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11540 echo "${ECHO_T}pre-installed
" >&6
11544 case " ${configdirs} " in
11548 case ,${enable_languages}, in
11552 if test $ok = yes; then
11553 # An in-tree tool is available and we can use it
11554 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11555 echo "$as_me:$LINENO: result
: just compiled
" >&5
11556 echo "${ECHO_T}just compiled
" >&6
11557 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11558 # We already found the complete path
11559 ac_dir=`dirname $GCJ_FOR_TARGET`
11560 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11561 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11562 elif test "x
$target" = "x
$host"; then
11563 # We can use an host tool
11564 GCJ_FOR_TARGET='$(GCJ)'
11565 echo "$as_me:$LINENO: result
: host tool
" >&5
11566 echo "${ECHO_T}host tool
" >&6
11568 # We need a cross tool
11569 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11570 echo "${ECHO_T}pre-installed
" >&6
11574 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11575 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11576 if test "x
${build}" != "x
${host}" ; then
11577 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11578 # We already found the complete path
11579 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11580 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11581 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11583 # Canadian cross, just use what we found
11584 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11585 echo "${ECHO_T}pre-installed
" >&6
11589 case " ${configdirs} " in
11593 case ,${enable_languages}, in
11597 if test $ok = yes; then
11598 # An in-tree tool is available and we can use it
11599 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11600 echo "$as_me:$LINENO: result
: just compiled
" >&5
11601 echo "${ECHO_T}just compiled
" >&6
11602 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11603 # We already found the complete path
11604 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11605 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11606 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11607 elif test "x
$target" = "x
$host"; then
11608 # We can use an host tool
11609 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11610 echo "$as_me:$LINENO: result
: host tool
" >&5
11611 echo "${ECHO_T}host tool
" >&6
11613 # We need a cross tool
11614 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11615 echo "${ECHO_T}pre-installed
" >&6
11619 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11620 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11621 if test "x
${build}" != "x
${host}" ; then
11622 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11623 # We already found the complete path
11624 ac_dir=`dirname $LD_FOR_TARGET`
11625 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11626 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11628 # Canadian cross, just use what we found
11629 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11630 echo "${ECHO_T}pre-installed
" >&6
11634 case " ${configdirs} " in
11639 if test $ok = yes; then
11640 # An in-tree tool is available and we can use it
11641 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11642 echo "$as_me:$LINENO: result
: just compiled
" >&5
11643 echo "${ECHO_T}just compiled
" >&6
11644 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11645 # We already found the complete path
11646 ac_dir=`dirname $LD_FOR_TARGET`
11647 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11648 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11649 elif test "x
$target" = "x
$host"; then
11650 # We can use an host tool
11651 LD_FOR_TARGET='$(LD)'
11652 echo "$as_me:$LINENO: result
: host tool
" >&5
11653 echo "${ECHO_T}host tool
" >&6
11655 # We need a cross tool
11656 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11657 echo "${ECHO_T}pre-installed
" >&6
11661 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11662 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11663 if test "x
${build}" != "x
${host}" ; then
11664 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11665 # We already found the complete path
11666 ac_dir=`dirname $LIPO_FOR_TARGET`
11667 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11668 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11670 # Canadian cross, just use what we found
11671 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11672 echo "${ECHO_T}pre-installed
" >&6
11675 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11676 # We already found the complete path
11677 ac_dir=`dirname $LIPO_FOR_TARGET`
11678 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11679 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11680 elif test "x
$target" = "x
$host"; then
11681 # We can use an host tool
11682 LIPO_FOR_TARGET='$(LIPO)'
11683 echo "$as_me:$LINENO: result
: host tool
" >&5
11684 echo "${ECHO_T}host tool
" >&6
11686 # We need a cross tool
11687 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11688 echo "${ECHO_T}pre-installed
" >&6
11692 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11693 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11694 if test "x
${build}" != "x
${host}" ; then
11695 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11696 # We already found the complete path
11697 ac_dir=`dirname $NM_FOR_TARGET`
11698 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11699 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11701 # Canadian cross, just use what we found
11702 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11703 echo "${ECHO_T}pre-installed
" >&6
11707 case " ${configdirs} " in
11712 if test $ok = yes; then
11713 # An in-tree tool is available and we can use it
11714 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11715 echo "$as_me:$LINENO: result
: just compiled
" >&5
11716 echo "${ECHO_T}just compiled
" >&6
11717 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11718 # We already found the complete path
11719 ac_dir=`dirname $NM_FOR_TARGET`
11720 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11721 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11722 elif test "x
$target" = "x
$host"; then
11723 # We can use an host tool
11724 NM_FOR_TARGET='$(NM)'
11725 echo "$as_me:$LINENO: result
: host tool
" >&5
11726 echo "${ECHO_T}host tool
" >&6
11728 # We need a cross tool
11729 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11730 echo "${ECHO_T}pre-installed
" >&6
11734 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11735 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11736 if test "x
${build}" != "x
${host}" ; then
11737 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11738 # We already found the complete path
11739 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11740 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11741 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11743 # Canadian cross, just use what we found
11744 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11745 echo "${ECHO_T}pre-installed
" >&6
11749 case " ${configdirs} " in
11754 if test $ok = yes; then
11755 # An in-tree tool is available and we can use it
11756 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11757 echo "$as_me:$LINENO: result
: just compiled
" >&5
11758 echo "${ECHO_T}just compiled
" >&6
11759 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11760 # We already found the complete path
11761 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11762 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11763 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11764 elif test "x
$target" = "x
$host"; then
11765 # We can use an host tool
11766 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11767 echo "$as_me:$LINENO: result
: host tool
" >&5
11768 echo "${ECHO_T}host tool
" >&6
11770 # We need a cross tool
11771 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11772 echo "${ECHO_T}pre-installed
" >&6
11776 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11777 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11778 if test "x
${build}" != "x
${host}" ; then
11779 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11780 # We already found the complete path
11781 ac_dir=`dirname $RANLIB_FOR_TARGET`
11782 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11783 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11785 # Canadian cross, just use what we found
11786 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11787 echo "${ECHO_T}pre-installed
" >&6
11791 case " ${configdirs} " in
11796 if test $ok = yes; then
11797 # An in-tree tool is available and we can use it
11798 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11799 echo "$as_me:$LINENO: result
: just compiled
" >&5
11800 echo "${ECHO_T}just compiled
" >&6
11801 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11802 # We already found the complete path
11803 ac_dir=`dirname $RANLIB_FOR_TARGET`
11804 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11805 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11806 elif test "x
$target" = "x
$host"; then
11807 # We can use an host tool
11808 RANLIB_FOR_TARGET='$(RANLIB)'
11809 echo "$as_me:$LINENO: result
: host tool
" >&5
11810 echo "${ECHO_T}host tool
" >&6
11812 # We need a cross tool
11813 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11814 echo "${ECHO_T}pre-installed
" >&6
11818 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11819 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11820 if test "x
${build}" != "x
${host}" ; then
11821 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11822 # We already found the complete path
11823 ac_dir=`dirname $STRIP_FOR_TARGET`
11824 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11825 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11827 # Canadian cross, just use what we found
11828 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11829 echo "${ECHO_T}pre-installed
" >&6
11833 case " ${configdirs} " in
11838 if test $ok = yes; then
11839 # An in-tree tool is available and we can use it
11840 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11841 echo "$as_me:$LINENO: result
: just compiled
" >&5
11842 echo "${ECHO_T}just compiled
" >&6
11843 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11844 # We already found the complete path
11845 ac_dir=`dirname $STRIP_FOR_TARGET`
11846 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11847 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11848 elif test "x
$target" = "x
$host"; then
11849 # We can use an host tool
11850 STRIP_FOR_TARGET='$(STRIP)'
11851 echo "$as_me:$LINENO: result
: host tool
" >&5
11852 echo "${ECHO_T}host tool
" >&6
11854 # We need a cross tool
11855 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11856 echo "${ECHO_T}pre-installed
" >&6
11860 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11861 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11862 if test "x
${build}" != "x
${host}" ; then
11863 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11864 # We already found the complete path
11865 ac_dir=`dirname $WINDRES_FOR_TARGET`
11866 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11867 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11869 # Canadian cross, just use what we found
11870 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11871 echo "${ECHO_T}pre-installed
" >&6
11875 case " ${configdirs} " in
11880 if test $ok = yes; then
11881 # An in-tree tool is available and we can use it
11882 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11883 echo "$as_me:$LINENO: result
: just compiled
" >&5
11884 echo "${ECHO_T}just compiled
" >&6
11885 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11886 # We already found the complete path
11887 ac_dir=`dirname $WINDRES_FOR_TARGET`
11888 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11889 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11890 elif test "x
$target" = "x
$host"; then
11891 # We can use an host tool
11892 WINDRES_FOR_TARGET='$(WINDRES)'
11893 echo "$as_me:$LINENO: result
: host tool
" >&5
11894 echo "${ECHO_T}host tool
" >&6
11896 # We need a cross tool
11897 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11898 echo "${ECHO_T}pre-installed
" >&6
11902 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11903 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11904 if test "x
${build}" != "x
${host}" ; then
11905 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11906 # We already found the complete path
11907 ac_dir=`dirname $WINDMC_FOR_TARGET`
11908 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11909 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11911 # Canadian cross, just use what we found
11912 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11913 echo "${ECHO_T}pre-installed
" >&6
11917 case " ${configdirs} " in
11922 if test $ok = yes; then
11923 # An in-tree tool is available and we can use it
11924 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
11925 echo "$as_me:$LINENO: result
: just compiled
" >&5
11926 echo "${ECHO_T}just compiled
" >&6
11927 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11928 # We already found the complete path
11929 ac_dir=`dirname $WINDMC_FOR_TARGET`
11930 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11931 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11932 elif test "x
$target" = "x
$host"; then
11933 # We can use an host tool
11934 WINDMC_FOR_TARGET='$(WINDMC)'
11935 echo "$as_me:$LINENO: result
: host tool
" >&5
11936 echo "${ECHO_T}host tool
" >&6
11938 # We need a cross tool
11939 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11940 echo "${ECHO_T}pre-installed
" >&6
11948 # Certain tools may need extra flags.
11949 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11950 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11951 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11953 # When building target libraries, except in a Canadian cross, we use
11954 # the same toolchain as the compiler we just built.
11955 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11956 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11957 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11958 if test $host = $build; then
11959 case " $configdirs " in
11961 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11962 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11963 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11972 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11973 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11974 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11975 if test "${enable_maintainer_mode+set}" = set; then
11976 enableval="$enable_maintainer_mode"
11977 USE_MAINTAINER_MODE=$enableval
11979 USE_MAINTAINER_MODE=no
11981 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11982 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11985 if test "$USE_MAINTAINER_MODE" = yes; then
11986 MAINTAINER_MODE_TRUE=
11987 MAINTAINER_MODE_FALSE='#'
11989 MAINTAINER_MODE_TRUE='#'
11990 MAINTAINER_MODE_FALSE=
11992 MAINT=$MAINTAINER_MODE_TRUE
11994 # ---------------------
11995 # GCC bootstrap support
11996 # ---------------------
11998 # Stage specific cflags for build.
12003 yes) stage1_cflags="-g -Wa,-J" ;;
12004 *) stage1_cflags="-g -J" ;;
12008 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12009 if test "$GCC" = yes; then
12010 saved_CFLAGS="$CFLAGS"
12012 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12013 CFLAGS="$CFLAGS -fkeep-inline-functions"
12014 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12015 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12016 cat >conftest.$ac_ext <<_ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12023 #if (__GNUC__ < 3) \
12024 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12025 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12026 #error http://gcc.gnu.org/PR29382
12037 rm -f conftest.$ac_objext
12038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12039 (eval $ac_compile) 2>conftest.er1
12041 grep -v '^ *+' conftest.er1 >conftest.err
12043 cat conftest.err >&5
12044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12045 (exit $ac_status); } &&
12046 { ac_try='test -z "$ac_c_werror_flag"
12047 || test ! -s conftest.err'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12052 (exit $ac_status); }; } &&
12053 { ac_try='test -s conftest.$ac_objext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 echo "$as_me:$LINENO: result
: yes" >&5
12060 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12062 echo "$as_me: failed program was
:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 echo "$as_me:$LINENO: result
: no
" >&5
12066 echo "${ECHO_T}no
" >&6
12068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12070 CFLAGS="$saved_CFLAGS"
12075 # Enable --enable-checking in stage1 of the compiler.
12076 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12077 if test "${enable_stage1_checking+set}" = set; then
12078 enableval="$enable_stage1_checking"
12079 stage1_checking=--enable-checking=${enable_stage1_checking}
12081 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12082 stage1_checking=--enable-checking=yes,types
12084 stage1_checking=--enable-checking=$enable_checking,types
12089 # Enable -Werror in bootstrap stage2 and later.
12090 # Check whether --enable-werror or --disable-werror was given.
12091 if test "${enable_werror+set}" = set; then
12092 enableval="$enable_werror"
12095 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12101 case ${enable_werror} in
12102 yes) stage2_werror_flag="--enable-werror-always" ;;
12103 *) stage2_werror_flag="" ;;
12107 # Flags needed to enable html installing and building
12109 # Check whether --with-datarootdir or --without-datarootdir was given.
12110 if test "${with_datarootdir+set}" = set; then
12111 withval="$with_datarootdir"
12112 datarootdir="\
${prefix}/${withval}"
12114 datarootdir="\
${prefix}/share
"
12118 # Check whether --with-docdir or --without-docdir was given.
12119 if test "${with_docdir+set}" = set; then
12120 withval="$with_docdir"
12121 docdir="\
${prefix}/${withval}"
12123 docdir="\
${datarootdir}/doc
"
12127 # Check whether --with-pdfdir or --without-pdfdir was given.
12128 if test "${with_pdfdir+set}" = set; then
12129 withval="$with_pdfdir"
12130 pdfdir="\
${prefix}/${withval}"
12132 pdfdir="\
${docdir}"
12136 # Check whether --with-htmldir or --without-htmldir was given.
12137 if test "${with_htmldir+set}" = set; then
12138 withval="$with_htmldir"
12139 htmldir="\
${prefix}/${withval}"
12141 htmldir="\
${docdir}"
12149 ac_config_files="$ac_config_files Makefile
"
12150 cat >confcache <<\_ACEOF
12151 # This file is a shell script that caches the results of configure
12152 # tests run on this system so they can be shared between configure
12153 # scripts and configure runs, see configure's option --config-cache.
12154 # It is not useful on other systems. If it contains results you don't
12155 # want to keep, you may remove or edit it.
12157 # config.status only pays attention to the cache file if you give it
12158 # the --recheck option to rerun configure.
12160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12162 # following values.
12166 # The following way of writing the cache mishandles newlines in values,
12167 # but we know of no workaround that is simple, portable, and efficient.
12168 # So, don't put newlines in cache variables' values.
12169 # Ultrix sh set writes to stderr and can't be redirected directly,
12170 # and sets the high bit in the cache file unless we assign to the vars.
12173 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12175 # `set' does not quote correctly, so add quotes (double-quote
12176 # substitution turns \\\\ into \\, and sed turns \\ into \).
12179 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12182 # `set' quotes correctly as required by POSIX, so do not add quotes.
12184 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12193 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12195 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12196 if test -w $cache_file; then
12197 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12198 cat confcache >$cache_file
12200 echo "not updating unwritable cache
$cache_file"
12205 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12206 # Let make expand exec_prefix.
12207 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12211 # trailing colons and then remove the whole line if VPATH becomes empty
12212 # (actually we leave an empty line to preserve line numbers).
12213 if test "x
$srcdir" = x.; then
12214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12215 s/:*\$(srcdir):*/:/;
12216 s/:*\${srcdir}:*/:/;
12218 s/^\([^=]*=[ ]*\):*/\1/;
12224 # Transform confdefs.h into DEFS.
12225 # Protect against shell expansion while executing Makefile rules.
12226 # Protect against Makefile macro expansion.
12228 # If the first sed substitution is executed (which looks for macros that
12229 # take arguments), then we branch to the quote section. Otherwise,
12230 # look for a macro that doesn't take arguments.
12231 cat >confdef2opt.sed <<\_ACEOF
12234 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12236 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12240 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12246 # We use echo to avoid assuming a particular line-breaking character.
12247 # The extra dot is to prevent the shell from consuming trailing
12248 # line-breaks from the sub-command output. A line-break within
12249 # single-quotes doesn't work because, if this script is created in a
12250 # platform that uses two characters for line-breaks (e.g., DOS), tr
12252 ac_LF_and_DOT
=`echo; echo .`
12253 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12254 rm -f confdef2opt.
sed
12259 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12260 # 1. Remove the extension, and $U if already installed.
12261 ac_i
=`echo "$ac_i" |
12262 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12264 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12265 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12267 LIBOBJS
=$ac_libobjs
12269 LTLIBOBJS
=$ac_ltlibobjs
12273 : ${CONFIG_STATUS=./config.status}
12274 ac_clean_files_save
=$ac_clean_files
12275 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12276 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12277 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12278 cat >$CONFIG_STATUS <<_ACEOF
12280 # Generated by $as_me.
12281 # Run this file to recreate the current configuration.
12282 # Compiler output produced by configure, useful for debugging
12283 # configure, is in config.log if it exists.
12286 ac_cs_recheck=false
12288 SHELL=\${CONFIG_SHELL-$SHELL}
12291 cat >>$CONFIG_STATUS <<\_ACEOF
12292 ## --------------------- ##
12293 ## M4sh Initialization. ##
12294 ## --------------------- ##
12296 # Be Bourne compatible
12297 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12301 # is contrary to our usage. Disable this feature.
12302 alias -g '${1+"$@"}'='"$@"'
12303 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12306 DUALCASE
=1; export DUALCASE
# for MKS sh
12308 # Support unset when possible.
12309 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12316 # Work around bugs in pre-3.0 UWIN ksh.
12317 $as_unset ENV MAIL MAILPATH
12324 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12325 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12326 LC_TELEPHONE LC_TIME
12328 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12329 eval $as_var=C
; export $as_var
12335 # Required to use basename.
12336 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12342 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12343 as_basename
=basename
12349 # Name of the executable.
12350 as_me
=`$as_basename "$0" ||
12351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12352 X"$0" : 'X\(//\)$' \| \
12353 X"$0" : 'X\(/\)$' \| \
12354 . : '\(.\)' 2>/dev/null ||
12356 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12357 /^X\/\(\/\/\)$/{ s//\1/; q; }
12358 /^X\/\(\/\).*/{ s//\1/; q; }
12362 # PATH needs CR, and LINENO needs CR and PATH.
12363 # Avoid depending upon Character Ranges.
12364 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12365 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12366 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12367 as_cr_digits
='0123456789'
12368 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12370 # The user is always right.
12371 if test "${PATH_SEPARATOR+set}" != set; then
12372 echo "#! /bin/sh" >conf$$.sh
12373 echo "exit 0" >>conf$$.sh
12375 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12384 as_lineno_1
=$LINENO
12385 as_lineno_2
=$LINENO
12386 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12387 test "x$as_lineno_1" != "x$as_lineno_2" &&
12388 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12389 # Find who we are. Look in the path if we contain no path at all
12392 *[\\/]* ) as_myself
=$0 ;;
12393 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12394 for as_dir
in $PATH
12397 test -z "$as_dir" && as_dir
=.
12398 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12403 # We did not find ourselves, most probably we were run as `sh COMMAND'
12404 # in which case we are not to be found in the path.
12405 if test "x$as_myself" = x
; then
12408 if test ! -f "$as_myself"; then
12409 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12410 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12411 { (exit 1); exit 1; }; }
12413 case $CONFIG_SHELL in
12415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12416 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12419 test -z "$as_dir" && as_dir
=.
12420 for as_base
in sh bash ksh sh5
; do
12423 if ("$as_dir/$as_base" -c '
12424 as_lineno_1=$LINENO
12425 as_lineno_2=$LINENO
12426 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12427 test "x$as_lineno_1" != "x$as_lineno_2" &&
12428 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12429 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12430 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12431 CONFIG_SHELL
=$as_dir/$as_base
12432 export CONFIG_SHELL
12433 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12442 # uniformly replaced by the line number. The first 'sed' inserts a
12443 # line-number line before each line; the second 'sed' does the real
12444 # work. The second script uses 'N' to pair each line-number line
12445 # with the numbered line, and appends trailing '-' during
12446 # substitution so that $LINENO is not a special case at line end.
12447 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12448 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12449 sed '=' <$as_myself |
12454 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12457 s,^['$as_cr_digits']*\n,,
12458 ' >$as_me.lineno
&&
12459 chmod +x
$as_me.lineno ||
12460 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12461 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12462 { (exit 1); exit 1; }; }
12464 # Don't try to exec as it changes $[0], causing all sort of problems
12465 # (the dirname of $[0] is not the place where we might find the
12466 # original and so on. Autoconf is especially sensible to this).
12468 # Exit status is that of the last command.
12473 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12474 *c
*,-n*) ECHO_N
= ECHO_C
='
12476 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12477 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12480 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12486 rm -f conf$$ conf$$.exe conf$$.
file
12488 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12489 # We could just check for DJGPP; but this test a) works b) is more generic
12490 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12491 if test -f conf$$.exe
; then
12492 # Don't use ln at all; we don't have any links
12497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12502 rm -f conf$$ conf$$.exe conf$$.
file
12504 if mkdir
-p .
2>/dev
/null
; then
12507 test -d .
/-p && rmdir .
/-p
12511 as_executable_p
="test -f"
12513 # Sed expression to map a string onto a valid CPP name.
12514 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12516 # Sed expression to map a string onto a valid variable name.
12517 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12521 # We need space, tab and new line, in precisely that order.
12531 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12532 # report actual input values of CONFIG_FILES etc. instead of their
12533 # values after options handling. Logging --version etc. is OK.
12537 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12538 ## Running $as_me. ##
12543 This file was extended by $as_me, which was
12544 generated by GNU Autoconf 2.59. Invocation command line was
12546 CONFIG_FILES = $CONFIG_FILES
12547 CONFIG_HEADERS = $CONFIG_HEADERS
12548 CONFIG_LINKS = $CONFIG_LINKS
12549 CONFIG_COMMANDS = $CONFIG_COMMANDS
12553 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12557 # Files that config.status was made for.
12558 if test -n "$ac_config_files"; then
12559 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12562 if test -n "$ac_config_headers"; then
12563 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12566 if test -n "$ac_config_links"; then
12567 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12570 if test -n "$ac_config_commands"; then
12571 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12574 cat >>$CONFIG_STATUS <<\_ACEOF
12577 \`$as_me' instantiates files from templates according to the
12578 current configuration.
12580 Usage: $0 [OPTIONS] [FILE]...
12582 -h, --help print this help, then exit
12583 -V, --version print version number, then exit
12584 -q, --quiet do not print progress messages
12585 -d, --debug don't remove temporary files
12586 --recheck update $as_me by reconfiguring in the same conditions
12587 --file=FILE[:TEMPLATE]
12588 instantiate the configuration file FILE
12590 Configuration files:
12593 Report bugs to <bug-autoconf@gnu.org>."
12596 cat >>$CONFIG_STATUS <<_ACEOF
12599 configured by $0, generated by GNU Autoconf 2.59,
12600 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12602 Copyright (C) 2003 Free Software Foundation, Inc.
12603 This config.status script is free software; the Free Software Foundation
12604 gives unlimited permission to copy, distribute and modify it."
12609 cat >>$CONFIG_STATUS <<\_ACEOF
12610 # If no file are specified by the user, then we need to provide default
12611 # value. By we need to know if files were specified by the user.
12617 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12618 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12626 *) # This is not an option, so the user has probably given explicit
12629 ac_need_defaults
=false
;;
12633 # Handling of the options.
12635 cat >>$CONFIG_STATUS <<\_ACEOF
12636 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12638 --version |
--vers* |
-V )
12639 echo "$ac_cs_version"; exit 0 ;;
12641 # Conflict between --help and --header
12642 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12643 Try \`$0 --help' for more information." >&5
12644 echo "$as_me: error: ambiguous option: $1
12645 Try \`$0 --help' for more information." >&2;}
12646 { (exit 1); exit 1; }; };;
12647 --help |
--hel |
-h )
12648 echo "$ac_cs_usage"; exit 0 ;;
12649 --debug |
--d* |
-d )
12651 --file |
--fil |
--fi |
--f )
12653 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12654 ac_need_defaults
=false
;;
12655 --header |
--heade |
--head |
--hea )
12657 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12658 ac_need_defaults
=false
;;
12659 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12660 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12663 # This is an error.
12664 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12665 Try \`$0 --help' for more information." >&5
12666 echo "$as_me: error: unrecognized option: $1
12667 Try \`$0 --help' for more information." >&2;}
12668 { (exit 1); exit 1; }; } ;;
12670 *) ac_config_targets
="$ac_config_targets $1" ;;
12676 ac_configure_extra_args
=
12678 if $ac_cs_silent; then
12680 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12684 cat >>$CONFIG_STATUS <<_ACEOF
12685 if \$ac_cs_recheck; then
12686 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12687 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12696 cat >>$CONFIG_STATUS <<\_ACEOF
12697 for ac_config_target
in $ac_config_targets
12699 case "$ac_config_target" in
12700 # Handling of arguments.
12701 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12704 { (exit 1); exit 1; }; };;
12708 # If the user did not use the arguments to specify the items to instantiate,
12709 # then the envvar interface is used. Set only those that are not.
12710 # We use the long form for the default assignment because of an extremely
12711 # bizarre bug on SunOS 4.1.3.
12712 if $ac_need_defaults; then
12713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12716 # Have a temporary directory for convenience. Make it in the build tree
12717 # simply because there is no reason to put it here, and in addition,
12718 # creating and moving files from /tmp can sometimes cause problems.
12719 # Create a temporary directory, and hook for its removal unless debugging.
12722 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12723 trap '{ (exit 1); exit 1; }' 1 2 13 15
12726 # Create a (secure) tmp directory for tmp files.
12729 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12730 test -n "$tmp" && test -d "$tmp"
12733 tmp
=.
/confstat$$
-$RANDOM
12734 (umask 077 && mkdir
$tmp)
12737 echo "$me: cannot create a temporary directory in ." >&2
12738 { (exit 1); exit 1; }
12743 cat >>$CONFIG_STATUS <<_ACEOF
12746 # CONFIG_FILES section.
12749 # No need to generate the scripts if there are no CONFIG_FILES.
12750 # This happens for instance when ./config.status config.h
12751 if test -n "\$CONFIG_FILES"; then
12752 # Protect against being on the right side of a sed subst in config.status.
12753 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12754 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12755 s,@SHELL@,$SHELL,;t t
12756 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12757 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12758 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12759 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12760 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12761 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12762 s,@exec_prefix@,$exec_prefix,;t t
12763 s,@prefix@,$prefix,;t t
12764 s,@program_transform_name@,$program_transform_name,;t t
12765 s,@bindir@,$bindir,;t t
12766 s,@sbindir@,$sbindir,;t t
12767 s,@libexecdir@,$libexecdir,;t t
12768 s,@datadir@,$datadir,;t t
12769 s,@sysconfdir@,$sysconfdir,;t t
12770 s,@sharedstatedir@,$sharedstatedir,;t t
12771 s,@localstatedir@,$localstatedir,;t t
12772 s,@libdir@,$libdir,;t t
12773 s,@includedir@,$includedir,;t t
12774 s,@oldincludedir@,$oldincludedir,;t t
12775 s,@infodir@,$infodir,;t t
12776 s,@mandir@,$mandir,;t t
12777 s,@build_alias@,$build_alias,;t t
12778 s,@host_alias@,$host_alias,;t t
12779 s,@target_alias@,$target_alias,;t t
12780 s,@DEFS@,$DEFS,;t t
12781 s,@ECHO_C@,$ECHO_C,;t t
12782 s,@ECHO_N@,$ECHO_N,;t t
12783 s,@ECHO_T@,$ECHO_T,;t t
12784 s,@LIBS@,$LIBS,;t t
12785 s,@build@,$build,;t t
12786 s,@build_cpu@,$build_cpu,;t t
12787 s,@build_vendor@,$build_vendor,;t t
12788 s,@build_os@,$build_os,;t t
12789 s,@build_noncanonical@,$build_noncanonical,;t t
12790 s,@host_noncanonical@,$host_noncanonical,;t t
12791 s,@target_noncanonical@,$target_noncanonical,;t t
12792 s,@host@,$host,;t t
12793 s,@host_cpu@,$host_cpu,;t t
12794 s,@host_vendor@,$host_vendor,;t t
12795 s,@host_os@,$host_os,;t t
12796 s,@target@,$target,;t t
12797 s,@target_cpu@,$target_cpu,;t t
12798 s,@target_vendor@,$target_vendor,;t t
12799 s,@target_os@,$target_os,;t t
12800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12804 s,@LN_S@,$LN_S,;t t
12805 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12806 s,@build_libsubdir@,$build_libsubdir,;t t
12807 s,@build_subdir@,$build_subdir,;t t
12808 s,@host_subdir@,$host_subdir,;t t
12809 s,@target_subdir@,$target_subdir,;t t
12811 s,@CFLAGS@,$CFLAGS,;t t
12812 s,@LDFLAGS@,$LDFLAGS,;t t
12813 s,@CPPFLAGS@,$CPPFLAGS,;t t
12814 s,@ac_ct_CC@,$ac_ct_CC,;t t
12815 s,@EXEEXT@,$EXEEXT,;t t
12816 s,@OBJEXT@,$OBJEXT,;t t
12818 s,@CXXFLAGS@,$CXXFLAGS,;t t
12819 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12820 s,@GNATBIND@,$GNATBIND,;t t
12821 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12822 s,@GNATMAKE@,$GNATMAKE,;t t
12823 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12824 s,@do_compare@,$do_compare,;t t
12825 s,@gmplibs@,$gmplibs,;t t
12826 s,@gmpinc@,$gmpinc,;t t
12827 s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
12828 s,@stage1_languages@,$stage1_languages,;t t
12829 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12830 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12831 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12832 s,@tooldir@,$tooldir,;t t
12833 s,@build_tooldir@,$build_tooldir,;t t
12834 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12835 s,@GDB_TK@,$GDB_TK,;t t
12836 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12837 s,@build_configargs@,$build_configargs,;t t
12838 s,@build_configdirs@,$build_configdirs,;t t
12839 s,@host_configargs@,$host_configargs,;t t
12840 s,@configdirs@,$configdirs,;t t
12841 s,@target_configargs@,$target_configargs,;t t
12842 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12843 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
12844 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12845 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12846 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
12847 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
12848 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
12849 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
12850 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
12851 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
12852 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
12853 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
12854 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
12855 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
12856 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
12857 s,@config_shell@,$config_shell,;t t
12858 s,@YACC@,$YACC,;t t
12859 s,@BISON@,$BISON,;t t
12862 s,@FLEX@,$FLEX,;t t
12863 s,@MAKEINFO@,$MAKEINFO,;t t
12864 s,@EXPECT@,$EXPECT,;t t
12865 s,@RUNTEST@,$RUNTEST,;t t
12868 s,@DLLTOOL@,$DLLTOOL,;t t
12870 s,@LIPO@,$LIPO,;t t
12872 s,@RANLIB@,$RANLIB,;t t
12873 s,@STRIP@,$STRIP,;t t
12874 s,@WINDRES@,$WINDRES,;t t
12875 s,@WINDMC@,$WINDMC,;t t
12876 s,@OBJCOPY@,$OBJCOPY,;t t
12877 s,@OBJDUMP@,$OBJDUMP,;t t
12878 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12879 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12880 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12881 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12882 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12883 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12884 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12885 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12886 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12887 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12888 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12889 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12890 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12891 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12892 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12893 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12894 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12895 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12896 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12897 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12898 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12899 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12900 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12901 s,@MAINT@,$MAINT,;t t
12902 s,@stage1_cflags@,$stage1_cflags,;t t
12903 s,@stage1_checking@,$stage1_checking,;t t
12904 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12905 s,@datarootdir@,$datarootdir,;t t
12906 s,@docdir@,$docdir,;t t
12907 s,@pdfdir@,$pdfdir,;t t
12908 s,@htmldir@,$htmldir,;t t
12909 s,@LIBOBJS@,$LIBOBJS,;t t
12910 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12911 /@serialization_dependencies@/r $serialization_dependencies
12912 s,@serialization_dependencies@,,;t t
12913 /@host_makefile_frag@/r $host_makefile_frag
12914 s,@host_makefile_frag@,,;t t
12915 /@target_makefile_frag@/r $target_makefile_frag
12916 s,@target_makefile_frag@,,;t t
12917 /@alphaieee_frag@/r $alphaieee_frag
12918 s,@alphaieee_frag@,,;t t
12919 /@ospace_frag@/r $ospace_frag
12920 s,@ospace_frag@,,;t t
12925 cat >>$CONFIG_STATUS <<\_ACEOF
12926 # Split the substitutions into bite-sized pieces for seds with
12927 # small command number limits, like on Digital OSF/1 and HP-UX.
12928 ac_max_sed_lines
=48
12929 ac_sed_frag
=1 # Number of current file.
12930 ac_beg
=1 # First line for current file.
12931 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12934 while $ac_more_lines; do
12935 if test $ac_beg -gt 1; then
12936 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12938 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12940 if test ! -s $tmp/subs.frag
; then
12941 ac_more_lines
=false
12943 # The purpose of the label and of the branching condition is to
12944 # speed up the sed processing (if there are no `@' at all, there
12945 # is no need to browse any of the substitutions).
12946 # These are the two extra sed commands mentioned above.
12948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12949 if test -z "$ac_sed_cmds"; then
12950 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12952 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12954 ac_sed_frag
=`expr $ac_sed_frag + 1`
12956 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12959 if test -z "$ac_sed_cmds"; then
12962 fi # test -n "$CONFIG_FILES"
12965 cat >>$CONFIG_STATUS <<\_ACEOF
12966 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12967 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12969 - |
*:- |
*:-:* ) # input from stdin
12971 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12972 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12973 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12974 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12975 * ) ac_file_in
=$ac_file.
in ;;
12978 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12979 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12981 X"$ac_file" : 'X\(//\)[^/]' \| \
12982 X"$ac_file" : 'X\(//\)$' \| \
12983 X"$ac_file" : 'X\(/\)' \| \
12984 . : '\(.\)' 2>/dev/null ||
12986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12988 /^X\(\/\/\)$/{ s//\1/; q; }
12989 /^X\(\/\).*/{ s//\1/; q; }
12991 { if $as_mkdir_p; then
12996 while test ! -d "$as_dir"; do
12997 as_dirs
="$as_dir $as_dirs"
12998 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13000 X"$as_dir" : 'X\(//\)[^/]' \| \
13001 X"$as_dir" : 'X\(//\)$' \| \
13002 X"$as_dir" : 'X\(/\)' \| \
13003 . : '\(.\)' 2>/dev/null ||
13005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13007 /^X\(\/\/\)$/{ s//\1/; q; }
13008 /^X\(\/\).*/{ s//\1/; q; }
13011 test ! -n "$as_dirs" || mkdir
$as_dirs
13012 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13014 { (exit 1); exit 1; }; }; }
13018 if test "$ac_dir" != .
; then
13019 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13020 # A "../" for each directory in $ac_dir_suffix.
13021 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13023 ac_dir_suffix
= ac_top_builddir
=
13027 .
) # No --srcdir option. We are building in place.
13029 if test -z "$ac_top_builddir"; then
13032 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13034 [\\/]* | ?
:[\\/]* ) # Absolute path.
13035 ac_srcdir
=$srcdir$ac_dir_suffix;
13036 ac_top_srcdir
=$srcdir ;;
13037 *) # Relative path.
13038 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13039 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13042 # Do not use `cd foo && pwd` to compute absolute paths, because
13043 # the directories may not exist.
13045 .
) ac_abs_builddir
="$ac_dir";;
13048 .
) ac_abs_builddir
=`pwd`;;
13049 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13050 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13053 case $ac_abs_builddir in
13054 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13056 case ${ac_top_builddir}.
in
13057 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13058 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13059 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13062 case $ac_abs_builddir in
13063 .
) ac_abs_srcdir
=$ac_srcdir;;
13066 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13067 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13068 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13071 case $ac_abs_builddir in
13072 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13074 case $ac_top_srcdir in
13075 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13076 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13077 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13083 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13084 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13087 if test x
"$ac_file" != x-
; then
13088 { echo "$as_me:$LINENO: creating $ac_file" >&5
13089 echo "$as_me: creating $ac_file" >&6;}
13092 # Let's still pretend it is `configure' which instantiates (i.e., don't
13093 # use $as_me), people would be surprised to read:
13094 # /* config.h. Generated by config.status. */
13095 if test x
"$ac_file" = x-
; then
13098 configure_input
="$ac_file. "
13100 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13101 sed 's,.*/,,'` by configure."
13103 # First look for the input files in the build tree, otherwise in the
13105 ac_file_inputs
=`IFS=:
13106 for f in $ac_file_in; do
13108 -) echo $tmp/stdin ;;
13110 # Absolute (can't be DOS-style, as IFS=:)
13111 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13112 echo "$as_me: error: cannot find input file: $f" >&2;}
13113 { (exit 1); exit 1; }; }
13116 if test -f "$f"; then
13119 elif test -f "$srcdir/$f"; then
13124 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13125 echo "$as_me: error: cannot find input file: $f" >&2;}
13126 { (exit 1); exit 1; }; }
13129 done` ||
{ (exit 1); exit 1; }
13131 cat >>$CONFIG_STATUS <<_ACEOF
13135 cat >>$CONFIG_STATUS <<\_ACEOF
13137 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13138 s
,@configure_input@
,$configure_input,;t t
13139 s
,@srcdir@
,$ac_srcdir,;t t
13140 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13141 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13142 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13143 s
,@builddir@
,$ac_builddir,;t t
13144 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13145 s
,@top_builddir@
,$ac_top_builddir,;t t
13146 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13147 s
,@INSTALL@
,$ac_INSTALL,;t t
13148 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13150 if test x"$ac_file" != x-; then
13151 mv $tmp/out $ac_file
13160 cat >>$CONFIG_STATUS <<\_ACEOF
13162 { (exit 0); exit 0; }
13164 chmod +x $CONFIG_STATUS
13165 ac_clean_files=$ac_clean_files_save
13168 # configure is writing to config.log, and then calls config.status.
13169 # config.status does its own redirection, appending to config.log.
13170 # Unfortunately, on DOS this fails, as config.log is still kept open
13171 # by configure, so config.status won't be able to write to it; its
13172 # output is simply discarded. So we exec the FD to /dev/null,
13173 # effectively closing config.log, so it can be properly (re)opened and
13174 # appended to by config.status. When coming back to configure, we
13175 # need to make the FD available again.
13176 if test "$no_create" != yes; then
13178 ac_config_status_args=
13179 test "$silent" = yes &&
13180 ac_config_status_args="$ac_config_status_args --quiet"
13182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13185 # would make configure fail if this is the last instruction.
13186 $ac_cs_success || { (exit 1); exit 1; }