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 extra_mpfr_configure_flags extra_mpc_gmp_configure_flags extra_mpc_mpfr_configure_flags stage1_ldflags stage1_libs poststage1_ldflags poststage1_libs ppllibs pplinc clooglibs clooginc 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 compare_exclusions 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-build-with-cxx build with C
++ compiler instead of C compiler
939 --disable-ppl-version-check disable check
for PPL version
940 --disable-cloog-version-check disable check
for CLooG version
941 --enable-stage1-languages[=all
] choose additional languages to build during
942 stage1. Mostly useful
for compiler development.
943 --enable-objc-gc enable use of Boehm
's garbage collector with the
944 GNU Objective-C runtime
945 --enable-bootstrap enable bootstrapping [yes if native build]
946 --enable-serial-[{host,target,build}-]configure
947 force sequential configuration of
948 sub-packages for the host, target or build
949 machine, or all sub-packages
950 --enable-maintainer-mode enable make rules and dependencies not useful
951 (and sometimes confusing) to the casual installer
952 --enable-stage1-checking[=all] choose additional checking for stage1
954 --enable-werror enable -Werror in bootstrap stage2 and later
957 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
958 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
959 --with-build-libsubdir=DIR Directory where to find libraries for build system
960 --with-mpc=PATH specify prefix directory for installed MPC package.
961 Equivalent to --with-mpc-include=PATH/include
962 plus --with-mpc-lib=PATH/lib
963 --with-mpc-include=PATH
964 specify directory for installed MPC include files
965 --with-mpc-lib=PATH specify directory for the installed MPC library
966 --with-mpfr-dir=PATH this option has been REMOVED
967 --with-mpfr=PATH specify prefix directory for installed MPFR package.
968 Equivalent to --with-mpfr-include=PATH/include
969 plus --with-mpfr-lib=PATH/lib
970 --with-mpfr-include=PATH
971 specify directory for installed MPFR include files
972 --with-mpfr-lib=PATH specify directory for the installed MPFR library
973 --with-gmp-dir=PATH this option has been REMOVED
974 --with-gmp=PATH specify prefix directory for the installed GMP package.
975 Equivalent to --with-gmp-include=PATH/include
976 plus --with-gmp-lib=PATH/lib
977 --with-gmp-include=PATH specify directory for installed GMP include files
978 --with-gmp-lib=PATH specify directory for the installed GMP library
979 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
980 when linking with PPL
981 --with-stage1-ldflags=FLAGS Linker flags for stage1
982 -with-stage1-libs=LIBS Libraries for stage1
983 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
984 --with-boot-libs=LIBS Libraries for stage2 and later
985 --with-ppl=PATH Specify prefix directory for the installed PPL package
986 Equivalent to --with-ppl-include=PATH/include
987 plus --with-ppl-lib=PATH/lib
988 --with-ppl-include=PATH Specify directory for installed PPL include files
989 --with-ppl-lib=PATH Specify the directory for the installed PPL library
990 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
991 Equivalent to --with-cloog-include=PATH/include
992 plus --with-cloog-lib=PATH/lib
993 --with-cloog-include=PATH Specify directory for installed CLooG include files
994 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
995 --with-build-sysroot=SYSROOT
996 use sysroot as the system root during the build
997 --with-debug-prefix-map='A
=B C
=D ...
'
998 map A to B, C to D ... in debug information
999 --with-build-time-tools=PATH
1000 use given path to find target tools during the build
1001 --with-datarootdir use datarootdir as the data root directory.
1002 --with-docdir install documentation in this directory.
1003 --with-pdfdir install pdf in this directory.
1004 --with-htmldir install html in this directory.
1006 Some influential environment variables:
1007 CC C compiler command
1008 CFLAGS C compiler flags
1009 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1010 nonstandard directory <lib dir>
1011 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1012 headers in a nonstandard directory <include dir>
1013 CXX C++ compiler command
1014 CXXFLAGS C++ compiler flags
1017 DLLTOOL DLLTOOL for the host
1019 LIPO LIPO for the host
1021 RANLIB RANLIB for the host
1022 STRIP STRIP for the host
1023 WINDRES WINDRES for the host
1024 WINDMC WINDMC for the host
1025 OBJCOPY OBJCOPY for the host
1026 OBJDUMP OBJDUMP for the host
1036 GFORTRAN for the target
1042 DLLTOOL for the target
1050 OBJDUMP for the target
1052 RANLIB for the target
1054 STRIP for the target
1056 WINDRES for the target
1058 WINDMC for the target
1060 Use these variables to override the choices made by `configure' or to
help
1061 it to
find libraries and programs with nonstandard names
/locations.
1066 if test "$ac_init_help" = "recursive"; then
1067 # If there are subdirs, report their specific --help.
1069 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1070 test -d $ac_dir ||
continue
1073 if test "$ac_dir" != .
; then
1074 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1075 # A "../" for each directory in $ac_dir_suffix.
1076 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1078 ac_dir_suffix
= ac_top_builddir
=
1082 .
) # No --srcdir option. We are building in place.
1084 if test -z "$ac_top_builddir"; then
1087 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1089 [\\/]* | ?
:[\\/]* ) # Absolute path.
1090 ac_srcdir
=$srcdir$ac_dir_suffix;
1091 ac_top_srcdir
=$srcdir ;;
1093 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1094 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1097 # Do not use `cd foo && pwd` to compute absolute paths, because
1098 # the directories may not exist.
1100 .
) ac_abs_builddir
="$ac_dir";;
1103 .
) ac_abs_builddir
=`pwd`;;
1104 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1105 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1108 case $ac_abs_builddir in
1109 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1111 case ${ac_top_builddir}.
in
1112 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1113 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1114 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1117 case $ac_abs_builddir in
1118 .
) ac_abs_srcdir
=$ac_srcdir;;
1121 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1122 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1123 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1126 case $ac_abs_builddir in
1127 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1129 case $ac_top_srcdir in
1130 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1132 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1137 # Check for guested configure; otherwise get Cygnus style configure.
1138 if test -f $ac_srcdir/configure.gnu
; then
1140 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1141 elif test -f $ac_srcdir/configure
; then
1143 $SHELL $ac_srcdir/configure
--help=recursive
1144 elif test -f $ac_srcdir/configure.ac ||
1145 test -f $ac_srcdir/configure.
in; then
1147 $ac_configure --help
1149 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1155 test -n "$ac_init_help" && exit 0
1156 if $ac_init_version; then
1159 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1160 This configure
script is free software
; the Free Software Foundation
1161 gives unlimited permission to copy
, distribute and modify it.
1167 This file contains any messages produced by compilers while
1168 running configure, to aid debugging if configure makes a mistake.
1170 It was created by $as_me, which was
1171 generated by GNU Autoconf 2.59. Invocation command line was
1182 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1183 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1184 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1185 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1186 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1188 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1189 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1191 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1192 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1193 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1194 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1195 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1196 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1197 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1205 test -z "$as_dir" && as_dir
=.
1206 echo "PATH: $as_dir"
1221 # Keep a trace of the command line.
1222 # Strip out --no-create and --no-recursion so they do not pile up.
1223 # Strip out --silent because we don't want to record it for future runs.
1224 # Also quote any args containing shell meta-characters.
1225 # Make two passes to allow for proper duplicate-argument suppression.
1230 ac_must_keep_next
=false
1236 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1237 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1238 |
-silent |
--silent |
--silen |
--sile |
--sil)
1240 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1244 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1246 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1247 if test $ac_must_keep_next = true
; then
1248 ac_must_keep_next
=false
# Got value, back to normal.
1251 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1252 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1253 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1254 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1255 case "$ac_configure_args0 " in
1256 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1259 -* ) ac_must_keep_next
=true
;;
1262 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1263 # Get rid of the leading space.
1269 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1270 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1272 # When interrupted or exit'd, cleanup temporary files, and complete
1273 # config.log. We remove comments because anyway the quotes in there
1274 # would cause problems or look ugly.
1275 # WARNING: Be sure not to use single quotes in there, as some shells,
1276 # such as our DU 5.0 friend, will then `close' the trap.
1277 trap 'exit_status=$?
1278 # Save into config.log some information that might help in debugging.
1283 ## ---------------- ##
1284 ## Cache variables. ##
1285 ## ---------------- ##
1288 # The following way of writing the cache mishandles newlines in values,
1291 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1294 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1299 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1306 ## ----------------- ##
1307 ## Output variables. ##
1308 ## ----------------- ##
1311 for ac_var in $ac_subst_vars
1313 eval ac_val=$`echo $ac_var`
1314 echo "$ac_var='"'"'$ac_val'"'"'"
1318 if test -n "$ac_subst_files"; then
1325 for ac_var in $ac_subst_files
1327 eval ac_val=$`echo $ac_var`
1328 echo "$ac_var='"'"'$ac_val'"'"'"
1333 if test -s confdefs.h; then
1340 sed "/^$/d" confdefs.h | sort
1343 test "$ac_signal" != 0 &&
1344 echo "$as_me: caught signal $ac_signal"
1345 echo "$as_me: exit $exit_status"
1347 rm -f core *.core &&
1348 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1351 for ac_signal
in 1 2 13 15; do
1352 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1356 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1357 rm -rf conftest
* confdefs.h
1358 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1361 # Predefined preprocessor variables.
1363 cat >>confdefs.h
<<_ACEOF
1364 #define PACKAGE_NAME "$PACKAGE_NAME"
1368 cat >>confdefs.h
<<_ACEOF
1369 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1373 cat >>confdefs.h
<<_ACEOF
1374 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1378 cat >>confdefs.h
<<_ACEOF
1379 #define PACKAGE_STRING "$PACKAGE_STRING"
1383 cat >>confdefs.h
<<_ACEOF
1384 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1388 # Let the site file select an alternate cache file if it wants to.
1389 # Prefer explicitly selected file to automatically selected ones.
1390 if test -z "$CONFIG_SITE"; then
1391 if test "x$prefix" != xNONE
; then
1392 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1394 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1397 for ac_site_file
in $CONFIG_SITE; do
1398 if test -r "$ac_site_file"; then
1399 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1400 echo "$as_me: loading site script $ac_site_file" >&6;}
1401 sed 's/^/| /' "$ac_site_file" >&5
1406 if test -r "$cache_file"; then
1407 # Some versions of bash will fail to source /dev/null (special
1408 # files actually), so we avoid doing that.
1409 if test -f "$cache_file"; then
1410 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1411 echo "$as_me: loading cache $cache_file" >&6;}
1413 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1414 *) . .
/$cache_file;;
1418 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1419 echo "$as_me: creating cache $cache_file" >&6;}
1423 # Check that the precious variables saved in the cache have kept the same
1425 ac_cache_corrupted
=false
1426 for ac_var
in `(set) 2>&1 |
1427 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1428 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1429 eval ac_new_set
=\
$ac_env_${ac_var}_set
1430 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1431 eval ac_new_val
="\$ac_env_${ac_var}_value"
1432 case $ac_old_set,$ac_new_set in
1434 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1435 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1436 ac_cache_corrupted
=: ;;
1438 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1439 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1440 ac_cache_corrupted
=: ;;
1443 if test "x$ac_old_val" != "x$ac_new_val"; then
1444 # differences in whitespace do not lead to failure.
1445 ac_old_val_w
=`echo x $ac_old_val`
1446 ac_new_val_w
=`echo x $ac_new_val`
1447 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1448 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1449 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1450 ac_cache_corrupted
=:
1452 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1453 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1454 eval $ac_var=\
$ac_old_val
1456 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1457 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1458 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1459 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1462 # Pass precious variables to config.status.
1463 if test "$ac_new_set" = set; then
1465 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1466 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1467 *) ac_arg
=$ac_var=$ac_new_val ;;
1469 case " $ac_configure_args " in
1470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1471 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1475 if $ac_cache_corrupted; then
1476 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1477 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1482 { (exit 1); exit 1; }; }
1486 ac_cpp
='$CPP $CPPFLAGS'
1487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1515 # if PWD already has a value, it is probably wrong.
1516 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1518 # Export original configure arguments for use by sub-configures.
1519 # Quote arguments with shell meta charatcers.
1520 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1521 set -- "$progname" "$@"
1525 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1526 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1527 # if the argument is of the form -foo=baz, quote the baz part only
1528 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1531 # Add the quoted argument to the list.
1532 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1534 if test "$silent" = yes; then
1535 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1537 # Remove the initial space we just introduced and, as these will be
1538 # expanded by make, quote '$'.
1539 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1542 # Find the build, host, and target systems.
1544 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1545 if test -f $ac_dir/install-sh
; then
1547 ac_install_sh
="$ac_aux_dir/install-sh -c"
1549 elif test -f $ac_dir/install.sh
; then
1551 ac_install_sh
="$ac_aux_dir/install.sh -c"
1553 elif test -f $ac_dir/shtool
; then
1555 ac_install_sh
="$ac_aux_dir/shtool install -c"
1559 if test -z "$ac_aux_dir"; then
1560 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1561 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1562 { (exit 1); exit 1; }; }
1564 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1565 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1566 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1568 # Make sure we can run config.sub.
1569 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1570 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1571 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1572 { (exit 1); exit 1; }; }
1574 echo "$as_me:$LINENO: checking build system type" >&5
1575 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1576 if test "${ac_cv_build+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 ac_cv_build_alias
=$build_alias
1580 test -z "$ac_cv_build_alias" &&
1581 ac_cv_build_alias
=`$ac_config_guess`
1582 test -z "$ac_cv_build_alias" &&
1583 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1584 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1585 { (exit 1); exit 1; }; }
1586 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1587 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1588 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1589 { (exit 1); exit 1; }; }
1592 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1593 echo "${ECHO_T}$ac_cv_build" >&6
1595 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1596 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1597 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600 case ${build_alias} in
1601 "") build_noncanonical
=${build} ;;
1602 *) build_noncanonical
=${build_alias} ;;
1607 case ${host_alias} in
1608 "") host_noncanonical
=${build_noncanonical} ;;
1609 *) host_noncanonical
=${host_alias} ;;
1614 case ${target_alias} in
1615 "") target_noncanonical
=${host_noncanonical} ;;
1616 *) target_noncanonical
=${target_alias} ;;
1622 test "$host_noncanonical" = "$target_noncanonical" &&
1623 test "$program_prefix$program_suffix$program_transform_name" = \
1625 program_transform_name
=s
,y
,y
,
1627 echo "$as_me:$LINENO: checking host system type" >&5
1628 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1629 if test "${ac_cv_host+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 ac_cv_host_alias
=$host_alias
1633 test -z "$ac_cv_host_alias" &&
1634 ac_cv_host_alias
=$ac_cv_build_alias
1635 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1642 echo "${ECHO_T}$ac_cv_host" >&6
1644 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1649 echo "$as_me:$LINENO: checking target system type" >&5
1650 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1651 if test "${ac_cv_target+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 ac_cv_target_alias
=$target_alias
1655 test "x$ac_cv_target_alias" = "x" &&
1656 ac_cv_target_alias
=$ac_cv_host_alias
1657 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1658 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1659 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1660 { (exit 1); exit 1; }; }
1663 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1664 echo "${ECHO_T}$ac_cv_target" >&6
1665 target
=$ac_cv_target
1666 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1667 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1668 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1671 # The aliases save the names the user supplied, while $host etc.
1672 # will get canonicalized.
1673 test -n "$target_alias" &&
1674 test "$program_prefix$program_suffix$program_transform_name" = \
1676 program_prefix
=${target_alias}-
1677 test "$program_prefix" != NONE
&&
1678 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1679 # Use a double $ so make ignores it.
1680 test "$program_suffix" != NONE
&&
1681 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1682 # Double any \ or $. echo might interpret backslashes.
1683 # By default was `s,x,x', remove it if useless.
1684 cat <<\_ACEOF
>conftest.
sed
1685 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1687 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1692 # Get 'install' or 'install-sh' and its variants.
1693 # Find a good install program. We prefer a C program (faster),
1694 # so one script is as good as another. But avoid the broken or
1695 # incompatible versions:
1696 # SysV /etc/install, /usr/sbin/install
1697 # SunOS /usr/etc/install
1698 # IRIX /sbin/install
1700 # AmigaOS /C/install, which installs bootblocks on floppy discs
1701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1704 # OS/2's system install, which has a completely different semantic
1705 # ./install, which can be erroneously created by make from ./install.sh.
1706 # Reject install programs that cannot install multiple files.
1707 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1709 if test -z "$INSTALL"; then
1710 if test "${ac_cv_path_install+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 # Account for people who put trailing slashes in PATH elements.
1720 .
/ | .
// |
/cC
/* | \
1721 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1722 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1725 # OSF1 and SCO ODT 3.0 have their own names for install.
1726 # Don't use installbsd from OSF since it installs stuff as root
1728 for ac_prog
in ginstall scoinst
install; do
1729 for ac_exec_ext
in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1731 if test $ac_prog = install &&
1732 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1733 # AIX install. It has an incompatible calling convention.
1735 elif test $ac_prog = install &&
1736 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1737 # program-specific install script used by HP pwplus--don't use.
1740 rm -rf conftest.one conftest.two conftest.dir
1741 echo one
> conftest.one
1742 echo two
> conftest.two
1744 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1745 test -s conftest.one
&& test -s conftest.two
&&
1746 test -s conftest.dir
/conftest.one
&&
1747 test -s conftest.dir
/conftest.two
1749 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1760 rm -rf conftest.one conftest.two conftest.dir
1763 if test "${ac_cv_path_install+set}" = set; then
1764 INSTALL
=$ac_cv_path_install
1766 # As a last resort, use the slow shell script. Don't cache a
1767 # value for INSTALL within a source directory, because that will
1768 # break other packages using the cache if that directory is
1769 # removed, or if the value is a relative name.
1770 INSTALL
=$ac_install_sh
1773 echo "$as_me:$LINENO: result: $INSTALL" >&5
1774 echo "${ECHO_T}$INSTALL" >&6
1776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1777 # It thinks the first close brace ends the variable substitution.
1778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1782 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1784 echo "$as_me:$LINENO: checking whether ln works" >&5
1785 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1786 if test "${acx_cv_prog_LN+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 rm -f conftestdata_t
1790 echo >conftestdata_f
1791 if ln conftestdata_f conftestdata_t
2>/dev
/null
1797 rm -f conftestdata_f conftestdata_t
1800 if test $acx_cv_prog_LN = no
; then
1802 echo "$as_me:$LINENO: result: no, using $LN" >&5
1803 echo "${ECHO_T}no, using $LN" >&6
1805 LN
="$acx_cv_prog_LN"
1806 echo "$as_me:$LINENO: result: yes" >&5
1807 echo "${ECHO_T}yes" >&6
1810 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1811 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1813 if test "$LN_S" = "ln -s"; then
1814 echo "$as_me:$LINENO: result: yes" >&5
1815 echo "${ECHO_T}yes" >&6
1817 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1818 echo "${ECHO_T}no, using $LN_S" >&6
1822 ### we might need to use some other shell than /bin/sh for running subshells
1823 ### If we are on Windows, search for the shell. This will permit people
1824 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1825 ### without also having to set CONFIG_SHELL. This code will work when
1826 ### using bash, which sets OSTYPE.
1829 if test x
${CONFIG_SHELL} = x
; then
1830 if test ! -f /bin
/sh
; then
1831 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1832 CONFIG_SHELL
=${SHELL}
1835 for prog
in sh sh.exe bash bash.exe
; do
1836 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1837 for dir
in $PATH; do
1838 test -z "$dir" && dir
=.
1839 if test -f $dir/$prog; then
1840 CONFIG_SHELL
=$dir/$prog
1846 test -n "${CONFIG_SHELL}" && break
1854 config_shell
=${CONFIG_SHELL-/bin/sh}
1856 moveifchange
=${srcdir}/move-if-change
1858 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1860 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1862 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1863 INSTALL
="${srcpwd}/install-sh -c"
1866 # Set srcdir to "." if that's what it is.
1867 # This is important for multilib support.
1869 if test "${pwd}" = "${srcpwd}" ; then
1877 ### To add a new directory to the tree, first choose whether it is a target
1878 ### or a host dependent tool. Then put it into the appropriate list
1879 ### (library or tools, host or target), doing a dependency sort.
1881 # Subdirs will be configured in the order listed in build_configdirs,
1882 # configdirs, or target_configdirs; see the serialization section below.
1884 # Dependency sorting is only needed when *configuration* must be done in
1885 # a particular order. In all cases a dependency should be specified in
1886 # the Makefile, whether or not it's implicitly specified here.
1888 # Double entries in build_configdirs, configdirs, or target_configdirs may
1889 # cause circular dependencies and break everything horribly.
1891 # these library is used by various programs built for the build
1894 build_libs
="build-libiberty"
1896 # these tools are built for the build environment
1897 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1899 # these libraries are used by various programs built for the host environment
1901 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
1903 # these tools are built for the host environment
1904 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1905 # know that we are building the simulator.
1906 # binutils, gas and ld appear in that order because it makes sense to run
1907 # "make check" in that particular order.
1908 # If --enable-gold is used, "gold" will replace "ld".
1909 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen 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"
1911 # libgcj represents the runtime libraries only used by gcj.
1912 libgcj
="target-libffi \
1917 # these libraries are built for the target environment, and are built after
1918 # the host libraries and the host tools (which may be a cross compiler)
1920 target_libraries
="target-libgcc \
1925 target-libstdc++-v3 \
1928 target-libgfortran \
1934 # these tools are built using the target libraries, and are intended to
1935 # run only in the target environment
1937 # note: any program that *uses* libraries that are in the "target_libraries"
1938 # list belongs in this list. those programs are also very likely
1939 # candidates for the "native_only" list which follows
1941 target_tools
="target-examples target-groff target-gperf target-rda"
1943 ################################################################################
1945 ## All tools belong in one of the four categories, and are assigned above
1946 ## We assign ${configdirs} this way to remove all embedded newlines. This
1947 ## is important because configure will choke if they ever get through.
1948 ## ${configdirs} is directories we build using the host tools.
1949 ## ${target_configdirs} is directories we build using the target tools.
1950 configdirs
=`echo ${host_libs} ${host_tools}`
1951 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1952 build_configdirs
=`echo ${build_libs} ${build_tools}`
1956 ################################################################################
1958 srcname
="gnu development package"
1960 # This gets set non-empty for some net releases of packages.
1963 # Define is_cross_compiler to save on calls to 'test'.
1965 if test x
"${host}" = x
"${target}" ; then
1966 is_cross_compiler
=no
1968 is_cross_compiler
=yes
1971 # Find the build and target subdir names.
1973 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1974 # have matching libraries, they should use host libraries: Makefile.tpl
1975 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1976 # However, they still use the build modules, because the corresponding
1977 # host modules (e.g. bison) are only built for the host when bootstrap
1979 # - build_subdir is where we find build modules, and never changes.
1980 # - build_libsubdir is where we find build libraries, and can be overridden.
1982 # Prefix 'build-' so this never conflicts with target_subdir.
1983 build_subdir
="build-${build_noncanonical}"
1985 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1986 if test "${with_build_libsubdir+set}" = set; then
1987 withval
="$with_build_libsubdir"
1988 build_libsubdir
="$withval"
1990 build_libsubdir
="$build_subdir"
1992 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1993 if ( test $srcdir = .
&& test -d gcc
) \
1994 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1995 host_subdir
="host-${host_noncanonical}"
2000 target_subdir
=${target_noncanonical}
2003 # Skipdirs are removed silently.
2005 # Noconfigdirs are removed loudly.
2009 # Make sure we don't let GNU ld be added if we didn't want it.
2010 if test x
$with_gnu_ld = xno
; then
2012 noconfigdirs
="$noconfigdirs ld gold"
2016 # Make sure we don't let GNU as be added if we didn't want it.
2017 if test x
$with_gnu_as = xno
; then
2019 noconfigdirs
="$noconfigdirs gas"
2022 # some tools are so dependent upon X11 that if we're not building with X,
2023 # it's not even worth trying to configure, much less build, that tool.
2026 yes |
"") ;; # the default value for this tree is that X11 is available
2028 skipdirs
="${skipdirs} tk itcl libgui"
2029 # We won't be able to build gdbtk without X.
2032 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2035 # Some tools are only suitable for building in a "native" situation.
2036 # Remove these if host!=target.
2037 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"
2039 # Similarly, some are only suitable for cross toolchains.
2040 # Remove these if host=target.
2041 cross_only
="target-libgloss target-newlib target-opcodes"
2043 case $is_cross_compiler in
2044 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2045 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2048 # If both --with-headers and --with-libs are specified, default to
2050 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2051 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2052 if test x
"${with_newlib}" = x
; then
2057 # Recognize --with-newlib/--without-newlib.
2058 case ${with_newlib} in
2059 no
) skipdirs
="${skipdirs} target-newlib" ;;
2060 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2063 # Handle --enable-gold.
2065 # Check whether --enable-gold or --disable-gold was given.
2066 if test "${enable_gold+set}" = set; then
2067 enableval
="$enable_gold"
2068 ENABLE_GOLD
=$enableval
2072 if test "${ENABLE_GOLD}" = "yes"; then
2073 # Check for ELF target.
2076 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2077 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2078 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2080 *-*-linux*aout
* |
*-*-linux*oldld
*)
2088 if test "$is_elf" = "yes"; then
2089 # Check for target supported by gold.
2091 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2092 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2098 # Configure extra directories which are host specific
2102 configdirs
="$configdirs libtermcap" ;;
2105 # A target can indicate whether a language isn't supported for some reason.
2106 # Only spaces may be used in this macro; not newlines or tabs.
2107 unsupported_languages
=
2109 # Remove more programs from consideration, based on the host or
2110 # target this usually means that a port of the program doesn't
2115 noconfigdirs
="$noconfigdirs byacc"
2117 i
[3456789]86-*-vsta)
2118 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2120 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2121 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2124 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2126 i
[3456789]86-*-mingw32*)
2127 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2128 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2130 i
[3456789]86-*-beos*)
2131 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2134 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2137 noconfigdirs
="$noconfigdirs rcs"
2140 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2143 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2148 # Check whether --enable-libada or --disable-libada was given.
2149 if test "${enable_libada+set}" = set; then
2150 enableval
="$enable_libada"
2151 ENABLE_LIBADA
=$enableval
2155 if test "${ENABLE_LIBADA}" != "yes" ; then
2156 noconfigdirs
="$noconfigdirs gnattools"
2159 # Check whether --enable-libssp or --disable-libssp was given.
2160 if test "${enable_libssp+set}" = set; then
2161 enableval
="$enable_libssp"
2162 ENABLE_LIBSSP
=$enableval
2167 # Save it here so that, even in case of --enable-libgcj, if the Java
2168 # front-end isn't enabled, we still get libgcj disabled.
2169 libgcj_saved
=$libgcj
2170 case $enable_libgcj in
2172 # If we reset it here, it won't get added to noconfigdirs in the
2173 # target-specific build rules, so it will be forcibly enabled
2174 # (unless the Java language itself isn't enabled).
2178 # Make sure we get it printed in the list of not supported target libs.
2179 noconfigdirs
="$noconfigdirs ${libgcj}"
2184 # Disable libmudflap on some systems.
2185 if test x
$enable_libmudflap = x
; then
2187 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2188 # Enable libmudflap by default in GNU and friends.
2191 # Enable libmudflap by default in FreeBSD.
2194 # Disable it by default everywhere else.
2195 noconfigdirs
="$noconfigdirs target-libmudflap"
2200 # Disable libgomp on non POSIX hosted systems.
2201 if test x
$enable_libgomp = x
; then
2202 # Enable libgomp by default on hosted POSIX systems.
2204 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2206 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2208 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2210 *-*-darwin* |
*-*-aix*)
2213 noconfigdirs
="$noconfigdirs target-libgomp"
2218 # Default libgloss CPU subdirectory.
2219 libgloss_dir
="$target_cpu"
2223 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2226 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2227 noconfigdirs
="$noconfigdirs sim target-rda"
2229 i
[3456789]86-*-darwin*)
2230 noconfigdirs
="$noconfigdirs ld gprof"
2231 noconfigdirs
="$noconfigdirs sim target-rda"
2233 x86_64-
*-darwin[912]*)
2234 noconfigdirs
="$noconfigdirs ld gas gprof"
2235 noconfigdirs
="$noconfigdirs sim target-rda"
2238 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2239 noconfigdirs
="$noconfigdirs sim target-rda"
2240 noconfigdirs
="$noconfigdirs ${libgcj}"
2242 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2243 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2246 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2247 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2248 && test -f /usr
/local
/include
/gmp.h
; then
2252 # Skip some stuff that's unsupported on some FreeBSD configurations.
2257 noconfigdirs
="$noconfigdirs ${libgcj}"
2262 # Remove unsupported stuff on all kaOS configurations.
2263 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2264 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2265 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2266 noconfigdirs
="$noconfigdirs target-libgloss"
2269 # Skip some stuff on all NetBSD configurations.
2270 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2272 # Skip some stuff that's unsupported on some NetBSD configurations.
2274 i
*86-*-netbsdelf*) ;;
2275 arm
*-*-netbsdelf*) ;;
2277 noconfigdirs
="$noconfigdirs ${libgcj}"
2282 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2285 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2287 # The tpf target doesn't support gdb yet.
2289 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2292 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2295 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2298 # ld works, but does not support shared libraries.
2299 # newlib is not 64 bit ready. I'm not sure about fileutils.
2300 # gas doesn't generate exception information.
2301 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2304 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2307 # newlib is not 64 bit ready
2308 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2311 # newlib is not 64 bit ready
2312 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2315 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2318 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2320 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2321 noconfigdirs
="$noconfigdirs ${libgcj}"
2322 noconfigdirs
="$noconfigdirs target-examples"
2323 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2324 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2325 noconfigdirs
="$noconfigdirs expect dejagnu"
2326 # the C++ libraries don't build on top of CE's C libraries
2327 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2328 noconfigdirs
="$noconfigdirs target-newlib"
2330 *-*-cygwin*) ;; # keep gdb and readline
2331 *) noconfigdirs
="$noconfigdirs gdb readline"
2337 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2341 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2342 noconfigdirs
="$noconfigdirs ${libgcj}"
2345 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2346 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2349 arm
*-*-linux-gnueabi)
2350 noconfigdirs
="$noconfigdirs target-qthreads"
2351 case ${with_newlib} in
2352 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2357 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2361 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2364 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2367 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2370 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2373 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2376 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2379 noconfigdirs
="$noconfigdirs gdb"
2380 if test x
${is_cross_compiler} != xno
; then
2381 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2384 c4x-
*-* | tic4x-
*-*)
2385 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2387 c54x
*-*-* | tic54x-
*-*)
2388 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2391 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2393 cris-
*-* | crisv32-
*-*)
2394 unsupported_languages
="$unsupported_languages java"
2397 unsupported_languages
="$unsupported_languages fortran"
2398 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2400 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2402 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2404 unsupported_languages
="$unsupported_languages fortran"
2405 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2410 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2413 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2416 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2418 ep9312-
*-elf | ep9312-
*-coff)
2422 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2425 noconfigdirs
="$noconfigdirs ${libgcj}"
2428 noconfigdirs
="$noconfigdirs ${libgcj}"
2429 noconfigdirs
="$noconfigdirs gprof"
2432 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2435 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2437 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2439 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2440 # In this case, it's because the hppa64-linux target is for
2441 # the kernel only at this point and has no libc, and thus no
2442 # headers, crt*.o, etc., all of which are needed by these.
2443 noconfigdirs
="$noconfigdirs target-zlib"
2445 parisc
*-*-linux* | hppa
*-*-linux*)
2449 hppa
*-*-openbsd* | \
2451 noconfigdirs
="$noconfigdirs ${libgcj}"
2454 noconfigdirs
="$noconfigdirs ld shellutils"
2460 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2461 # build on HP-UX 10.20.
2462 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2465 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2468 # No gdb support yet.
2469 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2472 # No gdb or ld support yet.
2473 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2476 # No gdb or ld support yet.
2477 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
2481 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2482 noconfigdirs
="$noconfigdirs ${libgcj}"
2485 i
[3456789]86-*-linux*)
2486 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2487 # not build java stuff by default.
2490 noconfigdirs
="$noconfigdirs ${libgcj}";;
2493 # This section makes it possible to build newlib natively on linux.
2494 # If we are using a cross compiler then don't configure newlib.
2495 if test x
${is_cross_compiler} != xno
; then
2496 noconfigdirs
="$noconfigdirs target-newlib"
2498 noconfigdirs
="$noconfigdirs target-libgloss"
2499 # If we are not using a cross compiler, do configure newlib.
2500 # Note however, that newlib will only be configured in this situation
2501 # if the --with-newlib option has been given, because otherwise
2502 # 'target-newlib' will appear in skipdirs.
2504 i
[3456789]86-*-mingw32*)
2505 target_configdirs
="$target_configdirs target-winsup"
2506 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2509 target_configdirs
="$target_configdirs target-winsup"
2510 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2513 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2514 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
2515 # always build newlib if winsup directory is present.
2516 if test -d "$srcdir/winsup/cygwin"; then
2517 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2518 elif test -d "$srcdir/newlib"; then
2519 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2522 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2523 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2526 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2528 i
[3456789]86-*-sco3.2v5
*)
2529 # The linker does not yet know about weak symbols in COFF,
2530 # and is not configured to handle mixed ELF and COFF.
2531 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2533 i
[3456789]86-*-sco*)
2534 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2536 i
[3456789]86-*-solaris2*)
2537 noconfigdirs
="$noconfigdirs target-libgloss"
2539 i
[3456789]86-*-sysv4*)
2540 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2542 i
[3456789]86-*-beos*)
2543 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2545 i
[3456789]86-*-rdos*)
2546 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2549 noconfigdirs
="$noconfigdirs ${libgcj}"
2551 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2552 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2553 libgloss_dir
=m68hc11
2556 noconfigdirs
="$noconfigdirs ${libgcj}"
2559 noconfigdirs
="$noconfigdirs ${libgcj}"
2561 m68
*-*-* | fido-
*-*)
2565 # The EPOC C++ environment does not support exceptions or rtti,
2566 # and so building libstdc++-v3 tends not to always work.
2567 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2570 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2571 unsupported_languages
="$unsupported_languages fortran java"
2574 noconfigdirs
="$noconfigdirs ${libgcj}"
2577 noconfigdirs
="$noconfigdirs ${libgcj}"
2580 noconfigdirs
="$noconfigdirs sim"
2583 # copied from rs6000-*-* entry
2584 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2586 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2587 target_configdirs
="$target_configdirs target-winsup"
2588 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2589 # always build newlib.
2590 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2592 # This is temporary until we can link against shared libraries
2593 powerpcle-
*-solaris*)
2594 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2598 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2601 noconfigdirs
="$noconfigdirs ${libgcj}"
2604 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2608 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2611 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2614 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2617 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2620 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2623 skipdirs
="$skipdirs target-libiberty"
2624 noconfigdirs
="$noconfigdirs ${libgcj}"
2625 if test x
$with_newlib = xyes
; then
2626 noconfigdirs
="$noconfigdirs gprof"
2631 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2634 # Linking libjava exceeds command-line length limits on at least
2635 # IRIX 6.2, but not on IRIX 6.5.
2636 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2637 # <oldham@codesourcery.com>
2638 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2641 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2647 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2651 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2655 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2656 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2657 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2658 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2662 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
2664 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
2667 sparclet-
*-aout* | sparc86x-
*-*)
2671 noconfigdirs
="$noconfigdirs ${libgcj}"
2674 noconfigdirs
="$noconfigdirs ${libgcj}"
2678 noconfigdirs
="$noconfigdirs ${libgcj}"
2682 noconfigdirs
="$noconfigdirs ${libgcj}"
2683 if test x
${is_cross_compiler} != xno
; then
2684 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2689 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2690 noconfigdirs
="$noconfigdirs ${libgcj}"
2692 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2695 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2698 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2701 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2704 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2707 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2710 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2713 noconfigdirs
="$noconfigdirs ${libgcj}"
2716 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2718 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2719 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2725 noconfigdirs
="$noconfigdirs ${libgcj}"
2729 # If we aren't building newlib, then don't build libgloss, since libgloss
2730 # depends upon some newlib header files.
2731 case "${noconfigdirs}" in
2732 *target-libgloss
*) ;;
2733 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2736 # Work in distributions that contain no compiler tools, like Autoconf.
2738 host_makefile_frag
=/dev
/null
2739 if test -d ${srcdir}/config
; then
2742 # Avoid "too much defining" errors from HPUX compiler.
2743 tentative_cc
="cc -Wp,-H256000"
2744 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2745 # If it's HP/UX ar, this should be harmless.
2749 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2752 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2753 # chokes on bfd, the compiler won't let you assign integers to enums, and
2754 # other problems. Defining CC to gcc is a questionable way to say "don't use
2755 # the apollo compiler" (the preferred version of GCC could be called cc,
2756 # or whatever), but I'm not sure leaving CC as cc is any better...
2757 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2758 # Used to have BISON=yacc.
2762 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2765 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2766 tentative_cc
="cc -Xa"
2767 host_makefile_frag
="config/mh-cxux"
2769 m88k-motorola-sysv
*)
2772 tentative_cc
="cc -Wf,-XNg1000"
2773 host_makefile_frag
="config/mh-decstation"
2776 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2777 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2778 host_makefile_frag
="config/mh-necv4"
2781 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2782 # environment. Also bump switch table size so that cp-parse will
2783 # compile. Bump string length limit so linker builds.
2784 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2787 host_makefile_frag
="config/mh-sysv4"
2790 # This is for a MIPS running RISC/os 4.52C.
2792 # This is needed for GDB, but needs to be in the top-level make because
2793 # if a library is compiled with the bsd headers and gets linked with the
2794 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2795 # a different size).
2796 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2797 # known except to select the sysv environment. Could we use /proc instead?
2798 # These "sysv environments" and "bsd environments" often end up being a pain.
2800 # This is not part of CFLAGS because perhaps not all C compilers have this
2802 tentative_cc
="cc -systype sysv"
2807 i
[3456789]86-*-sysv5*)
2808 host_makefile_frag
="config/mh-sysv5"
2810 i
[3456789]86-*-dgux*)
2811 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2812 host_makefile_frag
="config/mh-dgux386"
2814 i
[3456789]86-ncr-sysv4.3
*)
2815 # The MetaWare compiler will generate a copyright message unless you
2816 # turn it off by adding the -Hnocopyr flag.
2817 tentative_cc
="cc -Hnocopyr"
2819 i
[3456789]86-ncr-sysv4*)
2820 # for an NCR 3000 (i486/SVR4) system.
2821 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2822 # This compiler not only emits obnoxious copyright messages every time
2823 # you run it, but it chokes and dies on a whole bunch of GNU source
2824 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2825 tentative_cc
="/usr/ccs/ATT/cc"
2826 host_makefile_frag
="config/mh-ncr3000"
2828 i
[3456789]86-*-sco3.2v5
*)
2830 i
[3456789]86-*-sco*)
2831 # The native C compiler botches some simple uses of const. Unfortunately,
2832 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2833 tentative_cc
="cc -Dconst="
2834 host_makefile_frag
="config/mh-sco"
2836 i
[3456789]86-*-udk*)
2837 host_makefile_frag
="config/mh-sysv5"
2839 i
[3456789]86-*-solaris2*)
2840 host_makefile_frag
="config/mh-sysv4"
2842 i
[3456789]86-*-msdosdjgpp*)
2843 host_makefile_frag
="config/mh-djgpp"
2847 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2848 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2849 echo a
>cygwin-cat-check
2850 if test `cat cygwin-cat-check` == a
; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2858 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2859 Please either mount the build directory in binary mode or run the following
2860 commands before running any configure script:
2864 echo "$as_me: error: The cat command does not ignore carriage return characters.
2865 Please either mount the build directory in binary mode or run the following
2866 commands before running any configure script:
2870 { (exit 1); exit 1; }; }
2873 host_makefile_frag
="config/mh-cygwin"
2876 host_makefile_frag
="config/mh-mingw"
2879 host_makefile_frag
="config/mh-interix"
2882 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2886 host_makefile_frag
="config/mh-solaris"
2889 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2890 # without overflowing the jump tables (-J says to use a 32 bit table)
2891 tentative_cc
="cc -J"
2894 tentative_cc
="cc -Wp,-H256000"
2895 host_makefile_frag
="config/mh-pa-hpux10"
2897 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2898 tentative_cc
="cc -Wp,-H256000"
2899 host_makefile_frag
="config/mh-pa"
2902 host_makefile_frag
="config/mh-pa"
2904 *-hp-hpux* |
*-*-hiux*)
2905 tentative_cc
="cc -Wp,-H256000"
2908 # /bin/cc is less than useful for our purposes. Always use GCC
2909 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2910 host_makefile_frag
="config/mh-lynxrs6k"
2913 host_makefile_frag
="config/mh-ppc-darwin"
2916 host_makefile_frag
="config/mh-ppc-aix"
2919 host_makefile_frag
="config/mh-ppc-aix"
2922 # /bin/cc is less than useful for our purposes. Always use GCC
2923 tentative_cc
="/bin/gcc"
2926 host_makefile_frag
="config/mh-sysv4"
2928 # This is placed last to prevent interfering with the cases above.
2930 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2931 host_makefile_frag
="config/mh-x86omitfp"
2936 # If we aren't going to be using gcc, see if we can extract a definition
2937 # of CC from the fragment.
2938 # Actually, use the 'pre-extracted' version above.
2939 if test -z "${CC}" && test "${build}" = "${host}" ; then
2940 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2942 for dir
in $PATH; do
2943 test -z "$dir" && dir
=.
2944 if test -f $dir/gcc
; then
2950 if test -z "${found}" && test -n "${tentative_cc}" ; then
2955 if test "${build}" != "${host}" ; then
2956 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2957 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2958 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2959 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2960 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2961 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2962 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2963 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2964 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2965 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2966 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2967 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2969 AR_FOR_BUILD
="\$(AR)"
2970 AS_FOR_BUILD
="\$(AS)"
2971 CC_FOR_BUILD
="\$(CC)"
2972 CXX_FOR_BUILD
="\$(CXX)"
2973 GCJ_FOR_BUILD
="\$(GCJ)"
2974 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2975 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2976 LD_FOR_BUILD
="\$(LD)"
2977 NM_FOR_BUILD
="\$(NM)"
2978 RANLIB_FOR_BUILD
="\$(RANLIB)"
2979 WINDRES_FOR_BUILD
="\$(WINDRES)"
2980 WINDMC_FOR_BUILD
="\$(WINDMC)"
2984 ac_cpp
='$CPP $CPPFLAGS'
2985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2988 if test -n "$ac_tool_prefix"; then
2989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2991 echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2993 if test "${ac_cv_prog_CC+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 if test -n "$CC"; then
2997 ac_cv_prog_CC
="$CC" # Let the user override the test.
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 for ac_exec_ext
in '' $ac_executable_extensions; do
3005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 echo "$as_me:$LINENO: result: $CC" >&5
3018 echo "${ECHO_T}$CC" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3025 if test -z "$ac_cv_prog_CC"; then
3027 # Extract the first word of "gcc", so it can be a program name with args.
3028 set dummy gcc
; ac_word
=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 if test -n "$ac_ct_CC"; then
3035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_ac_ct_CC
="gcc"
3045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3054 if test -n "$ac_ct_CC"; then
3055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3056 echo "${ECHO_T}$ac_ct_CC" >&6
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3067 if test -z "$CC"; then
3068 if test -n "$ac_tool_prefix"; then
3069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_CC+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 if test -n "$CC"; then
3077 ac_cv_prog_CC
="$CC" # Let the user override the test.
3079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir
=.
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test -n "$CC"; then
3097 echo "$as_me:$LINENO: result: $CC" >&5
3098 echo "${ECHO_T}$CC" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3105 if test -z "$ac_cv_prog_CC"; then
3107 # Extract the first word of "cc", so it can be a program name with args.
3108 set dummy cc
; ac_word
=$2
3109 echo "$as_me:$LINENO: checking for $ac_word" >&5
3110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 if test -n "$ac_ct_CC"; then
3115 ac_cv_prog_ac_ct_CC
="$ac_ct_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 ac_cv_prog_ac_ct_CC
="cc"
3125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3134 if test -n "$ac_ct_CC"; then
3135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3136 echo "${ECHO_T}$ac_ct_CC" >&6
3138 echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3148 if test -z "$CC"; then
3149 # Extract the first word of "cc", so it can be a program name with args.
3150 set dummy cc
; ac_word
=$2
3151 echo "$as_me:$LINENO: checking for $ac_word" >&5
3152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3153 if test "${ac_cv_prog_CC+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3156 if test -n "$CC"; then
3157 ac_cv_prog_CC
="$CC" # Let the user override the test.
3160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir
=.
3165 for ac_exec_ext
in '' $ac_executable_extensions; do
3166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3168 ac_prog_rejected
=yes
3172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test $ac_prog_rejected = yes; then
3179 # We found a bogon in the path, so make sure we never use it.
3180 set dummy
$ac_cv_prog_CC
3182 if test $# != 0; then
3183 # We chose a different compiler from the bogus one.
3184 # However, it has the same basename, so the bogon will be chosen
3185 # first if we set CC to just the basename; use the full file name.
3187 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3193 if test -n "$CC"; then
3194 echo "$as_me:$LINENO: result: $CC" >&5
3195 echo "${ECHO_T}$CC" >&6
3197 echo "$as_me:$LINENO: result: no" >&5
3198 echo "${ECHO_T}no" >&6
3202 if test -z "$CC"; then
3203 if test -n "$ac_tool_prefix"; then
3206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3208 echo "$as_me:$LINENO: checking for $ac_word" >&5
3209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3210 if test "${ac_cv_prog_CC+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 if test -n "$CC"; then
3214 ac_cv_prog_CC
="$CC" # Let the user override the test.
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir
=.
3221 for ac_exec_ext
in '' $ac_executable_extensions; do
3222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3223 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 if test -n "$CC"; then
3234 echo "$as_me:$LINENO: result: $CC" >&5
3235 echo "${ECHO_T}$CC" >&6
3237 echo "$as_me:$LINENO: result: no" >&5
3238 echo "${ECHO_T}no" >&6
3241 test -n "$CC" && break
3244 if test -z "$CC"; then
3248 # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy
$ac_prog; ac_word
=$2
3250 echo "$as_me:$LINENO: checking for $ac_word" >&5
3251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 if test -n "$ac_ct_CC"; then
3256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir
=.
3263 for ac_exec_ext
in '' $ac_executable_extensions; do
3264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_ac_ct_CC
="$ac_prog"
3266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3275 if test -n "$ac_ct_CC"; then
3276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3277 echo "${ECHO_T}$ac_ct_CC" >&6
3279 echo "$as_me:$LINENO: result: no" >&5
3280 echo "${ECHO_T}no" >&6
3283 test -n "$ac_ct_CC" && break
3292 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3293 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3295 See \`config.log' for more details." >&5
3296 echo "$as_me: error: no acceptable C compiler found in \$PATH
3297 See \`config.log' for more details." >&2;}
3298 { (exit 1); exit 1; }; }; }
3300 # Provide some information about the compiler.
3301 echo "$as_me:$LINENO:" \
3302 "checking for C compiler version" >&5
3303 ac_compiler
=`set X $ac_compile; echo $2`
3304 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3305 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }
3309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3310 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }
3314 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3315 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3320 cat >conftest.
$ac_ext <<_ACEOF
3323 cat confdefs.h
>>conftest.
$ac_ext
3324 cat >>conftest.
$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3335 ac_clean_files_save
=$ac_clean_files
3336 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3337 # Try to create an executable without -o first, disregard a.out.
3338 # It will help us diagnose broken compilers, and finding out an intuition
3340 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3341 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3342 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3343 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3344 (eval $ac_link_default) 2>&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; then
3348 # Find the output, starting from the most likely. This scheme is
3349 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3352 # Be careful to initialize this variable, since it used to be cached.
3353 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3355 # b.out is created by i960 compilers.
3356 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3358 test -f "$ac_file" ||
continue
3360 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3363 # This is the source file.
3366 # We found the default executable, but exeext='' is most
3370 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371 # FIXME: I believe we export ac_cv_exeext for Libtool,
3372 # but it would be cool to find out if it's true. Does anybody
3373 # maintain Libtool? --akim.
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.
$ac_ext >&5
3384 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3385 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3387 See \`config.log' for more details." >&5
3388 echo "$as_me: error: C compiler cannot create executables
3389 See \`config.log' for more details." >&2;}
3390 { (exit 77); exit 77; }; }; }
3393 ac_exeext
=$ac_cv_exeext
3394 echo "$as_me:$LINENO: result: $ac_file" >&5
3395 echo "${ECHO_T}$ac_file" >&6
3397 # Check the compiler produces executables we can run. If not, either
3398 # the compiler is broken, or we cross compile.
3399 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3400 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3401 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3402 # If not cross compiling, check that we can run a simple program.
3403 if test "$cross_compiling" != yes; then
3404 if { ac_try
='./$ac_file'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; }; then
3412 if test "$cross_compiling" = maybe
; then
3415 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3416 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3418 If you meant to cross compile, use \`--host'.
3419 See \`config.log' for more details." >&5
3420 echo "$as_me: error: cannot run C compiled programs.
3421 If you meant to cross compile, use \`--host'.
3422 See \`config.log' for more details." >&2;}
3423 { (exit 1); exit 1; }; }; }
3427 echo "$as_me:$LINENO: result: yes" >&5
3428 echo "${ECHO_T}yes" >&6
3430 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3431 ac_clean_files
=$ac_clean_files_save
3432 # Check the compiler produces executables we can run. If not, either
3433 # the compiler is broken, or we cross compile.
3434 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3435 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3436 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3437 echo "${ECHO_T}$cross_compiling" >&6
3439 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3440 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3442 (eval $ac_link) 2>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; then
3446 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3447 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3448 # work properly (i.e., refer to `conftest.exe'), while it won't with
3450 for ac_file
in conftest.exe conftest conftest.
*; do
3451 test -f "$ac_file" ||
continue
3453 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3454 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3461 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3462 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3464 See \`config.log' for more details." >&5
3465 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3466 See \`config.log' for more details." >&2;}
3467 { (exit 1); exit 1; }; }; }
3470 rm -f conftest
$ac_cv_exeext
3471 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3472 echo "${ECHO_T}$ac_cv_exeext" >&6
3474 rm -f conftest.
$ac_ext
3475 EXEEXT
=$ac_cv_exeext
3477 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3478 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3479 if test "${ac_cv_objext+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 cat >conftest.
$ac_ext <<_ACEOF
3485 cat confdefs.h
>>conftest.
$ac_ext
3486 cat >>conftest.
$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3497 rm -f conftest.o conftest.obj
3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3499 (eval $ac_compile) 2>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; then
3503 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3505 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3506 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.
$ac_ext >&5
3514 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3517 See \`config.log' for more details." >&5
3518 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3519 See \`config.log' for more details." >&2;}
3520 { (exit 1); exit 1; }; }; }
3523 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3525 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3526 echo "${ECHO_T}$ac_cv_objext" >&6
3527 OBJEXT
=$ac_cv_objext
3529 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 cat >conftest.
$ac_ext <<_ACEOF
3537 cat confdefs.h
>>conftest.
$ac_ext
3538 cat >>conftest.
$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3552 rm -f conftest.
$ac_objext
3553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3554 (eval $ac_compile) 2>conftest.er1
3556 grep -v '^ *+' conftest.er1
>conftest.err
3558 cat conftest.err
>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } &&
3561 { ac_try
='test -z "$ac_c_werror_flag"
3562 || test ! -s conftest.err'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; } &&
3568 { ac_try
='test -s conftest.$ac_objext'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; }; then
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.
$ac_ext >&5
3581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3582 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3585 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3586 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3587 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3588 ac_test_CFLAGS
=${CFLAGS+set}
3589 ac_save_CFLAGS
=$CFLAGS
3591 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3592 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3593 if test "${ac_cv_prog_cc_g+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 cat >conftest.
$ac_ext <<_ACEOF
3599 cat confdefs.h
>>conftest.
$ac_ext
3600 cat >>conftest.
$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3611 rm -f conftest.
$ac_objext
3612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613 (eval $ac_compile) 2>conftest.er1
3615 grep -v '^ *+' conftest.er1
>conftest.err
3617 cat conftest.err
>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try
='test -z "$ac_c_werror_flag"
3621 || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try
='test -s conftest.$ac_objext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.
$ac_ext >&5
3640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3642 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3643 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3644 if test "$ac_test_CFLAGS" = set; then
3645 CFLAGS
=$ac_save_CFLAGS
3646 elif test $ac_cv_prog_cc_g = yes; then
3647 if test "$GCC" = yes; then
3653 if test "$GCC" = yes; then
3659 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3660 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3661 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 ac_cv_prog_cc_stdc
=no
3666 cat >conftest.
$ac_ext <<_ACEOF
3669 cat confdefs.h
>>conftest.
$ac_ext
3670 cat >>conftest.
$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3674 #include <sys/types.h>
3675 #include <sys/stat.h>
3676 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3677 struct buf { int x; };
3678 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3679 static char *e (p, i)
3685 static char *f (char * (*g) (char **, int), char **p, ...)
3690 s = g (p, va_arg (v,int));
3695 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3696 function prototypes and stuff, but not '\xHH' hex character constants.
3697 These don't provoke an error unfortunately, instead are silently treated
3698 as 'x'. The following induces an error, until -std1 is added to get
3699 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3700 array size at least. It's necessary to write '\x00'==0 to get something
3701 that's true only with -std1. */
3702 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3704 int test (int i, double x);
3705 struct s1 {int (*f) (int a);};
3706 struct s2 {int (*f) (double a);};
3707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3718 # Don't try gcc -ansi; that turns off useful extensions and
3719 # breaks some systems' header files.
3720 # AIX -qlanglvl=ansi
3721 # Ultrix and OSF/1 -std1
3722 # HP-UX 10.20 and later -Ae
3723 # HP-UX older versions -Aa -D_HPUX_SOURCE
3724 # SVR4 -Xc -D__EXTENSIONS__
3725 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3727 CC
="$ac_save_CC $ac_arg"
3728 rm -f conftest.
$ac_objext
3729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3730 (eval $ac_compile) 2>conftest.er1
3732 grep -v '^ *+' conftest.er1
>conftest.err
3734 cat conftest.err
>&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); } &&
3737 { ac_try
='test -z "$ac_c_werror_flag"
3738 || test ! -s conftest.err'
3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; } &&
3744 { ac_try
='test -s conftest.$ac_objext'
3745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); }; }; then
3750 ac_cv_prog_cc_stdc
=$ac_arg
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.
$ac_ext >&5
3757 rm -f conftest.err conftest.
$ac_objext
3759 rm -f conftest.
$ac_ext conftest.
$ac_objext
3764 case "x$ac_cv_prog_cc_stdc" in
3766 echo "$as_me:$LINENO: result: none needed" >&5
3767 echo "${ECHO_T}none needed" >&6 ;;
3769 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3770 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3771 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3774 # Some people use a C++ compiler to compile C. Since we use `exit',
3775 # in C++ we need to declare it. In case someone uses the same compiler
3776 # for both compiling C and C++ we need to have the C++ compiler decide
3777 # the declaration of exit, since it's the most demanding environment.
3778 cat >conftest.
$ac_ext <<_ACEOF
3783 rm -f conftest.
$ac_objext
3784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3785 (eval $ac_compile) 2>conftest.er1
3787 grep -v '^ *+' conftest.er1
>conftest.err
3789 cat conftest.err
>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } &&
3792 { ac_try
='test -z "$ac_c_werror_flag"
3793 || test ! -s conftest.err'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; } &&
3799 { ac_try
='test -s conftest.$ac_objext'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; }; then
3805 for ac_declaration
in \
3807 'extern "C" void std::exit (int) throw (); using std::exit;' \
3808 'extern "C" void std::exit (int); using std::exit;' \
3809 'extern "C" void exit (int) throw ();' \
3810 'extern "C" void exit (int);' \
3813 cat >conftest.
$ac_ext <<_ACEOF
3816 cat confdefs.h
>>conftest.
$ac_ext
3817 cat >>conftest.
$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3829 rm -f conftest.
$ac_objext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try
='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try
='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3874 rm -f conftest.
$ac_objext
3875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3876 (eval $ac_compile) 2>conftest.er1
3878 grep -v '^ *+' conftest.er1
>conftest.err
3880 cat conftest.err
>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } &&
3883 { ac_try
='test -z "$ac_c_werror_flag"
3884 || test ! -s conftest.err'
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); }; } &&
3890 { ac_try
='test -s conftest.$ac_objext'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; }; then
3898 echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.
$ac_ext >&5
3902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3905 if test -n "$ac_declaration"; then
3906 echo '#ifdef __cplusplus' >>confdefs.h
3907 echo $ac_declaration >>confdefs.h
3908 echo '#endif' >>confdefs.h
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.
$ac_ext >&5
3916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3918 ac_cpp
='$CPP $CPPFLAGS'
3919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3924 ac_cpp
='$CXXCPP $CPPFLAGS'
3925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3928 if test -n "$ac_tool_prefix"; then
3929 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3933 echo "$as_me:$LINENO: checking for $ac_word" >&5
3934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3935 if test "${ac_cv_prog_CXX+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 if test -n "$CXX"; then
3939 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 if test -n "$CXX"; then
3959 echo "$as_me:$LINENO: result: $CXX" >&5
3960 echo "${ECHO_T}$CXX" >&6
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3966 test -n "$CXX" && break
3969 if test -z "$CXX"; then
3971 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy
$ac_prog; ac_word
=$2
3975 echo "$as_me:$LINENO: checking for $ac_word" >&5
3976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3977 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 if test -n "$ac_ct_CXX"; then
3981 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir
=.
3988 for ac_exec_ext
in '' $ac_executable_extensions; do
3989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4000 if test -n "$ac_ct_CXX"; then
4001 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4002 echo "${ECHO_T}$ac_ct_CXX" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4008 test -n "$ac_ct_CXX" && break
4010 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4016 # Provide some information about the compiler.
4017 echo "$as_me:$LINENO:" \
4018 "checking for C++ compiler version" >&5
4019 ac_compiler
=`set X $ac_compile; echo $2`
4020 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4021 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }
4025 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4026 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }
4030 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4031 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }
4036 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4037 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4038 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4039 echo $ECHO_N "(cached) $ECHO_C" >&6
4041 cat >conftest.
$ac_ext <<_ACEOF
4044 cat confdefs.h
>>conftest.
$ac_ext
4045 cat >>conftest.
$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4059 rm -f conftest.
$ac_objext
4060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061 (eval $ac_compile) 2>conftest.er1
4063 grep -v '^ *+' conftest.er1
>conftest.err
4065 cat conftest.err
>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } &&
4068 { ac_try
='test -z "$ac_cxx_werror_flag"
4069 || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } &&
4075 { ac_try
='test -s conftest.$ac_objext'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.
$ac_ext >&5
4088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4089 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4094 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4095 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4096 ac_save_CXXFLAGS
=$CXXFLAGS
4098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4100 if test "${ac_cv_prog_cxx_g+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 cat >conftest.
$ac_ext <<_ACEOF
4106 cat confdefs.h
>>conftest.
$ac_ext
4107 cat >>conftest.
$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4118 rm -f conftest.
$ac_objext
4119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4120 (eval $ac_compile) 2>conftest.er1
4122 grep -v '^ *+' conftest.er1
>conftest.err
4124 cat conftest.err
>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } &&
4127 { ac_try
='test -z "$ac_cxx_werror_flag"
4128 || test ! -s conftest.err'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; } &&
4134 { ac_try
='test -s conftest.$ac_objext'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; }; then
4140 ac_cv_prog_cxx_g
=yes
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.
$ac_ext >&5
4147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4149 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4150 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4151 if test "$ac_test_CXXFLAGS" = set; then
4152 CXXFLAGS
=$ac_save_CXXFLAGS
4153 elif test $ac_cv_prog_cxx_g = yes; then
4154 if test "$GXX" = yes; then
4160 if test "$GXX" = yes; then
4166 for ac_declaration
in \
4168 'extern "C" void std::exit (int) throw (); using std::exit;' \
4169 'extern "C" void std::exit (int); using std::exit;' \
4170 'extern "C" void exit (int) throw ();' \
4171 'extern "C" void exit (int);' \
4174 cat >conftest.
$ac_ext <<_ACEOF
4177 cat confdefs.h
>>conftest.
$ac_ext
4178 cat >>conftest.
$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4190 rm -f conftest.
$ac_objext
4191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4192 (eval $ac_compile) 2>conftest.er1
4194 grep -v '^ *+' conftest.er1
>conftest.err
4196 cat conftest.err
>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } &&
4199 { ac_try
='test -z "$ac_cxx_werror_flag"
4200 || test ! -s conftest.err'
4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); }; } &&
4206 { ac_try
='test -s conftest.$ac_objext'
4207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); }; }; then
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.
$ac_ext >&5
4219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4220 cat >conftest.
$ac_ext <<_ACEOF
4223 cat confdefs.h
>>conftest.
$ac_ext
4224 cat >>conftest.
$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4235 rm -f conftest.
$ac_objext
4236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4237 (eval $ac_compile) 2>conftest.er1
4239 grep -v '^ *+' conftest.er1
>conftest.err
4241 cat conftest.err
>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } &&
4244 { ac_try
='test -z "$ac_cxx_werror_flag"
4245 || test ! -s conftest.err'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; } &&
4251 { ac_try
='test -s conftest.$ac_objext'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4259 echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.
$ac_ext >&5
4263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4266 if test -n "$ac_declaration"; then
4267 echo '#ifdef __cplusplus' >>confdefs.h
4268 echo $ac_declaration >>confdefs.h
4269 echo '#endif' >>confdefs.h
4273 ac_cpp
='$CPP $CPPFLAGS'
4274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4279 # We must set the default linker to the linker used by gcc for the correct
4280 # operation of libtool. If LD is not defined and we are using gcc, try to
4281 # set the LD default to the ld used by gcc.
4282 if test -z "$LD"; then
4283 if test "$GCC" = yes; then
4286 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4288 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4290 case $gcc_prog_ld in
4291 # Accept absolute paths.
4292 [\\/]* |
[A-Za-z
]:[\\/]*)
4293 LD
="$gcc_prog_ld" ;;
4301 if test -n "$ac_tool_prefix"; then
4302 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4303 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4304 echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4306 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 if test -n "$GNATBIND"; then
4310 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 GNATBIND
=$ac_cv_prog_GNATBIND
4329 if test -n "$GNATBIND"; then
4330 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4331 echo "${ECHO_T}$GNATBIND" >&6
4333 echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6
4338 if test -z "$ac_cv_prog_GNATBIND"; then
4339 ac_ct_GNATBIND
=$GNATBIND
4340 # Extract the first word of "gnatbind", so it can be a program name with args.
4341 set dummy gnatbind
; ac_word
=$2
4342 echo "$as_me:$LINENO: checking for $ac_word" >&5
4343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4344 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 if test -n "$ac_ct_GNATBIND"; then
4348 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4357 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4367 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4368 if test -n "$ac_ct_GNATBIND"; then
4369 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4370 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4376 GNATBIND
=$ac_ct_GNATBIND
4378 GNATBIND
="$ac_cv_prog_GNATBIND"
4381 if test -n "$ac_tool_prefix"; then
4382 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4383 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4384 echo "$as_me:$LINENO: checking for $ac_word" >&5
4385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4386 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 if test -n "$GNATMAKE"; then
4390 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 GNATMAKE
=$ac_cv_prog_GNATMAKE
4409 if test -n "$GNATMAKE"; then
4410 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4411 echo "${ECHO_T}$GNATMAKE" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4418 if test -z "$ac_cv_prog_GNATMAKE"; then
4419 ac_ct_GNATMAKE
=$GNATMAKE
4420 # Extract the first word of "gnatmake", so it can be a program name with args.
4421 set dummy gnatmake
; ac_word
=$2
4422 echo "$as_me:$LINENO: checking for $ac_word" >&5
4423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4424 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4427 if test -n "$ac_ct_GNATMAKE"; then
4428 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4447 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4448 if test -n "$ac_ct_GNATMAKE"; then
4449 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4450 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4452 echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6
4456 GNATMAKE
=$ac_ct_GNATMAKE
4458 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4461 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4462 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4463 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 cat >conftest.adb
<<EOF
4467 procedure conftest is begin null; end conftest;
4469 acx_cv_cc_gcc_supports_ada
=no
4470 # There is a bug in old released versions of GCC which causes the
4471 # driver to exit successfully when the appropriate language module
4472 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4473 # Therefore we must check for the error message as well as an
4474 # unsuccessful exit.
4475 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4476 # given a .adb file, but produce no object file. So we must check
4477 # if an object file was really produced to guard against this.
4478 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4479 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4480 acx_cv_cc_gcc_supports_ada
=yes
4484 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4485 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4487 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4493 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4494 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4495 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4501 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4502 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4505 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4508 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4509 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4512 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4518 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4519 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4520 do_compare
="$gcc_cv_prog_cmp_skip"
4524 # See if we are building gcc with C++.
4525 # Check whether --enable-build-with-cxx or --disable-build-with-cxx was given.
4526 if test "${enable_build_with_cxx+set}" = set; then
4527 enableval
="$enable_build_with_cxx"
4528 ENABLE_BUILD_WITH_CXX
=$enableval
4530 ENABLE_BUILD_WITH_CXX
=no
4533 # Check for GMP, MPFR and MPC
4534 gmplibs
="-lmpfr -lgmp"
4541 # Specify a location for mpc
4542 # check for this first so it ends up on the link line before mpfr.
4544 # Check whether --with-mpc or --without-mpc was given.
4545 if test "${with_mpc+set}" = set; then
4550 # Check whether --with-mpc_include or --without-mpc_include was given.
4551 if test "${with_mpc_include+set}" = set; then
4552 withval
="$with_mpc_include"
4556 # Check whether --with-mpc_lib or --without-mpc_lib was given.
4557 if test "${with_mpc_lib+set}" = set; then
4558 withval
="$with_mpc_lib"
4562 if test "x$with_mpc" != x
; then
4563 mpclibs
="-L$with_mpc/lib -lmpc"
4564 mpcinc
="-I$with_mpc/include $mpcinc"
4566 if test "x$with_mpc_include" != x
; then
4567 mpcinc
="-I$with_mpc_include $mpcinc"
4569 if test "x$with_mpc_lib" != x
; then
4570 mpclibs
="-L$with_mpc_lib -lmpc"
4572 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
4573 mpclibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
4574 mpcinc
='-I$$s/mpc/src '"$mpcinc"
4575 # Do not test the mpc version. Assume that it is sufficient, since
4576 # it is in the source tree, and the library has not been built yet
4577 # but it would be included on the link line in the version check below
4578 # hence making the test fail.
4582 # Specify a location for mpfr
4583 # check for this first so it ends up on the link line before gmp.
4585 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4586 if test "${with_mpfr_dir+set}" = set; then
4587 withval
="$with_mpfr_dir"
4588 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4589 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4590 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4591 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4592 { (exit 1); exit 1; }; }
4596 # Check whether --with-mpfr or --without-mpfr was given.
4597 if test "${with_mpfr+set}" = set; then
4598 withval
="$with_mpfr"
4602 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4603 if test "${with_mpfr_include+set}" = set; then
4604 withval
="$with_mpfr_include"
4608 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4609 if test "${with_mpfr_lib+set}" = set; then
4610 withval
="$with_mpfr_lib"
4614 if test "x$with_mpfr" != x
; then
4615 gmplibs
="-L$with_mpfr/lib $gmplibs"
4616 gmpinc
="-I$with_mpfr/include"
4618 if test "x$with_mpfr_include" != x
; then
4619 gmpinc
="-I$with_mpfr_include"
4621 if test "x$with_mpfr_lib" != x
; then
4622 gmplibs
="-L$with_mpfr_lib $gmplibs"
4624 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4625 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4626 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4627 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr'
4628 # Do not test the mpfr version. Assume that it is sufficient, since
4629 # it is in the source tree, and the library has not been built yet
4630 # but it would be included on the link line in the version check below
4631 # hence making the test fail.
4635 # Specify a location for gmp
4637 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4638 if test "${with_gmp_dir+set}" = set; then
4639 withval
="$with_gmp_dir"
4640 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4641 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4642 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4643 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4644 { (exit 1); exit 1; }; }
4648 # Check whether --with-gmp or --without-gmp was given.
4649 if test "${with_gmp+set}" = set; then
4654 # Check whether --with-gmp_include or --without-gmp_include was given.
4655 if test "${with_gmp_include+set}" = set; then
4656 withval
="$with_gmp_include"
4660 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4661 if test "${with_gmp_lib+set}" = set; then
4662 withval
="$with_gmp_lib"
4667 if test "x$with_gmp" != x
; then
4668 gmplibs
="-L$with_gmp/lib $gmplibs"
4669 gmpinc
="-I$with_gmp/include $gmpinc"
4671 if test "x$with_gmp_include" != x
; then
4672 gmpinc
="-I$with_gmp_include $gmpinc"
4674 if test "x$with_gmp_lib" != x
; then
4675 gmplibs
="-L$with_gmp_lib $gmplibs"
4677 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4678 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4679 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4680 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
4681 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
4682 # Do not test the gmp version. Assume that it is sufficient, since
4683 # it is in the source tree, and the library has not been built yet
4684 # but it would be included on the link line in the version check below
4685 # hence making the test fail.
4689 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4691 saved_CFLAGS
="$CFLAGS"
4692 CFLAGS
="$CFLAGS $gmpinc"
4693 # Check GMP actually works
4694 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4695 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4708 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
4716 rm -f conftest.
$ac_objext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 (eval $ac_compile) 2>conftest.er1
4720 grep -v '^ *+' conftest.er1
>conftest.err
4722 cat conftest.err
>&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try
='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try
='test -s conftest.$ac_objext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.
$ac_ext >&5
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6; have_gmp
=no
4747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4749 # If we have GMP, check the MPFR version.
4750 if test x
"$have_gmp" = xyes
; then
4751 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4752 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4753 cat >conftest.
$ac_ext <<_ACEOF
4756 cat confdefs.h
>>conftest.
$ac_ext
4757 cat >>conftest.
$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4765 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4773 rm -f conftest.
$ac_objext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>conftest.er1
4777 grep -v '^ *+' conftest.er1
>conftest.err
4779 cat conftest.err
>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } &&
4782 { ac_try
='test -z "$ac_c_werror_flag"
4783 || test ! -s conftest.err'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; } &&
4789 { ac_try
='test -s conftest.$ac_objext'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; }; then
4795 cat >conftest.
$ac_ext <<_ACEOF
4798 cat confdefs.h
>>conftest.
$ac_ext
4799 cat >>conftest.
$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4807 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4815 rm -f conftest.
$ac_objext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4817 (eval $ac_compile) 2>conftest.er1
4819 grep -v '^ *+' conftest.er1
>conftest.err
4821 cat conftest.err
>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try
='test -z "$ac_c_werror_flag"
4825 || test ! -s conftest.err'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; } &&
4831 { ac_try
='test -s conftest.$ac_objext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4844 echo "${ECHO_T}buggy but acceptable" >&6
4846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6; have_gmp
=no
4854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 # Check for the MPC header version.
4858 if test x
"$have_mpc" != xyes
; then
4859 CFLAGS
="$CFLAGS $mpcinc"
4860 echo "$as_me:$LINENO: checking for the correct version of mpc.h" >&5
4861 echo $ECHO_N "checking for the correct version of mpc.h... $ECHO_C" >&6
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4873 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
4881 rm -f conftest.
$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag"
4891 || test ! -s conftest.err'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; } &&
4897 { ac_try
='test -s conftest.$ac_objext'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; }; then
4903 echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; have_mpc
=maybe
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
4912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 # Now check the MPFR library.
4916 if test x
"$have_gmp" = xyes
; then
4918 LIBS
="$LIBS $gmplibs"
4919 echo "$as_me:$LINENO: checking for the correct version of the gmp/mpfr libraries" >&5
4920 echo $ECHO_N "checking for the correct version of the gmp/mpfr libraries... $ECHO_C" >&6
4921 cat >conftest.
$ac_ext <<_ACEOF
4924 cat confdefs.h
>>conftest.
$ac_ext
4925 cat >>conftest.
$ac_ext <<_ACEOF
4926 /* end confdefs.h. */
4938 mpfr_atan2 (n, n, x, GMP_RNDN);
4939 mpfr_erfc (n, x, GMP_RNDN);
4940 mpfr_subnormalize (x, t, GMP_RNDN);
4946 rm -f conftest.
$ac_objext conftest
$ac_exeext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4948 (eval $ac_link) 2>conftest.er1
4950 grep -v '^ *+' conftest.er1
>conftest.err
4952 cat conftest.err
>&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } &&
4955 { ac_try
='test -z "$ac_c_werror_flag"
4956 || test ! -s conftest.err'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; } &&
4962 { ac_try
='test -s conftest$ac_exeext'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; }; then
4968 echo "$as_me:$LINENO: result: yes" >&5
4969 echo "${ECHO_T}yes" >&6
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.
$ac_ext >&5
4974 echo "$as_me:$LINENO: result: no" >&5
4975 echo "${ECHO_T}no" >&6; have_gmp
=no
4977 rm -f conftest.err conftest.
$ac_objext \
4978 conftest
$ac_exeext conftest.
$ac_ext
4982 if test x
"$have_mpc" = xmaybe
; then
4984 LIBS
="$LIBS $mpclibs $gmplibs"
4985 echo "$as_me:$LINENO: checking for the correct version of the mpc library" >&5
4986 echo $ECHO_N "checking for the correct version of the mpc library... $ECHO_C" >&6
4987 cat >conftest.
$ac_ext <<_ACEOF
4990 cat confdefs.h
>>conftest.
$ac_ext
4991 cat >>conftest.
$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
5000 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5001 mpc_sin (n, n, MPC_RNDNN);
5002 mpc_cos (n, n, MPC_RNDNN);
5003 mpc_tan (n, n, MPC_RNDNN);
5004 mpc_sinh (n, n, MPC_RNDNN);
5005 mpc_cosh (n, n, MPC_RNDNN);
5006 mpc_tanh (n, n, MPC_RNDNN);
5007 mpc_exp (n, n, MPC_RNDNN);
5008 mpc_log (n, n, MPC_RNDNN);
5009 mpc_sqrt (n, n, MPC_RNDNN);
5010 mpc_proj (n, n, MPC_RNDNN);
5011 mpc_neg (n, n, MPC_RNDNN);
5012 mpc_sqr (n, n, MPC_RNDNN);
5019 rm -f conftest.
$ac_objext conftest
$ac_exeext
5020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5021 (eval $ac_link) 2>conftest.er1
5023 grep -v '^ *+' conftest.er1
>conftest.err
5025 cat conftest.err
>&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try
='test -z "$ac_c_werror_flag"
5029 || test ! -s conftest.err'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try
='test -s conftest$ac_exeext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6; have_mpc
=yes
5044 echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.
$ac_ext >&5
5047 echo "$as_me:$LINENO: result: no" >&5
5048 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
5050 rm -f conftest.err conftest.
$ac_objext \
5051 conftest
$ac_exeext conftest.
$ac_ext
5055 CFLAGS
="$saved_CFLAGS"
5057 if test x
$have_gmp != xyes
; then
5058 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5059 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5060 Copies of these libraries' source code can be found at their respective
5061 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5062 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5063 If you obtained GMP and/or MPFR from a vendor distribution package, make
5064 sure that you have installed both the libraries and the header files.
5065 They may be located in separate packages." >&5
5066 echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5067 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5068 Copies of these libraries' source code can be found at their respective
5069 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5070 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5071 If you obtained GMP and/or MPFR from a vendor distribution package, make
5072 sure that you have installed both the libraries and the header files.
5073 They may be located in separate packages." >&2;}
5074 { (exit 1); exit 1; }; }
5078 if test x
$have_mpc != xyes
; then
5083 gmpinc
="$mpcinc $gmpinc"
5084 gmplibs
="$mpclibs $gmplibs"
5086 # Flags needed for both GMP, MPFR and/or MPC.
5093 # Allow host libstdc++ to be specified for static linking with PPL.
5095 # Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
5096 if test "${with_host_libstdcxx+set}" = set; then
5097 withval
="$with_host_libstdcxx"
5101 case $with_host_libstdcxx in
5103 { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
5104 echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
5105 { (exit 1); exit 1; }; }
5109 # Linker flags to use for stage1 or when not boostrapping.
5111 # Check whether --with-stage1-ldflags or --without-stage1-ldflags was given.
5112 if test "${with_stage1_ldflags+set}" = set; then
5113 withval
="$with_stage1_ldflags"
5114 if test "$withval" = "no" -o "$withval" = "yes"; then
5117 stage1_ldflags
=$withval
5124 # Libraries to use for stage1 or when not bootstrapping.
5126 # Check whether --with-stage1-libs or --without-stage1-libs was given.
5127 if test "${with_stage1_libs+set}" = set; then
5128 withval
="$with_stage1_libs"
5129 if test "$withval" = "no" -o "$withval" = "yes"; then
5132 stage1_libs
=$withval
5135 stage1_libs
=$with_host_libstdcxx
5139 # Linker flags to use for stage2 and later builds.
5141 # Check whether --with-boot-ldflags or --without-boot-ldflags was given.
5142 if test "${with_boot_ldflags+set}" = set; then
5143 withval
="$with_boot_ldflags"
5144 if test "$withval" = "no" -o "$withval" = "yes"; then
5147 poststage1_ldflags
=$withval
5150 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5151 poststage1_ldflags
=-static-libstdc++
5158 # Libraries to use for stage2 and later builds. This defaults to the
5159 # argument passed to --with-host-libstdcxx.
5161 # Check whether --with-boot-libs or --without-boot-libs was given.
5162 if test "${with_boot_libs+set}" = set; then
5163 withval
="$with_boot_libs"
5164 if test "$withval" = "no" -o "$withval" = "yes"; then
5167 poststage1_libs
=$withval
5170 poststage1_libs
=$with_host_libstdcxx
5176 ppl_minor_version
=10
5177 ppllibs
=" -lppl_c -lppl -lgmpxx"
5181 # Check whether --with-ppl or --without-ppl was given.
5182 if test "${with_ppl+set}" = set; then
5189 # Check whether --with-ppl_include or --without-ppl_include was given.
5190 if test "${with_ppl_include+set}" = set; then
5191 withval
="$with_ppl_include"
5195 # Check whether --with-ppl_lib or --without-ppl_lib was given.
5196 if test "${with_ppl_lib+set}" = set; then
5197 withval
="$with_ppl_lib"
5206 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5207 pplinc
="-I$with_ppl/include $pplinc"
5208 LIBS
="$ppllibs $LIBS"
5211 if test "x$with_ppl_include" != x
; then
5212 pplinc
="-I$with_ppl_include $pplinc"
5214 if test "x$with_ppl_lib" != x
; then
5215 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5216 LIBS
="$ppllibs $LIBS"
5218 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5219 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5220 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5221 LIBS
="$ppllibs $LIBS"
5224 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
5225 if test "${enable_ppl_version_check+set}" = set; then
5226 enableval
="$enable_ppl_version_check"
5227 ENABLE_PPL_CHECK
=$enableval
5229 ENABLE_PPL_CHECK
=yes
5232 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5233 saved_CFLAGS
="$CFLAGS"
5234 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5235 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5236 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
5237 cat >conftest.
$ac_ext <<_ACEOF
5240 cat confdefs.h
>>conftest.
$ac_ext
5241 cat >>conftest.
$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5248 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5256 rm -f conftest.
$ac_objext
5257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5258 (eval $ac_compile) 2>conftest.er1
5260 grep -v '^ *+' conftest.er1
>conftest.err
5262 cat conftest.err
>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } &&
5265 { ac_try
='test -z "$ac_c_werror_flag"
5266 || test ! -s conftest.err'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try
='test -s conftest.$ac_objext'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; }; then
5278 echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.
$ac_ext >&5
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
5287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5288 CFLAGS
="$saved_CFLAGS"
5291 # Flags needed for PPL
5297 clooglibs
=" -lcloog "
5298 clooginc
=" -DCLOOG_PPL_BACKEND "
5301 # Check whether --with-cloog or --without-cloog was given.
5302 if test "${with_cloog+set}" = set; then
5303 withval
="$with_cloog"
5309 # Check whether --with-cloog_include or --without-cloog_include was given.
5310 if test "${with_cloog_include+set}" = set; then
5311 withval
="$with_cloog_include"
5315 # Check whether --with-cloog_lib or --without-cloog_lib was given.
5316 if test "${with_cloog_lib+set}" = set; then
5317 withval
="$with_cloog_lib"
5327 clooglibs
="-L$with_cloog/lib -lcloog"
5328 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5329 LIBS
="$clooglibs $LIBS"
5332 if test "x$with_cloog_include" != x
; then
5333 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5335 if test "x$with_cloog_lib" != x
; then
5336 clooglibs
="-L$with_cloog_lib -lcloog"
5337 LIBS
="$clooglibs $LIBS"
5339 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5340 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5341 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5342 LIBS
="$clooglibs $LIBS"
5345 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5346 if test "${enable_cloog_version_check+set}" = set; then
5347 enableval
="$enable_cloog_version_check"
5348 ENABLE_CLOOG_CHECK
=$enableval
5350 ENABLE_CLOOG_CHECK
=yes
5353 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5354 saved_CFLAGS
="$CFLAGS"
5355 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5356 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5357 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5364 #include "cloog/cloog.h"
5369 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5377 rm -f conftest.
$ac_objext
5378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5379 (eval $ac_compile) 2>conftest.er1
5381 grep -v '^ *+' conftest.er1
>conftest.err
5383 cat conftest.err
>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } &&
5386 { ac_try
='test -z "$ac_c_werror_flag"
5387 || test ! -s conftest.err'
5388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }; } &&
5393 { ac_try
='test -s conftest.$ac_objext'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.
$ac_ext >&5
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5409 CFLAGS
="$saved_CFLAGS"
5412 # Flags needed for CLOOG
5417 # By default, C is the only stage 1 language.
5418 stage1_languages
=,c
,
5420 # Target libraries that we bootstrap.
5421 bootstrap_target_libs
=,target-libgcc
,
5423 # Figure out what language subdirectories are present.
5424 # Look if the user specified --enable-languages="..."; if not, use
5425 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5427 # NB: embedded tabs in this IF block -- do not untabify
5428 if test -d ${srcdir}/gcc
; then
5429 if test x
"${enable_languages+set}" != xset
; then
5430 if test x
"${LANGUAGES+set}" = xset
; then
5431 enable_languages
="${LANGUAGES}"
5432 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5434 enable_languages
=all
5437 if test x
"${enable_languages}" = x ||
5438 test x
"${enable_languages}" = xyes
;
5440 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5444 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5446 # 'f95' is the old name for the 'fortran' language. We issue a warning
5447 # and make the substitution.
5448 case ,${enable_languages}, in
5450 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5451 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5455 # First scan to see if an enabled language requires some other language.
5456 # We assume that a given config-lang.in will list all the language
5457 # front ends it requires, even if some are required indirectly.
5458 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5459 case ${lang_frag} in
5461 # The odd quoting in the next line works around
5462 # an apparent bug in bash 1.12 on linux.
5463 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5465 # From the config-lang.in, get $language, $lang_requires
5469 for other
in ${lang_requires} ; do
5470 case ,${enable_languages}, in
5474 echo " \`$other' language required by \`$language'; enabling" 1>&2
5475 enable_languages
="${enable_languages},${other}"
5483 new_enable_languages
=,c
,
5484 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5485 potential_languages
=,c
,
5487 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5488 case ${lang_frag} in
5490 # The odd quoting in the next line works around
5491 # an apparent bug in bash 1.12 on linux.
5492 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5494 # From the config-lang.in, get $language, $target_libs,
5495 # $lang_dirs, $boot_language, and $build_by_default
5501 build_by_default
=yes
5503 if test x
${language} = x
; then
5504 echo "${lang_frag} doesn't set \$language." 1>&2
5508 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5512 case ,${enable_languages}, in
5514 # Language was explicitly selected; include it.
5518 # 'all' was selected, select it if it is a default language
5519 add_this_lang
=${build_by_default}
5526 # Disable languages that need other directories if these aren't available.
5527 for i
in $subdir_requires; do
5528 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5529 case ,${enable_languages}, in
5531 # Specifically requested language; tell them.
5532 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5533 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5534 { (exit 1); exit 1; }; }
5538 add_this_lang
=unsupported
5543 # Disable Ada if no preexisting GNAT is available.
5544 case ,${enable_languages},:${language}:${have_gnat} in
5545 *,${language},*:ada
:no
)
5546 # Specifically requested language; tell them.
5547 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5548 echo "$as_me: error: GNAT is required to build $language" >&2;}
5549 { (exit 1); exit 1; }; }
5553 add_this_lang
=unsupported
5557 # Disable a language that is unsupported by the target.
5558 case " $unsupported_languages " in
5560 add_this_lang
=unsupported
5564 case $add_this_lang in
5566 # Remove language-dependent dirs.
5567 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5570 # Remove language-dependent dirs; still show language as supported.
5571 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5572 potential_languages
="${potential_languages}${language},"
5575 new_enable_languages
="${new_enable_languages}${language},"
5576 potential_languages
="${potential_languages}${language},"
5577 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5578 case ${boot_language} in
5580 # Add to (comma-separated) list of stage 1 languages.
5581 stage1_languages
="${stage1_languages}${language},"
5582 # We need to bootstrap any supporting libraries.
5583 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
5592 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5593 if test "${enable_stage1_languages+set}" = set; then
5594 enableval
="$enable_stage1_languages"
5595 case ,${enable_stage1_languages}, in
5597 # Set it to something that will have no effect in the loop below
5598 enable_stage1_languages
=c
;;
5600 enable_stage1_languages
=`echo $new_enable_languages | \
5601 sed -e "s/^,//" -e "s/,$//" ` ;;
5603 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5604 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5607 # Add "good" languages from enable_stage1_languages to stage1_languages,
5608 # while "bad" languages go in missing_languages. Leave no duplicates.
5609 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5610 case $potential_languages in
5612 case $stage1_languages in
5614 *) stage1_languages
="$stage1_languages$i," ;;
5617 case $missing_languages in
5619 *) missing_languages
="$missing_languages$i," ;;
5625 # Remove leading/trailing commas that were added for simplicity
5626 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5627 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5628 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5629 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5631 if test "x$missing_languages" != x
; then
5632 { { echo "$as_me:$LINENO: error:
5633 The following requested languages could not be built: ${missing_languages}
5634 Supported languages are: ${potential_languages}" >&5
5635 echo "$as_me: error:
5636 The following requested languages could not be built: ${missing_languages}
5637 Supported languages are: ${potential_languages}" >&2;}
5638 { (exit 1); exit 1; }; }
5640 if test "x$new_enable_languages" != "x$enable_languages"; then
5641 echo The following languages will be built
: ${new_enable_languages}
5642 enable_languages
="$new_enable_languages"
5646 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5649 # Handle --disable-<component> generically.
5650 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5651 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5652 varname
=`echo $dirname | sed -e s/+/_/g`
5653 if eval test x\
${enable_${varname}} "=" xno
; then
5654 noconfigdirs
="$noconfigdirs $dir"
5658 # Check for Boehm's garbage collector
5659 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5660 if test "${enable_objc_gc+set}" = set; then
5661 enableval
="$enable_objc_gc"
5662 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5663 *,objc
,*:*:yes:*target-boehm-gc
*)
5664 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5665 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5666 { (exit 1); exit 1; }; }
5671 # Make sure we only build Boehm's garbage collector if required.
5672 case ,${enable_languages},:${enable_objc_gc} in
5674 # Keep target-boehm-gc if requested for Objective-C.
5677 # Otherwise remove target-boehm-gc depending on target-libjava.
5678 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5679 noconfigdirs
="$noconfigdirs target-boehm-gc"
5684 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5685 # $build_configdirs and $target_configdirs.
5686 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5689 for dir
in .
$skipdirs $noconfigdirs ; do
5690 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5691 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5692 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5693 if test -r $srcdir/$dirname/configure
; then
5694 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5697 notsupp
="$notsupp $dir"
5701 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5702 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5703 if test -r $srcdir/$dirname/configure
; then
5704 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5707 notsupp
="$notsupp $dir"
5711 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5712 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5713 if test -r $srcdir/$dirname/configure
; then
5714 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5717 notsupp
="$notsupp $dir"
5723 # Sometimes the tools are distributed with libiberty but with no other
5724 # libraries. In that case, we don't want to build target-libiberty.
5725 # Don't let libgcc imply libiberty either.
5726 if test -n "${target_configdirs}" ; then
5729 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5730 if test "$i" = "libgcc"; then
5731 libgcc
=target-libgcc
5732 elif test "$i" != "libiberty" ; then
5733 if test -r $srcdir/$i/configure
; then
5739 if test -z "${others}" ; then
5740 target_configdirs
=$libgcc
5744 # Quietly strip out all directories which aren't configurable in this tree.
5745 # This relies on all configurable subdirectories being autoconfiscated, which
5747 build_configdirs_all
="$build_configdirs"
5749 for i
in ${build_configdirs_all} ; do
5750 j
=`echo $i | sed -e s/build-//g`
5751 if test -f ${srcdir}/$j/configure
; then
5752 build_configdirs
="${build_configdirs} $i"
5756 configdirs_all
="$configdirs"
5758 for i
in ${configdirs_all} ; do
5759 if test -f ${srcdir}/$i/configure
; then
5760 configdirs
="${configdirs} $i"
5764 target_configdirs_all
="$target_configdirs"
5766 for i
in ${target_configdirs_all} ; do
5767 j
=`echo $i | sed -e s/target-//g`
5768 if test -f ${srcdir}/$j/configure
; then
5769 target_configdirs
="${target_configdirs} $i"
5773 # Produce a warning message for the subdirs we can't configure.
5774 # This isn't especially interesting in the Cygnus tree, but in the individual
5775 # FSF releases, it's important to let people know when their machine isn't
5776 # supported by the one or two programs in a package.
5778 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5779 # If $appdirs is non-empty, at least one of those directories must still
5780 # be configured, or we error out. (E.g., if the gas release supports a
5781 # specified target in some subdirs but not the gas subdir, we shouldn't
5782 # pretend that all is well.)
5783 if test -n "$appdirs" ; then
5784 for dir
in $appdirs ; do
5785 if test -r $dir/Makefile.
in ; then
5786 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5790 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5796 if test -n "$appdirs" ; then
5797 echo "*** This configuration is not supported by this package." 1>&2
5801 # Okay, some application will build, or we don't care to check. Still
5802 # notify of subdirs not getting built.
5803 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5804 echo " ${notsupp}" 1>&2
5805 echo " (Any other directories should still work fine.)" 1>&2
5813 # To find our prefix, in gcc_cv_tool_prefix.
5815 # The user is always right.
5816 if test "${PATH_SEPARATOR+set}" != set; then
5817 echo "#! /bin/sh" >conf$$.sh
5818 echo "exit 0" >>conf$$.sh
5820 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5830 if test "x$exec_prefix" = xNONE
; then
5831 if test "x$prefix" = xNONE
; then
5832 gcc_cv_tool_prefix
=$ac_default_prefix
5834 gcc_cv_tool_prefix
=$prefix
5837 gcc_cv_tool_prefix
=$exec_prefix
5840 # If there is no compiler in the tree, use the PATH only. In any
5841 # case, if there is no compiler in the tree nobody should use
5842 # AS_FOR_TARGET and LD_FOR_TARGET.
5843 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5844 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5845 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5846 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5847 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5848 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5849 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5850 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5855 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5856 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5864 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5865 if test "${with_build_sysroot+set}" = set; then
5866 withval
="$with_build_sysroot"
5867 if test x
"$withval" != x
; then
5868 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5871 SYSROOT_CFLAGS_FOR_TARGET
=
5876 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5877 if test "${with_debug_prefix_map+set}" = set; then
5878 withval
="$with_debug_prefix_map"
5879 if test x
"$withval" != x
; then
5880 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5881 for debug_map
in $withval; do
5882 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5886 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5890 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5891 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5892 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5893 # We want to ensure that TARGET libraries (which we know are built with
5894 # gcc) are built with "-O2 -g", so include those options when setting
5895 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5896 if test "x$CFLAGS_FOR_TARGET" = x
; then
5897 CFLAGS_FOR_TARGET
=$CFLAGS
5900 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5903 *" -g "* |
*" -g3 "*) ;;
5904 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5909 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5910 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5911 case " $CXXFLAGS " in
5913 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5915 case " $CXXFLAGS " in
5916 *" -g "* |
*" -g3 "*) ;;
5917 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5922 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5923 # the named directory are copied to $(tooldir)/sys-include.
5924 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5925 if test x
${is_cross_compiler} = xno
; then
5926 echo 1>&2 '***' --with-headers is only supported when cross compiling
5929 if test x
"${with_headers}" != xyes
; then
5930 x
=${gcc_cv_tool_prefix}
5931 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5935 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5936 # the name directories are copied to $(tooldir)/lib. Multiple directories
5938 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5939 if test x
${is_cross_compiler} = xno
; then
5940 echo 1>&2 '***' --with-libs is only supported when cross compiling
5943 if test x
"${with_libs}" != xyes
; then
5944 # Copy the libraries in reverse order, so that files in the first named
5945 # library override files in subsequent libraries.
5946 x
=${gcc_cv_tool_prefix}
5947 for l
in ${with_libs}; do
5948 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5953 # Set with_gnu_as and with_gnu_ld as appropriate.
5955 # This is done by determining whether or not the appropriate directory
5956 # is available, and by checking whether or not specific configurations
5957 # have requested that this magic not happen.
5959 # The command line options always override the explicit settings in
5960 # configure.in, and the settings in configure.in override this magic.
5962 # If the default for a toolchain is to use GNU as and ld, and you don't
5963 # want to do that, then you should use the --without-gnu-as and
5964 # --without-gnu-ld options for the configure script.
5966 if test x
${use_gnu_as} = x
&&
5967 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5969 extra_host_args
="$extra_host_args --with-gnu-as"
5972 if test x
${use_gnu_ld} = x
&&
5973 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5975 extra_host_args
="$extra_host_args --with-gnu-ld"
5978 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5979 # can detect this case.
5981 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5983 extra_host_args
="$extra_host_args --with-newlib"
5986 # Handle ${copy_dirs}
5987 set fnord
${copy_dirs}
5989 while test $# != 0 ; do
5990 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5993 echo Copying
$1 to
$2
5995 # Use the install script to create the directory and all required
5996 # parent directories.
5997 if test -d $2 ; then
6001 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6004 # Copy the directory, assuming we have tar.
6005 # FIXME: Should we use B in the second tar? Not all systems support it.
6006 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6008 # It is the responsibility of the user to correctly adjust all
6009 # symlinks. If somebody can figure out how to handle them correctly
6010 # here, feel free to add the code.
6017 # Determine a target-dependent exec_prefix that the installed
6018 # gcc will search in. Keep this list sorted by triplet, with
6019 # the *-*-osname triplets last.
6023 md_exec_prefix
=/gnu
/lib
/gcc-lib
6025 i
[34567]86-pc-msdosdjgpp*)
6026 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6028 i
[34567]86-*-sco3.2v5
*)
6029 if test $with_gnu_as = yes; then
6030 md_exec_prefix
=/usr
/gnu
/bin
6032 md_exec_prefix
=/usr
/ccs
/bin
/elf
6037 powerpc-
*-chorusos* | \
6038 powerpc
*-*-eabi* | \
6039 powerpc
*-*-sysv* | \
6040 powerpc
*-*-kaos* | \
6042 md_exec_prefix
=/usr
/ccs
/bin
6047 md_exec_prefix
=/usr
/ccs
/bin
6062 md_exec_prefix
=/usr
/ccs
/bin
6066 extra_arflags_for_target
=
6067 extra_nmflags_for_target
=
6068 extra_ranlibflags_for_target
=
6069 target_makefile_frag
=/dev
/null
6072 target_makefile_frag
="config/mt-mep"
6075 target_makefile_frag
="config/mt-spu"
6078 target_makefile_frag
="config/mt-sde"
6080 mipsisa
*-*-elfoabi*)
6081 target_makefile_frag
="config/mt-mips-elfoabi"
6083 mips
*-*-*linux
* | mips
*-*-gnu*)
6084 target_makefile_frag
="config/mt-mips-gnu"
6087 target_makefile_frag
="config/mt-netware"
6089 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6090 target_makefile_frag
="config/mt-gnu"
6092 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6093 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6094 # commands to handle both 32-bit and 64-bit objects. These flags are
6095 # harmless if we're using GNU nm or ar.
6096 extra_arflags_for_target
=" -X32_64"
6097 extra_nmflags_for_target
=" -B -X32_64"
6100 # ranlib from Darwin requires the -c flag to look at common symbols.
6101 extra_ranlibflags_for_target
=" -c"
6103 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6104 target_makefile_frag
="config/mt-wince"
6108 alphaieee_frag
=/dev
/null
6111 # This just makes sure to use the -mieee option to build target libs.
6112 # This should probably be set individually by each library.
6113 alphaieee_frag
="config/mt-alphaieee"
6117 # If --enable-target-optspace always use -Os instead of -O2 to build
6118 # the target libraries, similarly if it is not specified, use -Os
6119 # on selected platforms.
6120 ospace_frag
=/dev
/null
6121 case "${enable_target_optspace}:${target}" in
6123 ospace_frag
="config/mt-ospace"
6126 ospace_frag
="config/mt-d30v"
6128 :m32r-
* |
:d10v-
* |
:fr30-
*)
6129 ospace_frag
="config/mt-ospace"
6134 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6138 # Default to using --with-stabs for certain targets.
6139 if test x
${with_stabs} = x
; then
6143 mips
*-*-* | alpha
*-*-osf*)
6145 extra_host_args
="${extra_host_args} --with-stabs"
6150 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6151 # them automatically.
6154 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6158 # Some systems (e.g., one of the i386-aix systems the gas testers are
6159 # using) don't handle "\$" correctly, so don't use it here.
6160 tooldir
='${exec_prefix}'/${target_noncanonical}
6161 build_tooldir
=${tooldir}
6163 # Create a .gdbinit file which runs the one in srcdir
6164 # and tells GDB to look there for source files.
6166 if test -r ${srcdir}/.gdbinit
; then
6169 *) cat > .
/.gdbinit
<<EOF
6173 source ${srcdir}/.gdbinit
6179 # Make sure that the compiler is able to generate an executable. If it
6180 # can't, we are probably in trouble. We don't care whether we can run the
6181 # executable--we might be using a cross compiler--we only care whether it
6182 # can be created. At this point the main configure script has set CC.
6184 echo "int main () { return 0; }" > conftest.c
6185 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6186 if test $?
= 0 ; then
6187 if test -s conftest ||
test -s conftest.exe
; then
6193 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6194 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6201 # The Solaris /usr/ucb/cc compiler does not appear to work.
6203 sparc-sun-solaris2
*)
6204 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6205 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6207 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6208 if test -d /opt
/cygnus
/bin
; then
6209 if test "$could_use" = "" ; then
6210 could_use
="/opt/cygnus/bin"
6212 could_use
="$could_use or /opt/cygnus/bin"
6215 if test "$could_use" = "" ; then
6216 echo "Warning: compilation may fail because you're using"
6217 echo "/usr/ucb/cc. You should change your PATH or CC "
6218 echo "variable and rerun configure."
6220 echo "Warning: compilation may fail because you're using"
6221 echo "/usr/ucb/cc, when you should use the C compiler from"
6222 echo "$could_use. You should change your"
6223 echo "PATH or CC variable and rerun configure."
6229 # Decide which environment variable is used to find dynamic libraries.
6231 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6232 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6233 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6234 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6237 # On systems where the dynamic library environment variable is PATH,
6238 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6239 # built executables to PATH.
6240 if test "$RPATH_ENVVAR" = PATH
; then
6241 GCC_SHLIB_SUBDIR
=/shlib
6246 # Record target_configdirs and the configure arguments for target and
6247 # build configuration in Makefile.
6248 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6249 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6251 # Determine whether gdb needs tk/tcl or not.
6252 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6253 # and in that case we want gdb to be built without tk. Ugh!
6254 # In fact I believe gdb is the *only* package directly dependent on tk,
6255 # so we should be able to put the 'maybe's in unconditionally and
6256 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6257 # 100% sure that that's safe though.
6259 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6260 case "$enable_gdbtk" in
6264 GDB_TK
="${gdb_tk}" ;;
6266 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6267 # distro. Eventually someone will fix this and move Insight, nee
6268 # gdbtk to a separate directory.
6269 if test -d ${srcdir}/gdb
/gdbtk
; then
6276 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6277 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6279 # Strip out unwanted targets.
6281 # While at that, we remove Makefiles if we were started for recursive
6282 # configuration, so that the top-level Makefile reconfigures them,
6283 # like we used to do when configure itself was recursive.
6285 # Loop over modules. $extrasub must be used with care, limiting as
6286 # much as possible the usage of range addresses. That's because autoconf
6287 # splits the sed script to overcome limits in the number of commands,
6288 # and relying on carefully-timed sed passes may turn out to be very hard
6289 # to maintain later. In this particular case, you just have to be careful
6290 # not to nest @if/@endif pairs, because configure will not warn you at all.
6292 # Check whether --enable-bootstrap or --disable-bootstrap was given.
6293 if test "${enable_bootstrap+set}" = set; then
6294 enableval
="$enable_bootstrap"
6297 enable_bootstrap
=default
6300 # Issue errors and warnings for invalid/strange bootstrap combinations.
6301 case "$configdirs" in
6302 *gcc
*) have_compiler
=yes ;;
6303 *) have_compiler
=no
;;
6306 case "$have_compiler:$host:$target:$enable_bootstrap" in
6309 # Default behavior. Enable bootstrap if we have a compiler
6310 # and we are in a native configuration.
6311 yes:$build:$build:default
)
6312 enable_bootstrap
=yes ;;
6315 enable_bootstrap
=no
;;
6317 # We have a compiler and we are in a native configuration, bootstrap is ok
6318 yes:$build:$build:yes)
6321 # Other configurations, but we have a compiler. Assume the user knows
6324 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
6325 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6328 # No compiler: if they passed --enable-bootstrap explicitly, fail
6330 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
6331 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
6332 { (exit 1); exit 1; }; } ;;
6334 # Fail if wrong command line
6336 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
6337 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
6338 { (exit 1); exit 1; }; }
6342 # Adjust the toplevel makefile according to whether bootstrap was selected.
6343 case "$enable_bootstrap" in
6345 bootstrap_suffix
=bootstrap
;;
6347 bootstrap_suffix
=no-bootstrap
;;
6350 for module
in ${build_configdirs} ; do
6351 if test -z "${no_recursion}" \
6352 && test -f ${build_subdir}/${module}/Makefile
; then
6353 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6354 rm -f ${build_subdir}/${module}/Makefile
6357 /^@if build-$module\$/d
6358 /^@endif build-$module\$/d
6359 /^@if build-$module-$bootstrap_suffix\$/d
6360 /^@endif build-$module-$bootstrap_suffix\$/d"
6362 for module
in ${configdirs} ; do
6363 if test -z "${no_recursion}"; then
6364 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6365 if test -f ${file}; then
6366 echo 1>&2 "*** removing ${file} to force reconfigure"
6373 /^@endif $module\$/d
6374 /^@if $module-$bootstrap_suffix\$/d
6375 /^@endif $module-$bootstrap_suffix\$/d"
6377 for module
in ${target_configdirs} ; do
6378 if test -z "${no_recursion}" \
6379 && test -f ${target_subdir}/${module}/Makefile
; then
6380 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6381 rm -f ${target_subdir}/${module}/Makefile
6384 # We only bootstrap target libraries listed in bootstrap_target_libs.
6385 case $bootstrap_target_libs in
6386 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6387 *) target_bootstrap_suffix
=no-bootstrap
;;
6391 /^@if target-$module\$/d
6392 /^@endif target-$module\$/d
6393 /^@if target-$module-$target_bootstrap_suffix\$/d
6394 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6398 /^@if /,/^@endif /d"
6400 # Create the serialization dependencies. This uses a temporary file.
6402 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6403 if test "${enable_serial_configure+set}" = set; then
6404 enableval
="$enable_serial_configure"
6408 case ${enable_serial_configure} in
6410 enable_serial_build_configure
=yes
6411 enable_serial_host_configure
=yes
6412 enable_serial_target_configure
=yes
6416 # These force 'configure's to be done one at a time, to avoid problems
6417 # with contention over a shared config.cache.
6419 echo '# serdep.tmp' > serdep.tmp
6421 test "x${enable_serial_build_configure}" = xyes
&&
6422 for item
in ${build_configdirs} ; do
6425 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6430 test "x${enable_serial_host_configure}" = xyes
&&
6431 for item
in ${configdirs} ; do
6434 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6439 test "x${enable_serial_target_configure}" = xyes
&&
6440 for item
in ${target_configdirs} ; do
6443 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6447 serialization_dependencies
=serdep.tmp
6450 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6451 # target, nonopt, and variable assignments. These are the ones we
6452 # might not want to pass down to subconfigures. Also strip
6453 # program-prefix, program-suffix, and program-transform-name, so that
6454 # we can pass down a consistent program-transform-name.
6458 eval "set -- $ac_configure_args"
6461 if test X
"$skip_next" = X
"yes"; then
6465 if test X
"$keep_next" = X
"yes"; then
6468 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6470 baseargs
="$baseargs '$ac_arg'"
6475 # Handle separated arguments. Based on the logic generated by
6478 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6479 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6480 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6481 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6507 -program-prefix* | \
6508 -program-suffix* | \
6509 -program-transform-name* )
6510 skip_next
=$separate_arg
6514 # An option. Add it.
6517 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6519 baseargs
="$baseargs '$ac_arg'"
6520 keep_next
=$separate_arg
6523 # Either a variable assignment, or a nonopt (triplet). Don't
6524 # pass it down; let the Makefile handle this.
6529 # Remove the initial space we just introduced and, as these will be
6530 # expanded by make, quote '$'.
6531 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6533 # Add in --program-transform-name, after --program-prefix and
6534 # --program-suffix have been applied to it. Autoconf has already
6535 # doubled dollar signs and backslashes in program_transform_name; we want
6536 # the backslashes un-doubled, and then the entire thing wrapped in single
6537 # quotes, because this will be expanded first by make and then by the shell.
6538 # Also, because we want to override the logic in subdir configure scripts to
6539 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6540 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6541 ${program_transform_name}
6543 gcc_transform_name
=`cat conftestsed.out`
6544 rm -f conftestsed.out
6545 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6546 if test "$silent" = yes; then
6547 baseargs
="$baseargs --silent"
6550 # For the build-side libraries, we just need to pretend we're native,
6551 # and not use the same cache file. Multilibs are neither needed nor
6553 build_configargs
="--cache-file=../config.cache ${baseargs}"
6555 # For host modules, accept cache file option, or specification as blank.
6556 case "${cache_file}" in
6558 cache_file_option
="" ;;
6559 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6560 cache_file_option
="--cache-file=${cache_file}" ;;
6562 cache_file_option
="--cache-file=../${cache_file}" ;;
6565 # Host dirs don't like to share a cache file either, horribly enough.
6566 # This seems to be due to autoconf 2.5x stupidity.
6567 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6569 target_configargs
=${baseargs}
6571 # Passing a --with-cross-host argument lets the target libraries know
6572 # whether they are being built with a cross-compiler or being built
6573 # native. However, it would be better to use other mechanisms to make the
6574 # sorts of decisions they want to make on this basis. Please consider
6575 # this option to be deprecated. FIXME.
6576 if test x
${is_cross_compiler} = xyes
; then
6577 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6580 # Default to --enable-multilib.
6581 if test x
${enable_multilib} = x
; then
6582 target_configargs
="--enable-multilib ${target_configargs}"
6585 # Pass --with-newlib if appropriate. Note that target_configdirs has
6586 # changed from the earlier setting of with_newlib.
6587 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6588 target_configargs
="--with-newlib ${target_configargs}"
6591 # Different target subdirs use different values of certain variables
6592 # (notably CXX). Worse, multilibs use *lots* of different values.
6593 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6594 # it doesn't automatically accept command-line overrides of them.
6595 # This means it's not safe for target subdirs to share a cache file,
6596 # which is disgusting, but there you have it. Hopefully this can be
6597 # fixed in future. It's still worthwhile to use a cache file for each
6598 # directory. I think.
6600 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6601 # We need to pass --target, as newer autoconf's requires consistency
6602 # for target_alias and gcc doesn't manage it consistently.
6603 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6606 case " $target_configdirs " in
6608 case " $target_configargs " in
6609 *" --with-newlib "*)
6612 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' ;;
6615 # If we're not building GCC, don't discard standard headers.
6616 if test -d ${srcdir}/gcc
; then
6617 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6619 if test "${build}" != "${host}"; then
6620 # On Canadian crosses, CC_FOR_TARGET will have already been set
6621 # by `configure', so we won't have an opportunity to add -Bgcc/
6622 # to it. This is right: we don't want to search that directory
6623 # for binaries, but we want the header files in there, so add
6625 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6627 # Someone might think of using the pre-installed headers on
6628 # Canadian crosses, in case the installed compiler is not fully
6629 # compatible with the compiler being built. In this case, it
6630 # would be better to flag an error than risking having
6631 # incompatible object files being constructed. We can't
6632 # guarantee that an error will be flagged, but let's hope the
6633 # compiler will do it, when presented with incompatible header
6638 case "${target}-${is_cross_compiler}" in
6639 i
[3456789]86-*-linux*-no)
6640 # Here host == target, so we don't need to build gcc,
6641 # so we don't want to discard standard headers.
6642 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6645 # If we're building newlib, use its generic headers last, but search
6646 # for any libc-related directories first (so make it the last -B
6648 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6650 # If we're building libgloss, find the startup file, simulator library
6651 # and linker script.
6652 case " $target_configdirs " in
6654 # Look for startup file, simulator library and maybe linker script.
6655 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6656 # Look for libnosys.a in case the target needs it.
6657 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6658 # Most targets have the linker script in the source directory.
6659 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6670 # Can't be handled as Cygwin above since Mingw does not use newlib.
6671 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' ;;
6674 # Allow the user to override the flags for
6675 # our build compiler if desired.
6676 if test x
"${build}" = x
"${host}" ; then
6677 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6678 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6679 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6682 # On Canadian crosses, we'll be searching the right directories for
6683 # the previously-installed cross compiler, so don't bother to add
6684 # flags for directories within the install tree of the compiler
6685 # being built; programs in there won't even run.
6686 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6687 # Search for pre-installed headers if nothing else fits.
6688 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6691 if test "x
${use_gnu_ld}" = x &&
6692 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6693 # Arrange for us to find uninstalled linker scripts.
6694 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6697 # Search for other target-specific linker scripts and such.
6700 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6704 # Makefile fragments.
6705 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6707 eval fragval=\$$frag
6708 if test $fragval != /dev/null; then
6709 eval $frag=${srcdir}/$fragval
6717 # Miscellanea: directories, flags, etc.
6726 # Build module lists & subconfigure args.
6730 # Host module lists & subconfigure args.
6734 # Target module lists & subconfigure args.
6756 # Generate default definitions for YACC, M4, LEX and other programs that run
6757 # on the build machine. These are used if the Makefile can't locate these
6758 # programs in objdir.
6759 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6761 for ac_prog in 'bison -y' byacc yacc
6763 # Extract the first word of "$ac_prog", so it can be a program name with args.
6764 set dummy $ac_prog; ac_word=$2
6765 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6766 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6767 if test "${ac_cv_prog_YACC+set}" = set; then
6768 echo $ECHO_N "(cached
) $ECHO_C" >&6
6770 if test -n "$YACC"; then
6771 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_YACC="$ac_prog"
6781 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6789 YACC=$ac_cv_prog_YACC
6790 if test -n "$YACC"; then
6791 echo "$as_me:$LINENO: result
: $YACC" >&5
6792 echo "${ECHO_T}$YACC" >&6
6794 echo "$as_me:$LINENO: result
: no
" >&5
6795 echo "${ECHO_T}no
" >&6
6798 test -n "$YACC" && break
6800 test -n "$YACC" || YACC="$MISSING bison
-y"
6802 case " $build_configdirs " in
6803 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6804 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6807 for ac_prog in bison
6809 # Extract the first word of "$ac_prog", so it can be a program name with args.
6810 set dummy $ac_prog; ac_word=$2
6811 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6812 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6813 if test "${ac_cv_prog_BISON+set}" = set; then
6814 echo $ECHO_N "(cached
) $ECHO_C" >&6
6816 if test -n "$BISON"; then
6817 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_BISON="$ac_prog"
6827 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6835 BISON=$ac_cv_prog_BISON
6836 if test -n "$BISON"; then
6837 echo "$as_me:$LINENO: result
: $BISON" >&5
6838 echo "${ECHO_T}$BISON" >&6
6840 echo "$as_me:$LINENO: result
: no
" >&5
6841 echo "${ECHO_T}no
" >&6
6844 test -n "$BISON" && break
6846 test -n "$BISON" || BISON="$MISSING bison
"
6848 case " $build_configdirs " in
6849 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6852 for ac_prog in gm4 gnum4 m4
6854 # Extract the first word of "$ac_prog", so it can be a program name with args.
6855 set dummy $ac_prog; ac_word=$2
6856 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6857 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6858 if test "${ac_cv_prog_M4+set}" = set; then
6859 echo $ECHO_N "(cached
) $ECHO_C" >&6
6861 if test -n "$M4"; then
6862 ac_cv_prog_M4="$M4" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_M4="$ac_prog"
6872 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6881 if test -n "$M4"; then
6882 echo "$as_me:$LINENO: result
: $M4" >&5
6883 echo "${ECHO_T}$M4" >&6
6885 echo "$as_me:$LINENO: result
: no
" >&5
6886 echo "${ECHO_T}no
" >&6
6889 test -n "$M4" && break
6891 test -n "$M4" || M4="$MISSING m4"
6893 case " $build_configdirs " in
6894 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6897 for ac_prog in flex lex
6899 # Extract the first word of "$ac_prog", so it can be a program name with args.
6900 set dummy $ac_prog; ac_word=$2
6901 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6902 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6903 if test "${ac_cv_prog_LEX+set}" = set; then
6904 echo $ECHO_N "(cached
) $ECHO_C" >&6
6906 if test -n "$LEX"; then
6907 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_LEX="$ac_prog"
6917 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6926 if test -n "$LEX"; then
6927 echo "$as_me:$LINENO: result
: $LEX" >&5
6928 echo "${ECHO_T}$LEX" >&6
6930 echo "$as_me:$LINENO: result
: no
" >&5
6931 echo "${ECHO_T}no
" >&6
6934 test -n "$LEX" && break
6936 test -n "$LEX" || LEX="$MISSING flex
"
6938 case " $build_configdirs " in
6939 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6940 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6945 # Extract the first word of "$ac_prog", so it can be a program name with args.
6946 set dummy $ac_prog; ac_word=$2
6947 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6948 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6949 if test "${ac_cv_prog_FLEX+set}" = set; then
6950 echo $ECHO_N "(cached
) $ECHO_C" >&6
6952 if test -n "$FLEX"; then
6953 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_FLEX="$ac_prog"
6963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6971 FLEX=$ac_cv_prog_FLEX
6972 if test -n "$FLEX"; then
6973 echo "$as_me:$LINENO: result
: $FLEX" >&5
6974 echo "${ECHO_T}$FLEX" >&6
6976 echo "$as_me:$LINENO: result
: no
" >&5
6977 echo "${ECHO_T}no
" >&6
6980 test -n "$FLEX" && break
6982 test -n "$FLEX" || FLEX="$MISSING flex
"
6984 case " $build_configdirs " in
6985 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6988 for ac_prog in makeinfo
6990 # Extract the first word of "$ac_prog", so it can be a program name with args.
6991 set dummy $ac_prog; ac_word=$2
6992 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6994 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6995 echo $ECHO_N "(cached
) $ECHO_C" >&6
6997 if test -n "$MAKEINFO"; then
6998 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_MAKEINFO="$ac_prog"
7008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7016 MAKEINFO=$ac_cv_prog_MAKEINFO
7017 if test -n "$MAKEINFO"; then
7018 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
7019 echo "${ECHO_T}$MAKEINFO" >&6
7021 echo "$as_me:$LINENO: result
: no
" >&5
7022 echo "${ECHO_T}no
" >&6
7025 test -n "$MAKEINFO" && break
7027 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7029 case " $build_configdirs " in
7030 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7033 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7034 # higher, else we use the "missing
" dummy.
7035 if ${MAKEINFO} --version \
7036 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7039 MAKEINFO="$MISSING makeinfo
"
7045 # FIXME: expect and dejagnu may become build tools?
7047 for ac_prog in expect
7049 # Extract the first word of "$ac_prog", so it can be a program name with args.
7050 set dummy $ac_prog; ac_word=$2
7051 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7052 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7053 if test "${ac_cv_prog_EXPECT+set}" = set; then
7054 echo $ECHO_N "(cached
) $ECHO_C" >&6
7056 if test -n "$EXPECT"; then
7057 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir=.
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_prog_EXPECT="$ac_prog"
7067 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7075 EXPECT=$ac_cv_prog_EXPECT
7076 if test -n "$EXPECT"; then
7077 echo "$as_me:$LINENO: result
: $EXPECT" >&5
7078 echo "${ECHO_T}$EXPECT" >&6
7080 echo "$as_me:$LINENO: result
: no
" >&5
7081 echo "${ECHO_T}no
" >&6
7084 test -n "$EXPECT" && break
7086 test -n "$EXPECT" || EXPECT="expect
"
7088 case " $configdirs " in
7090 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7094 for ac_prog in runtest
7096 # Extract the first word of "$ac_prog", so it can be a program name with args.
7097 set dummy $ac_prog; ac_word=$2
7098 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7099 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7100 if test "${ac_cv_prog_RUNTEST+set}" = set; then
7101 echo $ECHO_N "(cached
) $ECHO_C" >&6
7103 if test -n "$RUNTEST"; then
7104 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7113 ac_cv_prog_RUNTEST="$ac_prog"
7114 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7122 RUNTEST=$ac_cv_prog_RUNTEST
7123 if test -n "$RUNTEST"; then
7124 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
7125 echo "${ECHO_T}$RUNTEST" >&6
7127 echo "$as_me:$LINENO: result
: no
" >&5
7128 echo "${ECHO_T}no
" >&6
7131 test -n "$RUNTEST" && break
7133 test -n "$RUNTEST" || RUNTEST="runtest
"
7135 case " $configdirs " in
7137 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7144 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7145 ncn_target_tool_prefix=
7146 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7150 if test -n "$AR"; then
7152 elif test -n "$ac_cv_prog_AR"; then
7156 if test -n "$ac_cv_prog_AR"; then
7157 for ncn_progname in ar; do
7158 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7159 set dummy ${ncn_progname}; ac_word=$2
7160 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7161 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7162 if test "${ac_cv_prog_AR+set}" = set; then
7163 echo $ECHO_N "(cached
) $ECHO_C" >&6
7165 if test -n "$AR"; then
7166 ac_cv_prog_AR="$AR" # Let the user override the test.
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_AR="${ncn_progname}"
7176 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7185 if test -n "$AR"; then
7186 echo "$as_me:$LINENO: result
: $AR" >&5
7187 echo "${ECHO_T}$AR" >&6
7189 echo "$as_me:$LINENO: result
: no
" >&5
7190 echo "${ECHO_T}no
" >&6
7196 for ncn_progname in ar; do
7197 if test -n "$ncn_tool_prefix"; then
7198 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7199 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7200 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7201 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7202 if test "${ac_cv_prog_AR+set}" = set; then
7203 echo $ECHO_N "(cached
) $ECHO_C" >&6
7205 if test -n "$AR"; then
7206 ac_cv_prog_AR="$AR" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7216 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7225 if test -n "$AR"; then
7226 echo "$as_me:$LINENO: result
: $AR" >&5
7227 echo "${ECHO_T}$AR" >&6
7229 echo "$as_me:$LINENO: result
: no
" >&5
7230 echo "${ECHO_T}no
" >&6
7234 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7236 set dummy ${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_AR+set}" = set; then
7240 echo $ECHO_N "(cached
) $ECHO_C" >&6
7242 if test -n "$AR"; then
7243 ac_cv_prog_AR="$AR" # 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_AR="${ncn_progname}"
7253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7262 if test -n "$AR"; then
7263 echo "$as_me:$LINENO: result
: $AR" >&5
7264 echo "${ECHO_T}$AR" >&6
7266 echo "$as_me:$LINENO: result
: no
" >&5
7267 echo "${ECHO_T}no
" >&6
7271 test -n "$ac_cv_prog_AR" && break
7274 if test -z "$ac_cv_prog_AR" ; then
7276 if test $build = $host ; then
7279 AR="${ncn_tool_prefix}$2"
7285 if test -n "$AS"; then
7287 elif test -n "$ac_cv_prog_AS"; then
7291 if test -n "$ac_cv_prog_AS"; then
7292 for ncn_progname in as; do
7293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7294 set dummy ${ncn_progname}; ac_word=$2
7295 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7296 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7297 if test "${ac_cv_prog_AS+set}" = set; then
7298 echo $ECHO_N "(cached
) $ECHO_C" >&6
7300 if test -n "$AS"; then
7301 ac_cv_prog_AS="$AS" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_AS="${ncn_progname}"
7311 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7320 if test -n "$AS"; then
7321 echo "$as_me:$LINENO: result
: $AS" >&5
7322 echo "${ECHO_T}$AS" >&6
7324 echo "$as_me:$LINENO: result
: no
" >&5
7325 echo "${ECHO_T}no
" >&6
7331 for ncn_progname in as; do
7332 if test -n "$ncn_tool_prefix"; then
7333 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7334 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7335 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7336 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7337 if test "${ac_cv_prog_AS+set}" = set; then
7338 echo $ECHO_N "(cached
) $ECHO_C" >&6
7340 if test -n "$AS"; then
7341 ac_cv_prog_AS="$AS" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7351 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7360 if test -n "$AS"; then
7361 echo "$as_me:$LINENO: result
: $AS" >&5
7362 echo "${ECHO_T}$AS" >&6
7364 echo "$as_me:$LINENO: result
: no
" >&5
7365 echo "${ECHO_T}no
" >&6
7369 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7371 set dummy ${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_AS+set}" = set; then
7375 echo $ECHO_N "(cached
) $ECHO_C" >&6
7377 if test -n "$AS"; then
7378 ac_cv_prog_AS="$AS" # 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_AS="${ncn_progname}"
7388 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7397 if test -n "$AS"; then
7398 echo "$as_me:$LINENO: result
: $AS" >&5
7399 echo "${ECHO_T}$AS" >&6
7401 echo "$as_me:$LINENO: result
: no
" >&5
7402 echo "${ECHO_T}no
" >&6
7406 test -n "$ac_cv_prog_AS" && break
7409 if test -z "$ac_cv_prog_AS" ; then
7411 if test $build = $host ; then
7414 AS="${ncn_tool_prefix}$2"
7420 if test -n "$DLLTOOL"; then
7421 ac_cv_prog_DLLTOOL=$DLLTOOL
7422 elif test -n "$ac_cv_prog_DLLTOOL"; then
7423 DLLTOOL=$ac_cv_prog_DLLTOOL
7426 if test -n "$ac_cv_prog_DLLTOOL"; then
7427 for ncn_progname in dlltool; do
7428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7429 set dummy ${ncn_progname}; ac_word=$2
7430 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7431 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7432 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7433 echo $ECHO_N "(cached
) $ECHO_C" >&6
7435 if test -n "$DLLTOOL"; then
7436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445 ac_cv_prog_DLLTOOL="${ncn_progname}"
7446 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7454 DLLTOOL=$ac_cv_prog_DLLTOOL
7455 if test -n "$DLLTOOL"; then
7456 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7457 echo "${ECHO_T}$DLLTOOL" >&6
7459 echo "$as_me:$LINENO: result
: no
" >&5
7460 echo "${ECHO_T}no
" >&6
7466 for ncn_progname in dlltool; do
7467 if test -n "$ncn_tool_prefix"; then
7468 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7469 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7470 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7471 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7472 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7473 echo $ECHO_N "(cached
) $ECHO_C" >&6
7475 if test -n "$DLLTOOL"; then
7476 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7486 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7494 DLLTOOL=$ac_cv_prog_DLLTOOL
7495 if test -n "$DLLTOOL"; then
7496 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7497 echo "${ECHO_T}$DLLTOOL" >&6
7499 echo "$as_me:$LINENO: result
: no
" >&5
7500 echo "${ECHO_T}no
" >&6
7504 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7505 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7506 set dummy ${ncn_progname}; ac_word=$2
7507 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7509 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7510 echo $ECHO_N "(cached
) $ECHO_C" >&6
7512 if test -n "$DLLTOOL"; then
7513 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_DLLTOOL="${ncn_progname}"
7523 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7531 DLLTOOL=$ac_cv_prog_DLLTOOL
7532 if test -n "$DLLTOOL"; then
7533 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7534 echo "${ECHO_T}$DLLTOOL" >&6
7536 echo "$as_me:$LINENO: result
: no
" >&5
7537 echo "${ECHO_T}no
" >&6
7541 test -n "$ac_cv_prog_DLLTOOL" && break
7544 if test -z "$ac_cv_prog_DLLTOOL" ; then
7546 if test $build = $host ; then
7549 DLLTOOL="${ncn_tool_prefix}$2"
7555 if test -n "$LD"; then
7557 elif test -n "$ac_cv_prog_LD"; then
7561 if test -n "$ac_cv_prog_LD"; then
7562 for ncn_progname in ld; do
7563 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7564 set dummy ${ncn_progname}; ac_word=$2
7565 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7566 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7567 if test "${ac_cv_prog_LD+set}" = set; then
7568 echo $ECHO_N "(cached
) $ECHO_C" >&6
7570 if test -n "$LD"; then
7571 ac_cv_prog_LD="$LD" # Let the user override the test.
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_LD="${ncn_progname}"
7581 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7590 if test -n "$LD"; then
7591 echo "$as_me:$LINENO: result
: $LD" >&5
7592 echo "${ECHO_T}$LD" >&6
7594 echo "$as_me:$LINENO: result
: no
" >&5
7595 echo "${ECHO_T}no
" >&6
7601 for ncn_progname in ld; do
7602 if test -n "$ncn_tool_prefix"; then
7603 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7604 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7605 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7606 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7607 if test "${ac_cv_prog_LD+set}" = set; then
7608 echo $ECHO_N "(cached
) $ECHO_C" >&6
7610 if test -n "$LD"; then
7611 ac_cv_prog_LD="$LD" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7621 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7630 if test -n "$LD"; then
7631 echo "$as_me:$LINENO: result
: $LD" >&5
7632 echo "${ECHO_T}$LD" >&6
7634 echo "$as_me:$LINENO: result
: no
" >&5
7635 echo "${ECHO_T}no
" >&6
7639 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7641 set dummy ${ncn_progname}; ac_word=$2
7642 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7643 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7644 if test "${ac_cv_prog_LD+set}" = set; then
7645 echo $ECHO_N "(cached
) $ECHO_C" >&6
7647 if test -n "$LD"; then
7648 ac_cv_prog_LD="$LD" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_LD="${ncn_progname}"
7658 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7667 if test -n "$LD"; then
7668 echo "$as_me:$LINENO: result
: $LD" >&5
7669 echo "${ECHO_T}$LD" >&6
7671 echo "$as_me:$LINENO: result
: no
" >&5
7672 echo "${ECHO_T}no
" >&6
7676 test -n "$ac_cv_prog_LD" && break
7679 if test -z "$ac_cv_prog_LD" ; then
7681 if test $build = $host ; then
7684 LD="${ncn_tool_prefix}$2"
7690 if test -n "$LIPO"; then
7691 ac_cv_prog_LIPO=$LIPO
7692 elif test -n "$ac_cv_prog_LIPO"; then
7693 LIPO=$ac_cv_prog_LIPO
7696 if test -n "$ac_cv_prog_LIPO"; then
7697 for ncn_progname in lipo; do
7698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7699 set dummy ${ncn_progname}; ac_word=$2
7700 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7701 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7702 if test "${ac_cv_prog_LIPO+set}" = set; then
7703 echo $ECHO_N "(cached
) $ECHO_C" >&6
7705 if test -n "$LIPO"; then
7706 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir=.
7713 for ac_exec_ext in '' $ac_executable_extensions; do
7714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7715 ac_cv_prog_LIPO="${ncn_progname}"
7716 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 LIPO=$ac_cv_prog_LIPO
7725 if test -n "$LIPO"; then
7726 echo "$as_me:$LINENO: result
: $LIPO" >&5
7727 echo "${ECHO_T}$LIPO" >&6
7729 echo "$as_me:$LINENO: result
: no
" >&5
7730 echo "${ECHO_T}no
" >&6
7736 for ncn_progname in lipo; do
7737 if test -n "$ncn_tool_prefix"; then
7738 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7739 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7740 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7741 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7742 if test "${ac_cv_prog_LIPO+set}" = set; then
7743 echo $ECHO_N "(cached
) $ECHO_C" >&6
7745 if test -n "$LIPO"; then
7746 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7755 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7756 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 LIPO=$ac_cv_prog_LIPO
7765 if test -n "$LIPO"; then
7766 echo "$as_me:$LINENO: result
: $LIPO" >&5
7767 echo "${ECHO_T}$LIPO" >&6
7769 echo "$as_me:$LINENO: result
: no
" >&5
7770 echo "${ECHO_T}no
" >&6
7774 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7776 set dummy ${ncn_progname}; ac_word=$2
7777 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7778 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7779 if test "${ac_cv_prog_LIPO+set}" = set; then
7780 echo $ECHO_N "(cached
) $ECHO_C" >&6
7782 if test -n "$LIPO"; then
7783 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 test -z "$as_dir" && as_dir=.
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7792 ac_cv_prog_LIPO="${ncn_progname}"
7793 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7801 LIPO=$ac_cv_prog_LIPO
7802 if test -n "$LIPO"; then
7803 echo "$as_me:$LINENO: result
: $LIPO" >&5
7804 echo "${ECHO_T}$LIPO" >&6
7806 echo "$as_me:$LINENO: result
: no
" >&5
7807 echo "${ECHO_T}no
" >&6
7811 test -n "$ac_cv_prog_LIPO" && break
7814 if test -z "$ac_cv_prog_LIPO" ; then
7816 if test $build = $host ; then
7819 LIPO="${ncn_tool_prefix}$2"
7825 if test -n "$NM"; then
7827 elif test -n "$ac_cv_prog_NM"; then
7831 if test -n "$ac_cv_prog_NM"; then
7832 for ncn_progname in nm; do
7833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7834 set dummy ${ncn_progname}; ac_word=$2
7835 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7837 if test "${ac_cv_prog_NM+set}" = set; then
7838 echo $ECHO_N "(cached
) $ECHO_C" >&6
7840 if test -n "$NM"; then
7841 ac_cv_prog_NM="$NM" # Let the user override the test.
7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir=.
7848 for ac_exec_ext in '' $ac_executable_extensions; do
7849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7850 ac_cv_prog_NM="${ncn_progname}"
7851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7860 if test -n "$NM"; then
7861 echo "$as_me:$LINENO: result
: $NM" >&5
7862 echo "${ECHO_T}$NM" >&6
7864 echo "$as_me:$LINENO: result
: no
" >&5
7865 echo "${ECHO_T}no
" >&6
7871 for ncn_progname in nm; do
7872 if test -n "$ncn_tool_prefix"; then
7873 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7874 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7875 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7876 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7877 if test "${ac_cv_prog_NM+set}" = set; then
7878 echo $ECHO_N "(cached
) $ECHO_C" >&6
7880 if test -n "$NM"; then
7881 ac_cv_prog_NM="$NM" # Let the user override the test.
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7900 if test -n "$NM"; then
7901 echo "$as_me:$LINENO: result
: $NM" >&5
7902 echo "${ECHO_T}$NM" >&6
7904 echo "$as_me:$LINENO: result
: no
" >&5
7905 echo "${ECHO_T}no
" >&6
7909 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7911 set dummy ${ncn_progname}; ac_word=$2
7912 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7913 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7914 if test "${ac_cv_prog_NM+set}" = set; then
7915 echo $ECHO_N "(cached
) $ECHO_C" >&6
7917 if test -n "$NM"; then
7918 ac_cv_prog_NM="$NM" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_NM="${ncn_progname}"
7928 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7937 if test -n "$NM"; then
7938 echo "$as_me:$LINENO: result
: $NM" >&5
7939 echo "${ECHO_T}$NM" >&6
7941 echo "$as_me:$LINENO: result
: no
" >&5
7942 echo "${ECHO_T}no
" >&6
7946 test -n "$ac_cv_prog_NM" && break
7949 if test -z "$ac_cv_prog_NM" ; then
7951 if test $build = $host ; then
7954 NM="${ncn_tool_prefix}$2"
7960 if test -n "$RANLIB"; then
7961 ac_cv_prog_RANLIB=$RANLIB
7962 elif test -n "$ac_cv_prog_RANLIB"; then
7963 RANLIB=$ac_cv_prog_RANLIB
7966 if test -n "$ac_cv_prog_RANLIB"; then
7967 for ncn_progname in ranlib; do
7968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7969 set dummy ${ncn_progname}; ac_word=$2
7970 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7971 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7972 if test "${ac_cv_prog_RANLIB+set}" = set; then
7973 echo $ECHO_N "(cached
) $ECHO_C" >&6
7975 if test -n "$RANLIB"; then
7976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_RANLIB="${ncn_progname}"
7986 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7994 RANLIB=$ac_cv_prog_RANLIB
7995 if test -n "$RANLIB"; then
7996 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7997 echo "${ECHO_T}$RANLIB" >&6
7999 echo "$as_me:$LINENO: result
: no
" >&5
8000 echo "${ECHO_T}no
" >&6
8006 for ncn_progname in ranlib; do
8007 if test -n "$ncn_tool_prefix"; then
8008 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8009 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8010 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8012 if test "${ac_cv_prog_RANLIB+set}" = set; then
8013 echo $ECHO_N "(cached
) $ECHO_C" >&6
8015 if test -n "$RANLIB"; then
8016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8034 RANLIB=$ac_cv_prog_RANLIB
8035 if test -n "$RANLIB"; then
8036 echo "$as_me:$LINENO: result
: $RANLIB" >&5
8037 echo "${ECHO_T}$RANLIB" >&6
8039 echo "$as_me:$LINENO: result
: no
" >&5
8040 echo "${ECHO_T}no
" >&6
8044 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8046 set dummy ${ncn_progname}; ac_word=$2
8047 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8049 if test "${ac_cv_prog_RANLIB+set}" = set; then
8050 echo $ECHO_N "(cached
) $ECHO_C" >&6
8052 if test -n "$RANLIB"; then
8053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_RANLIB="${ncn_progname}"
8063 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8071 RANLIB=$ac_cv_prog_RANLIB
8072 if test -n "$RANLIB"; then
8073 echo "$as_me:$LINENO: result
: $RANLIB" >&5
8074 echo "${ECHO_T}$RANLIB" >&6
8076 echo "$as_me:$LINENO: result
: no
" >&5
8077 echo "${ECHO_T}no
" >&6
8081 test -n "$ac_cv_prog_RANLIB" && break
8084 if test -z "$ac_cv_prog_RANLIB" ; then
8090 if test -n "$STRIP"; then
8091 ac_cv_prog_STRIP=$STRIP
8092 elif test -n "$ac_cv_prog_STRIP"; then
8093 STRIP=$ac_cv_prog_STRIP
8096 if test -n "$ac_cv_prog_STRIP"; then
8097 for ncn_progname in strip; do
8098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8099 set dummy ${ncn_progname}; ac_word=$2
8100 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8101 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8102 if test "${ac_cv_prog_STRIP+set}" = set; then
8103 echo $ECHO_N "(cached
) $ECHO_C" >&6
8105 if test -n "$STRIP"; then
8106 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_STRIP="${ncn_progname}"
8116 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8124 STRIP=$ac_cv_prog_STRIP
8125 if test -n "$STRIP"; then
8126 echo "$as_me:$LINENO: result
: $STRIP" >&5
8127 echo "${ECHO_T}$STRIP" >&6
8129 echo "$as_me:$LINENO: result
: no
" >&5
8130 echo "${ECHO_T}no
" >&6
8136 for ncn_progname in strip; do
8137 if test -n "$ncn_tool_prefix"; then
8138 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8139 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8140 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8141 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8142 if test "${ac_cv_prog_STRIP+set}" = set; then
8143 echo $ECHO_N "(cached
) $ECHO_C" >&6
8145 if test -n "$STRIP"; then
8146 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8156 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8164 STRIP=$ac_cv_prog_STRIP
8165 if test -n "$STRIP"; then
8166 echo "$as_me:$LINENO: result
: $STRIP" >&5
8167 echo "${ECHO_T}$STRIP" >&6
8169 echo "$as_me:$LINENO: result
: no
" >&5
8170 echo "${ECHO_T}no
" >&6
8174 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8176 set dummy ${ncn_progname}; ac_word=$2
8177 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8178 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8179 if test "${ac_cv_prog_STRIP+set}" = set; then
8180 echo $ECHO_N "(cached
) $ECHO_C" >&6
8182 if test -n "$STRIP"; then
8183 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8189 test -z "$as_dir" && as_dir=.
8190 for ac_exec_ext in '' $ac_executable_extensions; do
8191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8192 ac_cv_prog_STRIP="${ncn_progname}"
8193 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8201 STRIP=$ac_cv_prog_STRIP
8202 if test -n "$STRIP"; then
8203 echo "$as_me:$LINENO: result
: $STRIP" >&5
8204 echo "${ECHO_T}$STRIP" >&6
8206 echo "$as_me:$LINENO: result
: no
" >&5
8207 echo "${ECHO_T}no
" >&6
8211 test -n "$ac_cv_prog_STRIP" && break
8214 if test -z "$ac_cv_prog_STRIP" ; then
8220 if test -n "$WINDRES"; then
8221 ac_cv_prog_WINDRES=$WINDRES
8222 elif test -n "$ac_cv_prog_WINDRES"; then
8223 WINDRES=$ac_cv_prog_WINDRES
8226 if test -n "$ac_cv_prog_WINDRES"; then
8227 for ncn_progname in windres; do
8228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8229 set dummy ${ncn_progname}; ac_word=$2
8230 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8231 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8232 if test "${ac_cv_prog_WINDRES+set}" = set; then
8233 echo $ECHO_N "(cached
) $ECHO_C" >&6
8235 if test -n "$WINDRES"; then
8236 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_WINDRES="${ncn_progname}"
8246 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8254 WINDRES=$ac_cv_prog_WINDRES
8255 if test -n "$WINDRES"; then
8256 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8257 echo "${ECHO_T}$WINDRES" >&6
8259 echo "$as_me:$LINENO: result
: no
" >&5
8260 echo "${ECHO_T}no
" >&6
8266 for ncn_progname in windres; do
8267 if test -n "$ncn_tool_prefix"; then
8268 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8269 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8270 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8272 if test "${ac_cv_prog_WINDRES+set}" = set; then
8273 echo $ECHO_N "(cached
) $ECHO_C" >&6
8275 if test -n "$WINDRES"; then
8276 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8285 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8286 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8294 WINDRES=$ac_cv_prog_WINDRES
8295 if test -n "$WINDRES"; then
8296 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8297 echo "${ECHO_T}$WINDRES" >&6
8299 echo "$as_me:$LINENO: result
: no
" >&5
8300 echo "${ECHO_T}no
" >&6
8304 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8306 set dummy ${ncn_progname}; ac_word=$2
8307 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8309 if test "${ac_cv_prog_WINDRES+set}" = set; then
8310 echo $ECHO_N "(cached
) $ECHO_C" >&6
8312 if test -n "$WINDRES"; then
8313 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_WINDRES="${ncn_progname}"
8323 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8331 WINDRES=$ac_cv_prog_WINDRES
8332 if test -n "$WINDRES"; then
8333 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8334 echo "${ECHO_T}$WINDRES" >&6
8336 echo "$as_me:$LINENO: result
: no
" >&5
8337 echo "${ECHO_T}no
" >&6
8341 test -n "$ac_cv_prog_WINDRES" && break
8344 if test -z "$ac_cv_prog_WINDRES" ; then
8346 if test $build = $host ; then
8349 WINDRES="${ncn_tool_prefix}$2"
8355 if test -n "$WINDMC"; then
8356 ac_cv_prog_WINDMC=$WINDMC
8357 elif test -n "$ac_cv_prog_WINDMC"; then
8358 WINDMC=$ac_cv_prog_WINDMC
8361 if test -n "$ac_cv_prog_WINDMC"; then
8362 for ncn_progname in windmc; do
8363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8364 set dummy ${ncn_progname}; ac_word=$2
8365 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8367 if test "${ac_cv_prog_WINDMC+set}" = set; then
8368 echo $ECHO_N "(cached
) $ECHO_C" >&6
8370 if test -n "$WINDMC"; then
8371 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_WINDMC="${ncn_progname}"
8381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 WINDMC=$ac_cv_prog_WINDMC
8390 if test -n "$WINDMC"; then
8391 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8392 echo "${ECHO_T}$WINDMC" >&6
8394 echo "$as_me:$LINENO: result
: no
" >&5
8395 echo "${ECHO_T}no
" >&6
8401 for ncn_progname in windmc; do
8402 if test -n "$ncn_tool_prefix"; then
8403 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8404 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8405 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8406 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8407 if test "${ac_cv_prog_WINDMC+set}" = set; then
8408 echo $ECHO_N "(cached
) $ECHO_C" >&6
8410 if test -n "$WINDMC"; then
8411 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir=.
8418 for ac_exec_ext in '' $ac_executable_extensions; do
8419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8420 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8421 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8429 WINDMC=$ac_cv_prog_WINDMC
8430 if test -n "$WINDMC"; then
8431 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8432 echo "${ECHO_T}$WINDMC" >&6
8434 echo "$as_me:$LINENO: result
: no
" >&5
8435 echo "${ECHO_T}no
" >&6
8439 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8441 set dummy ${ncn_progname}; ac_word=$2
8442 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8443 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8444 if test "${ac_cv_prog_WINDMC+set}" = set; then
8445 echo $ECHO_N "(cached
) $ECHO_C" >&6
8447 if test -n "$WINDMC"; then
8448 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8454 test -z "$as_dir" && as_dir=.
8455 for ac_exec_ext in '' $ac_executable_extensions; do
8456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8457 ac_cv_prog_WINDMC="${ncn_progname}"
8458 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8466 WINDMC=$ac_cv_prog_WINDMC
8467 if test -n "$WINDMC"; then
8468 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8469 echo "${ECHO_T}$WINDMC" >&6
8471 echo "$as_me:$LINENO: result
: no
" >&5
8472 echo "${ECHO_T}no
" >&6
8476 test -n "$ac_cv_prog_WINDMC" && break
8479 if test -z "$ac_cv_prog_WINDMC" ; then
8481 if test $build = $host ; then
8484 WINDMC="${ncn_tool_prefix}$2"
8490 if test -n "$OBJCOPY"; then
8491 ac_cv_prog_OBJCOPY=$OBJCOPY
8492 elif test -n "$ac_cv_prog_OBJCOPY"; then
8493 OBJCOPY=$ac_cv_prog_OBJCOPY
8496 if test -n "$ac_cv_prog_OBJCOPY"; then
8497 for ncn_progname in objcopy; do
8498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8499 set dummy ${ncn_progname}; ac_word=$2
8500 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8501 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8502 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8503 echo $ECHO_N "(cached
) $ECHO_C" >&6
8505 if test -n "$OBJCOPY"; then
8506 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir=.
8513 for ac_exec_ext in '' $ac_executable_extensions; do
8514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8515 ac_cv_prog_OBJCOPY="${ncn_progname}"
8516 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 OBJCOPY=$ac_cv_prog_OBJCOPY
8525 if test -n "$OBJCOPY"; then
8526 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8527 echo "${ECHO_T}$OBJCOPY" >&6
8529 echo "$as_me:$LINENO: result
: no
" >&5
8530 echo "${ECHO_T}no
" >&6
8536 for ncn_progname in objcopy; do
8537 if test -n "$ncn_tool_prefix"; then
8538 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8539 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8540 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8541 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8542 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8543 echo $ECHO_N "(cached
) $ECHO_C" >&6
8545 if test -n "$OBJCOPY"; then
8546 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8555 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8556 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8564 OBJCOPY=$ac_cv_prog_OBJCOPY
8565 if test -n "$OBJCOPY"; then
8566 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8567 echo "${ECHO_T}$OBJCOPY" >&6
8569 echo "$as_me:$LINENO: result
: no
" >&5
8570 echo "${ECHO_T}no
" >&6
8574 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8576 set dummy ${ncn_progname}; ac_word=$2
8577 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8578 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8579 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8580 echo $ECHO_N "(cached
) $ECHO_C" >&6
8582 if test -n "$OBJCOPY"; then
8583 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir=.
8590 for ac_exec_ext in '' $ac_executable_extensions; do
8591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8592 ac_cv_prog_OBJCOPY="${ncn_progname}"
8593 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8601 OBJCOPY=$ac_cv_prog_OBJCOPY
8602 if test -n "$OBJCOPY"; then
8603 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8604 echo "${ECHO_T}$OBJCOPY" >&6
8606 echo "$as_me:$LINENO: result
: no
" >&5
8607 echo "${ECHO_T}no
" >&6
8611 test -n "$ac_cv_prog_OBJCOPY" && break
8614 if test -z "$ac_cv_prog_OBJCOPY" ; then
8616 if test $build = $host ; then
8619 OBJCOPY="${ncn_tool_prefix}$2"
8625 if test -n "$OBJDUMP"; then
8626 ac_cv_prog_OBJDUMP=$OBJDUMP
8627 elif test -n "$ac_cv_prog_OBJDUMP"; then
8628 OBJDUMP=$ac_cv_prog_OBJDUMP
8631 if test -n "$ac_cv_prog_OBJDUMP"; then
8632 for ncn_progname in objdump; do
8633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8634 set dummy ${ncn_progname}; ac_word=$2
8635 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8636 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8637 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8638 echo $ECHO_N "(cached
) $ECHO_C" >&6
8640 if test -n "$OBJDUMP"; then
8641 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_OBJDUMP="${ncn_progname}"
8651 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8659 OBJDUMP=$ac_cv_prog_OBJDUMP
8660 if test -n "$OBJDUMP"; then
8661 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8662 echo "${ECHO_T}$OBJDUMP" >&6
8664 echo "$as_me:$LINENO: result
: no
" >&5
8665 echo "${ECHO_T}no
" >&6
8671 for ncn_progname in objdump; do
8672 if test -n "$ncn_tool_prefix"; then
8673 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8674 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8675 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8676 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8677 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8678 echo $ECHO_N "(cached
) $ECHO_C" >&6
8680 if test -n "$OBJDUMP"; then
8681 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8691 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8699 OBJDUMP=$ac_cv_prog_OBJDUMP
8700 if test -n "$OBJDUMP"; then
8701 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8702 echo "${ECHO_T}$OBJDUMP" >&6
8704 echo "$as_me:$LINENO: result
: no
" >&5
8705 echo "${ECHO_T}no
" >&6
8709 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8711 set dummy ${ncn_progname}; ac_word=$2
8712 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8713 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8714 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8715 echo $ECHO_N "(cached
) $ECHO_C" >&6
8717 if test -n "$OBJDUMP"; then
8718 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724 test -z "$as_dir" && as_dir=.
8725 for ac_exec_ext in '' $ac_executable_extensions; do
8726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8727 ac_cv_prog_OBJDUMP="${ncn_progname}"
8728 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8736 OBJDUMP=$ac_cv_prog_OBJDUMP
8737 if test -n "$OBJDUMP"; then
8738 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8739 echo "${ECHO_T}$OBJDUMP" >&6
8741 echo "$as_me:$LINENO: result
: no
" >&5
8742 echo "${ECHO_T}no
" >&6
8746 test -n "$ac_cv_prog_OBJDUMP" && break
8749 if test -z "$ac_cv_prog_OBJDUMP" ; then
8751 if test $build = $host ; then
8754 OBJDUMP="${ncn_tool_prefix}$2"
8765 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8766 if test "${with_build_time_tools+set}" = set; then
8767 withval="$with_build_time_tools"
8771 with_build_time_tools=
8772 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8773 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8777 with_build_time_tools=
8782 if test -n "$CC_FOR_TARGET"; then
8783 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8784 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8785 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8788 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8789 for ncn_progname in cc gcc; do
8790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8791 set dummy ${ncn_progname}; ac_word=$2
8792 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8793 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8794 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8795 echo $ECHO_N "(cached
) $ECHO_C" >&6
8797 if test -n "$CC_FOR_TARGET"; then
8798 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8807 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8808 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8816 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8817 if test -n "$CC_FOR_TARGET"; then
8818 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8819 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8821 echo "$as_me:$LINENO: result
: no
" >&5
8822 echo "${ECHO_T}no
" >&6
8828 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8829 for ncn_progname in cc gcc; do
8830 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8831 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8832 if test -x $with_build_time_tools/${ncn_progname}; then
8833 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8834 echo "$as_me:$LINENO: result
: yes" >&5
8835 echo "${ECHO_T}yes" >&6
8838 echo "$as_me:$LINENO: result
: no
" >&5
8839 echo "${ECHO_T}no
" >&6
8844 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8845 for ncn_progname in cc gcc; do
8846 if test -n "$ncn_target_tool_prefix"; then
8847 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8848 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8849 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8850 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8851 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8852 echo $ECHO_N "(cached
) $ECHO_C" >&6
8854 if test -n "$CC_FOR_TARGET"; then
8855 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir=.
8862 for ac_exec_ext in '' $ac_executable_extensions; do
8863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8864 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8873 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8874 if test -n "$CC_FOR_TARGET"; then
8875 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8876 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8878 echo "$as_me:$LINENO: result
: no
" >&5
8879 echo "${ECHO_T}no
" >&6
8883 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8885 set dummy ${ncn_progname}; ac_word=$2
8886 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8888 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8889 echo $ECHO_N "(cached
) $ECHO_C" >&6
8891 if test -n "$CC_FOR_TARGET"; then
8892 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir=.
8899 for ac_exec_ext in '' $ac_executable_extensions; do
8900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8901 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8910 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8911 if test -n "$CC_FOR_TARGET"; then
8912 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8913 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8915 echo "$as_me:$LINENO: result
: no
" >&5
8916 echo "${ECHO_T}no
" >&6
8920 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8924 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8926 if test $build = $target ; then
8929 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8932 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8937 if test -n "$CXX_FOR_TARGET"; then
8938 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8939 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8940 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8943 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8944 for ncn_progname in c++ g++ cxx gxx; do
8945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8946 set dummy ${ncn_progname}; ac_word=$2
8947 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8948 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8949 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8950 echo $ECHO_N "(cached
) $ECHO_C" >&6
8952 if test -n "$CXX_FOR_TARGET"; then
8953 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8962 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8971 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8972 if test -n "$CXX_FOR_TARGET"; then
8973 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8974 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8976 echo "$as_me:$LINENO: result
: no
" >&5
8977 echo "${ECHO_T}no
" >&6
8983 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8984 for ncn_progname in c++ g++ cxx gxx; do
8985 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8986 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8987 if test -x $with_build_time_tools/${ncn_progname}; then
8988 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8989 echo "$as_me:$LINENO: result
: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8993 echo "$as_me:$LINENO: result
: no
" >&5
8994 echo "${ECHO_T}no
" >&6
8999 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9000 for ncn_progname in c++ g++ cxx gxx; do
9001 if test -n "$ncn_target_tool_prefix"; then
9002 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9003 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9004 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9005 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9006 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
9007 echo $ECHO_N "(cached
) $ECHO_C" >&6
9009 if test -n "$CXX_FOR_TARGET"; then
9010 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir=.
9017 for ac_exec_ext in '' $ac_executable_extensions; do
9018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9019 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9020 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9028 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9029 if test -n "$CXX_FOR_TARGET"; then
9030 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
9031 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
9033 echo "$as_me:$LINENO: result
: no
" >&5
9034 echo "${ECHO_T}no
" >&6
9038 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9040 set dummy ${ncn_progname}; ac_word=$2
9041 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9043 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
9044 echo $ECHO_N "(cached
) $ECHO_C" >&6
9046 if test -n "$CXX_FOR_TARGET"; then
9047 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9065 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9066 if test -n "$CXX_FOR_TARGET"; then
9067 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
9068 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
9070 echo "$as_me:$LINENO: result
: no
" >&5
9071 echo "${ECHO_T}no
" >&6
9075 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9079 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9080 set dummy c++ g++ cxx gxx
9081 if test $build = $target ; then
9084 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9087 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9092 if test -n "$GCC_FOR_TARGET"; then
9093 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9094 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9095 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9098 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9099 for ncn_progname in gcc; do
9100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9101 set dummy ${ncn_progname}; ac_word=$2
9102 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9103 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9104 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9105 echo $ECHO_N "(cached
) $ECHO_C" >&6
9107 if test -n "$GCC_FOR_TARGET"; then
9108 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114 test -z "$as_dir" && as_dir=.
9115 for ac_exec_ext in '' $ac_executable_extensions; do
9116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9117 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9118 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9126 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9127 if test -n "$GCC_FOR_TARGET"; then
9128 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9129 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9131 echo "$as_me:$LINENO: result
: no
" >&5
9132 echo "${ECHO_T}no
" >&6
9138 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9139 for ncn_progname in gcc; do
9140 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9141 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9142 if test -x $with_build_time_tools/${ncn_progname}; then
9143 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9144 echo "$as_me:$LINENO: result
: yes" >&5
9145 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result
: no
" >&5
9149 echo "${ECHO_T}no
" >&6
9154 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9155 for ncn_progname in gcc; do
9156 if test -n "$ncn_target_tool_prefix"; then
9157 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9158 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9159 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9160 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9161 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9162 echo $ECHO_N "(cached
) $ECHO_C" >&6
9164 if test -n "$GCC_FOR_TARGET"; then
9165 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171 test -z "$as_dir" && as_dir=.
9172 for ac_exec_ext in '' $ac_executable_extensions; do
9173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9174 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9175 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9183 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9184 if test -n "$GCC_FOR_TARGET"; then
9185 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9186 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9188 echo "$as_me:$LINENO: result
: no
" >&5
9189 echo "${ECHO_T}no
" >&6
9193 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9195 set dummy ${ncn_progname}; ac_word=$2
9196 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9198 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9199 echo $ECHO_N "(cached
) $ECHO_C" >&6
9201 if test -n "$GCC_FOR_TARGET"; then
9202 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208 test -z "$as_dir" && as_dir=.
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9212 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9220 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9221 if test -n "$GCC_FOR_TARGET"; then
9222 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9223 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9225 echo "$as_me:$LINENO: result
: no
" >&5
9226 echo "${ECHO_T}no
" >&6
9230 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9234 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9235 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9237 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9242 if test -n "$GCJ_FOR_TARGET"; then
9243 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9244 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9245 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9248 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9249 for ncn_progname in gcj; do
9250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9251 set dummy ${ncn_progname}; ac_word=$2
9252 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9253 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9254 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9255 echo $ECHO_N "(cached
) $ECHO_C" >&6
9257 if test -n "$GCJ_FOR_TARGET"; then
9258 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 test -z "$as_dir" && as_dir=.
9265 for ac_exec_ext in '' $ac_executable_extensions; do
9266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9267 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9268 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9276 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9277 if test -n "$GCJ_FOR_TARGET"; then
9278 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9279 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9281 echo "$as_me:$LINENO: result
: no
" >&5
9282 echo "${ECHO_T}no
" >&6
9288 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9289 for ncn_progname in gcj; do
9290 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9291 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9292 if test -x $with_build_time_tools/${ncn_progname}; then
9293 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9294 echo "$as_me:$LINENO: result
: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result
: no
" >&5
9299 echo "${ECHO_T}no
" >&6
9304 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9305 for ncn_progname in gcj; do
9306 if test -n "$ncn_target_tool_prefix"; then
9307 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9308 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9311 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9312 echo $ECHO_N "(cached
) $ECHO_C" >&6
9314 if test -n "$GCJ_FOR_TARGET"; then
9315 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321 test -z "$as_dir" && as_dir=.
9322 for ac_exec_ext in '' $ac_executable_extensions; do
9323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9324 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9333 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9334 if test -n "$GCJ_FOR_TARGET"; then
9335 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9336 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9338 echo "$as_me:$LINENO: result
: no
" >&5
9339 echo "${ECHO_T}no
" >&6
9343 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9345 set dummy ${ncn_progname}; ac_word=$2
9346 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9348 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9349 echo $ECHO_N "(cached
) $ECHO_C" >&6
9351 if test -n "$GCJ_FOR_TARGET"; then
9352 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 test -z "$as_dir" && as_dir=.
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9361 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9370 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9371 if test -n "$GCJ_FOR_TARGET"; then
9372 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9373 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9375 echo "$as_me:$LINENO: result
: no
" >&5
9376 echo "${ECHO_T}no
" >&6
9380 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9384 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9386 if test $build = $target ; then
9389 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9392 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9397 if test -n "$GFORTRAN_FOR_TARGET"; then
9398 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9399 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9400 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9403 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9404 for ncn_progname in gfortran; do
9405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9406 set dummy ${ncn_progname}; ac_word=$2
9407 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9408 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9409 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9410 echo $ECHO_N "(cached
) $ECHO_C" >&6
9412 if test -n "$GFORTRAN_FOR_TARGET"; then
9413 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 test -z "$as_dir" && as_dir=.
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9422 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9423 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9431 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9432 if test -n "$GFORTRAN_FOR_TARGET"; then
9433 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9434 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9436 echo "$as_me:$LINENO: result
: no
" >&5
9437 echo "${ECHO_T}no
" >&6
9443 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9444 for ncn_progname in gfortran; do
9445 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9446 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9447 if test -x $with_build_time_tools/${ncn_progname}; then
9448 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9449 echo "$as_me:$LINENO: result
: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9453 echo "$as_me:$LINENO: result
: no
" >&5
9454 echo "${ECHO_T}no
" >&6
9459 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9460 for ncn_progname in gfortran; do
9461 if test -n "$ncn_target_tool_prefix"; then
9462 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9463 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9464 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9465 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9466 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9467 echo $ECHO_N "(cached
) $ECHO_C" >&6
9469 if test -n "$GFORTRAN_FOR_TARGET"; then
9470 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9476 test -z "$as_dir" && as_dir=.
9477 for ac_exec_ext in '' $ac_executable_extensions; do
9478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9479 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9480 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9488 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9489 if test -n "$GFORTRAN_FOR_TARGET"; then
9490 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9491 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9493 echo "$as_me:$LINENO: result
: no
" >&5
9494 echo "${ECHO_T}no
" >&6
9498 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9500 set dummy ${ncn_progname}; ac_word=$2
9501 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9503 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9504 echo $ECHO_N "(cached
) $ECHO_C" >&6
9506 if test -n "$GFORTRAN_FOR_TARGET"; then
9507 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9513 test -z "$as_dir" && as_dir=.
9514 for ac_exec_ext in '' $ac_executable_extensions; do
9515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9516 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9517 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9525 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9526 if test -n "$GFORTRAN_FOR_TARGET"; then
9527 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9528 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9530 echo "$as_me:$LINENO: result
: no
" >&5
9531 echo "${ECHO_T}no
" >&6
9535 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9539 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9541 if test $build = $target ; then
9542 GFORTRAN_FOR_TARGET="$2"
9544 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9547 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9552 cat > conftest.c << \EOF
9557 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9558 have_gcc_for_target=yes
9560 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9561 have_gcc_for_target=no
9568 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9569 if test -n "$with_build_time_tools"; then
9570 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9571 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9572 if test -x $with_build_time_tools/ar; then
9573 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9574 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9575 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9576 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9578 echo "$as_me:$LINENO: result
: no
" >&5
9579 echo "${ECHO_T}no
" >&6
9581 elif test $build != $host && test $have_gcc_for_target = yes; then
9582 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9583 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9584 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9587 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9588 # Extract the first word of "ar", so it can be a program name with args.
9589 set dummy ar; ac_word=$2
9590 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9592 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9593 echo $ECHO_N "(cached
) $ECHO_C" >&6
9595 case $AR_FOR_TARGET in
9597 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 for as_dir in $gcc_cv_tool_dirs
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9617 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9619 if test -n "$AR_FOR_TARGET"; then
9620 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9621 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9623 echo "$as_me:$LINENO: result
: no
" >&5
9624 echo "${ECHO_T}no
" >&6
9628 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9631 if test -n "$AR_FOR_TARGET"; then
9632 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9633 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9634 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9637 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9638 for ncn_progname in ar; do
9639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9640 set dummy ${ncn_progname}; ac_word=$2
9641 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9642 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9643 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9644 echo $ECHO_N "(cached
) $ECHO_C" >&6
9646 if test -n "$AR_FOR_TARGET"; then
9647 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9653 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9656 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9657 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9665 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9666 if test -n "$AR_FOR_TARGET"; then
9667 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9668 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9670 echo "$as_me:$LINENO: result
: no
" >&5
9671 echo "${ECHO_T}no
" >&6
9677 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9678 for ncn_progname in ar; do
9679 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9680 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9681 if test -x $with_build_time_tools/${ncn_progname}; then
9682 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9683 echo "$as_me:$LINENO: result
: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9687 echo "$as_me:$LINENO: result
: no
" >&5
9688 echo "${ECHO_T}no
" >&6
9693 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9694 for ncn_progname in ar; do
9695 if test -n "$ncn_target_tool_prefix"; then
9696 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9697 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9698 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9699 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9700 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9701 echo $ECHO_N "(cached
) $ECHO_C" >&6
9703 if test -n "$AR_FOR_TARGET"; then
9704 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9710 test -z "$as_dir" && as_dir=.
9711 for ac_exec_ext in '' $ac_executable_extensions; do
9712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9713 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9714 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9722 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9723 if test -n "$AR_FOR_TARGET"; then
9724 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9725 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9727 echo "$as_me:$LINENO: result
: no
" >&5
9728 echo "${ECHO_T}no
" >&6
9732 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9734 set dummy ${ncn_progname}; ac_word=$2
9735 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9736 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9737 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9738 echo $ECHO_N "(cached
) $ECHO_C" >&6
9740 if test -n "$AR_FOR_TARGET"; then
9741 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 test -z "$as_dir" && as_dir=.
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9750 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9751 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9759 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9760 if test -n "$AR_FOR_TARGET"; then
9761 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9762 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9764 echo "$as_me:$LINENO: result
: no
" >&5
9765 echo "${ECHO_T}no
" >&6
9769 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9773 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9775 if test $build = $target ; then
9778 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9781 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9785 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9791 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9792 if test -n "$with_build_time_tools"; then
9793 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9794 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9795 if test -x $with_build_time_tools/as; then
9796 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9797 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9798 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9799 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9801 echo "$as_me:$LINENO: result
: no
" >&5
9802 echo "${ECHO_T}no
" >&6
9804 elif test $build != $host && test $have_gcc_for_target = yes; then
9805 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9806 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9807 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9810 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9811 # Extract the first word of "as
", so it can be a program name with args.
9812 set dummy as; ac_word=$2
9813 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9815 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9816 echo $ECHO_N "(cached
) $ECHO_C" >&6
9818 case $AS_FOR_TARGET in
9820 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9824 for as_dir in $gcc_cv_tool_dirs
9827 test -z "$as_dir" && as_dir=.
9828 for ac_exec_ext in '' $ac_executable_extensions; do
9829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9830 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9831 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9840 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9842 if test -n "$AS_FOR_TARGET"; then
9843 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9844 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9846 echo "$as_me:$LINENO: result
: no
" >&5
9847 echo "${ECHO_T}no
" >&6
9851 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9854 if test -n "$AS_FOR_TARGET"; then
9855 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9856 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9857 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9860 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9861 for ncn_progname in as; do
9862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9863 set dummy ${ncn_progname}; ac_word=$2
9864 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9865 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9866 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9867 echo $ECHO_N "(cached
) $ECHO_C" >&6
9869 if test -n "$AS_FOR_TARGET"; then
9870 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9880 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9888 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9889 if test -n "$AS_FOR_TARGET"; then
9890 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9891 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9893 echo "$as_me:$LINENO: result
: no
" >&5
9894 echo "${ECHO_T}no
" >&6
9900 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9901 for ncn_progname in as; do
9902 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9903 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9904 if test -x $with_build_time_tools/${ncn_progname}; then
9905 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9906 echo "$as_me:$LINENO: result
: yes" >&5
9907 echo "${ECHO_T}yes" >&6
9910 echo "$as_me:$LINENO: result
: no
" >&5
9911 echo "${ECHO_T}no
" >&6
9916 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9917 for ncn_progname in as; do
9918 if test -n "$ncn_target_tool_prefix"; then
9919 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9920 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9921 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9922 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9923 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9924 echo $ECHO_N "(cached
) $ECHO_C" >&6
9926 if test -n "$AS_FOR_TARGET"; then
9927 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir=.
9934 for ac_exec_ext in '' $ac_executable_extensions; do
9935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9936 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9937 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9945 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9946 if test -n "$AS_FOR_TARGET"; then
9947 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9948 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9950 echo "$as_me:$LINENO: result
: no
" >&5
9951 echo "${ECHO_T}no
" >&6
9955 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9957 set dummy ${ncn_progname}; ac_word=$2
9958 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9959 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9960 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9961 echo $ECHO_N "(cached
) $ECHO_C" >&6
9963 if test -n "$AS_FOR_TARGET"; then
9964 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir=.
9971 for ac_exec_ext in '' $ac_executable_extensions; do
9972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9974 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9982 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9983 if test -n "$AS_FOR_TARGET"; then
9984 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9985 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9987 echo "$as_me:$LINENO: result
: no
" >&5
9988 echo "${ECHO_T}no
" >&6
9992 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9996 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9998 if test $build = $target ; then
10001 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10004 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10008 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10014 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10015 if test -n "$with_build_time_tools"; then
10016 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
10017 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
10018 if test -x $with_build_time_tools/dlltool; then
10019 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10020 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10021 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10022 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
10024 echo "$as_me:$LINENO: result
: no
" >&5
10025 echo "${ECHO_T}no
" >&6
10027 elif test $build != $host && test $have_gcc_for_target = yes; then
10028 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10029 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10030 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10033 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10034 # Extract the first word of "dlltool
", so it can be a program name with args.
10035 set dummy dlltool; ac_word=$2
10036 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10038 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
10039 echo $ECHO_N "(cached
) $ECHO_C" >&6
10041 case $DLLTOOL_FOR_TARGET in
10043 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10047 for as_dir in $gcc_cv_tool_dirs
10050 test -z "$as_dir" && as_dir=.
10051 for ac_exec_ext in '' $ac_executable_extensions; do
10052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10053 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10054 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10063 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10065 if test -n "$DLLTOOL_FOR_TARGET"; then
10066 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10067 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10069 echo "$as_me:$LINENO: result
: no
" >&5
10070 echo "${ECHO_T}no
" >&6
10074 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10077 if test -n "$DLLTOOL_FOR_TARGET"; then
10078 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10079 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10080 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10083 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10084 for ncn_progname in dlltool; do
10085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10086 set dummy ${ncn_progname}; ac_word=$2
10087 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10088 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10089 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10090 echo $ECHO_N "(cached
) $ECHO_C" >&6
10092 if test -n "$DLLTOOL_FOR_TARGET"; then
10093 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10099 test -z "$as_dir" && as_dir=.
10100 for ac_exec_ext in '' $ac_executable_extensions; do
10101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10103 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10111 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10112 if test -n "$DLLTOOL_FOR_TARGET"; then
10113 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10114 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10116 echo "$as_me:$LINENO: result
: no
" >&5
10117 echo "${ECHO_T}no
" >&6
10123 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10124 for ncn_progname in dlltool; do
10125 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10126 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10127 if test -x $with_build_time_tools/${ncn_progname}; then
10128 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10129 echo "$as_me:$LINENO: result
: yes" >&5
10130 echo "${ECHO_T}yes" >&6
10133 echo "$as_me:$LINENO: result
: no
" >&5
10134 echo "${ECHO_T}no
" >&6
10139 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10140 for ncn_progname in dlltool; do
10141 if test -n "$ncn_target_tool_prefix"; then
10142 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10144 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10145 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10146 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10147 echo $ECHO_N "(cached
) $ECHO_C" >&6
10149 if test -n "$DLLTOOL_FOR_TARGET"; then
10150 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10159 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10160 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10168 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10169 if test -n "$DLLTOOL_FOR_TARGET"; then
10170 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10171 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10173 echo "$as_me:$LINENO: result
: no
" >&5
10174 echo "${ECHO_T}no
" >&6
10178 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10180 set dummy ${ncn_progname}; ac_word=$2
10181 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10182 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10183 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10184 echo $ECHO_N "(cached
) $ECHO_C" >&6
10186 if test -n "$DLLTOOL_FOR_TARGET"; then
10187 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10190 for as_dir in $PATH
10193 test -z "$as_dir" && as_dir=.
10194 for ac_exec_ext in '' $ac_executable_extensions; do
10195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10196 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10205 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10206 if test -n "$DLLTOOL_FOR_TARGET"; then
10207 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10208 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10210 echo "$as_me:$LINENO: result
: no
" >&5
10211 echo "${ECHO_T}no
" >&6
10215 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10219 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10221 if test $build = $target ; then
10222 DLLTOOL_FOR_TARGET="$2"
10224 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10227 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10231 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10237 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10238 if test -n "$with_build_time_tools"; then
10239 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
10240 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
10241 if test -x $with_build_time_tools/ld; then
10242 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10243 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10244 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10245 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
10247 echo "$as_me:$LINENO: result
: no
" >&5
10248 echo "${ECHO_T}no
" >&6
10250 elif test $build != $host && test $have_gcc_for_target = yes; then
10251 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10252 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10253 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10256 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10257 # Extract the first word of "ld
", so it can be a program name with args.
10258 set dummy ld; ac_word=$2
10259 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10260 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10261 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
10262 echo $ECHO_N "(cached
) $ECHO_C" >&6
10264 case $LD_FOR_TARGET in
10266 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10270 for as_dir in $gcc_cv_tool_dirs
10273 test -z "$as_dir" && as_dir=.
10274 for ac_exec_ext in '' $ac_executable_extensions; do
10275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10276 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10277 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10286 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10288 if test -n "$LD_FOR_TARGET"; then
10289 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10290 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10292 echo "$as_me:$LINENO: result
: no
" >&5
10293 echo "${ECHO_T}no
" >&6
10297 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10300 if test -n "$LD_FOR_TARGET"; then
10301 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10302 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10303 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10306 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10307 for ncn_progname in ld; do
10308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10309 set dummy ${ncn_progname}; ac_word=$2
10310 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10311 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10312 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10313 echo $ECHO_N "(cached
) $ECHO_C" >&6
10315 if test -n "$LD_FOR_TARGET"; then
10316 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319 for as_dir in $PATH
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10325 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10326 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10334 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10335 if test -n "$LD_FOR_TARGET"; then
10336 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10337 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10339 echo "$as_me:$LINENO: result
: no
" >&5
10340 echo "${ECHO_T}no
" >&6
10346 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10347 for ncn_progname in ld; do
10348 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10349 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10350 if test -x $with_build_time_tools/${ncn_progname}; then
10351 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10352 echo "$as_me:$LINENO: result
: yes" >&5
10353 echo "${ECHO_T}yes" >&6
10356 echo "$as_me:$LINENO: result
: no
" >&5
10357 echo "${ECHO_T}no
" >&6
10362 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10363 for ncn_progname in ld; do
10364 if test -n "$ncn_target_tool_prefix"; then
10365 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10366 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10369 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10370 echo $ECHO_N "(cached
) $ECHO_C" >&6
10372 if test -n "$LD_FOR_TARGET"; then
10373 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 for as_dir in $PATH
10379 test -z "$as_dir" && as_dir=.
10380 for ac_exec_ext in '' $ac_executable_extensions; do
10381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10391 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10392 if test -n "$LD_FOR_TARGET"; then
10393 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10394 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10396 echo "$as_me:$LINENO: result
: no
" >&5
10397 echo "${ECHO_T}no
" >&6
10401 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10403 set dummy ${ncn_progname}; ac_word=$2
10404 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10405 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10406 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10407 echo $ECHO_N "(cached
) $ECHO_C" >&6
10409 if test -n "$LD_FOR_TARGET"; then
10410 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10416 test -z "$as_dir" && as_dir=.
10417 for ac_exec_ext in '' $ac_executable_extensions; do
10418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10419 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10420 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10428 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10429 if test -n "$LD_FOR_TARGET"; then
10430 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10431 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10433 echo "$as_me:$LINENO: result
: no
" >&5
10434 echo "${ECHO_T}no
" >&6
10438 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10442 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10444 if test $build = $target ; then
10447 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10450 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10454 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10460 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10461 if test -n "$with_build_time_tools"; then
10462 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10463 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10464 if test -x $with_build_time_tools/lipo; then
10465 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10466 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10467 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10468 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10470 echo "$as_me:$LINENO: result
: no
" >&5
10471 echo "${ECHO_T}no
" >&6
10473 elif test $build != $host && test $have_gcc_for_target = yes; then
10474 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10475 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10476 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10479 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10480 # Extract the first word of "lipo
", so it can be a program name with args.
10481 set dummy lipo; ac_word=$2
10482 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10483 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10484 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10485 echo $ECHO_N "(cached
) $ECHO_C" >&6
10487 case $LIPO_FOR_TARGET in
10489 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in $gcc_cv_tool_dirs
10496 test -z "$as_dir" && as_dir=.
10497 for ac_exec_ext in '' $ac_executable_extensions; do
10498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10499 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10500 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10509 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10511 if test -n "$LIPO_FOR_TARGET"; then
10512 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10513 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10515 echo "$as_me:$LINENO: result
: no
" >&5
10516 echo "${ECHO_T}no
" >&6
10520 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10523 if test -n "$LIPO_FOR_TARGET"; then
10524 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10525 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10526 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10529 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10530 for ncn_progname in lipo; do
10531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10532 set dummy ${ncn_progname}; ac_word=$2
10533 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10534 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10535 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10536 echo $ECHO_N "(cached
) $ECHO_C" >&6
10538 if test -n "$LIPO_FOR_TARGET"; then
10539 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 test -z "$as_dir" && as_dir=.
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10549 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10557 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10558 if test -n "$LIPO_FOR_TARGET"; then
10559 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10560 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10562 echo "$as_me:$LINENO: result
: no
" >&5
10563 echo "${ECHO_T}no
" >&6
10569 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10570 for ncn_progname in lipo; do
10571 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10572 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10573 if test -x $with_build_time_tools/${ncn_progname}; then
10574 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10575 echo "$as_me:$LINENO: result
: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10579 echo "$as_me:$LINENO: result
: no
" >&5
10580 echo "${ECHO_T}no
" >&6
10585 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10586 for ncn_progname in lipo; do
10587 if test -n "$ncn_target_tool_prefix"; then
10588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10590 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10592 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10593 echo $ECHO_N "(cached
) $ECHO_C" >&6
10595 if test -n "$LIPO_FOR_TARGET"; then
10596 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10599 for as_dir in $PATH
10602 test -z "$as_dir" && as_dir=.
10603 for ac_exec_ext in '' $ac_executable_extensions; do
10604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10605 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10606 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10615 if test -n "$LIPO_FOR_TARGET"; then
10616 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10617 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10619 echo "$as_me:$LINENO: result
: no
" >&5
10620 echo "${ECHO_T}no
" >&6
10624 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10626 set dummy ${ncn_progname}; ac_word=$2
10627 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10628 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10629 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10630 echo $ECHO_N "(cached
) $ECHO_C" >&6
10632 if test -n "$LIPO_FOR_TARGET"; then
10633 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10636 for as_dir in $PATH
10639 test -z "$as_dir" && as_dir=.
10640 for ac_exec_ext in '' $ac_executable_extensions; do
10641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10642 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10643 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10651 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10652 if test -n "$LIPO_FOR_TARGET"; then
10653 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10654 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10656 echo "$as_me:$LINENO: result
: no
" >&5
10657 echo "${ECHO_T}no
" >&6
10661 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10665 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10667 if test $build = $target ; then
10668 LIPO_FOR_TARGET="$2"
10670 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10673 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10677 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10683 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10684 if test -n "$with_build_time_tools"; then
10685 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10686 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10687 if test -x $with_build_time_tools/nm; then
10688 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10689 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10690 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10691 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10693 echo "$as_me:$LINENO: result
: no
" >&5
10694 echo "${ECHO_T}no
" >&6
10696 elif test $build != $host && test $have_gcc_for_target = yes; then
10697 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10698 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10699 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10702 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10703 # Extract the first word of "nm
", so it can be a program name with args.
10704 set dummy nm; ac_word=$2
10705 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10706 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10707 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10708 echo $ECHO_N "(cached
) $ECHO_C" >&6
10710 case $NM_FOR_TARGET in
10712 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10716 for as_dir in $gcc_cv_tool_dirs
10719 test -z "$as_dir" && as_dir=.
10720 for ac_exec_ext in '' $ac_executable_extensions; do
10721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10722 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10723 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10732 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10734 if test -n "$NM_FOR_TARGET"; then
10735 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10736 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10738 echo "$as_me:$LINENO: result
: no
" >&5
10739 echo "${ECHO_T}no
" >&6
10743 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10746 if test -n "$NM_FOR_TARGET"; then
10747 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10748 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10749 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10752 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10753 for ncn_progname in nm; do
10754 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10755 set dummy ${ncn_progname}; ac_word=$2
10756 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10757 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10758 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10759 echo $ECHO_N "(cached
) $ECHO_C" >&6
10761 if test -n "$NM_FOR_TARGET"; then
10762 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10765 for as_dir in $PATH
10768 test -z "$as_dir" && as_dir=.
10769 for ac_exec_ext in '' $ac_executable_extensions; do
10770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10771 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10772 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10780 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10781 if test -n "$NM_FOR_TARGET"; then
10782 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10783 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10785 echo "$as_me:$LINENO: result
: no
" >&5
10786 echo "${ECHO_T}no
" >&6
10792 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10793 for ncn_progname in nm; do
10794 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10795 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10796 if test -x $with_build_time_tools/${ncn_progname}; then
10797 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10798 echo "$as_me:$LINENO: result
: yes" >&5
10799 echo "${ECHO_T}yes" >&6
10802 echo "$as_me:$LINENO: result
: no
" >&5
10803 echo "${ECHO_T}no
" >&6
10808 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10809 for ncn_progname in nm; do
10810 if test -n "$ncn_target_tool_prefix"; then
10811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10812 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10813 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10815 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10816 echo $ECHO_N "(cached
) $ECHO_C" >&6
10818 if test -n "$NM_FOR_TARGET"; then
10819 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10822 for as_dir in $PATH
10825 test -z "$as_dir" && as_dir=.
10826 for ac_exec_ext in '' $ac_executable_extensions; do
10827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10828 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10829 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10837 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10838 if test -n "$NM_FOR_TARGET"; then
10839 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10840 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10842 echo "$as_me:$LINENO: result
: no
" >&5
10843 echo "${ECHO_T}no
" >&6
10847 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10849 set dummy ${ncn_progname}; ac_word=$2
10850 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10852 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10853 echo $ECHO_N "(cached
) $ECHO_C" >&6
10855 if test -n "$NM_FOR_TARGET"; then
10856 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10859 for as_dir in $PATH
10862 test -z "$as_dir" && as_dir=.
10863 for ac_exec_ext in '' $ac_executable_extensions; do
10864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10865 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10874 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10875 if test -n "$NM_FOR_TARGET"; then
10876 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10877 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10879 echo "$as_me:$LINENO: result
: no
" >&5
10880 echo "${ECHO_T}no
" >&6
10884 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10888 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10890 if test $build = $target ; then
10893 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10896 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10900 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10906 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10907 if test -n "$with_build_time_tools"; then
10908 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10909 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10910 if test -x $with_build_time_tools/objdump; then
10911 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10912 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10913 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10914 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10916 echo "$as_me:$LINENO: result
: no
" >&5
10917 echo "${ECHO_T}no
" >&6
10919 elif test $build != $host && test $have_gcc_for_target = yes; then
10920 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10921 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10922 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10925 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10926 # Extract the first word of "objdump
", so it can be a program name with args.
10927 set dummy objdump; ac_word=$2
10928 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10929 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10930 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10931 echo $ECHO_N "(cached
) $ECHO_C" >&6
10933 case $OBJDUMP_FOR_TARGET in
10935 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10939 for as_dir in $gcc_cv_tool_dirs
10942 test -z "$as_dir" && as_dir=.
10943 for ac_exec_ext in '' $ac_executable_extensions; do
10944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10945 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10946 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10955 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10957 if test -n "$OBJDUMP_FOR_TARGET"; then
10958 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10959 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10961 echo "$as_me:$LINENO: result
: no
" >&5
10962 echo "${ECHO_T}no
" >&6
10966 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10969 if test -n "$OBJDUMP_FOR_TARGET"; then
10970 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10971 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10972 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10975 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10976 for ncn_progname in objdump; do
10977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10978 set dummy ${ncn_progname}; ac_word=$2
10979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10981 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10982 echo $ECHO_N "(cached
) $ECHO_C" >&6
10984 if test -n "$OBJDUMP_FOR_TARGET"; then
10985 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10988 for as_dir in $PATH
10991 test -z "$as_dir" && as_dir=.
10992 for ac_exec_ext in '' $ac_executable_extensions; do
10993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10994 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11003 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11004 if test -n "$OBJDUMP_FOR_TARGET"; then
11005 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11006 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
11008 echo "$as_me:$LINENO: result
: no
" >&5
11009 echo "${ECHO_T}no
" >&6
11015 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11016 for ncn_progname in objdump; do
11017 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11018 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11019 if test -x $with_build_time_tools/${ncn_progname}; then
11020 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11021 echo "$as_me:$LINENO: result
: yes" >&5
11022 echo "${ECHO_T}yes" >&6
11025 echo "$as_me:$LINENO: result
: no
" >&5
11026 echo "${ECHO_T}no
" >&6
11031 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11032 for ncn_progname in objdump; do
11033 if test -n "$ncn_target_tool_prefix"; then
11034 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11035 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11036 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11038 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11039 echo $ECHO_N "(cached
) $ECHO_C" >&6
11041 if test -n "$OBJDUMP_FOR_TARGET"; then
11042 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11045 for as_dir in $PATH
11048 test -z "$as_dir" && as_dir=.
11049 for ac_exec_ext in '' $ac_executable_extensions; do
11050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11051 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11060 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11061 if test -n "$OBJDUMP_FOR_TARGET"; then
11062 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11063 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
11065 echo "$as_me:$LINENO: result
: no
" >&5
11066 echo "${ECHO_T}no
" >&6
11070 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11072 set dummy ${ncn_progname}; ac_word=$2
11073 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11074 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11075 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11076 echo $ECHO_N "(cached
) $ECHO_C" >&6
11078 if test -n "$OBJDUMP_FOR_TARGET"; then
11079 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $PATH
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11088 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11089 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11097 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11098 if test -n "$OBJDUMP_FOR_TARGET"; then
11099 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11100 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
11102 echo "$as_me:$LINENO: result
: no
" >&5
11103 echo "${ECHO_T}no
" >&6
11107 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11111 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11113 if test $build = $target ; then
11114 OBJDUMP_FOR_TARGET="$2"
11116 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11119 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11123 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11129 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11130 if test -n "$with_build_time_tools"; then
11131 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
11132 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
11133 if test -x $with_build_time_tools/ranlib; then
11134 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11135 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11136 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11137 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
11139 echo "$as_me:$LINENO: result
: no
" >&5
11140 echo "${ECHO_T}no
" >&6
11142 elif test $build != $host && test $have_gcc_for_target = yes; then
11143 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11144 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11145 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11148 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11149 # Extract the first word of "ranlib
", so it can be a program name with args.
11150 set dummy ranlib; ac_word=$2
11151 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11152 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11153 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
11154 echo $ECHO_N "(cached
) $ECHO_C" >&6
11156 case $RANLIB_FOR_TARGET in
11158 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 for as_dir in $gcc_cv_tool_dirs
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11168 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11169 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11178 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11180 if test -n "$RANLIB_FOR_TARGET"; then
11181 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11182 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11184 echo "$as_me:$LINENO: result
: no
" >&5
11185 echo "${ECHO_T}no
" >&6
11189 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11192 if test -n "$RANLIB_FOR_TARGET"; then
11193 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11194 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11195 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11198 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11199 for ncn_progname in ranlib; do
11200 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11201 set dummy ${ncn_progname}; ac_word=$2
11202 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11203 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11204 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11205 echo $ECHO_N "(cached
) $ECHO_C" >&6
11207 if test -n "$RANLIB_FOR_TARGET"; then
11208 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11211 for as_dir in $PATH
11214 test -z "$as_dir" && as_dir=.
11215 for ac_exec_ext in '' $ac_executable_extensions; do
11216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11217 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11218 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11226 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11227 if test -n "$RANLIB_FOR_TARGET"; then
11228 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11229 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11231 echo "$as_me:$LINENO: result
: no
" >&5
11232 echo "${ECHO_T}no
" >&6
11238 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11239 for ncn_progname in ranlib; do
11240 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11241 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11242 if test -x $with_build_time_tools/${ncn_progname}; then
11243 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11244 echo "$as_me:$LINENO: result
: yes" >&5
11245 echo "${ECHO_T}yes" >&6
11248 echo "$as_me:$LINENO: result
: no
" >&5
11249 echo "${ECHO_T}no
" >&6
11254 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11255 for ncn_progname in ranlib; do
11256 if test -n "$ncn_target_tool_prefix"; then
11257 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11258 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11259 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11260 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11261 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11262 echo $ECHO_N "(cached
) $ECHO_C" >&6
11264 if test -n "$RANLIB_FOR_TARGET"; then
11265 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11275 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11283 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11284 if test -n "$RANLIB_FOR_TARGET"; then
11285 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11286 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11288 echo "$as_me:$LINENO: result
: no
" >&5
11289 echo "${ECHO_T}no
" >&6
11293 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11294 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11295 set dummy ${ncn_progname}; ac_word=$2
11296 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11297 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11298 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11299 echo $ECHO_N "(cached
) $ECHO_C" >&6
11301 if test -n "$RANLIB_FOR_TARGET"; then
11302 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11305 for as_dir in $PATH
11308 test -z "$as_dir" && as_dir=.
11309 for ac_exec_ext in '' $ac_executable_extensions; do
11310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11311 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11312 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11320 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11321 if test -n "$RANLIB_FOR_TARGET"; then
11322 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11323 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11325 echo "$as_me:$LINENO: result
: no
" >&5
11326 echo "${ECHO_T}no
" >&6
11330 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11334 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11336 if test $build = $target ; then
11337 RANLIB_FOR_TARGET="$2"
11339 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11342 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11346 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11352 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11353 if test -n "$with_build_time_tools"; then
11354 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
11355 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
11356 if test -x $with_build_time_tools/strip; then
11357 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11358 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11359 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11360 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
11362 echo "$as_me:$LINENO: result
: no
" >&5
11363 echo "${ECHO_T}no
" >&6
11365 elif test $build != $host && test $have_gcc_for_target = yes; then
11366 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11367 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11368 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11371 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11372 # Extract the first word of "strip
", so it can be a program name with args.
11373 set dummy strip; ac_word=$2
11374 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11376 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11377 echo $ECHO_N "(cached
) $ECHO_C" >&6
11379 case $STRIP_FOR_TARGET in
11381 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11385 for as_dir in $gcc_cv_tool_dirs
11388 test -z "$as_dir" && as_dir=.
11389 for ac_exec_ext in '' $ac_executable_extensions; do
11390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11391 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11392 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11401 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11403 if test -n "$STRIP_FOR_TARGET"; then
11404 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11405 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11407 echo "$as_me:$LINENO: result
: no
" >&5
11408 echo "${ECHO_T}no
" >&6
11412 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11415 if test -n "$STRIP_FOR_TARGET"; then
11416 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11417 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11418 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11421 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11422 for ncn_progname in strip; do
11423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11424 set dummy ${ncn_progname}; ac_word=$2
11425 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11426 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11427 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11428 echo $ECHO_N "(cached
) $ECHO_C" >&6
11430 if test -n "$STRIP_FOR_TARGET"; then
11431 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11434 for as_dir in $PATH
11437 test -z "$as_dir" && as_dir=.
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11441 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11449 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11450 if test -n "$STRIP_FOR_TARGET"; then
11451 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11452 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11454 echo "$as_me:$LINENO: result
: no
" >&5
11455 echo "${ECHO_T}no
" >&6
11461 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11462 for ncn_progname in strip; do
11463 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11464 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11465 if test -x $with_build_time_tools/${ncn_progname}; then
11466 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11467 echo "$as_me:$LINENO: result
: yes" >&5
11468 echo "${ECHO_T}yes" >&6
11471 echo "$as_me:$LINENO: result
: no
" >&5
11472 echo "${ECHO_T}no
" >&6
11477 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11478 for ncn_progname in strip; do
11479 if test -n "$ncn_target_tool_prefix"; then
11480 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11481 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11482 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11483 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11484 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11485 echo $ECHO_N "(cached
) $ECHO_C" >&6
11487 if test -n "$STRIP_FOR_TARGET"; then
11488 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11491 for as_dir in $PATH
11494 test -z "$as_dir" && as_dir=.
11495 for ac_exec_ext in '' $ac_executable_extensions; do
11496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11497 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11498 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11506 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11507 if test -n "$STRIP_FOR_TARGET"; then
11508 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11509 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11511 echo "$as_me:$LINENO: result
: no
" >&5
11512 echo "${ECHO_T}no
" >&6
11516 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11518 set dummy ${ncn_progname}; ac_word=$2
11519 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11521 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11522 echo $ECHO_N "(cached
) $ECHO_C" >&6
11524 if test -n "$STRIP_FOR_TARGET"; then
11525 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11528 for as_dir in $PATH
11531 test -z "$as_dir" && as_dir=.
11532 for ac_exec_ext in '' $ac_executable_extensions; do
11533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11534 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11535 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11543 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11544 if test -n "$STRIP_FOR_TARGET"; then
11545 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11546 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11548 echo "$as_me:$LINENO: result
: no
" >&5
11549 echo "${ECHO_T}no
" >&6
11553 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11557 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11559 if test $build = $target ; then
11560 STRIP_FOR_TARGET="$2"
11562 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11565 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11569 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11575 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11576 if test -n "$with_build_time_tools"; then
11577 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11578 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11579 if test -x $with_build_time_tools/windres; then
11580 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11581 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11582 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11583 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11585 echo "$as_me:$LINENO: result
: no
" >&5
11586 echo "${ECHO_T}no
" >&6
11588 elif test $build != $host && test $have_gcc_for_target = yes; then
11589 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11590 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11591 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11594 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11595 # Extract the first word of "windres
", so it can be a program name with args.
11596 set dummy windres; ac_word=$2
11597 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11598 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11599 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11600 echo $ECHO_N "(cached
) $ECHO_C" >&6
11602 case $WINDRES_FOR_TARGET in
11604 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11608 for as_dir in $gcc_cv_tool_dirs
11611 test -z "$as_dir" && as_dir=.
11612 for ac_exec_ext in '' $ac_executable_extensions; do
11613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11614 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11624 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11626 if test -n "$WINDRES_FOR_TARGET"; then
11627 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11628 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11630 echo "$as_me:$LINENO: result
: no
" >&5
11631 echo "${ECHO_T}no
" >&6
11635 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11638 if test -n "$WINDRES_FOR_TARGET"; then
11639 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11640 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11641 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11644 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11645 for ncn_progname in windres; do
11646 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11647 set dummy ${ncn_progname}; ac_word=$2
11648 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11649 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11650 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11651 echo $ECHO_N "(cached
) $ECHO_C" >&6
11653 if test -n "$WINDRES_FOR_TARGET"; then
11654 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11657 for as_dir in $PATH
11660 test -z "$as_dir" && as_dir=.
11661 for ac_exec_ext in '' $ac_executable_extensions; do
11662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11663 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11664 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11672 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11673 if test -n "$WINDRES_FOR_TARGET"; then
11674 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11675 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11677 echo "$as_me:$LINENO: result
: no
" >&5
11678 echo "${ECHO_T}no
" >&6
11684 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11685 for ncn_progname in windres; do
11686 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11687 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11688 if test -x $with_build_time_tools/${ncn_progname}; then
11689 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11690 echo "$as_me:$LINENO: result
: yes" >&5
11691 echo "${ECHO_T}yes" >&6
11694 echo "$as_me:$LINENO: result
: no
" >&5
11695 echo "${ECHO_T}no
" >&6
11700 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11701 for ncn_progname in windres; do
11702 if test -n "$ncn_target_tool_prefix"; then
11703 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11704 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11705 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11706 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11707 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11708 echo $ECHO_N "(cached
) $ECHO_C" >&6
11710 if test -n "$WINDRES_FOR_TARGET"; then
11711 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11714 for as_dir in $PATH
11717 test -z "$as_dir" && as_dir=.
11718 for ac_exec_ext in '' $ac_executable_extensions; do
11719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11720 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11721 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11729 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11730 if test -n "$WINDRES_FOR_TARGET"; then
11731 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11732 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11734 echo "$as_me:$LINENO: result
: no
" >&5
11735 echo "${ECHO_T}no
" >&6
11739 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11740 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11741 set dummy ${ncn_progname}; ac_word=$2
11742 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11743 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11744 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11745 echo $ECHO_N "(cached
) $ECHO_C" >&6
11747 if test -n "$WINDRES_FOR_TARGET"; then
11748 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11751 for as_dir in $PATH
11754 test -z "$as_dir" && as_dir=.
11755 for ac_exec_ext in '' $ac_executable_extensions; do
11756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11757 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11758 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11766 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11767 if test -n "$WINDRES_FOR_TARGET"; then
11768 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11769 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11771 echo "$as_me:$LINENO: result
: no
" >&5
11772 echo "${ECHO_T}no
" >&6
11776 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11780 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11782 if test $build = $target ; then
11783 WINDRES_FOR_TARGET="$2"
11785 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11788 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11792 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11798 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11799 if test -n "$with_build_time_tools"; then
11800 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11801 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11802 if test -x $with_build_time_tools/windmc; then
11803 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11804 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11805 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11806 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11808 echo "$as_me:$LINENO: result
: no
" >&5
11809 echo "${ECHO_T}no
" >&6
11811 elif test $build != $host && test $have_gcc_for_target = yes; then
11812 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11813 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11814 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11817 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11818 # Extract the first word of "windmc
", so it can be a program name with args.
11819 set dummy windmc; ac_word=$2
11820 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11821 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11822 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11823 echo $ECHO_N "(cached
) $ECHO_C" >&6
11825 case $WINDMC_FOR_TARGET in
11827 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11831 for as_dir in $gcc_cv_tool_dirs
11834 test -z "$as_dir" && as_dir=.
11835 for ac_exec_ext in '' $ac_executable_extensions; do
11836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11837 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11838 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11847 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11849 if test -n "$WINDMC_FOR_TARGET"; then
11850 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11851 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11853 echo "$as_me:$LINENO: result
: no
" >&5
11854 echo "${ECHO_T}no
" >&6
11858 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11861 if test -n "$WINDMC_FOR_TARGET"; then
11862 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11863 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11864 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11867 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11868 for ncn_progname in windmc; do
11869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11870 set dummy ${ncn_progname}; ac_word=$2
11871 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11872 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11873 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11874 echo $ECHO_N "(cached
) $ECHO_C" >&6
11876 if test -n "$WINDMC_FOR_TARGET"; then
11877 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in $PATH
11883 test -z "$as_dir" && as_dir=.
11884 for ac_exec_ext in '' $ac_executable_extensions; do
11885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11886 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11887 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11895 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11896 if test -n "$WINDMC_FOR_TARGET"; then
11897 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11898 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11900 echo "$as_me:$LINENO: result
: no
" >&5
11901 echo "${ECHO_T}no
" >&6
11907 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11908 for ncn_progname in windmc; do
11909 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11910 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11911 if test -x $with_build_time_tools/${ncn_progname}; then
11912 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11913 echo "$as_me:$LINENO: result
: yes" >&5
11914 echo "${ECHO_T}yes" >&6
11917 echo "$as_me:$LINENO: result
: no
" >&5
11918 echo "${ECHO_T}no
" >&6
11923 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11924 for ncn_progname in windmc; do
11925 if test -n "$ncn_target_tool_prefix"; then
11926 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11927 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11928 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11929 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11930 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11931 echo $ECHO_N "(cached
) $ECHO_C" >&6
11933 if test -n "$WINDMC_FOR_TARGET"; then
11934 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11944 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11952 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11953 if test -n "$WINDMC_FOR_TARGET"; then
11954 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11955 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11957 echo "$as_me:$LINENO: result
: no
" >&5
11958 echo "${ECHO_T}no
" >&6
11962 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11964 set dummy ${ncn_progname}; ac_word=$2
11965 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11966 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11967 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11968 echo $ECHO_N "(cached
) $ECHO_C" >&6
11970 if test -n "$WINDMC_FOR_TARGET"; then
11971 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11980 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11981 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11989 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11990 if test -n "$WINDMC_FOR_TARGET"; then
11991 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11992 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11994 echo "$as_me:$LINENO: result
: no
" >&5
11995 echo "${ECHO_T}no
" >&6
11999 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12003 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12005 if test $build = $target ; then
12006 WINDMC_FOR_TARGET="$2"
12008 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12011 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12015 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12019 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12021 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
12022 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
12023 if test "x
${build}" != "x
${host}" ; then
12024 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12025 # We already found the complete path
12026 ac_dir=`dirname $AR_FOR_TARGET`
12027 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12028 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12030 # Canadian cross, just use what we found
12031 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12032 echo "${ECHO_T}pre-installed
" >&6
12036 case " ${configdirs} " in
12041 if test $ok = yes; then
12042 # An in-tree tool is available and we can use it
12043 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12044 echo "$as_me:$LINENO: result
: just compiled
" >&5
12045 echo "${ECHO_T}just compiled
" >&6
12046 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12047 # We already found the complete path
12048 ac_dir=`dirname $AR_FOR_TARGET`
12049 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12050 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12051 elif test "x
$target" = "x
$host"; then
12052 # We can use an host tool
12053 AR_FOR_TARGET='$(AR)'
12054 echo "$as_me:$LINENO: result
: host tool
" >&5
12055 echo "${ECHO_T}host tool
" >&6
12057 # We need a cross tool
12058 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12059 echo "${ECHO_T}pre-installed
" >&6
12063 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
12064 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
12065 if test "x
${build}" != "x
${host}" ; then
12066 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12067 # We already found the complete path
12068 ac_dir=`dirname $AS_FOR_TARGET`
12069 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12070 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12072 # Canadian cross, just use what we found
12073 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12074 echo "${ECHO_T}pre-installed
" >&6
12078 case " ${configdirs} " in
12083 if test $ok = yes; then
12084 # An in-tree tool is available and we can use it
12085 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12086 echo "$as_me:$LINENO: result
: just compiled
" >&5
12087 echo "${ECHO_T}just compiled
" >&6
12088 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12089 # We already found the complete path
12090 ac_dir=`dirname $AS_FOR_TARGET`
12091 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12092 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12093 elif test "x
$target" = "x
$host"; then
12094 # We can use an host tool
12095 AS_FOR_TARGET='$(AS)'
12096 echo "$as_me:$LINENO: result
: host tool
" >&5
12097 echo "${ECHO_T}host tool
" >&6
12099 # We need a cross tool
12100 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12101 echo "${ECHO_T}pre-installed
" >&6
12105 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
12106 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
12107 if test "x
${build}" != "x
${host}" ; then
12108 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12109 # We already found the complete path
12110 ac_dir=`dirname $CC_FOR_TARGET`
12111 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12112 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12114 # Canadian cross, just use what we found
12115 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12116 echo "${ECHO_T}pre-installed
" >&6
12120 case " ${configdirs} " in
12125 if test $ok = yes; then
12126 # An in-tree tool is available and we can use it
12127 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12128 echo "$as_me:$LINENO: result
: just compiled
" >&5
12129 echo "${ECHO_T}just compiled
" >&6
12130 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12131 # We already found the complete path
12132 ac_dir=`dirname $CC_FOR_TARGET`
12133 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12134 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12135 elif test "x
$target" = "x
$host"; then
12136 # We can use an host tool
12137 CC_FOR_TARGET='$(CC)'
12138 echo "$as_me:$LINENO: result
: host tool
" >&5
12139 echo "${ECHO_T}host tool
" >&6
12141 # We need a cross tool
12142 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12143 echo "${ECHO_T}pre-installed
" >&6
12147 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
12148 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
12149 if test "x
${build}" != "x
${host}" ; then
12150 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12151 # We already found the complete path
12152 ac_dir=`dirname $CXX_FOR_TARGET`
12153 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12154 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12156 # Canadian cross, just use what we found
12157 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12158 echo "${ECHO_T}pre-installed
" >&6
12162 case " ${configdirs} " in
12166 case ,${enable_languages}, in
12170 if test $ok = yes; then
12171 # An in-tree tool is available and we can use it
12172 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'
12173 echo "$as_me:$LINENO: result
: just compiled
" >&5
12174 echo "${ECHO_T}just compiled
" >&6
12175 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12176 # We already found the complete path
12177 ac_dir=`dirname $CXX_FOR_TARGET`
12178 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12179 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12180 elif test "x
$target" = "x
$host"; then
12181 # We can use an host tool
12182 CXX_FOR_TARGET='$(CXX)'
12183 echo "$as_me:$LINENO: result
: host tool
" >&5
12184 echo "${ECHO_T}host tool
" >&6
12186 # We need a cross tool
12187 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12188 echo "${ECHO_T}pre-installed
" >&6
12192 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
12193 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
12194 if test "x
${build}" != "x
${host}" ; then
12195 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12196 # We already found the complete path
12197 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12198 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12199 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12201 # Canadian cross, just use what we found
12202 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12203 echo "${ECHO_T}pre-installed
" >&6
12207 case " ${configdirs} " in
12211 case ,${enable_languages}, in
12215 if test $ok = yes; then
12216 # An in-tree tool is available and we can use it
12217 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'
12218 echo "$as_me:$LINENO: result
: just compiled
" >&5
12219 echo "${ECHO_T}just compiled
" >&6
12220 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12221 # We already found the complete path
12222 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12223 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12224 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12225 elif test "x
$target" = "x
$host"; then
12226 # We can use an host tool
12227 RAW_CXX_FOR_TARGET='$(CXX)'
12228 echo "$as_me:$LINENO: result
: host tool
" >&5
12229 echo "${ECHO_T}host tool
" >&6
12231 # We need a cross tool
12232 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12233 echo "${ECHO_T}pre-installed
" >&6
12237 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
12238 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
12239 if test "x
${build}" != "x
${host}" ; then
12240 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12241 # We already found the complete path
12242 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12243 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12244 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12246 # Canadian cross, just use what we found
12247 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12248 echo "${ECHO_T}pre-installed
" >&6
12252 case " ${configdirs} " in
12257 if test $ok = yes; then
12258 # An in-tree tool is available and we can use it
12259 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12260 echo "$as_me:$LINENO: result
: just compiled
" >&5
12261 echo "${ECHO_T}just compiled
" >&6
12262 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12263 # We already found the complete path
12264 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12265 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12266 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12267 elif test "x
$target" = "x
$host"; then
12268 # We can use an host tool
12269 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12270 echo "$as_me:$LINENO: result
: host tool
" >&5
12271 echo "${ECHO_T}host tool
" >&6
12273 # We need a cross tool
12274 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12275 echo "${ECHO_T}pre-installed
" >&6
12279 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
12280 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
12281 if test "x
${build}" != "x
${host}" ; then
12282 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12283 # We already found the complete path
12284 ac_dir=`dirname $GCC_FOR_TARGET`
12285 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12286 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12288 # Canadian cross, just use what we found
12289 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12290 echo "${ECHO_T}pre-installed
" >&6
12294 case " ${configdirs} " in
12299 if test $ok = yes; then
12300 # An in-tree tool is available and we can use it
12301 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12302 echo "$as_me:$LINENO: result
: just compiled
" >&5
12303 echo "${ECHO_T}just compiled
" >&6
12304 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12305 # We already found the complete path
12306 ac_dir=`dirname $GCC_FOR_TARGET`
12307 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12308 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12309 elif test "x
$target" = "x
$host"; then
12310 # We can use an host tool
12311 GCC_FOR_TARGET='$()'
12312 echo "$as_me:$LINENO: result
: host tool
" >&5
12313 echo "${ECHO_T}host tool
" >&6
12315 # We need a cross tool
12316 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12317 echo "${ECHO_T}pre-installed
" >&6
12321 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
12322 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
12323 if test "x
${build}" != "x
${host}" ; then
12324 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12325 # We already found the complete path
12326 ac_dir=`dirname $GCJ_FOR_TARGET`
12327 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12328 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12330 # Canadian cross, just use what we found
12331 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12332 echo "${ECHO_T}pre-installed
" >&6
12336 case " ${configdirs} " in
12340 case ,${enable_languages}, in
12344 if test $ok = yes; then
12345 # An in-tree tool is available and we can use it
12346 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12347 echo "$as_me:$LINENO: result
: just compiled
" >&5
12348 echo "${ECHO_T}just compiled
" >&6
12349 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12350 # We already found the complete path
12351 ac_dir=`dirname $GCJ_FOR_TARGET`
12352 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12353 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12354 elif test "x
$target" = "x
$host"; then
12355 # We can use an host tool
12356 GCJ_FOR_TARGET='$(GCJ)'
12357 echo "$as_me:$LINENO: result
: host tool
" >&5
12358 echo "${ECHO_T}host tool
" >&6
12360 # We need a cross tool
12361 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12362 echo "${ECHO_T}pre-installed
" >&6
12366 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12367 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
12368 if test "x
${build}" != "x
${host}" ; then
12369 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12370 # We already found the complete path
12371 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12372 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12373 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12375 # Canadian cross, just use what we found
12376 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12377 echo "${ECHO_T}pre-installed
" >&6
12381 case " ${configdirs} " in
12385 case ,${enable_languages}, in
12389 if test $ok = yes; then
12390 # An in-tree tool is available and we can use it
12391 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12392 echo "$as_me:$LINENO: result
: just compiled
" >&5
12393 echo "${ECHO_T}just compiled
" >&6
12394 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12395 # We already found the complete path
12396 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12397 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12398 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12399 elif test "x
$target" = "x
$host"; then
12400 # We can use an host tool
12401 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12402 echo "$as_me:$LINENO: result
: host tool
" >&5
12403 echo "${ECHO_T}host tool
" >&6
12405 # We need a cross tool
12406 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12407 echo "${ECHO_T}pre-installed
" >&6
12411 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12412 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12413 if test "x
${build}" != "x
${host}" ; then
12414 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12415 # We already found the complete path
12416 ac_dir=`dirname $LD_FOR_TARGET`
12417 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12418 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12420 # Canadian cross, just use what we found
12421 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12422 echo "${ECHO_T}pre-installed
" >&6
12426 case " ${configdirs} " in
12431 if test $ok = yes; then
12432 # An in-tree tool is available and we can use it
12433 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12434 echo "$as_me:$LINENO: result
: just compiled
" >&5
12435 echo "${ECHO_T}just compiled
" >&6
12436 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12437 # We already found the complete path
12438 ac_dir=`dirname $LD_FOR_TARGET`
12439 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12440 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12441 elif test "x
$target" = "x
$host"; then
12442 # We can use an host tool
12443 LD_FOR_TARGET='$(LD)'
12444 echo "$as_me:$LINENO: result
: host tool
" >&5
12445 echo "${ECHO_T}host tool
" >&6
12447 # We need a cross tool
12448 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12449 echo "${ECHO_T}pre-installed
" >&6
12453 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12454 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12455 if test "x
${build}" != "x
${host}" ; then
12456 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12457 # We already found the complete path
12458 ac_dir=`dirname $LIPO_FOR_TARGET`
12459 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12460 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12462 # Canadian cross, just use what we found
12463 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12464 echo "${ECHO_T}pre-installed
" >&6
12467 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12468 # We already found the complete path
12469 ac_dir=`dirname $LIPO_FOR_TARGET`
12470 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12471 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12472 elif test "x
$target" = "x
$host"; then
12473 # We can use an host tool
12474 LIPO_FOR_TARGET='$(LIPO)'
12475 echo "$as_me:$LINENO: result
: host tool
" >&5
12476 echo "${ECHO_T}host tool
" >&6
12478 # We need a cross tool
12479 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12480 echo "${ECHO_T}pre-installed
" >&6
12484 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12485 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12486 if test "x
${build}" != "x
${host}" ; then
12487 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12488 # We already found the complete path
12489 ac_dir=`dirname $NM_FOR_TARGET`
12490 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12491 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12493 # Canadian cross, just use what we found
12494 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12495 echo "${ECHO_T}pre-installed
" >&6
12499 case " ${configdirs} " in
12504 if test $ok = yes; then
12505 # An in-tree tool is available and we can use it
12506 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12507 echo "$as_me:$LINENO: result
: just compiled
" >&5
12508 echo "${ECHO_T}just compiled
" >&6
12509 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12510 # We already found the complete path
12511 ac_dir=`dirname $NM_FOR_TARGET`
12512 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12513 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12514 elif test "x
$target" = "x
$host"; then
12515 # We can use an host tool
12516 NM_FOR_TARGET='$(NM)'
12517 echo "$as_me:$LINENO: result
: host tool
" >&5
12518 echo "${ECHO_T}host tool
" >&6
12520 # We need a cross tool
12521 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12522 echo "${ECHO_T}pre-installed
" >&6
12526 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12527 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12528 if test "x
${build}" != "x
${host}" ; then
12529 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12530 # We already found the complete path
12531 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12532 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12533 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12535 # Canadian cross, just use what we found
12536 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12537 echo "${ECHO_T}pre-installed
" >&6
12541 case " ${configdirs} " in
12546 if test $ok = yes; then
12547 # An in-tree tool is available and we can use it
12548 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12549 echo "$as_me:$LINENO: result
: just compiled
" >&5
12550 echo "${ECHO_T}just compiled
" >&6
12551 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12552 # We already found the complete path
12553 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12554 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12555 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12556 elif test "x
$target" = "x
$host"; then
12557 # We can use an host tool
12558 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12559 echo "$as_me:$LINENO: result
: host tool
" >&5
12560 echo "${ECHO_T}host tool
" >&6
12562 # We need a cross tool
12563 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12564 echo "${ECHO_T}pre-installed
" >&6
12568 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12569 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12570 if test "x
${build}" != "x
${host}" ; then
12571 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12572 # We already found the complete path
12573 ac_dir=`dirname $RANLIB_FOR_TARGET`
12574 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12575 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12577 # Canadian cross, just use what we found
12578 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12579 echo "${ECHO_T}pre-installed
" >&6
12583 case " ${configdirs} " in
12588 if test $ok = yes; then
12589 # An in-tree tool is available and we can use it
12590 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12591 echo "$as_me:$LINENO: result
: just compiled
" >&5
12592 echo "${ECHO_T}just compiled
" >&6
12593 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12594 # We already found the complete path
12595 ac_dir=`dirname $RANLIB_FOR_TARGET`
12596 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12597 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12598 elif test "x
$target" = "x
$host"; then
12599 # We can use an host tool
12600 RANLIB_FOR_TARGET='$(RANLIB)'
12601 echo "$as_me:$LINENO: result
: host tool
" >&5
12602 echo "${ECHO_T}host tool
" >&6
12604 # We need a cross tool
12605 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12606 echo "${ECHO_T}pre-installed
" >&6
12610 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12611 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12612 if test "x
${build}" != "x
${host}" ; then
12613 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12614 # We already found the complete path
12615 ac_dir=`dirname $STRIP_FOR_TARGET`
12616 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12617 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12619 # Canadian cross, just use what we found
12620 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12621 echo "${ECHO_T}pre-installed
" >&6
12625 case " ${configdirs} " in
12630 if test $ok = yes; then
12631 # An in-tree tool is available and we can use it
12632 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12633 echo "$as_me:$LINENO: result
: just compiled
" >&5
12634 echo "${ECHO_T}just compiled
" >&6
12635 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12636 # We already found the complete path
12637 ac_dir=`dirname $STRIP_FOR_TARGET`
12638 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12639 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12640 elif test "x
$target" = "x
$host"; then
12641 # We can use an host tool
12642 STRIP_FOR_TARGET='$(STRIP)'
12643 echo "$as_me:$LINENO: result
: host tool
" >&5
12644 echo "${ECHO_T}host tool
" >&6
12646 # We need a cross tool
12647 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12648 echo "${ECHO_T}pre-installed
" >&6
12652 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12653 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12654 if test "x
${build}" != "x
${host}" ; then
12655 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12656 # We already found the complete path
12657 ac_dir=`dirname $WINDRES_FOR_TARGET`
12658 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12659 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12661 # Canadian cross, just use what we found
12662 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12663 echo "${ECHO_T}pre-installed
" >&6
12667 case " ${configdirs} " in
12672 if test $ok = yes; then
12673 # An in-tree tool is available and we can use it
12674 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12675 echo "$as_me:$LINENO: result
: just compiled
" >&5
12676 echo "${ECHO_T}just compiled
" >&6
12677 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12678 # We already found the complete path
12679 ac_dir=`dirname $WINDRES_FOR_TARGET`
12680 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12681 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12682 elif test "x
$target" = "x
$host"; then
12683 # We can use an host tool
12684 WINDRES_FOR_TARGET='$(WINDRES)'
12685 echo "$as_me:$LINENO: result
: host tool
" >&5
12686 echo "${ECHO_T}host tool
" >&6
12688 # We need a cross tool
12689 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12690 echo "${ECHO_T}pre-installed
" >&6
12694 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12695 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12696 if test "x
${build}" != "x
${host}" ; then
12697 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12698 # We already found the complete path
12699 ac_dir=`dirname $WINDMC_FOR_TARGET`
12700 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12701 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12703 # Canadian cross, just use what we found
12704 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12705 echo "${ECHO_T}pre-installed
" >&6
12709 case " ${configdirs} " in
12714 if test $ok = yes; then
12715 # An in-tree tool is available and we can use it
12716 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12717 echo "$as_me:$LINENO: result
: just compiled
" >&5
12718 echo "${ECHO_T}just compiled
" >&6
12719 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12720 # We already found the complete path
12721 ac_dir=`dirname $WINDMC_FOR_TARGET`
12722 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12723 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12724 elif test "x
$target" = "x
$host"; then
12725 # We can use an host tool
12726 WINDMC_FOR_TARGET='$(WINDMC)'
12727 echo "$as_me:$LINENO: result
: host tool
" >&5
12728 echo "${ECHO_T}host tool
" >&6
12730 # We need a cross tool
12731 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12732 echo "${ECHO_T}pre-installed
" >&6
12740 # Certain tools may need extra flags.
12741 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12742 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12743 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12745 # When building target libraries, except in a Canadian cross, we use
12746 # the same toolchain as the compiler we just built.
12747 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12748 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12749 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12750 if test $host = $build; then
12751 case " $configdirs " in
12753 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12754 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12755 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12764 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12765 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12766 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12767 if test "${enable_maintainer_mode+set}" = set; then
12768 enableval="$enable_maintainer_mode"
12769 USE_MAINTAINER_MODE=$enableval
12771 USE_MAINTAINER_MODE=no
12773 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12774 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12777 if test "$USE_MAINTAINER_MODE" = yes; then
12778 MAINTAINER_MODE_TRUE=
12779 MAINTAINER_MODE_FALSE='#'
12781 MAINTAINER_MODE_TRUE='#'
12782 MAINTAINER_MODE_FALSE=
12784 MAINT=$MAINTAINER_MODE_TRUE
12786 # ---------------------
12787 # GCC bootstrap support
12788 # ---------------------
12790 # Stage specific cflags for build.
12795 yes) stage1_cflags="-g -Wa,-J" ;;
12796 *) stage1_cflags="-g -J" ;;
12800 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12801 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
12802 saved_CFLAGS="$CFLAGS"
12804 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12805 CFLAGS="$CFLAGS -fkeep-inline-functions"
12806 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12807 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 #if (__GNUC__ < 3) \
12816 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12817 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12818 #error http://gcc.gnu.org/PR29382
12829 rm -f conftest.$ac_objext
12830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12831 (eval $ac_compile) 2>conftest.er1
12833 grep -v '^ *+' conftest.er1 >conftest.err
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try='test -z "$ac_c_werror_flag"
12839 || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 echo "$as_me:$LINENO: result
: yes" >&5
12852 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12854 echo "$as_me: failed program was
:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12857 echo "$as_me:$LINENO: result
: no
" >&5
12858 echo "${ECHO_T}no
" >&6
12860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12862 CFLAGS="$saved_CFLAGS"
12867 # Enable --enable-checking in stage1 of the compiler.
12868 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12869 if test "${enable_stage1_checking+set}" = set; then
12870 enableval="$enable_stage1_checking"
12871 stage1_checking=--enable-checking=${enable_stage1_checking}
12873 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12874 stage1_checking=--enable-checking=yes,types
12876 stage1_checking=--enable-checking=$enable_checking,types
12881 # Enable -Werror in bootstrap stage2 and later.
12882 # Check whether --enable-werror or --disable-werror was given.
12883 if test "${enable_werror+set}" = set; then
12884 enableval="$enable_werror"
12887 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12893 case ${enable_werror} in
12894 yes) stage2_werror_flag="--enable-werror-always" ;;
12895 *) stage2_werror_flag="" ;;
12899 # Flags needed to enable html installing and building
12901 # Check whether --with-datarootdir or --without-datarootdir was given.
12902 if test "${with_datarootdir+set}" = set; then
12903 withval="$with_datarootdir"
12904 datarootdir="\
${prefix}/${withval}"
12906 datarootdir="\
${prefix}/share
"
12910 # Check whether --with-docdir or --without-docdir was given.
12911 if test "${with_docdir+set}" = set; then
12912 withval="$with_docdir"
12913 docdir="\
${prefix}/${withval}"
12915 docdir="\
${datarootdir}/doc
"
12919 # Check whether --with-pdfdir or --without-pdfdir was given.
12920 if test "${with_pdfdir+set}" = set; then
12921 withval="$with_pdfdir"
12922 pdfdir="\
${prefix}/${withval}"
12924 pdfdir="\
${docdir}"
12928 # Check whether --with-htmldir or --without-htmldir was given.
12929 if test "${with_htmldir+set}" = set; then
12930 withval="$with_htmldir"
12931 htmldir="\
${prefix}/${withval}"
12933 htmldir="\
${docdir}"
12941 # Specify what files to not compare during bootstrap.
12943 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
12945 hppa*64*-*-hpux*) ;;
12946 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
12950 ac_config_files="$ac_config_files Makefile
"
12951 cat >confcache <<\_ACEOF
12952 # This file is a shell script that caches the results of configure
12953 # tests run on this system so they can be shared between configure
12954 # scripts and configure runs, see configure's option --config-cache.
12955 # It is not useful on other systems. If it contains results you don't
12956 # want to keep, you may remove or edit it.
12958 # config.status only pays attention to the cache file if you give it
12959 # the --recheck option to rerun configure.
12961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12963 # following values.
12967 # The following way of writing the cache mishandles newlines in values,
12968 # but we know of no workaround that is simple, portable, and efficient.
12969 # So, don't put newlines in cache variables' values.
12970 # Ultrix sh set writes to stderr and can't be redirected directly,
12971 # and sets the high bit in the cache file unless we assign to the vars.
12974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12976 # `set' does not quote correctly, so add quotes (double-quote
12977 # substitution turns \\\\ into \\, and sed turns \\ into \).
12980 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12983 # `set' quotes correctly as required by POSIX, so do not add quotes.
12985 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12996 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12997 if test -w $cache_file; then
12998 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12999 cat confcache >$cache_file
13001 echo "not updating unwritable cache
$cache_file"
13006 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13007 # Let make expand exec_prefix.
13008 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13010 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13011 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13012 # trailing colons and then remove the whole line if VPATH becomes empty
13013 # (actually we leave an empty line to preserve line numbers).
13014 if test "x
$srcdir" = x.; then
13015 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13016 s/:*\$(srcdir):*/:/;
13017 s/:*\${srcdir}:*/:/;
13019 s/^\([^=]*=[ ]*\):*/\1/;
13025 # Transform confdefs.h into DEFS.
13026 # Protect against shell expansion while executing Makefile rules.
13027 # Protect against Makefile macro expansion.
13029 # If the first sed substitution is executed (which looks for macros that
13030 # take arguments), then we branch to the quote section. Otherwise,
13031 # look for a macro that doesn't take arguments.
13032 cat >confdef2opt.sed <<\_ACEOF
13035 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
13037 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
13041 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
13047 # We use echo to avoid assuming a particular line-breaking character.
13048 # The extra dot is to prevent the shell from consuming trailing
13049 # line-breaks from the sub-command output. A line-break within
13050 # single-quotes doesn't work because, if this script is created in a
13051 # platform that uses two characters for line-breaks (e.g., DOS), tr
13053 ac_LF_and_DOT
=`echo; echo .`
13054 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
13055 rm -f confdef2opt.
sed
13060 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13061 # 1. Remove the extension, and $U if already installed.
13062 ac_i
=`echo "$ac_i" |
13063 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13065 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13066 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13068 LIBOBJS
=$ac_libobjs
13070 LTLIBOBJS
=$ac_ltlibobjs
13074 : ${CONFIG_STATUS=./config.status}
13075 ac_clean_files_save
=$ac_clean_files
13076 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13077 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13078 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13079 cat >$CONFIG_STATUS <<_ACEOF
13081 # Generated by $as_me.
13082 # Run this file to recreate the current configuration.
13083 # Compiler output produced by configure, useful for debugging
13084 # configure, is in config.log if it exists.
13087 ac_cs_recheck=false
13089 SHELL=\${CONFIG_SHELL-$SHELL}
13092 cat >>$CONFIG_STATUS <<\_ACEOF
13093 ## --------------------- ##
13094 ## M4sh Initialization. ##
13095 ## --------------------- ##
13097 # Be Bourne compatible
13098 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13101 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13102 # is contrary to our usage. Disable this feature.
13103 alias -g '${1+"$@"}'='"$@"'
13104 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13107 DUALCASE
=1; export DUALCASE
# for MKS sh
13109 # Support unset when possible.
13110 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13117 # Work around bugs in pre-3.0 UWIN ksh.
13118 $as_unset ENV MAIL MAILPATH
13125 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13126 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13127 LC_TELEPHONE LC_TIME
13129 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13130 eval $as_var=C
; export $as_var
13136 # Required to use basename.
13137 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13143 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13144 as_basename
=basename
13150 # Name of the executable.
13151 as_me
=`$as_basename "$0" ||
13152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13153 X"$0" : 'X\(//\)$' \| \
13154 X"$0" : 'X\(/\)$' \| \
13155 . : '\(.\)' 2>/dev/null ||
13157 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13158 /^X\/\(\/\/\)$/{ s//\1/; q; }
13159 /^X\/\(\/\).*/{ s//\1/; q; }
13163 # PATH needs CR, and LINENO needs CR and PATH.
13164 # Avoid depending upon Character Ranges.
13165 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13166 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13167 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13168 as_cr_digits
='0123456789'
13169 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13171 # The user is always right.
13172 if test "${PATH_SEPARATOR+set}" != set; then
13173 echo "#! /bin/sh" >conf$$.sh
13174 echo "exit 0" >>conf$$.sh
13176 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13185 as_lineno_1
=$LINENO
13186 as_lineno_2
=$LINENO
13187 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13188 test "x$as_lineno_1" != "x$as_lineno_2" &&
13189 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13190 # Find who we are. Look in the path if we contain no path at all
13193 *[\\/]* ) as_myself
=$0 ;;
13194 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13195 for as_dir
in $PATH
13198 test -z "$as_dir" && as_dir
=.
13199 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13204 # We did not find ourselves, most probably we were run as `sh COMMAND'
13205 # in which case we are not to be found in the path.
13206 if test "x$as_myself" = x
; then
13209 if test ! -f "$as_myself"; then
13210 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13211 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13212 { (exit 1); exit 1; }; }
13214 case $CONFIG_SHELL in
13216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13217 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13220 test -z "$as_dir" && as_dir
=.
13221 for as_base
in sh bash ksh sh5
; do
13224 if ("$as_dir/$as_base" -c '
13225 as_lineno_1=$LINENO
13226 as_lineno_2=$LINENO
13227 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13228 test "x$as_lineno_1" != "x$as_lineno_2" &&
13229 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13230 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13231 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13232 CONFIG_SHELL
=$as_dir/$as_base
13233 export CONFIG_SHELL
13234 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13242 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13243 # uniformly replaced by the line number. The first 'sed' inserts a
13244 # line-number line before each line; the second 'sed' does the real
13245 # work. The second script uses 'N' to pair each line-number line
13246 # with the numbered line, and appends trailing '-' during
13247 # substitution so that $LINENO is not a special case at line end.
13248 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13249 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13250 sed '=' <$as_myself |
13255 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13258 s,^['$as_cr_digits']*\n,,
13259 ' >$as_me.lineno
&&
13260 chmod +x
$as_me.lineno ||
13261 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13262 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13263 { (exit 1); exit 1; }; }
13265 # Don't try to exec as it changes $[0], causing all sort of problems
13266 # (the dirname of $[0] is not the place where we might find the
13267 # original and so on. Autoconf is especially sensible to this).
13269 # Exit status is that of the last command.
13274 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13275 *c
*,-n*) ECHO_N
= ECHO_C
='
13277 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13278 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13281 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13287 rm -f conf$$ conf$$.exe conf$$.
file
13289 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13290 # We could just check for DJGPP; but this test a) works b) is more generic
13291 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13292 if test -f conf$$.exe
; then
13293 # Don't use ln at all; we don't have any links
13298 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13303 rm -f conf$$ conf$$.exe conf$$.
file
13305 if mkdir
-p .
2>/dev
/null
; then
13308 test -d .
/-p && rmdir .
/-p
13312 as_executable_p
="test -f"
13314 # Sed expression to map a string onto a valid CPP name.
13315 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13317 # Sed expression to map a string onto a valid variable name.
13318 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13322 # We need space, tab and new line, in precisely that order.
13332 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13333 # report actual input values of CONFIG_FILES etc. instead of their
13334 # values after options handling. Logging --version etc. is OK.
13338 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13339 ## Running $as_me. ##
13344 This file was extended by $as_me, which was
13345 generated by GNU Autoconf 2.59. Invocation command line was
13347 CONFIG_FILES = $CONFIG_FILES
13348 CONFIG_HEADERS = $CONFIG_HEADERS
13349 CONFIG_LINKS = $CONFIG_LINKS
13350 CONFIG_COMMANDS = $CONFIG_COMMANDS
13354 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13358 # Files that config.status was made for.
13359 if test -n "$ac_config_files"; then
13360 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13363 if test -n "$ac_config_headers"; then
13364 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13367 if test -n "$ac_config_links"; then
13368 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13371 if test -n "$ac_config_commands"; then
13372 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13375 cat >>$CONFIG_STATUS <<\_ACEOF
13378 \`$as_me' instantiates files from templates according to the
13379 current configuration.
13381 Usage: $0 [OPTIONS] [FILE]...
13383 -h, --help print this help, then exit
13384 -V, --version print version number, then exit
13385 -q, --quiet do not print progress messages
13386 -d, --debug don't remove temporary files
13387 --recheck update $as_me by reconfiguring in the same conditions
13388 --file=FILE[:TEMPLATE]
13389 instantiate the configuration file FILE
13391 Configuration files:
13394 Report bugs to <bug-autoconf@gnu.org>."
13397 cat >>$CONFIG_STATUS <<_ACEOF
13400 configured by $0, generated by GNU Autoconf 2.59,
13401 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13403 Copyright (C) 2003 Free Software Foundation, Inc.
13404 This config.status script is free software; the Free Software Foundation
13405 gives unlimited permission to copy, distribute and modify it."
13410 cat >>$CONFIG_STATUS <<\_ACEOF
13411 # If no file are specified by the user, then we need to provide default
13412 # value. By we need to know if files were specified by the user.
13418 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13419 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13427 *) # This is not an option, so the user has probably given explicit
13430 ac_need_defaults
=false
;;
13434 # Handling of the options.
13436 cat >>$CONFIG_STATUS <<\_ACEOF
13437 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13439 --version |
--vers* |
-V )
13440 echo "$ac_cs_version"; exit 0 ;;
13442 # Conflict between --help and --header
13443 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13444 Try \`$0 --help' for more information." >&5
13445 echo "$as_me: error: ambiguous option: $1
13446 Try \`$0 --help' for more information." >&2;}
13447 { (exit 1); exit 1; }; };;
13448 --help |
--hel |
-h )
13449 echo "$ac_cs_usage"; exit 0 ;;
13450 --debug |
--d* |
-d )
13452 --file |
--fil |
--fi |
--f )
13454 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13455 ac_need_defaults
=false
;;
13456 --header |
--heade |
--head |
--hea )
13458 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13459 ac_need_defaults
=false
;;
13460 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13461 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13464 # This is an error.
13465 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13466 Try \`$0 --help' for more information." >&5
13467 echo "$as_me: error: unrecognized option: $1
13468 Try \`$0 --help' for more information." >&2;}
13469 { (exit 1); exit 1; }; } ;;
13471 *) ac_config_targets
="$ac_config_targets $1" ;;
13477 ac_configure_extra_args
=
13479 if $ac_cs_silent; then
13481 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13485 cat >>$CONFIG_STATUS <<_ACEOF
13486 if \$ac_cs_recheck; then
13487 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13488 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13497 cat >>$CONFIG_STATUS <<\_ACEOF
13498 for ac_config_target
in $ac_config_targets
13500 case "$ac_config_target" in
13501 # Handling of arguments.
13502 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13503 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13504 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13505 { (exit 1); exit 1; }; };;
13509 # If the user did not use the arguments to specify the items to instantiate,
13510 # then the envvar interface is used. Set only those that are not.
13511 # We use the long form for the default assignment because of an extremely
13512 # bizarre bug on SunOS 4.1.3.
13513 if $ac_need_defaults; then
13514 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13517 # Have a temporary directory for convenience. Make it in the build tree
13518 # simply because there is no reason to put it here, and in addition,
13519 # creating and moving files from /tmp can sometimes cause problems.
13520 # Create a temporary directory, and hook for its removal unless debugging.
13523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13524 trap '{ (exit 1); exit 1; }' 1 2 13 15
13527 # Create a (secure) tmp directory for tmp files.
13530 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13531 test -n "$tmp" && test -d "$tmp"
13534 tmp
=.
/confstat$$
-$RANDOM
13535 (umask 077 && mkdir
$tmp)
13538 echo "$me: cannot create a temporary directory in ." >&2
13539 { (exit 1); exit 1; }
13544 cat >>$CONFIG_STATUS <<_ACEOF
13547 # CONFIG_FILES section.
13550 # No need to generate the scripts if there are no CONFIG_FILES.
13551 # This happens for instance when ./config.status config.h
13552 if test -n "\$CONFIG_FILES"; then
13553 # Protect against being on the right side of a sed subst in config.status.
13554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13556 s,@SHELL@,$SHELL,;t t
13557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13563 s,@exec_prefix@,$exec_prefix,;t t
13564 s,@prefix@,$prefix,;t t
13565 s,@program_transform_name@,$program_transform_name,;t t
13566 s,@bindir@,$bindir,;t t
13567 s,@sbindir@,$sbindir,;t t
13568 s,@libexecdir@,$libexecdir,;t t
13569 s,@datadir@,$datadir,;t t
13570 s,@sysconfdir@,$sysconfdir,;t t
13571 s,@sharedstatedir@,$sharedstatedir,;t t
13572 s,@localstatedir@,$localstatedir,;t t
13573 s,@libdir@,$libdir,;t t
13574 s,@includedir@,$includedir,;t t
13575 s,@oldincludedir@,$oldincludedir,;t t
13576 s,@infodir@,$infodir,;t t
13577 s,@mandir@,$mandir,;t t
13578 s,@build_alias@,$build_alias,;t t
13579 s,@host_alias@,$host_alias,;t t
13580 s,@target_alias@,$target_alias,;t t
13581 s,@DEFS@,$DEFS,;t t
13582 s,@ECHO_C@,$ECHO_C,;t t
13583 s,@ECHO_N@,$ECHO_N,;t t
13584 s,@ECHO_T@,$ECHO_T,;t t
13585 s,@LIBS@,$LIBS,;t t
13586 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13587 s,@build@,$build,;t t
13588 s,@build_cpu@,$build_cpu,;t t
13589 s,@build_vendor@,$build_vendor,;t t
13590 s,@build_os@,$build_os,;t t
13591 s,@build_noncanonical@,$build_noncanonical,;t t
13592 s,@host_noncanonical@,$host_noncanonical,;t t
13593 s,@target_noncanonical@,$target_noncanonical,;t t
13594 s,@host@,$host,;t t
13595 s,@host_cpu@,$host_cpu,;t t
13596 s,@host_vendor@,$host_vendor,;t t
13597 s,@host_os@,$host_os,;t t
13598 s,@target@,$target,;t t
13599 s,@target_cpu@,$target_cpu,;t t
13600 s,@target_vendor@,$target_vendor,;t t
13601 s,@target_os@,$target_os,;t t
13602 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13603 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13604 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13606 s,@LN_S@,$LN_S,;t t
13607 s,@build_libsubdir@,$build_libsubdir,;t t
13608 s,@build_subdir@,$build_subdir,;t t
13609 s,@host_subdir@,$host_subdir,;t t
13610 s,@target_subdir@,$target_subdir,;t t
13612 s,@CFLAGS@,$CFLAGS,;t t
13613 s,@LDFLAGS@,$LDFLAGS,;t t
13614 s,@CPPFLAGS@,$CPPFLAGS,;t t
13615 s,@ac_ct_CC@,$ac_ct_CC,;t t
13616 s,@EXEEXT@,$EXEEXT,;t t
13617 s,@OBJEXT@,$OBJEXT,;t t
13619 s,@CXXFLAGS@,$CXXFLAGS,;t t
13620 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13621 s,@GNATBIND@,$GNATBIND,;t t
13622 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13623 s,@GNATMAKE@,$GNATMAKE,;t t
13624 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13625 s,@do_compare@,$do_compare,;t t
13626 s,@gmplibs@,$gmplibs,;t t
13627 s,@gmpinc@,$gmpinc,;t t
13628 s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
13629 s,@extra_mpc_gmp_configure_flags@,$extra_mpc_gmp_configure_flags,;t t
13630 s,@extra_mpc_mpfr_configure_flags@,$extra_mpc_mpfr_configure_flags,;t t
13631 s,@stage1_ldflags@,$stage1_ldflags,;t t
13632 s,@stage1_libs@,$stage1_libs,;t t
13633 s,@poststage1_ldflags@,$poststage1_ldflags,;t t
13634 s,@poststage1_libs@,$poststage1_libs,;t t
13635 s,@ppllibs@,$ppllibs,;t t
13636 s,@pplinc@,$pplinc,;t t
13637 s,@clooglibs@,$clooglibs,;t t
13638 s,@clooginc@,$clooginc,;t t
13639 s,@stage1_languages@,$stage1_languages,;t t
13640 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13641 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13642 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13643 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13644 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13645 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13646 s,@tooldir@,$tooldir,;t t
13647 s,@build_tooldir@,$build_tooldir,;t t
13648 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13649 s,@GDB_TK@,$GDB_TK,;t t
13650 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13651 s,@build_configargs@,$build_configargs,;t t
13652 s,@build_configdirs@,$build_configdirs,;t t
13653 s,@host_configargs@,$host_configargs,;t t
13654 s,@configdirs@,$configdirs,;t t
13655 s,@target_configargs@,$target_configargs,;t t
13656 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13657 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13658 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13659 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13660 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13661 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13662 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13663 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13664 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13665 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13666 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13667 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13668 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13669 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13670 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13671 s,@config_shell@,$config_shell,;t t
13672 s,@YACC@,$YACC,;t t
13673 s,@BISON@,$BISON,;t t
13676 s,@FLEX@,$FLEX,;t t
13677 s,@MAKEINFO@,$MAKEINFO,;t t
13678 s,@EXPECT@,$EXPECT,;t t
13679 s,@RUNTEST@,$RUNTEST,;t t
13682 s,@DLLTOOL@,$DLLTOOL,;t t
13684 s,@LIPO@,$LIPO,;t t
13686 s,@RANLIB@,$RANLIB,;t t
13687 s,@STRIP@,$STRIP,;t t
13688 s,@WINDRES@,$WINDRES,;t t
13689 s,@WINDMC@,$WINDMC,;t t
13690 s,@OBJCOPY@,$OBJCOPY,;t t
13691 s,@OBJDUMP@,$OBJDUMP,;t t
13692 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13693 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13694 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13695 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13696 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13697 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13698 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13699 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13700 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13701 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13702 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13703 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13704 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13705 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13706 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13707 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13708 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13709 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13710 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13711 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13712 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13713 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13714 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13715 s,@MAINT@,$MAINT,;t t
13716 s,@stage1_cflags@,$stage1_cflags,;t t
13717 s,@stage1_checking@,$stage1_checking,;t t
13718 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13719 s,@datarootdir@,$datarootdir,;t t
13720 s,@docdir@,$docdir,;t t
13721 s,@pdfdir@,$pdfdir,;t t
13722 s,@htmldir@,$htmldir,;t t
13723 s,@compare_exclusions@,$compare_exclusions,;t t
13724 s,@LIBOBJS@,$LIBOBJS,;t t
13725 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13726 /@serialization_dependencies@/r $serialization_dependencies
13727 s,@serialization_dependencies@,,;t t
13728 /@host_makefile_frag@/r $host_makefile_frag
13729 s,@host_makefile_frag@,,;t t
13730 /@target_makefile_frag@/r $target_makefile_frag
13731 s,@target_makefile_frag@,,;t t
13732 /@alphaieee_frag@/r $alphaieee_frag
13733 s,@alphaieee_frag@,,;t t
13734 /@ospace_frag@/r $ospace_frag
13735 s,@ospace_frag@,,;t t
13740 cat >>$CONFIG_STATUS <<\_ACEOF
13741 # Split the substitutions into bite-sized pieces for seds with
13742 # small command number limits, like on Digital OSF/1 and HP-UX.
13743 ac_max_sed_lines
=48
13744 ac_sed_frag
=1 # Number of current file.
13745 ac_beg
=1 # First line for current file.
13746 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13749 while $ac_more_lines; do
13750 if test $ac_beg -gt 1; then
13751 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13753 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13755 if test ! -s $tmp/subs.frag
; then
13756 ac_more_lines
=false
13758 # The purpose of the label and of the branching condition is to
13759 # speed up the sed processing (if there are no `@' at all, there
13760 # is no need to browse any of the substitutions).
13761 # These are the two extra sed commands mentioned above.
13763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13764 if test -z "$ac_sed_cmds"; then
13765 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13767 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13769 ac_sed_frag
=`expr $ac_sed_frag + 1`
13771 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13774 if test -z "$ac_sed_cmds"; then
13777 fi # test -n "$CONFIG_FILES"
13780 cat >>$CONFIG_STATUS <<\_ACEOF
13781 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13782 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13784 - |
*:- |
*:-:* ) # input from stdin
13786 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13787 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13788 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13789 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13790 * ) ac_file_in
=$ac_file.
in ;;
13793 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13794 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13796 X"$ac_file" : 'X\(//\)[^/]' \| \
13797 X"$ac_file" : 'X\(//\)$' \| \
13798 X"$ac_file" : 'X\(/\)' \| \
13799 . : '\(.\)' 2>/dev/null ||
13801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13803 /^X\(\/\/\)$/{ s//\1/; q; }
13804 /^X\(\/\).*/{ s//\1/; q; }
13806 { if $as_mkdir_p; then
13811 while test ! -d "$as_dir"; do
13812 as_dirs
="$as_dir $as_dirs"
13813 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13814 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13815 X"$as_dir" : 'X\(//\)[^/]' \| \
13816 X"$as_dir" : 'X\(//\)$' \| \
13817 X"$as_dir" : 'X\(/\)' \| \
13818 . : '\(.\)' 2>/dev/null ||
13820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13822 /^X\(\/\/\)$/{ s//\1/; q; }
13823 /^X\(\/\).*/{ s//\1/; q; }
13826 test ! -n "$as_dirs" || mkdir
$as_dirs
13827 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13828 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13829 { (exit 1); exit 1; }; }; }
13833 if test "$ac_dir" != .
; then
13834 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13835 # A "../" for each directory in $ac_dir_suffix.
13836 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13838 ac_dir_suffix
= ac_top_builddir
=
13842 .
) # No --srcdir option. We are building in place.
13844 if test -z "$ac_top_builddir"; then
13847 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13849 [\\/]* | ?
:[\\/]* ) # Absolute path.
13850 ac_srcdir
=$srcdir$ac_dir_suffix;
13851 ac_top_srcdir
=$srcdir ;;
13852 *) # Relative path.
13853 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13854 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13857 # Do not use `cd foo && pwd` to compute absolute paths, because
13858 # the directories may not exist.
13860 .
) ac_abs_builddir
="$ac_dir";;
13863 .
) ac_abs_builddir
=`pwd`;;
13864 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13865 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13868 case $ac_abs_builddir in
13869 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13871 case ${ac_top_builddir}.
in
13872 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13873 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13874 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13877 case $ac_abs_builddir in
13878 .
) ac_abs_srcdir
=$ac_srcdir;;
13881 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13882 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13883 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13886 case $ac_abs_builddir in
13887 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13889 case $ac_top_srcdir in
13890 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13891 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13892 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13898 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13899 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13902 if test x
"$ac_file" != x-
; then
13903 { echo "$as_me:$LINENO: creating $ac_file" >&5
13904 echo "$as_me: creating $ac_file" >&6;}
13907 # Let's still pretend it is `configure' which instantiates (i.e., don't
13908 # use $as_me), people would be surprised to read:
13909 # /* config.h. Generated by config.status. */
13910 if test x
"$ac_file" = x-
; then
13913 configure_input
="$ac_file. "
13915 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13916 sed 's,.*/,,'` by configure."
13918 # First look for the input files in the build tree, otherwise in the
13920 ac_file_inputs
=`IFS=:
13921 for f in $ac_file_in; do
13923 -) echo $tmp/stdin ;;
13925 # Absolute (can't be DOS-style, as IFS=:)
13926 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13927 echo "$as_me: error: cannot find input file: $f" >&2;}
13928 { (exit 1); exit 1; }; }
13931 if test -f "$f"; then
13934 elif test -f "$srcdir/$f"; then
13939 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13940 echo "$as_me: error: cannot find input file: $f" >&2;}
13941 { (exit 1); exit 1; }; }
13944 done` ||
{ (exit 1); exit 1; }
13946 cat >>$CONFIG_STATUS <<_ACEOF
13950 cat >>$CONFIG_STATUS <<\_ACEOF
13952 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13953 s
,@configure_input@
,$configure_input,;t t
13954 s
,@srcdir@
,$ac_srcdir,;t t
13955 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13956 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13957 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13958 s
,@builddir@
,$ac_builddir,;t t
13959 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13960 s
,@top_builddir@
,$ac_top_builddir,;t t
13961 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13962 s
,@INSTALL@
,$ac_INSTALL,;t t
13963 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13965 if test x"$ac_file" != x-; then
13966 mv $tmp/out $ac_file
13975 cat >>$CONFIG_STATUS <<\_ACEOF
13977 { (exit 0); exit 0; }
13979 chmod +x $CONFIG_STATUS
13980 ac_clean_files=$ac_clean_files_save
13983 # configure is writing to config.log, and then calls config.status.
13984 # config.status does its own redirection, appending to config.log.
13985 # Unfortunately, on DOS this fails, as config.log is still kept open
13986 # by configure, so config.status won't be able to write to it; its
13987 # output is simply discarded. So we exec the FD to /dev/null,
13988 # effectively closing config.log, so it can be properly (re)opened and
13989 # appended to by config.status. When coming back to configure, we
13990 # need to make the FD available again.
13991 if test "$no_create" != yes; then
13993 ac_config_status_args=
13994 test "$silent" = yes &&
13995 ac_config_status_args="$ac_config_status_args --quiet"
13997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14000 # would make configure fail if this is the last instruction.
14001 $ac_cs_success || { (exit 1); exit 1; }