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 TOPLEVEL_CONFIGURE_ARGUMENTS 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 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 DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --enable-stage1-languages[=all
] choose additional languages to build during
939 stage1. Mostly useful
for compiler development.
940 --enable-objc-gc enable use of Boehm
's garbage collector with the
941 GNU Objective-C runtime
942 --enable-bootstrap enable bootstrapping [yes if native build]
943 --enable-serial-[{host,target,build}-]configure
944 force sequential configuration of
945 sub-packages for the host, target or build
946 machine, or all sub-packages
947 --enable-maintainer-mode enable make rules and dependencies not useful
948 (and sometimes confusing) to the casual installer
949 --enable-stage1-checking[=all] choose additional checking for stage1
951 --enable-werror enable -Werror in bootstrap stage2 and later
954 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
955 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
956 --with-build-libsubdir=DIR Directory where to find libraries for build system
957 --with-mpfr-dir=PATH this option has been REMOVED
958 --with-mpfr=PATH specify prefix directory for installed MPFR package.
959 Equivalent to --with-mpfr-include=PATH/include
960 plus --with-mpfr-lib=PATH/lib
961 --with-mpfr-include=PATH
962 specify directory for installed MPFR include files
963 --with-mpfr-lib=PATH specify directory for the installed MPFR library
964 --with-gmp-dir=PATH this option has been REMOVED
965 --with-gmp=PATH specify prefix directory for the installed GMP package.
966 Equivalent to --with-gmp-include=PATH/include
967 plus --with-gmp-lib=PATH/lib
968 --with-gmp-include=PATH specify directory for installed GMP include files
969 --with-gmp-lib=PATH specify directory for the installed GMP library
970 --with-build-sysroot=SYSROOT
971 use sysroot as the system root during the build
972 --with-debug-prefix-map='A
=B C
=D ...
'
973 map A to B, C to D ... in debug information
974 --with-build-time-tools=PATH
975 use given path to find target tools during the build
976 --with-datarootdir use datarootdir as the data root directory.
977 --with-docdir install documentation in this directory.
978 --with-pdfdir install pdf in this directory.
979 --with-htmldir install html in this directory.
981 Some influential environment variables:
982 CC C compiler command
983 CFLAGS C compiler flags
984 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
985 nonstandard directory <lib dir>
986 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
987 headers in a nonstandard directory <include dir>
988 CXX C++ compiler command
989 CXXFLAGS C++ compiler flags
992 DLLTOOL DLLTOOL for the host
994 LIPO LIPO for the host
996 RANLIB RANLIB for the host
997 STRIP STRIP for the host
998 WINDRES WINDRES for the host
999 WINDMC WINDMC for the host
1000 OBJCOPY OBJCOPY for the host
1001 OBJDUMP OBJDUMP for the host
1011 GFORTRAN for the target
1017 DLLTOOL for the target
1025 OBJDUMP for the target
1027 RANLIB for the target
1029 STRIP for the target
1031 WINDRES for the target
1033 WINDMC for the target
1035 Use these variables to override the choices made by `configure' or to
help
1036 it to
find libraries and programs with nonstandard names
/locations.
1041 if test "$ac_init_help" = "recursive"; then
1042 # If there are subdirs, report their specific --help.
1044 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1045 test -d $ac_dir ||
continue
1048 if test "$ac_dir" != .
; then
1049 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1050 # A "../" for each directory in $ac_dir_suffix.
1051 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1053 ac_dir_suffix
= ac_top_builddir
=
1057 .
) # No --srcdir option. We are building in place.
1059 if test -z "$ac_top_builddir"; then
1062 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1064 [\\/]* | ?
:[\\/]* ) # Absolute path.
1065 ac_srcdir
=$srcdir$ac_dir_suffix;
1066 ac_top_srcdir
=$srcdir ;;
1068 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1069 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1072 # Do not use `cd foo && pwd` to compute absolute paths, because
1073 # the directories may not exist.
1075 .
) ac_abs_builddir
="$ac_dir";;
1078 .
) ac_abs_builddir
=`pwd`;;
1079 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1080 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1083 case $ac_abs_builddir in
1084 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1086 case ${ac_top_builddir}.
in
1087 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1088 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1089 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1092 case $ac_abs_builddir in
1093 .
) ac_abs_srcdir
=$ac_srcdir;;
1096 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1097 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1098 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1101 case $ac_abs_builddir in
1102 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1104 case $ac_top_srcdir in
1105 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1106 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1107 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1112 # Check for guested configure; otherwise get Cygnus style configure.
1113 if test -f $ac_srcdir/configure.gnu
; then
1115 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1116 elif test -f $ac_srcdir/configure
; then
1118 $SHELL $ac_srcdir/configure
--help=recursive
1119 elif test -f $ac_srcdir/configure.ac ||
1120 test -f $ac_srcdir/configure.
in; then
1122 $ac_configure --help
1124 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 test -n "$ac_init_help" && exit 0
1131 if $ac_init_version; then
1134 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1135 This configure
script is free software
; the Free Software Foundation
1136 gives unlimited permission to copy
, distribute and modify it.
1142 This file contains any messages produced by compilers while
1143 running configure, to aid debugging if configure makes a mistake.
1145 It was created by $as_me, which was
1146 generated by GNU Autoconf 2.59. Invocation command line was
1157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1164 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1166 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1167 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1169 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1170 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1171 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1172 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1180 test -z "$as_dir" && as_dir
=.
1181 echo "PATH: $as_dir"
1196 # Keep a trace of the command line.
1197 # Strip out --no-create and --no-recursion so they do not pile up.
1198 # Strip out --silent because we don't want to record it for future runs.
1199 # Also quote any args containing shell meta-characters.
1200 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_must_keep_next
=false
1211 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1215 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1216 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1219 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1221 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1222 if test $ac_must_keep_next = true
; then
1223 ac_must_keep_next
=false
# Got value, back to normal.
1226 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1227 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1228 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1229 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1230 case "$ac_configure_args0 " in
1231 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1234 -* ) ac_must_keep_next
=true
;;
1237 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1238 # Get rid of the leading space.
1244 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1245 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1247 # When interrupted or exit'd, cleanup temporary files, and complete
1248 # config.log. We remove comments because anyway the quotes in there
1249 # would cause problems or look ugly.
1250 # WARNING: Be sure not to use single quotes in there, as some shells,
1251 # such as our DU 5.0 friend, will then `close' the trap.
1252 trap 'exit_status=$?
1253 # Save into config.log some information that might help in debugging.
1258 ## ---------------- ##
1259 ## Cache variables. ##
1260 ## ---------------- ##
1263 # The following way of writing the cache mishandles newlines in values,
1266 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1269 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1274 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 ## ----------------- ##
1282 ## Output variables. ##
1283 ## ----------------- ##
1286 for ac_var in $ac_subst_vars
1288 eval ac_val=$`echo $ac_var`
1289 echo "$ac_var='"'"'$ac_val'"'"'"
1293 if test -n "$ac_subst_files"; then
1300 for ac_var in $ac_subst_files
1302 eval ac_val=$`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1308 if test -s confdefs.h; then
1315 sed "/^$/d" confdefs.h | sort
1318 test "$ac_signal" != 0 &&
1319 echo "$as_me: caught signal $ac_signal"
1320 echo "$as_me: exit $exit_status"
1322 rm -f core *.core &&
1323 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1326 for ac_signal
in 1 2 13 15; do
1327 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1332 rm -rf conftest
* confdefs.h
1333 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1336 # Predefined preprocessor variables.
1338 cat >>confdefs.h
<<_ACEOF
1339 #define PACKAGE_NAME "$PACKAGE_NAME"
1343 cat >>confdefs.h
<<_ACEOF
1344 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1348 cat >>confdefs.h
<<_ACEOF
1349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1353 cat >>confdefs.h
<<_ACEOF
1354 #define PACKAGE_STRING "$PACKAGE_STRING"
1358 cat >>confdefs.h
<<_ACEOF
1359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1363 # Let the site file select an alternate cache file if it wants to.
1364 # Prefer explicitly selected file to automatically selected ones.
1365 if test -z "$CONFIG_SITE"; then
1366 if test "x$prefix" != xNONE
; then
1367 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1369 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1372 for ac_site_file
in $CONFIG_SITE; do
1373 if test -r "$ac_site_file"; then
1374 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1375 echo "$as_me: loading site script $ac_site_file" >&6;}
1376 sed 's/^/| /' "$ac_site_file" >&5
1381 if test -r "$cache_file"; then
1382 # Some versions of bash will fail to source /dev/null (special
1383 # files actually), so we avoid doing that.
1384 if test -f "$cache_file"; then
1385 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1386 echo "$as_me: loading cache $cache_file" >&6;}
1388 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1389 *) . .
/$cache_file;;
1393 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1394 echo "$as_me: creating cache $cache_file" >&6;}
1398 # Check that the precious variables saved in the cache have kept the same
1400 ac_cache_corrupted
=false
1401 for ac_var
in `(set) 2>&1 |
1402 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1403 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1404 eval ac_new_set
=\
$ac_env_${ac_var}_set
1405 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1406 eval ac_new_val
="\$ac_env_${ac_var}_value"
1407 case $ac_old_set,$ac_new_set in
1409 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1410 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1411 ac_cache_corrupted
=: ;;
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1415 ac_cache_corrupted
=: ;;
1418 if test "x$ac_old_val" != "x$ac_new_val"; then
1419 # differences in whitespace do not lead to failure.
1420 ac_old_val_w
=`echo x $ac_old_val`
1421 ac_new_val_w
=`echo x $ac_new_val`
1422 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 ac_cache_corrupted
=:
1427 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1428 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1429 eval $ac_var=\
$ac_old_val
1431 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1432 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1433 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1434 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg
=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1452 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1453 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1454 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1456 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1461 ac_cpp
='$CPP $CPPFLAGS'
1462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1490 # if PWD already has a value, it is probably wrong.
1491 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1493 # Export original configure arguments for use by sub-configures.
1494 # Quote arguments with shell meta charatcers.
1495 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1496 set -- "$progname" "$@"
1500 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1501 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1502 # if the argument is of the form -foo=baz, quote the baz part only
1503 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1506 # Add the quoted argument to the list.
1507 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1509 if test "$silent" = yes; then
1510 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1512 # Remove the initial space we just introduced and, as these will be
1513 # expanded by make, quote '$'.
1514 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1517 # Find the build, host, and target systems.
1519 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1520 if test -f $ac_dir/install-sh
; then
1522 ac_install_sh
="$ac_aux_dir/install-sh -c"
1524 elif test -f $ac_dir/install.sh
; then
1526 ac_install_sh
="$ac_aux_dir/install.sh -c"
1528 elif test -f $ac_dir/shtool
; then
1530 ac_install_sh
="$ac_aux_dir/shtool install -c"
1534 if test -z "$ac_aux_dir"; then
1535 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1536 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1537 { (exit 1); exit 1; }; }
1539 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1540 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1541 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1543 # Make sure we can run config.sub.
1544 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1545 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1546 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1547 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: checking build system type" >&5
1550 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1551 if test "${ac_cv_build+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_build_alias
=$build_alias
1555 test -z "$ac_cv_build_alias" &&
1556 ac_cv_build_alias
=`$ac_config_guess`
1557 test -z "$ac_cv_build_alias" &&
1558 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1559 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1560 { (exit 1); exit 1; }; }
1561 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1568 echo "${ECHO_T}$ac_cv_build" >&6
1570 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1575 case ${build_alias} in
1576 "") build_noncanonical
=${build} ;;
1577 *) build_noncanonical
=${build_alias} ;;
1582 case ${host_alias} in
1583 "") host_noncanonical
=${build_noncanonical} ;;
1584 *) host_noncanonical
=${host_alias} ;;
1589 case ${target_alias} in
1590 "") target_noncanonical
=${host_noncanonical} ;;
1591 *) target_noncanonical
=${target_alias} ;;
1597 test "$host_noncanonical" = "$target_noncanonical" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1600 program_transform_name
=s
,y
,y
,
1602 echo "$as_me:$LINENO: checking host system type" >&5
1603 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604 if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 ac_cv_host_alias
=$host_alias
1608 test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias
=$ac_cv_build_alias
1610 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1616 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617 echo "${ECHO_T}$ac_cv_host" >&6
1619 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1624 echo "$as_me:$LINENO: checking target system type" >&5
1625 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1626 if test "${ac_cv_target+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 ac_cv_target_alias
=$target_alias
1630 test "x$ac_cv_target_alias" = "x" &&
1631 ac_cv_target_alias
=$ac_cv_host_alias
1632 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1633 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1634 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1635 { (exit 1); exit 1; }; }
1638 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1639 echo "${ECHO_T}$ac_cv_target" >&6
1640 target
=$ac_cv_target
1641 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1642 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1643 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1646 # The aliases save the names the user supplied, while $host etc.
1647 # will get canonicalized.
1648 test -n "$target_alias" &&
1649 test "$program_prefix$program_suffix$program_transform_name" = \
1651 program_prefix
=${target_alias}-
1652 test "$program_prefix" != NONE
&&
1653 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1654 # Use a double $ so make ignores it.
1655 test "$program_suffix" != NONE
&&
1656 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1657 # Double any \ or $. echo might interpret backslashes.
1658 # By default was `s,x,x', remove it if useless.
1659 cat <<\_ACEOF
>conftest.
sed
1660 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1662 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1667 # Get 'install' or 'install-sh' and its variants.
1668 # Find a good install program. We prefer a C program (faster),
1669 # so one script is as good as another. But avoid the broken or
1670 # incompatible versions:
1671 # SysV /etc/install, /usr/sbin/install
1672 # SunOS /usr/etc/install
1673 # IRIX /sbin/install
1675 # AmigaOS /C/install, which installs bootblocks on floppy discs
1676 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1677 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1678 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1679 # OS/2's system install, which has a completely different semantic
1680 # ./install, which can be erroneously created by make from ./install.sh.
1681 # Reject install programs that cannot install multiple files.
1682 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1683 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1684 if test -z "$INSTALL"; then
1685 if test "${ac_cv_path_install+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir
=.
1693 # Account for people who put trailing slashes in PATH elements.
1695 .
/ | .
// |
/cC
/* | \
1696 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1697 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1700 # OSF1 and SCO ODT 3.0 have their own names for install.
1701 # Don't use installbsd from OSF since it installs stuff as root
1703 for ac_prog
in ginstall scoinst
install; do
1704 for ac_exec_ext
in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1706 if test $ac_prog = install &&
1707 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1708 # AIX install. It has an incompatible calling convention.
1710 elif test $ac_prog = install &&
1711 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1712 # program-specific install script used by HP pwplus--don't use.
1715 rm -rf conftest.one conftest.two conftest.dir
1716 echo one
> conftest.one
1717 echo two
> conftest.two
1719 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1720 test -s conftest.one
&& test -s conftest.two
&&
1721 test -s conftest.dir
/conftest.one
&&
1722 test -s conftest.dir
/conftest.two
1724 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1735 rm -rf conftest.one conftest.two conftest.dir
1738 if test "${ac_cv_path_install+set}" = set; then
1739 INSTALL
=$ac_cv_path_install
1741 # As a last resort, use the slow shell script. Don't cache a
1742 # value for INSTALL within a source directory, because that will
1743 # break other packages using the cache if that directory is
1744 # removed, or if the value is a relative name.
1745 INSTALL
=$ac_install_sh
1748 echo "$as_me:$LINENO: result: $INSTALL" >&5
1749 echo "${ECHO_T}$INSTALL" >&6
1751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1752 # It thinks the first close brace ends the variable substitution.
1753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1757 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1759 echo "$as_me:$LINENO: checking whether ln works" >&5
1760 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1761 if test "${acx_cv_prog_LN+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 rm -f conftestdata_t
1765 echo >conftestdata_f
1766 if ln conftestdata_f conftestdata_t
2>/dev
/null
1772 rm -f conftestdata_f conftestdata_t
1775 if test $acx_cv_prog_LN = no
; then
1777 echo "$as_me:$LINENO: result: no, using $LN" >&5
1778 echo "${ECHO_T}no, using $LN" >&6
1780 LN
="$acx_cv_prog_LN"
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1785 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1786 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1788 if test "$LN_S" = "ln -s"; then
1789 echo "$as_me:$LINENO: result: yes" >&5
1790 echo "${ECHO_T}yes" >&6
1792 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1793 echo "${ECHO_T}no, using $LN_S" >&6
1797 ### we might need to use some other shell than /bin/sh for running subshells
1798 ### If we are on Windows, search for the shell. This will permit people
1799 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1800 ### without also having to set CONFIG_SHELL. This code will work when
1801 ### using bash, which sets OSTYPE.
1804 if test x
${CONFIG_SHELL} = x
; then
1805 if test ! -f /bin
/sh
; then
1806 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1807 CONFIG_SHELL
=${SHELL}
1810 for prog
in sh sh.exe bash bash.exe
; do
1811 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1812 for dir
in $PATH; do
1813 test -z "$dir" && dir
=.
1814 if test -f $dir/$prog; then
1815 CONFIG_SHELL
=$dir/$prog
1821 test -n "${CONFIG_SHELL}" && break
1829 config_shell
=${CONFIG_SHELL-/bin/sh}
1831 moveifchange
=${srcdir}/move-if-change
1833 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1835 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1837 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1838 INSTALL
="${srcpwd}/install-sh -c"
1841 # Set srcdir to "." if that's what it is.
1842 # This is important for multilib support.
1844 if test "${pwd}" = "${srcpwd}" ; then
1852 ### To add a new directory to the tree, first choose whether it is a target
1853 ### or a host dependent tool. Then put it into the appropriate list
1854 ### (library or tools, host or target), doing a dependency sort.
1856 # Subdirs will be configured in the order listed in build_configdirs,
1857 # configdirs, or target_configdirs; see the serialization section below.
1859 # Dependency sorting is only needed when *configuration* must be done in
1860 # a particular order. In all cases a dependency should be specified in
1861 # the Makefile, whether or not it's implicitly specified here.
1863 # Double entries in build_configdirs, configdirs, or target_configdirs may
1864 # cause circular dependencies and break everything horribly.
1866 # these library is used by various programs built for the build
1869 build_libs
="build-libiberty"
1871 # these tools are built for the build environment
1872 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1874 # these libraries are used by various programs built for the host environment
1876 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1878 # these tools are built for the host environment
1879 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1880 # know that we are building the simulator.
1881 # binutils, gas and ld appear in that order because it makes sense to run
1882 # "make check" in that particular order.
1883 # If --enable-gold is used, "gold" will replace "ld".
1884 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"
1886 # libgcj represents the runtime libraries only used by gcj.
1887 libgcj
="target-libffi \
1892 # these libraries are built for the target environment, and are built after
1893 # the host libraries and the host tools (which may be a cross compiler)
1895 target_libraries
="target-libgcc \
1900 target-libstdc++-v3 \
1903 target-libgfortran \
1909 # these tools are built using the target libraries, and are intended to
1910 # run only in the target environment
1912 # note: any program that *uses* libraries that are in the "target_libraries"
1913 # list belongs in this list. those programs are also very likely
1914 # candidates for the "native_only" list which follows
1916 target_tools
="target-examples target-groff target-gperf target-rda"
1918 ################################################################################
1920 ## All tools belong in one of the four categories, and are assigned above
1921 ## We assign ${configdirs} this way to remove all embedded newlines. This
1922 ## is important because configure will choke if they ever get through.
1923 ## ${configdirs} is directories we build using the host tools.
1924 ## ${target_configdirs} is directories we build using the target tools.
1925 configdirs
=`echo ${host_libs} ${host_tools}`
1926 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1927 build_configdirs
=`echo ${build_libs} ${build_tools}`
1931 ################################################################################
1933 srcname
="gnu development package"
1935 # This gets set non-empty for some net releases of packages.
1938 # Define is_cross_compiler to save on calls to 'test'.
1940 if test x
"${host}" = x
"${target}" ; then
1941 is_cross_compiler
=no
1943 is_cross_compiler
=yes
1946 # Find the build and target subdir names.
1948 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1949 # have matching libraries, they should use host libraries: Makefile.tpl
1950 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1951 # However, they still use the build modules, because the corresponding
1952 # host modules (e.g. bison) are only built for the host when bootstrap
1954 # - build_subdir is where we find build modules, and never changes.
1955 # - build_libsubdir is where we find build libraries, and can be overridden.
1957 # Prefix 'build-' so this never conflicts with target_subdir.
1958 build_subdir
="build-${build_noncanonical}"
1960 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1961 if test "${with_build_libsubdir+set}" = set; then
1962 withval
="$with_build_libsubdir"
1963 build_libsubdir
="$withval"
1965 build_libsubdir
="$build_subdir"
1967 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1968 if ( test $srcdir = .
&& test -d gcc
) \
1969 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1970 host_subdir
="host-${host_noncanonical}"
1975 target_subdir
=${target_noncanonical}
1978 # Skipdirs are removed silently.
1980 # Noconfigdirs are removed loudly.
1984 # Make sure we don't let GNU ld be added if we didn't want it.
1985 if test x
$with_gnu_ld = xno
; then
1987 noconfigdirs
="$noconfigdirs ld gold"
1991 # Make sure we don't let GNU as be added if we didn't want it.
1992 if test x
$with_gnu_as = xno
; then
1994 noconfigdirs
="$noconfigdirs gas"
1997 # some tools are so dependent upon X11 that if we're not building with X,
1998 # it's not even worth trying to configure, much less build, that tool.
2001 yes |
"") ;; # the default value for this tree is that X11 is available
2003 skipdirs
="${skipdirs} tk itcl libgui"
2004 # We won't be able to build gdbtk without X.
2007 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2010 # Some tools are only suitable for building in a "native" situation.
2011 # Remove these if host!=target.
2012 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"
2014 # Similarly, some are only suitable for cross toolchains.
2015 # Remove these if host=target.
2016 cross_only
="target-libgloss target-newlib target-opcodes"
2018 case $is_cross_compiler in
2019 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2020 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2023 # If both --with-headers and --with-libs are specified, default to
2025 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2026 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2027 if test x
"${with_newlib}" = x
; then
2032 # Recognize --with-newlib/--without-newlib.
2033 case ${with_newlib} in
2034 no
) skipdirs
="${skipdirs} target-newlib" ;;
2035 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2038 # Handle --enable-gold.
2040 # Check whether --enable-gold or --disable-gold was given.
2041 if test "${enable_gold+set}" = set; then
2042 enableval
="$enable_gold"
2043 ENABLE_GOLD
=$enableval
2047 if test "${ENABLE_GOLD}" = "yes"; then
2048 # Check for ELF target.
2051 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2052 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2053 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2055 *-*-linux*aout
* |
*-*-linux*oldld
*)
2063 if test "$is_elf" = "yes"; then
2064 # Check for target supported by gold.
2066 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-*)
2067 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2073 # Configure extra directories which are host specific
2077 configdirs
="$configdirs libtermcap" ;;
2080 # A target can indicate whether a language isn't supported for some reason.
2081 # Only spaces may be used in this macro; not newlines or tabs.
2082 unsupported_languages
=
2084 # Remove more programs from consideration, based on the host or
2085 # target this usually means that a port of the program doesn't
2090 noconfigdirs
="$noconfigdirs byacc"
2092 i
[3456789]86-*-vsta)
2093 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2095 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2096 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2099 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2101 i
[3456789]86-*-mingw32*)
2102 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2103 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2105 i
[3456789]86-*-beos*)
2106 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2109 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2112 noconfigdirs
="$noconfigdirs rcs"
2115 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2118 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2123 # Check whether --enable-libada or --disable-libada was given.
2124 if test "${enable_libada+set}" = set; then
2125 enableval
="$enable_libada"
2126 ENABLE_LIBADA
=$enableval
2130 if test "${ENABLE_LIBADA}" != "yes" ; then
2131 noconfigdirs
="$noconfigdirs gnattools"
2134 # Check whether --enable-libssp or --disable-libssp was given.
2135 if test "${enable_libssp+set}" = set; then
2136 enableval
="$enable_libssp"
2137 ENABLE_LIBSSP
=$enableval
2142 # Save it here so that, even in case of --enable-libgcj, if the Java
2143 # front-end isn't enabled, we still get libgcj disabled.
2144 libgcj_saved
=$libgcj
2145 case $enable_libgcj in
2147 # If we reset it here, it won't get added to noconfigdirs in the
2148 # target-specific build rules, so it will be forcibly enabled
2149 # (unless the Java language itself isn't enabled).
2153 # Make sure we get it printed in the list of not supported target libs.
2154 noconfigdirs
="$noconfigdirs ${libgcj}"
2159 # Disable libmudflap on some systems.
2160 if test x
$enable_libmudflap = x
; then
2162 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2163 # Enable libmudflap by default in GNU and friends.
2166 # Enable libmudflap by default in FreeBSD.
2169 # Disable it by default everywhere else.
2170 noconfigdirs
="$noconfigdirs target-libmudflap"
2175 # Disable libgomp on non POSIX hosted systems.
2176 if test x
$enable_libgomp = x
; then
2177 # Enable libgomp by default on hosted POSIX systems.
2179 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2181 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2183 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2185 *-*-darwin* |
*-*-aix*)
2188 noconfigdirs
="$noconfigdirs target-libgomp"
2193 # Default libgloss CPU subdirectory.
2194 libgloss_dir
="$target_cpu"
2198 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2200 powerpc-
*-darwin* | x86_64-
*-darwin9*)
2201 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2202 noconfigdirs
="$noconfigdirs sim target-rda"
2204 i
[3456789]86-*-darwin*)
2205 noconfigdirs
="$noconfigdirs ld gas gprof"
2206 noconfigdirs
="$noconfigdirs sim target-rda"
2209 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2210 noconfigdirs
="$noconfigdirs sim target-rda"
2211 noconfigdirs
="$noconfigdirs ${libgcj}"
2213 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2214 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2217 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2218 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2219 && test -f /usr
/local
/include
/gmp.h
; then
2223 # Skip some stuff that's unsupported on some FreeBSD configurations.
2228 noconfigdirs
="$noconfigdirs ${libgcj}"
2233 # Remove unsupported stuff on all kaOS configurations.
2234 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2235 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2236 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2237 noconfigdirs
="$noconfigdirs target-libgloss"
2240 # Skip some stuff on all NetBSD configurations.
2241 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2243 # Skip some stuff that's unsupported on some NetBSD configurations.
2245 i
*86-*-netbsdelf*) ;;
2246 arm
*-*-netbsdelf*) ;;
2248 noconfigdirs
="$noconfigdirs ${libgcj}"
2253 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2256 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2258 # The tpf target doesn't support gdb yet.
2260 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2263 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2266 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2269 # ld works, but does not support shared libraries.
2270 # newlib is not 64 bit ready. I'm not sure about fileutils.
2271 # gas doesn't generate exception information.
2272 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2275 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2278 # newlib is not 64 bit ready
2279 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2282 # newlib is not 64 bit ready
2283 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2286 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2289 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2291 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2292 noconfigdirs
="$noconfigdirs ${libgcj}"
2293 noconfigdirs
="$noconfigdirs target-examples"
2294 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2295 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2296 noconfigdirs
="$noconfigdirs expect dejagnu"
2297 # the C++ libraries don't build on top of CE's C libraries
2298 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2299 noconfigdirs
="$noconfigdirs target-newlib"
2301 *-*-cygwin*) ;; # keep gdb and readline
2302 *) noconfigdirs
="$noconfigdirs gdb readline"
2308 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2312 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2313 noconfigdirs
="$noconfigdirs ${libgcj}"
2316 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2317 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2320 arm
*-*-linux-gnueabi)
2321 noconfigdirs
="$noconfigdirs target-qthreads"
2322 case ${with_newlib} in
2323 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2328 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2332 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2335 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2338 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2341 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2344 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2347 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2350 noconfigdirs
="$noconfigdirs gdb"
2351 if test x
${is_cross_compiler} != xno
; then
2352 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2355 c4x-
*-* | tic4x-
*-*)
2356 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2358 c54x
*-*-* | tic54x-
*-*)
2359 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2362 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2364 cris-
*-* | crisv32-
*-*)
2365 unsupported_languages
="$unsupported_languages java"
2368 unsupported_languages
="$unsupported_languages fortran"
2369 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2371 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2373 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2375 unsupported_languages
="$unsupported_languages fortran"
2376 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2381 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2384 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2387 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2389 ep9312-
*-elf | ep9312-
*-coff)
2393 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2396 noconfigdirs
="$noconfigdirs ${libgcj}"
2399 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2402 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2404 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2406 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2407 # In this case, it's because the hppa64-linux target is for
2408 # the kernel only at this point and has no libc, and thus no
2409 # headers, crt*.o, etc., all of which are needed by these.
2410 noconfigdirs
="$noconfigdirs target-zlib"
2412 parisc
*-*-linux* | hppa
*-*-linux*)
2416 hppa
*-*-openbsd* | \
2418 noconfigdirs
="$noconfigdirs ${libgcj}"
2421 noconfigdirs
="$noconfigdirs ld shellutils"
2427 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2428 # build on HP-UX 10.20.
2429 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2432 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2435 # No gdb support yet.
2436 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2439 # No gdb or ld support yet.
2440 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2444 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2445 noconfigdirs
="$noconfigdirs ${libgcj}"
2448 i
[3456789]86-*-linux*)
2449 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2450 # not build java stuff by default.
2453 noconfigdirs
="$noconfigdirs ${libgcj}";;
2456 # This section makes it possible to build newlib natively on linux.
2457 # If we are using a cross compiler then don't configure newlib.
2458 if test x
${is_cross_compiler} != xno
; then
2459 noconfigdirs
="$noconfigdirs target-newlib"
2461 noconfigdirs
="$noconfigdirs target-libgloss"
2462 # If we are not using a cross compiler, do configure newlib.
2463 # Note however, that newlib will only be configured in this situation
2464 # if the --with-newlib option has been given, because otherwise
2465 # 'target-newlib' will appear in skipdirs.
2467 i
[3456789]86-*-mingw32*)
2468 target_configdirs
="$target_configdirs target-winsup"
2469 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2472 target_configdirs
="$target_configdirs target-winsup"
2473 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2476 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2477 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2478 # always build newlib if winsup directory is present.
2479 if test -d "$srcdir/winsup/cygwin"; then
2480 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2481 elif test -d "$srcdir/newlib"; then
2482 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2485 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2486 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2489 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2491 i
[3456789]86-*-sco3.2v5
*)
2492 # The linker does not yet know about weak symbols in COFF,
2493 # and is not configured to handle mixed ELF and COFF.
2494 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2496 i
[3456789]86-*-sco*)
2497 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2499 i
[3456789]86-*-solaris2*)
2500 noconfigdirs
="$noconfigdirs target-libgloss"
2502 i
[3456789]86-*-sysv4*)
2503 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2505 i
[3456789]86-*-beos*)
2506 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2508 i
[3456789]86-*-rdos*)
2509 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2512 noconfigdirs
="$noconfigdirs ${libgcj}"
2514 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2515 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2516 libgloss_dir
=m68hc11
2519 noconfigdirs
="$noconfigdirs ${libgcj}"
2522 noconfigdirs
="$noconfigdirs ${libgcj}"
2524 m68
*-*-* | fido-
*-*)
2528 # The EPOC C++ environment does not support exceptions or rtti,
2529 # and so building libstdc++-v3 tends not to always work.
2530 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2533 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2534 unsupported_languages
="$unsupported_languages fortran java"
2537 noconfigdirs
="$noconfigdirs ${libgcj}"
2540 noconfigdirs
="$noconfigdirs ${libgcj}"
2543 noconfigdirs
="$noconfigdirs sim"
2546 # copied from rs6000-*-* entry
2547 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2549 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2550 target_configdirs
="$target_configdirs target-winsup"
2551 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2552 # always build newlib.
2553 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2555 # This is temporary until we can link against shared libraries
2556 powerpcle-
*-solaris*)
2557 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2561 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2564 noconfigdirs
="$noconfigdirs ${libgcj}"
2567 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2571 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2574 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2577 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2580 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2583 skipdirs
="$skipdirs target-libiberty"
2584 noconfigdirs
="$noconfigdirs ${libgcj}"
2585 if test x
$with_newlib = xyes
; then
2586 noconfigdirs
="$noconfigdirs gprof"
2591 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2594 # Linking libjava exceeds command-line length limits on at least
2595 # IRIX 6.2, but not on IRIX 6.5.
2596 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2597 # <oldham@codesourcery.com>
2598 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2601 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2604 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2607 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2611 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2615 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2616 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2617 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2618 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2620 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2622 sparclet-
*-aout* | sparc86x-
*-*)
2626 noconfigdirs
="$noconfigdirs ${libgcj}"
2629 noconfigdirs
="$noconfigdirs ${libgcj}"
2633 noconfigdirs
="$noconfigdirs ${libgcj}"
2637 noconfigdirs
="$noconfigdirs ${libgcj}"
2638 if test x
${is_cross_compiler} != xno
; then
2639 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2644 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2645 noconfigdirs
="$noconfigdirs ${libgcj}"
2647 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2652 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2655 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2658 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2661 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2664 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2667 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2670 noconfigdirs
="$noconfigdirs ${libgcj}"
2673 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2675 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2676 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2682 noconfigdirs
="$noconfigdirs ${libgcj}"
2686 # If we aren't building newlib, then don't build libgloss, since libgloss
2687 # depends upon some newlib header files.
2688 case "${noconfigdirs}" in
2689 *target-libgloss
*) ;;
2690 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2693 # Work in distributions that contain no compiler tools, like Autoconf.
2695 host_makefile_frag
=/dev
/null
2696 if test -d ${srcdir}/config
; then
2699 # Avoid "too much defining" errors from HPUX compiler.
2700 tentative_cc
="cc -Wp,-H256000"
2701 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2702 # If it's HP/UX ar, this should be harmless.
2706 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2709 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2710 # chokes on bfd, the compiler won't let you assign integers to enums, and
2711 # other problems. Defining CC to gcc is a questionable way to say "don't use
2712 # the apollo compiler" (the preferred version of GCC could be called cc,
2713 # or whatever), but I'm not sure leaving CC as cc is any better...
2714 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2715 # Used to have BISON=yacc.
2719 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2722 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2723 tentative_cc
="cc -Xa"
2724 host_makefile_frag
="config/mh-cxux"
2726 m88k-motorola-sysv
*)
2729 tentative_cc
="cc -Wf,-XNg1000"
2730 host_makefile_frag
="config/mh-decstation"
2733 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2734 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2735 host_makefile_frag
="config/mh-necv4"
2738 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2739 # environment. Also bump switch table size so that cp-parse will
2740 # compile. Bump string length limit so linker builds.
2741 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2744 host_makefile_frag
="config/mh-sysv4"
2747 # This is for a MIPS running RISC/os 4.52C.
2749 # This is needed for GDB, but needs to be in the top-level make because
2750 # if a library is compiled with the bsd headers and gets linked with the
2751 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2752 # a different size).
2753 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2754 # known except to select the sysv environment. Could we use /proc instead?
2755 # These "sysv environments" and "bsd environments" often end up being a pain.
2757 # This is not part of CFLAGS because perhaps not all C compilers have this
2759 tentative_cc
="cc -systype sysv"
2764 i
[3456789]86-*-sysv5*)
2765 host_makefile_frag
="config/mh-sysv5"
2767 i
[3456789]86-*-dgux*)
2768 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2769 host_makefile_frag
="config/mh-dgux386"
2771 i
[3456789]86-ncr-sysv4.3
*)
2772 # The MetaWare compiler will generate a copyright message unless you
2773 # turn it off by adding the -Hnocopyr flag.
2774 tentative_cc
="cc -Hnocopyr"
2776 i
[3456789]86-ncr-sysv4*)
2777 # for an NCR 3000 (i486/SVR4) system.
2778 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2779 # This compiler not only emits obnoxious copyright messages every time
2780 # you run it, but it chokes and dies on a whole bunch of GNU source
2781 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2782 tentative_cc
="/usr/ccs/ATT/cc"
2783 host_makefile_frag
="config/mh-ncr3000"
2785 i
[3456789]86-*-sco3.2v5
*)
2787 i
[3456789]86-*-sco*)
2788 # The native C compiler botches some simple uses of const. Unfortunately,
2789 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2790 tentative_cc
="cc -Dconst="
2791 host_makefile_frag
="config/mh-sco"
2793 i
[3456789]86-*-udk*)
2794 host_makefile_frag
="config/mh-sysv5"
2796 i
[3456789]86-*-solaris2*)
2797 host_makefile_frag
="config/mh-sysv4"
2799 i
[3456789]86-*-msdosdjgpp*)
2800 host_makefile_frag
="config/mh-djgpp"
2804 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2805 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2806 echo a
>cygwin-cat-check
2807 if test `cat cygwin-cat-check` == a
; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2815 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2816 Please either mount the build directory in binary mode or run the following
2817 commands before running any configure script:
2821 echo "$as_me: error: The cat command does not ignore carriage return characters.
2822 Please either mount the build directory in binary mode or run the following
2823 commands before running any configure script:
2827 { (exit 1); exit 1; }; }
2830 host_makefile_frag
="config/mh-cygwin"
2833 host_makefile_frag
="config/mh-mingw"
2836 host_makefile_frag
="config/mh-interix"
2839 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2843 host_makefile_frag
="config/mh-solaris"
2846 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2847 # without overflowing the jump tables (-J says to use a 32 bit table)
2848 tentative_cc
="cc -J"
2851 tentative_cc
="cc -Wp,-H256000"
2852 host_makefile_frag
="config/mh-pa-hpux10"
2854 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2855 tentative_cc
="cc -Wp,-H256000"
2856 host_makefile_frag
="config/mh-pa"
2859 host_makefile_frag
="config/mh-pa"
2861 *-hp-hpux* |
*-*-hiux*)
2862 tentative_cc
="cc -Wp,-H256000"
2865 # /bin/cc is less than useful for our purposes. Always use GCC
2866 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2867 host_makefile_frag
="config/mh-lynxrs6k"
2870 host_makefile_frag
="config/mh-ppc-darwin"
2873 host_makefile_frag
="config/mh-ppc-aix"
2876 host_makefile_frag
="config/mh-ppc-aix"
2879 # /bin/cc is less than useful for our purposes. Always use GCC
2880 tentative_cc
="/bin/gcc"
2883 host_makefile_frag
="config/mh-sysv4"
2885 # This is placed last to prevent interfering with the cases above.
2887 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2888 host_makefile_frag
="config/mh-x86omitfp"
2893 # If we aren't going to be using gcc, see if we can extract a definition
2894 # of CC from the fragment.
2895 # Actually, use the 'pre-extracted' version above.
2896 if test -z "${CC}" && test "${build}" = "${host}" ; then
2897 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2899 for dir
in $PATH; do
2900 test -z "$dir" && dir
=.
2901 if test -f $dir/gcc
; then
2907 if test -z "${found}" && test -n "${tentative_cc}" ; then
2912 if test "${build}" != "${host}" ; then
2913 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2914 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2915 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2916 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2917 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2918 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2919 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2920 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2921 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2922 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2923 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2924 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2926 AR_FOR_BUILD
="\$(AR)"
2927 AS_FOR_BUILD
="\$(AS)"
2928 CC_FOR_BUILD
="\$(CC)"
2929 CXX_FOR_BUILD
="\$(CXX)"
2930 GCJ_FOR_BUILD
="\$(GCJ)"
2931 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2932 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2933 LD_FOR_BUILD
="\$(LD)"
2934 NM_FOR_BUILD
="\$(NM)"
2935 RANLIB_FOR_BUILD
="\$(RANLIB)"
2936 WINDRES_FOR_BUILD
="\$(WINDRES)"
2937 WINDMC_FOR_BUILD
="\$(WINDMC)"
2941 ac_cpp
='$CPP $CPPFLAGS'
2942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2945 if test -n "$ac_tool_prefix"; then
2946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2947 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2948 echo "$as_me:$LINENO: checking for $ac_word" >&5
2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2950 if test "${ac_cv_prog_CC+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 if test -n "$CC"; then
2954 ac_cv_prog_CC
="$CC" # Let the user override the test.
2956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2960 test -z "$as_dir" && as_dir
=.
2961 for ac_exec_ext
in '' $ac_executable_extensions; do
2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2963 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$CC"; then
2974 echo "$as_me:$LINENO: result: $CC" >&5
2975 echo "${ECHO_T}$CC" >&6
2977 echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6
2982 if test -z "$ac_cv_prog_CC"; then
2984 # Extract the first word of "gcc", so it can be a program name with args.
2985 set dummy gcc
; ac_word
=$2
2986 echo "$as_me:$LINENO: checking for $ac_word" >&5
2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 if test -n "$ac_ct_CC"; then
2992 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 for ac_exec_ext
in '' $ac_executable_extensions; do
3000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001 ac_cv_prog_ac_ct_CC
="gcc"
3002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3011 if test -n "$ac_ct_CC"; then
3012 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3013 echo "${ECHO_T}$ac_ct_CC" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3024 if test -z "$CC"; then
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3027 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3028 echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3030 if test "${ac_cv_prog_CC+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC
="$CC" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$CC"; then
3054 echo "$as_me:$LINENO: result: $CC" >&5
3055 echo "${ECHO_T}$CC" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 if test -z "$ac_cv_prog_CC"; then
3064 # Extract the first word of "cc", so it can be a program name with args.
3065 set dummy cc
; ac_word
=$2
3066 echo "$as_me:$LINENO: checking for $ac_word" >&5
3067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3068 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 if test -n "$ac_ct_CC"; then
3072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_ac_ct_CC
="cc"
3082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3091 if test -n "$ac_ct_CC"; then
3092 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3093 echo "${ECHO_T}$ac_ct_CC" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3105 if test -z "$CC"; then
3106 # Extract the first word of "cc", so it can be a program name with args.
3107 set dummy cc
; ac_word
=$2
3108 echo "$as_me:$LINENO: checking for $ac_word" >&5
3109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3110 if test "${ac_cv_prog_CC+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 if test -n "$CC"; then
3114 ac_cv_prog_CC
="$CC" # Let the user override the test.
3117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir
=.
3122 for ac_exec_ext
in '' $ac_executable_extensions; do
3123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3125 ac_prog_rejected
=yes
3129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test $ac_prog_rejected = yes; then
3136 # We found a bogon in the path, so make sure we never use it.
3137 set dummy
$ac_cv_prog_CC
3139 if test $# != 0; then
3140 # We chose a different compiler from the bogus one.
3141 # However, it has the same basename, so the bogon will be chosen
3142 # first if we set CC to just the basename; use the full file name.
3144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3150 if test -n "$CC"; then
3151 echo "$as_me:$LINENO: result: $CC" >&5
3152 echo "${ECHO_T}$CC" >&6
3154 echo "$as_me:$LINENO: result: no" >&5
3155 echo "${ECHO_T}no" >&6
3159 if test -z "$CC"; then
3160 if test -n "$ac_tool_prefix"; then
3163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3164 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3165 echo "$as_me:$LINENO: checking for $ac_word" >&5
3166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3167 if test "${ac_cv_prog_CC+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 if test -n "$CC"; then
3171 ac_cv_prog_CC
="$CC" # Let the user override the test.
3173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3177 test -z "$as_dir" && as_dir
=.
3178 for ac_exec_ext
in '' $ac_executable_extensions; do
3179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test -n "$CC"; then
3191 echo "$as_me:$LINENO: result: $CC" >&5
3192 echo "${ECHO_T}$CC" >&6
3194 echo "$as_me:$LINENO: result: no" >&5
3195 echo "${ECHO_T}no" >&6
3198 test -n "$CC" && break
3201 if test -z "$CC"; then
3205 # Extract the first word of "$ac_prog", so it can be a program name with args.
3206 set dummy
$ac_prog; ac_word
=$2
3207 echo "$as_me:$LINENO: checking for $ac_word" >&5
3208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3209 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 if test -n "$ac_ct_CC"; then
3213 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_ac_ct_CC
="$ac_prog"
3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3232 if test -n "$ac_ct_CC"; then
3233 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3234 echo "${ECHO_T}$ac_ct_CC" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3240 test -n "$ac_ct_CC" && break
3249 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3250 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3252 See \`config.log' for more details." >&5
3253 echo "$as_me: error: no acceptable C compiler found in \$PATH
3254 See \`config.log' for more details." >&2;}
3255 { (exit 1); exit 1; }; }; }
3257 # Provide some information about the compiler.
3258 echo "$as_me:$LINENO:" \
3259 "checking for C compiler version" >&5
3260 ac_compiler
=`set X $ac_compile; echo $2`
3261 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3262 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }
3266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3267 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }
3271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3272 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }
3277 cat >conftest.
$ac_ext <<_ACEOF
3280 cat confdefs.h
>>conftest.
$ac_ext
3281 cat >>conftest.
$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 ac_clean_files_save
=$ac_clean_files
3293 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3294 # Try to create an executable without -o first, disregard a.out.
3295 # It will help us diagnose broken compilers, and finding out an intuition
3297 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3298 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3299 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3300 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3301 (eval $ac_link_default) 2>&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; then
3305 # Find the output, starting from the most likely. This scheme is
3306 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3309 # Be careful to initialize this variable, since it used to be cached.
3310 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3312 # b.out is created by i960 compilers.
3313 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3315 test -f "$ac_file" ||
continue
3317 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3320 # This is the source file.
3323 # We found the default executable, but exeext='' is most
3327 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3328 # FIXME: I believe we export ac_cv_exeext for Libtool,
3329 # but it would be cool to find out if it's true. Does anybody
3330 # maintain Libtool? --akim.
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.
$ac_ext >&5
3341 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3342 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3344 See \`config.log' for more details." >&5
3345 echo "$as_me: error: C compiler cannot create executables
3346 See \`config.log' for more details." >&2;}
3347 { (exit 77); exit 77; }; }; }
3350 ac_exeext
=$ac_cv_exeext
3351 echo "$as_me:$LINENO: result: $ac_file" >&5
3352 echo "${ECHO_T}$ac_file" >&6
3354 # Check the compiler produces executables we can run. If not, either
3355 # the compiler is broken, or we cross compile.
3356 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3357 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3358 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3359 # If not cross compiling, check that we can run a simple program.
3360 if test "$cross_compiling" != yes; then
3361 if { ac_try
='./$ac_file'
3362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; }; then
3369 if test "$cross_compiling" = maybe
; then
3372 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3373 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3375 If you meant to cross compile, use \`--host'.
3376 See \`config.log' for more details." >&5
3377 echo "$as_me: error: cannot run C compiled programs.
3378 If you meant to cross compile, use \`--host'.
3379 See \`config.log' for more details." >&2;}
3380 { (exit 1); exit 1; }; }; }
3384 echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3387 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3388 ac_clean_files
=$ac_clean_files_save
3389 # Check the compiler produces executables we can run. If not, either
3390 # the compiler is broken, or we cross compile.
3391 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3392 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3393 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3394 echo "${ECHO_T}$cross_compiling" >&6
3396 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3397 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3399 (eval $ac_link) 2>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; then
3403 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3404 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3405 # work properly (i.e., refer to `conftest.exe'), while it won't with
3407 for ac_file
in conftest.exe conftest conftest.
*; do
3408 test -f "$ac_file" ||
continue
3410 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3411 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3418 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3419 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3421 See \`config.log' for more details." >&5
3422 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3423 See \`config.log' for more details." >&2;}
3424 { (exit 1); exit 1; }; }; }
3427 rm -f conftest
$ac_cv_exeext
3428 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3429 echo "${ECHO_T}$ac_cv_exeext" >&6
3431 rm -f conftest.
$ac_ext
3432 EXEEXT
=$ac_cv_exeext
3434 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3435 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3436 if test "${ac_cv_objext+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3454 rm -f conftest.o conftest.obj
3455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456 (eval $ac_compile) 2>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; then
3460 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3463 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.
$ac_ext >&5
3471 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3474 See \`config.log' for more details." >&5
3475 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3476 See \`config.log' for more details." >&2;}
3477 { (exit 1); exit 1; }; }; }
3480 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3482 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3483 echo "${ECHO_T}$ac_cv_objext" >&6
3484 OBJEXT
=$ac_cv_objext
3486 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3487 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3488 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 cat >conftest.
$ac_ext <<_ACEOF
3494 cat confdefs.h
>>conftest.
$ac_ext
3495 cat >>conftest.
$ac_ext <<_ACEOF
3496 /* end confdefs.h. */
3509 rm -f conftest.
$ac_objext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511 (eval $ac_compile) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag"
3519 || test ! -s conftest.err'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; } &&
3525 { ac_try
='test -s conftest.$ac_objext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.
$ac_ext >&5
3538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3539 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3542 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3543 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3544 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3545 ac_test_CFLAGS
=${CFLAGS+set}
3546 ac_save_CFLAGS
=$CFLAGS
3548 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3549 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3550 if test "${ac_cv_prog_cc_g+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 cat >conftest.
$ac_ext <<_ACEOF
3556 cat confdefs.h
>>conftest.
$ac_ext
3557 cat >>conftest.
$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3568 rm -f conftest.
$ac_objext
3569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3570 (eval $ac_compile) 2>conftest.er1
3572 grep -v '^ *+' conftest.er1
>conftest.err
3574 cat conftest.err
>&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } &&
3577 { ac_try
='test -z "$ac_c_werror_flag"
3578 || test ! -s conftest.err'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; } &&
3584 { ac_try
='test -s conftest.$ac_objext'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; }; then
3592 echo "$as_me: failed program was:" >&5
3593 sed 's/^/| /' conftest.
$ac_ext >&5
3597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3599 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3600 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3601 if test "$ac_test_CFLAGS" = set; then
3602 CFLAGS
=$ac_save_CFLAGS
3603 elif test $ac_cv_prog_cc_g = yes; then
3604 if test "$GCC" = yes; then
3610 if test "$GCC" = yes; then
3616 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3617 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3618 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 ac_cv_prog_cc_stdc
=no
3623 cat >conftest.
$ac_ext <<_ACEOF
3626 cat confdefs.h
>>conftest.
$ac_ext
3627 cat >>conftest.
$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3631 #include <sys/types.h>
3632 #include <sys/stat.h>
3633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3634 struct buf { int x; };
3635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3636 static char *e (p, i)
3642 static char *f (char * (*g) (char **, int), char **p, ...)
3647 s = g (p, va_arg (v,int));
3652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3653 function prototypes and stuff, but not '\xHH' hex character constants.
3654 These don't provoke an error unfortunately, instead are silently treated
3655 as 'x'. The following induces an error, until -std1 is added to get
3656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3657 array size at least. It's necessary to write '\x00'==0 to get something
3658 that's true only with -std1. */
3659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3661 int test (int i, double x);
3662 struct s1 {int (*f) (int a);};
3663 struct s2 {int (*f) (double a);};
3664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3675 # Don't try gcc -ansi; that turns off useful extensions and
3676 # breaks some systems' header files.
3677 # AIX -qlanglvl=ansi
3678 # Ultrix and OSF/1 -std1
3679 # HP-UX 10.20 and later -Ae
3680 # HP-UX older versions -Aa -D_HPUX_SOURCE
3681 # SVR4 -Xc -D__EXTENSIONS__
3682 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3684 CC
="$ac_save_CC $ac_arg"
3685 rm -f conftest.
$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>conftest.er1
3689 grep -v '^ *+' conftest.er1
>conftest.err
3691 cat conftest.err
>&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try
='test -z "$ac_c_werror_flag"
3695 || test ! -s conftest.err'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; } &&
3701 { ac_try
='test -s conftest.$ac_objext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_prog_cc_stdc
=$ac_arg
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.
$ac_ext >&5
3714 rm -f conftest.err conftest.
$ac_objext
3716 rm -f conftest.
$ac_ext conftest.
$ac_objext
3721 case "x$ac_cv_prog_cc_stdc" in
3723 echo "$as_me:$LINENO: result: none needed" >&5
3724 echo "${ECHO_T}none needed" >&6 ;;
3726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3727 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3728 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3731 # Some people use a C++ compiler to compile C. Since we use `exit',
3732 # in C++ we need to declare it. In case someone uses the same compiler
3733 # for both compiling C and C++ we need to have the C++ compiler decide
3734 # the declaration of exit, since it's the most demanding environment.
3735 cat >conftest.
$ac_ext <<_ACEOF
3740 rm -f conftest.
$ac_objext
3741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3742 (eval $ac_compile) 2>conftest.er1
3744 grep -v '^ *+' conftest.er1
>conftest.err
3746 cat conftest.err
>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } &&
3749 { ac_try
='test -z "$ac_c_werror_flag"
3750 || test ! -s conftest.err'
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; } &&
3756 { ac_try
='test -s conftest.$ac_objext'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; }; then
3762 for ac_declaration
in \
3764 'extern "C" void std::exit (int) throw (); using std::exit;' \
3765 'extern "C" void std::exit (int); using std::exit;' \
3766 'extern "C" void exit (int) throw ();' \
3767 'extern "C" void exit (int);' \
3770 cat >conftest.
$ac_ext <<_ACEOF
3773 cat confdefs.h
>>conftest.
$ac_ext
3774 cat >>conftest.
$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3786 rm -f conftest.
$ac_objext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3788 (eval $ac_compile) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -z "$ac_c_werror_flag"
3796 || test ! -s conftest.err'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; } &&
3802 { ac_try
='test -s conftest.$ac_objext'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; }; then
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.
$ac_ext >&5
3815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3831 rm -f conftest.
$ac_objext
3832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3833 (eval $ac_compile) 2>conftest.er1
3835 grep -v '^ *+' conftest.er1
>conftest.err
3837 cat conftest.err
>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } &&
3840 { ac_try
='test -z "$ac_c_werror_flag"
3841 || test ! -s conftest.err'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try
='test -s conftest.$ac_objext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3862 if test -n "$ac_declaration"; then
3863 echo '#ifdef __cplusplus' >>confdefs.h
3864 echo $ac_declaration >>confdefs.h
3865 echo '#endif' >>confdefs.h
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3875 ac_cpp
='$CPP $CPPFLAGS'
3876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3881 ac_cpp
='$CXXCPP $CPPFLAGS'
3882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3885 if test -n "$ac_tool_prefix"; then
3886 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3889 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3890 echo "$as_me:$LINENO: checking for $ac_word" >&5
3891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3892 if test "${ac_cv_prog_CXX+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if test -n "$CXX"; then
3896 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 if test -n "$CXX"; then
3916 echo "$as_me:$LINENO: result: $CXX" >&5
3917 echo "${ECHO_T}$CXX" >&6
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3923 test -n "$CXX" && break
3926 if test -z "$CXX"; then
3928 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3930 # Extract the first word of "$ac_prog", so it can be a program name with args.
3931 set dummy
$ac_prog; ac_word
=$2
3932 echo "$as_me:$LINENO: checking for $ac_word" >&5
3933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3934 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 if test -n "$ac_ct_CXX"; then
3938 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3957 if test -n "$ac_ct_CXX"; then
3958 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3959 echo "${ECHO_T}$ac_ct_CXX" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3965 test -n "$ac_ct_CXX" && break
3967 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3973 # Provide some information about the compiler.
3974 echo "$as_me:$LINENO:" \
3975 "checking for C++ compiler version" >&5
3976 ac_compiler
=`set X $ac_compile; echo $2`
3977 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3978 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }
3982 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3983 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }
3987 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3988 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }
3993 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3994 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3995 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 cat >conftest.
$ac_ext <<_ACEOF
4001 cat confdefs.h
>>conftest.
$ac_ext
4002 cat >>conftest.
$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4016 rm -f conftest.
$ac_objext
4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4018 (eval $ac_compile) 2>conftest.er1
4020 grep -v '^ *+' conftest.er1
>conftest.err
4022 cat conftest.err
>&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try
='test -z "$ac_cxx_werror_flag"
4026 || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4046 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4049 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4050 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4051 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4052 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4053 ac_save_CXXFLAGS
=$CXXFLAGS
4055 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4056 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4057 if test "${ac_cv_prog_cxx_g+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 cat >conftest.
$ac_ext <<_ACEOF
4063 cat confdefs.h
>>conftest.
$ac_ext
4064 cat >>conftest.
$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4075 rm -f conftest.
$ac_objext
4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077 (eval $ac_compile) 2>conftest.er1
4079 grep -v '^ *+' conftest.er1
>conftest.err
4081 cat conftest.err
>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } &&
4084 { ac_try
='test -z "$ac_cxx_werror_flag"
4085 || test ! -s conftest.err'
4086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }; } &&
4091 { ac_try
='test -s conftest.$ac_objext'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; }; then
4097 ac_cv_prog_cxx_g
=yes
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.
$ac_ext >&5
4104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4106 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4107 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4108 if test "$ac_test_CXXFLAGS" = set; then
4109 CXXFLAGS
=$ac_save_CXXFLAGS
4110 elif test $ac_cv_prog_cxx_g = yes; then
4111 if test "$GXX" = yes; then
4117 if test "$GXX" = yes; then
4123 for ac_declaration
in \
4125 'extern "C" void std::exit (int) throw (); using std::exit;' \
4126 'extern "C" void std::exit (int); using std::exit;' \
4127 'extern "C" void exit (int) throw ();' \
4128 'extern "C" void exit (int);' \
4131 cat >conftest.
$ac_ext <<_ACEOF
4134 cat confdefs.h
>>conftest.
$ac_ext
4135 cat >>conftest.
$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4147 rm -f conftest.
$ac_objext
4148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4149 (eval $ac_compile) 2>conftest.er1
4151 grep -v '^ *+' conftest.er1
>conftest.err
4153 cat conftest.err
>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } &&
4156 { ac_try
='test -z "$ac_cxx_werror_flag"
4157 || test ! -s conftest.err'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try
='test -s conftest.$ac_objext'
4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; }; then
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4177 cat >conftest.
$ac_ext <<_ACEOF
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4192 rm -f conftest.
$ac_objext
4193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4194 (eval $ac_compile) 2>conftest.er1
4196 grep -v '^ *+' conftest.er1
>conftest.err
4198 cat conftest.err
>&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } &&
4201 { ac_try
='test -z "$ac_cxx_werror_flag"
4202 || test ! -s conftest.err'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; } &&
4208 { ac_try
='test -s conftest.$ac_objext'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then
4216 echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.
$ac_ext >&5
4220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4223 if test -n "$ac_declaration"; then
4224 echo '#ifdef __cplusplus' >>confdefs.h
4225 echo $ac_declaration >>confdefs.h
4226 echo '#endif' >>confdefs.h
4230 ac_cpp
='$CPP $CPPFLAGS'
4231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4236 # We must set the default linker to the linker used by gcc for the correct
4237 # operation of libtool. If LD is not defined and we are using gcc, try to
4238 # set the LD default to the ld used by gcc.
4239 if test -z "$LD"; then
4240 if test "$GCC" = yes; then
4243 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4245 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4247 case $gcc_prog_ld in
4248 # Accept absolute paths.
4249 [\\/]* |
[A-Za-z
]:[\\/]*)
4250 LD
="$gcc_prog_ld" ;;
4258 if test -n "$ac_tool_prefix"; then
4259 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4260 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4261 echo "$as_me:$LINENO: checking for $ac_word" >&5
4262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4263 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 if test -n "$GNATBIND"; then
4267 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir
=.
4274 for ac_exec_ext
in '' $ac_executable_extensions; do
4275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4276 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 GNATBIND
=$ac_cv_prog_GNATBIND
4286 if test -n "$GNATBIND"; then
4287 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4288 echo "${ECHO_T}$GNATBIND" >&6
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4295 if test -z "$ac_cv_prog_GNATBIND"; then
4296 ac_ct_GNATBIND
=$GNATBIND
4297 # Extract the first word of "gnatbind", so it can be a program name with args.
4298 set dummy gnatbind
; ac_word
=$2
4299 echo "$as_me:$LINENO: checking for $ac_word" >&5
4300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4301 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 if test -n "$ac_ct_GNATBIND"; then
4305 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir
=.
4312 for ac_exec_ext
in '' $ac_executable_extensions; do
4313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4324 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4325 if test -n "$ac_ct_GNATBIND"; then
4326 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4327 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4333 GNATBIND
=$ac_ct_GNATBIND
4335 GNATBIND
="$ac_cv_prog_GNATBIND"
4338 if test -n "$ac_tool_prefix"; then
4339 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4340 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4341 echo "$as_me:$LINENO: checking for $ac_word" >&5
4342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4343 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 if test -n "$GNATMAKE"; then
4347 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 GNATMAKE
=$ac_cv_prog_GNATMAKE
4366 if test -n "$GNATMAKE"; then
4367 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4368 echo "${ECHO_T}$GNATMAKE" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4375 if test -z "$ac_cv_prog_GNATMAKE"; then
4376 ac_ct_GNATMAKE
=$GNATMAKE
4377 # Extract the first word of "gnatmake", so it can be a program name with args.
4378 set dummy gnatmake
; ac_word
=$2
4379 echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4381 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 if test -n "$ac_ct_GNATMAKE"; then
4385 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4404 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4405 if test -n "$ac_ct_GNATMAKE"; then
4406 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4407 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4409 echo "$as_me:$LINENO: result: no" >&5
4410 echo "${ECHO_T}no" >&6
4413 GNATMAKE
=$ac_ct_GNATMAKE
4415 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4418 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4419 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4420 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 cat >conftest.adb
<<EOF
4424 procedure conftest is begin null; end conftest;
4426 acx_cv_cc_gcc_supports_ada
=no
4427 # There is a bug in old released versions of GCC which causes the
4428 # driver to exit successfully when the appropriate language module
4429 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4430 # Therefore we must check for the error message as well as an
4431 # unsuccessful exit.
4432 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4433 # given a .adb file, but produce no object file. So we must check
4434 # if an object file was really produced to guard against this.
4435 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4436 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4437 acx_cv_cc_gcc_supports_ada
=yes
4441 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4442 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4444 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4450 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4451 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4452 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4458 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4459 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4462 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4465 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4466 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4469 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4475 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4476 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4477 do_compare
="$gcc_cv_prog_cmp_skip"
4481 # Check for GMP and MPFR
4482 gmplibs
="-lmpfr -lgmp"
4486 # Specify a location for mpfr
4487 # check for this first so it ends up on the link line before gmp.
4489 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4490 if test "${with_mpfr_dir+set}" = set; then
4491 withval
="$with_mpfr_dir"
4492 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4493 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4494 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4495 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4496 { (exit 1); exit 1; }; }
4500 # Check whether --with-mpfr or --without-mpfr was given.
4501 if test "${with_mpfr+set}" = set; then
4502 withval
="$with_mpfr"
4506 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4507 if test "${with_mpfr_include+set}" = set; then
4508 withval
="$with_mpfr_include"
4512 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4513 if test "${with_mpfr_lib+set}" = set; then
4514 withval
="$with_mpfr_lib"
4518 if test "x$with_mpfr" != x
; then
4519 gmplibs
="-L$with_mpfr/lib $gmplibs"
4520 gmpinc
="-I$with_mpfr/include"
4522 if test "x$with_mpfr_include" != x
; then
4523 gmpinc
="-I$with_mpfr_include"
4525 if test "x$with_mpfr_lib" != x
; then
4526 gmplibs
="-L$with_mpfr_lib $gmplibs"
4528 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4529 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4530 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4531 # Do not test the mpfr version. Assume that it is sufficient, since
4532 # it is in the source tree, and the library has not been built yet
4533 # but it would be included on the link line in the version check below
4534 # hence making the test fail.
4538 # Specify a location for gmp
4540 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4541 if test "${with_gmp_dir+set}" = set; then
4542 withval
="$with_gmp_dir"
4543 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4544 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4545 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4546 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4547 { (exit 1); exit 1; }; }
4551 # Check whether --with-gmp or --without-gmp was given.
4552 if test "${with_gmp+set}" = set; then
4557 # Check whether --with-gmp_include or --without-gmp_include was given.
4558 if test "${with_gmp_include+set}" = set; then
4559 withval
="$with_gmp_include"
4563 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4564 if test "${with_gmp_lib+set}" = set; then
4565 withval
="$with_gmp_lib"
4570 if test "x$with_gmp" != x
; then
4571 gmplibs
="-L$with_gmp/lib $gmplibs"
4572 gmpinc
="-I$with_gmp/include $gmpinc"
4574 if test "x$with_gmp_include" != x
; then
4575 gmpinc
="-I$with_gmp_include $gmpinc"
4577 if test "x$with_gmp_lib" != x
; then
4578 gmplibs
="-L$with_gmp_lib $gmplibs"
4580 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4581 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4582 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4583 # Do not test the gmp version. Assume that it is sufficient, since
4584 # it is in the source tree, and the library has not been built yet
4585 # but it would be included on the link line in the version check below
4586 # hence making the test fail.
4590 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4592 saved_CFLAGS
="$CFLAGS"
4593 CFLAGS
="$CFLAGS $gmpinc"
4594 # Check GMP actually works
4595 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4596 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4598 cat >conftest.
$ac_ext <<_ACEOF
4601 cat confdefs.h
>>conftest.
$ac_ext
4602 cat >>conftest.
$ac_ext <<_ACEOF
4603 /* end confdefs.h. */
4609 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4617 rm -f conftest.
$ac_objext
4618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4619 (eval $ac_compile) 2>conftest.er1
4621 grep -v '^ *+' conftest.er1
>conftest.err
4623 cat conftest.err
>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } &&
4626 { ac_try
='test -z "$ac_c_werror_flag"
4627 || test ! -s conftest.err'
4628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); }; } &&
4633 { ac_try
='test -s conftest.$ac_objext'
4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; }; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.
$ac_ext >&5
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6; have_gmp
=no
4648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4650 if test x
"$have_gmp" = xyes
; then
4652 LIBS
="$LIBS $gmplibs"
4653 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4654 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4655 cat >conftest.
$ac_ext <<_ACEOF
4658 cat confdefs.h
>>conftest.
$ac_ext
4659 cat >>conftest.
$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4667 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4675 mpfr_atan2 (n, n, x, GMP_RNDN);
4676 mpfr_erfc (n, x, GMP_RNDN);
4677 mpfr_subnormalize (x, t, GMP_RNDN);
4683 rm -f conftest.
$ac_objext conftest
$ac_exeext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4685 (eval $ac_link) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1
>conftest.err
4689 cat conftest.err
>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try
='test -z "$ac_c_werror_flag"
4693 || test ! -s conftest.err'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; } &&
4699 { ac_try
='test -s conftest$ac_exeext'
4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }; then
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4717 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4720 mpfr_t n; mpfr_init(n);
4726 rm -f conftest.
$ac_objext conftest
$ac_exeext
4727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4728 (eval $ac_link) 2>conftest.er1
4730 grep -v '^ *+' conftest.er1
>conftest.err
4732 cat conftest.err
>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } &&
4735 { ac_try
='test -z "$ac_c_werror_flag"
4736 || test ! -s conftest.err'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try
='test -s conftest$ac_exeext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4748 echo "$as_me:$LINENO: result: yes" >&5
4749 echo "${ECHO_T}yes" >&6
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4755 echo "${ECHO_T}buggy but acceptable" >&6
4757 rm -f conftest.err conftest.
$ac_objext \
4758 conftest
$ac_exeext conftest.
$ac_ext
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4763 echo "$as_me:$LINENO: result: no" >&5
4764 echo "${ECHO_T}no" >&6; have_gmp
=no
4766 rm -f conftest.err conftest.
$ac_objext \
4767 conftest
$ac_exeext conftest.
$ac_ext
4770 CFLAGS
="$saved_CFLAGS"
4772 if test x
$have_gmp != xyes
; then
4773 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4774 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4775 Copies of these libraries' source code can be found at their respective
4776 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4777 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4778 If you obtained GMP and/or MPFR from a vendor distribution package, make
4779 sure that you have installed both the libraries and the header files.
4780 They may be located in separate packages." >&5
4781 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4782 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4783 Copies of these libraries' source code can be found at their respective
4784 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4785 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4786 If you obtained GMP and/or MPFR from a vendor distribution package, make
4787 sure that you have installed both the libraries and the header files.
4788 They may be located in separate packages." >&2;}
4789 { (exit 1); exit 1; }; }
4793 # Flags needed for both GMP and/or MPFR
4797 # By default, C is the only stage 1 language.
4798 stage1_languages
=,c
,
4800 # Figure out what language subdirectories are present.
4801 # Look if the user specified --enable-languages="..."; if not, use
4802 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4804 # NB: embedded tabs in this IF block -- do not untabify
4805 if test -d ${srcdir}/gcc
; then
4806 if test x
"${enable_languages+set}" != xset
; then
4807 if test x
"${LANGUAGES+set}" = xset
; then
4808 enable_languages
="${LANGUAGES}"
4809 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4811 enable_languages
=all
4814 if test x
"${enable_languages}" = x ||
4815 test x
"${enable_languages}" = xyes
;
4817 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4821 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4823 # 'f95' is the old name for the 'fortran' language. We issue a warning
4824 # and make the substitution.
4825 case ,${enable_languages}, in
4827 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4828 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4832 # First scan to see if an enabled language requires some other language.
4833 # We assume that a given config-lang.in will list all the language
4834 # front ends it requires, even if some are required indirectly.
4835 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4836 case ${lang_frag} in
4838 # The odd quoting in the next line works around
4839 # an apparent bug in bash 1.12 on linux.
4840 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4842 # From the config-lang.in, get $language, $lang_requires
4846 for other
in ${lang_requires} ; do
4847 case ,${enable_languages}, in
4851 echo " \`$other' language required by \`$language'; enabling" 1>&2
4852 enable_languages
="${enable_languages},${other}"
4860 new_enable_languages
=,c
,
4861 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4862 potential_languages
=,c
,
4864 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4865 case ${lang_frag} in
4867 # The odd quoting in the next line works around
4868 # an apparent bug in bash 1.12 on linux.
4869 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4871 # From the config-lang.in, get $language, $target_libs,
4872 # $lang_dirs, $boot_language, and $build_by_default
4878 build_by_default
=yes
4880 if test x
${language} = x
; then
4881 echo "${lang_frag} doesn't set \$language." 1>&2
4885 case ,${enable_languages}, in
4887 # Language was explicitly selected; include it.
4891 # 'all' was selected, select it if it is a default language
4892 add_this_lang
=${build_by_default}
4899 # Disable languages that need other directories if these aren't available.
4900 for i
in $subdir_requires; do
4901 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4902 case ,${enable_languages}, in
4904 # Specifically requested language; tell them.
4905 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4906 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4907 { (exit 1); exit 1; }; }
4911 add_this_lang
=unsupported
4916 # Disable Ada if no preexisting GNAT is available.
4917 case ,${enable_languages},:${language}:${have_gnat} in
4918 *,${language},*:ada
:no
)
4919 # Specifically requested language; tell them.
4920 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4921 echo "$as_me: error: GNAT is required to build $language" >&2;}
4922 { (exit 1); exit 1; }; }
4926 add_this_lang
=unsupported
4930 # Disable a language that is unsupported by the target.
4931 case " $unsupported_languages " in
4933 add_this_lang
=unsupported
4937 case $add_this_lang in
4939 # Remove language-dependent dirs.
4940 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4943 # Remove language-dependent dirs; still show language as supported.
4944 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4945 potential_languages
="${potential_languages}${language},"
4948 new_enable_languages
="${new_enable_languages}${language},"
4949 potential_languages
="${potential_languages}${language},"
4950 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4951 case ${boot_language} in
4953 # Add to (comma-separated) list of stage 1 languages.
4954 stage1_languages
="${stage1_languages}${language},"
4963 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4964 if test "${enable_stage1_languages+set}" = set; then
4965 enableval
="$enable_stage1_languages"
4966 case ,${enable_stage1_languages}, in
4968 # Set it to something that will have no effect in the loop below
4969 enable_stage1_languages
=c
;;
4971 enable_stage1_languages
=`echo $new_enable_languages | \
4972 sed -e "s/^,//" -e "s/,$//" ` ;;
4974 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4975 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4978 # Add "good" languages from enable_stage1_languages to stage1_languages,
4979 # while "bad" languages go in missing_languages. Leave no duplicates.
4980 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4981 case $potential_languages in
4983 case $stage1_languages in
4985 *) stage1_languages
="$stage1_languages$i," ;;
4988 case $missing_languages in
4990 *) missing_languages
="$missing_languages$i," ;;
4996 # Remove leading/trailing commas that were added for simplicity
4997 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4998 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4999 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5000 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5002 if test "x$missing_languages" != x
; then
5003 { { echo "$as_me:$LINENO: error:
5004 The following requested languages could not be built: ${missing_languages}
5005 Supported languages are: ${potential_languages}" >&5
5006 echo "$as_me: error:
5007 The following requested languages could not be built: ${missing_languages}
5008 Supported languages are: ${potential_languages}" >&2;}
5009 { (exit 1); exit 1; }; }
5011 if test "x$new_enable_languages" != "x$enable_languages"; then
5012 echo The following languages will be built
: ${new_enable_languages}
5013 enable_languages
="$new_enable_languages"
5017 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5020 # Handle --disable-<component> generically.
5021 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5022 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5023 varname
=`echo $dirname | sed -e s/+/_/g`
5024 if eval test x\
${enable_${varname}} "=" xno
; then
5025 noconfigdirs
="$noconfigdirs $dir"
5029 # Check for Boehm's garbage collector
5030 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5031 if test "${enable_objc_gc+set}" = set; then
5032 enableval
="$enable_objc_gc"
5033 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5034 *,objc
,*:*:yes:*target-boehm-gc
*)
5035 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5036 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5037 { (exit 1); exit 1; }; }
5042 # Make sure we only build Boehm's garbage collector if required.
5043 case ,${enable_languages},:${enable_objc_gc} in
5045 # Keep target-boehm-gc if requested for Objective-C.
5048 # Otherwise remove target-boehm-gc depending on target-libjava.
5049 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5050 noconfigdirs
="$noconfigdirs target-boehm-gc"
5055 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5056 # $build_configdirs and $target_configdirs.
5057 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5060 for dir
in .
$skipdirs $noconfigdirs ; do
5061 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5062 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5063 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5064 if test -r $srcdir/$dirname/configure
; then
5065 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5068 notsupp
="$notsupp $dir"
5072 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5073 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5074 if test -r $srcdir/$dirname/configure
; then
5075 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5078 notsupp
="$notsupp $dir"
5082 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5083 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5084 if test -r $srcdir/$dirname/configure
; then
5085 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5088 notsupp
="$notsupp $dir"
5094 # Sometimes the tools are distributed with libiberty but with no other
5095 # libraries. In that case, we don't want to build target-libiberty.
5096 # Don't let libgcc imply libiberty either.
5097 if test -n "${target_configdirs}" ; then
5100 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5101 if test "$i" = "libgcc"; then
5102 libgcc
=target-libgcc
5103 elif test "$i" != "libiberty" ; then
5104 if test -r $srcdir/$i/configure
; then
5110 if test -z "${others}" ; then
5111 target_configdirs
=$libgcc
5115 # Quietly strip out all directories which aren't configurable in this tree.
5116 # This relies on all configurable subdirectories being autoconfiscated, which
5118 build_configdirs_all
="$build_configdirs"
5120 for i
in ${build_configdirs_all} ; do
5121 j
=`echo $i | sed -e s/build-//g`
5122 if test -f ${srcdir}/$j/configure
; then
5123 build_configdirs
="${build_configdirs} $i"
5127 configdirs_all
="$configdirs"
5129 for i
in ${configdirs_all} ; do
5130 if test -f ${srcdir}/$i/configure
; then
5131 configdirs
="${configdirs} $i"
5135 target_configdirs_all
="$target_configdirs"
5137 for i
in ${target_configdirs_all} ; do
5138 j
=`echo $i | sed -e s/target-//g`
5139 if test -f ${srcdir}/$j/configure
; then
5140 target_configdirs
="${target_configdirs} $i"
5144 # Produce a warning message for the subdirs we can't configure.
5145 # This isn't especially interesting in the Cygnus tree, but in the individual
5146 # FSF releases, it's important to let people know when their machine isn't
5147 # supported by the one or two programs in a package.
5149 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5150 # If $appdirs is non-empty, at least one of those directories must still
5151 # be configured, or we error out. (E.g., if the gas release supports a
5152 # specified target in some subdirs but not the gas subdir, we shouldn't
5153 # pretend that all is well.)
5154 if test -n "$appdirs" ; then
5155 for dir
in $appdirs ; do
5156 if test -r $dir/Makefile.
in ; then
5157 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5161 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5167 if test -n "$appdirs" ; then
5168 echo "*** This configuration is not supported by this package." 1>&2
5172 # Okay, some application will build, or we don't care to check. Still
5173 # notify of subdirs not getting built.
5174 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5175 echo " ${notsupp}" 1>&2
5176 echo " (Any other directories should still work fine.)" 1>&2
5184 # To find our prefix, in gcc_cv_tool_prefix.
5186 # The user is always right.
5187 if test "${PATH_SEPARATOR+set}" != set; then
5188 echo "#! /bin/sh" >conf$$.sh
5189 echo "exit 0" >>conf$$.sh
5191 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5201 if test "x$exec_prefix" = xNONE
; then
5202 if test "x$prefix" = xNONE
; then
5203 gcc_cv_tool_prefix
=$ac_default_prefix
5205 gcc_cv_tool_prefix
=$prefix
5208 gcc_cv_tool_prefix
=$exec_prefix
5211 # If there is no compiler in the tree, use the PATH only. In any
5212 # case, if there is no compiler in the tree nobody should use
5213 # AS_FOR_TARGET and LD_FOR_TARGET.
5214 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5215 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5216 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5217 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5218 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5219 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5220 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5221 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5226 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5227 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5235 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5236 if test "${with_build_sysroot+set}" = set; then
5237 withval
="$with_build_sysroot"
5238 if test x
"$withval" != x
; then
5239 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5242 SYSROOT_CFLAGS_FOR_TARGET
=
5247 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5248 if test "${with_debug_prefix_map+set}" = set; then
5249 withval
="$with_debug_prefix_map"
5250 if test x
"$withval" != x
; then
5251 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5252 for debug_map
in $withval; do
5253 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5257 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5261 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5262 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5263 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5264 # We want to ensure that TARGET libraries (which we know are built with
5265 # gcc) are built with "-O2 -g", so include those options when setting
5266 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5267 if test "x$CFLAGS_FOR_TARGET" = x
; then
5268 CFLAGS_FOR_TARGET
=$CFLAGS
5271 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5274 *" -g "* |
*" -g3 "*) ;;
5275 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5280 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5281 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5282 case " $CXXFLAGS " in
5284 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5286 case " $CXXFLAGS " in
5287 *" -g "* |
*" -g3 "*) ;;
5288 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5293 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5294 # the named directory are copied to $(tooldir)/sys-include.
5295 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5296 if test x
${is_cross_compiler} = xno
; then
5297 echo 1>&2 '***' --with-headers is only supported when cross compiling
5300 if test x
"${with_headers}" != xyes
; then
5301 x
=${gcc_cv_tool_prefix}
5302 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5306 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5307 # the name directories are copied to $(tooldir)/lib. Multiple directories
5309 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5310 if test x
${is_cross_compiler} = xno
; then
5311 echo 1>&2 '***' --with-libs is only supported when cross compiling
5314 if test x
"${with_libs}" != xyes
; then
5315 # Copy the libraries in reverse order, so that files in the first named
5316 # library override files in subsequent libraries.
5317 x
=${gcc_cv_tool_prefix}
5318 for l
in ${with_libs}; do
5319 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5324 # Set with_gnu_as and with_gnu_ld as appropriate.
5326 # This is done by determining whether or not the appropriate directory
5327 # is available, and by checking whether or not specific configurations
5328 # have requested that this magic not happen.
5330 # The command line options always override the explicit settings in
5331 # configure.in, and the settings in configure.in override this magic.
5333 # If the default for a toolchain is to use GNU as and ld, and you don't
5334 # want to do that, then you should use the --without-gnu-as and
5335 # --without-gnu-ld options for the configure script.
5337 if test x
${use_gnu_as} = x
&&
5338 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5340 extra_host_args
="$extra_host_args --with-gnu-as"
5343 if test x
${use_gnu_ld} = x
&&
5344 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5346 extra_host_args
="$extra_host_args --with-gnu-ld"
5349 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5350 # can detect this case.
5352 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5354 extra_host_args
="$extra_host_args --with-newlib"
5357 # Handle ${copy_dirs}
5358 set fnord
${copy_dirs}
5360 while test $# != 0 ; do
5361 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5364 echo Copying
$1 to
$2
5366 # Use the install script to create the directory and all required
5367 # parent directories.
5368 if test -d $2 ; then
5372 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5375 # Copy the directory, assuming we have tar.
5376 # FIXME: Should we use B in the second tar? Not all systems support it.
5377 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5379 # It is the responsibility of the user to correctly adjust all
5380 # symlinks. If somebody can figure out how to handle them correctly
5381 # here, feel free to add the code.
5388 # Determine a target-dependent exec_prefix that the installed
5389 # gcc will search in. Keep this list sorted by triplet, with
5390 # the *-*-osname triplets last.
5394 md_exec_prefix
=/gnu
/lib
/gcc-lib
5396 i
[34567]86-pc-msdosdjgpp*)
5397 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5399 i
[34567]86-*-sco3.2v5
*)
5400 if test $with_gnu_as = yes; then
5401 md_exec_prefix
=/usr
/gnu
/bin
5403 md_exec_prefix
=/usr
/ccs
/bin
/elf
5408 powerpc-
*-chorusos* | \
5409 powerpc
*-*-eabi* | \
5410 powerpc
*-*-sysv* | \
5411 powerpc
*-*-kaos* | \
5413 md_exec_prefix
=/usr
/ccs
/bin
5418 md_exec_prefix
=/usr
/ccs
/bin
5433 md_exec_prefix
=/usr
/ccs
/bin
5437 extra_arflags_for_target
=
5438 extra_nmflags_for_target
=
5439 extra_ranlibflags_for_target
=
5440 target_makefile_frag
=/dev
/null
5443 target_makefile_frag
="config/mt-mep"
5446 target_makefile_frag
="config/mt-spu"
5449 target_makefile_frag
="config/mt-sde"
5451 mipsisa
*-*-elfoabi*)
5452 target_makefile_frag
="config/mt-mips-elfoabi"
5454 mips
*-*-*linux
* | mips
*-*-gnu*)
5455 target_makefile_frag
="config/mt-mips-gnu"
5458 target_makefile_frag
="config/mt-netware"
5460 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5461 target_makefile_frag
="config/mt-gnu"
5463 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5464 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5465 # commands to handle both 32-bit and 64-bit objects. These flags are
5466 # harmless if we're using GNU nm or ar.
5467 extra_arflags_for_target
=" -X32_64"
5468 extra_nmflags_for_target
=" -B -X32_64"
5471 # ranlib from Darwin requires the -c flag to look at common symbols.
5472 extra_ranlibflags_for_target
=" -c"
5474 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5475 target_makefile_frag
="config/mt-wince"
5479 alphaieee_frag
=/dev
/null
5482 # This just makes sure to use the -mieee option to build target libs.
5483 # This should probably be set individually by each library.
5484 alphaieee_frag
="config/mt-alphaieee"
5488 # If --enable-target-optspace always use -Os instead of -O2 to build
5489 # the target libraries, similarly if it is not specified, use -Os
5490 # on selected platforms.
5491 ospace_frag
=/dev
/null
5492 case "${enable_target_optspace}:${target}" in
5494 ospace_frag
="config/mt-ospace"
5497 ospace_frag
="config/mt-d30v"
5499 :m32r-
* |
:d10v-
* |
:fr30-
*)
5500 ospace_frag
="config/mt-ospace"
5505 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5509 # Default to using --with-stabs for certain targets.
5510 if test x
${with_stabs} = x
; then
5514 mips
*-*-* | alpha
*-*-osf*)
5516 extra_host_args
="${extra_host_args} --with-stabs"
5521 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5522 # them automatically.
5525 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5529 # Some systems (e.g., one of the i386-aix systems the gas testers are
5530 # using) don't handle "\$" correctly, so don't use it here.
5531 tooldir
='${exec_prefix}'/${target_noncanonical}
5532 build_tooldir
=${tooldir}
5534 # Create a .gdbinit file which runs the one in srcdir
5535 # and tells GDB to look there for source files.
5537 if test -r ${srcdir}/.gdbinit
; then
5540 *) cat > .
/.gdbinit
<<EOF
5544 source ${srcdir}/.gdbinit
5550 # Make sure that the compiler is able to generate an executable. If it
5551 # can't, we are probably in trouble. We don't care whether we can run the
5552 # executable--we might be using a cross compiler--we only care whether it
5553 # can be created. At this point the main configure script has set CC.
5555 echo "int main () { return 0; }" > conftest.c
5556 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5557 if test $?
= 0 ; then
5558 if test -s conftest ||
test -s conftest.exe
; then
5564 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5565 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5572 # The Solaris /usr/ucb/cc compiler does not appear to work.
5574 sparc-sun-solaris2
*)
5575 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5576 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5578 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5579 if test -d /opt
/cygnus
/bin
; then
5580 if test "$could_use" = "" ; then
5581 could_use
="/opt/cygnus/bin"
5583 could_use
="$could_use or /opt/cygnus/bin"
5586 if test "$could_use" = "" ; then
5587 echo "Warning: compilation may fail because you're using"
5588 echo "/usr/ucb/cc. You should change your PATH or CC "
5589 echo "variable and rerun configure."
5591 echo "Warning: compilation may fail because you're using"
5592 echo "/usr/ucb/cc, when you should use the C compiler from"
5593 echo "$could_use. You should change your"
5594 echo "PATH or CC variable and rerun configure."
5600 # Decide which environment variable is used to find dynamic libraries.
5602 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5603 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5604 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5605 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5608 # On systems where the dynamic library environment variable is PATH,
5609 if test "$RPATH_ENVVAR" = PATH
; then
5610 GCC_SHLIB_SUBDIR
=/shlib
5615 # Record target_configdirs and the configure arguments for target and
5616 # build configuration in Makefile.
5617 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5618 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5620 # Determine whether gdb needs tk/tcl or not.
5621 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5622 # and in that case we want gdb to be built without tk. Ugh!
5623 # In fact I believe gdb is the *only* package directly dependent on tk,
5624 # so we should be able to put the 'maybe's in unconditionally and
5625 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5626 # 100% sure that that's safe though.
5628 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5629 case "$enable_gdbtk" in
5633 GDB_TK
="${gdb_tk}" ;;
5635 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5636 # distro. Eventually someone will fix this and move Insight, nee
5637 # gdbtk to a separate directory.
5638 if test -d ${srcdir}/gdb
/gdbtk
; then
5645 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5646 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5648 # Strip out unwanted targets.
5650 # While at that, we remove Makefiles if we were started for recursive
5651 # configuration, so that the top-level Makefile reconfigures them,
5652 # like we used to do when configure itself was recursive.
5654 # Loop over modules. $extrasub must be used with care, limiting as
5655 # much as possible the usage of range addresses. That's because autoconf
5656 # splits the sed script to overcome limits in the number of commands,
5657 # and relying on carefully-timed sed passes may turn out to be very hard
5658 # to maintain later. In this particular case, you just have to be careful
5659 # not to nest @if/@endif pairs, because configure will not warn you at all.
5661 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5662 if test "${enable_bootstrap+set}" = set; then
5663 enableval
="$enable_bootstrap"
5666 enable_bootstrap
=default
5669 # Issue errors and warnings for invalid/strange bootstrap combinations.
5670 case "$configdirs" in
5671 *gcc
*) have_compiler
=yes ;;
5672 *) have_compiler
=no
;;
5675 case "$have_compiler:$host:$target:$enable_bootstrap" in
5678 # Default behavior. Enable bootstrap if we have a compiler
5679 # and we are in a native configuration.
5680 yes:$build:$build:default
)
5681 enable_bootstrap
=yes ;;
5684 enable_bootstrap
=no
;;
5686 # We have a compiler and we are in a native configuration, bootstrap is ok
5687 yes:$build:$build:yes)
5690 # Other configurations, but we have a compiler. Assume the user knows
5693 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5694 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5697 # No compiler: if they passed --enable-bootstrap explicitly, fail
5699 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5700 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5701 { (exit 1); exit 1; }; } ;;
5703 # Fail if wrong command line
5705 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5706 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5707 { (exit 1); exit 1; }; }
5711 # Adjust the toplevel makefile according to whether bootstrap was selected.
5712 case "$enable_bootstrap" in
5714 bootstrap_suffix
=bootstrap
;;
5716 bootstrap_suffix
=no-bootstrap
;;
5719 for module
in ${build_configdirs} ; do
5720 if test -z "${no_recursion}" \
5721 && test -f ${build_subdir}/${module}/Makefile
; then
5722 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5723 rm -f ${build_subdir}/${module}/Makefile
5726 /^@if build-$module\$/d
5727 /^@endif build-$module\$/d
5728 /^@if build-$module-$bootstrap_suffix\$/d
5729 /^@endif build-$module-$bootstrap_suffix\$/d"
5731 for module
in ${configdirs} ; do
5732 if test -z "${no_recursion}"; then
5733 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5734 if test -f ${file}; then
5735 echo 1>&2 "*** removing ${file} to force reconfigure"
5742 /^@endif $module\$/d
5743 /^@if $module-$bootstrap_suffix\$/d
5744 /^@endif $module-$bootstrap_suffix\$/d"
5746 for module
in ${target_configdirs} ; do
5747 if test -z "${no_recursion}" \
5748 && test -f ${target_subdir}/${module}/Makefile
; then
5749 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5750 rm -f ${target_subdir}/${module}/Makefile
5753 /^@if target-$module\$/d
5754 /^@endif target-$module\$/d
5755 /^@if target-$module-$bootstrap_suffix\$/d
5756 /^@endif target-$module-$bootstrap_suffix\$/d"
5760 /^@if /,/^@endif /d"
5762 # Create the serialization dependencies. This uses a temporary file.
5764 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5765 if test "${enable_serial_configure+set}" = set; then
5766 enableval
="$enable_serial_configure"
5770 case ${enable_serial_configure} in
5772 enable_serial_build_configure
=yes
5773 enable_serial_host_configure
=yes
5774 enable_serial_target_configure
=yes
5778 # These force 'configure's to be done one at a time, to avoid problems
5779 # with contention over a shared config.cache.
5781 echo '# serdep.tmp' > serdep.tmp
5783 test "x${enable_serial_build_configure}" = xyes
&&
5784 for item
in ${build_configdirs} ; do
5787 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5792 test "x${enable_serial_host_configure}" = xyes
&&
5793 for item
in ${configdirs} ; do
5796 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5801 test "x${enable_serial_target_configure}" = xyes
&&
5802 for item
in ${target_configdirs} ; do
5805 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5809 serialization_dependencies
=serdep.tmp
5812 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5813 # target, nonopt, and variable assignments. These are the ones we
5814 # might not want to pass down to subconfigures. Also strip
5815 # program-prefix, program-suffix, and program-transform-name, so that
5816 # we can pass down a consistent program-transform-name.
5820 eval "set -- $ac_configure_args"
5823 if test X
"$skip_next" = X
"yes"; then
5827 if test X
"$keep_next" = X
"yes"; then
5830 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5832 baseargs
="$baseargs '$ac_arg'"
5837 # Handle separated arguments. Based on the logic generated by
5840 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5841 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5842 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5843 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5869 -program-prefix* | \
5870 -program-suffix* | \
5871 -program-transform-name* )
5872 skip_next
=$separate_arg
5876 # An option. Add it.
5879 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5881 baseargs
="$baseargs '$ac_arg'"
5882 keep_next
=$separate_arg
5885 # Either a variable assignment, or a nonopt (triplet). Don't
5886 # pass it down; let the Makefile handle this.
5891 # Remove the initial space we just introduced and, as these will be
5892 # expanded by make, quote '$'.
5893 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5895 # Add in --program-transform-name, after --program-prefix and
5896 # --program-suffix have been applied to it. Autoconf has already
5897 # doubled dollar signs and backslashes in program_transform_name; we want
5898 # the backslashes un-doubled, and then the entire thing wrapped in single
5899 # quotes, because this will be expanded first by make and then by the shell.
5900 # Also, because we want to override the logic in subdir configure scripts to
5901 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5902 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5903 ${program_transform_name}
5905 gcc_transform_name
=`cat conftestsed.out`
5906 rm -f conftestsed.out
5907 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5908 if test "$silent" = yes; then
5909 baseargs
="$baseargs --silent"
5912 # For the build-side libraries, we just need to pretend we're native,
5913 # and not use the same cache file. Multilibs are neither needed nor
5915 build_configargs
="--cache-file=../config.cache ${baseargs}"
5917 # For host modules, accept cache file option, or specification as blank.
5918 case "${cache_file}" in
5920 cache_file_option
="" ;;
5921 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5922 cache_file_option
="--cache-file=${cache_file}" ;;
5924 cache_file_option
="--cache-file=../${cache_file}" ;;
5927 # Host dirs don't like to share a cache file either, horribly enough.
5928 # This seems to be due to autoconf 2.5x stupidity.
5929 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5931 target_configargs
=${baseargs}
5933 # Passing a --with-cross-host argument lets the target libraries know
5934 # whether they are being built with a cross-compiler or being built
5935 # native. However, it would be better to use other mechanisms to make the
5936 # sorts of decisions they want to make on this basis. Please consider
5937 # this option to be deprecated. FIXME.
5938 if test x
${is_cross_compiler} = xyes
; then
5939 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5942 # Default to --enable-multilib.
5943 if test x
${enable_multilib} = x
; then
5944 target_configargs
="--enable-multilib ${target_configargs}"
5947 # Pass --with-newlib if appropriate. Note that target_configdirs has
5948 # changed from the earlier setting of with_newlib.
5949 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5950 target_configargs
="--with-newlib ${target_configargs}"
5953 # Different target subdirs use different values of certain variables
5954 # (notably CXX). Worse, multilibs use *lots* of different values.
5955 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5956 # it doesn't automatically accept command-line overrides of them.
5957 # This means it's not safe for target subdirs to share a cache file,
5958 # which is disgusting, but there you have it. Hopefully this can be
5959 # fixed in future. It's still worthwhile to use a cache file for each
5960 # directory. I think.
5962 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5963 # We need to pass --target, as newer autoconf's requires consistency
5964 # for target_alias and gcc doesn't manage it consistently.
5965 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5968 case " $target_configdirs " in
5970 case " $target_configargs " in
5971 *" --with-newlib "*)
5974 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' ;;
5977 # If we're not building GCC, don't discard standard headers.
5978 if test -d ${srcdir}/gcc
; then
5979 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5981 if test "${build}" != "${host}"; then
5982 # On Canadian crosses, CC_FOR_TARGET will have already been set
5983 # by `configure', so we won't have an opportunity to add -Bgcc/
5984 # to it. This is right: we don't want to search that directory
5985 # for binaries, but we want the header files in there, so add
5987 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5989 # Someone might think of using the pre-installed headers on
5990 # Canadian crosses, in case the installed compiler is not fully
5991 # compatible with the compiler being built. In this case, it
5992 # would be better to flag an error than risking having
5993 # incompatible object files being constructed. We can't
5994 # guarantee that an error will be flagged, but let's hope the
5995 # compiler will do it, when presented with incompatible header
6000 case "${target}-${is_cross_compiler}" in
6001 i
[3456789]86-*-linux*-no)
6002 # Here host == target, so we don't need to build gcc,
6003 # so we don't want to discard standard headers.
6004 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6007 # If we're building newlib, use its generic headers last, but search
6008 # for any libc-related directories first (so make it the last -B
6010 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6012 # If we're building libgloss, find the startup file, simulator library
6013 # and linker script.
6014 case " $target_configdirs " in
6016 # Look for startup file, simulator library and maybe linker script.
6017 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6018 # Look for libnosys.a in case the target needs it.
6019 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6020 # Most targets have the linker script in the source directory.
6021 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6032 # Can't be handled as Cygwin above since Mingw does not use newlib.
6033 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' ;;
6036 # Allow the user to override the flags for
6037 # our build compiler if desired.
6038 if test x
"${build}" = x
"${host}" ; then
6039 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6040 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6041 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6044 # On Canadian crosses, we'll be searching the right directories for
6045 # the previously-installed cross compiler, so don't bother to add
6046 # flags for directories within the install tree of the compiler
6047 # being built; programs in there won't even run.
6048 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6049 # Search for pre-installed headers if nothing else fits.
6050 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6053 if test "x
${use_gnu_ld}" = x &&
6054 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6055 # Arrange for us to find uninstalled linker scripts.
6056 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6059 # Search for other target-specific linker scripts and such.
6062 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6066 # Makefile fragments.
6067 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6069 eval fragval=\$$frag
6070 if test $fragval != /dev/null; then
6071 eval $frag=${srcdir}/$fragval
6079 # Miscellanea: directories, flags, etc.
6088 # Build module lists & subconfigure args.
6092 # Host module lists & subconfigure args.
6096 # Target module lists & subconfigure args.
6118 # Generate default definitions for YACC, M4, LEX and other programs that run
6119 # on the build machine. These are used if the Makefile can't locate these
6120 # programs in objdir.
6121 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6123 for ac_prog in 'bison -y' byacc yacc
6125 # Extract the first word of "$ac_prog", so it can be a program name with args.
6126 set dummy $ac_prog; ac_word=$2
6127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6129 if test "${ac_cv_prog_YACC+set}" = set; then
6130 echo $ECHO_N "(cached
) $ECHO_C" >&6
6132 if test -n "$YACC"; then
6133 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_YACC="$ac_prog"
6143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6151 YACC=$ac_cv_prog_YACC
6152 if test -n "$YACC"; then
6153 echo "$as_me:$LINENO: result
: $YACC" >&5
6154 echo "${ECHO_T}$YACC" >&6
6156 echo "$as_me:$LINENO: result
: no
" >&5
6157 echo "${ECHO_T}no
" >&6
6160 test -n "$YACC" && break
6162 test -n "$YACC" || YACC="$MISSING bison
-y"
6164 case " $build_configdirs " in
6165 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6166 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6169 for ac_prog in bison
6171 # Extract the first word of "$ac_prog", so it can be a program name with args.
6172 set dummy $ac_prog; ac_word=$2
6173 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6174 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6175 if test "${ac_cv_prog_BISON+set}" = set; then
6176 echo $ECHO_N "(cached
) $ECHO_C" >&6
6178 if test -n "$BISON"; then
6179 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_BISON="$ac_prog"
6189 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6197 BISON=$ac_cv_prog_BISON
6198 if test -n "$BISON"; then
6199 echo "$as_me:$LINENO: result
: $BISON" >&5
6200 echo "${ECHO_T}$BISON" >&6
6202 echo "$as_me:$LINENO: result
: no
" >&5
6203 echo "${ECHO_T}no
" >&6
6206 test -n "$BISON" && break
6208 test -n "$BISON" || BISON="$MISSING bison
"
6210 case " $build_configdirs " in
6211 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6214 for ac_prog in gm4 gnum4 m4
6216 # Extract the first word of "$ac_prog", so it can be a program name with args.
6217 set dummy $ac_prog; ac_word=$2
6218 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6220 if test "${ac_cv_prog_M4+set}" = set; then
6221 echo $ECHO_N "(cached
) $ECHO_C" >&6
6223 if test -n "$M4"; then
6224 ac_cv_prog_M4="$M4" # Let the user override the test.
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_prog_M4="$ac_prog"
6234 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6243 if test -n "$M4"; then
6244 echo "$as_me:$LINENO: result
: $M4" >&5
6245 echo "${ECHO_T}$M4" >&6
6247 echo "$as_me:$LINENO: result
: no
" >&5
6248 echo "${ECHO_T}no
" >&6
6251 test -n "$M4" && break
6253 test -n "$M4" || M4="$MISSING m4"
6255 case " $build_configdirs " in
6256 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6259 for ac_prog in flex lex
6261 # Extract the first word of "$ac_prog", so it can be a program name with args.
6262 set dummy $ac_prog; ac_word=$2
6263 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6265 if test "${ac_cv_prog_LEX+set}" = set; then
6266 echo $ECHO_N "(cached
) $ECHO_C" >&6
6268 if test -n "$LEX"; then
6269 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6278 ac_cv_prog_LEX="$ac_prog"
6279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 if test -n "$LEX"; then
6289 echo "$as_me:$LINENO: result
: $LEX" >&5
6290 echo "${ECHO_T}$LEX" >&6
6292 echo "$as_me:$LINENO: result
: no
" >&5
6293 echo "${ECHO_T}no
" >&6
6296 test -n "$LEX" && break
6298 test -n "$LEX" || LEX="$MISSING flex
"
6300 case " $build_configdirs " in
6301 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6302 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6307 # Extract the first word of "$ac_prog", so it can be a program name with args.
6308 set dummy $ac_prog; ac_word=$2
6309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6311 if test "${ac_cv_prog_FLEX+set}" = set; then
6312 echo $ECHO_N "(cached
) $ECHO_C" >&6
6314 if test -n "$FLEX"; then
6315 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_FLEX="$ac_prog"
6325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6333 FLEX=$ac_cv_prog_FLEX
6334 if test -n "$FLEX"; then
6335 echo "$as_me:$LINENO: result
: $FLEX" >&5
6336 echo "${ECHO_T}$FLEX" >&6
6338 echo "$as_me:$LINENO: result
: no
" >&5
6339 echo "${ECHO_T}no
" >&6
6342 test -n "$FLEX" && break
6344 test -n "$FLEX" || FLEX="$MISSING flex
"
6346 case " $build_configdirs " in
6347 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6350 for ac_prog in makeinfo
6352 # Extract the first word of "$ac_prog", so it can be a program name with args.
6353 set dummy $ac_prog; ac_word=$2
6354 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6355 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6356 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6357 echo $ECHO_N "(cached
) $ECHO_C" >&6
6359 if test -n "$MAKEINFO"; then
6360 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_MAKEINFO="$ac_prog"
6370 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6378 MAKEINFO=$ac_cv_prog_MAKEINFO
6379 if test -n "$MAKEINFO"; then
6380 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6381 echo "${ECHO_T}$MAKEINFO" >&6
6383 echo "$as_me:$LINENO: result
: no
" >&5
6384 echo "${ECHO_T}no
" >&6
6387 test -n "$MAKEINFO" && break
6389 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6391 case " $build_configdirs " in
6392 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6395 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6396 # higher, else we use the "missing
" dummy.
6397 if ${MAKEINFO} --version \
6398 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6401 MAKEINFO="$MISSING makeinfo
"
6407 # FIXME: expect and dejagnu may become build tools?
6409 for ac_prog in expect
6411 # Extract the first word of "$ac_prog", so it can be a program name with args.
6412 set dummy $ac_prog; ac_word=$2
6413 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6414 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6415 if test "${ac_cv_prog_EXPECT+set}" = set; then
6416 echo $ECHO_N "(cached
) $ECHO_C" >&6
6418 if test -n "$EXPECT"; then
6419 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir=.
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6428 ac_cv_prog_EXPECT="$ac_prog"
6429 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6437 EXPECT=$ac_cv_prog_EXPECT
6438 if test -n "$EXPECT"; then
6439 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6440 echo "${ECHO_T}$EXPECT" >&6
6442 echo "$as_me:$LINENO: result
: no
" >&5
6443 echo "${ECHO_T}no
" >&6
6446 test -n "$EXPECT" && break
6448 test -n "$EXPECT" || EXPECT="expect
"
6450 case " $configdirs " in
6452 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6456 for ac_prog in runtest
6458 # Extract the first word of "$ac_prog", so it can be a program name with args.
6459 set dummy $ac_prog; ac_word=$2
6460 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6461 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6462 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6463 echo $ECHO_N "(cached
) $ECHO_C" >&6
6465 if test -n "$RUNTEST"; then
6466 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_RUNTEST="$ac_prog"
6476 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6484 RUNTEST=$ac_cv_prog_RUNTEST
6485 if test -n "$RUNTEST"; then
6486 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6487 echo "${ECHO_T}$RUNTEST" >&6
6489 echo "$as_me:$LINENO: result
: no
" >&5
6490 echo "${ECHO_T}no
" >&6
6493 test -n "$RUNTEST" && break
6495 test -n "$RUNTEST" || RUNTEST="runtest
"
6497 case " $configdirs " in
6499 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6506 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6507 ncn_target_tool_prefix=
6508 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6512 if test -n "$AR"; then
6514 elif test -n "$ac_cv_prog_AR"; then
6518 if test -n "$ac_cv_prog_AR"; then
6519 for ncn_progname in ar; 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_AR+set}" = set; then
6525 echo $ECHO_N "(cached
) $ECHO_C" >&6
6527 if test -n "$AR"; then
6528 ac_cv_prog_AR="$AR" # 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_AR="${ncn_progname}"
6538 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6547 if test -n "$AR"; then
6548 echo "$as_me:$LINENO: result
: $AR" >&5
6549 echo "${ECHO_T}$AR" >&6
6551 echo "$as_me:$LINENO: result
: no
" >&5
6552 echo "${ECHO_T}no
" >&6
6558 for ncn_progname in ar; 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_AR+set}" = set; then
6565 echo $ECHO_N "(cached
) $ECHO_C" >&6
6567 if test -n "$AR"; then
6568 ac_cv_prog_AR="$AR" # 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_AR="${ncn_tool_prefix}${ncn_progname}"
6578 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6587 if test -n "$AR"; then
6588 echo "$as_me:$LINENO: result
: $AR" >&5
6589 echo "${ECHO_T}$AR" >&6
6591 echo "$as_me:$LINENO: result
: no
" >&5
6592 echo "${ECHO_T}no
" >&6
6596 if test -z "$ac_cv_prog_AR" && 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_AR+set}" = set; then
6602 echo $ECHO_N "(cached
) $ECHO_C" >&6
6604 if test -n "$AR"; then
6605 ac_cv_prog_AR="$AR" # 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_AR="${ncn_progname}"
6615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6624 if test -n "$AR"; then
6625 echo "$as_me:$LINENO: result
: $AR" >&5
6626 echo "${ECHO_T}$AR" >&6
6628 echo "$as_me:$LINENO: result
: no
" >&5
6629 echo "${ECHO_T}no
" >&6
6633 test -n "$ac_cv_prog_AR" && break
6636 if test -z "$ac_cv_prog_AR" ; then
6638 if test $build = $host ; then
6641 AR="${ncn_tool_prefix}$2"
6647 if test -n "$AS"; then
6649 elif test -n "$ac_cv_prog_AS"; then
6653 if test -n "$ac_cv_prog_AS"; then
6654 for ncn_progname in as; 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_AS+set}" = set; then
6660 echo $ECHO_N "(cached
) $ECHO_C" >&6
6662 if test -n "$AS"; then
6663 ac_cv_prog_AS="$AS" # 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_AS="${ncn_progname}"
6673 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6682 if test -n "$AS"; then
6683 echo "$as_me:$LINENO: result
: $AS" >&5
6684 echo "${ECHO_T}$AS" >&6
6686 echo "$as_me:$LINENO: result
: no
" >&5
6687 echo "${ECHO_T}no
" >&6
6693 for ncn_progname in as; 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_AS+set}" = set; then
6700 echo $ECHO_N "(cached
) $ECHO_C" >&6
6702 if test -n "$AS"; then
6703 ac_cv_prog_AS="$AS" # 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_AS="${ncn_tool_prefix}${ncn_progname}"
6713 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6722 if test -n "$AS"; then
6723 echo "$as_me:$LINENO: result
: $AS" >&5
6724 echo "${ECHO_T}$AS" >&6
6726 echo "$as_me:$LINENO: result
: no
" >&5
6727 echo "${ECHO_T}no
" >&6
6731 if test -z "$ac_cv_prog_AS" && 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_AS+set}" = set; then
6737 echo $ECHO_N "(cached
) $ECHO_C" >&6
6739 if test -n "$AS"; then
6740 ac_cv_prog_AS="$AS" # 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_AS="${ncn_progname}"
6750 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 if test -n "$AS"; then
6760 echo "$as_me:$LINENO: result
: $AS" >&5
6761 echo "${ECHO_T}$AS" >&6
6763 echo "$as_me:$LINENO: result
: no
" >&5
6764 echo "${ECHO_T}no
" >&6
6768 test -n "$ac_cv_prog_AS" && break
6771 if test -z "$ac_cv_prog_AS" ; then
6773 if test $build = $host ; then
6776 AS="${ncn_tool_prefix}$2"
6782 if test -n "$DLLTOOL"; then
6783 ac_cv_prog_DLLTOOL=$DLLTOOL
6784 elif test -n "$ac_cv_prog_DLLTOOL"; then
6785 DLLTOOL=$ac_cv_prog_DLLTOOL
6788 if test -n "$ac_cv_prog_DLLTOOL"; then
6789 for ncn_progname in dlltool; 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_DLLTOOL+set}" = set; then
6795 echo $ECHO_N "(cached
) $ECHO_C" >&6
6797 if test -n "$DLLTOOL"; then
6798 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_progname}"
6808 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6816 DLLTOOL=$ac_cv_prog_DLLTOOL
6817 if test -n "$DLLTOOL"; then
6818 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6819 echo "${ECHO_T}$DLLTOOL" >&6
6821 echo "$as_me:$LINENO: result
: no
" >&5
6822 echo "${ECHO_T}no
" >&6
6828 for ncn_progname in dlltool; 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_DLLTOOL+set}" = set; then
6835 echo $ECHO_N "(cached
) $ECHO_C" >&6
6837 if test -n "$DLLTOOL"; then
6838 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6848 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6856 DLLTOOL=$ac_cv_prog_DLLTOOL
6857 if test -n "$DLLTOOL"; then
6858 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6859 echo "${ECHO_T}$DLLTOOL" >&6
6861 echo "$as_me:$LINENO: result
: no
" >&5
6862 echo "${ECHO_T}no
" >&6
6866 if test -z "$ac_cv_prog_DLLTOOL" && 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_DLLTOOL+set}" = set; then
6872 echo $ECHO_N "(cached
) $ECHO_C" >&6
6874 if test -n "$DLLTOOL"; then
6875 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_progname}"
6885 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6893 DLLTOOL=$ac_cv_prog_DLLTOOL
6894 if test -n "$DLLTOOL"; then
6895 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6896 echo "${ECHO_T}$DLLTOOL" >&6
6898 echo "$as_me:$LINENO: result
: no
" >&5
6899 echo "${ECHO_T}no
" >&6
6903 test -n "$ac_cv_prog_DLLTOOL" && break
6906 if test -z "$ac_cv_prog_DLLTOOL" ; then
6908 if test $build = $host ; then
6911 DLLTOOL="${ncn_tool_prefix}$2"
6917 if test -n "$LD"; then
6919 elif test -n "$ac_cv_prog_LD"; then
6923 if test -n "$ac_cv_prog_LD"; then
6924 for ncn_progname in ld; 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_LD+set}" = set; then
6930 echo $ECHO_N "(cached
) $ECHO_C" >&6
6932 if test -n "$LD"; then
6933 ac_cv_prog_LD="$LD" # 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_LD="${ncn_progname}"
6943 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6952 if test -n "$LD"; then
6953 echo "$as_me:$LINENO: result
: $LD" >&5
6954 echo "${ECHO_T}$LD" >&6
6956 echo "$as_me:$LINENO: result
: no
" >&5
6957 echo "${ECHO_T}no
" >&6
6963 for ncn_progname in ld; 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_LD+set}" = set; then
6970 echo $ECHO_N "(cached
) $ECHO_C" >&6
6972 if test -n "$LD"; then
6973 ac_cv_prog_LD="$LD" # 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_LD="${ncn_tool_prefix}${ncn_progname}"
6983 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6992 if test -n "$LD"; then
6993 echo "$as_me:$LINENO: result
: $LD" >&5
6994 echo "${ECHO_T}$LD" >&6
6996 echo "$as_me:$LINENO: result
: no
" >&5
6997 echo "${ECHO_T}no
" >&6
7001 if test -z "$ac_cv_prog_LD" && 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_LD+set}" = set; then
7007 echo $ECHO_N "(cached
) $ECHO_C" >&6
7009 if test -n "$LD"; then
7010 ac_cv_prog_LD="$LD" # 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_LD="${ncn_progname}"
7020 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7029 if test -n "$LD"; then
7030 echo "$as_me:$LINENO: result
: $LD" >&5
7031 echo "${ECHO_T}$LD" >&6
7033 echo "$as_me:$LINENO: result
: no
" >&5
7034 echo "${ECHO_T}no
" >&6
7038 test -n "$ac_cv_prog_LD" && break
7041 if test -z "$ac_cv_prog_LD" ; then
7043 if test $build = $host ; then
7046 LD="${ncn_tool_prefix}$2"
7052 if test -n "$LIPO"; then
7053 ac_cv_prog_LIPO=$LIPO
7054 elif test -n "$ac_cv_prog_LIPO"; then
7055 LIPO=$ac_cv_prog_LIPO
7058 if test -n "$ac_cv_prog_LIPO"; then
7059 for ncn_progname in lipo; 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_LIPO+set}" = set; then
7065 echo $ECHO_N "(cached
) $ECHO_C" >&6
7067 if test -n "$LIPO"; then
7068 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_progname}"
7078 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7086 LIPO=$ac_cv_prog_LIPO
7087 if test -n "$LIPO"; then
7088 echo "$as_me:$LINENO: result
: $LIPO" >&5
7089 echo "${ECHO_T}$LIPO" >&6
7091 echo "$as_me:$LINENO: result
: no
" >&5
7092 echo "${ECHO_T}no
" >&6
7098 for ncn_progname in lipo; 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_LIPO+set}" = set; then
7105 echo $ECHO_N "(cached
) $ECHO_C" >&6
7107 if test -n "$LIPO"; then
7108 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_tool_prefix}${ncn_progname}"
7118 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7126 LIPO=$ac_cv_prog_LIPO
7127 if test -n "$LIPO"; then
7128 echo "$as_me:$LINENO: result
: $LIPO" >&5
7129 echo "${ECHO_T}$LIPO" >&6
7131 echo "$as_me:$LINENO: result
: no
" >&5
7132 echo "${ECHO_T}no
" >&6
7136 if test -z "$ac_cv_prog_LIPO" && 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_LIPO+set}" = set; then
7142 echo $ECHO_N "(cached
) $ECHO_C" >&6
7144 if test -n "$LIPO"; then
7145 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_progname}"
7155 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7163 LIPO=$ac_cv_prog_LIPO
7164 if test -n "$LIPO"; then
7165 echo "$as_me:$LINENO: result
: $LIPO" >&5
7166 echo "${ECHO_T}$LIPO" >&6
7168 echo "$as_me:$LINENO: result
: no
" >&5
7169 echo "${ECHO_T}no
" >&6
7173 test -n "$ac_cv_prog_LIPO" && break
7176 if test -z "$ac_cv_prog_LIPO" ; then
7178 if test $build = $host ; then
7181 LIPO="${ncn_tool_prefix}$2"
7187 if test -n "$NM"; then
7189 elif test -n "$ac_cv_prog_NM"; then
7193 if test -n "$ac_cv_prog_NM"; then
7194 for ncn_progname in nm; do
7195 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7196 set dummy ${ncn_progname}; ac_word=$2
7197 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7199 if test "${ac_cv_prog_NM+set}" = set; then
7200 echo $ECHO_N "(cached
) $ECHO_C" >&6
7202 if test -n "$NM"; then
7203 ac_cv_prog_NM="$NM" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_NM="${ncn_progname}"
7213 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7222 if test -n "$NM"; then
7223 echo "$as_me:$LINENO: result
: $NM" >&5
7224 echo "${ECHO_T}$NM" >&6
7226 echo "$as_me:$LINENO: result
: no
" >&5
7227 echo "${ECHO_T}no
" >&6
7233 for ncn_progname in nm; do
7234 if test -n "$ncn_tool_prefix"; then
7235 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7236 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7237 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7238 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7239 if test "${ac_cv_prog_NM+set}" = set; then
7240 echo $ECHO_N "(cached
) $ECHO_C" >&6
7242 if test -n "$NM"; then
7243 ac_cv_prog_NM="$NM" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7262 if test -n "$NM"; then
7263 echo "$as_me:$LINENO: result
: $NM" >&5
7264 echo "${ECHO_T}$NM" >&6
7266 echo "$as_me:$LINENO: result
: no
" >&5
7267 echo "${ECHO_T}no
" >&6
7271 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7273 set dummy ${ncn_progname}; ac_word=$2
7274 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7275 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7276 if test "${ac_cv_prog_NM+set}" = set; then
7277 echo $ECHO_N "(cached
) $ECHO_C" >&6
7279 if test -n "$NM"; then
7280 ac_cv_prog_NM="$NM" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_NM="${ncn_progname}"
7290 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7299 if test -n "$NM"; then
7300 echo "$as_me:$LINENO: result
: $NM" >&5
7301 echo "${ECHO_T}$NM" >&6
7303 echo "$as_me:$LINENO: result
: no
" >&5
7304 echo "${ECHO_T}no
" >&6
7308 test -n "$ac_cv_prog_NM" && break
7311 if test -z "$ac_cv_prog_NM" ; then
7313 if test $build = $host ; then
7316 NM="${ncn_tool_prefix}$2"
7322 if test -n "$RANLIB"; then
7323 ac_cv_prog_RANLIB=$RANLIB
7324 elif test -n "$ac_cv_prog_RANLIB"; then
7325 RANLIB=$ac_cv_prog_RANLIB
7328 if test -n "$ac_cv_prog_RANLIB"; then
7329 for ncn_progname in ranlib; do
7330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7331 set dummy ${ncn_progname}; ac_word=$2
7332 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7333 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7334 if test "${ac_cv_prog_RANLIB+set}" = set; then
7335 echo $ECHO_N "(cached
) $ECHO_C" >&6
7337 if test -n "$RANLIB"; then
7338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_RANLIB="${ncn_progname}"
7348 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7356 RANLIB=$ac_cv_prog_RANLIB
7357 if test -n "$RANLIB"; then
7358 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7359 echo "${ECHO_T}$RANLIB" >&6
7361 echo "$as_me:$LINENO: result
: no
" >&5
7362 echo "${ECHO_T}no
" >&6
7368 for ncn_progname in ranlib; do
7369 if test -n "$ncn_tool_prefix"; then
7370 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7371 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7372 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7373 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7374 if test "${ac_cv_prog_RANLIB+set}" = set; then
7375 echo $ECHO_N "(cached
) $ECHO_C" >&6
7377 if test -n "$RANLIB"; then
7378 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7388 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7396 RANLIB=$ac_cv_prog_RANLIB
7397 if test -n "$RANLIB"; then
7398 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7399 echo "${ECHO_T}$RANLIB" >&6
7401 echo "$as_me:$LINENO: result
: no
" >&5
7402 echo "${ECHO_T}no
" >&6
7406 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7408 set dummy ${ncn_progname}; ac_word=$2
7409 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7410 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7411 if test "${ac_cv_prog_RANLIB+set}" = set; then
7412 echo $ECHO_N "(cached
) $ECHO_C" >&6
7414 if test -n "$RANLIB"; then
7415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_RANLIB="${ncn_progname}"
7425 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7433 RANLIB=$ac_cv_prog_RANLIB
7434 if test -n "$RANLIB"; then
7435 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7436 echo "${ECHO_T}$RANLIB" >&6
7438 echo "$as_me:$LINENO: result
: no
" >&5
7439 echo "${ECHO_T}no
" >&6
7443 test -n "$ac_cv_prog_RANLIB" && break
7446 if test -z "$ac_cv_prog_RANLIB" ; then
7452 if test -n "$STRIP"; then
7453 ac_cv_prog_STRIP=$STRIP
7454 elif test -n "$ac_cv_prog_STRIP"; then
7455 STRIP=$ac_cv_prog_STRIP
7458 if test -n "$ac_cv_prog_STRIP"; then
7459 for ncn_progname in strip; do
7460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7461 set dummy ${ncn_progname}; ac_word=$2
7462 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7463 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7464 if test "${ac_cv_prog_STRIP+set}" = set; then
7465 echo $ECHO_N "(cached
) $ECHO_C" >&6
7467 if test -n "$STRIP"; then
7468 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir=.
7475 for ac_exec_ext in '' $ac_executable_extensions; do
7476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477 ac_cv_prog_STRIP="${ncn_progname}"
7478 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7486 STRIP=$ac_cv_prog_STRIP
7487 if test -n "$STRIP"; then
7488 echo "$as_me:$LINENO: result
: $STRIP" >&5
7489 echo "${ECHO_T}$STRIP" >&6
7491 echo "$as_me:$LINENO: result
: no
" >&5
7492 echo "${ECHO_T}no
" >&6
7498 for ncn_progname in strip; do
7499 if test -n "$ncn_tool_prefix"; then
7500 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7501 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7502 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7503 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7504 if test "${ac_cv_prog_STRIP+set}" = set; then
7505 echo $ECHO_N "(cached
) $ECHO_C" >&6
7507 if test -n "$STRIP"; then
7508 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7518 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7526 STRIP=$ac_cv_prog_STRIP
7527 if test -n "$STRIP"; then
7528 echo "$as_me:$LINENO: result
: $STRIP" >&5
7529 echo "${ECHO_T}$STRIP" >&6
7531 echo "$as_me:$LINENO: result
: no
" >&5
7532 echo "${ECHO_T}no
" >&6
7536 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7537 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7538 set dummy ${ncn_progname}; ac_word=$2
7539 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7540 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7541 if test "${ac_cv_prog_STRIP+set}" = set; then
7542 echo $ECHO_N "(cached
) $ECHO_C" >&6
7544 if test -n "$STRIP"; then
7545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7554 ac_cv_prog_STRIP="${ncn_progname}"
7555 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7563 STRIP=$ac_cv_prog_STRIP
7564 if test -n "$STRIP"; then
7565 echo "$as_me:$LINENO: result
: $STRIP" >&5
7566 echo "${ECHO_T}$STRIP" >&6
7568 echo "$as_me:$LINENO: result
: no
" >&5
7569 echo "${ECHO_T}no
" >&6
7573 test -n "$ac_cv_prog_STRIP" && break
7576 if test -z "$ac_cv_prog_STRIP" ; then
7582 if test -n "$WINDRES"; then
7583 ac_cv_prog_WINDRES=$WINDRES
7584 elif test -n "$ac_cv_prog_WINDRES"; then
7585 WINDRES=$ac_cv_prog_WINDRES
7588 if test -n "$ac_cv_prog_WINDRES"; then
7589 for ncn_progname in windres; 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_WINDRES+set}" = set; then
7595 echo $ECHO_N "(cached
) $ECHO_C" >&6
7597 if test -n "$WINDRES"; then
7598 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ncn_progname}"
7608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7616 WINDRES=$ac_cv_prog_WINDRES
7617 if test -n "$WINDRES"; then
7618 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7619 echo "${ECHO_T}$WINDRES" >&6
7621 echo "$as_me:$LINENO: result
: no
" >&5
7622 echo "${ECHO_T}no
" >&6
7628 for ncn_progname in windres; 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_WINDRES+set}" = set; then
7635 echo $ECHO_N "(cached
) $ECHO_C" >&6
7637 if test -n "$WINDRES"; then
7638 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7656 WINDRES=$ac_cv_prog_WINDRES
7657 if test -n "$WINDRES"; then
7658 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7659 echo "${ECHO_T}$WINDRES" >&6
7661 echo "$as_me:$LINENO: result
: no
" >&5
7662 echo "${ECHO_T}no
" >&6
7666 if test -z "$ac_cv_prog_WINDRES" && 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_WINDRES+set}" = set; then
7672 echo $ECHO_N "(cached
) $ECHO_C" >&6
7674 if test -n "$WINDRES"; then
7675 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ncn_progname}"
7685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7693 WINDRES=$ac_cv_prog_WINDRES
7694 if test -n "$WINDRES"; then
7695 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7696 echo "${ECHO_T}$WINDRES" >&6
7698 echo "$as_me:$LINENO: result
: no
" >&5
7699 echo "${ECHO_T}no
" >&6
7703 test -n "$ac_cv_prog_WINDRES" && break
7706 if test -z "$ac_cv_prog_WINDRES" ; then
7708 if test $build = $host ; then
7711 WINDRES="${ncn_tool_prefix}$2"
7717 if test -n "$WINDMC"; then
7718 ac_cv_prog_WINDMC=$WINDMC
7719 elif test -n "$ac_cv_prog_WINDMC"; then
7720 WINDMC=$ac_cv_prog_WINDMC
7723 if test -n "$ac_cv_prog_WINDMC"; then
7724 for ncn_progname in windmc; 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_WINDMC+set}" = set; then
7730 echo $ECHO_N "(cached
) $ECHO_C" >&6
7732 if test -n "$WINDMC"; then
7733 ac_cv_prog_WINDMC="$WINDMC" # 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_WINDMC="${ncn_progname}"
7743 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 WINDMC=$ac_cv_prog_WINDMC
7752 if test -n "$WINDMC"; then
7753 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7754 echo "${ECHO_T}$WINDMC" >&6
7756 echo "$as_me:$LINENO: result
: no
" >&5
7757 echo "${ECHO_T}no
" >&6
7763 for ncn_progname in windmc; 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_WINDMC+set}" = set; then
7770 echo $ECHO_N "(cached
) $ECHO_C" >&6
7772 if test -n "$WINDMC"; then
7773 ac_cv_prog_WINDMC="$WINDMC" # 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_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7783 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7791 WINDMC=$ac_cv_prog_WINDMC
7792 if test -n "$WINDMC"; then
7793 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7794 echo "${ECHO_T}$WINDMC" >&6
7796 echo "$as_me:$LINENO: result
: no
" >&5
7797 echo "${ECHO_T}no
" >&6
7801 if test -z "$ac_cv_prog_WINDMC" && 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_WINDMC+set}" = set; then
7807 echo $ECHO_N "(cached
) $ECHO_C" >&6
7809 if test -n "$WINDMC"; then
7810 ac_cv_prog_WINDMC="$WINDMC" # 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_WINDMC="${ncn_progname}"
7820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7828 WINDMC=$ac_cv_prog_WINDMC
7829 if test -n "$WINDMC"; then
7830 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7831 echo "${ECHO_T}$WINDMC" >&6
7833 echo "$as_me:$LINENO: result
: no
" >&5
7834 echo "${ECHO_T}no
" >&6
7838 test -n "$ac_cv_prog_WINDMC" && break
7841 if test -z "$ac_cv_prog_WINDMC" ; then
7843 if test $build = $host ; then
7846 WINDMC="${ncn_tool_prefix}$2"
7852 if test -n "$OBJCOPY"; then
7853 ac_cv_prog_OBJCOPY=$OBJCOPY
7854 elif test -n "$ac_cv_prog_OBJCOPY"; then
7855 OBJCOPY=$ac_cv_prog_OBJCOPY
7858 if test -n "$ac_cv_prog_OBJCOPY"; then
7859 for ncn_progname in objcopy; do
7860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7861 set dummy ${ncn_progname}; ac_word=$2
7862 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7863 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7864 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7865 echo $ECHO_N "(cached
) $ECHO_C" >&6
7867 if test -n "$OBJCOPY"; then
7868 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_OBJCOPY="${ncn_progname}"
7878 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 OBJCOPY=$ac_cv_prog_OBJCOPY
7887 if test -n "$OBJCOPY"; then
7888 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7889 echo "${ECHO_T}$OBJCOPY" >&6
7891 echo "$as_me:$LINENO: result
: no
" >&5
7892 echo "${ECHO_T}no
" >&6
7898 for ncn_progname in objcopy; do
7899 if test -n "$ncn_tool_prefix"; then
7900 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7901 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7902 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7903 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7904 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7905 echo $ECHO_N "(cached
) $ECHO_C" >&6
7907 if test -n "$OBJCOPY"; then
7908 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7918 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 OBJCOPY=$ac_cv_prog_OBJCOPY
7927 if test -n "$OBJCOPY"; then
7928 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7929 echo "${ECHO_T}$OBJCOPY" >&6
7931 echo "$as_me:$LINENO: result
: no
" >&5
7932 echo "${ECHO_T}no
" >&6
7936 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7938 set dummy ${ncn_progname}; ac_word=$2
7939 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7940 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7941 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7942 echo $ECHO_N "(cached
) $ECHO_C" >&6
7944 if test -n "$OBJCOPY"; then
7945 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_OBJCOPY="${ncn_progname}"
7955 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7963 OBJCOPY=$ac_cv_prog_OBJCOPY
7964 if test -n "$OBJCOPY"; then
7965 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7966 echo "${ECHO_T}$OBJCOPY" >&6
7968 echo "$as_me:$LINENO: result
: no
" >&5
7969 echo "${ECHO_T}no
" >&6
7973 test -n "$ac_cv_prog_OBJCOPY" && break
7976 if test -z "$ac_cv_prog_OBJCOPY" ; then
7978 if test $build = $host ; then
7981 OBJCOPY="${ncn_tool_prefix}$2"
7987 if test -n "$OBJDUMP"; then
7988 ac_cv_prog_OBJDUMP=$OBJDUMP
7989 elif test -n "$ac_cv_prog_OBJDUMP"; then
7990 OBJDUMP=$ac_cv_prog_OBJDUMP
7993 if test -n "$ac_cv_prog_OBJDUMP"; then
7994 for ncn_progname in objdump; do
7995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7996 set dummy ${ncn_progname}; ac_word=$2
7997 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7998 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7999 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8000 echo $ECHO_N "(cached
) $ECHO_C" >&6
8002 if test -n "$OBJDUMP"; then
8003 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_OBJDUMP="${ncn_progname}"
8013 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8021 OBJDUMP=$ac_cv_prog_OBJDUMP
8022 if test -n "$OBJDUMP"; then
8023 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8024 echo "${ECHO_T}$OBJDUMP" >&6
8026 echo "$as_me:$LINENO: result
: no
" >&5
8027 echo "${ECHO_T}no
" >&6
8033 for ncn_progname in objdump; do
8034 if test -n "$ncn_tool_prefix"; then
8035 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8036 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8037 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8039 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8040 echo $ECHO_N "(cached
) $ECHO_C" >&6
8042 if test -n "$OBJDUMP"; then
8043 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8061 OBJDUMP=$ac_cv_prog_OBJDUMP
8062 if test -n "$OBJDUMP"; then
8063 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8064 echo "${ECHO_T}$OBJDUMP" >&6
8066 echo "$as_me:$LINENO: result
: no
" >&5
8067 echo "${ECHO_T}no
" >&6
8071 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8073 set dummy ${ncn_progname}; ac_word=$2
8074 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8075 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8076 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8077 echo $ECHO_N "(cached
) $ECHO_C" >&6
8079 if test -n "$OBJDUMP"; then
8080 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 test -z "$as_dir" && as_dir=.
8087 for ac_exec_ext in '' $ac_executable_extensions; do
8088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8089 ac_cv_prog_OBJDUMP="${ncn_progname}"
8090 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 OBJDUMP=$ac_cv_prog_OBJDUMP
8099 if test -n "$OBJDUMP"; then
8100 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8101 echo "${ECHO_T}$OBJDUMP" >&6
8103 echo "$as_me:$LINENO: result
: no
" >&5
8104 echo "${ECHO_T}no
" >&6
8108 test -n "$ac_cv_prog_OBJDUMP" && break
8111 if test -z "$ac_cv_prog_OBJDUMP" ; then
8113 if test $build = $host ; then
8116 OBJDUMP="${ncn_tool_prefix}$2"
8127 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8128 if test "${with_build_time_tools+set}" = set; then
8129 withval="$with_build_time_tools"
8133 with_build_time_tools=
8134 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8135 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8139 with_build_time_tools=
8144 if test -n "$CC_FOR_TARGET"; then
8145 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8146 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8147 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8150 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8151 for ncn_progname in cc gcc; do
8152 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8153 set dummy ${ncn_progname}; ac_word=$2
8154 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8155 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8156 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8157 echo $ECHO_N "(cached
) $ECHO_C" >&6
8159 if test -n "$CC_FOR_TARGET"; then
8160 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8170 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8178 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8179 if test -n "$CC_FOR_TARGET"; then
8180 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8181 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8183 echo "$as_me:$LINENO: result
: no
" >&5
8184 echo "${ECHO_T}no
" >&6
8190 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8191 for ncn_progname in cc gcc; do
8192 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8193 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8194 if test -x $with_build_time_tools/${ncn_progname}; then
8195 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8196 echo "$as_me:$LINENO: result
: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8200 echo "$as_me:$LINENO: result
: no
" >&5
8201 echo "${ECHO_T}no
" >&6
8206 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8207 for ncn_progname in cc gcc; do
8208 if test -n "$ncn_target_tool_prefix"; then
8209 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8210 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8211 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8212 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8213 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8214 echo $ECHO_N "(cached
) $ECHO_C" >&6
8216 if test -n "$CC_FOR_TARGET"; then
8217 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8223 test -z "$as_dir" && as_dir=.
8224 for ac_exec_ext in '' $ac_executable_extensions; do
8225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8226 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8227 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8235 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8236 if test -n "$CC_FOR_TARGET"; then
8237 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8238 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8240 echo "$as_me:$LINENO: result
: no
" >&5
8241 echo "${ECHO_T}no
" >&6
8245 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8247 set dummy ${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_CC_FOR_TARGET+set}" = set; then
8251 echo $ECHO_N "(cached
) $ECHO_C" >&6
8253 if test -n "$CC_FOR_TARGET"; then
8254 ac_cv_prog_CC_FOR_TARGET="$CC_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_CC_FOR_TARGET="${ncn_progname}"
8264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8272 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8273 if test -n "$CC_FOR_TARGET"; then
8274 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8275 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8277 echo "$as_me:$LINENO: result
: no
" >&5
8278 echo "${ECHO_T}no
" >&6
8282 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8286 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8288 if test $build = $target ; then
8291 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8294 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8299 if test -n "$CXX_FOR_TARGET"; then
8300 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8301 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8302 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8305 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8306 for ncn_progname in c++ g++ cxx gxx; do
8307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8308 set dummy ${ncn_progname}; ac_word=$2
8309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8311 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8312 echo $ECHO_N "(cached
) $ECHO_C" >&6
8314 if test -n "$CXX_FOR_TARGET"; then
8315 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8324 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8333 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8334 if test -n "$CXX_FOR_TARGET"; then
8335 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8336 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8338 echo "$as_me:$LINENO: result
: no
" >&5
8339 echo "${ECHO_T}no
" >&6
8345 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8346 for ncn_progname in c++ g++ cxx gxx; do
8347 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8348 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8349 if test -x $with_build_time_tools/${ncn_progname}; then
8350 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8351 echo "$as_me:$LINENO: result
: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result
: no
" >&5
8356 echo "${ECHO_T}no
" >&6
8361 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8362 for ncn_progname in c++ g++ cxx gxx; do
8363 if test -n "$ncn_target_tool_prefix"; then
8364 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8365 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8366 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8367 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8368 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8369 echo $ECHO_N "(cached
) $ECHO_C" >&6
8371 if test -n "$CXX_FOR_TARGET"; then
8372 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8378 test -z "$as_dir" && as_dir=.
8379 for ac_exec_ext in '' $ac_executable_extensions; do
8380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8381 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8382 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8390 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8391 if test -n "$CXX_FOR_TARGET"; then
8392 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8393 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8395 echo "$as_me:$LINENO: result
: no
" >&5
8396 echo "${ECHO_T}no
" >&6
8400 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8402 set dummy ${ncn_progname}; ac_word=$2
8403 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8404 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8405 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8406 echo $ECHO_N "(cached
) $ECHO_C" >&6
8408 if test -n "$CXX_FOR_TARGET"; then
8409 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8419 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8427 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8428 if test -n "$CXX_FOR_TARGET"; then
8429 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8430 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8432 echo "$as_me:$LINENO: result
: no
" >&5
8433 echo "${ECHO_T}no
" >&6
8437 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8441 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8442 set dummy c++ g++ cxx gxx
8443 if test $build = $target ; then
8446 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8449 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8454 if test -n "$GCC_FOR_TARGET"; then
8455 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8456 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8457 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8460 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8461 for ncn_progname in gcc; do
8462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8463 set dummy ${ncn_progname}; ac_word=$2
8464 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8465 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8466 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8467 echo $ECHO_N "(cached
) $ECHO_C" >&6
8469 if test -n "$GCC_FOR_TARGET"; then
8470 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8476 test -z "$as_dir" && as_dir=.
8477 for ac_exec_ext in '' $ac_executable_extensions; do
8478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8479 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8480 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8488 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8489 if test -n "$GCC_FOR_TARGET"; then
8490 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8491 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8493 echo "$as_me:$LINENO: result
: no
" >&5
8494 echo "${ECHO_T}no
" >&6
8500 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8501 for ncn_progname in gcc; do
8502 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8503 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8504 if test -x $with_build_time_tools/${ncn_progname}; then
8505 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8506 echo "$as_me:$LINENO: result
: yes" >&5
8507 echo "${ECHO_T}yes" >&6
8510 echo "$as_me:$LINENO: result
: no
" >&5
8511 echo "${ECHO_T}no
" >&6
8516 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8517 for ncn_progname in gcc; do
8518 if test -n "$ncn_target_tool_prefix"; then
8519 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8520 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8521 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8522 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8523 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8524 echo $ECHO_N "(cached
) $ECHO_C" >&6
8526 if test -n "$GCC_FOR_TARGET"; then
8527 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8533 test -z "$as_dir" && as_dir=.
8534 for ac_exec_ext in '' $ac_executable_extensions; do
8535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8536 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8537 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8545 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8546 if test -n "$GCC_FOR_TARGET"; then
8547 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8548 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8550 echo "$as_me:$LINENO: result
: no
" >&5
8551 echo "${ECHO_T}no
" >&6
8555 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8557 set dummy ${ncn_progname}; ac_word=$2
8558 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8560 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8561 echo $ECHO_N "(cached
) $ECHO_C" >&6
8563 if test -n "$GCC_FOR_TARGET"; then
8564 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir=.
8571 for ac_exec_ext in '' $ac_executable_extensions; do
8572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8573 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8583 if test -n "$GCC_FOR_TARGET"; then
8584 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8585 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8587 echo "$as_me:$LINENO: result
: no
" >&5
8588 echo "${ECHO_T}no
" >&6
8592 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8596 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8597 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8599 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8604 if test -n "$GCJ_FOR_TARGET"; then
8605 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8606 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8607 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8610 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8611 for ncn_progname in gcj; do
8612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8613 set dummy ${ncn_progname}; ac_word=$2
8614 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8615 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8616 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8617 echo $ECHO_N "(cached
) $ECHO_C" >&6
8619 if test -n "$GCJ_FOR_TARGET"; then
8620 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8630 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8638 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8639 if test -n "$GCJ_FOR_TARGET"; then
8640 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8641 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8643 echo "$as_me:$LINENO: result
: no
" >&5
8644 echo "${ECHO_T}no
" >&6
8650 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8651 for ncn_progname in gcj; do
8652 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8653 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8654 if test -x $with_build_time_tools/${ncn_progname}; then
8655 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8656 echo "$as_me:$LINENO: result
: yes" >&5
8657 echo "${ECHO_T}yes" >&6
8660 echo "$as_me:$LINENO: result
: no
" >&5
8661 echo "${ECHO_T}no
" >&6
8666 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8667 for ncn_progname in gcj; do
8668 if test -n "$ncn_target_tool_prefix"; then
8669 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8670 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8671 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8672 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8673 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8674 echo $ECHO_N "(cached
) $ECHO_C" >&6
8676 if test -n "$GCJ_FOR_TARGET"; then
8677 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8687 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8695 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8696 if test -n "$GCJ_FOR_TARGET"; then
8697 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8698 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8700 echo "$as_me:$LINENO: result
: no
" >&5
8701 echo "${ECHO_T}no
" >&6
8705 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8707 set dummy ${ncn_progname}; ac_word=$2
8708 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8709 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8710 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8711 echo $ECHO_N "(cached
) $ECHO_C" >&6
8713 if test -n "$GCJ_FOR_TARGET"; then
8714 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8720 test -z "$as_dir" && as_dir=.
8721 for ac_exec_ext in '' $ac_executable_extensions; do
8722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8723 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8724 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8732 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8733 if test -n "$GCJ_FOR_TARGET"; then
8734 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8735 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8737 echo "$as_me:$LINENO: result
: no
" >&5
8738 echo "${ECHO_T}no
" >&6
8742 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8746 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8748 if test $build = $target ; then
8751 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8754 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8759 if test -n "$GFORTRAN_FOR_TARGET"; then
8760 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8761 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8762 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8765 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8766 for ncn_progname in gfortran; do
8767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8768 set dummy ${ncn_progname}; ac_word=$2
8769 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8770 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8771 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8772 echo $ECHO_N "(cached
) $ECHO_C" >&6
8774 if test -n "$GFORTRAN_FOR_TARGET"; then
8775 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8781 test -z "$as_dir" && as_dir=.
8782 for ac_exec_ext in '' $ac_executable_extensions; do
8783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8784 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8785 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8793 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8794 if test -n "$GFORTRAN_FOR_TARGET"; then
8795 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8796 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8798 echo "$as_me:$LINENO: result
: no
" >&5
8799 echo "${ECHO_T}no
" >&6
8805 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8806 for ncn_progname in gfortran; do
8807 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8808 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8809 if test -x $with_build_time_tools/${ncn_progname}; then
8810 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8811 echo "$as_me:$LINENO: result
: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result
: no
" >&5
8816 echo "${ECHO_T}no
" >&6
8821 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8822 for ncn_progname in gfortran; do
8823 if test -n "$ncn_target_tool_prefix"; then
8824 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8825 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8826 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8827 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8828 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8829 echo $ECHO_N "(cached
) $ECHO_C" >&6
8831 if test -n "$GFORTRAN_FOR_TARGET"; then
8832 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 test -z "$as_dir" && as_dir=.
8839 for ac_exec_ext in '' $ac_executable_extensions; do
8840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8841 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8842 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8850 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8851 if test -n "$GFORTRAN_FOR_TARGET"; then
8852 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8853 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8855 echo "$as_me:$LINENO: result
: no
" >&5
8856 echo "${ECHO_T}no
" >&6
8860 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8861 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8862 set dummy ${ncn_progname}; ac_word=$2
8863 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8864 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8865 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8866 echo $ECHO_N "(cached
) $ECHO_C" >&6
8868 if test -n "$GFORTRAN_FOR_TARGET"; then
8869 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir=.
8876 for ac_exec_ext in '' $ac_executable_extensions; do
8877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8878 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8879 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8887 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8888 if test -n "$GFORTRAN_FOR_TARGET"; then
8889 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8890 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8892 echo "$as_me:$LINENO: result
: no
" >&5
8893 echo "${ECHO_T}no
" >&6
8897 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8901 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8903 if test $build = $target ; then
8904 GFORTRAN_FOR_TARGET="$2"
8906 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8909 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8914 cat > conftest.c << \EOF
8919 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8920 have_gcc_for_target=yes
8922 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8923 have_gcc_for_target=no
8930 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8931 if test -n "$with_build_time_tools"; then
8932 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8933 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8934 if test -x $with_build_time_tools/ar; then
8935 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8936 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8937 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8938 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8940 echo "$as_me:$LINENO: result
: no
" >&5
8941 echo "${ECHO_T}no
" >&6
8943 elif test $build != $host && test $have_gcc_for_target = yes; then
8944 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8945 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8946 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8949 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8950 # Extract the first word of "ar", so it can be a program name with args.
8951 set dummy ar; ac_word=$2
8952 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8954 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8955 echo $ECHO_N "(cached
) $ECHO_C" >&6
8957 case $AR_FOR_TARGET in
8959 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 for as_dir in $gcc_cv_tool_dirs
8966 test -z "$as_dir" && as_dir=.
8967 for ac_exec_ext in '' $ac_executable_extensions; do
8968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8969 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8970 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8979 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8981 if test -n "$AR_FOR_TARGET"; then
8982 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8983 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8985 echo "$as_me:$LINENO: result
: no
" >&5
8986 echo "${ECHO_T}no
" >&6
8990 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8993 if test -n "$AR_FOR_TARGET"; then
8994 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8995 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8996 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8999 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9000 for ncn_progname in ar; do
9001 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9002 set dummy ${ncn_progname}; ac_word=$2
9003 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9004 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9005 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9006 echo $ECHO_N "(cached
) $ECHO_C" >&6
9008 if test -n "$AR_FOR_TARGET"; then
9009 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9015 test -z "$as_dir" && as_dir=.
9016 for ac_exec_ext in '' $ac_executable_extensions; do
9017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9018 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9019 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9027 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9028 if test -n "$AR_FOR_TARGET"; then
9029 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9030 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9032 echo "$as_me:$LINENO: result
: no
" >&5
9033 echo "${ECHO_T}no
" >&6
9039 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9040 for ncn_progname in ar; do
9041 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9042 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9043 if test -x $with_build_time_tools/${ncn_progname}; then
9044 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9045 echo "$as_me:$LINENO: result
: yes" >&5
9046 echo "${ECHO_T}yes" >&6
9049 echo "$as_me:$LINENO: result
: no
" >&5
9050 echo "${ECHO_T}no
" >&6
9055 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9056 for ncn_progname in ar; do
9057 if test -n "$ncn_target_tool_prefix"; then
9058 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9059 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9060 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9061 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9062 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9063 echo $ECHO_N "(cached
) $ECHO_C" >&6
9065 if test -n "$AR_FOR_TARGET"; then
9066 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9072 test -z "$as_dir" && as_dir=.
9073 for ac_exec_ext in '' $ac_executable_extensions; do
9074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9075 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9076 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9084 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9085 if test -n "$AR_FOR_TARGET"; then
9086 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9087 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9089 echo "$as_me:$LINENO: result
: no
" >&5
9090 echo "${ECHO_T}no
" >&6
9094 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9096 set dummy ${ncn_progname}; ac_word=$2
9097 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9098 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9099 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9100 echo $ECHO_N "(cached
) $ECHO_C" >&6
9102 if test -n "$AR_FOR_TARGET"; then
9103 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9109 test -z "$as_dir" && as_dir=.
9110 for ac_exec_ext in '' $ac_executable_extensions; do
9111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9112 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9113 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9121 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9122 if test -n "$AR_FOR_TARGET"; then
9123 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9124 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9126 echo "$as_me:$LINENO: result
: no
" >&5
9127 echo "${ECHO_T}no
" >&6
9131 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9135 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9137 if test $build = $target ; then
9140 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9143 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9147 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9153 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9154 if test -n "$with_build_time_tools"; then
9155 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9156 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9157 if test -x $with_build_time_tools/as; then
9158 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9159 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9160 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9161 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9163 echo "$as_me:$LINENO: result
: no
" >&5
9164 echo "${ECHO_T}no
" >&6
9166 elif test $build != $host && test $have_gcc_for_target = yes; then
9167 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9168 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9169 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9172 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9173 # Extract the first word of "as
", so it can be a program name with args.
9174 set dummy as; ac_word=$2
9175 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9176 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9177 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9178 echo $ECHO_N "(cached
) $ECHO_C" >&6
9180 case $AS_FOR_TARGET in
9182 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 for as_dir in $gcc_cv_tool_dirs
9189 test -z "$as_dir" && as_dir=.
9190 for ac_exec_ext in '' $ac_executable_extensions; do
9191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9192 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9193 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9202 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9204 if test -n "$AS_FOR_TARGET"; then
9205 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9206 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9208 echo "$as_me:$LINENO: result
: no
" >&5
9209 echo "${ECHO_T}no
" >&6
9213 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9216 if test -n "$AS_FOR_TARGET"; then
9217 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9218 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9219 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9222 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9223 for ncn_progname in as; do
9224 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9225 set dummy ${ncn_progname}; ac_word=$2
9226 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9227 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9228 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9229 echo $ECHO_N "(cached
) $ECHO_C" >&6
9231 if test -n "$AS_FOR_TARGET"; then
9232 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9242 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9250 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9251 if test -n "$AS_FOR_TARGET"; then
9252 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9253 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9255 echo "$as_me:$LINENO: result
: no
" >&5
9256 echo "${ECHO_T}no
" >&6
9262 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9263 for ncn_progname in as; do
9264 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9265 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9266 if test -x $with_build_time_tools/${ncn_progname}; then
9267 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9268 echo "$as_me:$LINENO: result
: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9272 echo "$as_me:$LINENO: result
: no
" >&5
9273 echo "${ECHO_T}no
" >&6
9278 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9279 for ncn_progname in as; do
9280 if test -n "$ncn_target_tool_prefix"; then
9281 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9282 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9283 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9284 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9285 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9286 echo $ECHO_N "(cached
) $ECHO_C" >&6
9288 if test -n "$AS_FOR_TARGET"; then
9289 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9295 test -z "$as_dir" && as_dir=.
9296 for ac_exec_ext in '' $ac_executable_extensions; do
9297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9299 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9307 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9308 if test -n "$AS_FOR_TARGET"; then
9309 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9310 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9312 echo "$as_me:$LINENO: result
: no
" >&5
9313 echo "${ECHO_T}no
" >&6
9317 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9318 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9319 set dummy ${ncn_progname}; ac_word=$2
9320 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9322 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9323 echo $ECHO_N "(cached
) $ECHO_C" >&6
9325 if test -n "$AS_FOR_TARGET"; then
9326 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 test -z "$as_dir" && as_dir=.
9333 for ac_exec_ext in '' $ac_executable_extensions; do
9334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9335 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9336 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9344 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9345 if test -n "$AS_FOR_TARGET"; then
9346 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9347 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9349 echo "$as_me:$LINENO: result
: no
" >&5
9350 echo "${ECHO_T}no
" >&6
9354 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9358 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9360 if test $build = $target ; then
9363 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9366 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9370 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9376 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9377 if test -n "$with_build_time_tools"; then
9378 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9379 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9380 if test -x $with_build_time_tools/dlltool; then
9381 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9382 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9383 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9384 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9386 echo "$as_me:$LINENO: result
: no
" >&5
9387 echo "${ECHO_T}no
" >&6
9389 elif test $build != $host && test $have_gcc_for_target = yes; then
9390 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9391 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9392 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9395 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9396 # Extract the first word of "dlltool
", so it can be a program name with args.
9397 set dummy dlltool; ac_word=$2
9398 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9399 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9400 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9401 echo $ECHO_N "(cached
) $ECHO_C" >&6
9403 case $DLLTOOL_FOR_TARGET in
9405 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 for as_dir in $gcc_cv_tool_dirs
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9415 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9416 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9425 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9427 if test -n "$DLLTOOL_FOR_TARGET"; then
9428 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9429 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9431 echo "$as_me:$LINENO: result
: no
" >&5
9432 echo "${ECHO_T}no
" >&6
9436 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9439 if test -n "$DLLTOOL_FOR_TARGET"; then
9440 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9441 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9442 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9445 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9446 for ncn_progname in dlltool; do
9447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9448 set dummy ${ncn_progname}; ac_word=$2
9449 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9450 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9451 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9452 echo $ECHO_N "(cached
) $ECHO_C" >&6
9454 if test -n "$DLLTOOL_FOR_TARGET"; then
9455 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9461 test -z "$as_dir" && as_dir=.
9462 for ac_exec_ext in '' $ac_executable_extensions; do
9463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9464 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9465 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9473 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9474 if test -n "$DLLTOOL_FOR_TARGET"; then
9475 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9476 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9478 echo "$as_me:$LINENO: result
: no
" >&5
9479 echo "${ECHO_T}no
" >&6
9485 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9486 for ncn_progname in dlltool; do
9487 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9488 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9489 if test -x $with_build_time_tools/${ncn_progname}; then
9490 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9491 echo "$as_me:$LINENO: result
: yes" >&5
9492 echo "${ECHO_T}yes" >&6
9495 echo "$as_me:$LINENO: result
: no
" >&5
9496 echo "${ECHO_T}no
" >&6
9501 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9502 for ncn_progname in dlltool; do
9503 if test -n "$ncn_target_tool_prefix"; then
9504 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9505 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9506 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9507 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9508 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9509 echo $ECHO_N "(cached
) $ECHO_C" >&6
9511 if test -n "$DLLTOOL_FOR_TARGET"; then
9512 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9521 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9522 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9530 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9531 if test -n "$DLLTOOL_FOR_TARGET"; then
9532 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9533 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9535 echo "$as_me:$LINENO: result
: no
" >&5
9536 echo "${ECHO_T}no
" >&6
9540 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9541 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9542 set dummy ${ncn_progname}; ac_word=$2
9543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9545 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9546 echo $ECHO_N "(cached
) $ECHO_C" >&6
9548 if test -n "$DLLTOOL_FOR_TARGET"; then
9549 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir=.
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9558 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9559 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9567 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9568 if test -n "$DLLTOOL_FOR_TARGET"; then
9569 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9570 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9572 echo "$as_me:$LINENO: result
: no
" >&5
9573 echo "${ECHO_T}no
" >&6
9577 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9581 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9583 if test $build = $target ; then
9584 DLLTOOL_FOR_TARGET="$2"
9586 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9589 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9593 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9599 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9600 if test -n "$with_build_time_tools"; then
9601 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9602 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9603 if test -x $with_build_time_tools/ld; then
9604 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9605 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9606 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9607 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9609 echo "$as_me:$LINENO: result
: no
" >&5
9610 echo "${ECHO_T}no
" >&6
9612 elif test $build != $host && test $have_gcc_for_target = yes; then
9613 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9614 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9615 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9618 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9619 # Extract the first word of "ld
", so it can be a program name with args.
9620 set dummy ld; ac_word=$2
9621 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9622 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9623 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9624 echo $ECHO_N "(cached
) $ECHO_C" >&6
9626 case $LD_FOR_TARGET in
9628 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9632 for as_dir in $gcc_cv_tool_dirs
9635 test -z "$as_dir" && as_dir=.
9636 for ac_exec_ext in '' $ac_executable_extensions; do
9637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9638 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9648 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9650 if test -n "$LD_FOR_TARGET"; then
9651 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9652 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9654 echo "$as_me:$LINENO: result
: no
" >&5
9655 echo "${ECHO_T}no
" >&6
9659 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9662 if test -n "$LD_FOR_TARGET"; then
9663 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9664 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9665 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9668 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9669 for ncn_progname in ld; do
9670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9671 set dummy ${ncn_progname}; ac_word=$2
9672 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9673 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9674 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9675 echo $ECHO_N "(cached
) $ECHO_C" >&6
9677 if test -n "$LD_FOR_TARGET"; then
9678 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir=.
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9687 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9688 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9696 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9697 if test -n "$LD_FOR_TARGET"; then
9698 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9699 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9701 echo "$as_me:$LINENO: result
: no
" >&5
9702 echo "${ECHO_T}no
" >&6
9708 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9709 for ncn_progname in ld; do
9710 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9711 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9712 if test -x $with_build_time_tools/${ncn_progname}; then
9713 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9714 echo "$as_me:$LINENO: result
: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9718 echo "$as_me:$LINENO: result
: no
" >&5
9719 echo "${ECHO_T}no
" >&6
9724 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9725 for ncn_progname in ld; do
9726 if test -n "$ncn_target_tool_prefix"; then
9727 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9728 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9729 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9730 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9731 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9732 echo $ECHO_N "(cached
) $ECHO_C" >&6
9734 if test -n "$LD_FOR_TARGET"; then
9735 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir=.
9742 for ac_exec_ext in '' $ac_executable_extensions; do
9743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9744 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9745 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9753 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9754 if test -n "$LD_FOR_TARGET"; then
9755 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9756 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9758 echo "$as_me:$LINENO: result
: no
" >&5
9759 echo "${ECHO_T}no
" >&6
9763 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9765 set dummy ${ncn_progname}; ac_word=$2
9766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9768 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9769 echo $ECHO_N "(cached
) $ECHO_C" >&6
9771 if test -n "$LD_FOR_TARGET"; then
9772 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9778 test -z "$as_dir" && as_dir=.
9779 for ac_exec_ext in '' $ac_executable_extensions; do
9780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9781 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9782 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9790 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9791 if test -n "$LD_FOR_TARGET"; then
9792 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9793 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9795 echo "$as_me:$LINENO: result
: no
" >&5
9796 echo "${ECHO_T}no
" >&6
9800 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9804 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9806 if test $build = $target ; then
9809 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9812 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9816 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9822 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9823 if test -n "$with_build_time_tools"; then
9824 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9825 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9826 if test -x $with_build_time_tools/lipo; then
9827 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9828 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9829 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9830 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9832 echo "$as_me:$LINENO: result
: no
" >&5
9833 echo "${ECHO_T}no
" >&6
9835 elif test $build != $host && test $have_gcc_for_target = yes; then
9836 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9837 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9838 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9841 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9842 # Extract the first word of "lipo
", so it can be a program name with args.
9843 set dummy lipo; ac_word=$2
9844 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9845 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9846 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9847 echo $ECHO_N "(cached
) $ECHO_C" >&6
9849 case $LIPO_FOR_TARGET in
9851 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9855 for as_dir in $gcc_cv_tool_dirs
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9862 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9871 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9873 if test -n "$LIPO_FOR_TARGET"; then
9874 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9875 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9877 echo "$as_me:$LINENO: result
: no
" >&5
9878 echo "${ECHO_T}no
" >&6
9882 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9885 if test -n "$LIPO_FOR_TARGET"; then
9886 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9887 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9888 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9891 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9892 for ncn_progname in lipo; do
9893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9894 set dummy ${ncn_progname}; ac_word=$2
9895 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9896 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9897 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9898 echo $ECHO_N "(cached
) $ECHO_C" >&6
9900 if test -n "$LIPO_FOR_TARGET"; then
9901 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 test -z "$as_dir" && as_dir=.
9908 for ac_exec_ext in '' $ac_executable_extensions; do
9909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9910 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9911 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9919 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9920 if test -n "$LIPO_FOR_TARGET"; then
9921 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9922 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9924 echo "$as_me:$LINENO: result
: no
" >&5
9925 echo "${ECHO_T}no
" >&6
9931 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9932 for ncn_progname in lipo; do
9933 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9934 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9935 if test -x $with_build_time_tools/${ncn_progname}; then
9936 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9937 echo "$as_me:$LINENO: result
: yes" >&5
9938 echo "${ECHO_T}yes" >&6
9941 echo "$as_me:$LINENO: result
: no
" >&5
9942 echo "${ECHO_T}no
" >&6
9947 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9948 for ncn_progname in lipo; do
9949 if test -n "$ncn_target_tool_prefix"; then
9950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9952 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9954 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9955 echo $ECHO_N "(cached
) $ECHO_C" >&6
9957 if test -n "$LIPO_FOR_TARGET"; then
9958 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9964 test -z "$as_dir" && as_dir=.
9965 for ac_exec_ext in '' $ac_executable_extensions; do
9966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9967 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9968 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9976 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9977 if test -n "$LIPO_FOR_TARGET"; then
9978 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9979 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9981 echo "$as_me:$LINENO: result
: no
" >&5
9982 echo "${ECHO_T}no
" >&6
9986 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9988 set dummy ${ncn_progname}; ac_word=$2
9989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9991 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9992 echo $ECHO_N "(cached
) $ECHO_C" >&6
9994 if test -n "$LIPO_FOR_TARGET"; then
9995 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir=.
10002 for ac_exec_ext in '' $ac_executable_extensions; do
10003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10005 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10013 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10014 if test -n "$LIPO_FOR_TARGET"; then
10015 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10016 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10018 echo "$as_me:$LINENO: result
: no
" >&5
10019 echo "${ECHO_T}no
" >&6
10023 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10027 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10029 if test $build = $target ; then
10030 LIPO_FOR_TARGET="$2"
10032 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10035 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10039 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10045 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10046 if test -n "$with_build_time_tools"; then
10047 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10048 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10049 if test -x $with_build_time_tools/nm; then
10050 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10051 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10052 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10053 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10055 echo "$as_me:$LINENO: result
: no
" >&5
10056 echo "${ECHO_T}no
" >&6
10058 elif test $build != $host && test $have_gcc_for_target = yes; then
10059 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10060 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10061 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10064 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10065 # Extract the first word of "nm
", so it can be a program name with args.
10066 set dummy nm; ac_word=$2
10067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10069 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10070 echo $ECHO_N "(cached
) $ECHO_C" >&6
10072 case $NM_FOR_TARGET in
10074 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $gcc_cv_tool_dirs
10081 test -z "$as_dir" && as_dir=.
10082 for ac_exec_ext in '' $ac_executable_extensions; do
10083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10084 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10085 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10094 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10096 if test -n "$NM_FOR_TARGET"; then
10097 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10098 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10100 echo "$as_me:$LINENO: result
: no
" >&5
10101 echo "${ECHO_T}no
" >&6
10105 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10108 if test -n "$NM_FOR_TARGET"; then
10109 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10110 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10111 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10114 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10115 for ncn_progname in nm; do
10116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10117 set dummy ${ncn_progname}; ac_word=$2
10118 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10119 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10120 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10121 echo $ECHO_N "(cached
) $ECHO_C" >&6
10123 if test -n "$NM_FOR_TARGET"; then
10124 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10127 for as_dir in $PATH
10130 test -z "$as_dir" && as_dir=.
10131 for ac_exec_ext in '' $ac_executable_extensions; do
10132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10133 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10142 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10143 if test -n "$NM_FOR_TARGET"; then
10144 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10145 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10147 echo "$as_me:$LINENO: result
: no
" >&5
10148 echo "${ECHO_T}no
" >&6
10154 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10155 for ncn_progname in nm; do
10156 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10157 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10158 if test -x $with_build_time_tools/${ncn_progname}; then
10159 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10160 echo "$as_me:$LINENO: result
: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10164 echo "$as_me:$LINENO: result
: no
" >&5
10165 echo "${ECHO_T}no
" >&6
10170 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10171 for ncn_progname in nm; do
10172 if test -n "$ncn_target_tool_prefix"; then
10173 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10174 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10175 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10176 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10177 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10178 echo $ECHO_N "(cached
) $ECHO_C" >&6
10180 if test -n "$NM_FOR_TARGET"; then
10181 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10184 for as_dir in $PATH
10187 test -z "$as_dir" && as_dir=.
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10191 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10199 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10200 if test -n "$NM_FOR_TARGET"; then
10201 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10202 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10204 echo "$as_me:$LINENO: result
: no
" >&5
10205 echo "${ECHO_T}no
" >&6
10209 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10211 set dummy ${ncn_progname}; ac_word=$2
10212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10214 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10215 echo $ECHO_N "(cached
) $ECHO_C" >&6
10217 if test -n "$NM_FOR_TARGET"; then
10218 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10227 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10228 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10236 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10237 if test -n "$NM_FOR_TARGET"; then
10238 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10239 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10241 echo "$as_me:$LINENO: result
: no
" >&5
10242 echo "${ECHO_T}no
" >&6
10246 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10250 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10252 if test $build = $target ; then
10255 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10258 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10262 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10268 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10269 if test -n "$with_build_time_tools"; then
10270 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10271 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10272 if test -x $with_build_time_tools/objdump; then
10273 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10274 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10275 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10276 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10278 echo "$as_me:$LINENO: result
: no
" >&5
10279 echo "${ECHO_T}no
" >&6
10281 elif test $build != $host && test $have_gcc_for_target = yes; then
10282 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10283 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10284 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10287 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10288 # Extract the first word of "objdump
", so it can be a program name with args.
10289 set dummy objdump; ac_word=$2
10290 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10291 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10292 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10293 echo $ECHO_N "(cached
) $ECHO_C" >&6
10295 case $OBJDUMP_FOR_TARGET in
10297 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $gcc_cv_tool_dirs
10304 test -z "$as_dir" && as_dir=.
10305 for ac_exec_ext in '' $ac_executable_extensions; do
10306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10307 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10308 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10317 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10319 if test -n "$OBJDUMP_FOR_TARGET"; then
10320 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10321 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10323 echo "$as_me:$LINENO: result
: no
" >&5
10324 echo "${ECHO_T}no
" >&6
10328 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10331 if test -n "$OBJDUMP_FOR_TARGET"; then
10332 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10333 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10334 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10337 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10338 for ncn_progname in objdump; do
10339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10340 set dummy ${ncn_progname}; ac_word=$2
10341 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10342 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10343 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10344 echo $ECHO_N "(cached
) $ECHO_C" >&6
10346 if test -n "$OBJDUMP_FOR_TARGET"; then
10347 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10350 for as_dir in $PATH
10353 test -z "$as_dir" && as_dir=.
10354 for ac_exec_ext in '' $ac_executable_extensions; do
10355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10357 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10365 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10366 if test -n "$OBJDUMP_FOR_TARGET"; then
10367 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10368 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10370 echo "$as_me:$LINENO: result
: no
" >&5
10371 echo "${ECHO_T}no
" >&6
10377 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10378 for ncn_progname in objdump; do
10379 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10380 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10381 if test -x $with_build_time_tools/${ncn_progname}; then
10382 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10383 echo "$as_me:$LINENO: result
: yes" >&5
10384 echo "${ECHO_T}yes" >&6
10387 echo "$as_me:$LINENO: result
: no
" >&5
10388 echo "${ECHO_T}no
" >&6
10393 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10394 for ncn_progname in objdump; do
10395 if test -n "$ncn_target_tool_prefix"; then
10396 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10397 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10398 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10399 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10400 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10401 echo $ECHO_N "(cached
) $ECHO_C" >&6
10403 if test -n "$OBJDUMP_FOR_TARGET"; then
10404 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10413 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10414 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10422 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10423 if test -n "$OBJDUMP_FOR_TARGET"; then
10424 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10425 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10427 echo "$as_me:$LINENO: result
: no
" >&5
10428 echo "${ECHO_T}no
" >&6
10432 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10434 set dummy ${ncn_progname}; ac_word=$2
10435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10437 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10438 echo $ECHO_N "(cached
) $ECHO_C" >&6
10440 if test -n "$OBJDUMP_FOR_TARGET"; then
10441 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10447 test -z "$as_dir" && as_dir=.
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10459 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10460 if test -n "$OBJDUMP_FOR_TARGET"; then
10461 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10462 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10464 echo "$as_me:$LINENO: result
: no
" >&5
10465 echo "${ECHO_T}no
" >&6
10469 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10473 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10475 if test $build = $target ; then
10476 OBJDUMP_FOR_TARGET="$2"
10478 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10481 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10485 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10491 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10492 if test -n "$with_build_time_tools"; then
10493 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10494 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10495 if test -x $with_build_time_tools/ranlib; then
10496 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10497 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10498 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10499 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10501 echo "$as_me:$LINENO: result
: no
" >&5
10502 echo "${ECHO_T}no
" >&6
10504 elif test $build != $host && test $have_gcc_for_target = yes; then
10505 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10506 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10507 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10510 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10511 # Extract the first word of "ranlib
", so it can be a program name with args.
10512 set dummy ranlib; ac_word=$2
10513 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10514 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10515 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10516 echo $ECHO_N "(cached
) $ECHO_C" >&6
10518 case $RANLIB_FOR_TARGET in
10520 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in $gcc_cv_tool_dirs
10527 test -z "$as_dir" && as_dir=.
10528 for ac_exec_ext in '' $ac_executable_extensions; do
10529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10530 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10540 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10542 if test -n "$RANLIB_FOR_TARGET"; then
10543 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10544 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10546 echo "$as_me:$LINENO: result
: no
" >&5
10547 echo "${ECHO_T}no
" >&6
10551 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10554 if test -n "$RANLIB_FOR_TARGET"; then
10555 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10556 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10557 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10560 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10561 for ncn_progname in ranlib; do
10562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10563 set dummy ${ncn_progname}; ac_word=$2
10564 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10566 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10567 echo $ECHO_N "(cached
) $ECHO_C" >&6
10569 if test -n "$RANLIB_FOR_TARGET"; then
10570 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10573 for as_dir in $PATH
10576 test -z "$as_dir" && as_dir=.
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10580 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10588 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10589 if test -n "$RANLIB_FOR_TARGET"; then
10590 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10591 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10593 echo "$as_me:$LINENO: result
: no
" >&5
10594 echo "${ECHO_T}no
" >&6
10600 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10601 for ncn_progname in ranlib; do
10602 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10603 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10604 if test -x $with_build_time_tools/${ncn_progname}; then
10605 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10606 echo "$as_me:$LINENO: result
: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10610 echo "$as_me:$LINENO: result
: no
" >&5
10611 echo "${ECHO_T}no
" >&6
10616 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10617 for ncn_progname in ranlib; do
10618 if test -n "$ncn_target_tool_prefix"; then
10619 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10620 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10621 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10622 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10623 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10624 echo $ECHO_N "(cached
) $ECHO_C" >&6
10626 if test -n "$RANLIB_FOR_TARGET"; then
10627 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10637 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10645 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10646 if test -n "$RANLIB_FOR_TARGET"; then
10647 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10648 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10650 echo "$as_me:$LINENO: result
: no
" >&5
10651 echo "${ECHO_T}no
" >&6
10655 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10657 set dummy ${ncn_progname}; ac_word=$2
10658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10660 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10661 echo $ECHO_N "(cached
) $ECHO_C" >&6
10663 if test -n "$RANLIB_FOR_TARGET"; then
10664 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $PATH
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10673 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10682 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10683 if test -n "$RANLIB_FOR_TARGET"; then
10684 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10685 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10687 echo "$as_me:$LINENO: result
: no
" >&5
10688 echo "${ECHO_T}no
" >&6
10692 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10696 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10698 if test $build = $target ; then
10699 RANLIB_FOR_TARGET="$2"
10701 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10704 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10708 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10714 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10715 if test -n "$with_build_time_tools"; then
10716 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10717 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10718 if test -x $with_build_time_tools/strip; then
10719 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10720 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10721 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10722 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10724 echo "$as_me:$LINENO: result
: no
" >&5
10725 echo "${ECHO_T}no
" >&6
10727 elif test $build != $host && test $have_gcc_for_target = yes; then
10728 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10729 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10730 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10733 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10734 # Extract the first word of "strip
", so it can be a program name with args.
10735 set dummy strip; ac_word=$2
10736 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10737 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10738 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10739 echo $ECHO_N "(cached
) $ECHO_C" >&6
10741 case $STRIP_FOR_TARGET in
10743 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10747 for as_dir in $gcc_cv_tool_dirs
10750 test -z "$as_dir" && as_dir=.
10751 for ac_exec_ext in '' $ac_executable_extensions; do
10752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10753 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10763 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10765 if test -n "$STRIP_FOR_TARGET"; then
10766 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10767 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10769 echo "$as_me:$LINENO: result
: no
" >&5
10770 echo "${ECHO_T}no
" >&6
10774 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10777 if test -n "$STRIP_FOR_TARGET"; then
10778 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10779 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10780 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10783 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10784 for ncn_progname in strip; do
10785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10786 set dummy ${ncn_progname}; ac_word=$2
10787 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10788 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10789 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10790 echo $ECHO_N "(cached
) $ECHO_C" >&6
10792 if test -n "$STRIP_FOR_TARGET"; then
10793 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $PATH
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10802 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10803 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10811 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10812 if test -n "$STRIP_FOR_TARGET"; then
10813 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10814 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10816 echo "$as_me:$LINENO: result
: no
" >&5
10817 echo "${ECHO_T}no
" >&6
10823 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10824 for ncn_progname in strip; do
10825 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10826 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10827 if test -x $with_build_time_tools/${ncn_progname}; then
10828 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10829 echo "$as_me:$LINENO: result
: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10833 echo "$as_me:$LINENO: result
: no
" >&5
10834 echo "${ECHO_T}no
" >&6
10839 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10840 for ncn_progname in strip; do
10841 if test -n "$ncn_target_tool_prefix"; then
10842 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10843 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10844 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10845 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10846 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10847 echo $ECHO_N "(cached
) $ECHO_C" >&6
10849 if test -n "$STRIP_FOR_TARGET"; then
10850 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10853 for as_dir in $PATH
10856 test -z "$as_dir" && as_dir=.
10857 for ac_exec_ext in '' $ac_executable_extensions; do
10858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10859 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10860 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10868 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10869 if test -n "$STRIP_FOR_TARGET"; then
10870 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10871 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10873 echo "$as_me:$LINENO: result
: no
" >&5
10874 echo "${ECHO_T}no
" >&6
10878 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10879 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10880 set dummy ${ncn_progname}; ac_word=$2
10881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10883 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10884 echo $ECHO_N "(cached
) $ECHO_C" >&6
10886 if test -n "$STRIP_FOR_TARGET"; then
10887 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10897 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10905 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10906 if test -n "$STRIP_FOR_TARGET"; then
10907 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10908 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10910 echo "$as_me:$LINENO: result
: no
" >&5
10911 echo "${ECHO_T}no
" >&6
10915 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10919 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10921 if test $build = $target ; then
10922 STRIP_FOR_TARGET="$2"
10924 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10927 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10931 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10937 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10938 if test -n "$with_build_time_tools"; then
10939 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10940 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10941 if test -x $with_build_time_tools/windres; then
10942 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10943 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10944 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10945 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10947 echo "$as_me:$LINENO: result
: no
" >&5
10948 echo "${ECHO_T}no
" >&6
10950 elif test $build != $host && test $have_gcc_for_target = yes; then
10951 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10952 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10953 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10956 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10957 # Extract the first word of "windres
", so it can be a program name with args.
10958 set dummy windres; ac_word=$2
10959 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10960 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10961 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10962 echo $ECHO_N "(cached
) $ECHO_C" >&6
10964 case $WINDRES_FOR_TARGET in
10966 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10970 for as_dir in $gcc_cv_tool_dirs
10973 test -z "$as_dir" && as_dir=.
10974 for ac_exec_ext in '' $ac_executable_extensions; do
10975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10977 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10986 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10988 if test -n "$WINDRES_FOR_TARGET"; then
10989 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10990 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10992 echo "$as_me:$LINENO: result
: no
" >&5
10993 echo "${ECHO_T}no
" >&6
10997 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11000 if test -n "$WINDRES_FOR_TARGET"; then
11001 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11002 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11003 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11006 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11007 for ncn_progname in windres; do
11008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11009 set dummy ${ncn_progname}; ac_word=$2
11010 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11012 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11013 echo $ECHO_N "(cached
) $ECHO_C" >&6
11015 if test -n "$WINDRES_FOR_TARGET"; then
11016 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11034 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11035 if test -n "$WINDRES_FOR_TARGET"; then
11036 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11037 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11039 echo "$as_me:$LINENO: result
: no
" >&5
11040 echo "${ECHO_T}no
" >&6
11046 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11047 for ncn_progname in windres; do
11048 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11049 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11050 if test -x $with_build_time_tools/${ncn_progname}; then
11051 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11052 echo "$as_me:$LINENO: result
: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11056 echo "$as_me:$LINENO: result
: no
" >&5
11057 echo "${ECHO_T}no
" >&6
11062 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11063 for ncn_progname in windres; do
11064 if test -n "$ncn_target_tool_prefix"; then
11065 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11066 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11069 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11070 echo $ECHO_N "(cached
) $ECHO_C" >&6
11072 if test -n "$WINDRES_FOR_TARGET"; then
11073 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11076 for as_dir in $PATH
11079 test -z "$as_dir" && as_dir=.
11080 for ac_exec_ext in '' $ac_executable_extensions; do
11081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11082 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11091 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11092 if test -n "$WINDRES_FOR_TARGET"; then
11093 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11094 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11096 echo "$as_me:$LINENO: result
: no
" >&5
11097 echo "${ECHO_T}no
" >&6
11101 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11102 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11103 set dummy ${ncn_progname}; ac_word=$2
11104 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11105 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11106 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11107 echo $ECHO_N "(cached
) $ECHO_C" >&6
11109 if test -n "$WINDRES_FOR_TARGET"; then
11110 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11113 for as_dir in $PATH
11116 test -z "$as_dir" && as_dir=.
11117 for ac_exec_ext in '' $ac_executable_extensions; do
11118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11119 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11120 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11128 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11129 if test -n "$WINDRES_FOR_TARGET"; then
11130 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11131 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11133 echo "$as_me:$LINENO: result
: no
" >&5
11134 echo "${ECHO_T}no
" >&6
11138 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11142 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11144 if test $build = $target ; then
11145 WINDRES_FOR_TARGET="$2"
11147 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11150 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11154 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11160 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11161 if test -n "$with_build_time_tools"; then
11162 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11163 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11164 if test -x $with_build_time_tools/windmc; then
11165 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11166 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11167 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11168 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11170 echo "$as_me:$LINENO: result
: no
" >&5
11171 echo "${ECHO_T}no
" >&6
11173 elif test $build != $host && test $have_gcc_for_target = yes; then
11174 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11175 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11176 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11179 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11180 # Extract the first word of "windmc
", so it can be a program name with args.
11181 set dummy windmc; ac_word=$2
11182 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11183 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11184 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11185 echo $ECHO_N "(cached
) $ECHO_C" >&6
11187 case $WINDMC_FOR_TARGET in
11189 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11193 for as_dir in $gcc_cv_tool_dirs
11196 test -z "$as_dir" && as_dir=.
11197 for ac_exec_ext in '' $ac_executable_extensions; do
11198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11199 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11200 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11209 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11211 if test -n "$WINDMC_FOR_TARGET"; then
11212 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11213 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11215 echo "$as_me:$LINENO: result
: no
" >&5
11216 echo "${ECHO_T}no
" >&6
11220 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11223 if test -n "$WINDMC_FOR_TARGET"; then
11224 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11225 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11226 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11229 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11230 for ncn_progname in windmc; do
11231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11232 set dummy ${ncn_progname}; ac_word=$2
11233 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11234 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11235 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11236 echo $ECHO_N "(cached
) $ECHO_C" >&6
11238 if test -n "$WINDMC_FOR_TARGET"; then
11239 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11242 for as_dir in $PATH
11245 test -z "$as_dir" && as_dir=.
11246 for ac_exec_ext in '' $ac_executable_extensions; do
11247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11248 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11249 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11257 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11258 if test -n "$WINDMC_FOR_TARGET"; then
11259 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11260 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11262 echo "$as_me:$LINENO: result
: no
" >&5
11263 echo "${ECHO_T}no
" >&6
11269 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11270 for ncn_progname in windmc; do
11271 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11272 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11273 if test -x $with_build_time_tools/${ncn_progname}; then
11274 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11275 echo "$as_me:$LINENO: result
: yes" >&5
11276 echo "${ECHO_T}yes" >&6
11279 echo "$as_me:$LINENO: result
: no
" >&5
11280 echo "${ECHO_T}no
" >&6
11285 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11286 for ncn_progname in windmc; do
11287 if test -n "$ncn_target_tool_prefix"; then
11288 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11289 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11290 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11291 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11292 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11293 echo $ECHO_N "(cached
) $ECHO_C" >&6
11295 if test -n "$WINDMC_FOR_TARGET"; then
11296 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11299 for as_dir in $PATH
11302 test -z "$as_dir" && as_dir=.
11303 for ac_exec_ext in '' $ac_executable_extensions; do
11304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11305 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11306 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11314 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11315 if test -n "$WINDMC_FOR_TARGET"; then
11316 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11317 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11319 echo "$as_me:$LINENO: result
: no
" >&5
11320 echo "${ECHO_T}no
" >&6
11324 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11326 set dummy ${ncn_progname}; ac_word=$2
11327 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11329 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11330 echo $ECHO_N "(cached
) $ECHO_C" >&6
11332 if test -n "$WINDMC_FOR_TARGET"; then
11333 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336 for as_dir in $PATH
11339 test -z "$as_dir" && as_dir=.
11340 for ac_exec_ext in '' $ac_executable_extensions; do
11341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11342 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11351 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11352 if test -n "$WINDMC_FOR_TARGET"; then
11353 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11354 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11356 echo "$as_me:$LINENO: result
: no
" >&5
11357 echo "${ECHO_T}no
" >&6
11361 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11365 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11367 if test $build = $target ; then
11368 WINDMC_FOR_TARGET="$2"
11370 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11373 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11377 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11381 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11383 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11384 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11385 if test "x
${build}" != "x
${host}" ; then
11386 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11387 # We already found the complete path
11388 ac_dir=`dirname $AR_FOR_TARGET`
11389 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11390 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11392 # Canadian cross, just use what we found
11393 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11394 echo "${ECHO_T}pre-installed
" >&6
11398 case " ${configdirs} " in
11403 if test $ok = yes; then
11404 # An in-tree tool is available and we can use it
11405 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11406 echo "$as_me:$LINENO: result
: just compiled
" >&5
11407 echo "${ECHO_T}just compiled
" >&6
11408 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11409 # We already found the complete path
11410 ac_dir=`dirname $AR_FOR_TARGET`
11411 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11412 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11413 elif test "x
$target" = "x
$host"; then
11414 # We can use an host tool
11415 AR_FOR_TARGET='$(AR)'
11416 echo "$as_me:$LINENO: result
: host tool
" >&5
11417 echo "${ECHO_T}host tool
" >&6
11419 # We need a cross tool
11420 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11421 echo "${ECHO_T}pre-installed
" >&6
11425 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11426 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11427 if test "x
${build}" != "x
${host}" ; then
11428 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11429 # We already found the complete path
11430 ac_dir=`dirname $AS_FOR_TARGET`
11431 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11432 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11434 # Canadian cross, just use what we found
11435 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11436 echo "${ECHO_T}pre-installed
" >&6
11440 case " ${configdirs} " in
11445 if test $ok = yes; then
11446 # An in-tree tool is available and we can use it
11447 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11448 echo "$as_me:$LINENO: result
: just compiled
" >&5
11449 echo "${ECHO_T}just compiled
" >&6
11450 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11451 # We already found the complete path
11452 ac_dir=`dirname $AS_FOR_TARGET`
11453 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11454 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11455 elif test "x
$target" = "x
$host"; then
11456 # We can use an host tool
11457 AS_FOR_TARGET='$(AS)'
11458 echo "$as_me:$LINENO: result
: host tool
" >&5
11459 echo "${ECHO_T}host tool
" >&6
11461 # We need a cross tool
11462 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11463 echo "${ECHO_T}pre-installed
" >&6
11467 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11468 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11469 if test "x
${build}" != "x
${host}" ; then
11470 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11471 # We already found the complete path
11472 ac_dir=`dirname $CC_FOR_TARGET`
11473 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11474 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11476 # Canadian cross, just use what we found
11477 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11478 echo "${ECHO_T}pre-installed
" >&6
11482 case " ${configdirs} " in
11487 if test $ok = yes; then
11488 # An in-tree tool is available and we can use it
11489 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11490 echo "$as_me:$LINENO: result
: just compiled
" >&5
11491 echo "${ECHO_T}just compiled
" >&6
11492 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11493 # We already found the complete path
11494 ac_dir=`dirname $CC_FOR_TARGET`
11495 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11496 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11497 elif test "x
$target" = "x
$host"; then
11498 # We can use an host tool
11499 CC_FOR_TARGET='$(CC)'
11500 echo "$as_me:$LINENO: result
: host tool
" >&5
11501 echo "${ECHO_T}host tool
" >&6
11503 # We need a cross tool
11504 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11505 echo "${ECHO_T}pre-installed
" >&6
11509 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11510 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11511 if test "x
${build}" != "x
${host}" ; then
11512 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11513 # We already found the complete path
11514 ac_dir=`dirname $CXX_FOR_TARGET`
11515 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11516 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11518 # Canadian cross, just use what we found
11519 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11520 echo "${ECHO_T}pre-installed
" >&6
11524 case " ${configdirs} " in
11528 case ,${enable_languages}, in
11532 if test $ok = yes; then
11533 # An in-tree tool is available and we can use it
11534 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'
11535 echo "$as_me:$LINENO: result
: just compiled
" >&5
11536 echo "${ECHO_T}just compiled
" >&6
11537 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11538 # We already found the complete path
11539 ac_dir=`dirname $CXX_FOR_TARGET`
11540 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11541 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11542 elif test "x
$target" = "x
$host"; then
11543 # We can use an host tool
11544 CXX_FOR_TARGET='$(CXX)'
11545 echo "$as_me:$LINENO: result
: host tool
" >&5
11546 echo "${ECHO_T}host tool
" >&6
11548 # We need a cross tool
11549 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11550 echo "${ECHO_T}pre-installed
" >&6
11554 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11555 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11556 if test "x
${build}" != "x
${host}" ; then
11557 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11558 # We already found the complete path
11559 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11560 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11561 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11563 # Canadian cross, just use what we found
11564 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11565 echo "${ECHO_T}pre-installed
" >&6
11569 case " ${configdirs} " in
11573 case ,${enable_languages}, in
11577 if test $ok = yes; then
11578 # An in-tree tool is available and we can use it
11579 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'
11580 echo "$as_me:$LINENO: result
: just compiled
" >&5
11581 echo "${ECHO_T}just compiled
" >&6
11582 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11583 # We already found the complete path
11584 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11585 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11586 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11587 elif test "x
$target" = "x
$host"; then
11588 # We can use an host tool
11589 RAW_CXX_FOR_TARGET='$(CXX)'
11590 echo "$as_me:$LINENO: result
: host tool
" >&5
11591 echo "${ECHO_T}host tool
" >&6
11593 # We need a cross tool
11594 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11595 echo "${ECHO_T}pre-installed
" >&6
11599 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11600 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11601 if test "x
${build}" != "x
${host}" ; then
11602 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11603 # We already found the complete path
11604 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11605 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11606 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11608 # Canadian cross, just use what we found
11609 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11610 echo "${ECHO_T}pre-installed
" >&6
11614 case " ${configdirs} " in
11619 if test $ok = yes; then
11620 # An in-tree tool is available and we can use it
11621 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11622 echo "$as_me:$LINENO: result
: just compiled
" >&5
11623 echo "${ECHO_T}just compiled
" >&6
11624 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11625 # We already found the complete path
11626 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11627 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11628 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11629 elif test "x
$target" = "x
$host"; then
11630 # We can use an host tool
11631 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11632 echo "$as_me:$LINENO: result
: host tool
" >&5
11633 echo "${ECHO_T}host tool
" >&6
11635 # We need a cross tool
11636 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11637 echo "${ECHO_T}pre-installed
" >&6
11641 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11642 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11643 if test "x
${build}" != "x
${host}" ; then
11644 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11645 # We already found the complete path
11646 ac_dir=`dirname $GCC_FOR_TARGET`
11647 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11648 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11650 # Canadian cross, just use what we found
11651 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11652 echo "${ECHO_T}pre-installed
" >&6
11656 case " ${configdirs} " in
11661 if test $ok = yes; then
11662 # An in-tree tool is available and we can use it
11663 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11664 echo "$as_me:$LINENO: result
: just compiled
" >&5
11665 echo "${ECHO_T}just compiled
" >&6
11666 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11667 # We already found the complete path
11668 ac_dir=`dirname $GCC_FOR_TARGET`
11669 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11670 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11671 elif test "x
$target" = "x
$host"; then
11672 # We can use an host tool
11673 GCC_FOR_TARGET='$()'
11674 echo "$as_me:$LINENO: result
: host tool
" >&5
11675 echo "${ECHO_T}host tool
" >&6
11677 # We need a cross tool
11678 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11679 echo "${ECHO_T}pre-installed
" >&6
11683 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11684 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11685 if test "x
${build}" != "x
${host}" ; then
11686 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11687 # We already found the complete path
11688 ac_dir=`dirname $GCJ_FOR_TARGET`
11689 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11690 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11692 # Canadian cross, just use what we found
11693 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11694 echo "${ECHO_T}pre-installed
" >&6
11698 case " ${configdirs} " in
11702 case ,${enable_languages}, in
11706 if test $ok = yes; then
11707 # An in-tree tool is available and we can use it
11708 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11709 echo "$as_me:$LINENO: result
: just compiled
" >&5
11710 echo "${ECHO_T}just compiled
" >&6
11711 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11712 # We already found the complete path
11713 ac_dir=`dirname $GCJ_FOR_TARGET`
11714 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11715 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11716 elif test "x
$target" = "x
$host"; then
11717 # We can use an host tool
11718 GCJ_FOR_TARGET='$(GCJ)'
11719 echo "$as_me:$LINENO: result
: host tool
" >&5
11720 echo "${ECHO_T}host tool
" >&6
11722 # We need a cross tool
11723 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11724 echo "${ECHO_T}pre-installed
" >&6
11728 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11729 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11730 if test "x
${build}" != "x
${host}" ; then
11731 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11732 # We already found the complete path
11733 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11734 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11735 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11737 # Canadian cross, just use what we found
11738 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11739 echo "${ECHO_T}pre-installed
" >&6
11743 case " ${configdirs} " in
11747 case ,${enable_languages}, in
11751 if test $ok = yes; then
11752 # An in-tree tool is available and we can use it
11753 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11754 echo "$as_me:$LINENO: result
: just compiled
" >&5
11755 echo "${ECHO_T}just compiled
" >&6
11756 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11757 # We already found the complete path
11758 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11759 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11760 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11761 elif test "x
$target" = "x
$host"; then
11762 # We can use an host tool
11763 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11764 echo "$as_me:$LINENO: result
: host tool
" >&5
11765 echo "${ECHO_T}host tool
" >&6
11767 # We need a cross tool
11768 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11769 echo "${ECHO_T}pre-installed
" >&6
11773 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11774 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11775 if test "x
${build}" != "x
${host}" ; then
11776 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11777 # We already found the complete path
11778 ac_dir=`dirname $LD_FOR_TARGET`
11779 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11780 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11782 # Canadian cross, just use what we found
11783 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11784 echo "${ECHO_T}pre-installed
" >&6
11788 case " ${configdirs} " in
11793 if test $ok = yes; then
11794 # An in-tree tool is available and we can use it
11795 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11796 echo "$as_me:$LINENO: result
: just compiled
" >&5
11797 echo "${ECHO_T}just compiled
" >&6
11798 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11799 # We already found the complete path
11800 ac_dir=`dirname $LD_FOR_TARGET`
11801 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11802 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11803 elif test "x
$target" = "x
$host"; then
11804 # We can use an host tool
11805 LD_FOR_TARGET='$(LD)'
11806 echo "$as_me:$LINENO: result
: host tool
" >&5
11807 echo "${ECHO_T}host tool
" >&6
11809 # We need a cross tool
11810 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11811 echo "${ECHO_T}pre-installed
" >&6
11815 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11816 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11817 if test "x
${build}" != "x
${host}" ; then
11818 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11819 # We already found the complete path
11820 ac_dir=`dirname $LIPO_FOR_TARGET`
11821 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11822 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11824 # Canadian cross, just use what we found
11825 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11826 echo "${ECHO_T}pre-installed
" >&6
11829 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11830 # We already found the complete path
11831 ac_dir=`dirname $LIPO_FOR_TARGET`
11832 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11833 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11834 elif test "x
$target" = "x
$host"; then
11835 # We can use an host tool
11836 LIPO_FOR_TARGET='$(LIPO)'
11837 echo "$as_me:$LINENO: result
: host tool
" >&5
11838 echo "${ECHO_T}host tool
" >&6
11840 # We need a cross tool
11841 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11842 echo "${ECHO_T}pre-installed
" >&6
11846 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11847 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11848 if test "x
${build}" != "x
${host}" ; then
11849 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11850 # We already found the complete path
11851 ac_dir=`dirname $NM_FOR_TARGET`
11852 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11853 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11855 # Canadian cross, just use what we found
11856 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11857 echo "${ECHO_T}pre-installed
" >&6
11861 case " ${configdirs} " in
11866 if test $ok = yes; then
11867 # An in-tree tool is available and we can use it
11868 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11869 echo "$as_me:$LINENO: result
: just compiled
" >&5
11870 echo "${ECHO_T}just compiled
" >&6
11871 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11872 # We already found the complete path
11873 ac_dir=`dirname $NM_FOR_TARGET`
11874 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11875 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11876 elif test "x
$target" = "x
$host"; then
11877 # We can use an host tool
11878 NM_FOR_TARGET='$(NM)'
11879 echo "$as_me:$LINENO: result
: host tool
" >&5
11880 echo "${ECHO_T}host tool
" >&6
11882 # We need a cross tool
11883 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11884 echo "${ECHO_T}pre-installed
" >&6
11888 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11889 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11890 if test "x
${build}" != "x
${host}" ; then
11891 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11892 # We already found the complete path
11893 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11894 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11895 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11897 # Canadian cross, just use what we found
11898 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11899 echo "${ECHO_T}pre-installed
" >&6
11903 case " ${configdirs} " in
11908 if test $ok = yes; then
11909 # An in-tree tool is available and we can use it
11910 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11911 echo "$as_me:$LINENO: result
: just compiled
" >&5
11912 echo "${ECHO_T}just compiled
" >&6
11913 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11914 # We already found the complete path
11915 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11916 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11917 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11918 elif test "x
$target" = "x
$host"; then
11919 # We can use an host tool
11920 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11921 echo "$as_me:$LINENO: result
: host tool
" >&5
11922 echo "${ECHO_T}host tool
" >&6
11924 # We need a cross tool
11925 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11926 echo "${ECHO_T}pre-installed
" >&6
11930 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11931 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11932 if test "x
${build}" != "x
${host}" ; then
11933 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11934 # We already found the complete path
11935 ac_dir=`dirname $RANLIB_FOR_TARGET`
11936 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11937 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11939 # Canadian cross, just use what we found
11940 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11941 echo "${ECHO_T}pre-installed
" >&6
11945 case " ${configdirs} " in
11950 if test $ok = yes; then
11951 # An in-tree tool is available and we can use it
11952 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11953 echo "$as_me:$LINENO: result
: just compiled
" >&5
11954 echo "${ECHO_T}just compiled
" >&6
11955 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11956 # We already found the complete path
11957 ac_dir=`dirname $RANLIB_FOR_TARGET`
11958 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11959 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11960 elif test "x
$target" = "x
$host"; then
11961 # We can use an host tool
11962 RANLIB_FOR_TARGET='$(RANLIB)'
11963 echo "$as_me:$LINENO: result
: host tool
" >&5
11964 echo "${ECHO_T}host tool
" >&6
11966 # We need a cross tool
11967 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11968 echo "${ECHO_T}pre-installed
" >&6
11972 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11973 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11974 if test "x
${build}" != "x
${host}" ; then
11975 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11976 # We already found the complete path
11977 ac_dir=`dirname $STRIP_FOR_TARGET`
11978 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11979 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11981 # Canadian cross, just use what we found
11982 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11983 echo "${ECHO_T}pre-installed
" >&6
11987 case " ${configdirs} " in
11992 if test $ok = yes; then
11993 # An in-tree tool is available and we can use it
11994 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11995 echo "$as_me:$LINENO: result
: just compiled
" >&5
11996 echo "${ECHO_T}just compiled
" >&6
11997 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11998 # We already found the complete path
11999 ac_dir=`dirname $STRIP_FOR_TARGET`
12000 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12001 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12002 elif test "x
$target" = "x
$host"; then
12003 # We can use an host tool
12004 STRIP_FOR_TARGET='$(STRIP)'
12005 echo "$as_me:$LINENO: result
: host tool
" >&5
12006 echo "${ECHO_T}host tool
" >&6
12008 # We need a cross tool
12009 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12010 echo "${ECHO_T}pre-installed
" >&6
12014 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12015 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12016 if test "x
${build}" != "x
${host}" ; then
12017 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12018 # We already found the complete path
12019 ac_dir=`dirname $WINDRES_FOR_TARGET`
12020 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12021 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12023 # Canadian cross, just use what we found
12024 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12025 echo "${ECHO_T}pre-installed
" >&6
12029 case " ${configdirs} " in
12034 if test $ok = yes; then
12035 # An in-tree tool is available and we can use it
12036 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12037 echo "$as_me:$LINENO: result
: just compiled
" >&5
12038 echo "${ECHO_T}just compiled
" >&6
12039 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12040 # We already found the complete path
12041 ac_dir=`dirname $WINDRES_FOR_TARGET`
12042 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12043 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12044 elif test "x
$target" = "x
$host"; then
12045 # We can use an host tool
12046 WINDRES_FOR_TARGET='$(WINDRES)'
12047 echo "$as_me:$LINENO: result
: host tool
" >&5
12048 echo "${ECHO_T}host tool
" >&6
12050 # We need a cross tool
12051 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12052 echo "${ECHO_T}pre-installed
" >&6
12056 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12057 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12058 if test "x
${build}" != "x
${host}" ; then
12059 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12060 # We already found the complete path
12061 ac_dir=`dirname $WINDMC_FOR_TARGET`
12062 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12063 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12065 # Canadian cross, just use what we found
12066 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12067 echo "${ECHO_T}pre-installed
" >&6
12071 case " ${configdirs} " in
12076 if test $ok = yes; then
12077 # An in-tree tool is available and we can use it
12078 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12079 echo "$as_me:$LINENO: result
: just compiled
" >&5
12080 echo "${ECHO_T}just compiled
" >&6
12081 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12082 # We already found the complete path
12083 ac_dir=`dirname $WINDMC_FOR_TARGET`
12084 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12085 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12086 elif test "x
$target" = "x
$host"; then
12087 # We can use an host tool
12088 WINDMC_FOR_TARGET='$(WINDMC)'
12089 echo "$as_me:$LINENO: result
: host tool
" >&5
12090 echo "${ECHO_T}host tool
" >&6
12092 # We need a cross tool
12093 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12094 echo "${ECHO_T}pre-installed
" >&6
12102 # Certain tools may need extra flags.
12103 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12104 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12105 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12107 # When building target libraries, except in a Canadian cross, we use
12108 # the same toolchain as the compiler we just built.
12109 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12110 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12111 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12112 if test $host = $build; then
12113 case " $configdirs " in
12115 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12116 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12117 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12126 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12127 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12128 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12129 if test "${enable_maintainer_mode+set}" = set; then
12130 enableval="$enable_maintainer_mode"
12131 USE_MAINTAINER_MODE=$enableval
12133 USE_MAINTAINER_MODE=no
12135 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12136 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12139 if test "$USE_MAINTAINER_MODE" = yes; then
12140 MAINTAINER_MODE_TRUE=
12141 MAINTAINER_MODE_FALSE='#'
12143 MAINTAINER_MODE_TRUE='#'
12144 MAINTAINER_MODE_FALSE=
12146 MAINT=$MAINTAINER_MODE_TRUE
12148 # ---------------------
12149 # GCC bootstrap support
12150 # ---------------------
12152 # Stage specific cflags for build.
12157 yes) stage1_cflags="-g -Wa,-J" ;;
12158 *) stage1_cflags="-g -J" ;;
12162 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12163 if test "$GCC" = yes; then
12164 saved_CFLAGS="$CFLAGS"
12166 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12167 CFLAGS="$CFLAGS -fkeep-inline-functions"
12168 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12169 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12170 cat >conftest.$ac_ext <<_ACEOF
12173 cat confdefs.h >>conftest.$ac_ext
12174 cat >>conftest.$ac_ext <<_ACEOF
12175 /* end confdefs.h. */
12177 #if (__GNUC__ < 3) \
12178 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12179 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12180 #error http://gcc.gnu.org/PR29382
12191 rm -f conftest.$ac_objext
12192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12193 (eval $ac_compile) 2>conftest.er1
12195 grep -v '^ *+' conftest.er1 >conftest.err
12197 cat conftest.err >&5
12198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12199 (exit $ac_status); } &&
12200 { ac_try='test -z "$ac_c_werror_flag"
12201 || test ! -s conftest.err'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12206 (exit $ac_status); }; } &&
12207 { ac_try='test -s conftest.$ac_objext'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12212 (exit $ac_status); }; }; then
12213 echo "$as_me:$LINENO: result
: yes" >&5
12214 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12216 echo "$as_me: failed program was
:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 echo "$as_me:$LINENO: result
: no
" >&5
12220 echo "${ECHO_T}no
" >&6
12222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12224 CFLAGS="$saved_CFLAGS"
12229 # Enable --enable-checking in stage1 of the compiler.
12230 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12231 if test "${enable_stage1_checking+set}" = set; then
12232 enableval="$enable_stage1_checking"
12233 stage1_checking=--enable-checking=${enable_stage1_checking}
12235 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12236 stage1_checking=--enable-checking=yes,types
12238 stage1_checking=--enable-checking=$enable_checking,types
12243 # Enable -Werror in bootstrap stage2 and later.
12244 # Check whether --enable-werror or --disable-werror was given.
12245 if test "${enable_werror+set}" = set; then
12246 enableval="$enable_werror"
12249 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12255 case ${enable_werror} in
12256 yes) stage2_werror_flag="--enable-werror-always" ;;
12257 *) stage2_werror_flag="" ;;
12261 # Flags needed to enable html installing and building
12263 # Check whether --with-datarootdir or --without-datarootdir was given.
12264 if test "${with_datarootdir+set}" = set; then
12265 withval="$with_datarootdir"
12266 datarootdir="\
${prefix}/${withval}"
12268 datarootdir="\
${prefix}/share
"
12272 # Check whether --with-docdir or --without-docdir was given.
12273 if test "${with_docdir+set}" = set; then
12274 withval="$with_docdir"
12275 docdir="\
${prefix}/${withval}"
12277 docdir="\
${datarootdir}/doc
"
12281 # Check whether --with-pdfdir or --without-pdfdir was given.
12282 if test "${with_pdfdir+set}" = set; then
12283 withval="$with_pdfdir"
12284 pdfdir="\
${prefix}/${withval}"
12286 pdfdir="\
${docdir}"
12290 # Check whether --with-htmldir or --without-htmldir was given.
12291 if test "${with_htmldir+set}" = set; then
12292 withval="$with_htmldir"
12293 htmldir="\
${prefix}/${withval}"
12295 htmldir="\
${docdir}"
12303 ac_config_files="$ac_config_files Makefile
"
12304 cat >confcache <<\_ACEOF
12305 # This file is a shell script that caches the results of configure
12306 # tests run on this system so they can be shared between configure
12307 # scripts and configure runs, see configure's option --config-cache.
12308 # It is not useful on other systems. If it contains results you don't
12309 # want to keep, you may remove or edit it.
12311 # config.status only pays attention to the cache file if you give it
12312 # the --recheck option to rerun configure.
12314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12316 # following values.
12320 # The following way of writing the cache mishandles newlines in values,
12321 # but we know of no workaround that is simple, portable, and efficient.
12322 # So, don't put newlines in cache variables' values.
12323 # Ultrix sh set writes to stderr and can't be redirected directly,
12324 # and sets the high bit in the cache file unless we assign to the vars.
12327 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12329 # `set' does not quote correctly, so add quotes (double-quote
12330 # substitution turns \\\\ into \\, and sed turns \\ into \).
12333 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12336 # `set' quotes correctly as required by POSIX, so do not add quotes.
12338 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12347 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12349 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12350 if test -w $cache_file; then
12351 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12352 cat confcache >$cache_file
12354 echo "not updating unwritable cache
$cache_file"
12359 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12360 # Let make expand exec_prefix.
12361 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12363 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12364 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12365 # trailing colons and then remove the whole line if VPATH becomes empty
12366 # (actually we leave an empty line to preserve line numbers).
12367 if test "x
$srcdir" = x.; then
12368 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12369 s/:*\$(srcdir):*/:/;
12370 s/:*\${srcdir}:*/:/;
12372 s/^\([^=]*=[ ]*\):*/\1/;
12378 # Transform confdefs.h into DEFS.
12379 # Protect against shell expansion while executing Makefile rules.
12380 # Protect against Makefile macro expansion.
12382 # If the first sed substitution is executed (which looks for macros that
12383 # take arguments), then we branch to the quote section. Otherwise,
12384 # look for a macro that doesn't take arguments.
12385 cat >confdef2opt.sed <<\_ACEOF
12388 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12390 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12394 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12400 # We use echo to avoid assuming a particular line-breaking character.
12401 # The extra dot is to prevent the shell from consuming trailing
12402 # line-breaks from the sub-command output. A line-break within
12403 # single-quotes doesn't work because, if this script is created in a
12404 # platform that uses two characters for line-breaks (e.g., DOS), tr
12406 ac_LF_and_DOT
=`echo; echo .`
12407 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12408 rm -f confdef2opt.
sed
12413 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12414 # 1. Remove the extension, and $U if already installed.
12415 ac_i
=`echo "$ac_i" |
12416 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12418 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12419 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12421 LIBOBJS
=$ac_libobjs
12423 LTLIBOBJS
=$ac_ltlibobjs
12427 : ${CONFIG_STATUS=./config.status}
12428 ac_clean_files_save
=$ac_clean_files
12429 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12430 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12431 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12432 cat >$CONFIG_STATUS <<_ACEOF
12434 # Generated by $as_me.
12435 # Run this file to recreate the current configuration.
12436 # Compiler output produced by configure, useful for debugging
12437 # configure, is in config.log if it exists.
12440 ac_cs_recheck=false
12442 SHELL=\${CONFIG_SHELL-$SHELL}
12445 cat >>$CONFIG_STATUS <<\_ACEOF
12446 ## --------------------- ##
12447 ## M4sh Initialization. ##
12448 ## --------------------- ##
12450 # Be Bourne compatible
12451 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12454 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12455 # is contrary to our usage. Disable this feature.
12456 alias -g '${1+"$@"}'='"$@"'
12457 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12460 DUALCASE
=1; export DUALCASE
# for MKS sh
12462 # Support unset when possible.
12463 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12470 # Work around bugs in pre-3.0 UWIN ksh.
12471 $as_unset ENV MAIL MAILPATH
12478 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12479 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12480 LC_TELEPHONE LC_TIME
12482 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12483 eval $as_var=C
; export $as_var
12489 # Required to use basename.
12490 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12496 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12497 as_basename
=basename
12503 # Name of the executable.
12504 as_me
=`$as_basename "$0" ||
12505 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12506 X"$0" : 'X\(//\)$' \| \
12507 X"$0" : 'X\(/\)$' \| \
12508 . : '\(.\)' 2>/dev/null ||
12510 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12511 /^X\/\(\/\/\)$/{ s//\1/; q; }
12512 /^X\/\(\/\).*/{ s//\1/; q; }
12516 # PATH needs CR, and LINENO needs CR and PATH.
12517 # Avoid depending upon Character Ranges.
12518 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12519 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12520 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12521 as_cr_digits
='0123456789'
12522 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12524 # The user is always right.
12525 if test "${PATH_SEPARATOR+set}" != set; then
12526 echo "#! /bin/sh" >conf$$.sh
12527 echo "exit 0" >>conf$$.sh
12529 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12538 as_lineno_1
=$LINENO
12539 as_lineno_2
=$LINENO
12540 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12541 test "x$as_lineno_1" != "x$as_lineno_2" &&
12542 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12543 # Find who we are. Look in the path if we contain no path at all
12546 *[\\/]* ) as_myself
=$0 ;;
12547 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12548 for as_dir
in $PATH
12551 test -z "$as_dir" && as_dir
=.
12552 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12557 # We did not find ourselves, most probably we were run as `sh COMMAND'
12558 # in which case we are not to be found in the path.
12559 if test "x$as_myself" = x
; then
12562 if test ! -f "$as_myself"; then
12563 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12564 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12565 { (exit 1); exit 1; }; }
12567 case $CONFIG_SHELL in
12569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12570 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12573 test -z "$as_dir" && as_dir
=.
12574 for as_base
in sh bash ksh sh5
; do
12577 if ("$as_dir/$as_base" -c '
12578 as_lineno_1=$LINENO
12579 as_lineno_2=$LINENO
12580 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12581 test "x$as_lineno_1" != "x$as_lineno_2" &&
12582 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12583 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12584 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12585 CONFIG_SHELL
=$as_dir/$as_base
12586 export CONFIG_SHELL
12587 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12596 # uniformly replaced by the line number. The first 'sed' inserts a
12597 # line-number line before each line; the second 'sed' does the real
12598 # work. The second script uses 'N' to pair each line-number line
12599 # with the numbered line, and appends trailing '-' during
12600 # substitution so that $LINENO is not a special case at line end.
12601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12602 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12603 sed '=' <$as_myself |
12608 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12611 s,^['$as_cr_digits']*\n,,
12612 ' >$as_me.lineno
&&
12613 chmod +x
$as_me.lineno ||
12614 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12615 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12616 { (exit 1); exit 1; }; }
12618 # Don't try to exec as it changes $[0], causing all sort of problems
12619 # (the dirname of $[0] is not the place where we might find the
12620 # original and so on. Autoconf is especially sensible to this).
12622 # Exit status is that of the last command.
12627 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12628 *c
*,-n*) ECHO_N
= ECHO_C
='
12630 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12631 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12634 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12640 rm -f conf$$ conf$$.exe conf$$.
file
12642 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12643 # We could just check for DJGPP; but this test a) works b) is more generic
12644 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12645 if test -f conf$$.exe
; then
12646 # Don't use ln at all; we don't have any links
12651 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12656 rm -f conf$$ conf$$.exe conf$$.
file
12658 if mkdir
-p .
2>/dev
/null
; then
12661 test -d .
/-p && rmdir .
/-p
12665 as_executable_p
="test -f"
12667 # Sed expression to map a string onto a valid CPP name.
12668 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12670 # Sed expression to map a string onto a valid variable name.
12671 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12675 # We need space, tab and new line, in precisely that order.
12685 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12686 # report actual input values of CONFIG_FILES etc. instead of their
12687 # values after options handling. Logging --version etc. is OK.
12691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12692 ## Running $as_me. ##
12697 This file was extended by $as_me, which was
12698 generated by GNU Autoconf 2.59. Invocation command line was
12700 CONFIG_FILES = $CONFIG_FILES
12701 CONFIG_HEADERS = $CONFIG_HEADERS
12702 CONFIG_LINKS = $CONFIG_LINKS
12703 CONFIG_COMMANDS = $CONFIG_COMMANDS
12707 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12711 # Files that config.status was made for.
12712 if test -n "$ac_config_files"; then
12713 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12716 if test -n "$ac_config_headers"; then
12717 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12720 if test -n "$ac_config_links"; then
12721 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12724 if test -n "$ac_config_commands"; then
12725 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12728 cat >>$CONFIG_STATUS <<\_ACEOF
12731 \`$as_me' instantiates files from templates according to the
12732 current configuration.
12734 Usage: $0 [OPTIONS] [FILE]...
12736 -h, --help print this help, then exit
12737 -V, --version print version number, then exit
12738 -q, --quiet do not print progress messages
12739 -d, --debug don't remove temporary files
12740 --recheck update $as_me by reconfiguring in the same conditions
12741 --file=FILE[:TEMPLATE]
12742 instantiate the configuration file FILE
12744 Configuration files:
12747 Report bugs to <bug-autoconf@gnu.org>."
12750 cat >>$CONFIG_STATUS <<_ACEOF
12753 configured by $0, generated by GNU Autoconf 2.59,
12754 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12756 Copyright (C) 2003 Free Software Foundation, Inc.
12757 This config.status script is free software; the Free Software Foundation
12758 gives unlimited permission to copy, distribute and modify it."
12763 cat >>$CONFIG_STATUS <<\_ACEOF
12764 # If no file are specified by the user, then we need to provide default
12765 # value. By we need to know if files were specified by the user.
12771 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12772 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12780 *) # This is not an option, so the user has probably given explicit
12783 ac_need_defaults
=false
;;
12787 # Handling of the options.
12789 cat >>$CONFIG_STATUS <<\_ACEOF
12790 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12792 --version |
--vers* |
-V )
12793 echo "$ac_cs_version"; exit 0 ;;
12795 # Conflict between --help and --header
12796 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12797 Try \`$0 --help' for more information." >&5
12798 echo "$as_me: error: ambiguous option: $1
12799 Try \`$0 --help' for more information." >&2;}
12800 { (exit 1); exit 1; }; };;
12801 --help |
--hel |
-h )
12802 echo "$ac_cs_usage"; exit 0 ;;
12803 --debug |
--d* |
-d )
12805 --file |
--fil |
--fi |
--f )
12807 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12808 ac_need_defaults
=false
;;
12809 --header |
--heade |
--head |
--hea )
12811 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12812 ac_need_defaults
=false
;;
12813 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12814 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12817 # This is an error.
12818 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12819 Try \`$0 --help' for more information." >&5
12820 echo "$as_me: error: unrecognized option: $1
12821 Try \`$0 --help' for more information." >&2;}
12822 { (exit 1); exit 1; }; } ;;
12824 *) ac_config_targets
="$ac_config_targets $1" ;;
12830 ac_configure_extra_args
=
12832 if $ac_cs_silent; then
12834 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12838 cat >>$CONFIG_STATUS <<_ACEOF
12839 if \$ac_cs_recheck; then
12840 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12841 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12850 cat >>$CONFIG_STATUS <<\_ACEOF
12851 for ac_config_target
in $ac_config_targets
12853 case "$ac_config_target" in
12854 # Handling of arguments.
12855 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12856 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12857 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12858 { (exit 1); exit 1; }; };;
12862 # If the user did not use the arguments to specify the items to instantiate,
12863 # then the envvar interface is used. Set only those that are not.
12864 # We use the long form for the default assignment because of an extremely
12865 # bizarre bug on SunOS 4.1.3.
12866 if $ac_need_defaults; then
12867 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12870 # Have a temporary directory for convenience. Make it in the build tree
12871 # simply because there is no reason to put it here, and in addition,
12872 # creating and moving files from /tmp can sometimes cause problems.
12873 # Create a temporary directory, and hook for its removal unless debugging.
12876 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12877 trap '{ (exit 1); exit 1; }' 1 2 13 15
12880 # Create a (secure) tmp directory for tmp files.
12883 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12884 test -n "$tmp" && test -d "$tmp"
12887 tmp
=.
/confstat$$
-$RANDOM
12888 (umask 077 && mkdir
$tmp)
12891 echo "$me: cannot create a temporary directory in ." >&2
12892 { (exit 1); exit 1; }
12897 cat >>$CONFIG_STATUS <<_ACEOF
12900 # CONFIG_FILES section.
12903 # No need to generate the scripts if there are no CONFIG_FILES.
12904 # This happens for instance when ./config.status config.h
12905 if test -n "\$CONFIG_FILES"; then
12906 # Protect against being on the right side of a sed subst in config.status.
12907 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12908 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12909 s,@SHELL@,$SHELL,;t t
12910 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12911 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12912 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12913 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12914 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12915 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12916 s,@exec_prefix@,$exec_prefix,;t t
12917 s,@prefix@,$prefix,;t t
12918 s,@program_transform_name@,$program_transform_name,;t t
12919 s,@bindir@,$bindir,;t t
12920 s,@sbindir@,$sbindir,;t t
12921 s,@libexecdir@,$libexecdir,;t t
12922 s,@datadir@,$datadir,;t t
12923 s,@sysconfdir@,$sysconfdir,;t t
12924 s,@sharedstatedir@,$sharedstatedir,;t t
12925 s,@localstatedir@,$localstatedir,;t t
12926 s,@libdir@,$libdir,;t t
12927 s,@includedir@,$includedir,;t t
12928 s,@oldincludedir@,$oldincludedir,;t t
12929 s,@infodir@,$infodir,;t t
12930 s,@mandir@,$mandir,;t t
12931 s,@build_alias@,$build_alias,;t t
12932 s,@host_alias@,$host_alias,;t t
12933 s,@target_alias@,$target_alias,;t t
12934 s,@DEFS@,$DEFS,;t t
12935 s,@ECHO_C@,$ECHO_C,;t t
12936 s,@ECHO_N@,$ECHO_N,;t t
12937 s,@ECHO_T@,$ECHO_T,;t t
12938 s,@LIBS@,$LIBS,;t t
12939 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12940 s,@build@,$build,;t t
12941 s,@build_cpu@,$build_cpu,;t t
12942 s,@build_vendor@,$build_vendor,;t t
12943 s,@build_os@,$build_os,;t t
12944 s,@build_noncanonical@,$build_noncanonical,;t t
12945 s,@host_noncanonical@,$host_noncanonical,;t t
12946 s,@target_noncanonical@,$target_noncanonical,;t t
12947 s,@host@,$host,;t t
12948 s,@host_cpu@,$host_cpu,;t t
12949 s,@host_vendor@,$host_vendor,;t t
12950 s,@host_os@,$host_os,;t t
12951 s,@target@,$target,;t t
12952 s,@target_cpu@,$target_cpu,;t t
12953 s,@target_vendor@,$target_vendor,;t t
12954 s,@target_os@,$target_os,;t t
12955 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12956 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12957 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12959 s,@LN_S@,$LN_S,;t t
12960 s,@build_libsubdir@,$build_libsubdir,;t t
12961 s,@build_subdir@,$build_subdir,;t t
12962 s,@host_subdir@,$host_subdir,;t t
12963 s,@target_subdir@,$target_subdir,;t t
12965 s,@CFLAGS@,$CFLAGS,;t t
12966 s,@LDFLAGS@,$LDFLAGS,;t t
12967 s,@CPPFLAGS@,$CPPFLAGS,;t t
12968 s,@ac_ct_CC@,$ac_ct_CC,;t t
12969 s,@EXEEXT@,$EXEEXT,;t t
12970 s,@OBJEXT@,$OBJEXT,;t t
12972 s,@CXXFLAGS@,$CXXFLAGS,;t t
12973 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12974 s,@GNATBIND@,$GNATBIND,;t t
12975 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12976 s,@GNATMAKE@,$GNATMAKE,;t t
12977 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12978 s,@do_compare@,$do_compare,;t t
12979 s,@gmplibs@,$gmplibs,;t t
12980 s,@gmpinc@,$gmpinc,;t t
12981 s,@stage1_languages@,$stage1_languages,;t t
12982 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12983 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12984 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
12985 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
12986 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12987 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
12988 s,@tooldir@,$tooldir,;t t
12989 s,@build_tooldir@,$build_tooldir,;t t
12990 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12991 s,@GDB_TK@,$GDB_TK,;t t
12992 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12993 s,@build_configargs@,$build_configargs,;t t
12994 s,@build_configdirs@,$build_configdirs,;t t
12995 s,@host_configargs@,$host_configargs,;t t
12996 s,@configdirs@,$configdirs,;t t
12997 s,@target_configargs@,$target_configargs,;t t
12998 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12999 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13000 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13001 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13002 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13003 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13004 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13005 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13006 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13007 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13008 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13009 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13010 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13011 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13012 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13013 s,@config_shell@,$config_shell,;t t
13014 s,@YACC@,$YACC,;t t
13015 s,@BISON@,$BISON,;t t
13018 s,@FLEX@,$FLEX,;t t
13019 s,@MAKEINFO@,$MAKEINFO,;t t
13020 s,@EXPECT@,$EXPECT,;t t
13021 s,@RUNTEST@,$RUNTEST,;t t
13024 s,@DLLTOOL@,$DLLTOOL,;t t
13026 s,@LIPO@,$LIPO,;t t
13028 s,@RANLIB@,$RANLIB,;t t
13029 s,@STRIP@,$STRIP,;t t
13030 s,@WINDRES@,$WINDRES,;t t
13031 s,@WINDMC@,$WINDMC,;t t
13032 s,@OBJCOPY@,$OBJCOPY,;t t
13033 s,@OBJDUMP@,$OBJDUMP,;t t
13034 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13035 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13036 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13037 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13038 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13039 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13040 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13041 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13042 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13043 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13044 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13045 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13046 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13047 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13048 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13049 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13050 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13051 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13052 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13053 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13054 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13055 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13056 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13057 s,@MAINT@,$MAINT,;t t
13058 s,@stage1_cflags@,$stage1_cflags,;t t
13059 s,@stage1_checking@,$stage1_checking,;t t
13060 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13061 s,@datarootdir@,$datarootdir,;t t
13062 s,@docdir@,$docdir,;t t
13063 s,@pdfdir@,$pdfdir,;t t
13064 s,@htmldir@,$htmldir,;t t
13065 s,@LIBOBJS@,$LIBOBJS,;t t
13066 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13067 /@serialization_dependencies@/r $serialization_dependencies
13068 s,@serialization_dependencies@,,;t t
13069 /@host_makefile_frag@/r $host_makefile_frag
13070 s,@host_makefile_frag@,,;t t
13071 /@target_makefile_frag@/r $target_makefile_frag
13072 s,@target_makefile_frag@,,;t t
13073 /@alphaieee_frag@/r $alphaieee_frag
13074 s,@alphaieee_frag@,,;t t
13075 /@ospace_frag@/r $ospace_frag
13076 s,@ospace_frag@,,;t t
13081 cat >>$CONFIG_STATUS <<\_ACEOF
13082 # Split the substitutions into bite-sized pieces for seds with
13083 # small command number limits, like on Digital OSF/1 and HP-UX.
13084 ac_max_sed_lines
=48
13085 ac_sed_frag
=1 # Number of current file.
13086 ac_beg
=1 # First line for current file.
13087 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13090 while $ac_more_lines; do
13091 if test $ac_beg -gt 1; then
13092 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13094 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13096 if test ! -s $tmp/subs.frag
; then
13097 ac_more_lines
=false
13099 # The purpose of the label and of the branching condition is to
13100 # speed up the sed processing (if there are no `@' at all, there
13101 # is no need to browse any of the substitutions).
13102 # These are the two extra sed commands mentioned above.
13104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13105 if test -z "$ac_sed_cmds"; then
13106 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13108 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13110 ac_sed_frag
=`expr $ac_sed_frag + 1`
13112 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13115 if test -z "$ac_sed_cmds"; then
13118 fi # test -n "$CONFIG_FILES"
13121 cat >>$CONFIG_STATUS <<\_ACEOF
13122 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13123 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13125 - |
*:- |
*:-:* ) # input from stdin
13127 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13128 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13129 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13130 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13131 * ) ac_file_in
=$ac_file.
in ;;
13134 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13135 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13137 X"$ac_file" : 'X\(//\)[^/]' \| \
13138 X"$ac_file" : 'X\(//\)$' \| \
13139 X"$ac_file" : 'X\(/\)' \| \
13140 . : '\(.\)' 2>/dev/null ||
13142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13144 /^X\(\/\/\)$/{ s//\1/; q; }
13145 /^X\(\/\).*/{ s//\1/; q; }
13147 { if $as_mkdir_p; then
13152 while test ! -d "$as_dir"; do
13153 as_dirs
="$as_dir $as_dirs"
13154 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13156 X"$as_dir" : 'X\(//\)[^/]' \| \
13157 X"$as_dir" : 'X\(//\)$' \| \
13158 X"$as_dir" : 'X\(/\)' \| \
13159 . : '\(.\)' 2>/dev/null ||
13161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13163 /^X\(\/\/\)$/{ s//\1/; q; }
13164 /^X\(\/\).*/{ s//\1/; q; }
13167 test ! -n "$as_dirs" || mkdir
$as_dirs
13168 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13169 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13170 { (exit 1); exit 1; }; }; }
13174 if test "$ac_dir" != .
; then
13175 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13176 # A "../" for each directory in $ac_dir_suffix.
13177 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13179 ac_dir_suffix
= ac_top_builddir
=
13183 .
) # No --srcdir option. We are building in place.
13185 if test -z "$ac_top_builddir"; then
13188 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13190 [\\/]* | ?
:[\\/]* ) # Absolute path.
13191 ac_srcdir
=$srcdir$ac_dir_suffix;
13192 ac_top_srcdir
=$srcdir ;;
13193 *) # Relative path.
13194 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13195 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13198 # Do not use `cd foo && pwd` to compute absolute paths, because
13199 # the directories may not exist.
13201 .
) ac_abs_builddir
="$ac_dir";;
13204 .
) ac_abs_builddir
=`pwd`;;
13205 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13206 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13209 case $ac_abs_builddir in
13210 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13212 case ${ac_top_builddir}.
in
13213 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13214 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13215 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13218 case $ac_abs_builddir in
13219 .
) ac_abs_srcdir
=$ac_srcdir;;
13222 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13223 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13224 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13227 case $ac_abs_builddir in
13228 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13230 case $ac_top_srcdir in
13231 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13232 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13233 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13239 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13240 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13243 if test x
"$ac_file" != x-
; then
13244 { echo "$as_me:$LINENO: creating $ac_file" >&5
13245 echo "$as_me: creating $ac_file" >&6;}
13248 # Let's still pretend it is `configure' which instantiates (i.e., don't
13249 # use $as_me), people would be surprised to read:
13250 # /* config.h. Generated by config.status. */
13251 if test x
"$ac_file" = x-
; then
13254 configure_input
="$ac_file. "
13256 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13257 sed 's,.*/,,'` by configure."
13259 # First look for the input files in the build tree, otherwise in the
13261 ac_file_inputs
=`IFS=:
13262 for f in $ac_file_in; do
13264 -) echo $tmp/stdin ;;
13266 # Absolute (can't be DOS-style, as IFS=:)
13267 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13268 echo "$as_me: error: cannot find input file: $f" >&2;}
13269 { (exit 1); exit 1; }; }
13272 if test -f "$f"; then
13275 elif test -f "$srcdir/$f"; then
13280 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13281 echo "$as_me: error: cannot find input file: $f" >&2;}
13282 { (exit 1); exit 1; }; }
13285 done` ||
{ (exit 1); exit 1; }
13287 cat >>$CONFIG_STATUS <<_ACEOF
13291 cat >>$CONFIG_STATUS <<\_ACEOF
13293 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13294 s
,@configure_input@
,$configure_input,;t t
13295 s
,@srcdir@
,$ac_srcdir,;t t
13296 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13297 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13298 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13299 s
,@builddir@
,$ac_builddir,;t t
13300 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13301 s
,@top_builddir@
,$ac_top_builddir,;t t
13302 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13303 s
,@INSTALL@
,$ac_INSTALL,;t t
13304 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13306 if test x"$ac_file" != x-; then
13307 mv $tmp/out $ac_file
13316 cat >>$CONFIG_STATUS <<\_ACEOF
13318 { (exit 0); exit 0; }
13320 chmod +x $CONFIG_STATUS
13321 ac_clean_files=$ac_clean_files_save
13324 # configure is writing to config.log, and then calls config.status.
13325 # config.status does its own redirection, appending to config.log.
13326 # Unfortunately, on DOS this fails, as config.log is still kept open
13327 # by configure, so config.status won't be able to write to it; its
13328 # output is simply discarded. So we exec the FD to /dev/null,
13329 # effectively closing config.log, so it can be properly (re)opened and
13330 # appended to by config.status. When coming back to configure, we
13331 # need to make the FD available again.
13332 if test "$no_create" != yes; then
13334 ac_config_status_args=
13335 test "$silent" = yes &&
13336 ac_config_status_args="$ac_config_status_args --quiet"
13338 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13340 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13341 # would make configure fail if this is the last instruction.
13342 $ac_cs_success || { (exit 1); exit 1; }