2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CFLAGS_FOR_BUILD CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_env_AR_set
=${AR+set}
742 ac_cv_env_AR_set
=${AR+set}
743 ac_cv_env_AR_value
=$AR
744 ac_env_AS_set
=${AS+set}
746 ac_cv_env_AS_set
=${AS+set}
747 ac_cv_env_AS_value
=$AS
748 ac_env_DLLTOOL_set
=${DLLTOOL+set}
749 ac_env_DLLTOOL_value
=$DLLTOOL
750 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_cv_env_DLLTOOL_value
=$DLLTOOL
752 ac_env_LD_set
=${LD+set}
754 ac_cv_env_LD_set
=${LD+set}
755 ac_cv_env_LD_value
=$LD
756 ac_env_LIPO_set
=${LIPO+set}
757 ac_env_LIPO_value
=$LIPO
758 ac_cv_env_LIPO_set
=${LIPO+set}
759 ac_cv_env_LIPO_value
=$LIPO
760 ac_env_NM_set
=${NM+set}
762 ac_cv_env_NM_set
=${NM+set}
763 ac_cv_env_NM_value
=$NM
764 ac_env_RANLIB_set
=${RANLIB+set}
765 ac_env_RANLIB_value
=$RANLIB
766 ac_cv_env_RANLIB_set
=${RANLIB+set}
767 ac_cv_env_RANLIB_value
=$RANLIB
768 ac_env_STRIP_set
=${STRIP+set}
769 ac_env_STRIP_value
=$STRIP
770 ac_cv_env_STRIP_set
=${STRIP+set}
771 ac_cv_env_STRIP_value
=$STRIP
772 ac_env_WINDRES_set
=${WINDRES+set}
773 ac_env_WINDRES_value
=$WINDRES
774 ac_cv_env_WINDRES_set
=${WINDRES+set}
775 ac_cv_env_WINDRES_value
=$WINDRES
776 ac_env_WINDMC_set
=${WINDMC+set}
777 ac_env_WINDMC_value
=$WINDMC
778 ac_cv_env_WINDMC_set
=${WINDMC+set}
779 ac_cv_env_WINDMC_value
=$WINDMC
780 ac_env_OBJCOPY_set
=${OBJCOPY+set}
781 ac_env_OBJCOPY_value
=$OBJCOPY
782 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
783 ac_cv_env_OBJCOPY_value
=$OBJCOPY
784 ac_env_OBJDUMP_set
=${OBJDUMP+set}
785 ac_env_OBJDUMP_value
=$OBJDUMP
786 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
787 ac_cv_env_OBJDUMP_value
=$OBJDUMP
788 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
789 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
790 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
791 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
792 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
793 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
794 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
795 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
796 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
797 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
798 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
799 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
800 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
801 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
802 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
803 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
804 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
805 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
806 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
807 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
808 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
809 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
810 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
811 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
812 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
813 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
814 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
815 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
816 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
817 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
818 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
819 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
820 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
821 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
822 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
823 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
824 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
825 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
826 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
827 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
828 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
829 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
830 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
831 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
832 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
833 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
834 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
835 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
836 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
837 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
838 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
839 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
840 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
841 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
842 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
843 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
844 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
845 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
846 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
847 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
848 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
849 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
850 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
851 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
854 # Report the --help message.
856 if test "$ac_init_help" = "long"; then
857 # Omit some internal or obsolete options to make the list less imposing.
858 # This message is too long to be a string in the A/UX 3.1 sh.
860 \`configure' configures this package to adapt to many kinds of systems.
862 Usage: $0 [OPTION]... [VAR=VALUE]...
864 To assign environment variables (e.g., CC, CFLAGS...), specify them as
865 VAR=VALUE. See below for descriptions of some of the useful variables.
867 Defaults for the options are specified in brackets.
870 -h, --help display this help and exit
871 --help=short display options specific to this package
872 --help=recursive display the short help of all the included packages
873 -V, --version display version information and exit
874 -q, --quiet, --silent do not print \`checking...' messages
875 --cache-file=FILE cache test results in FILE [disabled]
876 -C, --config-cache alias for \`--cache-file=config.cache'
877 -n, --no-create do not create output files
878 --srcdir=DIR find the sources in DIR [configure dir or \`..']
883 Installation directories:
884 --prefix=PREFIX install architecture-independent files in PREFIX
886 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
889 By default, \`make install' will install all the files in
890 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
891 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
892 for instance \`--prefix=\$HOME'.
894 For better control, use the options below.
896 Fine tuning of the installation directories:
897 --bindir=DIR user executables [EPREFIX/bin]
898 --sbindir=DIR system admin executables [EPREFIX/sbin]
899 --libexecdir=DIR program executables [EPREFIX/libexec]
900 --datadir=DIR read-only architecture-independent data [PREFIX/share]
901 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
902 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
903 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
904 --libdir=DIR object code libraries [EPREFIX/lib]
905 --includedir=DIR C header files [PREFIX/include]
906 --oldincludedir=DIR C header files for non-gcc [/usr/include]
907 --infodir=DIR info documentation [PREFIX/info]
908 --mandir=DIR man documentation [PREFIX/man]
914 --program-prefix=PREFIX prepend PREFIX to installed program names
915 --program-suffix=SUFFIX append SUFFIX to installed program names
916 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
919 --build=BUILD configure
for building on BUILD
[guessed
]
920 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
921 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
925 if test -n "$ac_init_help"; then
930 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
931 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
932 --enable-libada Builds libada directory
933 --enable-libssp Builds libssp directory
934 --enable-stage1-languages=all choose additional languages to build during
935 stage1. Mostly useful
for compiler development.
936 --enable-objc-gc enable the use of Boehm
's garbage collector with
937 the GNU Objective-C runtime.
938 --enable-bootstrap Enable bootstrapping yes if native build
939 --enable-serial-{host,target,build}-configure
940 Force sequential configuration of
941 sub-packages for the host, target or build
942 machine, or all sub-packages
943 --enable-maintainer-mode enable make rules and dependencies not useful
944 (and sometimes confusing) to the casual installer
945 --enable-stage1-checking=all choose additional checking for stage1
947 --enable-werror enable -Werror in bootstrap stage2 and later
950 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
951 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
952 --with-build-libsubdir=DIR Directory where to find libraries for build system
953 --with-mpfr-dir=PATH This option has been REMOVED
954 --with-mpfr=PATH Specify prefix directory for installed MPFR package
955 Equivalent to --with-mpfr-include=PATH/include
956 plus --with-mpfr-lib=PATH/lib
957 --with-mpfr-include=PATH
958 Specify directory for installed MPFR include files
959 --with-mpfr-lib=PATH Specify the directory for the installed MPFR library
960 --with-gmp-dir=PATH This option has been REMOVED
961 --with-gmp=PATH Specify prefix directory for the installed GMP package
962 Equivalent to --with-gmp-include=PATH/include
963 plus --with-gmp-lib=PATH/lib
964 --with-gmp-include=PATH Specify directory for installed GMP include files
965 --with-gmp-lib=PATH Specify the directory for the installed GMP library
966 --with-build-sysroot=sysroot
967 use sysroot as the system root during the build
968 --with-build-time-tools=path
969 use given path to find target tools during the build
970 --with-datarootdir Use datarootdir as the data root directory.
971 --with-docdir Install documentation in this directory.
972 --with-pdfdir Install pdf in this directory.
973 --with-htmldir Install html in this directory.
975 Some influential environment variables:
976 CC C compiler command
977 CFLAGS C compiler flags
978 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
979 nonstandard directory <lib dir>
980 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
981 headers in a nonstandard directory <include dir>
982 CXX C++ compiler command
983 CXXFLAGS C++ compiler flags
986 DLLTOOL DLLTOOL for the host
988 LIPO LIPO for the host
990 RANLIB RANLIB for the host
991 STRIP STRIP for the host
992 WINDRES WINDRES for the host
993 WINDMC WINDMC for the host
994 OBJCOPY OBJCOPY for the host
995 OBJDUMP OBJDUMP for the host
1005 GFORTRAN for the target
1011 DLLTOOL for the target
1019 OBJDUMP for the target
1021 RANLIB for the target
1023 STRIP for the target
1025 WINDRES for the target
1027 WINDMC for the target
1029 Use these variables to override the choices made by `configure' or to
help
1030 it to
find libraries and programs with nonstandard names
/locations.
1035 if test "$ac_init_help" = "recursive"; then
1036 # If there are subdirs, report their specific --help.
1038 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1039 test -d $ac_dir ||
continue
1042 if test "$ac_dir" != .
; then
1043 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1044 # A "../" for each directory in $ac_dir_suffix.
1045 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1047 ac_dir_suffix
= ac_top_builddir
=
1051 .
) # No --srcdir option. We are building in place.
1053 if test -z "$ac_top_builddir"; then
1056 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1058 [\\/]* | ?
:[\\/]* ) # Absolute path.
1059 ac_srcdir
=$srcdir$ac_dir_suffix;
1060 ac_top_srcdir
=$srcdir ;;
1062 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1063 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1066 # Do not use `cd foo && pwd` to compute absolute paths, because
1067 # the directories may not exist.
1069 .
) ac_abs_builddir
="$ac_dir";;
1072 .
) ac_abs_builddir
=`pwd`;;
1073 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1074 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1077 case $ac_abs_builddir in
1078 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1080 case ${ac_top_builddir}.
in
1081 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1082 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1083 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1086 case $ac_abs_builddir in
1087 .
) ac_abs_srcdir
=$ac_srcdir;;
1090 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1091 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1092 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1095 case $ac_abs_builddir in
1096 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1098 case $ac_top_srcdir in
1099 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1100 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1101 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1106 # Check for guested configure; otherwise get Cygnus style configure.
1107 if test -f $ac_srcdir/configure.gnu
; then
1109 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1110 elif test -f $ac_srcdir/configure
; then
1112 $SHELL $ac_srcdir/configure
--help=recursive
1113 elif test -f $ac_srcdir/configure.ac ||
1114 test -f $ac_srcdir/configure.
in; then
1116 $ac_configure --help
1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1124 test -n "$ac_init_help" && exit 0
1125 if $ac_init_version; then
1128 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1129 This configure
script is free software
; the Free Software Foundation
1130 gives unlimited permission to copy
, distribute and modify it.
1136 This file contains any messages produced by compilers while
1137 running configure, to aid debugging if configure makes a mistake.
1139 It was created by $as_me, which was
1140 generated by GNU Autoconf 2.59. Invocation command line was
1151 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1152 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1153 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1154 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1155 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1157 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1158 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1160 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1161 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1162 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1163 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1164 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1165 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1166 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1174 test -z "$as_dir" && as_dir
=.
1175 echo "PATH: $as_dir"
1190 # Keep a trace of the command line.
1191 # Strip out --no-create and --no-recursion so they do not pile up.
1192 # Strip out --silent because we don't want to record it for future runs.
1193 # Also quote any args containing shell meta-characters.
1194 # Make two passes to allow for proper duplicate-argument suppression.
1199 ac_must_keep_next
=false
1205 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1206 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1207 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1210 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1213 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1215 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1216 if test $ac_must_keep_next = true
; then
1217 ac_must_keep_next
=false
# Got value, back to normal.
1220 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1221 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1222 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1223 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1224 case "$ac_configure_args0 " in
1225 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1228 -* ) ac_must_keep_next
=true
;;
1231 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1232 # Get rid of the leading space.
1238 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1239 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1241 # When interrupted or exit'd, cleanup temporary files, and complete
1242 # config.log. We remove comments because anyway the quotes in there
1243 # would cause problems or look ugly.
1244 # WARNING: Be sure not to use single quotes in there, as some shells,
1245 # such as our DU 5.0 friend, will then `close' the trap.
1246 trap 'exit_status=$?
1247 # Save into config.log some information that might help in debugging.
1252 ## ---------------- ##
1253 ## Cache variables. ##
1254 ## ---------------- ##
1257 # The following way of writing the cache mishandles newlines in values,
1260 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1263 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1275 ## ----------------- ##
1276 ## Output variables. ##
1277 ## ----------------- ##
1280 for ac_var in $ac_subst_vars
1282 eval ac_val=$`echo $ac_var`
1283 echo "$ac_var='"'"'$ac_val'"'"'"
1287 if test -n "$ac_subst_files"; then
1294 for ac_var in $ac_subst_files
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -s confdefs.h; then
1309 sed "/^$/d" confdefs.h | sort
1312 test "$ac_signal" != 0 &&
1313 echo "$as_me: caught signal $ac_signal"
1314 echo "$as_me: exit $exit_status"
1316 rm -f core *.core &&
1317 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1320 for ac_signal
in 1 2 13 15; do
1321 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1326 rm -rf conftest
* confdefs.h
1327 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1330 # Predefined preprocessor variables.
1332 cat >>confdefs.h
<<_ACEOF
1333 #define PACKAGE_NAME "$PACKAGE_NAME"
1337 cat >>confdefs.h
<<_ACEOF
1338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1342 cat >>confdefs.h
<<_ACEOF
1343 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1347 cat >>confdefs.h
<<_ACEOF
1348 #define PACKAGE_STRING "$PACKAGE_STRING"
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1357 # Let the site file select an alternate cache file if it wants to.
1358 # Prefer explicitly selected file to automatically selected ones.
1359 if test -z "$CONFIG_SITE"; then
1360 if test "x$prefix" != xNONE
; then
1361 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1363 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1366 for ac_site_file
in $CONFIG_SITE; do
1367 if test -r "$ac_site_file"; then
1368 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1369 echo "$as_me: loading site script $ac_site_file" >&6;}
1370 sed 's/^/| /' "$ac_site_file" >&5
1375 if test -r "$cache_file"; then
1376 # Some versions of bash will fail to source /dev/null (special
1377 # files actually), so we avoid doing that.
1378 if test -f "$cache_file"; then
1379 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1380 echo "$as_me: loading cache $cache_file" >&6;}
1382 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1383 *) . .
/$cache_file;;
1387 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1388 echo "$as_me: creating cache $cache_file" >&6;}
1392 # Check that the precious variables saved in the cache have kept the same
1394 ac_cache_corrupted
=false
1395 for ac_var
in `(set) 2>&1 |
1396 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1397 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1398 eval ac_new_set
=\
$ac_env_${ac_var}_set
1399 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1400 eval ac_new_val
="\$ac_env_${ac_var}_value"
1401 case $ac_old_set,$ac_new_set in
1403 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1405 ac_cache_corrupted
=: ;;
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1409 ac_cache_corrupted
=: ;;
1412 if test "x$ac_old_val" != "x$ac_new_val"; then
1413 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1414 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1415 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1416 echo "$as_me: former value: $ac_old_val" >&2;}
1417 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1418 echo "$as_me: current value: $ac_new_val" >&2;}
1419 ac_cache_corrupted
=:
1422 # Pass precious variables to config.status.
1423 if test "$ac_new_set" = set; then
1425 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 *) ac_arg
=$ac_var=$ac_new_val ;;
1429 case " $ac_configure_args " in
1430 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1431 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1435 if $ac_cache_corrupted; then
1436 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1437 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1438 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1439 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1440 { (exit 1); exit 1; }; }
1444 ac_cpp
='$CPP $CPPFLAGS'
1445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1469 # Find the build, host, and target systems.
1471 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1472 if test -f $ac_dir/install-sh
; then
1474 ac_install_sh
="$ac_aux_dir/install-sh -c"
1476 elif test -f $ac_dir/install.sh
; then
1478 ac_install_sh
="$ac_aux_dir/install.sh -c"
1480 elif test -f $ac_dir/shtool
; then
1482 ac_install_sh
="$ac_aux_dir/shtool install -c"
1486 if test -z "$ac_aux_dir"; then
1487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1488 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1489 { (exit 1); exit 1; }; }
1491 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1492 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1493 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1495 # Make sure we can run config.sub.
1496 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1497 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1498 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1499 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: checking build system type" >&5
1502 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1503 if test "${ac_cv_build+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 ac_cv_build_alias
=$build_alias
1507 test -z "$ac_cv_build_alias" &&
1508 ac_cv_build_alias
=`$ac_config_guess`
1509 test -z "$ac_cv_build_alias" &&
1510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1512 { (exit 1); exit 1; }; }
1513 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1520 echo "${ECHO_T}$ac_cv_build" >&6
1522 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 case ${build_alias} in
1528 "") build_noncanonical
=${build} ;;
1529 *) build_noncanonical
=${build_alias} ;;
1534 case ${host_alias} in
1535 "") host_noncanonical
=${build_noncanonical} ;;
1536 *) host_noncanonical
=${host_alias} ;;
1541 case ${target_alias} in
1542 "") target_noncanonical
=${host_noncanonical} ;;
1543 *) target_noncanonical
=${target_alias} ;;
1549 test "$host_noncanonical" = "$target_noncanonical" &&
1550 test "$program_prefix$program_suffix$program_transform_name" = \
1552 program_transform_name
=s
,y
,y
,
1554 echo "$as_me:$LINENO: checking host system type" >&5
1555 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1556 if test "${ac_cv_host+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 ac_cv_host_alias
=$host_alias
1560 test -z "$ac_cv_host_alias" &&
1561 ac_cv_host_alias
=$ac_cv_build_alias
1562 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1564 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1565 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1569 echo "${ECHO_T}$ac_cv_host" >&6
1571 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1572 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1573 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1576 echo "$as_me:$LINENO: checking target system type" >&5
1577 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1578 if test "${ac_cv_target+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 ac_cv_target_alias
=$target_alias
1582 test "x$ac_cv_target_alias" = "x" &&
1583 ac_cv_target_alias
=$ac_cv_host_alias
1584 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1586 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1591 echo "${ECHO_T}$ac_cv_target" >&6
1592 target
=$ac_cv_target
1593 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 # The aliases save the names the user supplied, while $host etc.
1599 # will get canonicalized.
1600 test -n "$target_alias" &&
1601 test "$program_prefix$program_suffix$program_transform_name" = \
1603 program_prefix
=${target_alias}-
1604 test "$program_prefix" != NONE
&&
1605 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1606 # Use a double $ so make ignores it.
1607 test "$program_suffix" != NONE
&&
1608 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1609 # Double any \ or $. echo might interpret backslashes.
1610 # By default was `s,x,x', remove it if useless.
1611 cat <<\_ACEOF
>conftest.
sed
1612 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1614 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1619 # Get 'install' or 'install-sh' and its variants.
1620 # Find a good install program. We prefer a C program (faster),
1621 # so one script is as good as another. But avoid the broken or
1622 # incompatible versions:
1623 # SysV /etc/install, /usr/sbin/install
1624 # SunOS /usr/etc/install
1625 # IRIX /sbin/install
1627 # AmigaOS /C/install, which installs bootblocks on floppy discs
1628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1631 # OS/2's system install, which has a completely different semantic
1632 # ./install, which can be erroneously created by make from ./install.sh.
1633 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1634 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1635 if test -z "$INSTALL"; then
1636 if test "${ac_cv_path_install+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1643 test -z "$as_dir" && as_dir
=.
1644 # Account for people who put trailing slashes in PATH elements.
1646 .
/ | .
// |
/cC
/* | \
1647 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1648 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1651 # OSF1 and SCO ODT 3.0 have their own names for install.
1652 # Don't use installbsd from OSF since it installs stuff as root
1654 for ac_prog
in ginstall scoinst
install; do
1655 for ac_exec_ext
in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1657 if test $ac_prog = install &&
1658 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1659 # AIX install. It has an incompatible calling convention.
1661 elif test $ac_prog = install &&
1662 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1663 # program-specific install script used by HP pwplus--don't use.
1666 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1678 if test "${ac_cv_path_install+set}" = set; then
1679 INSTALL
=$ac_cv_path_install
1681 # As a last resort, use the slow shell script. We don't cache a
1682 # path for INSTALL within a source directory, because that will
1683 # break other packages using the cache if that directory is
1684 # removed, or if the path is relative.
1685 INSTALL
=$ac_install_sh
1688 echo "$as_me:$LINENO: result: $INSTALL" >&5
1689 echo "${ECHO_T}$INSTALL" >&6
1691 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1692 # It thinks the first close brace ends the variable substitution.
1693 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1695 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1697 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1699 echo "$as_me:$LINENO: checking whether ln works" >&5
1700 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1701 if test "${acx_cv_prog_LN+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 rm -f conftestdata_t
1705 echo >conftestdata_f
1706 if ln conftestdata_f conftestdata_t
2>/dev
/null
1712 rm -f conftestdata_f conftestdata_t
1715 if test $acx_cv_prog_LN = no
; then
1717 echo "$as_me:$LINENO: result: no, using $LN" >&5
1718 echo "${ECHO_T}no, using $LN" >&6
1720 LN
="$acx_cv_prog_LN"
1721 echo "$as_me:$LINENO: result: yes" >&5
1722 echo "${ECHO_T}yes" >&6
1725 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1726 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1728 if test "$LN_S" = "ln -s"; then
1729 echo "$as_me:$LINENO: result: yes" >&5
1730 echo "${ECHO_T}yes" >&6
1732 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1733 echo "${ECHO_T}no, using $LN_S" >&6
1737 ### we might need to use some other shell than /bin/sh for running subshells
1738 ### If we are on Windows, search for the shell. This will permit people
1739 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1740 ### without also having to set CONFIG_SHELL. This code will work when
1741 ### using bash, which sets OSTYPE.
1744 if test x
${CONFIG_SHELL} = x
; then
1745 if test ! -f /bin
/sh
; then
1746 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1747 CONFIG_SHELL
=${SHELL}
1750 for prog
in sh sh.exe bash bash.exe
; do
1751 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1752 for dir
in $PATH; do
1753 test -z "$dir" && dir
=.
1754 if test -f $dir/$prog; then
1755 CONFIG_SHELL
=$dir/$prog
1761 test -n "${CONFIG_SHELL}" && break
1769 config_shell
=${CONFIG_SHELL-/bin/sh}
1772 # if PWD already has a value, it is probably wrong.
1773 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1775 # Export original configure arguments for use by sub-configures.
1776 # Quote arguments with shell meta charatcers.
1777 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1778 set -- "$progname" "$@"
1782 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1783 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1784 # if the argument is of the form -foo=baz, quote the baz part only
1785 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1788 # Add the quoted argument to the list.
1789 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1791 # Remove the initial space we just introduced and, as these will be
1792 # expanded by make, quote '$'.
1793 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1796 moveifchange
=${srcdir}/move-if-change
1798 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1800 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1802 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1803 INSTALL
="${srcpwd}/install-sh -c"
1806 # Set srcdir to "." if that's what it is.
1807 # This is important for multilib support.
1809 if test "${pwd}" = "${srcpwd}" ; then
1817 ### To add a new directory to the tree, first choose whether it is a target
1818 ### or a host dependent tool. Then put it into the appropriate list
1819 ### (library or tools, host or target), doing a dependency sort.
1821 # Subdirs will be configured in the order listed in build_configdirs,
1822 # configdirs, or target_configdirs; see the serialization section below.
1824 # Dependency sorting is only needed when *configuration* must be done in
1825 # a particular order. In all cases a dependency should be specified in
1826 # the Makefile, whether or not it's implicitly specified here.
1828 # Double entries in build_configdirs, configdirs, or target_configdirs may
1829 # cause circular dependencies and break everything horribly.
1831 # these library is used by various programs built for the build
1834 build_libs
="build-libiberty"
1836 # these tools are built for the build environment
1837 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1839 # these libraries are used by various programs built for the host environment
1841 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1843 # these tools are built for the host environment
1844 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1845 # know that we are building the simulator.
1846 # binutils, gas and ld appear in that order because it makes sense to run
1847 # "make check" in that particular order.
1848 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"
1850 # libgcj represents the runtime libraries only used by gcj.
1851 libgcj
="target-libffi \
1856 # these libraries are built for the target environment, and are built after
1857 # the host libraries and the host tools (which may be a cross compiler)
1859 target_libraries
="target-libgcc \
1863 target-libstdc++-v3 \
1866 target-libgfortran \
1873 # these tools are built using the target libraries, and are intended to
1874 # run only in the target environment
1876 # note: any program that *uses* libraries that are in the "target_libraries"
1877 # list belongs in this list. those programs are also very likely
1878 # candidates for the "native_only" list which follows
1880 target_tools
="target-examples target-groff target-gperf target-rda"
1882 ################################################################################
1884 ## All tools belong in one of the four categories, and are assigned above
1885 ## We assign ${configdirs} this way to remove all embedded newlines. This
1886 ## is important because configure will choke if they ever get through.
1887 ## ${configdirs} is directories we build using the host tools.
1888 ## ${target_configdirs} is directories we build using the target tools.
1889 configdirs
=`echo ${host_libs} ${host_tools}`
1890 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1891 build_configdirs
=`echo ${build_libs} ${build_tools}`
1893 ################################################################################
1895 srcname
="gnu development package"
1897 # This gets set non-empty for some net releases of packages.
1900 # Define is_cross_compiler to save on calls to 'test'.
1902 if test x
"${host}" = x
"${target}" ; then
1903 is_cross_compiler
=no
1905 is_cross_compiler
=yes
1908 # Find the build and target subdir names.
1910 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1911 # have matching libraries, they should use host libraries: Makefile.tpl
1912 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1913 # However, they still use the build modules, because the corresponding
1914 # host modules (e.g. bison) are only built for the host when bootstrap
1916 # - build_subdir is where we find build modules, and never changes.
1917 # - build_libsubdir is where we find build libraries, and can be overridden.
1919 # Prefix 'build-' so this never conflicts with target_subdir.
1920 build_subdir
="build-${build_noncanonical}"
1922 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1923 if test "${with_build_libsubdir+set}" = set; then
1924 withval
="$with_build_libsubdir"
1925 build_libsubdir
="$withval"
1927 build_libsubdir
="$build_subdir"
1929 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1930 if ( test $srcdir = .
&& test -d gcc
) \
1931 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1932 host_subdir
="host-${host_noncanonical}"
1937 target_subdir
=${target_noncanonical}
1940 # Skipdirs are removed silently.
1942 # Noconfigdirs are removed loudly.
1946 # Make sure we don't let GNU ld be added if we didn't want it.
1947 if test x
$with_gnu_ld = xno
; then
1949 noconfigdirs
="$noconfigdirs ld"
1953 # Make sure we don't let GNU as be added if we didn't want it.
1954 if test x
$with_gnu_as = xno
; then
1956 noconfigdirs
="$noconfigdirs gas"
1959 # some tools are so dependent upon X11 that if we're not building with X,
1960 # it's not even worth trying to configure, much less build, that tool.
1963 yes |
"") ;; # the default value for this tree is that X11 is available
1965 skipdirs
="${skipdirs} tk itcl libgui"
1966 # We won't be able to build gdbtk without X.
1969 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1972 # Some tools are only suitable for building in a "native" situation.
1973 # Remove these if host!=target.
1974 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"
1976 # Similarly, some are only suitable for cross toolchains.
1977 # Remove these if host=target.
1978 cross_only
="target-libgloss target-newlib target-opcodes"
1980 case $is_cross_compiler in
1981 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1982 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1985 # If both --with-headers and --with-libs are specified, default to
1987 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1988 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1989 if test x
"${with_newlib}" = x
; then
1994 # Recognize --with-newlib/--without-newlib.
1995 case ${with_newlib} in
1996 no
) skipdirs
="${skipdirs} target-newlib" ;;
1997 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2000 # Configure extra directories which are host specific
2004 configdirs
="$configdirs libtermcap" ;;
2007 # A target can indicate whether a language isn't supported for some reason.
2008 # Only spaces may be used in this macro; not newlines or tabs.
2009 unsupported_languages
=
2011 # Remove more programs from consideration, based on the host or
2012 # target this usually means that a port of the program doesn't
2017 noconfigdirs
="$noconfigdirs byacc"
2019 i
[3456789]86-*-vsta)
2020 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2022 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2023 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2026 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2028 i
[3456789]86-*-mingw32*)
2029 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2030 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2032 i
[3456789]86-*-beos*)
2033 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2036 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2039 noconfigdirs
="$noconfigdirs rcs"
2042 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2045 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2050 # Check whether --enable-libada or --disable-libada was given.
2051 if test "${enable_libada+set}" = set; then
2052 enableval
="$enable_libada"
2053 ENABLE_LIBADA
=$enableval
2057 if test "${ENABLE_LIBADA}" != "yes" ; then
2058 noconfigdirs
="$noconfigdirs gnattools"
2061 # Check whether --enable-libssp or --disable-libssp was given.
2062 if test "${enable_libssp+set}" = set; then
2063 enableval
="$enable_libssp"
2064 ENABLE_LIBSSP
=$enableval
2069 # Save it here so that, even in case of --enable-libgcj, if the Java
2070 # front-end isn't enabled, we still get libgcj disabled.
2071 libgcj_saved
=$libgcj
2072 case $enable_libgcj in
2074 # If we reset it here, it won't get added to noconfigdirs in the
2075 # target-specific build rules, so it will be forcibly enabled
2076 # (unless the Java language itself isn't enabled).
2080 # Make sure we get it printed in the list of not supported target libs.
2081 noconfigdirs
="$noconfigdirs ${libgcj}"
2086 # Disable libmudflap on some systems.
2087 if test x
$enable_libmudflap = x
; then
2089 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2090 # Enable libmudflap by default in GNU and friends.
2093 # Enable libmudflap by default in FreeBSD.
2096 # Disable it by default everywhere else.
2097 noconfigdirs
="$noconfigdirs target-libmudflap"
2102 # Disable libgomp on non POSIX hosted systems.
2103 if test x
$enable_libgomp = x
; then
2104 # Enable libgomp by default on hosted POSIX systems.
2106 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2108 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2110 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2112 *-*-darwin* |
*-*-aix*)
2115 noconfigdirs
="$noconfigdirs target-libgomp"
2123 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2125 powerpc-
*-darwin* | i
[3456789]86-*-darwin*)
2126 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2127 noconfigdirs
="$noconfigdirs sim target-rda"
2130 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2131 noconfigdirs
="$noconfigdirs sim target-rda"
2132 noconfigdirs
="$noconfigdirs ${libgcj}"
2134 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2135 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2138 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2139 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2140 && test -f /usr
/local
/include
/gmp.h
; then
2144 # Skip some stuff that's unsupported on some FreeBSD configurations.
2149 noconfigdirs
="$noconfigdirs ${libgcj}"
2154 # Remove unsupported stuff on all kaOS configurations.
2155 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2156 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2157 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2158 noconfigdirs
="$noconfigdirs target-libgloss"
2161 # Skip some stuff on all NetBSD configurations.
2162 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2164 # Skip some stuff that's unsupported on some NetBSD configurations.
2166 i
*86-*-netbsdelf*) ;;
2167 arm
*-*-netbsdelf*) ;;
2169 noconfigdirs
="$noconfigdirs ${libgcj}"
2174 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2177 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2179 # The tpf target doesn't support gdb yet.
2181 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2184 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2187 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2190 # ld works, but does not support shared libraries.
2191 # newlib is not 64 bit ready. I'm not sure about fileutils.
2192 # gas doesn't generate exception information.
2193 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2196 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2199 # newlib is not 64 bit ready
2200 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2203 # newlib is not 64 bit ready
2204 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2207 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2210 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2212 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2213 noconfigdirs
="$noconfigdirs ${libgcj}"
2214 noconfigdirs
="$noconfigdirs target-examples"
2215 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2216 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2217 noconfigdirs
="$noconfigdirs expect dejagnu"
2218 # the C++ libraries don't build on top of CE's C libraries
2219 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2220 noconfigdirs
="$noconfigdirs target-newlib"
2222 *-*-cygwin*) ;; # keep gdb and readline
2223 *) noconfigdirs
="$noconfigdirs gdb readline"
2228 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2232 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2233 noconfigdirs
="$noconfigdirs ${libgcj}"
2235 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2236 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2238 arm
*-*-linux-gnueabi)
2239 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2240 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
2243 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2246 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2249 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2252 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2255 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2258 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2261 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2264 noconfigdirs
="$noconfigdirs gdb"
2265 if test x
${is_cross_compiler} != xno
; then
2266 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2269 c4x-
*-* | tic4x-
*-*)
2270 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2272 c54x
*-*-* | tic54x-
*-*)
2273 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2275 cris-
*-* | crisv32-
*-*)
2276 unsupported_languages
="$unsupported_languages java"
2279 unsupported_languages
="$unsupported_languages fortran"
2280 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2282 unsupported_languages
="$unsupported_languages fortran"
2283 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2285 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2287 unsupported_languages
="$unsupported_languages fortran"
2288 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2292 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2295 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2298 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2301 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2304 noconfigdirs
="$noconfigdirs ${libgcj}"
2307 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2310 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2312 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2314 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2315 # In this case, it's because the hppa64-linux target is for
2316 # the kernel only at this point and has no libc, and thus no
2317 # headers, crt*.o, etc., all of which are needed by these.
2318 noconfigdirs
="$noconfigdirs target-zlib"
2320 parisc
*-*-linux* | hppa
*-*-linux*)
2324 hppa
*-*-openbsd* | \
2326 noconfigdirs
="$noconfigdirs ${libgcj}"
2329 noconfigdirs
="$noconfigdirs ld shellutils"
2332 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2333 # build on HP-UX 10.20.
2334 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2337 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2340 # No gdb support yet.
2341 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2344 # No gdb or ld support yet.
2345 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2349 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2350 noconfigdirs
="$noconfigdirs ${libgcj}"
2352 i
[3456789]86-*-linux*)
2353 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2354 # not build java stuff by default.
2357 noconfigdirs
="$noconfigdirs ${libgcj}";;
2360 # This section makes it possible to build newlib natively on linux.
2361 # If we are using a cross compiler then don't configure newlib.
2362 if test x
${is_cross_compiler} != xno
; then
2363 noconfigdirs
="$noconfigdirs target-newlib"
2365 noconfigdirs
="$noconfigdirs target-libgloss"
2366 # If we are not using a cross compiler, do configure newlib.
2367 # Note however, that newlib will only be configured in this situation
2368 # if the --with-newlib option has been given, because otherwise
2369 # 'target-newlib' will appear in skipdirs.
2371 i
[3456789]86-*-mingw32*)
2372 target_configdirs
="$target_configdirs target-winsup"
2373 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2376 target_configdirs
="$target_configdirs target-winsup"
2377 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2380 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2381 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2382 # always build newlib if winsup directory is present.
2383 if test -d "$srcdir/winsup/cygwin"; then
2384 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2385 elif test -d "$srcdir/newlib"; then
2386 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2389 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2390 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2393 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2395 i
[3456789]86-*-sco3.2v5
*)
2396 # The linker does not yet know about weak symbols in COFF,
2397 # and is not configured to handle mixed ELF and COFF.
2398 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2400 i
[3456789]86-*-sco*)
2401 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2403 i
[3456789]86-*-solaris2*)
2404 noconfigdirs
="$noconfigdirs target-libgloss"
2406 i
[3456789]86-*-sysv4*)
2407 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2409 i
[3456789]86-*-beos*)
2410 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2412 i
[3456789]86-*-rdos*)
2413 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2416 noconfigdirs
="$noconfigdirs ${libgcj}"
2418 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2419 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2422 noconfigdirs
="$noconfigdirs ${libgcj}"
2425 noconfigdirs
="$noconfigdirs ${libgcj}"
2428 # The EPOC C++ environment does not support exceptions or rtti,
2429 # and so building libstdc++-v3 tends not to always work.
2430 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2433 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2434 unsupported_languages
="$unsupported_languages fortran java"
2437 noconfigdirs
="$noconfigdirs ${libgcj}"
2440 noconfigdirs
="$noconfigdirs ${libgcj}"
2443 noconfigdirs
="$noconfigdirs sim"
2446 # copied from rs6000-*-* entry
2447 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2449 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2450 target_configdirs
="$target_configdirs target-winsup"
2451 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2452 # always build newlib.
2453 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2455 # This is temporary until we can link against shared libraries
2456 powerpcle-
*-solaris*)
2457 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2460 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2463 noconfigdirs
="$noconfigdirs ${libgcj}"
2465 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2468 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2471 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2474 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2477 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2480 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2483 # Linking libjava exceeds command-line length limits on at least
2484 # IRIX 6.2, but not on IRIX 6.5.
2485 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2486 # <oldham@codesourcery.com>
2487 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2490 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2493 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2496 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2499 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2502 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2506 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2507 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2508 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2509 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2511 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2514 noconfigdirs
="$noconfigdirs ${libgcj}"
2517 noconfigdirs
="$noconfigdirs ${libgcj}"
2520 noconfigdirs
="$noconfigdirs ${libgcj}"
2523 noconfigdirs
="$noconfigdirs ${libgcj}"
2524 if test x
${is_cross_compiler} != xno
; then
2525 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2530 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2531 noconfigdirs
="$noconfigdirs ${libgcj}"
2533 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2536 skipdirs
="target-libssp"
2539 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2542 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2545 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2548 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2551 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2554 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2557 noconfigdirs
="$noconfigdirs ${libgcj}"
2560 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2562 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2563 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2566 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2569 noconfigdirs
="$noconfigdirs ${libgcj}"
2573 # If we aren't building newlib, then don't build libgloss, since libgloss
2574 # depends upon some newlib header files.
2575 case "${noconfigdirs}" in
2576 *target-libgloss
*) ;;
2577 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2580 # Work in distributions that contain no compiler tools, like Autoconf.
2582 host_makefile_frag
=/dev
/null
2583 if test -d ${srcdir}/config
; then
2586 # Avoid "too much defining" errors from HPUX compiler.
2587 tentative_cc
="cc -Wp,-H256000"
2588 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2589 # If it's HP/UX ar, this should be harmless.
2593 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2596 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2597 # chokes on bfd, the compiler won't let you assign integers to enums, and
2598 # other problems. Defining CC to gcc is a questionable way to say "don't use
2599 # the apollo compiler" (the preferred version of GCC could be called cc,
2600 # or whatever), but I'm not sure leaving CC as cc is any better...
2601 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2602 # Used to have BISON=yacc.
2606 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2609 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2610 tentative_cc
="cc -Xa"
2611 host_makefile_frag
="config/mh-cxux"
2613 m88k-motorola-sysv
*)
2616 tentative_cc
="cc -Wf,-XNg1000"
2617 host_makefile_frag
="config/mh-decstation"
2620 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2621 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2622 host_makefile_frag
="config/mh-necv4"
2625 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2626 # environment. Also bump switch table size so that cp-parse will
2627 # compile. Bump string length limit so linker builds.
2628 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2631 host_makefile_frag
="config/mh-sysv4"
2634 # This is for a MIPS running RISC/os 4.52C.
2636 # This is needed for GDB, but needs to be in the top-level make because
2637 # if a library is compiled with the bsd headers and gets linked with the
2638 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2639 # a different size).
2640 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2641 # known except to select the sysv environment. Could we use /proc instead?
2642 # These "sysv environments" and "bsd environments" often end up being a pain.
2644 # This is not part of CFLAGS because perhaps not all C compilers have this
2646 tentative_cc
="cc -systype sysv"
2651 i
[3456789]86-*-sysv5*)
2652 host_makefile_frag
="config/mh-sysv5"
2654 i
[3456789]86-*-dgux*)
2655 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2656 host_makefile_frag
="config/mh-dgux386"
2658 i
[3456789]86-ncr-sysv4.3
*)
2659 # The MetaWare compiler will generate a copyright message unless you
2660 # turn it off by adding the -Hnocopyr flag.
2661 tentative_cc
="cc -Hnocopyr"
2663 i
[3456789]86-ncr-sysv4*)
2664 # for an NCR 3000 (i486/SVR4) system.
2665 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2666 # This compiler not only emits obnoxious copyright messages every time
2667 # you run it, but it chokes and dies on a whole bunch of GNU source
2668 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2669 tentative_cc
="/usr/ccs/ATT/cc"
2670 host_makefile_frag
="config/mh-ncr3000"
2672 i
[3456789]86-*-sco3.2v5
*)
2674 i
[3456789]86-*-sco*)
2675 # The native C compiler botches some simple uses of const. Unfortunately,
2676 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2677 tentative_cc
="cc -Dconst="
2678 host_makefile_frag
="config/mh-sco"
2680 i
[3456789]86-*-udk*)
2681 host_makefile_frag
="config/mh-sysv5"
2683 i
[3456789]86-*-solaris2*)
2684 host_makefile_frag
="config/mh-sysv4"
2686 i
[3456789]86-*-msdosdjgpp*)
2687 host_makefile_frag
="config/mh-djgpp"
2690 host_makefile_frag
="config/mh-cygwin"
2697 host_makefile_frag
="config/mh-interix"
2700 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2704 host_makefile_frag
="config/mh-solaris"
2707 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2708 # without overflowing the jump tables (-J says to use a 32 bit table)
2709 tentative_cc
="cc -J"
2712 tentative_cc
="cc -Wp,-H256000"
2715 tentative_cc
="cc -Wp,-H256000"
2718 # /bin/cc is less than useful for our purposes. Always use GCC
2719 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2720 host_makefile_frag
="config/mh-lynxrs6k"
2723 host_makefile_frag
="config/mh-ppc-darwin"
2726 host_makefile_frag
="config/mh-ppc-aix"
2729 host_makefile_frag
="config/mh-ppc-aix"
2732 # /bin/cc is less than useful for our purposes. Always use GCC
2733 tentative_cc
="/bin/gcc"
2736 host_makefile_frag
="config/mh-sysv4"
2738 # This is placed last to prevent interfering with the cases above.
2740 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2741 host_makefile_frag
="config/mh-x86omitfp"
2746 # If we aren't going to be using gcc, see if we can extract a definition
2747 # of CC from the fragment.
2748 # Actually, use the 'pre-extracted' version above.
2749 if test -z "${CC}" && test "${build}" = "${host}" ; then
2750 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2752 for dir
in $PATH; do
2753 test -z "$dir" && dir
=.
2754 if test -f $dir/gcc
; then
2760 if test -z "${found}" && test -n "${tentative_cc}" ; then
2765 if test "${build}" != "${host}" ; then
2766 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2768 CC_FOR_BUILD
="\$(CC)"
2772 ac_cpp
='$CPP $CPPFLAGS'
2773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2778 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2779 echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2781 if test "${ac_cv_prog_CC+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC
="$CC" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test -n "$CC"; then
2805 echo "$as_me:$LINENO: result: $CC" >&5
2806 echo "${ECHO_T}$CC" >&6
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2813 if test -z "$ac_cv_prog_CC"; then
2815 # Extract the first word of "gcc", so it can be a program name with args.
2816 set dummy gcc
; ac_word
=$2
2817 echo "$as_me:$LINENO: checking for $ac_word" >&5
2818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 if test -n "$ac_ct_CC"; then
2823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 for ac_exec_ext
in '' $ac_executable_extensions; do
2831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2832 ac_cv_prog_ac_ct_CC
="gcc"
2833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2842 if test -n "$ac_ct_CC"; then
2843 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2844 echo "${ECHO_T}$ac_ct_CC" >&6
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2859 echo "$as_me:$LINENO: checking for $ac_word" >&5
2860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2861 if test "${ac_cv_prog_CC+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC
="$CC" # Let the user override the test.
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_exec_ext
in '' $ac_executable_extensions; do
2873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test -n "$CC"; then
2885 echo "$as_me:$LINENO: result: $CC" >&5
2886 echo "${ECHO_T}$CC" >&6
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2893 if test -z "$ac_cv_prog_CC"; then
2895 # Extract the first word of "cc", so it can be a program name with args.
2896 set dummy cc
; ac_word
=$2
2897 echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -n "$ac_ct_CC"; then
2903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_ac_ct_CC
="cc"
2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2922 if test -n "$ac_ct_CC"; then
2923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2924 echo "${ECHO_T}$ac_ct_CC" >&6
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2936 if test -z "$CC"; then
2937 # Extract the first word of "cc", so it can be a program name with args.
2938 set dummy cc
; ac_word
=$2
2939 echo "$as_me:$LINENO: checking for $ac_word" >&5
2940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2941 if test "${ac_cv_prog_CC+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC
="$CC" # Let the user override the test.
2948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir
=.
2953 for ac_exec_ext
in '' $ac_executable_extensions; do
2954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2956 ac_prog_rejected
=yes
2960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 if test $ac_prog_rejected = yes; then
2967 # We found a bogon in the path, so make sure we never use it.
2968 set dummy
$ac_cv_prog_CC
2970 if test $# != 0; then
2971 # We chose a different compiler from the bogus one.
2972 # However, it has the same basename, so the bogon will be chosen
2973 # first if we set CC to just the basename; use the full file name.
2975 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2981 if test -n "$CC"; then
2982 echo "$as_me:$LINENO: result: $CC" >&5
2983 echo "${ECHO_T}$CC" >&6
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2990 if test -z "$CC"; then
2991 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2996 echo "$as_me:$LINENO: checking for $ac_word" >&5
2997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2998 if test "${ac_cv_prog_CC+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC
="$CC" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 if test -n "$CC"; then
3022 echo "$as_me:$LINENO: result: $CC" >&5
3023 echo "${ECHO_T}$CC" >&6
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3029 test -n "$CC" && break
3032 if test -z "$CC"; then
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy
$ac_prog; ac_word
=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 if test -n "$ac_ct_CC"; then
3044 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_CC
="$ac_prog"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3065 echo "${ECHO_T}$ac_ct_CC" >&6
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3071 test -n "$ac_ct_CC" && break
3080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3081 See \`config.log' for more details." >&5
3082 echo "$as_me: error: no acceptable C compiler found in \$PATH
3083 See \`config.log' for more details." >&2;}
3084 { (exit 1); exit 1; }; }
3086 # Provide some information about the compiler.
3087 echo "$as_me:$LINENO:" \
3088 "checking for C compiler version" >&5
3089 ac_compiler
=`set X $ac_compile; echo $2`
3090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3091 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3096 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3101 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 cat >conftest.
$ac_ext <<_ACEOF
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3121 ac_clean_files_save
=$ac_clean_files
3122 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3123 # Try to create an executable without -o first, disregard a.out.
3124 # It will help us diagnose broken compilers, and finding out an intuition
3126 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3127 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3128 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3130 (eval $ac_link_default) 2>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; then
3134 # Find the output, starting from the most likely. This scheme is
3135 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3138 # Be careful to initialize this variable, since it used to be cached.
3139 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3141 # b.out is created by i960 compilers.
3142 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3144 test -f "$ac_file" ||
continue
3146 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3149 # This is the source file.
3152 # We found the default executable, but exeext='' is most
3156 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3157 # FIXME: I believe we export ac_cv_exeext for Libtool,
3158 # but it would be cool to find out if it's true. Does anybody
3159 # maintain Libtool? --akim.
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.
$ac_ext >&5
3170 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3171 See \`config.log' for more details." >&5
3172 echo "$as_me: error: C compiler cannot create executables
3173 See \`config.log' for more details." >&2;}
3174 { (exit 77); exit 77; }; }
3177 ac_exeext
=$ac_cv_exeext
3178 echo "$as_me:$LINENO: result: $ac_file" >&5
3179 echo "${ECHO_T}$ac_file" >&6
3181 # Check the compiler produces executables we can run. If not, either
3182 # the compiler is broken, or we cross compile.
3183 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3184 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3185 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3186 # If not cross compiling, check that we can run a simple program.
3187 if test "$cross_compiling" != yes; then
3188 if { ac_try
='./$ac_file'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3196 if test "$cross_compiling" = maybe
; then
3199 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3200 If you meant to cross compile, use \`--host'.
3201 See \`config.log' for more details." >&5
3202 echo "$as_me: error: cannot run C compiled programs.
3203 If you meant to cross compile, use \`--host'.
3204 See \`config.log' for more details." >&2;}
3205 { (exit 1); exit 1; }; }
3209 echo "$as_me:$LINENO: result: yes" >&5
3210 echo "${ECHO_T}yes" >&6
3212 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3213 ac_clean_files
=$ac_clean_files_save
3214 # Check the compiler produces executables we can run. If not, either
3215 # the compiler is broken, or we cross compile.
3216 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3218 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3219 echo "${ECHO_T}$cross_compiling" >&6
3221 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3224 (eval $ac_link) 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; then
3228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3230 # work properly (i.e., refer to `conftest.exe'), while it won't with
3232 for ac_file
in conftest.exe conftest conftest.
*; do
3233 test -f "$ac_file" ||
continue
3235 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3236 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3243 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3244 See \`config.log' for more details." >&5
3245 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3246 See \`config.log' for more details." >&2;}
3247 { (exit 1); exit 1; }; }
3250 rm -f conftest
$ac_cv_exeext
3251 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3252 echo "${ECHO_T}$ac_cv_exeext" >&6
3254 rm -f conftest.
$ac_ext
3255 EXEEXT
=$ac_cv_exeext
3257 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3258 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3259 if test "${ac_cv_objext+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 cat >conftest.
$ac_ext <<_ACEOF
3265 cat confdefs.h
>>conftest.
$ac_ext
3266 cat >>conftest.
$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3277 rm -f conftest.o conftest.obj
3278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 (eval $ac_compile) 2>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; then
3283 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3285 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3286 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.
$ac_ext >&5
3294 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3295 See \`config.log' for more details." >&5
3296 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3297 See \`config.log' for more details." >&2;}
3298 { (exit 1); exit 1; }; }
3301 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3303 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3304 echo "${ECHO_T}$ac_cv_objext" >&6
3305 OBJEXT
=$ac_cv_objext
3307 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 cat >conftest.
$ac_ext <<_ACEOF
3315 cat confdefs.h
>>conftest.
$ac_ext
3316 cat >>conftest.
$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag"
3340 || test ! -s conftest.err'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; } &&
3346 { ac_try
='test -s conftest.$ac_objext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.
$ac_ext >&5
3359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3365 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3366 ac_test_CFLAGS
=${CFLAGS+set}
3367 ac_save_CFLAGS
=$CFLAGS
3369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3371 if test "${ac_cv_prog_cc_g+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3389 rm -f conftest.
$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3393 grep -v '^ *+' conftest.er1
>conftest.err
3395 cat conftest.err
>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try
='test -z "$ac_c_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try
='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.
$ac_ext >&5
3418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3420 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3421 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3422 if test "$ac_test_CFLAGS" = set; then
3423 CFLAGS
=$ac_save_CFLAGS
3424 elif test $ac_cv_prog_cc_g = yes; then
3425 if test "$GCC" = yes; then
3431 if test "$GCC" = yes; then
3437 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3438 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3439 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 ac_cv_prog_cc_stdc
=no
3444 cat >conftest.
$ac_ext <<_ACEOF
3447 cat confdefs.h
>>conftest.
$ac_ext
3448 cat >>conftest.
$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3452 #include <sys/types.h>
3453 #include <sys/stat.h>
3454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3455 struct buf { int x; };
3456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3457 static char *e (p, i)
3463 static char *f (char * (*g) (char **, int), char **p, ...)
3468 s = g (p, va_arg (v,int));
3473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3474 function prototypes and stuff, but not '\xHH' hex character constants.
3475 These don't provoke an error unfortunately, instead are silently treated
3476 as 'x'. The following induces an error, until -std1 is added to get
3477 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3478 array size at least. It's necessary to write '\x00'==0 to get something
3479 that's true only with -std1. */
3480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3482 int test (int i, double x);
3483 struct s1 {int (*f) (int a);};
3484 struct s2 {int (*f) (double a);};
3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3496 # Don't try gcc -ansi; that turns off useful extensions and
3497 # breaks some systems' header files.
3498 # AIX -qlanglvl=ansi
3499 # Ultrix and OSF/1 -std1
3500 # HP-UX 10.20 and later -Ae
3501 # HP-UX older versions -Aa -D_HPUX_SOURCE
3502 # SVR4 -Xc -D__EXTENSIONS__
3503 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3505 CC
="$ac_save_CC $ac_arg"
3506 rm -f conftest.
$ac_objext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3508 (eval $ac_compile) 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try
='test -z "$ac_c_werror_flag"
3516 || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try
='test -s conftest.$ac_objext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_prog_cc_stdc
=$ac_arg
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3535 rm -f conftest.err conftest.
$ac_objext
3537 rm -f conftest.
$ac_ext conftest.
$ac_objext
3542 case "x$ac_cv_prog_cc_stdc" in
3544 echo "$as_me:$LINENO: result: none needed" >&5
3545 echo "${ECHO_T}none needed" >&6 ;;
3547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3549 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3552 # Some people use a C++ compiler to compile C. Since we use `exit',
3553 # in C++ we need to declare it. In case someone uses the same compiler
3554 # for both compiling C and C++ we need to have the C++ compiler decide
3555 # the declaration of exit, since it's the most demanding environment.
3556 cat >conftest.
$ac_ext <<_ACEOF
3561 rm -f conftest.
$ac_objext
3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>conftest.er1
3565 grep -v '^ *+' conftest.er1
>conftest.err
3567 cat conftest.err
>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } &&
3570 { ac_try
='test -z "$ac_c_werror_flag"
3571 || test ! -s conftest.err'
3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }; } &&
3577 { ac_try
='test -s conftest.$ac_objext'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; }; then
3583 for ac_declaration
in \
3585 'extern "C" void std::exit (int) throw (); using std::exit;' \
3586 'extern "C" void std::exit (int); using std::exit;' \
3587 'extern "C" void exit (int) throw ();' \
3588 'extern "C" void exit (int);' \
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3607 rm -f conftest.
$ac_objext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3609 (eval $ac_compile) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag"
3617 || test ! -s conftest.err'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; } &&
3623 { ac_try
='test -s conftest.$ac_objext'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; }; then
3631 echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.
$ac_ext >&5
3636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 cat >conftest.
$ac_ext <<_ACEOF
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try
='test -s conftest.$ac_objext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3683 if test -n "$ac_declaration"; then
3684 echo '#ifdef __cplusplus' >>confdefs.h
3685 echo $ac_declaration >>confdefs.h
3686 echo '#endif' >>confdefs.h
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.
$ac_ext >&5
3694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3696 ac_cpp
='$CPP $CPPFLAGS'
3697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3702 ac_cpp
='$CXXCPP $CPPFLAGS'
3703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3706 if test -n "$ac_tool_prefix"; then
3707 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3711 echo "$as_me:$LINENO: checking for $ac_word" >&5
3712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3713 if test "${ac_cv_prog_CXX+set}" = set; then
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 if test -n "$CXX"; then
3717 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test -n "$CXX"; then
3737 echo "$as_me:$LINENO: result: $CXX" >&5
3738 echo "${ECHO_T}$CXX" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3744 test -n "$CXX" && break
3747 if test -z "$CXX"; then
3749 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3751 # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy
$ac_prog; ac_word
=$2
3753 echo "$as_me:$LINENO: checking for $ac_word" >&5
3754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3755 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 if test -n "$ac_ct_CXX"; then
3759 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_exec_ext
in '' $ac_executable_extensions; do
3767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3778 if test -n "$ac_ct_CXX"; then
3779 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3780 echo "${ECHO_T}$ac_ct_CXX" >&6
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3786 test -n "$ac_ct_CXX" && break
3788 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3794 # Provide some information about the compiler.
3795 echo "$as_me:$LINENO:" \
3796 "checking for C++ compiler version" >&5
3797 ac_compiler
=`set X $ac_compile; echo $2`
3798 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3799 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }
3803 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3804 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }
3808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3809 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }
3814 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3815 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3816 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 cat >conftest.
$ac_ext <<_ACEOF
3822 cat confdefs.h
>>conftest.
$ac_ext
3823 cat >>conftest.
$ac_ext <<_ACEOF
3824 /* end confdefs.h. */
3837 rm -f conftest.
$ac_objext
3838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3839 (eval $ac_compile) 2>conftest.er1
3841 grep -v '^ *+' conftest.er1
>conftest.err
3843 cat conftest.err
>&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); } &&
3846 { ac_try
='test -z "$ac_cxx_werror_flag"
3847 || test ! -s conftest.err'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; } &&
3853 { ac_try
='test -s conftest.$ac_objext'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; }; then
3861 echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.
$ac_ext >&5
3866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3867 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3870 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3871 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3872 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3873 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3874 ac_save_CXXFLAGS
=$CXXFLAGS
3876 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3877 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3878 if test "${ac_cv_prog_cxx_g+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3896 rm -f conftest.
$ac_objext
3897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3898 (eval $ac_compile) 2>conftest.er1
3900 grep -v '^ *+' conftest.er1
>conftest.err
3902 cat conftest.err
>&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } &&
3905 { ac_try
='test -z "$ac_cxx_werror_flag"
3906 || test ! -s conftest.err'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; } &&
3912 { ac_try
='test -s conftest.$ac_objext'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; }; then
3918 ac_cv_prog_cxx_g
=yes
3920 echo "$as_me: failed program was:" >&5
3921 sed 's/^/| /' conftest.
$ac_ext >&5
3925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3927 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3928 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3929 if test "$ac_test_CXXFLAGS" = set; then
3930 CXXFLAGS
=$ac_save_CXXFLAGS
3931 elif test $ac_cv_prog_cxx_g = yes; then
3932 if test "$GXX" = yes; then
3938 if test "$GXX" = yes; then
3944 for ac_declaration
in \
3946 'extern "C" void std::exit (int) throw (); using std::exit;' \
3947 'extern "C" void std::exit (int); using std::exit;' \
3948 'extern "C" void exit (int) throw ();' \
3949 'extern "C" void exit (int);' \
3952 cat >conftest.
$ac_ext <<_ACEOF
3955 cat confdefs.h
>>conftest.
$ac_ext
3956 cat >>conftest.
$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3968 rm -f conftest.
$ac_objext
3969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3970 (eval $ac_compile) 2>conftest.er1
3972 grep -v '^ *+' conftest.er1
>conftest.err
3974 cat conftest.err
>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } &&
3977 { ac_try
='test -z "$ac_cxx_werror_flag"
3978 || test ! -s conftest.err'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; } &&
3984 { ac_try
='test -s conftest.$ac_objext'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.
$ac_ext >&5
3997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3998 cat >conftest.
$ac_ext <<_ACEOF
4001 cat confdefs.h
>>conftest.
$ac_ext
4002 cat >>conftest.
$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4013 rm -f conftest.
$ac_objext
4014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4015 (eval $ac_compile) 2>conftest.er1
4017 grep -v '^ *+' conftest.er1
>conftest.err
4019 cat conftest.err
>&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } &&
4022 { ac_try
='test -z "$ac_cxx_werror_flag"
4023 || test ! -s conftest.err'
4024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); }; } &&
4029 { ac_try
='test -s conftest.$ac_objext'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; }; then
4037 echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.
$ac_ext >&5
4041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4044 if test -n "$ac_declaration"; then
4045 echo '#ifdef __cplusplus' >>confdefs.h
4046 echo $ac_declaration >>confdefs.h
4047 echo '#endif' >>confdefs.h
4051 ac_cpp
='$CPP $CPPFLAGS'
4052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4057 # We must set the default linker to the linker used by gcc for the correct
4058 # operation of libtool. If LD is not defined and we are using gcc, try to
4059 # set the LD default to the ld used by gcc.
4060 if test -z "$LD"; then
4061 if test "$GCC" = yes; then
4064 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4066 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4068 case $gcc_prog_ld in
4069 # Accept absolute paths.
4070 [\\/]* |
[A-Za-z
]:[\\/]*)
4071 LD
="$gcc_prog_ld" ;;
4079 if test -n "$ac_tool_prefix"; then
4080 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4081 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4082 echo "$as_me:$LINENO: checking for $ac_word" >&5
4083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4084 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 if test -n "$GNATBIND"; then
4088 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 GNATBIND
=$ac_cv_prog_GNATBIND
4107 if test -n "$GNATBIND"; then
4108 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4109 echo "${ECHO_T}$GNATBIND" >&6
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4116 if test -z "$ac_cv_prog_GNATBIND"; then
4117 ac_ct_GNATBIND
=$GNATBIND
4118 # Extract the first word of "gnatbind", so it can be a program name with args.
4119 set dummy gnatbind
; ac_word
=$2
4120 echo "$as_me:$LINENO: checking for $ac_word" >&5
4121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4122 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if test -n "$ac_ct_GNATBIND"; then
4126 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4145 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4146 if test -n "$ac_ct_GNATBIND"; then
4147 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4148 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4154 GNATBIND
=$ac_ct_GNATBIND
4156 GNATBIND
="$ac_cv_prog_GNATBIND"
4159 if test -n "$ac_tool_prefix"; then
4160 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4161 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4162 echo "$as_me:$LINENO: checking for $ac_word" >&5
4163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4164 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 if test -n "$GNATMAKE"; then
4168 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_exec_ext
in '' $ac_executable_extensions; do
4176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 GNATMAKE
=$ac_cv_prog_GNATMAKE
4187 if test -n "$GNATMAKE"; then
4188 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4189 echo "${ECHO_T}$GNATMAKE" >&6
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4196 if test -z "$ac_cv_prog_GNATMAKE"; then
4197 ac_ct_GNATMAKE
=$GNATMAKE
4198 # Extract the first word of "gnatmake", so it can be a program name with args.
4199 set dummy gnatmake
; ac_word
=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 if test -n "$ac_ct_GNATMAKE"; then
4206 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4225 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4226 if test -n "$ac_ct_GNATMAKE"; then
4227 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4228 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4230 echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4234 GNATMAKE
=$ac_ct_GNATMAKE
4236 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4239 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4240 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4241 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.adb
<<EOF
4245 procedure conftest is begin null; end conftest;
4247 acx_cv_cc_gcc_supports_ada
=no
4248 # There is a bug in old released versions of GCC which causes the
4249 # driver to exit successfully when the appropriate language module
4250 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4251 # Therefore we must check for the error message as well as an
4252 # unsuccessful exit.
4253 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4254 # given a .adb file, but produce no object file. So we must check
4255 # if an object file was really produced to guard against this.
4256 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4257 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4258 acx_cv_cc_gcc_supports_ada
=yes
4262 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4263 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4265 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4271 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4272 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4273 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4279 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4280 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4283 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4286 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4287 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4290 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4296 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4297 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4298 do_compare
="$gcc_cv_prog_cmp_skip"
4302 # Check for GMP and MPFR
4303 gmplibs
="-lmpfr -lgmp"
4307 # Specify a location for mpfr
4308 # check for this first so it ends up on the link line before gmp.
4310 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4311 if test "${with_mpfr_dir+set}" = set; then
4312 withval
="$with_mpfr_dir"
4313 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4314 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4315 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4316 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4317 { (exit 1); exit 1; }; }
4321 # Check whether --with-mpfr or --without-mpfr was given.
4322 if test "${with_mpfr+set}" = set; then
4323 withval
="$with_mpfr"
4327 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4328 if test "${with_mpfr_include+set}" = set; then
4329 withval
="$with_mpfr_include"
4333 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4334 if test "${with_mpfr_lib+set}" = set; then
4335 withval
="$with_mpfr_lib"
4339 if test "x$with_mpfr" != x
; then
4340 gmplibs
="-L$with_mpfr/lib $gmplibs"
4341 gmpinc
="-I$with_mpfr/include"
4343 if test "x$with_mpfr_include" != x
; then
4344 gmpinc
="-I$with_mpfr_include"
4346 if test "x$with_mpfr_lib" != x
; then
4347 gmplibs
="-L$with_mpfr_lib $gmplibs"
4349 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4350 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4351 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4352 # Do not test the mpfr version. Assume that it is sufficient, since
4353 # it is in the source tree, and the library has not been built yet
4354 # but it would be included on the link line in the version check below
4355 # hence making the test fail.
4359 # Specify a location for gmp
4361 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4362 if test "${with_gmp_dir+set}" = set; then
4363 withval
="$with_gmp_dir"
4364 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4365 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4366 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4367 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4368 { (exit 1); exit 1; }; }
4372 # Check whether --with-gmp or --without-gmp was given.
4373 if test "${with_gmp+set}" = set; then
4378 # Check whether --with-gmp_include or --without-gmp_include was given.
4379 if test "${with_gmp_include+set}" = set; then
4380 withval
="$with_gmp_include"
4384 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4385 if test "${with_gmp_lib+set}" = set; then
4386 withval
="$with_gmp_lib"
4391 if test "x$with_gmp" != x
; then
4392 gmplibs
="-L$with_gmp/lib $gmplibs"
4393 gmpinc
="-I$with_gmp/include $gmpinc"
4395 if test "x$with_gmp_include" != x
; then
4396 gmpinc
="-I$with_gmp_include $gmpinc"
4398 if test "x$with_gmp_lib" != x
; then
4399 gmplibs
="-L$with_gmp_lib $gmplibs"
4401 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4402 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4403 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4404 # Do not test the gmp version. Assume that it is sufficient, since
4405 # it is in the source tree, and the library has not been built yet
4406 # but it would be included on the link line in the version check below
4407 # hence making the test fail.
4411 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4413 saved_CFLAGS
="$CFLAGS"
4414 CFLAGS
="$CFLAGS $gmpinc"
4415 # Check GMP actually works
4416 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4417 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4419 cat >conftest.
$ac_ext <<_ACEOF
4422 cat confdefs.h
>>conftest.
$ac_ext
4423 cat >>conftest.
$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4430 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4438 rm -f conftest.
$ac_objext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4440 (eval $ac_compile) 2>conftest.er1
4442 grep -v '^ *+' conftest.er1
>conftest.err
4444 cat conftest.err
>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } &&
4447 { ac_try
='test -z "$ac_c_werror_flag"
4448 || test ! -s conftest.err'
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; } &&
4454 { ac_try
='test -s conftest.$ac_objext'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; }; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6; have_gmp
=no
4469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4471 if test x
"$have_gmp" = xyes
; then
4473 LIBS
="$LIBS $gmplibs"
4474 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4475 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4476 cat >conftest.
$ac_ext <<_ACEOF
4479 cat confdefs.h
>>conftest.
$ac_ext
4480 cat >>conftest.
$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4488 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
4496 mpfr_atan2 (n, n, x, GMP_RNDN);
4497 mpfr_erfc (n, x, GMP_RNDN);
4498 mpfr_subnormalize (x, t, GMP_RNDN);
4504 rm -f conftest.
$ac_objext conftest
$ac_exeext
4505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4506 (eval $ac_link) 2>conftest.er1
4508 grep -v '^ *+' conftest.er1
>conftest.err
4510 cat conftest.err
>&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } &&
4513 { ac_try
='test -z "$ac_c_werror_flag"
4514 || test ! -s conftest.err'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; } &&
4520 { ac_try
='test -s conftest$ac_exeext'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; }; then
4526 cat >conftest.
$ac_ext <<_ACEOF
4529 cat confdefs.h
>>conftest.
$ac_ext
4530 cat >>conftest.
$ac_ext <<_ACEOF
4531 /* end confdefs.h. */
4538 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4541 mpfr_t n; mpfr_init(n);
4547 rm -f conftest.
$ac_objext conftest
$ac_exeext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4549 (eval $ac_link) 2>conftest.er1
4551 grep -v '^ *+' conftest.er1
>conftest.err
4553 cat conftest.err
>&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } &&
4556 { ac_try
='test -z "$ac_c_werror_flag"
4557 || test ! -s conftest.err'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; } &&
4563 { ac_try
='test -s conftest$ac_exeext'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; }; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.
$ac_ext >&5
4575 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4576 echo "${ECHO_T}buggy but acceptable" >&6
4578 rm -f conftest.err conftest.
$ac_objext \
4579 conftest
$ac_exeext conftest.
$ac_ext
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6; have_gmp
=no
4587 rm -f conftest.err conftest.
$ac_objext \
4588 conftest
$ac_exeext conftest.
$ac_ext
4591 CFLAGS
="$saved_CFLAGS"
4593 if test x
$have_gmp != xyes
; then
4594 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4595 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4596 Copies of these libraries' source code can be found at their respective
4597 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4598 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4599 If you obtained GMP and/or MPFR from a vendor distribution package, make
4600 sure that you have installed both the libraries and the header files.
4601 They may be located in separate packages." >&5
4602 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4603 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4604 Copies of these libraries' source code can be found at their respective
4605 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4606 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4607 If you obtained GMP and/or MPFR from a vendor distribution package, make
4608 sure that you have installed both the libraries and the header files.
4609 They may be located in separate packages." >&2;}
4610 { (exit 1); exit 1; }; }
4614 # Flags needed for both GMP and/or MPFR
4618 # By default, C is the only stage 1 language.
4619 stage1_languages
=,c
,
4621 # Figure out what language subdirectories are present.
4622 # Look if the user specified --enable-languages="..."; if not, use
4623 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4625 # NB: embedded tabs in this IF block -- do not untabify
4626 if test -d ${srcdir}/gcc
; then
4627 if test x
"${enable_languages+set}" != xset
; then
4628 if test x
"${LANGUAGES+set}" = xset
; then
4629 enable_languages
="${LANGUAGES}"
4630 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4632 enable_languages
=all
4635 if test x
"${enable_languages}" = x ||
4636 test x
"${enable_languages}" = xyes
;
4638 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4642 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4644 # 'f95' is the old name for the 'fortran' language. We issue a warning
4645 # and make the substitution.
4646 case ,${enable_languages}, in
4648 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4649 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4653 # First scan to see if an enabled language requires some other language.
4654 # We assume that a given config-lang.in will list all the language
4655 # front ends it requires, even if some are required indirectly.
4656 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4657 case ${lang_frag} in
4659 # The odd quoting in the next line works around
4660 # an apparent bug in bash 1.12 on linux.
4661 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4663 # From the config-lang.in, get $language, $lang_requires
4667 for other
in ${lang_requires} ; do
4668 case ,${enable_languages}, in
4672 echo " \`$other' language required by \`$language'; enabling" 1>&2
4673 enable_languages
="${enable_languages},${other}"
4681 new_enable_languages
=,c
,
4682 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4683 potential_languages
=,c
,
4685 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4686 case ${lang_frag} in
4688 # The odd quoting in the next line works around
4689 # an apparent bug in bash 1.12 on linux.
4690 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4692 # From the config-lang.in, get $language, $target_libs,
4693 # $lang_dirs, $boot_language, and $build_by_default
4699 build_by_default
=yes
4701 if test x
${language} = x
; then
4702 echo "${lang_frag} doesn't set \$language." 1>&2
4706 case ,${enable_languages}, in
4708 # Language was explicitly selected; include it.
4712 # 'all' was selected, select it if it is a default language
4713 add_this_lang
=${build_by_default}
4720 # Disable languages that need other directories if these aren't available.
4721 for i
in $subdir_requires; do
4722 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4723 case ,${enable_languages}, in
4725 # Specifically requested language; tell them.
4726 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4727 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4728 { (exit 1); exit 1; }; }
4732 add_this_lang
=unsupported
4737 # Disable Ada if no preexisting GNAT is available.
4738 case ,${enable_languages},:${language}:${have_gnat} in
4739 *,${language},*:ada
:no
)
4740 # Specifically requested language; tell them.
4741 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4742 echo "$as_me: error: GNAT is required to build $language" >&2;}
4743 { (exit 1); exit 1; }; }
4747 add_this_lang
=unsupported
4751 # Disable a language that is unsupported by the target.
4752 case " $unsupported_languages " in
4754 add_this_lang
=unsupported
4758 case $add_this_lang in
4760 # Remove language-dependent dirs.
4761 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4764 # Remove language-dependent dirs; still show language as supported.
4765 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4766 potential_languages
="${potential_languages}${language},"
4769 new_enable_languages
="${new_enable_languages}${language},"
4770 potential_languages
="${potential_languages}${language},"
4771 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4772 case ${boot_language} in
4774 # Add to (comma-separated) list of stage 1 languages.
4775 stage1_languages
="${stage1_languages}${language},"
4784 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4785 if test "${enable_stage1_languages+set}" = set; then
4786 enableval
="$enable_stage1_languages"
4787 case ,${enable_stage1_languages}, in
4789 # Set it to something that will have no effect in the loop below
4790 enable_stage1_languages
=c
;;
4792 enable_stage1_languages
=`echo $new_enable_languages | \
4793 sed -e "s/^,//" -e "s/,$//" ` ;;
4795 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4796 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4799 # Add "good" languages from enable_stage1_languages to stage1_languages,
4800 # while "bad" languages go in missing_languages. Leave no duplicates.
4801 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4802 case $potential_languages in
4804 case $stage1_languages in
4806 *) stage1_languages
="$stage1_languages$i," ;;
4809 case $missing_languages in
4811 *) missing_languages
="$missing_languages$i," ;;
4817 # Remove leading/trailing commas that were added for simplicity
4818 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4819 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4820 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4821 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4823 if test "x$missing_languages" != x
; then
4824 { { echo "$as_me:$LINENO: error:
4825 The following requested languages could not be built: ${missing_languages}
4826 Supported languages are: ${potential_languages}" >&5
4827 echo "$as_me: error:
4828 The following requested languages could not be built: ${missing_languages}
4829 Supported languages are: ${potential_languages}" >&2;}
4830 { (exit 1); exit 1; }; }
4832 if test "x$new_enable_languages" != "x$enable_languages"; then
4833 echo The following languages will be built
: ${new_enable_languages}
4834 enable_languages
="$new_enable_languages"
4838 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4841 # Handle --disable-<component> generically.
4842 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4843 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4844 if eval test x\
${enable_${dirname}} "=" xno
; then
4845 noconfigdirs
="$noconfigdirs $dir"
4849 # Check for Boehm's garbage collector
4850 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4851 if test "${enable_objc_gc+set}" = set; then
4852 enableval
="$enable_objc_gc"
4853 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4854 *,objc
,*:*:yes:*target-boehm-gc
*)
4855 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4856 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4857 { (exit 1); exit 1; }; }
4862 # Make sure we only build Boehm's garbage collector if required.
4863 case ,${enable_languages},:${enable_objc_gc} in
4865 # Keep target-boehm-gc if requested for Objective-C.
4868 # Otherwise remove target-boehm-gc depending on target-libjava.
4869 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4870 noconfigdirs
="$noconfigdirs target-boehm-gc"
4875 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4876 # $build_configdirs and $target_configdirs.
4877 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4880 for dir
in .
$skipdirs $noconfigdirs ; do
4881 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4882 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4883 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4884 if test -r $srcdir/$dirname/configure
; then
4885 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4888 notsupp
="$notsupp $dir"
4892 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4893 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4894 if test -r $srcdir/$dirname/configure
; then
4895 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4898 notsupp
="$notsupp $dir"
4902 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4903 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4904 if test -r $srcdir/$dirname/configure
; then
4905 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4908 notsupp
="$notsupp $dir"
4914 # Sometimes the tools are distributed with libiberty but with no other
4915 # libraries. In that case, we don't want to build target-libiberty.
4916 # Don't let libgcc imply libiberty either.
4917 if test -n "${target_configdirs}" ; then
4920 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4921 if test "$i" = "libgcc"; then
4922 libgcc
=target-libgcc
4923 elif test "$i" != "libiberty" ; then
4924 if test -r $srcdir/$i/configure
; then
4930 if test -z "${others}" ; then
4931 target_configdirs
=$libgcc
4935 # Quietly strip out all directories which aren't configurable in this tree.
4936 # This relies on all configurable subdirectories being autoconfiscated, which
4938 build_configdirs_all
="$build_configdirs"
4940 for i
in ${build_configdirs_all} ; do
4941 j
=`echo $i | sed -e s/build-//g`
4942 if test -f ${srcdir}/$j/configure
; then
4943 build_configdirs
="${build_configdirs} $i"
4947 configdirs_all
="$configdirs"
4949 for i
in ${configdirs_all} ; do
4950 if test -f ${srcdir}/$i/configure
; then
4951 configdirs
="${configdirs} $i"
4955 target_configdirs_all
="$target_configdirs"
4957 for i
in ${target_configdirs_all} ; do
4958 j
=`echo $i | sed -e s/target-//g`
4959 if test -f ${srcdir}/$j/configure
; then
4960 target_configdirs
="${target_configdirs} $i"
4964 # Produce a warning message for the subdirs we can't configure.
4965 # This isn't especially interesting in the Cygnus tree, but in the individual
4966 # FSF releases, it's important to let people know when their machine isn't
4967 # supported by the one or two programs in a package.
4969 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4970 # If $appdirs is non-empty, at least one of those directories must still
4971 # be configured, or we error out. (E.g., if the gas release supports a
4972 # specified target in some subdirs but not the gas subdir, we shouldn't
4973 # pretend that all is well.)
4974 if test -n "$appdirs" ; then
4975 for dir
in $appdirs ; do
4976 if test -r $dir/Makefile.
in ; then
4977 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4981 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4987 if test -n "$appdirs" ; then
4988 echo "*** This configuration is not supported by this package." 1>&2
4992 # Okay, some application will build, or we don't care to check. Still
4993 # notify of subdirs not getting built.
4994 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
4995 echo " ${notsupp}" 1>&2
4996 echo " (Any other directories should still work fine.)" 1>&2
5004 # To find our prefix, in gcc_cv_tool_prefix.
5006 # The user is always right.
5007 if test "${PATH_SEPARATOR+set}" != set; then
5008 echo "#! /bin/sh" >conf$$.sh
5009 echo "exit 0" >>conf$$.sh
5011 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5021 if test "x$exec_prefix" = xNONE
; then
5022 if test "x$prefix" = xNONE
; then
5023 gcc_cv_tool_prefix
=$ac_default_prefix
5025 gcc_cv_tool_prefix
=$prefix
5028 gcc_cv_tool_prefix
=$exec_prefix
5031 # If there is no compiler in the tree, use the PATH only. In any
5032 # case, if there is no compiler in the tree nobody should use
5033 # AS_FOR_TARGET and LD_FOR_TARGET.
5034 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5035 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5036 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5037 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5038 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5039 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5040 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5041 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5046 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5047 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5055 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5056 if test "${with_build_sysroot+set}" = set; then
5057 withval
="$with_build_sysroot"
5058 if test x
"$withval" != x
; then
5059 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5062 SYSROOT_CFLAGS_FOR_TARGET
=
5066 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5067 # the named directory are copied to $(tooldir)/sys-include.
5068 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5069 if test x
${is_cross_compiler} = xno
; then
5070 echo 1>&2 '***' --with-headers is only supported when cross compiling
5073 if test x
"${with_headers}" != xyes
; then
5074 x
=${gcc_cv_tool_prefix}
5075 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5079 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5080 # the name directories are copied to $(tooldir)/lib. Multiple directories
5082 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5083 if test x
${is_cross_compiler} = xno
; then
5084 echo 1>&2 '***' --with-libs is only supported when cross compiling
5087 if test x
"${with_libs}" != xyes
; then
5088 # Copy the libraries in reverse order, so that files in the first named
5089 # library override files in subsequent libraries.
5090 x
=${gcc_cv_tool_prefix}
5091 for l
in ${with_libs}; do
5092 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5097 # Set with_gnu_as and with_gnu_ld as appropriate.
5099 # This is done by determining whether or not the appropriate directory
5100 # is available, and by checking whether or not specific configurations
5101 # have requested that this magic not happen.
5103 # The command line options always override the explicit settings in
5104 # configure.in, and the settings in configure.in override this magic.
5106 # If the default for a toolchain is to use GNU as and ld, and you don't
5107 # want to do that, then you should use the --without-gnu-as and
5108 # --without-gnu-ld options for the configure script.
5110 if test x
${use_gnu_as} = x
&&
5111 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5113 extra_host_args
="$extra_host_args --with-gnu-as"
5116 if test x
${use_gnu_ld} = x
&&
5117 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5119 extra_host_args
="$extra_host_args --with-gnu-ld"
5122 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5123 # can detect this case.
5125 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5127 extra_host_args
="$extra_host_args --with-newlib"
5130 # Handle ${copy_dirs}
5131 set fnord
${copy_dirs}
5133 while test $# != 0 ; do
5134 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5137 echo Copying
$1 to
$2
5139 # Use the install script to create the directory and all required
5140 # parent directories.
5141 if test -d $2 ; then
5145 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5148 # Copy the directory, assuming we have tar.
5149 # FIXME: Should we use B in the second tar? Not all systems support it.
5150 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5152 # It is the responsibility of the user to correctly adjust all
5153 # symlinks. If somebody can figure out how to handle them correctly
5154 # here, feel free to add the code.
5161 # Determine a target-dependent exec_prefix that the installed
5162 # gcc will search in. Keep this list sorted by triplet, with
5163 # the *-*-osname triplets last.
5167 md_exec_prefix
=/gnu
/lib
/gcc-lib
5169 i3456786-pc-msdosdjgpp
*)
5170 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5172 i3456786-
*-sco3.2v5
*)
5173 if test $with_gnu_as = yes; then
5174 md_exec_prefix
=/usr
/gnu
/bin
5176 md_exec_prefix
=/usr
/ccs
/bin
/elf
5181 powerpc-
*-chorusos* | \
5182 powerpc
*-*-eabi* | \
5183 powerpc
*-*-sysv* | \
5184 powerpc
*-*-kaos* | \
5186 md_exec_prefix
=/usr
/ccs
/bin
5191 md_exec_prefix
=/usr
/ccs
/bin
5206 md_exec_prefix
=/usr
/ccs
/bin
5210 extra_arflags_for_target
=
5211 extra_nmflags_for_target
=
5212 extra_ranlibflags_for_target
=
5213 target_makefile_frag
=/dev
/null
5216 target_makefile_frag
="config/mt-mep"
5219 target_makefile_frag
="config/mt-spu"
5222 target_makefile_frag
="config/mt-netware"
5224 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5225 target_makefile_frag
="config/mt-gnu"
5227 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5228 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5229 # commands to handle both 32-bit and 64-bit objects. These flags are
5230 # harmless if we're using GNU nm or ar.
5231 extra_arflags_for_target
=" -X32_64"
5232 extra_nmflags_for_target
=" -B -X32_64"
5235 # ranlib from Darwin requires the -c flag to look at common symbols.
5236 extra_ranlibflags_for_target
=" -c"
5238 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5239 target_makefile_frag
="config/mt-wince"
5243 alphaieee_frag
=/dev
/null
5246 # This just makes sure to use the -mieee option to build target libs.
5247 # This should probably be set individually by each library.
5248 alphaieee_frag
="config/mt-alphaieee"
5252 # If --enable-target-optspace always use -Os instead of -O2 to build
5253 # the target libraries, similarly if it is not specified, use -Os
5254 # on selected platforms.
5255 ospace_frag
=/dev
/null
5256 case "${enable_target_optspace}:${target}" in
5258 ospace_frag
="config/mt-ospace"
5261 ospace_frag
="config/mt-d30v"
5263 :m32r-
* |
:d10v-
* |
:fr30-
*)
5264 ospace_frag
="config/mt-ospace"
5269 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5273 # Default to using --with-stabs for certain targets.
5274 if test x
${with_stabs} = x
; then
5278 mips
*-*-* | alpha
*-*-osf*)
5280 extra_host_args
="${extra_host_args} --with-stabs"
5285 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5286 # them automatically.
5289 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5293 # Some systems (e.g., one of the i386-aix systems the gas testers are
5294 # using) don't handle "\$" correctly, so don't use it here.
5295 tooldir
='${exec_prefix}'/${target_noncanonical}
5296 build_tooldir
=${tooldir}
5298 # Create a .gdbinit file which runs the one in srcdir
5299 # and tells GDB to look there for source files.
5301 if test -r ${srcdir}/.gdbinit
; then
5304 *) cat > .
/.gdbinit
<<EOF
5308 source ${srcdir}/.gdbinit
5314 # Make sure that the compiler is able to generate an executable. If it
5315 # can't, we are probably in trouble. We don't care whether we can run the
5316 # executable--we might be using a cross compiler--we only care whether it
5317 # can be created. At this point the main configure script has set CC.
5319 echo "int main () { return 0; }" > conftest.c
5320 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5321 if test $?
= 0 ; then
5322 if test -s conftest ||
test -s conftest.exe
; then
5328 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5329 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5336 # The Solaris /usr/ucb/cc compiler does not appear to work.
5338 sparc-sun-solaris2
*)
5339 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5340 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5342 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5343 if test -d /opt
/cygnus
/bin
; then
5344 if test "$could_use" = "" ; then
5345 could_use
="/opt/cygnus/bin"
5347 could_use
="$could_use or /opt/cygnus/bin"
5350 if test "$could_use" = "" ; then
5351 echo "Warning: compilation may fail because you're using"
5352 echo "/usr/ucb/cc. You should change your PATH or CC "
5353 echo "variable and rerun configure."
5355 echo "Warning: compilation may fail because you're using"
5356 echo "/usr/ucb/cc, when you should use the C compiler from"
5357 echo "$could_use. You should change your"
5358 echo "PATH or CC variable and rerun configure."
5365 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5366 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5367 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5370 # Record target_configdirs and the configure arguments for target and
5371 # build configuration in Makefile.
5372 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5373 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5375 # Determine whether gdb needs tk/tcl or not.
5376 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5377 # and in that case we want gdb to be built without tk. Ugh!
5378 # In fact I believe gdb is the *only* package directly dependent on tk,
5379 # so we should be able to put the 'maybe's in unconditionally and
5380 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5381 # 100% sure that that's safe though.
5383 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5384 case "$enable_gdbtk" in
5388 GDB_TK
="${gdb_tk}" ;;
5390 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5391 # distro. Eventually someone will fix this and move Insight, nee
5392 # gdbtk to a separate directory.
5393 if test -d ${srcdir}/gdb
/gdbtk
; then
5400 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5401 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5403 # Strip out unwanted targets.
5405 # While at that, we remove Makefiles if we were started for recursive
5406 # configuration, so that the top-level Makefile reconfigures them,
5407 # like we used to do when configure itself was recursive.
5409 # Loop over modules. $extrasub must be used with care, limiting as
5410 # much as possible the usage of range addresses. That's because autoconf
5411 # splits the sed script to overcome limits in the number of commands,
5412 # and relying on carefully-timed sed passes may turn out to be very hard
5413 # to maintain later. In this particular case, you just have to be careful
5414 # not to nest @if/@endif pairs, because configure will not warn you at all.
5416 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5417 if test "${enable_bootstrap+set}" = set; then
5418 enableval
="$enable_bootstrap"
5421 enable_bootstrap
=default
5424 # Issue errors and warnings for invalid/strange bootstrap combinations.
5425 case "$configdirs" in
5426 *gcc
*) have_compiler
=yes ;;
5427 *) have_compiler
=no
;;
5430 case "$have_compiler:$host:$target:$enable_bootstrap" in
5433 # Default behavior. Enable bootstrap if we have a compiler
5434 # and we are in a native configuration.
5435 yes:$build:$build:default
)
5436 enable_bootstrap
=yes ;;
5439 enable_bootstrap
=no
;;
5441 # We have a compiler and we are in a native configuration, bootstrap is ok
5442 yes:$build:$build:yes)
5445 # Other configurations, but we have a compiler. Assume the user knows
5448 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5449 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5452 # No compiler: if they passed --enable-bootstrap explicitly, fail
5454 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5455 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5456 { (exit 1); exit 1; }; } ;;
5458 # Fail if wrong command line
5460 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5461 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5462 { (exit 1); exit 1; }; }
5466 # Adjust the toplevel makefile according to whether bootstrap was selected.
5467 case "$enable_bootstrap" in
5469 bootstrap_suffix
=bootstrap
;;
5471 bootstrap_suffix
=no-bootstrap
;;
5474 for module
in ${build_configdirs} ; do
5475 if test -z "${no_recursion}" \
5476 && test -f ${build_subdir}/${module}/Makefile
; then
5477 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5478 rm -f ${build_subdir}/${module}/Makefile
5481 /^@if build-$module\$/d
5482 /^@endif build-$module\$/d
5483 /^@if build-$module-$bootstrap_suffix\$/d
5484 /^@endif build-$module-$bootstrap_suffix\$/d"
5486 for module
in ${configdirs} ; do
5487 if test -z "${no_recursion}"; then
5488 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5489 if test -f ${file}; then
5490 echo 1>&2 "*** removing ${file} to force reconfigure"
5497 /^@endif $module\$/d
5498 /^@if $module-$bootstrap_suffix\$/d
5499 /^@endif $module-$bootstrap_suffix\$/d"
5501 for module
in ${target_configdirs} ; do
5502 if test -z "${no_recursion}" \
5503 && test -f ${target_subdir}/${module}/Makefile
; then
5504 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5505 rm -f ${target_subdir}/${module}/Makefile
5508 /^@if target-$module\$/d
5509 /^@endif target-$module\$/d
5510 /^@if target-$module-$bootstrap_suffix\$/d
5511 /^@endif target-$module-$bootstrap_suffix\$/d"
5515 /^@if /,/^@endif /d"
5517 # Create the serialization dependencies. This uses a temporary file.
5519 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5520 if test "${enable_serial_configure+set}" = set; then
5521 enableval
="$enable_serial_configure"
5525 case ${enable_serial_configure} in
5527 enable_serial_build_configure
=yes
5528 enable_serial_host_configure
=yes
5529 enable_serial_target_configure
=yes
5533 # These force 'configure's to be done one at a time, to avoid problems
5534 # with contention over a shared config.cache.
5536 echo '# serdep.tmp' > serdep.tmp
5538 test "x${enable_serial_build_configure}" = xyes
&&
5539 for item
in ${build_configdirs} ; do
5542 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5547 test "x${enable_serial_host_configure}" = xyes
&&
5548 for item
in ${configdirs} ; do
5551 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5556 test "x${enable_serial_target_configure}" = xyes
&&
5557 for item
in ${target_configdirs} ; do
5560 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5564 serialization_dependencies
=serdep.tmp
5567 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5568 # target, nonopt, and variable assignments. These are the ones we
5569 # might not want to pass down to subconfigures. Also strip
5570 # program-prefix, program-suffix, and program-transform-name, so that
5571 # we can pass down a consistent program-transform-name.
5575 eval "set -- $ac_configure_args"
5578 if test X
"$skip_next" = X
"yes"; then
5582 if test X
"$keep_next" = X
"yes"; then
5585 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5587 baseargs
="$baseargs '$ac_arg'"
5592 # Handle separated arguments. Based on the logic generated by
5595 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5596 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5597 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5598 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5624 -program-prefix* | \
5625 -program-suffix* | \
5626 -program-transform-name* )
5627 skip_next
=$separate_arg
5631 # An option. Add it.
5634 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5636 baseargs
="$baseargs '$ac_arg'"
5637 keep_next
=$separate_arg
5640 # Either a variable assignment, or a nonopt (triplet). Don't
5641 # pass it down; let the Makefile handle this.
5646 # Remove the initial space we just introduced and, as these will be
5647 # expanded by make, quote '$'.
5648 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5650 # Add in --program-transform-name, after --program-prefix and
5651 # --program-suffix have been applied to it. Autoconf has already
5652 # doubled dollar signs and backslashes in program_transform_name; we want
5653 # the backslashes un-doubled, and then the entire thing wrapped in single
5654 # quotes, because this will be expanded first by make and then by the shell.
5655 # Also, because we want to override the logic in subdir configure scripts to
5656 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5657 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5658 ${program_transform_name}
5660 gcc_transform_name
=`cat conftestsed.out`
5661 rm -f conftestsed.out
5662 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5664 # For the build-side libraries, we just need to pretend we're native,
5665 # and not use the same cache file. Multilibs are neither needed nor
5667 build_configargs
="--cache-file=../config.cache ${baseargs}"
5669 # For host modules, accept cache file option, or specification as blank.
5670 case "${cache_file}" in
5672 cache_file_option
="" ;;
5673 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5674 cache_file_option
="--cache-file=${cache_file}" ;;
5676 cache_file_option
="--cache-file=../${cache_file}" ;;
5679 # Host dirs don't like to share a cache file either, horribly enough.
5680 # This seems to be due to autoconf 2.5x stupidity.
5681 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5683 target_configargs
=${baseargs}
5685 # Passing a --with-cross-host argument lets the target libraries know
5686 # whether they are being built with a cross-compiler or being built
5687 # native. However, it would be better to use other mechanisms to make the
5688 # sorts of decisions they want to make on this basis. Please consider
5689 # this option to be deprecated. FIXME.
5690 if test x
${is_cross_compiler} = xyes
; then
5691 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5694 # Default to --enable-multilib.
5695 if test x
${enable_multilib} = x
; then
5696 target_configargs
="--enable-multilib ${target_configargs}"
5699 # Pass --with-newlib if appropriate. Note that target_configdirs has
5700 # changed from the earlier setting of with_newlib.
5701 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5702 target_configargs
="--with-newlib ${target_configargs}"
5705 # Different target subdirs use different values of certain variables
5706 # (notably CXX). Worse, multilibs use *lots* of different values.
5707 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5708 # it doesn't automatically accept command-line overrides of them.
5709 # This means it's not safe for target subdirs to share a cache file,
5710 # which is disgusting, but there you have it. Hopefully this can be
5711 # fixed in future. It's still worthwhile to use a cache file for each
5712 # directory. I think.
5714 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5715 # We need to pass --target, as newer autoconf's requires consistency
5716 # for target_alias and gcc doesn't manage it consistently.
5717 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5720 case " $target_configdirs " in
5722 case " $target_configargs " in
5723 *" --with-newlib "*)
5726 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' ;;
5729 # If we're not building GCC, don't discard standard headers.
5730 if test -d ${srcdir}/gcc
; then
5731 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5733 if test "${build}" != "${host}"; then
5734 # On Canadian crosses, CC_FOR_TARGET will have already been set
5735 # by `configure', so we won't have an opportunity to add -Bgcc/
5736 # to it. This is right: we don't want to search that directory
5737 # for binaries, but we want the header files in there, so add
5739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5741 # Someone might think of using the pre-installed headers on
5742 # Canadian crosses, in case the installed compiler is not fully
5743 # compatible with the compiler being built. In this case, it
5744 # would be better to flag an error than risking having
5745 # incompatible object files being constructed. We can't
5746 # guarantee that an error will be flagged, but let's hope the
5747 # compiler will do it, when presented with incompatible header
5752 case "${target}-${is_cross_compiler}" in
5753 i
[3456789]86-*-linux*-no)
5754 # Here host == target, so we don't need to build gcc,
5755 # so we don't want to discard standard headers.
5756 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5759 # If we're building newlib, use its generic headers last, but search
5760 # for any libc-related directories first (so make it the last -B
5762 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5771 # Can't be handled as Cygwin above since Mingw does not use newlib.
5772 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' ;;
5775 # Allow the user to override the flags for
5776 # our build compiler if desired.
5777 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5779 # On Canadian crosses, we'll be searching the right directories for
5780 # the previously-installed cross compiler, so don't bother to add
5781 # flags for directories within the install tree of the compiler
5782 # being built; programs in there won't even run.
5783 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5784 # Search for pre-installed headers if nothing else fits.
5785 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5788 if test "x
${use_gnu_ld}" = x &&
5789 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5790 # Arrange for us to find uninstalled linker scripts.
5791 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5794 # Search for other target-specific linker scripts and such.
5797 if test -d ${srcdir}/libgloss/m32c; then
5798 # This is for crt0.o
5799 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5800 # This is for r8c.ld
5801 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5802 # This is for libnosys.a
5803 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5807 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5811 # Makefile fragments.
5812 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5814 eval fragval=\$$frag
5815 if test $fragval != /dev/null; then
5816 eval $frag=${srcdir}/$fragval
5824 # Miscellanea: directories, flags, etc.
5832 # Build module lists & subconfigure args.
5836 # Host module lists & subconfigure args.
5840 # Target module lists & subconfigure args.
5848 # Generate default definitions for YACC, M4, LEX and other programs that run
5849 # on the build machine. These are used if the Makefile can't locate these
5850 # programs in objdir.
5851 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5853 for ac_prog in 'bison -y' byacc yacc
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5858 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5859 if test "${ac_cv_prog_YACC+set}" = set; then
5860 echo $ECHO_N "(cached
) $ECHO_C" >&6
5862 if test -n "$YACC"; then
5863 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_YACC="$ac_prog"
5873 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5881 YACC=$ac_cv_prog_YACC
5882 if test -n "$YACC"; then
5883 echo "$as_me:$LINENO: result
: $YACC" >&5
5884 echo "${ECHO_T}$YACC" >&6
5886 echo "$as_me:$LINENO: result
: no
" >&5
5887 echo "${ECHO_T}no
" >&6
5890 test -n "$YACC" && break
5892 test -n "$YACC" || YACC="$MISSING bison
-y"
5894 case " $build_configdirs " in
5895 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
5896 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
5899 for ac_prog in bison
5901 # Extract the first word of "$ac_prog", so it can be a program name with args.
5902 set dummy $ac_prog; ac_word=$2
5903 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5904 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5905 if test "${ac_cv_prog_BISON+set}" = set; then
5906 echo $ECHO_N "(cached
) $ECHO_C" >&6
5908 if test -n "$BISON"; then
5909 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_BISON="$ac_prog"
5919 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5927 BISON=$ac_cv_prog_BISON
5928 if test -n "$BISON"; then
5929 echo "$as_me:$LINENO: result
: $BISON" >&5
5930 echo "${ECHO_T}$BISON" >&6
5932 echo "$as_me:$LINENO: result
: no
" >&5
5933 echo "${ECHO_T}no
" >&6
5936 test -n "$BISON" && break
5938 test -n "$BISON" || BISON="$MISSING bison
"
5940 case " $build_configdirs " in
5941 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
5944 for ac_prog in gm4 gnum4 m4
5946 # Extract the first word of "$ac_prog", so it can be a program name with args.
5947 set dummy $ac_prog; ac_word=$2
5948 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5949 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5950 if test "${ac_cv_prog_M4+set}" = set; then
5951 echo $ECHO_N "(cached
) $ECHO_C" >&6
5953 if test -n "$M4"; then
5954 ac_cv_prog_M4="$M4" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_M4="$ac_prog"
5964 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5973 if test -n "$M4"; then
5974 echo "$as_me:$LINENO: result
: $M4" >&5
5975 echo "${ECHO_T}$M4" >&6
5977 echo "$as_me:$LINENO: result
: no
" >&5
5978 echo "${ECHO_T}no
" >&6
5981 test -n "$M4" && break
5983 test -n "$M4" || M4="$MISSING m4"
5985 case " $build_configdirs " in
5986 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
5989 for ac_prog in flex lex
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy $ac_prog; ac_word=$2
5993 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5995 if test "${ac_cv_prog_LEX+set}" = set; then
5996 echo $ECHO_N "(cached
) $ECHO_C" >&6
5998 if test -n "$LEX"; then
5999 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_LEX="$ac_prog"
6009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6018 if test -n "$LEX"; then
6019 echo "$as_me:$LINENO: result
: $LEX" >&5
6020 echo "${ECHO_T}$LEX" >&6
6022 echo "$as_me:$LINENO: result
: no
" >&5
6023 echo "${ECHO_T}no
" >&6
6026 test -n "$LEX" && break
6028 test -n "$LEX" || LEX="$MISSING flex
"
6030 case " $build_configdirs " in
6031 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6032 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6041 if test "${ac_cv_prog_FLEX+set}" = set; then
6042 echo $ECHO_N "(cached
) $ECHO_C" >&6
6044 if test -n "$FLEX"; then
6045 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_FLEX="$ac_prog"
6055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6063 FLEX=$ac_cv_prog_FLEX
6064 if test -n "$FLEX"; then
6065 echo "$as_me:$LINENO: result
: $FLEX" >&5
6066 echo "${ECHO_T}$FLEX" >&6
6068 echo "$as_me:$LINENO: result
: no
" >&5
6069 echo "${ECHO_T}no
" >&6
6072 test -n "$FLEX" && break
6074 test -n "$FLEX" || FLEX="$MISSING flex
"
6076 case " $build_configdirs " in
6077 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6080 for ac_prog in makeinfo
6082 # Extract the first word of "$ac_prog", so it can be a program name with args.
6083 set dummy $ac_prog; ac_word=$2
6084 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6086 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6087 echo $ECHO_N "(cached
) $ECHO_C" >&6
6089 if test -n "$MAKEINFO"; then
6090 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_MAKEINFO="$ac_prog"
6100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6108 MAKEINFO=$ac_cv_prog_MAKEINFO
6109 if test -n "$MAKEINFO"; then
6110 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6111 echo "${ECHO_T}$MAKEINFO" >&6
6113 echo "$as_me:$LINENO: result
: no
" >&5
6114 echo "${ECHO_T}no
" >&6
6117 test -n "$MAKEINFO" && break
6119 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6121 case " $build_configdirs " in
6122 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6125 # For an installed makeinfo, we require it to be from texinfo 4.4 or
6126 # higher, else we use the "missing
" dummy.
6127 if ${MAKEINFO} --version \
6128 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
6131 MAKEINFO="$MISSING makeinfo
"
6137 # FIXME: expect and dejagnu may become build tools?
6139 for ac_prog in expect
6141 # Extract the first word of "$ac_prog", so it can be a program name with args.
6142 set dummy $ac_prog; ac_word=$2
6143 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6144 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6145 if test "${ac_cv_prog_EXPECT+set}" = set; then
6146 echo $ECHO_N "(cached
) $ECHO_C" >&6
6148 if test -n "$EXPECT"; then
6149 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_EXPECT="$ac_prog"
6159 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6167 EXPECT=$ac_cv_prog_EXPECT
6168 if test -n "$EXPECT"; then
6169 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6170 echo "${ECHO_T}$EXPECT" >&6
6172 echo "$as_me:$LINENO: result
: no
" >&5
6173 echo "${ECHO_T}no
" >&6
6176 test -n "$EXPECT" && break
6178 test -n "$EXPECT" || EXPECT="expect
"
6180 case " $configdirs " in
6182 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6186 for ac_prog in runtest
6188 # Extract the first word of "$ac_prog", so it can be a program name with args.
6189 set dummy $ac_prog; ac_word=$2
6190 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6191 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6192 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6193 echo $ECHO_N "(cached
) $ECHO_C" >&6
6195 if test -n "$RUNTEST"; then
6196 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_RUNTEST="$ac_prog"
6206 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6214 RUNTEST=$ac_cv_prog_RUNTEST
6215 if test -n "$RUNTEST"; then
6216 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6217 echo "${ECHO_T}$RUNTEST" >&6
6219 echo "$as_me:$LINENO: result
: no
" >&5
6220 echo "${ECHO_T}no
" >&6
6223 test -n "$RUNTEST" && break
6225 test -n "$RUNTEST" || RUNTEST="runtest
"
6227 case " $configdirs " in
6229 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6236 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6237 ncn_target_tool_prefix=
6238 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6242 if test -n "$AR"; then
6244 elif test -n "$ac_cv_prog_AR"; then
6248 if test -n "$ac_cv_prog_AR"; then
6249 for ncn_progname in ar; do
6250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6251 set dummy ${ncn_progname}; ac_word=$2
6252 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6253 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6254 if test "${ac_cv_prog_AR+set}" = set; then
6255 echo $ECHO_N "(cached
) $ECHO_C" >&6
6257 if test -n "$AR"; then
6258 ac_cv_prog_AR="$AR" # Let the user override the test.
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6267 ac_cv_prog_AR="${ncn_progname}"
6268 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6277 if test -n "$AR"; then
6278 echo "$as_me:$LINENO: result
: $AR" >&5
6279 echo "${ECHO_T}$AR" >&6
6281 echo "$as_me:$LINENO: result
: no
" >&5
6282 echo "${ECHO_T}no
" >&6
6288 for ncn_progname in ar; do
6289 if test -n "$ncn_tool_prefix"; then
6290 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6291 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6292 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6293 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6294 if test "${ac_cv_prog_AR+set}" = set; then
6295 echo $ECHO_N "(cached
) $ECHO_C" >&6
6297 if test -n "$AR"; then
6298 ac_cv_prog_AR="$AR" # Let the user override the test.
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6308 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6317 if test -n "$AR"; then
6318 echo "$as_me:$LINENO: result
: $AR" >&5
6319 echo "${ECHO_T}$AR" >&6
6321 echo "$as_me:$LINENO: result
: no
" >&5
6322 echo "${ECHO_T}no
" >&6
6326 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6327 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6328 set dummy ${ncn_progname}; ac_word=$2
6329 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6330 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6331 if test "${ac_cv_prog_AR+set}" = set; then
6332 echo $ECHO_N "(cached
) $ECHO_C" >&6
6334 if test -n "$AR"; then
6335 ac_cv_prog_AR="$AR" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_AR="${ncn_progname}"
6345 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6354 if test -n "$AR"; then
6355 echo "$as_me:$LINENO: result
: $AR" >&5
6356 echo "${ECHO_T}$AR" >&6
6358 echo "$as_me:$LINENO: result
: no
" >&5
6359 echo "${ECHO_T}no
" >&6
6363 test -n "$ac_cv_prog_AR" && break
6366 if test -z "$ac_cv_prog_AR" ; then
6368 if test $build = $host ; then
6371 AR="${ncn_tool_prefix}$2"
6377 if test -n "$AS"; then
6379 elif test -n "$ac_cv_prog_AS"; then
6383 if test -n "$ac_cv_prog_AS"; then
6384 for ncn_progname in as; do
6385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6386 set dummy ${ncn_progname}; ac_word=$2
6387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6389 if test "${ac_cv_prog_AS+set}" = set; then
6390 echo $ECHO_N "(cached
) $ECHO_C" >&6
6392 if test -n "$AS"; then
6393 ac_cv_prog_AS="$AS" # Let the user override the test.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_AS="${ncn_progname}"
6403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6412 if test -n "$AS"; then
6413 echo "$as_me:$LINENO: result
: $AS" >&5
6414 echo "${ECHO_T}$AS" >&6
6416 echo "$as_me:$LINENO: result
: no
" >&5
6417 echo "${ECHO_T}no
" >&6
6423 for ncn_progname in as; do
6424 if test -n "$ncn_tool_prefix"; then
6425 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6426 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6427 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6428 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6429 if test "${ac_cv_prog_AS+set}" = set; then
6430 echo $ECHO_N "(cached
) $ECHO_C" >&6
6432 if test -n "$AS"; then
6433 ac_cv_prog_AS="$AS" # Let the user override the test.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6443 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6452 if test -n "$AS"; then
6453 echo "$as_me:$LINENO: result
: $AS" >&5
6454 echo "${ECHO_T}$AS" >&6
6456 echo "$as_me:$LINENO: result
: no
" >&5
6457 echo "${ECHO_T}no
" >&6
6461 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6463 set dummy ${ncn_progname}; ac_word=$2
6464 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6465 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6466 if test "${ac_cv_prog_AS+set}" = set; then
6467 echo $ECHO_N "(cached
) $ECHO_C" >&6
6469 if test -n "$AS"; then
6470 ac_cv_prog_AS="$AS" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_AS="${ncn_progname}"
6480 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6489 if test -n "$AS"; then
6490 echo "$as_me:$LINENO: result
: $AS" >&5
6491 echo "${ECHO_T}$AS" >&6
6493 echo "$as_me:$LINENO: result
: no
" >&5
6494 echo "${ECHO_T}no
" >&6
6498 test -n "$ac_cv_prog_AS" && break
6501 if test -z "$ac_cv_prog_AS" ; then
6503 if test $build = $host ; then
6506 AS="${ncn_tool_prefix}$2"
6512 if test -n "$DLLTOOL"; then
6513 ac_cv_prog_DLLTOOL=$DLLTOOL
6514 elif test -n "$ac_cv_prog_DLLTOOL"; then
6515 DLLTOOL=$ac_cv_prog_DLLTOOL
6518 if test -n "$ac_cv_prog_DLLTOOL"; then
6519 for ncn_progname in dlltool; do
6520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6521 set dummy ${ncn_progname}; ac_word=$2
6522 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6523 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6524 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6525 echo $ECHO_N "(cached
) $ECHO_C" >&6
6527 if test -n "$DLLTOOL"; then
6528 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_DLLTOOL="${ncn_progname}"
6538 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6546 DLLTOOL=$ac_cv_prog_DLLTOOL
6547 if test -n "$DLLTOOL"; then
6548 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6549 echo "${ECHO_T}$DLLTOOL" >&6
6551 echo "$as_me:$LINENO: result
: no
" >&5
6552 echo "${ECHO_T}no
" >&6
6558 for ncn_progname in dlltool; do
6559 if test -n "$ncn_tool_prefix"; then
6560 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6561 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6562 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6563 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6564 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6565 echo $ECHO_N "(cached
) $ECHO_C" >&6
6567 if test -n "$DLLTOOL"; then
6568 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574 test -z "$as_dir" && as_dir=.
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6578 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6586 DLLTOOL=$ac_cv_prog_DLLTOOL
6587 if test -n "$DLLTOOL"; then
6588 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6589 echo "${ECHO_T}$DLLTOOL" >&6
6591 echo "$as_me:$LINENO: result
: no
" >&5
6592 echo "${ECHO_T}no
" >&6
6596 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6597 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6598 set dummy ${ncn_progname}; ac_word=$2
6599 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6600 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6601 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6602 echo $ECHO_N "(cached
) $ECHO_C" >&6
6604 if test -n "$DLLTOOL"; then
6605 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 test -z "$as_dir" && as_dir=.
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_DLLTOOL="${ncn_progname}"
6615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6623 DLLTOOL=$ac_cv_prog_DLLTOOL
6624 if test -n "$DLLTOOL"; then
6625 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6626 echo "${ECHO_T}$DLLTOOL" >&6
6628 echo "$as_me:$LINENO: result
: no
" >&5
6629 echo "${ECHO_T}no
" >&6
6633 test -n "$ac_cv_prog_DLLTOOL" && break
6636 if test -z "$ac_cv_prog_DLLTOOL" ; then
6638 if test $build = $host ; then
6641 DLLTOOL="${ncn_tool_prefix}$2"
6647 if test -n "$LD"; then
6649 elif test -n "$ac_cv_prog_LD"; then
6653 if test -n "$ac_cv_prog_LD"; then
6654 for ncn_progname in ld; do
6655 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6656 set dummy ${ncn_progname}; ac_word=$2
6657 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6658 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6659 if test "${ac_cv_prog_LD+set}" = set; then
6660 echo $ECHO_N "(cached
) $ECHO_C" >&6
6662 if test -n "$LD"; then
6663 ac_cv_prog_LD="$LD" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_LD="${ncn_progname}"
6673 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6682 if test -n "$LD"; then
6683 echo "$as_me:$LINENO: result
: $LD" >&5
6684 echo "${ECHO_T}$LD" >&6
6686 echo "$as_me:$LINENO: result
: no
" >&5
6687 echo "${ECHO_T}no
" >&6
6693 for ncn_progname in ld; do
6694 if test -n "$ncn_tool_prefix"; then
6695 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6696 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6697 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6698 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6699 if test "${ac_cv_prog_LD+set}" = set; then
6700 echo $ECHO_N "(cached
) $ECHO_C" >&6
6702 if test -n "$LD"; then
6703 ac_cv_prog_LD="$LD" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6713 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6722 if test -n "$LD"; then
6723 echo "$as_me:$LINENO: result
: $LD" >&5
6724 echo "${ECHO_T}$LD" >&6
6726 echo "$as_me:$LINENO: result
: no
" >&5
6727 echo "${ECHO_T}no
" >&6
6731 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6733 set dummy ${ncn_progname}; ac_word=$2
6734 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6735 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6736 if test "${ac_cv_prog_LD+set}" = set; then
6737 echo $ECHO_N "(cached
) $ECHO_C" >&6
6739 if test -n "$LD"; then
6740 ac_cv_prog_LD="$LD" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_LD="${ncn_progname}"
6750 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 if test -n "$LD"; then
6760 echo "$as_me:$LINENO: result
: $LD" >&5
6761 echo "${ECHO_T}$LD" >&6
6763 echo "$as_me:$LINENO: result
: no
" >&5
6764 echo "${ECHO_T}no
" >&6
6768 test -n "$ac_cv_prog_LD" && break
6771 if test -z "$ac_cv_prog_LD" ; then
6773 if test $build = $host ; then
6776 LD="${ncn_tool_prefix}$2"
6782 if test -n "$LIPO"; then
6783 ac_cv_prog_LIPO=$LIPO
6784 elif test -n "$ac_cv_prog_LIPO"; then
6785 LIPO=$ac_cv_prog_LIPO
6788 if test -n "$ac_cv_prog_LIPO"; then
6789 for ncn_progname in lipo; do
6790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6791 set dummy ${ncn_progname}; ac_word=$2
6792 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6793 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6794 if test "${ac_cv_prog_LIPO+set}" = set; then
6795 echo $ECHO_N "(cached
) $ECHO_C" >&6
6797 if test -n "$LIPO"; then
6798 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_LIPO="${ncn_progname}"
6808 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6816 LIPO=$ac_cv_prog_LIPO
6817 if test -n "$LIPO"; then
6818 echo "$as_me:$LINENO: result
: $LIPO" >&5
6819 echo "${ECHO_T}$LIPO" >&6
6821 echo "$as_me:$LINENO: result
: no
" >&5
6822 echo "${ECHO_T}no
" >&6
6828 for ncn_progname in lipo; do
6829 if test -n "$ncn_tool_prefix"; then
6830 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6831 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6832 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6833 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6834 if test "${ac_cv_prog_LIPO+set}" = set; then
6835 echo $ECHO_N "(cached
) $ECHO_C" >&6
6837 if test -n "$LIPO"; then
6838 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6848 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6856 LIPO=$ac_cv_prog_LIPO
6857 if test -n "$LIPO"; then
6858 echo "$as_me:$LINENO: result
: $LIPO" >&5
6859 echo "${ECHO_T}$LIPO" >&6
6861 echo "$as_me:$LINENO: result
: no
" >&5
6862 echo "${ECHO_T}no
" >&6
6866 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6868 set dummy ${ncn_progname}; ac_word=$2
6869 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6870 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6871 if test "${ac_cv_prog_LIPO+set}" = set; then
6872 echo $ECHO_N "(cached
) $ECHO_C" >&6
6874 if test -n "$LIPO"; then
6875 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_LIPO="${ncn_progname}"
6885 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6893 LIPO=$ac_cv_prog_LIPO
6894 if test -n "$LIPO"; then
6895 echo "$as_me:$LINENO: result
: $LIPO" >&5
6896 echo "${ECHO_T}$LIPO" >&6
6898 echo "$as_me:$LINENO: result
: no
" >&5
6899 echo "${ECHO_T}no
" >&6
6903 test -n "$ac_cv_prog_LIPO" && break
6906 if test -z "$ac_cv_prog_LIPO" ; then
6908 if test $build = $host ; then
6911 LIPO="${ncn_tool_prefix}$2"
6917 if test -n "$NM"; then
6919 elif test -n "$ac_cv_prog_NM"; then
6923 if test -n "$ac_cv_prog_NM"; then
6924 for ncn_progname in nm; do
6925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6926 set dummy ${ncn_progname}; ac_word=$2
6927 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6928 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6929 if test "${ac_cv_prog_NM+set}" = set; then
6930 echo $ECHO_N "(cached
) $ECHO_C" >&6
6932 if test -n "$NM"; then
6933 ac_cv_prog_NM="$NM" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942 ac_cv_prog_NM="${ncn_progname}"
6943 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6952 if test -n "$NM"; then
6953 echo "$as_me:$LINENO: result
: $NM" >&5
6954 echo "${ECHO_T}$NM" >&6
6956 echo "$as_me:$LINENO: result
: no
" >&5
6957 echo "${ECHO_T}no
" >&6
6963 for ncn_progname in nm; do
6964 if test -n "$ncn_tool_prefix"; then
6965 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6966 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6967 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6968 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6969 if test "${ac_cv_prog_NM+set}" = set; then
6970 echo $ECHO_N "(cached
) $ECHO_C" >&6
6972 if test -n "$NM"; then
6973 ac_cv_prog_NM="$NM" # Let the user override the test.
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir=.
6980 for ac_exec_ext in '' $ac_executable_extensions; do
6981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
6983 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6992 if test -n "$NM"; then
6993 echo "$as_me:$LINENO: result
: $NM" >&5
6994 echo "${ECHO_T}$NM" >&6
6996 echo "$as_me:$LINENO: result
: no
" >&5
6997 echo "${ECHO_T}no
" >&6
7001 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7003 set dummy ${ncn_progname}; ac_word=$2
7004 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7005 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7006 if test "${ac_cv_prog_NM+set}" = set; then
7007 echo $ECHO_N "(cached
) $ECHO_C" >&6
7009 if test -n "$NM"; then
7010 ac_cv_prog_NM="$NM" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_NM="${ncn_progname}"
7020 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7029 if test -n "$NM"; then
7030 echo "$as_me:$LINENO: result
: $NM" >&5
7031 echo "${ECHO_T}$NM" >&6
7033 echo "$as_me:$LINENO: result
: no
" >&5
7034 echo "${ECHO_T}no
" >&6
7038 test -n "$ac_cv_prog_NM" && break
7041 if test -z "$ac_cv_prog_NM" ; then
7043 if test $build = $host ; then
7046 NM="${ncn_tool_prefix}$2"
7052 if test -n "$RANLIB"; then
7053 ac_cv_prog_RANLIB=$RANLIB
7054 elif test -n "$ac_cv_prog_RANLIB"; then
7055 RANLIB=$ac_cv_prog_RANLIB
7058 if test -n "$ac_cv_prog_RANLIB"; then
7059 for ncn_progname in ranlib; do
7060 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7061 set dummy ${ncn_progname}; ac_word=$2
7062 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7063 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7064 if test "${ac_cv_prog_RANLIB+set}" = set; then
7065 echo $ECHO_N "(cached
) $ECHO_C" >&6
7067 if test -n "$RANLIB"; then
7068 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_RANLIB="${ncn_progname}"
7078 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7086 RANLIB=$ac_cv_prog_RANLIB
7087 if test -n "$RANLIB"; then
7088 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7089 echo "${ECHO_T}$RANLIB" >&6
7091 echo "$as_me:$LINENO: result
: no
" >&5
7092 echo "${ECHO_T}no
" >&6
7098 for ncn_progname in ranlib; do
7099 if test -n "$ncn_tool_prefix"; then
7100 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7101 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7102 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7103 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7104 if test "${ac_cv_prog_RANLIB+set}" = set; then
7105 echo $ECHO_N "(cached
) $ECHO_C" >&6
7107 if test -n "$RANLIB"; then
7108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7118 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7126 RANLIB=$ac_cv_prog_RANLIB
7127 if test -n "$RANLIB"; then
7128 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7129 echo "${ECHO_T}$RANLIB" >&6
7131 echo "$as_me:$LINENO: result
: no
" >&5
7132 echo "${ECHO_T}no
" >&6
7136 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7138 set dummy ${ncn_progname}; ac_word=$2
7139 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7140 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7141 if test "${ac_cv_prog_RANLIB+set}" = set; then
7142 echo $ECHO_N "(cached
) $ECHO_C" >&6
7144 if test -n "$RANLIB"; then
7145 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_RANLIB="${ncn_progname}"
7155 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7163 RANLIB=$ac_cv_prog_RANLIB
7164 if test -n "$RANLIB"; then
7165 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7166 echo "${ECHO_T}$RANLIB" >&6
7168 echo "$as_me:$LINENO: result
: no
" >&5
7169 echo "${ECHO_T}no
" >&6
7173 test -n "$ac_cv_prog_RANLIB" && break
7176 if test -z "$ac_cv_prog_RANLIB" ; then
7182 if test -n "$STRIP"; then
7183 ac_cv_prog_STRIP=$STRIP
7184 elif test -n "$ac_cv_prog_STRIP"; then
7185 STRIP=$ac_cv_prog_STRIP
7188 if test -n "$ac_cv_prog_STRIP"; then
7189 for ncn_progname in strip; do
7190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7191 set dummy ${ncn_progname}; ac_word=$2
7192 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7194 if test "${ac_cv_prog_STRIP+set}" = set; then
7195 echo $ECHO_N "(cached
) $ECHO_C" >&6
7197 if test -n "$STRIP"; then
7198 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_STRIP="${ncn_progname}"
7208 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7216 STRIP=$ac_cv_prog_STRIP
7217 if test -n "$STRIP"; then
7218 echo "$as_me:$LINENO: result
: $STRIP" >&5
7219 echo "${ECHO_T}$STRIP" >&6
7221 echo "$as_me:$LINENO: result
: no
" >&5
7222 echo "${ECHO_T}no
" >&6
7228 for ncn_progname in strip; do
7229 if test -n "$ncn_tool_prefix"; then
7230 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7231 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7232 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7233 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7234 if test "${ac_cv_prog_STRIP+set}" = set; then
7235 echo $ECHO_N "(cached
) $ECHO_C" >&6
7237 if test -n "$STRIP"; then
7238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7248 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7256 STRIP=$ac_cv_prog_STRIP
7257 if test -n "$STRIP"; then
7258 echo "$as_me:$LINENO: result
: $STRIP" >&5
7259 echo "${ECHO_T}$STRIP" >&6
7261 echo "$as_me:$LINENO: result
: no
" >&5
7262 echo "${ECHO_T}no
" >&6
7266 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7268 set dummy ${ncn_progname}; ac_word=$2
7269 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7270 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7271 if test "${ac_cv_prog_STRIP+set}" = set; then
7272 echo $ECHO_N "(cached
) $ECHO_C" >&6
7274 if test -n "$STRIP"; then
7275 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_STRIP="${ncn_progname}"
7285 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7293 STRIP=$ac_cv_prog_STRIP
7294 if test -n "$STRIP"; then
7295 echo "$as_me:$LINENO: result
: $STRIP" >&5
7296 echo "${ECHO_T}$STRIP" >&6
7298 echo "$as_me:$LINENO: result
: no
" >&5
7299 echo "${ECHO_T}no
" >&6
7303 test -n "$ac_cv_prog_STRIP" && break
7306 if test -z "$ac_cv_prog_STRIP" ; then
7312 if test -n "$WINDRES"; then
7313 ac_cv_prog_WINDRES=$WINDRES
7314 elif test -n "$ac_cv_prog_WINDRES"; then
7315 WINDRES=$ac_cv_prog_WINDRES
7318 if test -n "$ac_cv_prog_WINDRES"; then
7319 for ncn_progname in windres; do
7320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7321 set dummy ${ncn_progname}; ac_word=$2
7322 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7323 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7324 if test "${ac_cv_prog_WINDRES+set}" = set; then
7325 echo $ECHO_N "(cached
) $ECHO_C" >&6
7327 if test -n "$WINDRES"; then
7328 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_WINDRES="${ncn_progname}"
7338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7346 WINDRES=$ac_cv_prog_WINDRES
7347 if test -n "$WINDRES"; then
7348 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7349 echo "${ECHO_T}$WINDRES" >&6
7351 echo "$as_me:$LINENO: result
: no
" >&5
7352 echo "${ECHO_T}no
" >&6
7358 for ncn_progname in windres; do
7359 if test -n "$ncn_tool_prefix"; then
7360 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7361 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7362 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7363 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7364 if test "${ac_cv_prog_WINDRES+set}" = set; then
7365 echo $ECHO_N "(cached
) $ECHO_C" >&6
7367 if test -n "$WINDRES"; then
7368 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7378 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7386 WINDRES=$ac_cv_prog_WINDRES
7387 if test -n "$WINDRES"; then
7388 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7389 echo "${ECHO_T}$WINDRES" >&6
7391 echo "$as_me:$LINENO: result
: no
" >&5
7392 echo "${ECHO_T}no
" >&6
7396 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7398 set dummy ${ncn_progname}; ac_word=$2
7399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7401 if test "${ac_cv_prog_WINDRES+set}" = set; then
7402 echo $ECHO_N "(cached
) $ECHO_C" >&6
7404 if test -n "$WINDRES"; then
7405 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_WINDRES="${ncn_progname}"
7415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7423 WINDRES=$ac_cv_prog_WINDRES
7424 if test -n "$WINDRES"; then
7425 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7426 echo "${ECHO_T}$WINDRES" >&6
7428 echo "$as_me:$LINENO: result
: no
" >&5
7429 echo "${ECHO_T}no
" >&6
7433 test -n "$ac_cv_prog_WINDRES" && break
7436 if test -z "$ac_cv_prog_WINDRES" ; then
7438 if test $build = $host ; then
7441 WINDRES="${ncn_tool_prefix}$2"
7447 if test -n "$WINDMC"; then
7448 ac_cv_prog_WINDMC=$WINDMC
7449 elif test -n "$ac_cv_prog_WINDMC"; then
7450 WINDMC=$ac_cv_prog_WINDMC
7453 if test -n "$ac_cv_prog_WINDMC"; then
7454 for ncn_progname in windmc; do
7455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7456 set dummy ${ncn_progname}; ac_word=$2
7457 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7459 if test "${ac_cv_prog_WINDMC+set}" = set; then
7460 echo $ECHO_N "(cached
) $ECHO_C" >&6
7462 if test -n "$WINDMC"; then
7463 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_WINDMC="${ncn_progname}"
7473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7481 WINDMC=$ac_cv_prog_WINDMC
7482 if test -n "$WINDMC"; then
7483 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7484 echo "${ECHO_T}$WINDMC" >&6
7486 echo "$as_me:$LINENO: result
: no
" >&5
7487 echo "${ECHO_T}no
" >&6
7493 for ncn_progname in windmc; do
7494 if test -n "$ncn_tool_prefix"; then
7495 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7496 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7497 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7498 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7499 if test "${ac_cv_prog_WINDMC+set}" = set; then
7500 echo $ECHO_N "(cached
) $ECHO_C" >&6
7502 if test -n "$WINDMC"; then
7503 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir=.
7510 for ac_exec_ext in '' $ac_executable_extensions; do
7511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7513 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7521 WINDMC=$ac_cv_prog_WINDMC
7522 if test -n "$WINDMC"; then
7523 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7524 echo "${ECHO_T}$WINDMC" >&6
7526 echo "$as_me:$LINENO: result
: no
" >&5
7527 echo "${ECHO_T}no
" >&6
7531 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7533 set dummy ${ncn_progname}; ac_word=$2
7534 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7535 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7536 if test "${ac_cv_prog_WINDMC+set}" = set; then
7537 echo $ECHO_N "(cached
) $ECHO_C" >&6
7539 if test -n "$WINDMC"; then
7540 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_prog_WINDMC="${ncn_progname}"
7550 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7558 WINDMC=$ac_cv_prog_WINDMC
7559 if test -n "$WINDMC"; then
7560 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7561 echo "${ECHO_T}$WINDMC" >&6
7563 echo "$as_me:$LINENO: result
: no
" >&5
7564 echo "${ECHO_T}no
" >&6
7568 test -n "$ac_cv_prog_WINDMC" && break
7571 if test -z "$ac_cv_prog_WINDMC" ; then
7573 if test $build = $host ; then
7576 WINDMC="${ncn_tool_prefix}$2"
7582 if test -n "$OBJCOPY"; then
7583 ac_cv_prog_OBJCOPY=$OBJCOPY
7584 elif test -n "$ac_cv_prog_OBJCOPY"; then
7585 OBJCOPY=$ac_cv_prog_OBJCOPY
7588 if test -n "$ac_cv_prog_OBJCOPY"; then
7589 for ncn_progname in objcopy; do
7590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7591 set dummy ${ncn_progname}; ac_word=$2
7592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7594 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7595 echo $ECHO_N "(cached
) $ECHO_C" >&6
7597 if test -n "$OBJCOPY"; then
7598 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_OBJCOPY="${ncn_progname}"
7608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7616 OBJCOPY=$ac_cv_prog_OBJCOPY
7617 if test -n "$OBJCOPY"; then
7618 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7619 echo "${ECHO_T}$OBJCOPY" >&6
7621 echo "$as_me:$LINENO: result
: no
" >&5
7622 echo "${ECHO_T}no
" >&6
7628 for ncn_progname in objcopy; do
7629 if test -n "$ncn_tool_prefix"; then
7630 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7631 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7632 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7634 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7635 echo $ECHO_N "(cached
) $ECHO_C" >&6
7637 if test -n "$OBJCOPY"; then
7638 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7647 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7656 OBJCOPY=$ac_cv_prog_OBJCOPY
7657 if test -n "$OBJCOPY"; then
7658 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7659 echo "${ECHO_T}$OBJCOPY" >&6
7661 echo "$as_me:$LINENO: result
: no
" >&5
7662 echo "${ECHO_T}no
" >&6
7666 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7668 set dummy ${ncn_progname}; ac_word=$2
7669 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7671 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7672 echo $ECHO_N "(cached
) $ECHO_C" >&6
7674 if test -n "$OBJCOPY"; then
7675 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_OBJCOPY="${ncn_progname}"
7685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7693 OBJCOPY=$ac_cv_prog_OBJCOPY
7694 if test -n "$OBJCOPY"; then
7695 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7696 echo "${ECHO_T}$OBJCOPY" >&6
7698 echo "$as_me:$LINENO: result
: no
" >&5
7699 echo "${ECHO_T}no
" >&6
7703 test -n "$ac_cv_prog_OBJCOPY" && break
7706 if test -z "$ac_cv_prog_OBJCOPY" ; then
7708 if test $build = $host ; then
7711 OBJCOPY="${ncn_tool_prefix}$2"
7717 if test -n "$OBJDUMP"; then
7718 ac_cv_prog_OBJDUMP=$OBJDUMP
7719 elif test -n "$ac_cv_prog_OBJDUMP"; then
7720 OBJDUMP=$ac_cv_prog_OBJDUMP
7723 if test -n "$ac_cv_prog_OBJDUMP"; then
7724 for ncn_progname in objdump; do
7725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7726 set dummy ${ncn_progname}; ac_word=$2
7727 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7728 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7729 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7730 echo $ECHO_N "(cached
) $ECHO_C" >&6
7732 if test -n "$OBJDUMP"; then
7733 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_OBJDUMP="${ncn_progname}"
7743 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 OBJDUMP=$ac_cv_prog_OBJDUMP
7752 if test -n "$OBJDUMP"; then
7753 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7754 echo "${ECHO_T}$OBJDUMP" >&6
7756 echo "$as_me:$LINENO: result
: no
" >&5
7757 echo "${ECHO_T}no
" >&6
7763 for ncn_progname in objdump; do
7764 if test -n "$ncn_tool_prefix"; then
7765 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7766 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7767 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7768 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7769 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7770 echo $ECHO_N "(cached
) $ECHO_C" >&6
7772 if test -n "$OBJDUMP"; then
7773 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7782 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7783 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7791 OBJDUMP=$ac_cv_prog_OBJDUMP
7792 if test -n "$OBJDUMP"; then
7793 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7794 echo "${ECHO_T}$OBJDUMP" >&6
7796 echo "$as_me:$LINENO: result
: no
" >&5
7797 echo "${ECHO_T}no
" >&6
7801 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7803 set dummy ${ncn_progname}; ac_word=$2
7804 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7805 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7806 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7807 echo $ECHO_N "(cached
) $ECHO_C" >&6
7809 if test -n "$OBJDUMP"; then
7810 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_prog_OBJDUMP="${ncn_progname}"
7820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7828 OBJDUMP=$ac_cv_prog_OBJDUMP
7829 if test -n "$OBJDUMP"; then
7830 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7831 echo "${ECHO_T}$OBJDUMP" >&6
7833 echo "$as_me:$LINENO: result
: no
" >&5
7834 echo "${ECHO_T}no
" >&6
7838 test -n "$ac_cv_prog_OBJDUMP" && break
7841 if test -z "$ac_cv_prog_OBJDUMP" ; then
7843 if test $build = $host ; then
7846 OBJDUMP="${ncn_tool_prefix}$2"
7858 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7859 if test "${with_build_time_tools+set}" = set; then
7860 withval="$with_build_time_tools"
7864 with_build_time_tools=
7865 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7866 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7870 with_build_time_tools=
7875 if test -n "$CC_FOR_TARGET"; then
7876 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7877 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7878 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7881 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7882 for ncn_progname in cc gcc; do
7883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7884 set dummy ${ncn_progname}; ac_word=$2
7885 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7887 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7888 echo $ECHO_N "(cached
) $ECHO_C" >&6
7890 if test -n "$CC_FOR_TARGET"; then
7891 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7909 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7910 if test -n "$CC_FOR_TARGET"; then
7911 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7912 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7914 echo "$as_me:$LINENO: result
: no
" >&5
7915 echo "${ECHO_T}no
" >&6
7921 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
7922 for ncn_progname in cc gcc; do
7923 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7924 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7925 if test -x $with_build_time_tools/${ncn_progname}; then
7926 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7927 echo "$as_me:$LINENO: result
: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7931 echo "$as_me:$LINENO: result
: no
" >&5
7932 echo "${ECHO_T}no
" >&6
7937 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
7938 for ncn_progname in cc gcc; do
7939 if test -n "$ncn_target_tool_prefix"; then
7940 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7941 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7942 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7944 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7945 echo $ECHO_N "(cached
) $ECHO_C" >&6
7947 if test -n "$CC_FOR_TARGET"; then
7948 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7966 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7967 if test -n "$CC_FOR_TARGET"; then
7968 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7969 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7971 echo "$as_me:$LINENO: result
: no
" >&5
7972 echo "${ECHO_T}no
" >&6
7976 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
7977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7978 set dummy ${ncn_progname}; ac_word=$2
7979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7981 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7982 echo $ECHO_N "(cached
) $ECHO_C" >&6
7984 if test -n "$CC_FOR_TARGET"; then
7985 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8003 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8004 if test -n "$CC_FOR_TARGET"; then
8005 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8006 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8008 echo "$as_me:$LINENO: result
: no
" >&5
8009 echo "${ECHO_T}no
" >&6
8013 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8017 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8019 if test $build = $target ; then
8022 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8028 if test -n "$CXX_FOR_TARGET"; then
8029 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8030 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8031 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8034 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8035 for ncn_progname in c++ g++ cxx gxx; do
8036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8037 set dummy ${ncn_progname}; ac_word=$2
8038 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8039 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8040 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8041 echo $ECHO_N "(cached
) $ECHO_C" >&6
8043 if test -n "$CXX_FOR_TARGET"; then
8044 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8054 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8063 if test -n "$CXX_FOR_TARGET"; then
8064 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8065 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8067 echo "$as_me:$LINENO: result
: no
" >&5
8068 echo "${ECHO_T}no
" >&6
8074 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8075 for ncn_progname in c++ g++ cxx gxx; do
8076 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8077 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8078 if test -x $with_build_time_tools/${ncn_progname}; then
8079 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8080 echo "$as_me:$LINENO: result
: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8084 echo "$as_me:$LINENO: result
: no
" >&5
8085 echo "${ECHO_T}no
" >&6
8090 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8091 for ncn_progname in c++ g++ cxx gxx; do
8092 if test -n "$ncn_target_tool_prefix"; then
8093 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8094 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8095 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8096 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8097 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8098 echo $ECHO_N "(cached
) $ECHO_C" >&6
8100 if test -n "$CXX_FOR_TARGET"; then
8101 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8111 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8119 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8120 if test -n "$CXX_FOR_TARGET"; then
8121 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8122 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8124 echo "$as_me:$LINENO: result
: no
" >&5
8125 echo "${ECHO_T}no
" >&6
8129 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8131 set dummy ${ncn_progname}; ac_word=$2
8132 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8133 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8134 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8135 echo $ECHO_N "(cached
) $ECHO_C" >&6
8137 if test -n "$CXX_FOR_TARGET"; then
8138 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8148 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8156 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8157 if test -n "$CXX_FOR_TARGET"; then
8158 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8159 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8161 echo "$as_me:$LINENO: result
: no
" >&5
8162 echo "${ECHO_T}no
" >&6
8166 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8170 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8171 set dummy c++ g++ cxx gxx
8172 if test $build = $target ; then
8175 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8181 if test -n "$GCC_FOR_TARGET"; then
8182 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8183 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8184 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8187 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8188 for ncn_progname in gcc; do
8189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8190 set dummy ${ncn_progname}; ac_word=$2
8191 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8192 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8193 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8194 echo $ECHO_N "(cached
) $ECHO_C" >&6
8196 if test -n "$GCC_FOR_TARGET"; then
8197 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8207 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8216 if test -n "$GCC_FOR_TARGET"; then
8217 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8218 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8220 echo "$as_me:$LINENO: result
: no
" >&5
8221 echo "${ECHO_T}no
" >&6
8227 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8228 for ncn_progname in gcc; do
8229 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8230 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8231 if test -x $with_build_time_tools/${ncn_progname}; then
8232 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8233 echo "$as_me:$LINENO: result
: yes" >&5
8234 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result
: no
" >&5
8238 echo "${ECHO_T}no
" >&6
8243 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8244 for ncn_progname in gcc; do
8245 if test -n "$ncn_target_tool_prefix"; then
8246 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8247 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8248 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8249 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8250 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8251 echo $ECHO_N "(cached
) $ECHO_C" >&6
8253 if test -n "$GCC_FOR_TARGET"; then
8254 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8272 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8273 if test -n "$GCC_FOR_TARGET"; then
8274 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8275 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8277 echo "$as_me:$LINENO: result
: no
" >&5
8278 echo "${ECHO_T}no
" >&6
8282 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8283 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8284 set dummy ${ncn_progname}; ac_word=$2
8285 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8286 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8287 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8288 echo $ECHO_N "(cached
) $ECHO_C" >&6
8290 if test -n "$GCC_FOR_TARGET"; then
8291 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8297 test -z "$as_dir" && as_dir=.
8298 for ac_exec_ext in '' $ac_executable_extensions; do
8299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8300 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8301 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8309 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8310 if test -n "$GCC_FOR_TARGET"; then
8311 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8312 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8314 echo "$as_me:$LINENO: result
: no
" >&5
8315 echo "${ECHO_T}no
" >&6
8319 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8323 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8324 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8329 if test -n "$GCJ_FOR_TARGET"; then
8330 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8331 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8332 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8335 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8336 for ncn_progname in gcj; do
8337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8338 set dummy ${ncn_progname}; ac_word=$2
8339 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8341 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8342 echo $ECHO_N "(cached
) $ECHO_C" >&6
8344 if test -n "$GCJ_FOR_TARGET"; then
8345 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8354 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8364 if test -n "$GCJ_FOR_TARGET"; then
8365 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8366 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8368 echo "$as_me:$LINENO: result
: no
" >&5
8369 echo "${ECHO_T}no
" >&6
8375 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8376 for ncn_progname in gcj; do
8377 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8378 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8379 if test -x $with_build_time_tools/${ncn_progname}; then
8380 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8381 echo "$as_me:$LINENO: result
: yes" >&5
8382 echo "${ECHO_T}yes" >&6
8385 echo "$as_me:$LINENO: result
: no
" >&5
8386 echo "${ECHO_T}no
" >&6
8391 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8392 for ncn_progname in gcj; do
8393 if test -n "$ncn_target_tool_prefix"; then
8394 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8395 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8396 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8397 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8398 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8399 echo $ECHO_N "(cached
) $ECHO_C" >&6
8401 if test -n "$GCJ_FOR_TARGET"; then
8402 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8411 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8412 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8420 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8421 if test -n "$GCJ_FOR_TARGET"; then
8422 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8423 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8425 echo "$as_me:$LINENO: result
: no
" >&5
8426 echo "${ECHO_T}no
" >&6
8430 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8432 set dummy ${ncn_progname}; ac_word=$2
8433 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8435 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8436 echo $ECHO_N "(cached
) $ECHO_C" >&6
8438 if test -n "$GCJ_FOR_TARGET"; then
8439 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir=.
8446 for ac_exec_ext in '' $ac_executable_extensions; do
8447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8448 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8457 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8458 if test -n "$GCJ_FOR_TARGET"; then
8459 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8460 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8462 echo "$as_me:$LINENO: result
: no
" >&5
8463 echo "${ECHO_T}no
" >&6
8467 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8471 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8473 if test $build = $target ; then
8476 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8482 if test -n "$GFORTRAN_FOR_TARGET"; then
8483 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8484 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8485 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8488 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8489 for ncn_progname in gfortran; do
8490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8491 set dummy ${ncn_progname}; ac_word=$2
8492 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8493 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8494 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8495 echo $ECHO_N "(cached
) $ECHO_C" >&6
8497 if test -n "$GFORTRAN_FOR_TARGET"; then
8498 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8508 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8517 if test -n "$GFORTRAN_FOR_TARGET"; then
8518 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8519 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8521 echo "$as_me:$LINENO: result
: no
" >&5
8522 echo "${ECHO_T}no
" >&6
8528 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8529 for ncn_progname in gfortran; do
8530 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8531 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8532 if test -x $with_build_time_tools/${ncn_progname}; then
8533 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8534 echo "$as_me:$LINENO: result
: yes" >&5
8535 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result
: no
" >&5
8539 echo "${ECHO_T}no
" >&6
8544 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8545 for ncn_progname in gfortran; do
8546 if test -n "$ncn_target_tool_prefix"; then
8547 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8548 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8549 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8550 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8551 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8552 echo $ECHO_N "(cached
) $ECHO_C" >&6
8554 if test -n "$GFORTRAN_FOR_TARGET"; then
8555 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561 test -z "$as_dir" && as_dir=.
8562 for ac_exec_ext in '' $ac_executable_extensions; do
8563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8564 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8565 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8573 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8574 if test -n "$GFORTRAN_FOR_TARGET"; then
8575 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8576 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8578 echo "$as_me:$LINENO: result
: no
" >&5
8579 echo "${ECHO_T}no
" >&6
8583 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8585 set dummy ${ncn_progname}; ac_word=$2
8586 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8587 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8588 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8589 echo $ECHO_N "(cached
) $ECHO_C" >&6
8591 if test -n "$GFORTRAN_FOR_TARGET"; then
8592 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8601 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8611 if test -n "$GFORTRAN_FOR_TARGET"; then
8612 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8613 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8615 echo "$as_me:$LINENO: result
: no
" >&5
8616 echo "${ECHO_T}no
" >&6
8620 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8624 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8626 if test $build = $target ; then
8627 GFORTRAN_FOR_TARGET="$2"
8629 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8635 cat > conftest.c << \EOF
8640 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8641 have_gcc_for_target=yes
8643 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8644 have_gcc_for_target=no
8651 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8652 if test -n "$with_build_time_tools"; then
8653 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8654 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8655 if test -x $with_build_time_tools/ar; then
8656 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8657 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8658 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8659 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8661 echo "$as_me:$LINENO: result
: no
" >&5
8662 echo "${ECHO_T}no
" >&6
8664 elif test $build != $host && test $have_gcc_for_target = yes; then
8665 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8666 test $AR_FOR_TARGET=ar && AR_FOR_TARGET=
8667 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8670 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8671 # Extract the first word of "ar", so it can be a program name with args.
8672 set dummy ar; ac_word=$2
8673 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8674 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8675 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8676 echo $ECHO_N "(cached
) $ECHO_C" >&6
8678 case $AR_FOR_TARGET in
8680 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in $gcc_cv_tool_dirs
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8691 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8700 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8702 if test -n "$AR_FOR_TARGET"; then
8703 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8704 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8706 echo "$as_me:$LINENO: result
: no
" >&5
8707 echo "${ECHO_T}no
" >&6
8711 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8714 if test -n "$AR_FOR_TARGET"; then
8715 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8716 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8717 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8720 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8721 for ncn_progname in ar; do
8722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8723 set dummy ${ncn_progname}; ac_word=$2
8724 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8725 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8726 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8727 echo $ECHO_N "(cached
) $ECHO_C" >&6
8729 if test -n "$AR_FOR_TARGET"; then
8730 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8736 test -z "$as_dir" && as_dir=.
8737 for ac_exec_ext in '' $ac_executable_extensions; do
8738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8739 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8740 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8748 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8749 if test -n "$AR_FOR_TARGET"; then
8750 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8751 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8753 echo "$as_me:$LINENO: result
: no
" >&5
8754 echo "${ECHO_T}no
" >&6
8760 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8761 for ncn_progname in ar; do
8762 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8763 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8764 if test -x $with_build_time_tools/${ncn_progname}; then
8765 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8766 echo "$as_me:$LINENO: result
: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result
: no
" >&5
8771 echo "${ECHO_T}no
" >&6
8776 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8777 for ncn_progname in ar; do
8778 if test -n "$ncn_target_tool_prefix"; then
8779 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8780 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8781 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8782 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8783 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8784 echo $ECHO_N "(cached
) $ECHO_C" >&6
8786 if test -n "$AR_FOR_TARGET"; then
8787 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8797 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8806 if test -n "$AR_FOR_TARGET"; then
8807 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8808 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8810 echo "$as_me:$LINENO: result
: no
" >&5
8811 echo "${ECHO_T}no
" >&6
8815 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8817 set dummy ${ncn_progname}; ac_word=$2
8818 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8819 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8820 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8821 echo $ECHO_N "(cached
) $ECHO_C" >&6
8823 if test -n "$AR_FOR_TARGET"; then
8824 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8830 test -z "$as_dir" && as_dir=.
8831 for ac_exec_ext in '' $ac_executable_extensions; do
8832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8833 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8834 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8842 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8843 if test -n "$AR_FOR_TARGET"; then
8844 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8845 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8847 echo "$as_me:$LINENO: result
: no
" >&5
8848 echo "${ECHO_T}no
" >&6
8852 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8856 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8858 if test $build = $target ; then
8861 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8866 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8872 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8873 if test -n "$with_build_time_tools"; then
8874 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
8875 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
8876 if test -x $with_build_time_tools/as; then
8877 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
8878 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8879 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
8880 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
8882 echo "$as_me:$LINENO: result
: no
" >&5
8883 echo "${ECHO_T}no
" >&6
8885 elif test $build != $host && test $have_gcc_for_target = yes; then
8886 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
8887 test $AS_FOR_TARGET=as && AS_FOR_TARGET=
8888 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8891 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8892 # Extract the first word of "as
", so it can be a program name with args.
8893 set dummy as; ac_word=$2
8894 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8895 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8896 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
8897 echo $ECHO_N "(cached
) $ECHO_C" >&6
8899 case $AS_FOR_TARGET in
8901 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905 for as_dir in $gcc_cv_tool_dirs
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8912 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8921 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8923 if test -n "$AS_FOR_TARGET"; then
8924 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8925 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8927 echo "$as_me:$LINENO: result
: no
" >&5
8928 echo "${ECHO_T}no
" >&6
8932 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8935 if test -n "$AS_FOR_TARGET"; then
8936 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
8937 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8938 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8941 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8942 for ncn_progname in as; do
8943 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8944 set dummy ${ncn_progname}; ac_word=$2
8945 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8946 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8947 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8948 echo $ECHO_N "(cached
) $ECHO_C" >&6
8950 if test -n "$AS_FOR_TARGET"; then
8951 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8957 test -z "$as_dir" && as_dir=.
8958 for ac_exec_ext in '' $ac_executable_extensions; do
8959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8960 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8961 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8969 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8970 if test -n "$AS_FOR_TARGET"; then
8971 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8972 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8974 echo "$as_me:$LINENO: result
: no
" >&5
8975 echo "${ECHO_T}no
" >&6
8981 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
8982 for ncn_progname in as; do
8983 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8984 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8985 if test -x $with_build_time_tools/${ncn_progname}; then
8986 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8987 echo "$as_me:$LINENO: result
: yes" >&5
8988 echo "${ECHO_T}yes" >&6
8991 echo "$as_me:$LINENO: result
: no
" >&5
8992 echo "${ECHO_T}no
" >&6
8997 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
8998 for ncn_progname in as; do
8999 if test -n "$ncn_target_tool_prefix"; then
9000 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9001 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9002 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9003 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9004 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9005 echo $ECHO_N "(cached
) $ECHO_C" >&6
9007 if test -n "$AS_FOR_TARGET"; then
9008 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9017 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9018 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9026 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9027 if test -n "$AS_FOR_TARGET"; then
9028 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9029 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9031 echo "$as_me:$LINENO: result
: no
" >&5
9032 echo "${ECHO_T}no
" >&6
9036 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9038 set dummy ${ncn_progname}; ac_word=$2
9039 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9041 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9042 echo $ECHO_N "(cached
) $ECHO_C" >&6
9044 if test -n "$AS_FOR_TARGET"; then
9045 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir=.
9052 for ac_exec_ext in '' $ac_executable_extensions; do
9053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9054 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9063 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9064 if test -n "$AS_FOR_TARGET"; then
9065 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9066 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9068 echo "$as_me:$LINENO: result
: no
" >&5
9069 echo "${ECHO_T}no
" >&6
9073 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9077 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9079 if test $build = $target ; then
9082 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9087 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9093 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9094 if test -n "$with_build_time_tools"; then
9095 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9096 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9097 if test -x $with_build_time_tools/dlltool; then
9098 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9099 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9100 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9101 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9103 echo "$as_me:$LINENO: result
: no
" >&5
9104 echo "${ECHO_T}no
" >&6
9106 elif test $build != $host && test $have_gcc_for_target = yes; then
9107 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9108 test $DLLTOOL_FOR_TARGET=dlltool && DLLTOOL_FOR_TARGET=
9109 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9112 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9113 # Extract the first word of "dlltool
", so it can be a program name with args.
9114 set dummy dlltool; ac_word=$2
9115 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9117 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9118 echo $ECHO_N "(cached
) $ECHO_C" >&6
9120 case $DLLTOOL_FOR_TARGET in
9122 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 for as_dir in $gcc_cv_tool_dirs
9129 test -z "$as_dir" && as_dir=.
9130 for ac_exec_ext in '' $ac_executable_extensions; do
9131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9132 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9133 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9142 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9144 if test -n "$DLLTOOL_FOR_TARGET"; then
9145 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9146 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9148 echo "$as_me:$LINENO: result
: no
" >&5
9149 echo "${ECHO_T}no
" >&6
9153 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9156 if test -n "$DLLTOOL_FOR_TARGET"; then
9157 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9158 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9159 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9162 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9163 for ncn_progname in dlltool; do
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_DLLTOOL_FOR_TARGET+set}" = set; then
9169 echo $ECHO_N "(cached
) $ECHO_C" >&6
9171 if test -n "$DLLTOOL_FOR_TARGET"; then
9172 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_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_DLLTOOL_FOR_TARGET="${ncn_progname}"
9182 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9190 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9191 if test -n "$DLLTOOL_FOR_TARGET"; then
9192 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9193 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9195 echo "$as_me:$LINENO: result
: no
" >&5
9196 echo "${ECHO_T}no
" >&6
9202 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9203 for ncn_progname in dlltool; do
9204 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9205 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9206 if test -x $with_build_time_tools/${ncn_progname}; then
9207 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9208 echo "$as_me:$LINENO: result
: yes" >&5
9209 echo "${ECHO_T}yes" >&6
9212 echo "$as_me:$LINENO: result
: no
" >&5
9213 echo "${ECHO_T}no
" >&6
9218 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9219 for ncn_progname in dlltool; do
9220 if test -n "$ncn_target_tool_prefix"; then
9221 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9222 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9223 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9224 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9225 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9226 echo $ECHO_N "(cached
) $ECHO_C" >&6
9228 if test -n "$DLLTOOL_FOR_TARGET"; then
9229 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235 test -z "$as_dir" && as_dir=.
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9239 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9247 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9248 if test -n "$DLLTOOL_FOR_TARGET"; then
9249 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9250 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9252 echo "$as_me:$LINENO: result
: no
" >&5
9253 echo "${ECHO_T}no
" >&6
9257 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9258 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9259 set dummy ${ncn_progname}; ac_word=$2
9260 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9262 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9263 echo $ECHO_N "(cached
) $ECHO_C" >&6
9265 if test -n "$DLLTOOL_FOR_TARGET"; then
9266 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 test -z "$as_dir" && as_dir=.
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9275 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9284 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9285 if test -n "$DLLTOOL_FOR_TARGET"; then
9286 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9287 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9289 echo "$as_me:$LINENO: result
: no
" >&5
9290 echo "${ECHO_T}no
" >&6
9294 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9298 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9300 if test $build = $target ; then
9301 DLLTOOL_FOR_TARGET="$2"
9303 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9308 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9314 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9315 if test -n "$with_build_time_tools"; then
9316 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9317 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9318 if test -x $with_build_time_tools/ld; then
9319 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9320 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9321 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9322 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9324 echo "$as_me:$LINENO: result
: no
" >&5
9325 echo "${ECHO_T}no
" >&6
9327 elif test $build != $host && test $have_gcc_for_target = yes; then
9328 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9329 test $LD_FOR_TARGET=ld && LD_FOR_TARGET=
9330 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9333 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9334 # Extract the first word of "ld
", so it can be a program name with args.
9335 set dummy ld; ac_word=$2
9336 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9337 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9338 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9339 echo $ECHO_N "(cached
) $ECHO_C" >&6
9341 case $LD_FOR_TARGET in
9343 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $gcc_cv_tool_dirs
9350 test -z "$as_dir" && as_dir=.
9351 for ac_exec_ext in '' $ac_executable_extensions; do
9352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9353 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9354 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9363 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9365 if test -n "$LD_FOR_TARGET"; then
9366 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9367 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9369 echo "$as_me:$LINENO: result
: no
" >&5
9370 echo "${ECHO_T}no
" >&6
9374 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9377 if test -n "$LD_FOR_TARGET"; then
9378 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9379 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9380 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9383 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9384 for ncn_progname in ld; do
9385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9386 set dummy ${ncn_progname}; ac_word=$2
9387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9389 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9390 echo $ECHO_N "(cached
) $ECHO_C" >&6
9392 if test -n "$LD_FOR_TARGET"; then
9393 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 test -z "$as_dir" && as_dir=.
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9411 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9412 if test -n "$LD_FOR_TARGET"; then
9413 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9414 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9416 echo "$as_me:$LINENO: result
: no
" >&5
9417 echo "${ECHO_T}no
" >&6
9423 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9424 for ncn_progname in ld; do
9425 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9426 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9427 if test -x $with_build_time_tools/${ncn_progname}; then
9428 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9429 echo "$as_me:$LINENO: result
: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9433 echo "$as_me:$LINENO: result
: no
" >&5
9434 echo "${ECHO_T}no
" >&6
9439 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9440 for ncn_progname in ld; do
9441 if test -n "$ncn_target_tool_prefix"; then
9442 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9443 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9444 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9445 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9446 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9447 echo $ECHO_N "(cached
) $ECHO_C" >&6
9449 if test -n "$LD_FOR_TARGET"; then
9450 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9456 test -z "$as_dir" && as_dir=.
9457 for ac_exec_ext in '' $ac_executable_extensions; do
9458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9459 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9460 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9468 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9469 if test -n "$LD_FOR_TARGET"; then
9470 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9471 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9473 echo "$as_me:$LINENO: result
: no
" >&5
9474 echo "${ECHO_T}no
" >&6
9478 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9479 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9480 set dummy ${ncn_progname}; ac_word=$2
9481 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9482 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9483 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9484 echo $ECHO_N "(cached
) $ECHO_C" >&6
9486 if test -n "$LD_FOR_TARGET"; then
9487 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9493 test -z "$as_dir" && as_dir=.
9494 for ac_exec_ext in '' $ac_executable_extensions; do
9495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9496 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9497 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9505 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9506 if test -n "$LD_FOR_TARGET"; then
9507 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9508 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9510 echo "$as_me:$LINENO: result
: no
" >&5
9511 echo "${ECHO_T}no
" >&6
9515 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9519 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9521 if test $build = $target ; then
9524 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9529 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9535 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9536 if test -n "$with_build_time_tools"; then
9537 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9538 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9539 if test -x $with_build_time_tools/lipo; then
9540 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9541 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9542 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9543 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9545 echo "$as_me:$LINENO: result
: no
" >&5
9546 echo "${ECHO_T}no
" >&6
9548 elif test $build != $host && test $have_gcc_for_target = yes; then
9549 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9550 test $LIPO_FOR_TARGET=lipo && LIPO_FOR_TARGET=
9551 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9554 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9555 # Extract the first word of "lipo
", so it can be a program name with args.
9556 set dummy lipo; ac_word=$2
9557 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9558 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9559 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9560 echo $ECHO_N "(cached
) $ECHO_C" >&6
9562 case $LIPO_FOR_TARGET in
9564 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9568 for as_dir in $gcc_cv_tool_dirs
9571 test -z "$as_dir" && as_dir=.
9572 for ac_exec_ext in '' $ac_executable_extensions; do
9573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9574 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9575 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9584 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9586 if test -n "$LIPO_FOR_TARGET"; then
9587 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9588 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9590 echo "$as_me:$LINENO: result
: no
" >&5
9591 echo "${ECHO_T}no
" >&6
9595 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9598 if test -n "$LIPO_FOR_TARGET"; then
9599 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9600 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9601 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9604 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9605 for ncn_progname in lipo; do
9606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9607 set dummy ${ncn_progname}; ac_word=$2
9608 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9609 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9610 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9611 echo $ECHO_N "(cached
) $ECHO_C" >&6
9613 if test -n "$LIPO_FOR_TARGET"; then
9614 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 test -z "$as_dir" && as_dir=.
9621 for ac_exec_ext in '' $ac_executable_extensions; do
9622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9623 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9624 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9632 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9633 if test -n "$LIPO_FOR_TARGET"; then
9634 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9635 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9637 echo "$as_me:$LINENO: result
: no
" >&5
9638 echo "${ECHO_T}no
" >&6
9644 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9645 for ncn_progname in lipo; do
9646 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9647 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9648 if test -x $with_build_time_tools/${ncn_progname}; then
9649 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9650 echo "$as_me:$LINENO: result
: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9654 echo "$as_me:$LINENO: result
: no
" >&5
9655 echo "${ECHO_T}no
" >&6
9660 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9661 for ncn_progname in lipo; do
9662 if test -n "$ncn_target_tool_prefix"; then
9663 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9664 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9665 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9666 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9667 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9668 echo $ECHO_N "(cached
) $ECHO_C" >&6
9670 if test -n "$LIPO_FOR_TARGET"; then
9671 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9680 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9681 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9689 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9690 if test -n "$LIPO_FOR_TARGET"; then
9691 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9692 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9694 echo "$as_me:$LINENO: result
: no
" >&5
9695 echo "${ECHO_T}no
" >&6
9699 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9701 set dummy ${ncn_progname}; ac_word=$2
9702 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9703 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9704 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9705 echo $ECHO_N "(cached
) $ECHO_C" >&6
9707 if test -n "$LIPO_FOR_TARGET"; then
9708 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir=.
9715 for ac_exec_ext in '' $ac_executable_extensions; do
9716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9717 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9718 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9726 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9727 if test -n "$LIPO_FOR_TARGET"; then
9728 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9729 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9731 echo "$as_me:$LINENO: result
: no
" >&5
9732 echo "${ECHO_T}no
" >&6
9736 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9740 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9742 if test $build = $target ; then
9743 LIPO_FOR_TARGET="$2"
9745 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9750 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9756 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9757 if test -n "$with_build_time_tools"; then
9758 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9759 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9760 if test -x $with_build_time_tools/nm; then
9761 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9762 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9763 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9764 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9766 echo "$as_me:$LINENO: result
: no
" >&5
9767 echo "${ECHO_T}no
" >&6
9769 elif test $build != $host && test $have_gcc_for_target = yes; then
9770 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9771 test $NM_FOR_TARGET=nm && NM_FOR_TARGET=
9772 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9775 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9776 # Extract the first word of "nm
", so it can be a program name with args.
9777 set dummy nm; ac_word=$2
9778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9780 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9781 echo $ECHO_N "(cached
) $ECHO_C" >&6
9783 case $NM_FOR_TARGET in
9785 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9789 for as_dir in $gcc_cv_tool_dirs
9792 test -z "$as_dir" && as_dir=.
9793 for ac_exec_ext in '' $ac_executable_extensions; do
9794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9795 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9796 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9805 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9807 if test -n "$NM_FOR_TARGET"; then
9808 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9809 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9811 echo "$as_me:$LINENO: result
: no
" >&5
9812 echo "${ECHO_T}no
" >&6
9816 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9819 if test -n "$NM_FOR_TARGET"; then
9820 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9821 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9822 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9825 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9826 for ncn_progname in nm; do
9827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9828 set dummy ${ncn_progname}; ac_word=$2
9829 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9830 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9831 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9832 echo $ECHO_N "(cached
) $ECHO_C" >&6
9834 if test -n "$NM_FOR_TARGET"; then
9835 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir=.
9842 for ac_exec_ext in '' $ac_executable_extensions; do
9843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9844 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9845 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9853 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9854 if test -n "$NM_FOR_TARGET"; then
9855 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9856 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9858 echo "$as_me:$LINENO: result
: no
" >&5
9859 echo "${ECHO_T}no
" >&6
9865 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
9866 for ncn_progname in nm; do
9867 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9868 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9869 if test -x $with_build_time_tools/${ncn_progname}; then
9870 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9871 echo "$as_me:$LINENO: result
: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9875 echo "$as_me:$LINENO: result
: no
" >&5
9876 echo "${ECHO_T}no
" >&6
9881 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
9882 for ncn_progname in nm; do
9883 if test -n "$ncn_target_tool_prefix"; then
9884 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9885 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9886 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9888 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9889 echo $ECHO_N "(cached
) $ECHO_C" >&6
9891 if test -n "$NM_FOR_TARGET"; then
9892 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9901 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9910 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9911 if test -n "$NM_FOR_TARGET"; then
9912 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9913 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9915 echo "$as_me:$LINENO: result
: no
" >&5
9916 echo "${ECHO_T}no
" >&6
9920 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
9921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9922 set dummy ${ncn_progname}; ac_word=$2
9923 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9924 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9925 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9926 echo $ECHO_N "(cached
) $ECHO_C" >&6
9928 if test -n "$NM_FOR_TARGET"; then
9929 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9935 test -z "$as_dir" && as_dir=.
9936 for ac_exec_ext in '' $ac_executable_extensions; do
9937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9938 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9939 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9947 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9948 if test -n "$NM_FOR_TARGET"; then
9949 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9950 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9952 echo "$as_me:$LINENO: result
: no
" >&5
9953 echo "${ECHO_T}no
" >&6
9957 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
9961 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
9963 if test $build = $target ; then
9966 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
9971 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9977 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
9978 if test -n "$with_build_time_tools"; then
9979 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
9980 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
9981 if test -x $with_build_time_tools/objdump; then
9982 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
9983 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9984 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
9985 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
9987 echo "$as_me:$LINENO: result
: no
" >&5
9988 echo "${ECHO_T}no
" >&6
9990 elif test $build != $host && test $have_gcc_for_target = yes; then
9991 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
9992 test $OBJDUMP_FOR_TARGET=objdump && OBJDUMP_FOR_TARGET=
9993 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9996 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9997 # Extract the first word of "objdump
", so it can be a program name with args.
9998 set dummy objdump; ac_word=$2
9999 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10000 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10001 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10002 echo $ECHO_N "(cached
) $ECHO_C" >&6
10004 case $OBJDUMP_FOR_TARGET in
10006 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10010 for as_dir in $gcc_cv_tool_dirs
10013 test -z "$as_dir" && as_dir=.
10014 for ac_exec_ext in '' $ac_executable_extensions; do
10015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10016 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10017 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10026 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10028 if test -n "$OBJDUMP_FOR_TARGET"; then
10029 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10030 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10032 echo "$as_me:$LINENO: result
: no
" >&5
10033 echo "${ECHO_T}no
" >&6
10037 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10040 if test -n "$OBJDUMP_FOR_TARGET"; then
10041 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10042 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10043 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10046 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10047 for ncn_progname in objdump; do
10048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10049 set dummy ${ncn_progname}; ac_word=$2
10050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10052 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10053 echo $ECHO_N "(cached
) $ECHO_C" >&6
10055 if test -n "$OBJDUMP_FOR_TARGET"; then
10056 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10059 for as_dir in $PATH
10062 test -z "$as_dir" && as_dir=.
10063 for ac_exec_ext in '' $ac_executable_extensions; do
10064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10065 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10074 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10075 if test -n "$OBJDUMP_FOR_TARGET"; then
10076 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10077 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10079 echo "$as_me:$LINENO: result
: no
" >&5
10080 echo "${ECHO_T}no
" >&6
10086 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10087 for ncn_progname in objdump; do
10088 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10089 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10090 if test -x $with_build_time_tools/${ncn_progname}; then
10091 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10092 echo "$as_me:$LINENO: result
: yes" >&5
10093 echo "${ECHO_T}yes" >&6
10096 echo "$as_me:$LINENO: result
: no
" >&5
10097 echo "${ECHO_T}no
" >&6
10102 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10103 for ncn_progname in objdump; do
10104 if test -n "$ncn_target_tool_prefix"; then
10105 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10106 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10107 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10108 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10109 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10110 echo $ECHO_N "(cached
) $ECHO_C" >&6
10112 if test -n "$OBJDUMP_FOR_TARGET"; then
10113 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10116 for as_dir in $PATH
10119 test -z "$as_dir" && as_dir=.
10120 for ac_exec_ext in '' $ac_executable_extensions; do
10121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10122 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10123 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10131 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10132 if test -n "$OBJDUMP_FOR_TARGET"; then
10133 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10134 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10136 echo "$as_me:$LINENO: result
: no
" >&5
10137 echo "${ECHO_T}no
" >&6
10141 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_progname}; ac_word=$2
10144 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10145 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10146 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10147 echo $ECHO_N "(cached
) $ECHO_C" >&6
10149 if test -n "$OBJDUMP_FOR_TARGET"; then
10150 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10159 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10160 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10168 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10169 if test -n "$OBJDUMP_FOR_TARGET"; then
10170 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10171 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10173 echo "$as_me:$LINENO: result
: no
" >&5
10174 echo "${ECHO_T}no
" >&6
10178 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10182 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10184 if test $build = $target ; then
10185 OBJDUMP_FOR_TARGET="$2"
10187 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10192 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10198 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10199 if test -n "$with_build_time_tools"; then
10200 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10201 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10202 if test -x $with_build_time_tools/ranlib; then
10203 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10204 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10205 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10206 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10208 echo "$as_me:$LINENO: result
: no
" >&5
10209 echo "${ECHO_T}no
" >&6
10211 elif test $build != $host && test $have_gcc_for_target = yes; then
10212 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10213 test $RANLIB_FOR_TARGET=ranlib && RANLIB_FOR_TARGET=
10214 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10217 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10218 # Extract the first word of "ranlib
", so it can be a program name with args.
10219 set dummy ranlib; ac_word=$2
10220 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10221 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10222 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10223 echo $ECHO_N "(cached
) $ECHO_C" >&6
10225 case $RANLIB_FOR_TARGET in
10227 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $gcc_cv_tool_dirs
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10238 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10247 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10249 if test -n "$RANLIB_FOR_TARGET"; then
10250 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10251 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10253 echo "$as_me:$LINENO: result
: no
" >&5
10254 echo "${ECHO_T}no
" >&6
10258 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10261 if test -n "$RANLIB_FOR_TARGET"; then
10262 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10263 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10264 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10267 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10268 for ncn_progname in ranlib; do
10269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10270 set dummy ${ncn_progname}; ac_word=$2
10271 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10272 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10273 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10274 echo $ECHO_N "(cached
) $ECHO_C" >&6
10276 if test -n "$RANLIB_FOR_TARGET"; then
10277 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10280 for as_dir in $PATH
10283 test -z "$as_dir" && as_dir=.
10284 for ac_exec_ext in '' $ac_executable_extensions; do
10285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10286 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10287 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10295 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10296 if test -n "$RANLIB_FOR_TARGET"; then
10297 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10298 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10300 echo "$as_me:$LINENO: result
: no
" >&5
10301 echo "${ECHO_T}no
" >&6
10307 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10308 for ncn_progname in ranlib; do
10309 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10310 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10311 if test -x $with_build_time_tools/${ncn_progname}; then
10312 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10313 echo "$as_me:$LINENO: result
: yes" >&5
10314 echo "${ECHO_T}yes" >&6
10317 echo "$as_me:$LINENO: result
: no
" >&5
10318 echo "${ECHO_T}no
" >&6
10323 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10324 for ncn_progname in ranlib; do
10325 if test -n "$ncn_target_tool_prefix"; then
10326 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10327 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10328 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10330 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10331 echo $ECHO_N "(cached
) $ECHO_C" >&6
10333 if test -n "$RANLIB_FOR_TARGET"; then
10334 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10337 for as_dir in $PATH
10340 test -z "$as_dir" && as_dir=.
10341 for ac_exec_ext in '' $ac_executable_extensions; do
10342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10343 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10344 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10352 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10353 if test -n "$RANLIB_FOR_TARGET"; then
10354 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10355 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10357 echo "$as_me:$LINENO: result
: no
" >&5
10358 echo "${ECHO_T}no
" >&6
10362 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10364 set dummy ${ncn_progname}; ac_word=$2
10365 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10367 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10368 echo $ECHO_N "(cached
) $ECHO_C" >&6
10370 if test -n "$RANLIB_FOR_TARGET"; then
10371 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10374 for as_dir in $PATH
10377 test -z "$as_dir" && as_dir=.
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10389 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10390 if test -n "$RANLIB_FOR_TARGET"; then
10391 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10392 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10394 echo "$as_me:$LINENO: result
: no
" >&5
10395 echo "${ECHO_T}no
" >&6
10399 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10403 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10405 if test $build = $target ; then
10406 RANLIB_FOR_TARGET="$2"
10408 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10413 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10419 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10420 if test -n "$with_build_time_tools"; then
10421 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10422 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10423 if test -x $with_build_time_tools/strip; then
10424 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10425 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10426 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10427 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10429 echo "$as_me:$LINENO: result
: no
" >&5
10430 echo "${ECHO_T}no
" >&6
10432 elif test $build != $host && test $have_gcc_for_target = yes; then
10433 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10434 test $STRIP_FOR_TARGET=strip && STRIP_FOR_TARGET=
10435 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10438 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10439 # Extract the first word of "strip
", so it can be a program name with args.
10440 set dummy strip; ac_word=$2
10441 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10442 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10443 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10444 echo $ECHO_N "(cached
) $ECHO_C" >&6
10446 case $STRIP_FOR_TARGET in
10448 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10452 for as_dir in $gcc_cv_tool_dirs
10455 test -z "$as_dir" && as_dir=.
10456 for ac_exec_ext in '' $ac_executable_extensions; do
10457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10458 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10468 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10470 if test -n "$STRIP_FOR_TARGET"; then
10471 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10472 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10474 echo "$as_me:$LINENO: result
: no
" >&5
10475 echo "${ECHO_T}no
" >&6
10479 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10482 if test -n "$STRIP_FOR_TARGET"; then
10483 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10484 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10485 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10488 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10489 for ncn_progname in strip; do
10490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10491 set dummy ${ncn_progname}; ac_word=$2
10492 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10493 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10494 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10495 echo $ECHO_N "(cached
) $ECHO_C" >&6
10497 if test -n "$STRIP_FOR_TARGET"; then
10498 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10501 for as_dir in $PATH
10504 test -z "$as_dir" && as_dir=.
10505 for ac_exec_ext in '' $ac_executable_extensions; do
10506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10507 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10508 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10516 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10517 if test -n "$STRIP_FOR_TARGET"; then
10518 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10519 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10521 echo "$as_me:$LINENO: result
: no
" >&5
10522 echo "${ECHO_T}no
" >&6
10528 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10529 for ncn_progname in strip; do
10530 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10531 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10532 if test -x $with_build_time_tools/${ncn_progname}; then
10533 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10534 echo "$as_me:$LINENO: result
: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10538 echo "$as_me:$LINENO: result
: no
" >&5
10539 echo "${ECHO_T}no
" >&6
10544 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10545 for ncn_progname in strip; do
10546 if test -n "$ncn_target_tool_prefix"; then
10547 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10548 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10549 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10550 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10551 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10552 echo $ECHO_N "(cached
) $ECHO_C" >&6
10554 if test -n "$STRIP_FOR_TARGET"; then
10555 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10561 test -z "$as_dir" && as_dir=.
10562 for ac_exec_ext in '' $ac_executable_extensions; do
10563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10564 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10565 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10573 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10574 if test -n "$STRIP_FOR_TARGET"; then
10575 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10576 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10578 echo "$as_me:$LINENO: result
: no
" >&5
10579 echo "${ECHO_T}no
" >&6
10583 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10585 set dummy ${ncn_progname}; ac_word=$2
10586 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10587 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10588 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10589 echo $ECHO_N "(cached
) $ECHO_C" >&6
10591 if test -n "$STRIP_FOR_TARGET"; then
10592 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10595 for as_dir in $PATH
10598 test -z "$as_dir" && as_dir=.
10599 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10610 STRIP_FOR_TARGET=$ac_cv_prog_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 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10624 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10626 if test $build = $target ; then
10627 STRIP_FOR_TARGET="$2"
10629 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10634 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10640 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10641 if test -n "$with_build_time_tools"; then
10642 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10643 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10644 if test -x $with_build_time_tools/windres; then
10645 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10646 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10647 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10648 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10650 echo "$as_me:$LINENO: result
: no
" >&5
10651 echo "${ECHO_T}no
" >&6
10653 elif test $build != $host && test $have_gcc_for_target = yes; then
10654 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10655 test $WINDRES_FOR_TARGET=windres && WINDRES_FOR_TARGET=
10656 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10659 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10660 # Extract the first word of "windres
", so it can be a program name with args.
10661 set dummy windres; ac_word=$2
10662 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10664 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10665 echo $ECHO_N "(cached
) $ECHO_C" >&6
10667 case $WINDRES_FOR_TARGET in
10669 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $gcc_cv_tool_dirs
10676 test -z "$as_dir" && as_dir=.
10677 for ac_exec_ext in '' $ac_executable_extensions; do
10678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10679 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10680 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10689 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10691 if test -n "$WINDRES_FOR_TARGET"; then
10692 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10693 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10695 echo "$as_me:$LINENO: result
: no
" >&5
10696 echo "${ECHO_T}no
" >&6
10700 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10703 if test -n "$WINDRES_FOR_TARGET"; then
10704 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10705 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10706 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10709 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10710 for ncn_progname in windres; do
10711 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10712 set dummy ${ncn_progname}; ac_word=$2
10713 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10714 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10715 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10716 echo $ECHO_N "(cached
) $ECHO_C" >&6
10718 if test -n "$WINDRES_FOR_TARGET"; then
10719 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722 for as_dir in $PATH
10725 test -z "$as_dir" && as_dir=.
10726 for ac_exec_ext in '' $ac_executable_extensions; do
10727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10728 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10729 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10737 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10738 if test -n "$WINDRES_FOR_TARGET"; then
10739 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10740 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10742 echo "$as_me:$LINENO: result
: no
" >&5
10743 echo "${ECHO_T}no
" >&6
10749 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10750 for ncn_progname in windres; do
10751 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10752 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10753 if test -x $with_build_time_tools/${ncn_progname}; then
10754 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10755 echo "$as_me:$LINENO: result
: yes" >&5
10756 echo "${ECHO_T}yes" >&6
10759 echo "$as_me:$LINENO: result
: no
" >&5
10760 echo "${ECHO_T}no
" >&6
10765 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10766 for ncn_progname in windres; do
10767 if test -n "$ncn_target_tool_prefix"; then
10768 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10769 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10770 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10771 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10772 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10773 echo $ECHO_N "(cached
) $ECHO_C" >&6
10775 if test -n "$WINDRES_FOR_TARGET"; then
10776 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10779 for as_dir in $PATH
10782 test -z "$as_dir" && as_dir=.
10783 for ac_exec_ext in '' $ac_executable_extensions; do
10784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10785 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10786 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10794 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10795 if test -n "$WINDRES_FOR_TARGET"; then
10796 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10797 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10799 echo "$as_me:$LINENO: result
: no
" >&5
10800 echo "${ECHO_T}no
" >&6
10804 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10806 set dummy ${ncn_progname}; ac_word=$2
10807 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10808 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10809 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10810 echo $ECHO_N "(cached
) $ECHO_C" >&6
10812 if test -n "$WINDRES_FOR_TARGET"; then
10813 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10816 for as_dir in $PATH
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_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10823 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10831 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10832 if test -n "$WINDRES_FOR_TARGET"; then
10833 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10834 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10836 echo "$as_me:$LINENO: result
: no
" >&5
10837 echo "${ECHO_T}no
" >&6
10841 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10845 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10847 if test $build = $target ; then
10848 WINDRES_FOR_TARGET="$2"
10850 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10855 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10861 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
10862 if test -n "$with_build_time_tools"; then
10863 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
10864 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
10865 if test -x $with_build_time_tools/windmc; then
10866 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
10867 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10868 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
10869 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
10871 echo "$as_me:$LINENO: result
: no
" >&5
10872 echo "${ECHO_T}no
" >&6
10874 elif test $build != $host && test $have_gcc_for_target = yes; then
10875 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
10876 test $WINDMC_FOR_TARGET=windmc && WINDMC_FOR_TARGET=
10877 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10880 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10881 # Extract the first word of "windmc
", so it can be a program name with args.
10882 set dummy windmc; ac_word=$2
10883 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10884 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10885 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
10886 echo $ECHO_N "(cached
) $ECHO_C" >&6
10888 case $WINDMC_FOR_TARGET in
10890 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
10893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10894 for as_dir in $gcc_cv_tool_dirs
10897 test -z "$as_dir" && as_dir=.
10898 for ac_exec_ext in '' $ac_executable_extensions; do
10899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10900 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10910 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
10912 if test -n "$WINDMC_FOR_TARGET"; then
10913 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
10914 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
10916 echo "$as_me:$LINENO: result
: no
" >&5
10917 echo "${ECHO_T}no
" >&6
10921 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
10924 if test -n "$WINDMC_FOR_TARGET"; then
10925 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
10926 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
10927 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
10930 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
10931 for ncn_progname in windmc; do
10932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10933 set dummy ${ncn_progname}; ac_word=$2
10934 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10935 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10936 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
10937 echo $ECHO_N "(cached
) $ECHO_C" >&6
10939 if test -n "$WINDMC_FOR_TARGET"; then
10940 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
10942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10943 for as_dir in $PATH
10946 test -z "$as_dir" && as_dir=.
10947 for ac_exec_ext in '' $ac_executable_extensions; do
10948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10949 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
10950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10958 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
10959 if test -n "$WINDMC_FOR_TARGET"; then
10960 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
10961 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
10963 echo "$as_me:$LINENO: result
: no
" >&5
10964 echo "${ECHO_T}no
" >&6
10970 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10971 for ncn_progname in windmc; do
10972 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10973 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10974 if test -x $with_build_time_tools/${ncn_progname}; then
10975 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10976 echo "$as_me:$LINENO: result
: yes" >&5
10977 echo "${ECHO_T}yes" >&6
10980 echo "$as_me:$LINENO: result
: no
" >&5
10981 echo "${ECHO_T}no
" >&6
10986 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
10987 for ncn_progname in windmc; do
10988 if test -n "$ncn_target_tool_prefix"; then
10989 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10990 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10991 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10992 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10993 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
10994 echo $ECHO_N "(cached
) $ECHO_C" >&6
10996 if test -n "$WINDMC_FOR_TARGET"; then
10997 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
10999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11000 for as_dir in $PATH
11003 test -z "$as_dir" && as_dir=.
11004 for ac_exec_ext in '' $ac_executable_extensions; do
11005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11006 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11015 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11016 if test -n "$WINDMC_FOR_TARGET"; then
11017 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11018 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11020 echo "$as_me:$LINENO: result
: no
" >&5
11021 echo "${ECHO_T}no
" >&6
11025 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11027 set dummy ${ncn_progname}; 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_prog_WINDMC_FOR_TARGET+set}" = set; then
11031 echo $ECHO_N "(cached
) $ECHO_C" >&6
11033 if test -n "$WINDMC_FOR_TARGET"; then
11034 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11037 for as_dir in $PATH
11040 test -z "$as_dir" && as_dir=.
11041 for ac_exec_ext in '' $ac_executable_extensions; do
11042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11043 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11052 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11053 if test -n "$WINDMC_FOR_TARGET"; then
11054 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11055 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11057 echo "$as_me:$LINENO: result
: no
" >&5
11058 echo "${ECHO_T}no
" >&6
11062 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11066 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11068 if test $build = $target ; then
11069 WINDMC_FOR_TARGET="$2"
11071 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11076 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11080 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11082 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11083 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11084 if test "x
${build}" != "x
${host}" ; then
11085 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11086 # We already found the complete path
11087 ac_dir=`dirname $AR_FOR_TARGET`
11088 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11089 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11091 # Canadian cross, just use what we found
11092 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11093 echo "${ECHO_T}pre-installed
" >&6
11097 case " ${configdirs} " in
11102 if test $ok = yes; then
11103 # An in-tree tool is available and we can use it
11104 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11105 echo "$as_me:$LINENO: result
: just compiled
" >&5
11106 echo "${ECHO_T}just compiled
" >&6
11107 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11108 # We already found the complete path
11109 ac_dir=`dirname $AR_FOR_TARGET`
11110 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11111 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11112 elif test "x
$target" = "x
$host"; then
11113 # We can use an host tool
11114 AR_FOR_TARGET='$(AR)'
11115 echo "$as_me:$LINENO: result
: host tool
" >&5
11116 echo "${ECHO_T}host tool
" >&6
11118 # We need a cross tool
11119 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11120 echo "${ECHO_T}pre-installed
" >&6
11124 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11125 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11126 if test "x
${build}" != "x
${host}" ; then
11127 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11128 # We already found the complete path
11129 ac_dir=`dirname $AS_FOR_TARGET`
11130 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11131 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11133 # Canadian cross, just use what we found
11134 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11135 echo "${ECHO_T}pre-installed
" >&6
11139 case " ${configdirs} " in
11144 if test $ok = yes; then
11145 # An in-tree tool is available and we can use it
11146 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11147 echo "$as_me:$LINENO: result
: just compiled
" >&5
11148 echo "${ECHO_T}just compiled
" >&6
11149 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11150 # We already found the complete path
11151 ac_dir=`dirname $AS_FOR_TARGET`
11152 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11153 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11154 elif test "x
$target" = "x
$host"; then
11155 # We can use an host tool
11156 AS_FOR_TARGET='$(AS)'
11157 echo "$as_me:$LINENO: result
: host tool
" >&5
11158 echo "${ECHO_T}host tool
" >&6
11160 # We need a cross tool
11161 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11162 echo "${ECHO_T}pre-installed
" >&6
11166 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11167 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11168 if test "x
${build}" != "x
${host}" ; then
11169 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11170 # We already found the complete path
11171 ac_dir=`dirname $CC_FOR_TARGET`
11172 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11173 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11175 # Canadian cross, just use what we found
11176 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11177 echo "${ECHO_T}pre-installed
" >&6
11181 case " ${configdirs} " in
11186 if test $ok = yes; then
11187 # An in-tree tool is available and we can use it
11188 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11189 echo "$as_me:$LINENO: result
: just compiled
" >&5
11190 echo "${ECHO_T}just compiled
" >&6
11191 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11192 # We already found the complete path
11193 ac_dir=`dirname $CC_FOR_TARGET`
11194 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11195 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11196 elif test "x
$target" = "x
$host"; then
11197 # We can use an host tool
11198 CC_FOR_TARGET='$(CC)'
11199 echo "$as_me:$LINENO: result
: host tool
" >&5
11200 echo "${ECHO_T}host tool
" >&6
11202 # We need a cross tool
11203 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11204 echo "${ECHO_T}pre-installed
" >&6
11208 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11209 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11210 if test "x
${build}" != "x
${host}" ; then
11211 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11212 # We already found the complete path
11213 ac_dir=`dirname $CXX_FOR_TARGET`
11214 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11215 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11217 # Canadian cross, just use what we found
11218 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11219 echo "${ECHO_T}pre-installed
" >&6
11223 case " ${configdirs} " in
11227 case ,${enable_languages}, in
11231 if test $ok = yes; then
11232 # An in-tree tool is available and we can use it
11233 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'
11234 echo "$as_me:$LINENO: result
: just compiled
" >&5
11235 echo "${ECHO_T}just compiled
" >&6
11236 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11237 # We already found the complete path
11238 ac_dir=`dirname $CXX_FOR_TARGET`
11239 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11240 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11241 elif test "x
$target" = "x
$host"; then
11242 # We can use an host tool
11243 CXX_FOR_TARGET='$(CXX)'
11244 echo "$as_me:$LINENO: result
: host tool
" >&5
11245 echo "${ECHO_T}host tool
" >&6
11247 # We need a cross tool
11248 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11249 echo "${ECHO_T}pre-installed
" >&6
11253 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11254 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11255 if test "x
${build}" != "x
${host}" ; then
11256 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11257 # We already found the complete path
11258 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11259 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11260 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11262 # Canadian cross, just use what we found
11263 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11264 echo "${ECHO_T}pre-installed
" >&6
11268 case " ${configdirs} " in
11272 case ,${enable_languages}, in
11276 if test $ok = yes; then
11277 # An in-tree tool is available and we can use it
11278 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'
11279 echo "$as_me:$LINENO: result
: just compiled
" >&5
11280 echo "${ECHO_T}just compiled
" >&6
11281 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11282 # We already found the complete path
11283 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11284 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11285 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11286 elif test "x
$target" = "x
$host"; then
11287 # We can use an host tool
11288 RAW_CXX_FOR_TARGET='$(CXX)'
11289 echo "$as_me:$LINENO: result
: host tool
" >&5
11290 echo "${ECHO_T}host tool
" >&6
11292 # We need a cross tool
11293 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11294 echo "${ECHO_T}pre-installed
" >&6
11298 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11299 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11300 if test "x
${build}" != "x
${host}" ; then
11301 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11302 # We already found the complete path
11303 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11304 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11305 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11307 # Canadian cross, just use what we found
11308 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11309 echo "${ECHO_T}pre-installed
" >&6
11313 case " ${configdirs} " in
11318 if test $ok = yes; then
11319 # An in-tree tool is available and we can use it
11320 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11321 echo "$as_me:$LINENO: result
: just compiled
" >&5
11322 echo "${ECHO_T}just compiled
" >&6
11323 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11324 # We already found the complete path
11325 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11326 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11327 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11328 elif test "x
$target" = "x
$host"; then
11329 # We can use an host tool
11330 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11331 echo "$as_me:$LINENO: result
: host tool
" >&5
11332 echo "${ECHO_T}host tool
" >&6
11334 # We need a cross tool
11335 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11336 echo "${ECHO_T}pre-installed
" >&6
11340 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11341 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11342 if test "x
${build}" != "x
${host}" ; then
11343 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11344 # We already found the complete path
11345 ac_dir=`dirname $GCC_FOR_TARGET`
11346 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11347 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11349 # Canadian cross, just use what we found
11350 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11351 echo "${ECHO_T}pre-installed
" >&6
11355 case " ${configdirs} " in
11360 if test $ok = yes; then
11361 # An in-tree tool is available and we can use it
11362 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11363 echo "$as_me:$LINENO: result
: just compiled
" >&5
11364 echo "${ECHO_T}just compiled
" >&6
11365 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11366 # We already found the complete path
11367 ac_dir=`dirname $GCC_FOR_TARGET`
11368 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11369 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11370 elif test "x
$target" = "x
$host"; then
11371 # We can use an host tool
11372 GCC_FOR_TARGET='$()'
11373 echo "$as_me:$LINENO: result
: host tool
" >&5
11374 echo "${ECHO_T}host tool
" >&6
11376 # We need a cross tool
11377 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11378 echo "${ECHO_T}pre-installed
" >&6
11382 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11383 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11384 if test "x
${build}" != "x
${host}" ; then
11385 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11386 # We already found the complete path
11387 ac_dir=`dirname $GCJ_FOR_TARGET`
11388 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11389 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11391 # Canadian cross, just use what we found
11392 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11393 echo "${ECHO_T}pre-installed
" >&6
11397 case " ${configdirs} " in
11401 case ,${enable_languages}, in
11405 if test $ok = yes; then
11406 # An in-tree tool is available and we can use it
11407 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11408 echo "$as_me:$LINENO: result
: just compiled
" >&5
11409 echo "${ECHO_T}just compiled
" >&6
11410 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11411 # We already found the complete path
11412 ac_dir=`dirname $GCJ_FOR_TARGET`
11413 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11414 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11415 elif test "x
$target" = "x
$host"; then
11416 # We can use an host tool
11417 GCJ_FOR_TARGET='$(GCJ)'
11418 echo "$as_me:$LINENO: result
: host tool
" >&5
11419 echo "${ECHO_T}host tool
" >&6
11421 # We need a cross tool
11422 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11423 echo "${ECHO_T}pre-installed
" >&6
11427 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11428 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11429 if test "x
${build}" != "x
${host}" ; then
11430 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11431 # We already found the complete path
11432 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11433 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11434 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11436 # Canadian cross, just use what we found
11437 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11438 echo "${ECHO_T}pre-installed
" >&6
11442 case " ${configdirs} " in
11446 case ,${enable_languages}, in
11450 if test $ok = yes; then
11451 # An in-tree tool is available and we can use it
11452 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11453 echo "$as_me:$LINENO: result
: just compiled
" >&5
11454 echo "${ECHO_T}just compiled
" >&6
11455 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11456 # We already found the complete path
11457 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11458 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11459 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11460 elif test "x
$target" = "x
$host"; then
11461 # We can use an host tool
11462 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11463 echo "$as_me:$LINENO: result
: host tool
" >&5
11464 echo "${ECHO_T}host tool
" >&6
11466 # We need a cross tool
11467 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11468 echo "${ECHO_T}pre-installed
" >&6
11472 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11473 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11474 if test "x
${build}" != "x
${host}" ; then
11475 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11476 # We already found the complete path
11477 ac_dir=`dirname $LD_FOR_TARGET`
11478 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11479 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11481 # Canadian cross, just use what we found
11482 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11483 echo "${ECHO_T}pre-installed
" >&6
11487 case " ${configdirs} " in
11492 if test $ok = yes; then
11493 # An in-tree tool is available and we can use it
11494 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11495 echo "$as_me:$LINENO: result
: just compiled
" >&5
11496 echo "${ECHO_T}just compiled
" >&6
11497 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11498 # We already found the complete path
11499 ac_dir=`dirname $LD_FOR_TARGET`
11500 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11501 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11502 elif test "x
$target" = "x
$host"; then
11503 # We can use an host tool
11504 LD_FOR_TARGET='$(LD)'
11505 echo "$as_me:$LINENO: result
: host tool
" >&5
11506 echo "${ECHO_T}host tool
" >&6
11508 # We need a cross tool
11509 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11510 echo "${ECHO_T}pre-installed
" >&6
11514 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11515 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11516 if test "x
${build}" != "x
${host}" ; then
11517 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11518 # We already found the complete path
11519 ac_dir=`dirname $LIPO_FOR_TARGET`
11520 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11521 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11523 # Canadian cross, just use what we found
11524 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11525 echo "${ECHO_T}pre-installed
" >&6
11528 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11529 # We already found the complete path
11530 ac_dir=`dirname $LIPO_FOR_TARGET`
11531 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11532 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11533 elif test "x
$target" = "x
$host"; then
11534 # We can use an host tool
11535 LIPO_FOR_TARGET='$(LIPO)'
11536 echo "$as_me:$LINENO: result
: host tool
" >&5
11537 echo "${ECHO_T}host tool
" >&6
11539 # We need a cross tool
11540 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11541 echo "${ECHO_T}pre-installed
" >&6
11545 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11546 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11547 if test "x
${build}" != "x
${host}" ; then
11548 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11549 # We already found the complete path
11550 ac_dir=`dirname $NM_FOR_TARGET`
11551 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11552 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11554 # Canadian cross, just use what we found
11555 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11556 echo "${ECHO_T}pre-installed
" >&6
11560 case " ${configdirs} " in
11565 if test $ok = yes; then
11566 # An in-tree tool is available and we can use it
11567 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11568 echo "$as_me:$LINENO: result
: just compiled
" >&5
11569 echo "${ECHO_T}just compiled
" >&6
11570 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11571 # We already found the complete path
11572 ac_dir=`dirname $NM_FOR_TARGET`
11573 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11574 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11575 elif test "x
$target" = "x
$host"; then
11576 # We can use an host tool
11577 NM_FOR_TARGET='$(NM)'
11578 echo "$as_me:$LINENO: result
: host tool
" >&5
11579 echo "${ECHO_T}host tool
" >&6
11581 # We need a cross tool
11582 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11583 echo "${ECHO_T}pre-installed
" >&6
11587 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11588 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11589 if test "x
${build}" != "x
${host}" ; then
11590 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11591 # We already found the complete path
11592 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11593 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11594 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11596 # Canadian cross, just use what we found
11597 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11598 echo "${ECHO_T}pre-installed
" >&6
11602 case " ${configdirs} " in
11607 if test $ok = yes; then
11608 # An in-tree tool is available and we can use it
11609 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11610 echo "$as_me:$LINENO: result
: just compiled
" >&5
11611 echo "${ECHO_T}just compiled
" >&6
11612 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11613 # We already found the complete path
11614 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11615 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11616 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11617 elif test "x
$target" = "x
$host"; then
11618 # We can use an host tool
11619 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11620 echo "$as_me:$LINENO: result
: host tool
" >&5
11621 echo "${ECHO_T}host tool
" >&6
11623 # We need a cross tool
11624 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11625 echo "${ECHO_T}pre-installed
" >&6
11629 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11630 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11631 if test "x
${build}" != "x
${host}" ; then
11632 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11633 # We already found the complete path
11634 ac_dir=`dirname $RANLIB_FOR_TARGET`
11635 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11636 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11638 # Canadian cross, just use what we found
11639 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11640 echo "${ECHO_T}pre-installed
" >&6
11644 case " ${configdirs} " in
11649 if test $ok = yes; then
11650 # An in-tree tool is available and we can use it
11651 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11652 echo "$as_me:$LINENO: result
: just compiled
" >&5
11653 echo "${ECHO_T}just compiled
" >&6
11654 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11655 # We already found the complete path
11656 ac_dir=`dirname $RANLIB_FOR_TARGET`
11657 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11658 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11659 elif test "x
$target" = "x
$host"; then
11660 # We can use an host tool
11661 RANLIB_FOR_TARGET='$(RANLIB)'
11662 echo "$as_me:$LINENO: result
: host tool
" >&5
11663 echo "${ECHO_T}host tool
" >&6
11665 # We need a cross tool
11666 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11667 echo "${ECHO_T}pre-installed
" >&6
11671 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11672 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11673 if test "x
${build}" != "x
${host}" ; then
11674 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11675 # We already found the complete path
11676 ac_dir=`dirname $STRIP_FOR_TARGET`
11677 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11678 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11680 # Canadian cross, just use what we found
11681 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11682 echo "${ECHO_T}pre-installed
" >&6
11686 case " ${configdirs} " in
11691 if test $ok = yes; then
11692 # An in-tree tool is available and we can use it
11693 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11694 echo "$as_me:$LINENO: result
: just compiled
" >&5
11695 echo "${ECHO_T}just compiled
" >&6
11696 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11697 # We already found the complete path
11698 ac_dir=`dirname $STRIP_FOR_TARGET`
11699 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11700 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11701 elif test "x
$target" = "x
$host"; then
11702 # We can use an host tool
11703 STRIP_FOR_TARGET='$(STRIP)'
11704 echo "$as_me:$LINENO: result
: host tool
" >&5
11705 echo "${ECHO_T}host tool
" >&6
11707 # We need a cross tool
11708 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11709 echo "${ECHO_T}pre-installed
" >&6
11713 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11714 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11715 if test "x
${build}" != "x
${host}" ; then
11716 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11717 # We already found the complete path
11718 ac_dir=`dirname $WINDRES_FOR_TARGET`
11719 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11720 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11722 # Canadian cross, just use what we found
11723 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11724 echo "${ECHO_T}pre-installed
" >&6
11728 case " ${configdirs} " in
11733 if test $ok = yes; then
11734 # An in-tree tool is available and we can use it
11735 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11736 echo "$as_me:$LINENO: result
: just compiled
" >&5
11737 echo "${ECHO_T}just compiled
" >&6
11738 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11739 # We already found the complete path
11740 ac_dir=`dirname $WINDRES_FOR_TARGET`
11741 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11742 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11743 elif test "x
$target" = "x
$host"; then
11744 # We can use an host tool
11745 WINDRES_FOR_TARGET='$(WINDRES)'
11746 echo "$as_me:$LINENO: result
: host tool
" >&5
11747 echo "${ECHO_T}host tool
" >&6
11749 # We need a cross tool
11750 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11751 echo "${ECHO_T}pre-installed
" >&6
11755 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11756 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11757 if test "x
${build}" != "x
${host}" ; then
11758 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11759 # We already found the complete path
11760 ac_dir=`dirname $WINDMC_FOR_TARGET`
11761 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11762 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11764 # Canadian cross, just use what we found
11765 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11766 echo "${ECHO_T}pre-installed
" >&6
11770 case " ${configdirs} " in
11775 if test $ok = yes; then
11776 # An in-tree tool is available and we can use it
11777 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
11778 echo "$as_me:$LINENO: result
: just compiled
" >&5
11779 echo "${ECHO_T}just compiled
" >&6
11780 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11781 # We already found the complete path
11782 ac_dir=`dirname $WINDMC_FOR_TARGET`
11783 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11784 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11785 elif test "x
$target" = "x
$host"; then
11786 # We can use an host tool
11787 WINDMC_FOR_TARGET='$(WINDMC)'
11788 echo "$as_me:$LINENO: result
: host tool
" >&5
11789 echo "${ECHO_T}host tool
" >&6
11791 # We need a cross tool
11792 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11793 echo "${ECHO_T}pre-installed
" >&6
11801 # Certain tools may need extra flags.
11802 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11803 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11804 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11806 # When building target libraries, except in a Canadian cross, we use
11807 # the same toolchain as the compiler we just built.
11808 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11809 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11810 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11811 if test $host = $build; then
11812 case " $configdirs " in
11814 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11815 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11816 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11825 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11826 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11827 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11828 if test "${enable_maintainer_mode+set}" = set; then
11829 enableval="$enable_maintainer_mode"
11830 USE_MAINTAINER_MODE=$enableval
11832 USE_MAINTAINER_MODE=no
11834 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11835 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11838 if test "$USE_MAINTAINER_MODE" = yes; then
11839 MAINTAINER_MODE_TRUE=
11840 MAINTAINER_MODE_FALSE='#'
11842 MAINTAINER_MODE_TRUE='#'
11843 MAINTAINER_MODE_FALSE=
11845 MAINT=$MAINTAINER_MODE_TRUE
11847 # ---------------------
11848 # GCC bootstrap support
11849 # ---------------------
11851 # Stage specific cflags for build.
11856 yes) stage1_cflags="-g -Wa,-J" ;;
11857 *) stage1_cflags="-g -J" ;;
11861 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
11862 if test "$GCC" = yes; then
11863 saved_CFLAGS="$CFLAGS"
11865 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
11866 CFLAGS="$CFLAGS -fkeep-inline-functions"
11867 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
11868 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
11869 cat >conftest.$ac_ext <<_ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11876 #if (__GNUC__ < 3) \
11877 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
11878 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
11879 #error http://gcc.gnu.org/PR29382
11890 rm -f conftest.$ac_objext
11891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11892 (eval $ac_compile) 2>conftest.er1
11894 grep -v '^ *+' conftest.er1 >conftest.err
11896 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11898 (exit $ac_status); } &&
11899 { ac_try='test -z "$ac_c_werror_flag"
11900 || test ! -s conftest.err'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11905 (exit $ac_status); }; } &&
11906 { ac_try='test -s conftest.$ac_objext'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11911 (exit $ac_status); }; }; then
11912 echo "$as_me:$LINENO: result
: yes" >&5
11913 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
11915 echo "$as_me: failed program was
:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5
11918 echo "$as_me:$LINENO: result
: no
" >&5
11919 echo "${ECHO_T}no
" >&6
11921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11923 CFLAGS="$saved_CFLAGS"
11928 # Enable --enable-checking in stage1 of the compiler.
11929 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
11930 if test "${enable_stage1_checking+set}" = set; then
11931 enableval="$enable_stage1_checking"
11932 stage1_checking=--enable-checking=${enable_stage1_checking}
11934 if test "x
$enable_checking" = xno; then
11935 stage1_checking=--enable-checking
11937 stage1_checking=--enable-checking${enable_checking+=}$enable_checking
11942 # Enable -Werror in bootstrap stage2 and later.
11943 # Check whether --enable-werror or --disable-werror was given.
11944 if test "${enable_werror+set}" = set; then
11945 enableval="$enable_werror"
11948 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
11954 case ${enable_werror} in
11955 yes) stage2_werror_flag="--enable-werror-always" ;;
11956 *) stage2_werror_flag="" ;;
11960 # Flags needed to enable html installing and building
11962 # Check whether --with-datarootdir or --without-datarootdir was given.
11963 if test "${with_datarootdir+set}" = set; then
11964 withval="$with_datarootdir"
11965 datarootdir="\
${prefix}/${withval}"
11967 datarootdir="\
${prefix}/share
"
11971 # Check whether --with-docdir or --without-docdir was given.
11972 if test "${with_docdir+set}" = set; then
11973 withval="$with_docdir"
11974 docdir="\
${prefix}/${withval}"
11976 docdir="\
${datarootdir}/doc
"
11980 # Check whether --with-pdfdir or --without-pdfdir was given.
11981 if test "${with_pdfdir+set}" = set; then
11982 withval="$with_pdfdir"
11983 pdfdir="\
${prefix}/${withval}"
11985 pdfdir="\
${docdir}"
11989 # Check whether --with-htmldir or --without-htmldir was given.
11990 if test "${with_htmldir+set}" = set; then
11991 withval="$with_htmldir"
11992 htmldir="\
${prefix}/${withval}"
11994 htmldir="\
${docdir}"
12002 ac_config_files="$ac_config_files Makefile
"
12003 cat >confcache <<\_ACEOF
12004 # This file is a shell script that caches the results of configure
12005 # tests run on this system so they can be shared between configure
12006 # scripts and configure runs, see configure's option --config-cache.
12007 # It is not useful on other systems. If it contains results you don't
12008 # want to keep, you may remove or edit it.
12010 # config.status only pays attention to the cache file if you give it
12011 # the --recheck option to rerun configure.
12013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12015 # following values.
12019 # The following way of writing the cache mishandles newlines in values,
12020 # but we know of no workaround that is simple, portable, and efficient.
12021 # So, don't put newlines in cache variables' values.
12022 # Ultrix sh set writes to stderr and can't be redirected directly,
12023 # and sets the high bit in the cache file unless we assign to the vars.
12026 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12028 # `set' does not quote correctly, so add quotes (double-quote
12029 # substitution turns \\\\ into \\, and sed turns \\ into \).
12032 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12035 # `set' quotes correctly as required by POSIX, so do not add quotes.
12037 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12046 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12048 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12049 if test -w $cache_file; then
12050 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12051 cat confcache >$cache_file
12053 echo "not updating unwritable cache
$cache_file"
12058 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12059 # Let make expand exec_prefix.
12060 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12062 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12063 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12064 # trailing colons and then remove the whole line if VPATH becomes empty
12065 # (actually we leave an empty line to preserve line numbers).
12066 if test "x
$srcdir" = x.; then
12067 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12068 s/:*\$(srcdir):*/:/;
12069 s/:*\${srcdir}:*/:/;
12071 s/^\([^=]*=[ ]*\):*/\1/;
12077 # Transform confdefs.h into DEFS.
12078 # Protect against shell expansion while executing Makefile rules.
12079 # Protect against Makefile macro expansion.
12081 # If the first sed substitution is executed (which looks for macros that
12082 # take arguments), then we branch to the quote section. Otherwise,
12083 # look for a macro that doesn't take arguments.
12084 cat >confdef2opt.sed <<\_ACEOF
12087 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12089 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12093 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12099 # We use echo to avoid assuming a particular line-breaking character.
12100 # The extra dot is to prevent the shell from consuming trailing
12101 # line-breaks from the sub-command output. A line-break within
12102 # single-quotes doesn't work because, if this script is created in a
12103 # platform that uses two characters for line-breaks (e.g., DOS), tr
12105 ac_LF_and_DOT
=`echo; echo .`
12106 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12107 rm -f confdef2opt.
sed
12112 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12113 # 1. Remove the extension, and $U if already installed.
12114 ac_i
=`echo "$ac_i" |
12115 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12117 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12118 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12120 LIBOBJS
=$ac_libobjs
12122 LTLIBOBJS
=$ac_ltlibobjs
12126 : ${CONFIG_STATUS=./config.status}
12127 ac_clean_files_save
=$ac_clean_files
12128 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12129 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12130 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12131 cat >$CONFIG_STATUS <<_ACEOF
12133 # Generated by $as_me.
12134 # Run this file to recreate the current configuration.
12135 # Compiler output produced by configure, useful for debugging
12136 # configure, is in config.log if it exists.
12139 ac_cs_recheck=false
12141 SHELL=\${CONFIG_SHELL-$SHELL}
12144 cat >>$CONFIG_STATUS <<\_ACEOF
12145 ## --------------------- ##
12146 ## M4sh Initialization. ##
12147 ## --------------------- ##
12149 # Be Bourne compatible
12150 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12153 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12154 # is contrary to our usage. Disable this feature.
12155 alias -g '${1+"$@"}'='"$@"'
12156 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12159 DUALCASE
=1; export DUALCASE
# for MKS sh
12161 # Support unset when possible.
12162 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12169 # Work around bugs in pre-3.0 UWIN ksh.
12170 $as_unset ENV MAIL MAILPATH
12177 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12178 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12179 LC_TELEPHONE LC_TIME
12181 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12182 eval $as_var=C
; export $as_var
12188 # Required to use basename.
12189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12195 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12196 as_basename
=basename
12202 # Name of the executable.
12203 as_me
=`$as_basename "$0" ||
12204 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12205 X"$0" : 'X\(//\)$' \| \
12206 X"$0" : 'X\(/\)$' \| \
12207 . : '\(.\)' 2>/dev/null ||
12209 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12210 /^X\/\(\/\/\)$/{ s//\1/; q; }
12211 /^X\/\(\/\).*/{ s//\1/; q; }
12215 # PATH needs CR, and LINENO needs CR and PATH.
12216 # Avoid depending upon Character Ranges.
12217 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12218 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12219 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12220 as_cr_digits
='0123456789'
12221 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12223 # The user is always right.
12224 if test "${PATH_SEPARATOR+set}" != set; then
12225 echo "#! /bin/sh" >conf$$.sh
12226 echo "exit 0" >>conf$$.sh
12228 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12237 as_lineno_1
=$LINENO
12238 as_lineno_2
=$LINENO
12239 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12240 test "x$as_lineno_1" != "x$as_lineno_2" &&
12241 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12242 # Find who we are. Look in the path if we contain no path at all
12245 *[\\/]* ) as_myself
=$0 ;;
12246 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12247 for as_dir
in $PATH
12250 test -z "$as_dir" && as_dir
=.
12251 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12256 # We did not find ourselves, most probably we were run as `sh COMMAND'
12257 # in which case we are not to be found in the path.
12258 if test "x$as_myself" = x
; then
12261 if test ! -f "$as_myself"; then
12262 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12263 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12264 { (exit 1); exit 1; }; }
12266 case $CONFIG_SHELL in
12268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12269 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12272 test -z "$as_dir" && as_dir
=.
12273 for as_base
in sh bash ksh sh5
; do
12276 if ("$as_dir/$as_base" -c '
12277 as_lineno_1=$LINENO
12278 as_lineno_2=$LINENO
12279 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12280 test "x$as_lineno_1" != "x$as_lineno_2" &&
12281 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12282 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12283 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12284 CONFIG_SHELL
=$as_dir/$as_base
12285 export CONFIG_SHELL
12286 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12294 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12295 # uniformly replaced by the line number. The first 'sed' inserts a
12296 # line-number line before each line; the second 'sed' does the real
12297 # work. The second script uses 'N' to pair each line-number line
12298 # with the numbered line, and appends trailing '-' during
12299 # substitution so that $LINENO is not a special case at line end.
12300 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12301 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12302 sed '=' <$as_myself |
12307 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12310 s,^['$as_cr_digits']*\n,,
12311 ' >$as_me.lineno
&&
12312 chmod +x
$as_me.lineno ||
12313 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12314 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12315 { (exit 1); exit 1; }; }
12317 # Don't try to exec as it changes $[0], causing all sort of problems
12318 # (the dirname of $[0] is not the place where we might find the
12319 # original and so on. Autoconf is especially sensible to this).
12321 # Exit status is that of the last command.
12326 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12327 *c
*,-n*) ECHO_N
= ECHO_C
='
12329 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12330 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12333 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12339 rm -f conf$$ conf$$.exe conf$$.
file
12341 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12342 # We could just check for DJGPP; but this test a) works b) is more generic
12343 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12344 if test -f conf$$.exe
; then
12345 # Don't use ln at all; we don't have any links
12350 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12355 rm -f conf$$ conf$$.exe conf$$.
file
12357 if mkdir
-p .
2>/dev
/null
; then
12360 test -d .
/-p && rmdir .
/-p
12364 as_executable_p
="test -f"
12366 # Sed expression to map a string onto a valid CPP name.
12367 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12369 # Sed expression to map a string onto a valid variable name.
12370 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12374 # We need space, tab and new line, in precisely that order.
12384 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12385 # report actual input values of CONFIG_FILES etc. instead of their
12386 # values after options handling. Logging --version etc. is OK.
12390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12391 ## Running $as_me. ##
12396 This file was extended by $as_me, which was
12397 generated by GNU Autoconf 2.59. Invocation command line was
12399 CONFIG_FILES = $CONFIG_FILES
12400 CONFIG_HEADERS = $CONFIG_HEADERS
12401 CONFIG_LINKS = $CONFIG_LINKS
12402 CONFIG_COMMANDS = $CONFIG_COMMANDS
12406 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12410 # Files that config.status was made for.
12411 if test -n "$ac_config_files"; then
12412 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12415 if test -n "$ac_config_headers"; then
12416 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12419 if test -n "$ac_config_links"; then
12420 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12423 if test -n "$ac_config_commands"; then
12424 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12427 cat >>$CONFIG_STATUS <<\_ACEOF
12430 \`$as_me' instantiates files from templates according to the
12431 current configuration.
12433 Usage: $0 [OPTIONS] [FILE]...
12435 -h, --help print this help, then exit
12436 -V, --version print version number, then exit
12437 -q, --quiet do not print progress messages
12438 -d, --debug don't remove temporary files
12439 --recheck update $as_me by reconfiguring in the same conditions
12440 --file=FILE[:TEMPLATE]
12441 instantiate the configuration file FILE
12443 Configuration files:
12446 Report bugs to <bug-autoconf@gnu.org>."
12449 cat >>$CONFIG_STATUS <<_ACEOF
12452 configured by $0, generated by GNU Autoconf 2.59,
12453 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12455 Copyright (C) 2003 Free Software Foundation, Inc.
12456 This config.status script is free software; the Free Software Foundation
12457 gives unlimited permission to copy, distribute and modify it."
12462 cat >>$CONFIG_STATUS <<\_ACEOF
12463 # If no file are specified by the user, then we need to provide default
12464 # value. By we need to know if files were specified by the user.
12470 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12471 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12479 *) # This is not an option, so the user has probably given explicit
12482 ac_need_defaults
=false
;;
12486 # Handling of the options.
12488 cat >>$CONFIG_STATUS <<\_ACEOF
12489 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12491 --version |
--vers* |
-V )
12492 echo "$ac_cs_version"; exit 0 ;;
12494 # Conflict between --help and --header
12495 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12496 Try \`$0 --help' for more information." >&5
12497 echo "$as_me: error: ambiguous option: $1
12498 Try \`$0 --help' for more information." >&2;}
12499 { (exit 1); exit 1; }; };;
12500 --help |
--hel |
-h )
12501 echo "$ac_cs_usage"; exit 0 ;;
12502 --debug |
--d* |
-d )
12504 --file |
--fil |
--fi |
--f )
12506 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12507 ac_need_defaults
=false
;;
12508 --header |
--heade |
--head |
--hea )
12510 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12511 ac_need_defaults
=false
;;
12512 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12513 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12516 # This is an error.
12517 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12518 Try \`$0 --help' for more information." >&5
12519 echo "$as_me: error: unrecognized option: $1
12520 Try \`$0 --help' for more information." >&2;}
12521 { (exit 1); exit 1; }; } ;;
12523 *) ac_config_targets
="$ac_config_targets $1" ;;
12529 ac_configure_extra_args
=
12531 if $ac_cs_silent; then
12533 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12537 cat >>$CONFIG_STATUS <<_ACEOF
12538 if \$ac_cs_recheck; then
12539 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12540 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12549 cat >>$CONFIG_STATUS <<\_ACEOF
12550 for ac_config_target
in $ac_config_targets
12552 case "$ac_config_target" in
12553 # Handling of arguments.
12554 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12555 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12556 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12557 { (exit 1); exit 1; }; };;
12561 # If the user did not use the arguments to specify the items to instantiate,
12562 # then the envvar interface is used. Set only those that are not.
12563 # We use the long form for the default assignment because of an extremely
12564 # bizarre bug on SunOS 4.1.3.
12565 if $ac_need_defaults; then
12566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12569 # Have a temporary directory for convenience. Make it in the build tree
12570 # simply because there is no reason to put it here, and in addition,
12571 # creating and moving files from /tmp can sometimes cause problems.
12572 # Create a temporary directory, and hook for its removal unless debugging.
12575 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12576 trap '{ (exit 1); exit 1; }' 1 2 13 15
12579 # Create a (secure) tmp directory for tmp files.
12582 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12583 test -n "$tmp" && test -d "$tmp"
12586 tmp
=.
/confstat$$
-$RANDOM
12587 (umask 077 && mkdir
$tmp)
12590 echo "$me: cannot create a temporary directory in ." >&2
12591 { (exit 1); exit 1; }
12596 cat >>$CONFIG_STATUS <<_ACEOF
12599 # CONFIG_FILES section.
12602 # No need to generate the scripts if there are no CONFIG_FILES.
12603 # This happens for instance when ./config.status config.h
12604 if test -n "\$CONFIG_FILES"; then
12605 # Protect against being on the right side of a sed subst in config.status.
12606 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12607 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12608 s,@SHELL@,$SHELL,;t t
12609 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12610 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12611 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12612 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12613 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12614 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12615 s,@exec_prefix@,$exec_prefix,;t t
12616 s,@prefix@,$prefix,;t t
12617 s,@program_transform_name@,$program_transform_name,;t t
12618 s,@bindir@,$bindir,;t t
12619 s,@sbindir@,$sbindir,;t t
12620 s,@libexecdir@,$libexecdir,;t t
12621 s,@datadir@,$datadir,;t t
12622 s,@sysconfdir@,$sysconfdir,;t t
12623 s,@sharedstatedir@,$sharedstatedir,;t t
12624 s,@localstatedir@,$localstatedir,;t t
12625 s,@libdir@,$libdir,;t t
12626 s,@includedir@,$includedir,;t t
12627 s,@oldincludedir@,$oldincludedir,;t t
12628 s,@infodir@,$infodir,;t t
12629 s,@mandir@,$mandir,;t t
12630 s,@build_alias@,$build_alias,;t t
12631 s,@host_alias@,$host_alias,;t t
12632 s,@target_alias@,$target_alias,;t t
12633 s,@DEFS@,$DEFS,;t t
12634 s,@ECHO_C@,$ECHO_C,;t t
12635 s,@ECHO_N@,$ECHO_N,;t t
12636 s,@ECHO_T@,$ECHO_T,;t t
12637 s,@LIBS@,$LIBS,;t t
12638 s,@build@,$build,;t t
12639 s,@build_cpu@,$build_cpu,;t t
12640 s,@build_vendor@,$build_vendor,;t t
12641 s,@build_os@,$build_os,;t t
12642 s,@build_noncanonical@,$build_noncanonical,;t t
12643 s,@host_noncanonical@,$host_noncanonical,;t t
12644 s,@target_noncanonical@,$target_noncanonical,;t t
12645 s,@host@,$host,;t t
12646 s,@host_cpu@,$host_cpu,;t t
12647 s,@host_vendor@,$host_vendor,;t t
12648 s,@host_os@,$host_os,;t t
12649 s,@target@,$target,;t t
12650 s,@target_cpu@,$target_cpu,;t t
12651 s,@target_vendor@,$target_vendor,;t t
12652 s,@target_os@,$target_os,;t t
12653 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12654 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12655 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12657 s,@LN_S@,$LN_S,;t t
12658 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12659 s,@build_libsubdir@,$build_libsubdir,;t t
12660 s,@build_subdir@,$build_subdir,;t t
12661 s,@host_subdir@,$host_subdir,;t t
12662 s,@target_subdir@,$target_subdir,;t t
12664 s,@CFLAGS@,$CFLAGS,;t t
12665 s,@LDFLAGS@,$LDFLAGS,;t t
12666 s,@CPPFLAGS@,$CPPFLAGS,;t t
12667 s,@ac_ct_CC@,$ac_ct_CC,;t t
12668 s,@EXEEXT@,$EXEEXT,;t t
12669 s,@OBJEXT@,$OBJEXT,;t t
12671 s,@CXXFLAGS@,$CXXFLAGS,;t t
12672 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12673 s,@GNATBIND@,$GNATBIND,;t t
12674 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12675 s,@GNATMAKE@,$GNATMAKE,;t t
12676 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12677 s,@do_compare@,$do_compare,;t t
12678 s,@gmplibs@,$gmplibs,;t t
12679 s,@gmpinc@,$gmpinc,;t t
12680 s,@stage1_languages@,$stage1_languages,;t t
12681 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12682 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12683 s,@tooldir@,$tooldir,;t t
12684 s,@build_tooldir@,$build_tooldir,;t t
12685 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12686 s,@GDB_TK@,$GDB_TK,;t t
12687 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12688 s,@build_configargs@,$build_configargs,;t t
12689 s,@build_configdirs@,$build_configdirs,;t t
12690 s,@host_configargs@,$host_configargs,;t t
12691 s,@configdirs@,$configdirs,;t t
12692 s,@target_configargs@,$target_configargs,;t t
12693 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12694 s,@config_shell@,$config_shell,;t t
12695 s,@YACC@,$YACC,;t t
12696 s,@BISON@,$BISON,;t t
12699 s,@FLEX@,$FLEX,;t t
12700 s,@MAKEINFO@,$MAKEINFO,;t t
12701 s,@EXPECT@,$EXPECT,;t t
12702 s,@RUNTEST@,$RUNTEST,;t t
12705 s,@DLLTOOL@,$DLLTOOL,;t t
12707 s,@LIPO@,$LIPO,;t t
12709 s,@RANLIB@,$RANLIB,;t t
12710 s,@STRIP@,$STRIP,;t t
12711 s,@WINDRES@,$WINDRES,;t t
12712 s,@WINDMC@,$WINDMC,;t t
12713 s,@OBJCOPY@,$OBJCOPY,;t t
12714 s,@OBJDUMP@,$OBJDUMP,;t t
12715 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12716 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12717 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12718 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12719 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12720 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12721 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12722 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12723 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12724 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12725 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12726 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12727 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12728 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12729 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12730 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12731 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12732 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12733 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12734 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12735 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12736 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12737 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12738 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12739 s,@MAINT@,$MAINT,;t t
12740 s,@stage1_cflags@,$stage1_cflags,;t t
12741 s,@stage1_checking@,$stage1_checking,;t t
12742 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12743 s,@datarootdir@,$datarootdir,;t t
12744 s,@docdir@,$docdir,;t t
12745 s,@pdfdir@,$pdfdir,;t t
12746 s,@htmldir@,$htmldir,;t t
12747 s,@LIBOBJS@,$LIBOBJS,;t t
12748 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12749 /@serialization_dependencies@/r $serialization_dependencies
12750 s,@serialization_dependencies@,,;t t
12751 /@host_makefile_frag@/r $host_makefile_frag
12752 s,@host_makefile_frag@,,;t t
12753 /@target_makefile_frag@/r $target_makefile_frag
12754 s,@target_makefile_frag@,,;t t
12755 /@alphaieee_frag@/r $alphaieee_frag
12756 s,@alphaieee_frag@,,;t t
12757 /@ospace_frag@/r $ospace_frag
12758 s,@ospace_frag@,,;t t
12763 cat >>$CONFIG_STATUS <<\_ACEOF
12764 # Split the substitutions into bite-sized pieces for seds with
12765 # small command number limits, like on Digital OSF/1 and HP-UX.
12766 ac_max_sed_lines
=48
12767 ac_sed_frag
=1 # Number of current file.
12768 ac_beg
=1 # First line for current file.
12769 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12772 while $ac_more_lines; do
12773 if test $ac_beg -gt 1; then
12774 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12776 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12778 if test ! -s $tmp/subs.frag
; then
12779 ac_more_lines
=false
12781 # The purpose of the label and of the branching condition is to
12782 # speed up the sed processing (if there are no `@' at all, there
12783 # is no need to browse any of the substitutions).
12784 # These are the two extra sed commands mentioned above.
12786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12787 if test -z "$ac_sed_cmds"; then
12788 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12790 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12792 ac_sed_frag
=`expr $ac_sed_frag + 1`
12794 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12797 if test -z "$ac_sed_cmds"; then
12800 fi # test -n "$CONFIG_FILES"
12803 cat >>$CONFIG_STATUS <<\_ACEOF
12804 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12805 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12807 - |
*:- |
*:-:* ) # input from stdin
12809 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12810 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12811 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12812 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12813 * ) ac_file_in
=$ac_file.
in ;;
12816 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12817 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12819 X"$ac_file" : 'X\(//\)[^/]' \| \
12820 X"$ac_file" : 'X\(//\)$' \| \
12821 X"$ac_file" : 'X\(/\)' \| \
12822 . : '\(.\)' 2>/dev/null ||
12824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12826 /^X\(\/\/\)$/{ s//\1/; q; }
12827 /^X\(\/\).*/{ s//\1/; q; }
12829 { if $as_mkdir_p; then
12834 while test ! -d "$as_dir"; do
12835 as_dirs
="$as_dir $as_dirs"
12836 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12838 X"$as_dir" : 'X\(//\)[^/]' \| \
12839 X"$as_dir" : 'X\(//\)$' \| \
12840 X"$as_dir" : 'X\(/\)' \| \
12841 . : '\(.\)' 2>/dev/null ||
12843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12845 /^X\(\/\/\)$/{ s//\1/; q; }
12846 /^X\(\/\).*/{ s//\1/; q; }
12849 test ! -n "$as_dirs" || mkdir
$as_dirs
12850 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12852 { (exit 1); exit 1; }; }; }
12856 if test "$ac_dir" != .
; then
12857 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12858 # A "../" for each directory in $ac_dir_suffix.
12859 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12861 ac_dir_suffix
= ac_top_builddir
=
12865 .
) # No --srcdir option. We are building in place.
12867 if test -z "$ac_top_builddir"; then
12870 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12872 [\\/]* | ?
:[\\/]* ) # Absolute path.
12873 ac_srcdir
=$srcdir$ac_dir_suffix;
12874 ac_top_srcdir
=$srcdir ;;
12875 *) # Relative path.
12876 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12877 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12880 # Do not use `cd foo && pwd` to compute absolute paths, because
12881 # the directories may not exist.
12883 .
) ac_abs_builddir
="$ac_dir";;
12886 .
) ac_abs_builddir
=`pwd`;;
12887 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12888 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12891 case $ac_abs_builddir in
12892 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12894 case ${ac_top_builddir}.
in
12895 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12896 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12897 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12900 case $ac_abs_builddir in
12901 .
) ac_abs_srcdir
=$ac_srcdir;;
12904 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12905 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12906 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12909 case $ac_abs_builddir in
12910 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12912 case $ac_top_srcdir in
12913 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12914 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12915 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12921 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12922 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12925 if test x
"$ac_file" != x-
; then
12926 { echo "$as_me:$LINENO: creating $ac_file" >&5
12927 echo "$as_me: creating $ac_file" >&6;}
12930 # Let's still pretend it is `configure' which instantiates (i.e., don't
12931 # use $as_me), people would be surprised to read:
12932 # /* config.h. Generated by config.status. */
12933 if test x
"$ac_file" = x-
; then
12936 configure_input
="$ac_file. "
12938 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12939 sed 's,.*/,,'` by configure."
12941 # First look for the input files in the build tree, otherwise in the
12943 ac_file_inputs
=`IFS=:
12944 for f in $ac_file_in; do
12946 -) echo $tmp/stdin ;;
12948 # Absolute (can't be DOS-style, as IFS=:)
12949 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12950 echo "$as_me: error: cannot find input file: $f" >&2;}
12951 { (exit 1); exit 1; }; }
12954 if test -f "$f"; then
12957 elif test -f "$srcdir/$f"; then
12962 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12963 echo "$as_me: error: cannot find input file: $f" >&2;}
12964 { (exit 1); exit 1; }; }
12967 done` ||
{ (exit 1); exit 1; }
12969 cat >>$CONFIG_STATUS <<_ACEOF
12973 cat >>$CONFIG_STATUS <<\_ACEOF
12975 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12976 s
,@configure_input@
,$configure_input,;t t
12977 s
,@srcdir@
,$ac_srcdir,;t t
12978 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12979 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12980 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12981 s
,@builddir@
,$ac_builddir,;t t
12982 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12983 s
,@top_builddir@
,$ac_top_builddir,;t t
12984 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12985 s
,@INSTALL@
,$ac_INSTALL,;t t
12986 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12988 if test x"$ac_file" != x-; then
12989 mv $tmp/out $ac_file
12998 cat >>$CONFIG_STATUS <<\_ACEOF
13000 { (exit 0); exit 0; }
13002 chmod +x $CONFIG_STATUS
13003 ac_clean_files=$ac_clean_files_save
13006 # configure is writing to config.log, and then calls config.status.
13007 # config.status does its own redirection, appending to config.log.
13008 # Unfortunately, on DOS this fails, as config.log is still kept open
13009 # by configure, so config.status won't be able to write to it; its
13010 # output is simply discarded. So we exec the FD to /dev/null,
13011 # effectively closing config.log, so it can be properly (re)opened and
13012 # appended to by config.status. When coming back to configure, we
13013 # need to make the FD available again.
13014 if test "$no_create" != yes; then
13016 ac_config_status_args=
13017 test "$silent" = yes &&
13018 ac_config_status_args="$ac_config_status_args --quiet"
13020 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13022 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13023 # would make configure fail if this is the last instruction.
13024 $ac_cs_success || { (exit 1); exit 1; }