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 if test "$withval" = "no" -o "$withval" = "yes"; then
988 poststage1_libs=$withval
990 --with-ppl=PATH Specify prefix directory for the installed PPL package
991 Equivalent to --with-ppl-include=PATH/include
992 plus --with-ppl-lib=PATH/lib
993 --with-ppl-include=PATH Specify directory for installed PPL include files
994 --with-ppl-lib=PATH Specify the directory for the installed PPL library
995 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
996 Equivalent to --with-cloog-include=PATH/include
997 plus --with-cloog-lib=PATH/lib
998 --with-cloog-include=PATH Specify directory for installed CLooG include files
999 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1000 --with-build-sysroot=SYSROOT
1001 use sysroot as the system root during the build
1002 --with-debug-prefix-map='A
=B C
=D ...
'
1003 map A to B, C to D ... in debug information
1004 --with-build-time-tools=PATH
1005 use given path to find target tools during the build
1006 --with-datarootdir use datarootdir as the data root directory.
1007 --with-docdir install documentation in this directory.
1008 --with-pdfdir install pdf in this directory.
1009 --with-htmldir install html in this directory.
1011 Some influential environment variables:
1012 CC C compiler command
1013 CFLAGS C compiler flags
1014 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1015 nonstandard directory <lib dir>
1016 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1017 headers in a nonstandard directory <include dir>
1018 CXX C++ compiler command
1019 CXXFLAGS C++ compiler flags
1022 DLLTOOL DLLTOOL for the host
1024 LIPO LIPO for the host
1026 RANLIB RANLIB for the host
1027 STRIP STRIP for the host
1028 WINDRES WINDRES for the host
1029 WINDMC WINDMC for the host
1030 OBJCOPY OBJCOPY for the host
1031 OBJDUMP OBJDUMP for the host
1041 GFORTRAN for the target
1047 DLLTOOL for the target
1055 OBJDUMP for the target
1057 RANLIB for the target
1059 STRIP for the target
1061 WINDRES for the target
1063 WINDMC for the target
1065 Use these variables to override the choices made by `configure' or to
help
1066 it to
find libraries and programs with nonstandard names
/locations.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1075 test -d $ac_dir ||
continue
1078 if test "$ac_dir" != .
; then
1079 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix
= ac_top_builddir
=
1087 .
) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1094 [\\/]* | ?
:[\\/]* ) # Absolute path.
1095 ac_srcdir
=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir
=$srcdir ;;
1098 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo && pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .
) ac_abs_builddir
="$ac_dir";;
1108 .
) ac_abs_builddir
=`pwd`;;
1109 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1110 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1116 case ${ac_top_builddir}.
in
1117 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1118 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1119 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1122 case $ac_abs_builddir in
1123 .
) ac_abs_srcdir
=$ac_srcdir;;
1126 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1127 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1128 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1136 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu
; then
1145 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1146 elif test -f $ac_srcdir/configure
; then
1148 $SHELL $ac_srcdir/configure
--help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.
in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1164 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1165 This configure
script is free software
; the Free Software Foundation
1166 gives unlimited permission to copy
, distribute and modify it.
1172 This file contains any messages produced by compilers while
1173 running configure, to aid debugging if configure makes a mistake.
1175 It was created by $as_me, which was
1176 generated by GNU Autoconf 2.59. Invocation command line was
1187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1194 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1196 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1197 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1199 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1200 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1201 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1202 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1210 test -z "$as_dir" && as_dir
=.
1211 echo "PATH: $as_dir"
1226 # Keep a trace of the command line.
1227 # Strip out --no-create and --no-recursion so they do not pile up.
1228 # Strip out --silent because we don't want to record it for future runs.
1229 # Also quote any args containing shell meta-characters.
1230 # Make two passes to allow for proper duplicate-argument suppression.
1235 ac_must_keep_next
=false
1241 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1243 |
-silent |
--silent |
--silen |
--sile |
--sil)
1245 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1249 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1251 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1252 if test $ac_must_keep_next = true
; then
1253 ac_must_keep_next
=false
# Got value, back to normal.
1256 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1257 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1258 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1259 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1260 case "$ac_configure_args0 " in
1261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1264 -* ) ac_must_keep_next
=true
;;
1267 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1268 # Get rid of the leading space.
1274 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1275 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1277 # When interrupted or exit'd, cleanup temporary files, and complete
1278 # config.log. We remove comments because anyway the quotes in there
1279 # would cause problems or look ugly.
1280 # WARNING: Be sure not to use single quotes in there, as some shells,
1281 # such as our DU 5.0 friend, will then `close' the trap.
1282 trap 'exit_status=$?
1283 # Save into config.log some information that might help in debugging.
1288 ## ---------------- ##
1289 ## Cache variables. ##
1290 ## ---------------- ##
1293 # The following way of writing the cache mishandles newlines in values,
1296 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1299 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1304 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1311 ## ----------------- ##
1312 ## Output variables. ##
1313 ## ----------------- ##
1316 for ac_var in $ac_subst_vars
1318 eval ac_val=$`echo $ac_var`
1319 echo "$ac_var='"'"'$ac_val'"'"'"
1323 if test -n "$ac_subst_files"; then
1330 for ac_var in $ac_subst_files
1332 eval ac_val=$`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1338 if test -s confdefs.h; then
1345 sed "/^$/d" confdefs.h | sort
1348 test "$ac_signal" != 0 &&
1349 echo "$as_me: caught signal $ac_signal"
1350 echo "$as_me: exit $exit_status"
1352 rm -f core *.core &&
1353 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1356 for ac_signal
in 1 2 13 15; do
1357 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1362 rm -rf conftest
* confdefs.h
1363 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1366 # Predefined preprocessor variables.
1368 cat >>confdefs.h
<<_ACEOF
1369 #define PACKAGE_NAME "$PACKAGE_NAME"
1373 cat >>confdefs.h
<<_ACEOF
1374 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1378 cat >>confdefs.h
<<_ACEOF
1379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1383 cat >>confdefs.h
<<_ACEOF
1384 #define PACKAGE_STRING "$PACKAGE_STRING"
1388 cat >>confdefs.h
<<_ACEOF
1389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1393 # Let the site file select an alternate cache file if it wants to.
1394 # Prefer explicitly selected file to automatically selected ones.
1395 if test -z "$CONFIG_SITE"; then
1396 if test "x$prefix" != xNONE
; then
1397 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1399 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1402 for ac_site_file
in $CONFIG_SITE; do
1403 if test -r "$ac_site_file"; then
1404 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1405 echo "$as_me: loading site script $ac_site_file" >&6;}
1406 sed 's/^/| /' "$ac_site_file" >&5
1411 if test -r "$cache_file"; then
1412 # Some versions of bash will fail to source /dev/null (special
1413 # files actually), so we avoid doing that.
1414 if test -f "$cache_file"; then
1415 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1416 echo "$as_me: loading cache $cache_file" >&6;}
1418 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1419 *) . .
/$cache_file;;
1423 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1424 echo "$as_me: creating cache $cache_file" >&6;}
1428 # Check that the precious variables saved in the cache have kept the same
1430 ac_cache_corrupted
=false
1431 for ac_var
in `(set) 2>&1 |
1432 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1433 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1434 eval ac_new_set
=\
$ac_env_${ac_var}_set
1435 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1436 eval ac_new_val
="\$ac_env_${ac_var}_value"
1437 case $ac_old_set,$ac_new_set in
1439 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1440 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1441 ac_cache_corrupted
=: ;;
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1445 ac_cache_corrupted
=: ;;
1448 if test "x$ac_old_val" != "x$ac_new_val"; then
1449 # differences in whitespace do not lead to failure.
1450 ac_old_val_w
=`echo x $ac_old_val`
1451 ac_new_val_w
=`echo x $ac_new_val`
1452 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1453 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1454 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1455 ac_cache_corrupted
=:
1457 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1458 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1459 eval $ac_var=\
$ac_old_val
1461 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1462 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1463 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1464 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1467 # Pass precious variables to config.status.
1468 if test "$ac_new_set" = set; then
1470 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1471 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 *) ac_arg
=$ac_var=$ac_new_val ;;
1474 case " $ac_configure_args " in
1475 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1476 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1480 if $ac_cache_corrupted; then
1481 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1482 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1483 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1484 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1485 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1486 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1487 { (exit 1); exit 1; }; }
1491 ac_cpp
='$CPP $CPPFLAGS'
1492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1520 # if PWD already has a value, it is probably wrong.
1521 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1523 # Export original configure arguments for use by sub-configures.
1524 # Quote arguments with shell meta charatcers.
1525 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1526 set -- "$progname" "$@"
1530 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1531 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1532 # if the argument is of the form -foo=baz, quote the baz part only
1533 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1536 # Add the quoted argument to the list.
1537 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1539 if test "$silent" = yes; then
1540 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1542 # Remove the initial space we just introduced and, as these will be
1543 # expanded by make, quote '$'.
1544 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1547 # Find the build, host, and target systems.
1549 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1550 if test -f $ac_dir/install-sh
; then
1552 ac_install_sh
="$ac_aux_dir/install-sh -c"
1554 elif test -f $ac_dir/install.sh
; then
1556 ac_install_sh
="$ac_aux_dir/install.sh -c"
1558 elif test -f $ac_dir/shtool
; then
1560 ac_install_sh
="$ac_aux_dir/shtool install -c"
1564 if test -z "$ac_aux_dir"; then
1565 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1566 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1567 { (exit 1); exit 1; }; }
1569 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1570 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1571 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1573 # Make sure we can run config.sub.
1574 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1575 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1576 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1577 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: checking build system type" >&5
1580 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1581 if test "${ac_cv_build+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 ac_cv_build_alias
=$build_alias
1585 test -z "$ac_cv_build_alias" &&
1586 ac_cv_build_alias
=`$ac_config_guess`
1587 test -z "$ac_cv_build_alias" &&
1588 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1589 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1590 { (exit 1); exit 1; }; }
1591 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1598 echo "${ECHO_T}$ac_cv_build" >&6
1600 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605 case ${build_alias} in
1606 "") build_noncanonical
=${build} ;;
1607 *) build_noncanonical
=${build_alias} ;;
1612 case ${host_alias} in
1613 "") host_noncanonical
=${build_noncanonical} ;;
1614 *) host_noncanonical
=${host_alias} ;;
1619 case ${target_alias} in
1620 "") target_noncanonical
=${host_noncanonical} ;;
1621 *) target_noncanonical
=${target_alias} ;;
1627 test "$host_noncanonical" = "$target_noncanonical" &&
1628 test "$program_prefix$program_suffix$program_transform_name" = \
1630 program_transform_name
=s
,y
,y
,
1632 echo "$as_me:$LINENO: checking host system type" >&5
1633 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1634 if test "${ac_cv_host+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_host_alias
=$host_alias
1638 test -z "$ac_cv_host_alias" &&
1639 ac_cv_host_alias
=$ac_cv_build_alias
1640 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1647 echo "${ECHO_T}$ac_cv_host" >&6
1649 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 echo "$as_me:$LINENO: checking target system type" >&5
1655 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1656 if test "${ac_cv_target+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 ac_cv_target_alias
=$target_alias
1660 test "x$ac_cv_target_alias" = "x" &&
1661 ac_cv_target_alias
=$ac_cv_host_alias
1662 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1663 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1665 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1669 echo "${ECHO_T}$ac_cv_target" >&6
1670 target
=$ac_cv_target
1671 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1676 # The aliases save the names the user supplied, while $host etc.
1677 # will get canonicalized.
1678 test -n "$target_alias" &&
1679 test "$program_prefix$program_suffix$program_transform_name" = \
1681 program_prefix
=${target_alias}-
1682 test "$program_prefix" != NONE
&&
1683 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1684 # Use a double $ so make ignores it.
1685 test "$program_suffix" != NONE
&&
1686 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1687 # Double any \ or $. echo might interpret backslashes.
1688 # By default was `s,x,x', remove it if useless.
1689 cat <<\_ACEOF
>conftest.
sed
1690 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1692 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1697 # Get 'install' or 'install-sh' and its variants.
1698 # Find a good install program. We prefer a C program (faster),
1699 # so one script is as good as another. But avoid the broken or
1700 # incompatible versions:
1701 # SysV /etc/install, /usr/sbin/install
1702 # SunOS /usr/etc/install
1703 # IRIX /sbin/install
1705 # AmigaOS /C/install, which installs bootblocks on floppy discs
1706 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1709 # OS/2's system install, which has a completely different semantic
1710 # ./install, which can be erroneously created by make from ./install.sh.
1711 # Reject install programs that cannot install multiple files.
1712 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1713 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1714 if test -z "$INSTALL"; then
1715 if test "${ac_cv_path_install+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir
=.
1723 # Account for people who put trailing slashes in PATH elements.
1725 .
/ | .
// |
/cC
/* | \
1726 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1727 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1730 # OSF1 and SCO ODT 3.0 have their own names for install.
1731 # Don't use installbsd from OSF since it installs stuff as root
1733 for ac_prog
in ginstall scoinst
install; do
1734 for ac_exec_ext
in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1736 if test $ac_prog = install &&
1737 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1738 # AIX install. It has an incompatible calling convention.
1740 elif test $ac_prog = install &&
1741 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1742 # program-specific install script used by HP pwplus--don't use.
1745 rm -rf conftest.one conftest.two conftest.dir
1746 echo one
> conftest.one
1747 echo two
> conftest.two
1749 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1750 test -s conftest.one
&& test -s conftest.two
&&
1751 test -s conftest.dir
/conftest.one
&&
1752 test -s conftest.dir
/conftest.two
1754 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1765 rm -rf conftest.one conftest.two conftest.dir
1768 if test "${ac_cv_path_install+set}" = set; then
1769 INSTALL
=$ac_cv_path_install
1771 # As a last resort, use the slow shell script. Don't cache a
1772 # value for INSTALL within a source directory, because that will
1773 # break other packages using the cache if that directory is
1774 # removed, or if the value is a relative name.
1775 INSTALL
=$ac_install_sh
1778 echo "$as_me:$LINENO: result: $INSTALL" >&5
1779 echo "${ECHO_T}$INSTALL" >&6
1781 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1782 # It thinks the first close brace ends the variable substitution.
1783 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1785 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1787 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1789 echo "$as_me:$LINENO: checking whether ln works" >&5
1790 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1791 if test "${acx_cv_prog_LN+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 rm -f conftestdata_t
1795 echo >conftestdata_f
1796 if ln conftestdata_f conftestdata_t
2>/dev
/null
1802 rm -f conftestdata_f conftestdata_t
1805 if test $acx_cv_prog_LN = no
; then
1807 echo "$as_me:$LINENO: result: no, using $LN" >&5
1808 echo "${ECHO_T}no, using $LN" >&6
1810 LN
="$acx_cv_prog_LN"
1811 echo "$as_me:$LINENO: result: yes" >&5
1812 echo "${ECHO_T}yes" >&6
1815 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1816 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1818 if test "$LN_S" = "ln -s"; then
1819 echo "$as_me:$LINENO: result: yes" >&5
1820 echo "${ECHO_T}yes" >&6
1822 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1823 echo "${ECHO_T}no, using $LN_S" >&6
1827 ### we might need to use some other shell than /bin/sh for running subshells
1828 ### If we are on Windows, search for the shell. This will permit people
1829 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1830 ### without also having to set CONFIG_SHELL. This code will work when
1831 ### using bash, which sets OSTYPE.
1834 if test x
${CONFIG_SHELL} = x
; then
1835 if test ! -f /bin
/sh
; then
1836 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1837 CONFIG_SHELL
=${SHELL}
1840 for prog
in sh sh.exe bash bash.exe
; do
1841 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1842 for dir
in $PATH; do
1843 test -z "$dir" && dir
=.
1844 if test -f $dir/$prog; then
1845 CONFIG_SHELL
=$dir/$prog
1851 test -n "${CONFIG_SHELL}" && break
1859 config_shell
=${CONFIG_SHELL-/bin/sh}
1861 moveifchange
=${srcdir}/move-if-change
1863 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1865 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1867 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1868 INSTALL
="${srcpwd}/install-sh -c"
1871 # Set srcdir to "." if that's what it is.
1872 # This is important for multilib support.
1874 if test "${pwd}" = "${srcpwd}" ; then
1882 ### To add a new directory to the tree, first choose whether it is a target
1883 ### or a host dependent tool. Then put it into the appropriate list
1884 ### (library or tools, host or target), doing a dependency sort.
1886 # Subdirs will be configured in the order listed in build_configdirs,
1887 # configdirs, or target_configdirs; see the serialization section below.
1889 # Dependency sorting is only needed when *configuration* must be done in
1890 # a particular order. In all cases a dependency should be specified in
1891 # the Makefile, whether or not it's implicitly specified here.
1893 # Double entries in build_configdirs, configdirs, or target_configdirs may
1894 # cause circular dependencies and break everything horribly.
1896 # these library is used by various programs built for the build
1899 build_libs
="build-libiberty"
1901 # these tools are built for the build environment
1902 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1904 # these libraries are used by various programs built for the host environment
1906 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
1908 # these tools are built for the host environment
1909 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1910 # know that we are building the simulator.
1911 # binutils, gas and ld appear in that order because it makes sense to run
1912 # "make check" in that particular order.
1913 # If --enable-gold is used, "gold" will replace "ld".
1914 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"
1916 # libgcj represents the runtime libraries only used by gcj.
1917 libgcj
="target-libffi \
1922 # these libraries are built for the target environment, and are built after
1923 # the host libraries and the host tools (which may be a cross compiler)
1925 target_libraries
="target-libgcc \
1930 target-libstdc++-v3 \
1933 target-libgfortran \
1939 # these tools are built using the target libraries, and are intended to
1940 # run only in the target environment
1942 # note: any program that *uses* libraries that are in the "target_libraries"
1943 # list belongs in this list. those programs are also very likely
1944 # candidates for the "native_only" list which follows
1946 target_tools
="target-examples target-groff target-gperf target-rda"
1948 ################################################################################
1950 ## All tools belong in one of the four categories, and are assigned above
1951 ## We assign ${configdirs} this way to remove all embedded newlines. This
1952 ## is important because configure will choke if they ever get through.
1953 ## ${configdirs} is directories we build using the host tools.
1954 ## ${target_configdirs} is directories we build using the target tools.
1955 configdirs
=`echo ${host_libs} ${host_tools}`
1956 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1957 build_configdirs
=`echo ${build_libs} ${build_tools}`
1961 ################################################################################
1963 srcname
="gnu development package"
1965 # This gets set non-empty for some net releases of packages.
1968 # Define is_cross_compiler to save on calls to 'test'.
1970 if test x
"${host}" = x
"${target}" ; then
1971 is_cross_compiler
=no
1973 is_cross_compiler
=yes
1976 # Find the build and target subdir names.
1978 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1979 # have matching libraries, they should use host libraries: Makefile.tpl
1980 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1981 # However, they still use the build modules, because the corresponding
1982 # host modules (e.g. bison) are only built for the host when bootstrap
1984 # - build_subdir is where we find build modules, and never changes.
1985 # - build_libsubdir is where we find build libraries, and can be overridden.
1987 # Prefix 'build-' so this never conflicts with target_subdir.
1988 build_subdir
="build-${build_noncanonical}"
1990 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1991 if test "${with_build_libsubdir+set}" = set; then
1992 withval
="$with_build_libsubdir"
1993 build_libsubdir
="$withval"
1995 build_libsubdir
="$build_subdir"
1997 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1998 if ( test $srcdir = .
&& test -d gcc
) \
1999 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2000 host_subdir
="host-${host_noncanonical}"
2005 target_subdir
=${target_noncanonical}
2008 # Skipdirs are removed silently.
2010 # Noconfigdirs are removed loudly.
2014 # Make sure we don't let GNU ld be added if we didn't want it.
2015 if test x
$with_gnu_ld = xno
; then
2017 noconfigdirs
="$noconfigdirs ld gold"
2021 # Make sure we don't let GNU as be added if we didn't want it.
2022 if test x
$with_gnu_as = xno
; then
2024 noconfigdirs
="$noconfigdirs gas"
2027 # some tools are so dependent upon X11 that if we're not building with X,
2028 # it's not even worth trying to configure, much less build, that tool.
2031 yes |
"") ;; # the default value for this tree is that X11 is available
2033 skipdirs
="${skipdirs} tk itcl libgui"
2034 # We won't be able to build gdbtk without X.
2037 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2040 # Some tools are only suitable for building in a "native" situation.
2041 # Remove these if host!=target.
2042 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"
2044 # Similarly, some are only suitable for cross toolchains.
2045 # Remove these if host=target.
2046 cross_only
="target-libgloss target-newlib target-opcodes"
2048 case $is_cross_compiler in
2049 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2050 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2053 # If both --with-headers and --with-libs are specified, default to
2055 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2056 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2057 if test x
"${with_newlib}" = x
; then
2062 # Recognize --with-newlib/--without-newlib.
2063 case ${with_newlib} in
2064 no
) skipdirs
="${skipdirs} target-newlib" ;;
2065 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2068 # Handle --enable-gold.
2070 # Check whether --enable-gold or --disable-gold was given.
2071 if test "${enable_gold+set}" = set; then
2072 enableval
="$enable_gold"
2073 ENABLE_GOLD
=$enableval
2077 if test "${ENABLE_GOLD}" = "yes"; then
2078 # Check for ELF target.
2081 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2082 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2083 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2085 *-*-linux*aout
* |
*-*-linux*oldld
*)
2093 if test "$is_elf" = "yes"; then
2094 # Check for target supported by gold.
2096 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2097 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2103 # Configure extra directories which are host specific
2107 configdirs
="$configdirs libtermcap" ;;
2110 # A target can indicate whether a language isn't supported for some reason.
2111 # Only spaces may be used in this macro; not newlines or tabs.
2112 unsupported_languages
=
2114 # Remove more programs from consideration, based on the host or
2115 # target this usually means that a port of the program doesn't
2120 noconfigdirs
="$noconfigdirs byacc"
2122 i
[3456789]86-*-vsta)
2123 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2125 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2126 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2129 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2131 i
[3456789]86-*-mingw32*)
2132 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2133 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2135 i
[3456789]86-*-beos*)
2136 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2139 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2142 noconfigdirs
="$noconfigdirs rcs"
2145 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2148 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2153 # Check whether --enable-libada or --disable-libada was given.
2154 if test "${enable_libada+set}" = set; then
2155 enableval
="$enable_libada"
2156 ENABLE_LIBADA
=$enableval
2160 if test "${ENABLE_LIBADA}" != "yes" ; then
2161 noconfigdirs
="$noconfigdirs gnattools"
2164 # Check whether --enable-libssp or --disable-libssp was given.
2165 if test "${enable_libssp+set}" = set; then
2166 enableval
="$enable_libssp"
2167 ENABLE_LIBSSP
=$enableval
2172 # Save it here so that, even in case of --enable-libgcj, if the Java
2173 # front-end isn't enabled, we still get libgcj disabled.
2174 libgcj_saved
=$libgcj
2175 case $enable_libgcj in
2177 # If we reset it here, it won't get added to noconfigdirs in the
2178 # target-specific build rules, so it will be forcibly enabled
2179 # (unless the Java language itself isn't enabled).
2183 # Make sure we get it printed in the list of not supported target libs.
2184 noconfigdirs
="$noconfigdirs ${libgcj}"
2189 # Disable libmudflap on some systems.
2190 if test x
$enable_libmudflap = x
; then
2192 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2193 # Enable libmudflap by default in GNU and friends.
2196 # Enable libmudflap by default in FreeBSD.
2199 # Disable it by default everywhere else.
2200 noconfigdirs
="$noconfigdirs target-libmudflap"
2205 # Disable libgomp on non POSIX hosted systems.
2206 if test x
$enable_libgomp = x
; then
2207 # Enable libgomp by default on hosted POSIX systems.
2209 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2211 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2213 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2215 *-*-darwin* |
*-*-aix*)
2218 noconfigdirs
="$noconfigdirs target-libgomp"
2223 # Default libgloss CPU subdirectory.
2224 libgloss_dir
="$target_cpu"
2228 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2231 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2232 noconfigdirs
="$noconfigdirs sim target-rda"
2234 i
[3456789]86-*-darwin* | x86_64-
*-darwin[912]*)
2235 noconfigdirs
="$noconfigdirs ld gas gprof"
2236 noconfigdirs
="$noconfigdirs sim target-rda"
2239 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2240 noconfigdirs
="$noconfigdirs sim target-rda"
2241 noconfigdirs
="$noconfigdirs ${libgcj}"
2243 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2244 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2247 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2248 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2249 && test -f /usr
/local
/include
/gmp.h
; then
2253 # Skip some stuff that's unsupported on some FreeBSD configurations.
2258 noconfigdirs
="$noconfigdirs ${libgcj}"
2263 # Remove unsupported stuff on all kaOS configurations.
2264 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2265 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2266 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2267 noconfigdirs
="$noconfigdirs target-libgloss"
2270 # Skip some stuff on all NetBSD configurations.
2271 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2273 # Skip some stuff that's unsupported on some NetBSD configurations.
2275 i
*86-*-netbsdelf*) ;;
2276 arm
*-*-netbsdelf*) ;;
2278 noconfigdirs
="$noconfigdirs ${libgcj}"
2283 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2286 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2288 # The tpf target doesn't support gdb yet.
2290 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2293 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2296 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2299 # ld works, but does not support shared libraries.
2300 # newlib is not 64 bit ready. I'm not sure about fileutils.
2301 # gas doesn't generate exception information.
2302 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2305 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2308 # newlib is not 64 bit ready
2309 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2312 # newlib is not 64 bit ready
2313 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2316 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2319 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2321 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2322 noconfigdirs
="$noconfigdirs ${libgcj}"
2323 noconfigdirs
="$noconfigdirs target-examples"
2324 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2325 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2326 noconfigdirs
="$noconfigdirs expect dejagnu"
2327 # the C++ libraries don't build on top of CE's C libraries
2328 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2329 noconfigdirs
="$noconfigdirs target-newlib"
2331 *-*-cygwin*) ;; # keep gdb and readline
2332 *) noconfigdirs
="$noconfigdirs gdb readline"
2338 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2342 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2343 noconfigdirs
="$noconfigdirs ${libgcj}"
2346 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2347 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2350 arm
*-*-linux-gnueabi)
2351 noconfigdirs
="$noconfigdirs target-qthreads"
2352 case ${with_newlib} in
2353 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2358 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2362 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2365 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2368 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2371 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2374 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2377 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2380 noconfigdirs
="$noconfigdirs gdb"
2381 if test x
${is_cross_compiler} != xno
; then
2382 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2385 c4x-
*-* | tic4x-
*-*)
2386 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2388 c54x
*-*-* | tic54x-
*-*)
2389 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2392 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2394 cris-
*-* | crisv32-
*-*)
2395 unsupported_languages
="$unsupported_languages java"
2398 unsupported_languages
="$unsupported_languages fortran"
2399 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2401 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2403 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2405 unsupported_languages
="$unsupported_languages fortran"
2406 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2411 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2414 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2417 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2419 ep9312-
*-elf | ep9312-
*-coff)
2423 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2426 noconfigdirs
="$noconfigdirs ${libgcj}"
2429 noconfigdirs
="$noconfigdirs ${libgcj}"
2430 noconfigdirs
="$noconfigdirs gprof"
2433 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2436 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2438 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2440 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2441 # In this case, it's because the hppa64-linux target is for
2442 # the kernel only at this point and has no libc, and thus no
2443 # headers, crt*.o, etc., all of which are needed by these.
2444 noconfigdirs
="$noconfigdirs target-zlib"
2446 parisc
*-*-linux* | hppa
*-*-linux*)
2450 hppa
*-*-openbsd* | \
2452 noconfigdirs
="$noconfigdirs ${libgcj}"
2455 noconfigdirs
="$noconfigdirs ld shellutils"
2461 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2462 # build on HP-UX 10.20.
2463 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2466 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2469 # No gdb support yet.
2470 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2473 # No gdb or ld support yet.
2474 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2477 # No gdb or ld support yet.
2478 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
2482 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2483 noconfigdirs
="$noconfigdirs ${libgcj}"
2486 i
[3456789]86-*-linux*)
2487 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2488 # not build java stuff by default.
2491 noconfigdirs
="$noconfigdirs ${libgcj}";;
2494 # This section makes it possible to build newlib natively on linux.
2495 # If we are using a cross compiler then don't configure newlib.
2496 if test x
${is_cross_compiler} != xno
; then
2497 noconfigdirs
="$noconfigdirs target-newlib"
2499 noconfigdirs
="$noconfigdirs target-libgloss"
2500 # If we are not using a cross compiler, do configure newlib.
2501 # Note however, that newlib will only be configured in this situation
2502 # if the --with-newlib option has been given, because otherwise
2503 # 'target-newlib' will appear in skipdirs.
2505 i
[3456789]86-*-mingw32*)
2506 target_configdirs
="$target_configdirs target-winsup"
2507 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2510 target_configdirs
="$target_configdirs target-winsup"
2511 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2514 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2515 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
2516 # always build newlib if winsup directory is present.
2517 if test -d "$srcdir/winsup/cygwin"; then
2518 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2519 elif test -d "$srcdir/newlib"; then
2520 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2523 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2524 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2527 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2529 i
[3456789]86-*-sco3.2v5
*)
2530 # The linker does not yet know about weak symbols in COFF,
2531 # and is not configured to handle mixed ELF and COFF.
2532 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2534 i
[3456789]86-*-sco*)
2535 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2537 i
[3456789]86-*-solaris2*)
2538 noconfigdirs
="$noconfigdirs target-libgloss"
2540 i
[3456789]86-*-sysv4*)
2541 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2543 i
[3456789]86-*-beos*)
2544 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2546 i
[3456789]86-*-rdos*)
2547 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2550 noconfigdirs
="$noconfigdirs ${libgcj}"
2552 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2553 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2554 libgloss_dir
=m68hc11
2557 noconfigdirs
="$noconfigdirs ${libgcj}"
2560 noconfigdirs
="$noconfigdirs ${libgcj}"
2562 m68
*-*-* | fido-
*-*)
2566 # The EPOC C++ environment does not support exceptions or rtti,
2567 # and so building libstdc++-v3 tends not to always work.
2568 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2571 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2572 unsupported_languages
="$unsupported_languages fortran java"
2575 noconfigdirs
="$noconfigdirs ${libgcj}"
2578 noconfigdirs
="$noconfigdirs ${libgcj}"
2581 noconfigdirs
="$noconfigdirs sim"
2584 # copied from rs6000-*-* entry
2585 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2587 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2588 target_configdirs
="$target_configdirs target-winsup"
2589 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2590 # always build newlib.
2591 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2593 # This is temporary until we can link against shared libraries
2594 powerpcle-
*-solaris*)
2595 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2599 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2602 noconfigdirs
="$noconfigdirs ${libgcj}"
2605 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2609 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2612 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2615 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2618 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2621 skipdirs
="$skipdirs target-libiberty"
2622 noconfigdirs
="$noconfigdirs ${libgcj}"
2623 if test x
$with_newlib = xyes
; then
2624 noconfigdirs
="$noconfigdirs gprof"
2629 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2632 # Linking libjava exceeds command-line length limits on at least
2633 # IRIX 6.2, but not on IRIX 6.5.
2634 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2635 # <oldham@codesourcery.com>
2636 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2639 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2642 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2645 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2649 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2653 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2654 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2655 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2656 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2658 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2660 sparclet-
*-aout* | sparc86x-
*-*)
2664 noconfigdirs
="$noconfigdirs ${libgcj}"
2667 noconfigdirs
="$noconfigdirs ${libgcj}"
2671 noconfigdirs
="$noconfigdirs ${libgcj}"
2675 noconfigdirs
="$noconfigdirs ${libgcj}"
2676 if test x
${is_cross_compiler} != xno
; then
2677 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2682 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2683 noconfigdirs
="$noconfigdirs ${libgcj}"
2685 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2688 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2691 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2694 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2697 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2700 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2703 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2706 noconfigdirs
="$noconfigdirs ${libgcj}"
2709 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2711 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2712 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2715 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2718 noconfigdirs
="$noconfigdirs ${libgcj}"
2722 # If we aren't building newlib, then don't build libgloss, since libgloss
2723 # depends upon some newlib header files.
2724 case "${noconfigdirs}" in
2725 *target-libgloss
*) ;;
2726 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2729 # Work in distributions that contain no compiler tools, like Autoconf.
2731 host_makefile_frag
=/dev
/null
2732 if test -d ${srcdir}/config
; then
2735 # Avoid "too much defining" errors from HPUX compiler.
2736 tentative_cc
="cc -Wp,-H256000"
2737 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2738 # If it's HP/UX ar, this should be harmless.
2742 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2745 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2746 # chokes on bfd, the compiler won't let you assign integers to enums, and
2747 # other problems. Defining CC to gcc is a questionable way to say "don't use
2748 # the apollo compiler" (the preferred version of GCC could be called cc,
2749 # or whatever), but I'm not sure leaving CC as cc is any better...
2750 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2751 # Used to have BISON=yacc.
2755 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2758 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2759 tentative_cc
="cc -Xa"
2760 host_makefile_frag
="config/mh-cxux"
2762 m88k-motorola-sysv
*)
2765 tentative_cc
="cc -Wf,-XNg1000"
2766 host_makefile_frag
="config/mh-decstation"
2769 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2770 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2771 host_makefile_frag
="config/mh-necv4"
2774 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2775 # environment. Also bump switch table size so that cp-parse will
2776 # compile. Bump string length limit so linker builds.
2777 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2780 host_makefile_frag
="config/mh-sysv4"
2783 # This is for a MIPS running RISC/os 4.52C.
2785 # This is needed for GDB, but needs to be in the top-level make because
2786 # if a library is compiled with the bsd headers and gets linked with the
2787 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2788 # a different size).
2789 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2790 # known except to select the sysv environment. Could we use /proc instead?
2791 # These "sysv environments" and "bsd environments" often end up being a pain.
2793 # This is not part of CFLAGS because perhaps not all C compilers have this
2795 tentative_cc
="cc -systype sysv"
2800 i
[3456789]86-*-sysv5*)
2801 host_makefile_frag
="config/mh-sysv5"
2803 i
[3456789]86-*-dgux*)
2804 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2805 host_makefile_frag
="config/mh-dgux386"
2807 i
[3456789]86-ncr-sysv4.3
*)
2808 # The MetaWare compiler will generate a copyright message unless you
2809 # turn it off by adding the -Hnocopyr flag.
2810 tentative_cc
="cc -Hnocopyr"
2812 i
[3456789]86-ncr-sysv4*)
2813 # for an NCR 3000 (i486/SVR4) system.
2814 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2815 # This compiler not only emits obnoxious copyright messages every time
2816 # you run it, but it chokes and dies on a whole bunch of GNU source
2817 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2818 tentative_cc
="/usr/ccs/ATT/cc"
2819 host_makefile_frag
="config/mh-ncr3000"
2821 i
[3456789]86-*-sco3.2v5
*)
2823 i
[3456789]86-*-sco*)
2824 # The native C compiler botches some simple uses of const. Unfortunately,
2825 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2826 tentative_cc
="cc -Dconst="
2827 host_makefile_frag
="config/mh-sco"
2829 i
[3456789]86-*-udk*)
2830 host_makefile_frag
="config/mh-sysv5"
2832 i
[3456789]86-*-solaris2*)
2833 host_makefile_frag
="config/mh-sysv4"
2835 i
[3456789]86-*-msdosdjgpp*)
2836 host_makefile_frag
="config/mh-djgpp"
2840 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2841 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2842 echo a
>cygwin-cat-check
2843 if test `cat cygwin-cat-check` == a
; then
2845 echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2852 Please either mount the build directory in binary mode or run the following
2853 commands before running any configure script:
2857 echo "$as_me: error: The cat command does not ignore carriage return characters.
2858 Please either mount the build directory in binary mode or run the following
2859 commands before running any configure script:
2863 { (exit 1); exit 1; }; }
2866 host_makefile_frag
="config/mh-cygwin"
2869 host_makefile_frag
="config/mh-mingw"
2872 host_makefile_frag
="config/mh-interix"
2875 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2879 host_makefile_frag
="config/mh-solaris"
2882 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2883 # without overflowing the jump tables (-J says to use a 32 bit table)
2884 tentative_cc
="cc -J"
2887 tentative_cc
="cc -Wp,-H256000"
2888 host_makefile_frag
="config/mh-pa-hpux10"
2890 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2891 tentative_cc
="cc -Wp,-H256000"
2892 host_makefile_frag
="config/mh-pa"
2895 host_makefile_frag
="config/mh-pa"
2897 *-hp-hpux* |
*-*-hiux*)
2898 tentative_cc
="cc -Wp,-H256000"
2901 # /bin/cc is less than useful for our purposes. Always use GCC
2902 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2903 host_makefile_frag
="config/mh-lynxrs6k"
2906 host_makefile_frag
="config/mh-ppc-darwin"
2909 host_makefile_frag
="config/mh-ppc-aix"
2912 host_makefile_frag
="config/mh-ppc-aix"
2915 # /bin/cc is less than useful for our purposes. Always use GCC
2916 tentative_cc
="/bin/gcc"
2919 host_makefile_frag
="config/mh-sysv4"
2921 # This is placed last to prevent interfering with the cases above.
2923 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2924 host_makefile_frag
="config/mh-x86omitfp"
2929 # If we aren't going to be using gcc, see if we can extract a definition
2930 # of CC from the fragment.
2931 # Actually, use the 'pre-extracted' version above.
2932 if test -z "${CC}" && test "${build}" = "${host}" ; then
2933 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2935 for dir
in $PATH; do
2936 test -z "$dir" && dir
=.
2937 if test -f $dir/gcc
; then
2943 if test -z "${found}" && test -n "${tentative_cc}" ; then
2948 if test "${build}" != "${host}" ; then
2949 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2950 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2951 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2952 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2953 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2954 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2955 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2956 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2957 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2958 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2959 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2960 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2962 AR_FOR_BUILD
="\$(AR)"
2963 AS_FOR_BUILD
="\$(AS)"
2964 CC_FOR_BUILD
="\$(CC)"
2965 CXX_FOR_BUILD
="\$(CXX)"
2966 GCJ_FOR_BUILD
="\$(GCJ)"
2967 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2968 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2969 LD_FOR_BUILD
="\$(LD)"
2970 NM_FOR_BUILD
="\$(NM)"
2971 RANLIB_FOR_BUILD
="\$(RANLIB)"
2972 WINDRES_FOR_BUILD
="\$(WINDRES)"
2973 WINDMC_FOR_BUILD
="\$(WINDMC)"
2977 ac_cpp
='$CPP $CPPFLAGS'
2978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2981 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2983 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_CC+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC
="$CC" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 echo "$as_me:$LINENO: result: $CC" >&5
3011 echo "${ECHO_T}$CC" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3018 if test -z "$ac_cv_prog_CC"; then
3020 # Extract the first word of "gcc", so it can be a program name with args.
3021 set dummy gcc
; ac_word
=$2
3022 echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_ac_ct_CC
="gcc"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049 echo "${ECHO_T}$ac_ct_CC" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3060 if test -z "$CC"; then
3061 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3063 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3064 echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066 if test "${ac_cv_prog_CC+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC
="$CC" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 echo "$as_me:$LINENO: result: $CC" >&5
3091 echo "${ECHO_T}$CC" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3098 if test -z "$ac_cv_prog_CC"; then
3100 # Extract the first word of "cc", so it can be a program name with args.
3101 set dummy cc
; ac_word
=$2
3102 echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 if test -n "$ac_ct_CC"; then
3108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_ac_ct_CC
="cc"
3118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3127 if test -n "$ac_ct_CC"; then
3128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3129 echo "${ECHO_T}$ac_ct_CC" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3141 if test -z "$CC"; then
3142 # Extract the first word of "cc", so it can be a program name with args.
3143 set dummy cc
; ac_word
=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_CC+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC
="$CC" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3161 ac_prog_rejected
=yes
3165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test $ac_prog_rejected = yes; then
3172 # We found a bogon in the path, so make sure we never use it.
3173 set dummy
$ac_cv_prog_CC
3175 if test $# != 0; then
3176 # We chose a different compiler from the bogus one.
3177 # However, it has the same basename, so the bogon will be chosen
3178 # first if we set CC to just the basename; use the full file name.
3180 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3186 if test -n "$CC"; then
3187 echo "$as_me:$LINENO: result: $CC" >&5
3188 echo "${ECHO_T}$CC" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3195 if test -z "$CC"; then
3196 if test -n "$ac_tool_prefix"; then
3199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3200 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3201 echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203 if test "${ac_cv_prog_CC+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -n "$CC"; then
3207 ac_cv_prog_CC
="$CC" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 if test -n "$CC"; then
3227 echo "$as_me:$LINENO: result: $CC" >&5
3228 echo "${ECHO_T}$CC" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3234 test -n "$CC" && break
3237 if test -z "$CC"; then
3241 # Extract the first word of "$ac_prog", so it can be a program name with args.
3242 set dummy
$ac_prog; ac_word
=$2
3243 echo "$as_me:$LINENO: checking for $ac_word" >&5
3244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 if test -n "$ac_ct_CC"; then
3249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_exec_ext
in '' $ac_executable_extensions; do
3257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3258 ac_cv_prog_ac_ct_CC
="$ac_prog"
3259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3268 if test -n "$ac_ct_CC"; then
3269 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3270 echo "${ECHO_T}$ac_ct_CC" >&6
3272 echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6
3276 test -n "$ac_ct_CC" && break
3285 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3286 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3288 See \`config.log' for more details." >&5
3289 echo "$as_me: error: no acceptable C compiler found in \$PATH
3290 See \`config.log' for more details." >&2;}
3291 { (exit 1); exit 1; }; }; }
3293 # Provide some information about the compiler.
3294 echo "$as_me:$LINENO:" \
3295 "checking for C compiler version" >&5
3296 ac_compiler
=`set X $ac_compile; echo $2`
3297 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3298 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }
3302 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3303 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }
3307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3308 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3313 cat >conftest.
$ac_ext <<_ACEOF
3316 cat confdefs.h
>>conftest.
$ac_ext
3317 cat >>conftest.
$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3328 ac_clean_files_save
=$ac_clean_files
3329 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3330 # Try to create an executable without -o first, disregard a.out.
3331 # It will help us diagnose broken compilers, and finding out an intuition
3333 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3334 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3335 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3336 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3337 (eval $ac_link_default) 2>&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; then
3341 # Find the output, starting from the most likely. This scheme is
3342 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3345 # Be careful to initialize this variable, since it used to be cached.
3346 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3348 # b.out is created by i960 compilers.
3349 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3351 test -f "$ac_file" ||
continue
3353 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3356 # This is the source file.
3359 # We found the default executable, but exeext='' is most
3363 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3364 # FIXME: I believe we export ac_cv_exeext for Libtool,
3365 # but it would be cool to find out if it's true. Does anybody
3366 # maintain Libtool? --akim.
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.
$ac_ext >&5
3377 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3378 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3380 See \`config.log' for more details." >&5
3381 echo "$as_me: error: C compiler cannot create executables
3382 See \`config.log' for more details." >&2;}
3383 { (exit 77); exit 77; }; }; }
3386 ac_exeext
=$ac_cv_exeext
3387 echo "$as_me:$LINENO: result: $ac_file" >&5
3388 echo "${ECHO_T}$ac_file" >&6
3390 # Check the compiler produces executables we can run. If not, either
3391 # the compiler is broken, or we cross compile.
3392 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3393 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3394 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3395 # If not cross compiling, check that we can run a simple program.
3396 if test "$cross_compiling" != yes; then
3397 if { ac_try
='./$ac_file'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3405 if test "$cross_compiling" = maybe
; then
3408 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3409 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3411 If you meant to cross compile, use \`--host'.
3412 See \`config.log' for more details." >&5
3413 echo "$as_me: error: cannot run C compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details." >&2;}
3416 { (exit 1); exit 1; }; }; }
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3424 ac_clean_files
=$ac_clean_files_save
3425 # Check the compiler produces executables we can run. If not, either
3426 # the compiler is broken, or we cross compile.
3427 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3428 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3429 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3430 echo "${ECHO_T}$cross_compiling" >&6
3432 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3433 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; then
3439 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3440 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3441 # work properly (i.e., refer to `conftest.exe'), while it won't with
3443 for ac_file
in conftest.exe conftest conftest.
*; do
3444 test -f "$ac_file" ||
continue
3446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3447 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3454 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3455 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3457 See \`config.log' for more details." >&5
3458 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3459 See \`config.log' for more details." >&2;}
3460 { (exit 1); exit 1; }; }; }
3463 rm -f conftest
$ac_cv_exeext
3464 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3465 echo "${ECHO_T}$ac_cv_exeext" >&6
3467 rm -f conftest.
$ac_ext
3468 EXEEXT
=$ac_cv_exeext
3470 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3471 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3472 if test "${ac_cv_objext+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 cat >conftest.
$ac_ext <<_ACEOF
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3490 rm -f conftest.o conftest.obj
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; then
3496 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3498 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3499 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3507 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3508 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3510 See \`config.log' for more details." >&5
3511 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3512 See \`config.log' for more details." >&2;}
3513 { (exit 1); exit 1; }; }; }
3516 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3518 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3519 echo "${ECHO_T}$ac_cv_objext" >&6
3520 OBJEXT
=$ac_cv_objext
3522 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3523 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3524 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 cat >conftest.
$ac_ext <<_ACEOF
3530 cat confdefs.h
>>conftest.
$ac_ext
3531 cat >>conftest.
$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3545 rm -f conftest.
$ac_objext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3547 (eval $ac_compile) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } &&
3554 { ac_try
='test -z "$ac_c_werror_flag"
3555 || test ! -s conftest.err'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; } &&
3561 { ac_try
='test -s conftest.$ac_objext'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; }; then
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.
$ac_ext >&5
3574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3575 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3578 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3579 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3580 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3581 ac_test_CFLAGS
=${CFLAGS+set}
3582 ac_save_CFLAGS
=$CFLAGS
3584 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3585 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3586 if test "${ac_cv_prog_cc_g+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 cat >conftest.
$ac_ext <<_ACEOF
3592 cat confdefs.h
>>conftest.
$ac_ext
3593 cat >>conftest.
$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3604 rm -f conftest.
$ac_objext
3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3606 (eval $ac_compile) 2>conftest.er1
3608 grep -v '^ *+' conftest.er1
>conftest.err
3610 cat conftest.err
>&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } &&
3613 { ac_try
='test -z "$ac_c_werror_flag"
3614 || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try
='test -s conftest.$ac_objext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3636 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3637 if test "$ac_test_CFLAGS" = set; then
3638 CFLAGS
=$ac_save_CFLAGS
3639 elif test $ac_cv_prog_cc_g = yes; then
3640 if test "$GCC" = yes; then
3646 if test "$GCC" = yes; then
3652 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3653 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3654 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 ac_cv_prog_cc_stdc
=no
3659 cat >conftest.
$ac_ext <<_ACEOF
3662 cat confdefs.h
>>conftest.
$ac_ext
3663 cat >>conftest.
$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3667 #include <sys/types.h>
3668 #include <sys/stat.h>
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3683 s = g (p, va_arg (v,int));
3688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3689 function prototypes and stuff, but not '\xHH' hex character constants.
3690 These don't provoke an error unfortunately, instead are silently treated
3691 as 'x'. The following induces an error, until -std1 is added to get
3692 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3693 array size at least. It's necessary to write '\x00'==0 to get something
3694 that's true only with -std1. */
3695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3697 int test (int i, double x);
3698 struct s1 {int (*f) (int a);};
3699 struct s2 {int (*f) (double a);};
3700 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3706 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3711 # Don't try gcc -ansi; that turns off useful extensions and
3712 # breaks some systems' header files.
3713 # AIX -qlanglvl=ansi
3714 # Ultrix and OSF/1 -std1
3715 # HP-UX 10.20 and later -Ae
3716 # HP-UX older versions -Aa -D_HPUX_SOURCE
3717 # SVR4 -Xc -D__EXTENSIONS__
3718 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3720 CC
="$ac_save_CC $ac_arg"
3721 rm -f conftest.
$ac_objext
3722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723 (eval $ac_compile) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1
>conftest.err
3727 cat conftest.err
>&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } &&
3730 { ac_try
='test -z "$ac_c_werror_flag"
3731 || test ! -s conftest.err'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; } &&
3737 { ac_try
='test -s conftest.$ac_objext'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3743 ac_cv_prog_cc_stdc
=$ac_arg
3746 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.
$ac_ext >&5
3750 rm -f conftest.err conftest.
$ac_objext
3752 rm -f conftest.
$ac_ext conftest.
$ac_objext
3757 case "x$ac_cv_prog_cc_stdc" in
3759 echo "$as_me:$LINENO: result: none needed" >&5
3760 echo "${ECHO_T}none needed" >&6 ;;
3762 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3763 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3764 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3767 # Some people use a C++ compiler to compile C. Since we use `exit',
3768 # in C++ we need to declare it. In case someone uses the same compiler
3769 # for both compiling C and C++ we need to have the C++ compiler decide
3770 # the declaration of exit, since it's the most demanding environment.
3771 cat >conftest.
$ac_ext <<_ACEOF
3776 rm -f conftest.
$ac_objext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3778 (eval $ac_compile) 2>conftest.er1
3780 grep -v '^ *+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } &&
3785 { ac_try
='test -z "$ac_c_werror_flag"
3786 || test ! -s conftest.err'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; } &&
3792 { ac_try
='test -s conftest.$ac_objext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3798 for ac_declaration
in \
3800 'extern "C" void std::exit (int) throw (); using std::exit;' \
3801 'extern "C" void std::exit (int); using std::exit;' \
3802 'extern "C" void exit (int) throw ();' \
3803 'extern "C" void exit (int);' \
3806 cat >conftest.
$ac_ext <<_ACEOF
3809 cat confdefs.h
>>conftest.
$ac_ext
3810 cat >>conftest.
$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3822 rm -f conftest.
$ac_objext
3823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3824 (eval $ac_compile) 2>conftest.er1
3826 grep -v '^ *+' conftest.er1
>conftest.err
3828 cat conftest.err
>&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } &&
3831 { ac_try
='test -z "$ac_c_werror_flag"
3832 || test ! -s conftest.err'
3833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); }; } &&
3838 { ac_try
='test -s conftest.$ac_objext'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; }; then
3846 echo "$as_me: failed program was:" >&5
3847 sed 's/^/| /' conftest.
$ac_ext >&5
3851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3852 cat >conftest.
$ac_ext <<_ACEOF
3855 cat confdefs.h
>>conftest.
$ac_ext
3856 cat >>conftest.
$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3867 rm -f conftest.
$ac_objext
3868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3869 (eval $ac_compile) 2>conftest.er1
3871 grep -v '^ *+' conftest.er1
>conftest.err
3873 cat conftest.err
>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } &&
3876 { ac_try
='test -z "$ac_c_werror_flag"
3877 || test ! -s conftest.err'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; } &&
3883 { ac_try
='test -s conftest.$ac_objext'
3884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; }; then
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.
$ac_ext >&5
3895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3898 if test -n "$ac_declaration"; then
3899 echo '#ifdef __cplusplus' >>confdefs.h
3900 echo $ac_declaration >>confdefs.h
3901 echo '#endif' >>confdefs.h
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.
$ac_ext >&5
3909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3911 ac_cpp
='$CPP $CPPFLAGS'
3912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3917 ac_cpp
='$CXXCPP $CPPFLAGS'
3918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3921 if test -n "$ac_tool_prefix"; then
3922 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_CXX+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$CXX"; then
3932 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 if test -n "$CXX"; then
3952 echo "$as_me:$LINENO: result: $CXX" >&5
3953 echo "${ECHO_T}$CXX" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3959 test -n "$CXX" && break
3962 if test -z "$CXX"; then
3964 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3966 # Extract the first word of "$ac_prog", so it can be a program name with args.
3967 set dummy
$ac_prog; ac_word
=$2
3968 echo "$as_me:$LINENO: checking for $ac_word" >&5
3969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3970 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 if test -n "$ac_ct_CXX"; then
3974 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3993 if test -n "$ac_ct_CXX"; then
3994 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3995 echo "${ECHO_T}$ac_ct_CXX" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4001 test -n "$ac_ct_CXX" && break
4003 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4009 # Provide some information about the compiler.
4010 echo "$as_me:$LINENO:" \
4011 "checking for C++ compiler version" >&5
4012 ac_compiler
=`set X $ac_compile; echo $2`
4013 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4014 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }
4018 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4019 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }
4023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4024 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }
4029 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4030 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4031 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 cat >conftest.
$ac_ext <<_ACEOF
4037 cat confdefs.h
>>conftest.
$ac_ext
4038 cat >>conftest.
$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4052 rm -f conftest.
$ac_objext
4053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4054 (eval $ac_compile) 2>conftest.er1
4056 grep -v '^ *+' conftest.er1
>conftest.err
4058 cat conftest.err
>&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); } &&
4061 { ac_try
='test -z "$ac_cxx_werror_flag"
4062 || test ! -s conftest.err'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; } &&
4068 { ac_try
='test -s conftest.$ac_objext'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then
4076 echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.
$ac_ext >&5
4081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4082 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4085 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4087 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4088 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4089 ac_save_CXXFLAGS
=$CXXFLAGS
4091 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4092 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4093 if test "${ac_cv_prog_cxx_g+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 cat >conftest.
$ac_ext <<_ACEOF
4099 cat confdefs.h
>>conftest.
$ac_ext
4100 cat >>conftest.
$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4111 rm -f conftest.
$ac_objext
4112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4113 (eval $ac_compile) 2>conftest.er1
4115 grep -v '^ *+' conftest.er1
>conftest.err
4117 cat conftest.err
>&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } &&
4120 { ac_try
='test -z "$ac_cxx_werror_flag"
4121 || test ! -s conftest.err'
4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; } &&
4127 { ac_try
='test -s conftest.$ac_objext'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 ac_cv_prog_cxx_g
=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.
$ac_ext >&5
4140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4142 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4143 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4144 if test "$ac_test_CXXFLAGS" = set; then
4145 CXXFLAGS
=$ac_save_CXXFLAGS
4146 elif test $ac_cv_prog_cxx_g = yes; then
4147 if test "$GXX" = yes; then
4153 if test "$GXX" = yes; then
4159 for ac_declaration
in \
4161 'extern "C" void std::exit (int) throw (); using std::exit;' \
4162 'extern "C" void std::exit (int); using std::exit;' \
4163 'extern "C" void exit (int) throw ();' \
4164 'extern "C" void exit (int);' \
4167 cat >conftest.
$ac_ext <<_ACEOF
4170 cat confdefs.h
>>conftest.
$ac_ext
4171 cat >>conftest.
$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4183 rm -f conftest.
$ac_objext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4185 (eval $ac_compile) 2>conftest.er1
4187 grep -v '^ *+' conftest.er1
>conftest.err
4189 cat conftest.err
>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } &&
4192 { ac_try
='test -z "$ac_cxx_werror_flag"
4193 || test ! -s conftest.err'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; } &&
4199 { ac_try
='test -s conftest.$ac_objext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.
$ac_ext >&5
4212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4213 cat >conftest.
$ac_ext <<_ACEOF
4216 cat confdefs.h
>>conftest.
$ac_ext
4217 cat >>conftest.
$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4228 rm -f conftest.
$ac_objext
4229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230 (eval $ac_compile) 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -z "$ac_cxx_werror_flag"
4238 || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest.$ac_objext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 if test -n "$ac_declaration"; then
4260 echo '#ifdef __cplusplus' >>confdefs.h
4261 echo $ac_declaration >>confdefs.h
4262 echo '#endif' >>confdefs.h
4266 ac_cpp
='$CPP $CPPFLAGS'
4267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4272 # We must set the default linker to the linker used by gcc for the correct
4273 # operation of libtool. If LD is not defined and we are using gcc, try to
4274 # set the LD default to the ld used by gcc.
4275 if test -z "$LD"; then
4276 if test "$GCC" = yes; then
4279 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4281 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4283 case $gcc_prog_ld in
4284 # Accept absolute paths.
4285 [\\/]* |
[A-Za-z
]:[\\/]*)
4286 LD
="$gcc_prog_ld" ;;
4294 if test -n "$ac_tool_prefix"; then
4295 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4296 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4297 echo "$as_me:$LINENO: checking for $ac_word" >&5
4298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4299 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 if test -n "$GNATBIND"; then
4303 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir
=.
4310 for ac_exec_ext
in '' $ac_executable_extensions; do
4311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 GNATBIND
=$ac_cv_prog_GNATBIND
4322 if test -n "$GNATBIND"; then
4323 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4324 echo "${ECHO_T}$GNATBIND" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4331 if test -z "$ac_cv_prog_GNATBIND"; then
4332 ac_ct_GNATBIND
=$GNATBIND
4333 # Extract the first word of "gnatbind", so it can be a program name with args.
4334 set dummy gnatbind
; ac_word
=$2
4335 echo "$as_me:$LINENO: checking for $ac_word" >&5
4336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4337 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 if test -n "$ac_ct_GNATBIND"; then
4341 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4360 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4361 if test -n "$ac_ct_GNATBIND"; then
4362 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4363 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4369 GNATBIND
=$ac_ct_GNATBIND
4371 GNATBIND
="$ac_cv_prog_GNATBIND"
4374 if test -n "$ac_tool_prefix"; then
4375 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4376 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4377 echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4379 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 if test -n "$GNATMAKE"; then
4383 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir
=.
4390 for ac_exec_ext
in '' $ac_executable_extensions; do
4391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 GNATMAKE
=$ac_cv_prog_GNATMAKE
4402 if test -n "$GNATMAKE"; then
4403 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4404 echo "${ECHO_T}$GNATMAKE" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4411 if test -z "$ac_cv_prog_GNATMAKE"; then
4412 ac_ct_GNATMAKE
=$GNATMAKE
4413 # Extract the first word of "gnatmake", so it can be a program name with args.
4414 set dummy gnatmake
; ac_word
=$2
4415 echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4417 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 if test -n "$ac_ct_GNATMAKE"; then
4421 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir
=.
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4440 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4441 if test -n "$ac_ct_GNATMAKE"; then
4442 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4443 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4449 GNATMAKE
=$ac_ct_GNATMAKE
4451 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4454 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4455 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4456 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 cat >conftest.adb
<<EOF
4460 procedure conftest is begin null; end conftest;
4462 acx_cv_cc_gcc_supports_ada
=no
4463 # There is a bug in old released versions of GCC which causes the
4464 # driver to exit successfully when the appropriate language module
4465 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4466 # Therefore we must check for the error message as well as an
4467 # unsuccessful exit.
4468 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4469 # given a .adb file, but produce no object file. So we must check
4470 # if an object file was really produced to guard against this.
4471 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4472 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4473 acx_cv_cc_gcc_supports_ada
=yes
4477 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4478 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4480 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4486 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4487 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4488 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4494 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4495 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4498 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4501 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4502 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4505 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4511 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4512 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4513 do_compare
="$gcc_cv_prog_cmp_skip"
4517 # See if we are building gcc with C++.
4518 # Check whether --enable-build-with-cxx or --disable-build-with-cxx was given.
4519 if test "${enable_build_with_cxx+set}" = set; then
4520 enableval
="$enable_build_with_cxx"
4521 ENABLE_BUILD_WITH_CXX
=$enableval
4523 ENABLE_BUILD_WITH_CXX
=no
4526 # Check for GMP, MPFR and MPC
4527 gmplibs
="-lmpfr -lgmp"
4534 # Specify a location for mpc
4535 # check for this first so it ends up on the link line before mpfr.
4537 # Check whether --with-mpc or --without-mpc was given.
4538 if test "${with_mpc+set}" = set; then
4543 # Check whether --with-mpc_include or --without-mpc_include was given.
4544 if test "${with_mpc_include+set}" = set; then
4545 withval
="$with_mpc_include"
4549 # Check whether --with-mpc_lib or --without-mpc_lib was given.
4550 if test "${with_mpc_lib+set}" = set; then
4551 withval
="$with_mpc_lib"
4555 if test "x$with_mpc" != x
; then
4556 mpclibs
="-L$with_mpc/lib -lmpc"
4557 mpcinc
="-I$with_mpc/include $mpcinc"
4559 if test "x$with_mpc_include" != x
; then
4560 mpcinc
="-I$with_mpc_include $mpcinc"
4562 if test "x$with_mpc_lib" != x
; then
4563 mpclibs
="-L$with_mpc_lib -lmpc"
4565 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
4566 mpclibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
4567 mpcinc
='-I$$s/mpc/src '"$mpcinc"
4568 # Do not test the mpc version. Assume that it is sufficient, since
4569 # it is in the source tree, and the library has not been built yet
4570 # but it would be included on the link line in the version check below
4571 # hence making the test fail.
4575 # Specify a location for mpfr
4576 # check for this first so it ends up on the link line before gmp.
4578 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4579 if test "${with_mpfr_dir+set}" = set; then
4580 withval
="$with_mpfr_dir"
4581 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4582 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4583 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4584 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4585 { (exit 1); exit 1; }; }
4589 # Check whether --with-mpfr or --without-mpfr was given.
4590 if test "${with_mpfr+set}" = set; then
4591 withval
="$with_mpfr"
4595 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4596 if test "${with_mpfr_include+set}" = set; then
4597 withval
="$with_mpfr_include"
4601 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4602 if test "${with_mpfr_lib+set}" = set; then
4603 withval
="$with_mpfr_lib"
4607 if test "x$with_mpfr" != x
; then
4608 gmplibs
="-L$with_mpfr/lib $gmplibs"
4609 gmpinc
="-I$with_mpfr/include"
4611 if test "x$with_mpfr_include" != x
; then
4612 gmpinc
="-I$with_mpfr_include"
4614 if test "x$with_mpfr_lib" != x
; then
4615 gmplibs
="-L$with_mpfr_lib $gmplibs"
4617 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4618 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4619 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4620 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr'
4621 # Do not test the mpfr version. Assume that it is sufficient, since
4622 # it is in the source tree, and the library has not been built yet
4623 # but it would be included on the link line in the version check below
4624 # hence making the test fail.
4628 # Specify a location for gmp
4630 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4631 if test "${with_gmp_dir+set}" = set; then
4632 withval
="$with_gmp_dir"
4633 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4634 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4635 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4636 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4637 { (exit 1); exit 1; }; }
4641 # Check whether --with-gmp or --without-gmp was given.
4642 if test "${with_gmp+set}" = set; then
4647 # Check whether --with-gmp_include or --without-gmp_include was given.
4648 if test "${with_gmp_include+set}" = set; then
4649 withval
="$with_gmp_include"
4653 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4654 if test "${with_gmp_lib+set}" = set; then
4655 withval
="$with_gmp_lib"
4660 if test "x$with_gmp" != x
; then
4661 gmplibs
="-L$with_gmp/lib $gmplibs"
4662 gmpinc
="-I$with_gmp/include $gmpinc"
4664 if test "x$with_gmp_include" != x
; then
4665 gmpinc
="-I$with_gmp_include $gmpinc"
4667 if test "x$with_gmp_lib" != x
; then
4668 gmplibs
="-L$with_gmp_lib $gmplibs"
4670 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4671 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4672 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4673 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
4674 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
4675 # Do not test the gmp version. Assume that it is sufficient, since
4676 # it is in the source tree, and the library has not been built yet
4677 # but it would be included on the link line in the version check below
4678 # hence making the test fail.
4682 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4684 saved_CFLAGS
="$CFLAGS"
4685 CFLAGS
="$CFLAGS $gmpinc"
4686 # Check GMP actually works
4687 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4688 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4690 cat >conftest.
$ac_ext <<_ACEOF
4693 cat confdefs.h
>>conftest.
$ac_ext
4694 cat >>conftest.
$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4701 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
4709 rm -f conftest.
$ac_objext
4710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4711 (eval $ac_compile) 2>conftest.er1
4713 grep -v '^ *+' conftest.er1
>conftest.err
4715 cat conftest.err
>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } &&
4718 { ac_try
='test -z "$ac_c_werror_flag"
4719 || test ! -s conftest.err'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; } &&
4725 { ac_try
='test -s conftest.$ac_objext'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; }; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4737 echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6; have_gmp
=no
4740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4742 # If we have GMP, check the MPFR version.
4743 if test x
"$have_gmp" = xyes
; then
4744 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4745 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4746 cat >conftest.
$ac_ext <<_ACEOF
4749 cat confdefs.h
>>conftest.
$ac_ext
4750 cat >>conftest.
$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4758 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4766 rm -f conftest.
$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1
>conftest.err
4772 cat conftest.err
>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try
='test -z "$ac_c_werror_flag"
4776 || test ! -s conftest.err'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; } &&
4782 { ac_try
='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4788 cat >conftest.
$ac_ext <<_ACEOF
4791 cat confdefs.h
>>conftest.
$ac_ext
4792 cat >>conftest.
$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4800 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4808 rm -f conftest.
$ac_objext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810 (eval $ac_compile) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try
='test -z "$ac_c_werror_flag"
4818 || test ! -s conftest.err'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; } &&
4824 { ac_try
='test -s conftest.$ac_objext'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; }; then
4830 echo "$as_me:$LINENO: result: yes" >&5
4831 echo "${ECHO_T}yes" >&6
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4836 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4837 echo "${ECHO_T}buggy but acceptable" >&6
4839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.
$ac_ext >&5
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6; have_gmp
=no
4847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4850 # Check for the MPC header version.
4851 if test x
"$have_mpc" != xyes
; then
4852 CFLAGS
="$CFLAGS $mpcinc"
4853 echo "$as_me:$LINENO: checking for the correct version of mpc.h" >&5
4854 echo $ECHO_N "checking for the correct version of mpc.h... $ECHO_C" >&6
4855 cat >conftest.
$ac_ext <<_ACEOF
4858 cat confdefs.h
>>conftest.
$ac_ext
4859 cat >>conftest.
$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4866 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
4874 rm -f conftest.
$ac_objext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4876 (eval $ac_compile) 2>conftest.er1
4878 grep -v '^ *+' conftest.er1
>conftest.err
4880 cat conftest.err
>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); } &&
4883 { ac_try
='test -z "$ac_c_werror_flag"
4884 || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try
='test -s conftest.$ac_objext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 echo "$as_me:$LINENO: result: yes" >&5
4897 echo "${ECHO_T}yes" >&6; have_mpc
=maybe
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.
$ac_ext >&5
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
4905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4908 # Now check the MPFR library.
4909 if test x
"$have_gmp" = xyes
; then
4911 LIBS
="$LIBS $gmplibs"
4912 echo "$as_me:$LINENO: checking for the correct version of the gmp/mpfr libraries" >&5
4913 echo $ECHO_N "checking for the correct version of the gmp/mpfr libraries... $ECHO_C" >&6
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4931 mpfr_atan2 (n, n, x, GMP_RNDN);
4932 mpfr_erfc (n, x, GMP_RNDN);
4933 mpfr_subnormalize (x, t, GMP_RNDN);
4939 rm -f conftest.
$ac_objext conftest
$ac_exeext
4940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941 (eval $ac_link) 2>conftest.er1
4943 grep -v '^ *+' conftest.er1
>conftest.err
4945 cat conftest.err
>&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } &&
4948 { ac_try
='test -z "$ac_c_werror_flag"
4949 || test ! -s conftest.err'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; } &&
4955 { ac_try
='test -s conftest$ac_exeext'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.
$ac_ext >&5
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6; have_gmp
=no
4970 rm -f conftest.err conftest.
$ac_objext \
4971 conftest
$ac_exeext conftest.
$ac_ext
4975 if test x
"$have_mpc" = xmaybe
; then
4977 LIBS
="$LIBS $mpclibs $gmplibs"
4978 echo "$as_me:$LINENO: checking for the correct version of the mpc library" >&5
4979 echo $ECHO_N "checking for the correct version of the mpc library... $ECHO_C" >&6
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4993 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
4994 mpc_sin (n, n, MPC_RNDNN);
4995 mpc_cos (n, n, MPC_RNDNN);
4996 mpc_tan (n, n, MPC_RNDNN);
4997 mpc_sinh (n, n, MPC_RNDNN);
4998 mpc_cosh (n, n, MPC_RNDNN);
4999 mpc_tanh (n, n, MPC_RNDNN);
5000 mpc_exp (n, n, MPC_RNDNN);
5001 mpc_log (n, n, MPC_RNDNN);
5002 mpc_sqrt (n, n, MPC_RNDNN);
5003 mpc_proj (n, n, MPC_RNDNN);
5004 mpc_neg (n, n, MPC_RNDNN);
5005 mpc_sqr (n, n, MPC_RNDNN);
5012 rm -f conftest.
$ac_objext conftest
$ac_exeext
5013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5014 (eval $ac_link) 2>conftest.er1
5016 grep -v '^ *+' conftest.er1
>conftest.err
5018 cat conftest.err
>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try
='test -z "$ac_c_werror_flag"
5022 || test ! -s conftest.err'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try
='test -s conftest$ac_exeext'
5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; }; then
5034 echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6; have_mpc
=yes
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.
$ac_ext >&5
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
5043 rm -f conftest.err conftest.
$ac_objext \
5044 conftest
$ac_exeext conftest.
$ac_ext
5048 CFLAGS
="$saved_CFLAGS"
5050 if test x
$have_gmp != xyes
; then
5051 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5052 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5053 Copies of these libraries' source code can be found at their respective
5054 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5055 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5056 If you obtained GMP and/or MPFR from a vendor distribution package, make
5057 sure that you have installed both the libraries and the header files.
5058 They may be located in separate packages." >&5
5059 echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5060 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5061 Copies of these libraries' source code can be found at their respective
5062 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5063 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5064 If you obtained GMP and/or MPFR from a vendor distribution package, make
5065 sure that you have installed both the libraries and the header files.
5066 They may be located in separate packages." >&2;}
5067 { (exit 1); exit 1; }; }
5071 if test x
$have_mpc != xyes
; then
5076 gmpinc
="$mpcinc $gmpinc"
5077 gmplibs
="$mpclibs $gmplibs"
5079 # Flags needed for both GMP, MPFR and/or MPC.
5086 # Allow host libstdc++ to be specified for static linking with PPL.
5088 # Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
5089 if test "${with_host_libstdcxx+set}" = set; then
5090 withval
="$with_host_libstdcxx"
5094 case $with_host_libstdcxx in
5096 { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
5097 echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
5098 { (exit 1); exit 1; }; }
5102 # Linker flags to use for stage1 or when not boostrapping.
5104 # Check whether --with-stage1-ldflags or --without-stage1-ldflags was given.
5105 if test "${with_stage1_ldflags+set}" = set; then
5106 withval
="$with_stage1_ldflags"
5107 if test "$withval" = "no" -o "$withval" = "yes"; then
5110 stage1_ldflags
=$withval
5117 # Libraries to use for stage1 or when not bootstrapping.
5119 # Check whether --with-stage1-libs or --without-stage1-libs was given.
5120 if test "${with_stage1_libs+set}" = set; then
5121 withval
="$with_stage1_libs"
5122 if test "$withval" = "no" -o "$withval" = "yes"; then
5125 stage1_libs
=$withval
5128 stage1_libs
=$with_host_libstdcxx
5132 # Linker flags to use for stage2 and later builds.
5134 # Check whether --with-boot-ldflags or --without-boot-ldflags was given.
5135 if test "${with_boot_ldflags+set}" = set; then
5136 withval
="$with_boot_ldflags"
5137 if test "$withval" = "no" -o "$withval" = "yes"; then
5140 poststage1_ldflags
=$withval
5143 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5144 poststage1_ldflags
=-static-libstdc++
5151 # Libraries to use for stage2 and later builds. This defaults to the
5152 # argument passed to --with-host-libstdcxx.
5154 # Check whether --with-boot-libs or --without-boot-libs was given.
5155 if test "${with_boot_libs+set}" = set; then
5156 withval
="$with_boot_libs"
5157 poststage1_libs
=$with_host_libstdcxx
5163 ppl_minor_version
=10
5164 ppllibs
=" -lppl_c -lppl -lgmpxx"
5168 # Check whether --with-ppl or --without-ppl was given.
5169 if test "${with_ppl+set}" = set; then
5176 # Check whether --with-ppl_include or --without-ppl_include was given.
5177 if test "${with_ppl_include+set}" = set; then
5178 withval
="$with_ppl_include"
5182 # Check whether --with-ppl_lib or --without-ppl_lib was given.
5183 if test "${with_ppl_lib+set}" = set; then
5184 withval
="$with_ppl_lib"
5193 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5194 pplinc
="-I$with_ppl/include $pplinc"
5195 LIBS
="$ppllibs $LIBS"
5198 if test "x$with_ppl_include" != x
; then
5199 pplinc
="-I$with_ppl_include $pplinc"
5201 if test "x$with_ppl_lib" != x
; then
5202 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5203 LIBS
="$ppllibs $LIBS"
5205 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5206 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5207 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5208 LIBS
="$ppllibs $LIBS"
5211 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
5212 if test "${enable_ppl_version_check+set}" = set; then
5213 enableval
="$enable_ppl_version_check"
5214 ENABLE_PPL_CHECK
=$enableval
5216 ENABLE_PPL_CHECK
=yes
5219 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5220 saved_CFLAGS
="$CFLAGS"
5221 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5222 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5223 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
5224 cat >conftest.
$ac_ext <<_ACEOF
5227 cat confdefs.h
>>conftest.
$ac_ext
5228 cat >>conftest.
$ac_ext <<_ACEOF
5229 /* end confdefs.h. */
5235 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5243 rm -f conftest.
$ac_objext
5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5245 (eval $ac_compile) 2>conftest.er1
5247 grep -v '^ *+' conftest.er1
>conftest.err
5249 cat conftest.err
>&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } &&
5252 { ac_try
='test -z "$ac_c_werror_flag"
5253 || test ! -s conftest.err'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; } &&
5259 { ac_try
='test -s conftest.$ac_objext'
5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; }; then
5265 echo "$as_me:$LINENO: result: yes" >&5
5266 echo "${ECHO_T}yes" >&6
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.
$ac_ext >&5
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
5274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5275 CFLAGS
="$saved_CFLAGS"
5278 # Flags needed for PPL
5284 clooglibs
=" -lcloog "
5285 clooginc
=" -DCLOOG_PPL_BACKEND "
5288 # Check whether --with-cloog or --without-cloog was given.
5289 if test "${with_cloog+set}" = set; then
5290 withval
="$with_cloog"
5296 # Check whether --with-cloog_include or --without-cloog_include was given.
5297 if test "${with_cloog_include+set}" = set; then
5298 withval
="$with_cloog_include"
5302 # Check whether --with-cloog_lib or --without-cloog_lib was given.
5303 if test "${with_cloog_lib+set}" = set; then
5304 withval
="$with_cloog_lib"
5314 clooglibs
="-L$with_cloog/lib -lcloog"
5315 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5316 LIBS
="$clooglibs $LIBS"
5319 if test "x$with_cloog_include" != x
; then
5320 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5322 if test "x$with_cloog_lib" != x
; then
5323 clooglibs
="-L$with_cloog_lib -lcloog"
5324 LIBS
="$clooglibs $LIBS"
5326 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5327 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5328 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5329 LIBS
="$clooglibs $LIBS"
5332 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5333 if test "${enable_cloog_version_check+set}" = set; then
5334 enableval
="$enable_cloog_version_check"
5335 ENABLE_CLOOG_CHECK
=$enableval
5337 ENABLE_CLOOG_CHECK
=yes
5340 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5341 saved_CFLAGS
="$CFLAGS"
5342 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5343 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5344 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5345 cat >conftest.
$ac_ext <<_ACEOF
5348 cat confdefs.h
>>conftest.
$ac_ext
5349 cat >>conftest.
$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5351 #include "cloog/cloog.h"
5356 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5364 rm -f conftest.
$ac_objext
5365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5366 (eval $ac_compile) 2>conftest.er1
5368 grep -v '^ *+' conftest.er1
>conftest.err
5370 cat conftest.err
>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } &&
5373 { ac_try
='test -z "$ac_c_werror_flag"
5374 || test ! -s conftest.err'
5375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }; } &&
5380 { ac_try
='test -s conftest.$ac_objext'
5381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; }; then
5386 echo "$as_me:$LINENO: result: yes" >&5
5387 echo "${ECHO_T}yes" >&6
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.
$ac_ext >&5
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5396 CFLAGS
="$saved_CFLAGS"
5399 # Flags needed for CLOOG
5404 # By default, C is the only stage 1 language.
5405 stage1_languages
=,c
,
5407 # Target libraries that we bootstrap.
5408 bootstrap_target_libs
=,target-libgcc
,
5410 # Figure out what language subdirectories are present.
5411 # Look if the user specified --enable-languages="..."; if not, use
5412 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5414 # NB: embedded tabs in this IF block -- do not untabify
5415 if test -d ${srcdir}/gcc
; then
5416 if test x
"${enable_languages+set}" != xset
; then
5417 if test x
"${LANGUAGES+set}" = xset
; then
5418 enable_languages
="${LANGUAGES}"
5419 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5421 enable_languages
=all
5424 if test x
"${enable_languages}" = x ||
5425 test x
"${enable_languages}" = xyes
;
5427 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5431 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5433 # 'f95' is the old name for the 'fortran' language. We issue a warning
5434 # and make the substitution.
5435 case ,${enable_languages}, in
5437 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5438 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5442 # First scan to see if an enabled language requires some other language.
5443 # We assume that a given config-lang.in will list all the language
5444 # front ends it requires, even if some are required indirectly.
5445 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5446 case ${lang_frag} in
5448 # The odd quoting in the next line works around
5449 # an apparent bug in bash 1.12 on linux.
5450 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5452 # From the config-lang.in, get $language, $lang_requires
5456 for other
in ${lang_requires} ; do
5457 case ,${enable_languages}, in
5461 echo " \`$other' language required by \`$language'; enabling" 1>&2
5462 enable_languages
="${enable_languages},${other}"
5470 new_enable_languages
=,c
,
5471 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5472 potential_languages
=,c
,
5474 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5475 case ${lang_frag} in
5477 # The odd quoting in the next line works around
5478 # an apparent bug in bash 1.12 on linux.
5479 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5481 # From the config-lang.in, get $language, $target_libs,
5482 # $lang_dirs, $boot_language, and $build_by_default
5488 build_by_default
=yes
5490 if test x
${language} = x
; then
5491 echo "${lang_frag} doesn't set \$language." 1>&2
5495 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5499 case ,${enable_languages}, in
5501 # Language was explicitly selected; include it.
5505 # 'all' was selected, select it if it is a default language
5506 add_this_lang
=${build_by_default}
5513 # Disable languages that need other directories if these aren't available.
5514 for i
in $subdir_requires; do
5515 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5516 case ,${enable_languages}, in
5518 # Specifically requested language; tell them.
5519 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5520 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5521 { (exit 1); exit 1; }; }
5525 add_this_lang
=unsupported
5530 # Disable Ada if no preexisting GNAT is available.
5531 case ,${enable_languages},:${language}:${have_gnat} in
5532 *,${language},*:ada
:no
)
5533 # Specifically requested language; tell them.
5534 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5535 echo "$as_me: error: GNAT is required to build $language" >&2;}
5536 { (exit 1); exit 1; }; }
5540 add_this_lang
=unsupported
5544 # Disable a language that is unsupported by the target.
5545 case " $unsupported_languages " in
5547 add_this_lang
=unsupported
5551 case $add_this_lang in
5553 # Remove language-dependent dirs.
5554 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5557 # Remove language-dependent dirs; still show language as supported.
5558 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5559 potential_languages
="${potential_languages}${language},"
5562 new_enable_languages
="${new_enable_languages}${language},"
5563 potential_languages
="${potential_languages}${language},"
5564 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5565 case ${boot_language} in
5567 # Add to (comma-separated) list of stage 1 languages.
5568 stage1_languages
="${stage1_languages}${language},"
5569 # We need to bootstrap any supporting libraries.
5570 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
5579 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5580 if test "${enable_stage1_languages+set}" = set; then
5581 enableval
="$enable_stage1_languages"
5582 case ,${enable_stage1_languages}, in
5584 # Set it to something that will have no effect in the loop below
5585 enable_stage1_languages
=c
;;
5587 enable_stage1_languages
=`echo $new_enable_languages | \
5588 sed -e "s/^,//" -e "s/,$//" ` ;;
5590 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5591 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5594 # Add "good" languages from enable_stage1_languages to stage1_languages,
5595 # while "bad" languages go in missing_languages. Leave no duplicates.
5596 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5597 case $potential_languages in
5599 case $stage1_languages in
5601 *) stage1_languages
="$stage1_languages$i," ;;
5604 case $missing_languages in
5606 *) missing_languages
="$missing_languages$i," ;;
5612 # Remove leading/trailing commas that were added for simplicity
5613 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5614 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5615 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5616 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5618 if test "x$missing_languages" != x
; then
5619 { { echo "$as_me:$LINENO: error:
5620 The following requested languages could not be built: ${missing_languages}
5621 Supported languages are: ${potential_languages}" >&5
5622 echo "$as_me: error:
5623 The following requested languages could not be built: ${missing_languages}
5624 Supported languages are: ${potential_languages}" >&2;}
5625 { (exit 1); exit 1; }; }
5627 if test "x$new_enable_languages" != "x$enable_languages"; then
5628 echo The following languages will be built
: ${new_enable_languages}
5629 enable_languages
="$new_enable_languages"
5633 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5636 # Handle --disable-<component> generically.
5637 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5638 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5639 varname
=`echo $dirname | sed -e s/+/_/g`
5640 if eval test x\
${enable_${varname}} "=" xno
; then
5641 noconfigdirs
="$noconfigdirs $dir"
5645 # Check for Boehm's garbage collector
5646 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5647 if test "${enable_objc_gc+set}" = set; then
5648 enableval
="$enable_objc_gc"
5649 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5650 *,objc
,*:*:yes:*target-boehm-gc
*)
5651 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5652 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5653 { (exit 1); exit 1; }; }
5658 # Make sure we only build Boehm's garbage collector if required.
5659 case ,${enable_languages},:${enable_objc_gc} in
5661 # Keep target-boehm-gc if requested for Objective-C.
5664 # Otherwise remove target-boehm-gc depending on target-libjava.
5665 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5666 noconfigdirs
="$noconfigdirs target-boehm-gc"
5671 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5672 # $build_configdirs and $target_configdirs.
5673 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5676 for dir
in .
$skipdirs $noconfigdirs ; do
5677 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5678 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5679 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5680 if test -r $srcdir/$dirname/configure
; then
5681 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5684 notsupp
="$notsupp $dir"
5688 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5689 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5690 if test -r $srcdir/$dirname/configure
; then
5691 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5694 notsupp
="$notsupp $dir"
5698 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5699 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5700 if test -r $srcdir/$dirname/configure
; then
5701 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5704 notsupp
="$notsupp $dir"
5710 # Sometimes the tools are distributed with libiberty but with no other
5711 # libraries. In that case, we don't want to build target-libiberty.
5712 # Don't let libgcc imply libiberty either.
5713 if test -n "${target_configdirs}" ; then
5716 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5717 if test "$i" = "libgcc"; then
5718 libgcc
=target-libgcc
5719 elif test "$i" != "libiberty" ; then
5720 if test -r $srcdir/$i/configure
; then
5726 if test -z "${others}" ; then
5727 target_configdirs
=$libgcc
5731 # Quietly strip out all directories which aren't configurable in this tree.
5732 # This relies on all configurable subdirectories being autoconfiscated, which
5734 build_configdirs_all
="$build_configdirs"
5736 for i
in ${build_configdirs_all} ; do
5737 j
=`echo $i | sed -e s/build-//g`
5738 if test -f ${srcdir}/$j/configure
; then
5739 build_configdirs
="${build_configdirs} $i"
5743 configdirs_all
="$configdirs"
5745 for i
in ${configdirs_all} ; do
5746 if test -f ${srcdir}/$i/configure
; then
5747 configdirs
="${configdirs} $i"
5751 target_configdirs_all
="$target_configdirs"
5753 for i
in ${target_configdirs_all} ; do
5754 j
=`echo $i | sed -e s/target-//g`
5755 if test -f ${srcdir}/$j/configure
; then
5756 target_configdirs
="${target_configdirs} $i"
5760 # Produce a warning message for the subdirs we can't configure.
5761 # This isn't especially interesting in the Cygnus tree, but in the individual
5762 # FSF releases, it's important to let people know when their machine isn't
5763 # supported by the one or two programs in a package.
5765 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5766 # If $appdirs is non-empty, at least one of those directories must still
5767 # be configured, or we error out. (E.g., if the gas release supports a
5768 # specified target in some subdirs but not the gas subdir, we shouldn't
5769 # pretend that all is well.)
5770 if test -n "$appdirs" ; then
5771 for dir
in $appdirs ; do
5772 if test -r $dir/Makefile.
in ; then
5773 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5777 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5783 if test -n "$appdirs" ; then
5784 echo "*** This configuration is not supported by this package." 1>&2
5788 # Okay, some application will build, or we don't care to check. Still
5789 # notify of subdirs not getting built.
5790 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5791 echo " ${notsupp}" 1>&2
5792 echo " (Any other directories should still work fine.)" 1>&2
5800 # To find our prefix, in gcc_cv_tool_prefix.
5802 # The user is always right.
5803 if test "${PATH_SEPARATOR+set}" != set; then
5804 echo "#! /bin/sh" >conf$$.sh
5805 echo "exit 0" >>conf$$.sh
5807 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5817 if test "x$exec_prefix" = xNONE
; then
5818 if test "x$prefix" = xNONE
; then
5819 gcc_cv_tool_prefix
=$ac_default_prefix
5821 gcc_cv_tool_prefix
=$prefix
5824 gcc_cv_tool_prefix
=$exec_prefix
5827 # If there is no compiler in the tree, use the PATH only. In any
5828 # case, if there is no compiler in the tree nobody should use
5829 # AS_FOR_TARGET and LD_FOR_TARGET.
5830 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5831 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5832 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5833 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5834 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5835 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5836 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5837 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5842 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5843 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5851 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5852 if test "${with_build_sysroot+set}" = set; then
5853 withval
="$with_build_sysroot"
5854 if test x
"$withval" != x
; then
5855 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5858 SYSROOT_CFLAGS_FOR_TARGET
=
5863 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5864 if test "${with_debug_prefix_map+set}" = set; then
5865 withval
="$with_debug_prefix_map"
5866 if test x
"$withval" != x
; then
5867 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5868 for debug_map
in $withval; do
5869 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5873 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5877 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5878 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5879 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5880 # We want to ensure that TARGET libraries (which we know are built with
5881 # gcc) are built with "-O2 -g", so include those options when setting
5882 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5883 if test "x$CFLAGS_FOR_TARGET" = x
; then
5884 CFLAGS_FOR_TARGET
=$CFLAGS
5887 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5890 *" -g "* |
*" -g3 "*) ;;
5891 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5896 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5897 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5898 case " $CXXFLAGS " in
5900 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5902 case " $CXXFLAGS " in
5903 *" -g "* |
*" -g3 "*) ;;
5904 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5909 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5910 # the named directory are copied to $(tooldir)/sys-include.
5911 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5912 if test x
${is_cross_compiler} = xno
; then
5913 echo 1>&2 '***' --with-headers is only supported when cross compiling
5916 if test x
"${with_headers}" != xyes
; then
5917 x
=${gcc_cv_tool_prefix}
5918 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5922 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5923 # the name directories are copied to $(tooldir)/lib. Multiple directories
5925 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5926 if test x
${is_cross_compiler} = xno
; then
5927 echo 1>&2 '***' --with-libs is only supported when cross compiling
5930 if test x
"${with_libs}" != xyes
; then
5931 # Copy the libraries in reverse order, so that files in the first named
5932 # library override files in subsequent libraries.
5933 x
=${gcc_cv_tool_prefix}
5934 for l
in ${with_libs}; do
5935 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5940 # Set with_gnu_as and with_gnu_ld as appropriate.
5942 # This is done by determining whether or not the appropriate directory
5943 # is available, and by checking whether or not specific configurations
5944 # have requested that this magic not happen.
5946 # The command line options always override the explicit settings in
5947 # configure.in, and the settings in configure.in override this magic.
5949 # If the default for a toolchain is to use GNU as and ld, and you don't
5950 # want to do that, then you should use the --without-gnu-as and
5951 # --without-gnu-ld options for the configure script.
5953 if test x
${use_gnu_as} = x
&&
5954 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5956 extra_host_args
="$extra_host_args --with-gnu-as"
5959 if test x
${use_gnu_ld} = x
&&
5960 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5962 extra_host_args
="$extra_host_args --with-gnu-ld"
5965 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5966 # can detect this case.
5968 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5970 extra_host_args
="$extra_host_args --with-newlib"
5973 # Handle ${copy_dirs}
5974 set fnord
${copy_dirs}
5976 while test $# != 0 ; do
5977 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5980 echo Copying
$1 to
$2
5982 # Use the install script to create the directory and all required
5983 # parent directories.
5984 if test -d $2 ; then
5988 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5991 # Copy the directory, assuming we have tar.
5992 # FIXME: Should we use B in the second tar? Not all systems support it.
5993 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5995 # It is the responsibility of the user to correctly adjust all
5996 # symlinks. If somebody can figure out how to handle them correctly
5997 # here, feel free to add the code.
6004 # Determine a target-dependent exec_prefix that the installed
6005 # gcc will search in. Keep this list sorted by triplet, with
6006 # the *-*-osname triplets last.
6010 md_exec_prefix
=/gnu
/lib
/gcc-lib
6012 i
[34567]86-pc-msdosdjgpp*)
6013 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6015 i
[34567]86-*-sco3.2v5
*)
6016 if test $with_gnu_as = yes; then
6017 md_exec_prefix
=/usr
/gnu
/bin
6019 md_exec_prefix
=/usr
/ccs
/bin
/elf
6024 powerpc-
*-chorusos* | \
6025 powerpc
*-*-eabi* | \
6026 powerpc
*-*-sysv* | \
6027 powerpc
*-*-kaos* | \
6029 md_exec_prefix
=/usr
/ccs
/bin
6034 md_exec_prefix
=/usr
/ccs
/bin
6049 md_exec_prefix
=/usr
/ccs
/bin
6053 extra_arflags_for_target
=
6054 extra_nmflags_for_target
=
6055 extra_ranlibflags_for_target
=
6056 target_makefile_frag
=/dev
/null
6059 target_makefile_frag
="config/mt-mep"
6062 target_makefile_frag
="config/mt-spu"
6065 target_makefile_frag
="config/mt-sde"
6067 mipsisa
*-*-elfoabi*)
6068 target_makefile_frag
="config/mt-mips-elfoabi"
6070 mips
*-*-*linux
* | mips
*-*-gnu*)
6071 target_makefile_frag
="config/mt-mips-gnu"
6074 target_makefile_frag
="config/mt-netware"
6076 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6077 target_makefile_frag
="config/mt-gnu"
6079 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6080 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6081 # commands to handle both 32-bit and 64-bit objects. These flags are
6082 # harmless if we're using GNU nm or ar.
6083 extra_arflags_for_target
=" -X32_64"
6084 extra_nmflags_for_target
=" -B -X32_64"
6087 # ranlib from Darwin requires the -c flag to look at common symbols.
6088 extra_ranlibflags_for_target
=" -c"
6090 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6091 target_makefile_frag
="config/mt-wince"
6095 alphaieee_frag
=/dev
/null
6098 # This just makes sure to use the -mieee option to build target libs.
6099 # This should probably be set individually by each library.
6100 alphaieee_frag
="config/mt-alphaieee"
6104 # If --enable-target-optspace always use -Os instead of -O2 to build
6105 # the target libraries, similarly if it is not specified, use -Os
6106 # on selected platforms.
6107 ospace_frag
=/dev
/null
6108 case "${enable_target_optspace}:${target}" in
6110 ospace_frag
="config/mt-ospace"
6113 ospace_frag
="config/mt-d30v"
6115 :m32r-
* |
:d10v-
* |
:fr30-
*)
6116 ospace_frag
="config/mt-ospace"
6121 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6125 # Default to using --with-stabs for certain targets.
6126 if test x
${with_stabs} = x
; then
6130 mips
*-*-* | alpha
*-*-osf*)
6132 extra_host_args
="${extra_host_args} --with-stabs"
6137 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6138 # them automatically.
6141 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6145 # Some systems (e.g., one of the i386-aix systems the gas testers are
6146 # using) don't handle "\$" correctly, so don't use it here.
6147 tooldir
='${exec_prefix}'/${target_noncanonical}
6148 build_tooldir
=${tooldir}
6150 # Create a .gdbinit file which runs the one in srcdir
6151 # and tells GDB to look there for source files.
6153 if test -r ${srcdir}/.gdbinit
; then
6156 *) cat > .
/.gdbinit
<<EOF
6160 source ${srcdir}/.gdbinit
6166 # Make sure that the compiler is able to generate an executable. If it
6167 # can't, we are probably in trouble. We don't care whether we can run the
6168 # executable--we might be using a cross compiler--we only care whether it
6169 # can be created. At this point the main configure script has set CC.
6171 echo "int main () { return 0; }" > conftest.c
6172 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6173 if test $?
= 0 ; then
6174 if test -s conftest ||
test -s conftest.exe
; then
6180 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6181 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6188 # The Solaris /usr/ucb/cc compiler does not appear to work.
6190 sparc-sun-solaris2
*)
6191 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6192 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6194 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6195 if test -d /opt
/cygnus
/bin
; then
6196 if test "$could_use" = "" ; then
6197 could_use
="/opt/cygnus/bin"
6199 could_use
="$could_use or /opt/cygnus/bin"
6202 if test "$could_use" = "" ; then
6203 echo "Warning: compilation may fail because you're using"
6204 echo "/usr/ucb/cc. You should change your PATH or CC "
6205 echo "variable and rerun configure."
6207 echo "Warning: compilation may fail because you're using"
6208 echo "/usr/ucb/cc, when you should use the C compiler from"
6209 echo "$could_use. You should change your"
6210 echo "PATH or CC variable and rerun configure."
6216 # Decide which environment variable is used to find dynamic libraries.
6218 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6219 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6220 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6221 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6224 # On systems where the dynamic library environment variable is PATH,
6225 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6226 # built executables to PATH.
6227 if test "$RPATH_ENVVAR" = PATH
; then
6228 GCC_SHLIB_SUBDIR
=/shlib
6233 # Record target_configdirs and the configure arguments for target and
6234 # build configuration in Makefile.
6235 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6236 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6238 # Determine whether gdb needs tk/tcl or not.
6239 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6240 # and in that case we want gdb to be built without tk. Ugh!
6241 # In fact I believe gdb is the *only* package directly dependent on tk,
6242 # so we should be able to put the 'maybe's in unconditionally and
6243 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6244 # 100% sure that that's safe though.
6246 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6247 case "$enable_gdbtk" in
6251 GDB_TK
="${gdb_tk}" ;;
6253 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6254 # distro. Eventually someone will fix this and move Insight, nee
6255 # gdbtk to a separate directory.
6256 if test -d ${srcdir}/gdb
/gdbtk
; then
6263 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6264 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6266 # Strip out unwanted targets.
6268 # While at that, we remove Makefiles if we were started for recursive
6269 # configuration, so that the top-level Makefile reconfigures them,
6270 # like we used to do when configure itself was recursive.
6272 # Loop over modules. $extrasub must be used with care, limiting as
6273 # much as possible the usage of range addresses. That's because autoconf
6274 # splits the sed script to overcome limits in the number of commands,
6275 # and relying on carefully-timed sed passes may turn out to be very hard
6276 # to maintain later. In this particular case, you just have to be careful
6277 # not to nest @if/@endif pairs, because configure will not warn you at all.
6279 # Check whether --enable-bootstrap or --disable-bootstrap was given.
6280 if test "${enable_bootstrap+set}" = set; then
6281 enableval
="$enable_bootstrap"
6284 enable_bootstrap
=default
6287 # Issue errors and warnings for invalid/strange bootstrap combinations.
6288 case "$configdirs" in
6289 *gcc
*) have_compiler
=yes ;;
6290 *) have_compiler
=no
;;
6293 case "$have_compiler:$host:$target:$enable_bootstrap" in
6296 # Default behavior. Enable bootstrap if we have a compiler
6297 # and we are in a native configuration.
6298 yes:$build:$build:default
)
6299 enable_bootstrap
=yes ;;
6302 enable_bootstrap
=no
;;
6304 # We have a compiler and we are in a native configuration, bootstrap is ok
6305 yes:$build:$build:yes)
6308 # Other configurations, but we have a compiler. Assume the user knows
6311 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
6312 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6315 # No compiler: if they passed --enable-bootstrap explicitly, fail
6317 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
6318 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
6319 { (exit 1); exit 1; }; } ;;
6321 # Fail if wrong command line
6323 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
6324 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
6325 { (exit 1); exit 1; }; }
6329 # Adjust the toplevel makefile according to whether bootstrap was selected.
6330 case "$enable_bootstrap" in
6332 bootstrap_suffix
=bootstrap
;;
6334 bootstrap_suffix
=no-bootstrap
;;
6337 for module
in ${build_configdirs} ; do
6338 if test -z "${no_recursion}" \
6339 && test -f ${build_subdir}/${module}/Makefile
; then
6340 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6341 rm -f ${build_subdir}/${module}/Makefile
6344 /^@if build-$module\$/d
6345 /^@endif build-$module\$/d
6346 /^@if build-$module-$bootstrap_suffix\$/d
6347 /^@endif build-$module-$bootstrap_suffix\$/d"
6349 for module
in ${configdirs} ; do
6350 if test -z "${no_recursion}"; then
6351 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6352 if test -f ${file}; then
6353 echo 1>&2 "*** removing ${file} to force reconfigure"
6360 /^@endif $module\$/d
6361 /^@if $module-$bootstrap_suffix\$/d
6362 /^@endif $module-$bootstrap_suffix\$/d"
6364 for module
in ${target_configdirs} ; do
6365 if test -z "${no_recursion}" \
6366 && test -f ${target_subdir}/${module}/Makefile
; then
6367 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6368 rm -f ${target_subdir}/${module}/Makefile
6371 # We only bootstrap target libraries listed in bootstrap_target_libs.
6372 case $bootstrap_target_libs in
6373 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6374 *) target_bootstrap_suffix
=no-bootstrap
;;
6378 /^@if target-$module\$/d
6379 /^@endif target-$module\$/d
6380 /^@if target-$module-$target_bootstrap_suffix\$/d
6381 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6385 /^@if /,/^@endif /d"
6387 # Create the serialization dependencies. This uses a temporary file.
6389 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6390 if test "${enable_serial_configure+set}" = set; then
6391 enableval
="$enable_serial_configure"
6395 case ${enable_serial_configure} in
6397 enable_serial_build_configure
=yes
6398 enable_serial_host_configure
=yes
6399 enable_serial_target_configure
=yes
6403 # These force 'configure's to be done one at a time, to avoid problems
6404 # with contention over a shared config.cache.
6406 echo '# serdep.tmp' > serdep.tmp
6408 test "x${enable_serial_build_configure}" = xyes
&&
6409 for item
in ${build_configdirs} ; do
6412 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6417 test "x${enable_serial_host_configure}" = xyes
&&
6418 for item
in ${configdirs} ; do
6421 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6426 test "x${enable_serial_target_configure}" = xyes
&&
6427 for item
in ${target_configdirs} ; do
6430 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6434 serialization_dependencies
=serdep.tmp
6437 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6438 # target, nonopt, and variable assignments. These are the ones we
6439 # might not want to pass down to subconfigures. Also strip
6440 # program-prefix, program-suffix, and program-transform-name, so that
6441 # we can pass down a consistent program-transform-name.
6445 eval "set -- $ac_configure_args"
6448 if test X
"$skip_next" = X
"yes"; then
6452 if test X
"$keep_next" = X
"yes"; then
6455 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6457 baseargs
="$baseargs '$ac_arg'"
6462 # Handle separated arguments. Based on the logic generated by
6465 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6466 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6467 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6468 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6494 -program-prefix* | \
6495 -program-suffix* | \
6496 -program-transform-name* )
6497 skip_next
=$separate_arg
6501 # An option. Add it.
6504 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6506 baseargs
="$baseargs '$ac_arg'"
6507 keep_next
=$separate_arg
6510 # Either a variable assignment, or a nonopt (triplet). Don't
6511 # pass it down; let the Makefile handle this.
6516 # Remove the initial space we just introduced and, as these will be
6517 # expanded by make, quote '$'.
6518 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6520 # Add in --program-transform-name, after --program-prefix and
6521 # --program-suffix have been applied to it. Autoconf has already
6522 # doubled dollar signs and backslashes in program_transform_name; we want
6523 # the backslashes un-doubled, and then the entire thing wrapped in single
6524 # quotes, because this will be expanded first by make and then by the shell.
6525 # Also, because we want to override the logic in subdir configure scripts to
6526 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6527 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6528 ${program_transform_name}
6530 gcc_transform_name
=`cat conftestsed.out`
6531 rm -f conftestsed.out
6532 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6533 if test "$silent" = yes; then
6534 baseargs
="$baseargs --silent"
6537 # For the build-side libraries, we just need to pretend we're native,
6538 # and not use the same cache file. Multilibs are neither needed nor
6540 build_configargs
="--cache-file=../config.cache ${baseargs}"
6542 # For host modules, accept cache file option, or specification as blank.
6543 case "${cache_file}" in
6545 cache_file_option
="" ;;
6546 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6547 cache_file_option
="--cache-file=${cache_file}" ;;
6549 cache_file_option
="--cache-file=../${cache_file}" ;;
6552 # Host dirs don't like to share a cache file either, horribly enough.
6553 # This seems to be due to autoconf 2.5x stupidity.
6554 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6556 target_configargs
=${baseargs}
6558 # Passing a --with-cross-host argument lets the target libraries know
6559 # whether they are being built with a cross-compiler or being built
6560 # native. However, it would be better to use other mechanisms to make the
6561 # sorts of decisions they want to make on this basis. Please consider
6562 # this option to be deprecated. FIXME.
6563 if test x
${is_cross_compiler} = xyes
; then
6564 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6567 # Default to --enable-multilib.
6568 if test x
${enable_multilib} = x
; then
6569 target_configargs
="--enable-multilib ${target_configargs}"
6572 # Pass --with-newlib if appropriate. Note that target_configdirs has
6573 # changed from the earlier setting of with_newlib.
6574 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6575 target_configargs
="--with-newlib ${target_configargs}"
6578 # Different target subdirs use different values of certain variables
6579 # (notably CXX). Worse, multilibs use *lots* of different values.
6580 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6581 # it doesn't automatically accept command-line overrides of them.
6582 # This means it's not safe for target subdirs to share a cache file,
6583 # which is disgusting, but there you have it. Hopefully this can be
6584 # fixed in future. It's still worthwhile to use a cache file for each
6585 # directory. I think.
6587 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6588 # We need to pass --target, as newer autoconf's requires consistency
6589 # for target_alias and gcc doesn't manage it consistently.
6590 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6593 case " $target_configdirs " in
6595 case " $target_configargs " in
6596 *" --with-newlib "*)
6599 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' ;;
6602 # If we're not building GCC, don't discard standard headers.
6603 if test -d ${srcdir}/gcc
; then
6604 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6606 if test "${build}" != "${host}"; then
6607 # On Canadian crosses, CC_FOR_TARGET will have already been set
6608 # by `configure', so we won't have an opportunity to add -Bgcc/
6609 # to it. This is right: we don't want to search that directory
6610 # for binaries, but we want the header files in there, so add
6612 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6614 # Someone might think of using the pre-installed headers on
6615 # Canadian crosses, in case the installed compiler is not fully
6616 # compatible with the compiler being built. In this case, it
6617 # would be better to flag an error than risking having
6618 # incompatible object files being constructed. We can't
6619 # guarantee that an error will be flagged, but let's hope the
6620 # compiler will do it, when presented with incompatible header
6625 case "${target}-${is_cross_compiler}" in
6626 i
[3456789]86-*-linux*-no)
6627 # Here host == target, so we don't need to build gcc,
6628 # so we don't want to discard standard headers.
6629 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6632 # If we're building newlib, use its generic headers last, but search
6633 # for any libc-related directories first (so make it the last -B
6635 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6637 # If we're building libgloss, find the startup file, simulator library
6638 # and linker script.
6639 case " $target_configdirs " in
6641 # Look for startup file, simulator library and maybe linker script.
6642 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6643 # Look for libnosys.a in case the target needs it.
6644 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6645 # Most targets have the linker script in the source directory.
6646 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6657 # Can't be handled as Cygwin above since Mingw does not use newlib.
6658 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' ;;
6661 # Allow the user to override the flags for
6662 # our build compiler if desired.
6663 if test x
"${build}" = x
"${host}" ; then
6664 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6665 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6666 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6669 # On Canadian crosses, we'll be searching the right directories for
6670 # the previously-installed cross compiler, so don't bother to add
6671 # flags for directories within the install tree of the compiler
6672 # being built; programs in there won't even run.
6673 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6674 # Search for pre-installed headers if nothing else fits.
6675 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6678 if test "x
${use_gnu_ld}" = x &&
6679 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6680 # Arrange for us to find uninstalled linker scripts.
6681 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6684 # Search for other target-specific linker scripts and such.
6687 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6691 # Makefile fragments.
6692 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6694 eval fragval=\$$frag
6695 if test $fragval != /dev/null; then
6696 eval $frag=${srcdir}/$fragval
6704 # Miscellanea: directories, flags, etc.
6713 # Build module lists & subconfigure args.
6717 # Host module lists & subconfigure args.
6721 # Target module lists & subconfigure args.
6743 # Generate default definitions for YACC, M4, LEX and other programs that run
6744 # on the build machine. These are used if the Makefile can't locate these
6745 # programs in objdir.
6746 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6748 for ac_prog in 'bison -y' byacc yacc
6750 # Extract the first word of "$ac_prog", so it can be a program name with args.
6751 set dummy $ac_prog; ac_word=$2
6752 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6753 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6754 if test "${ac_cv_prog_YACC+set}" = set; then
6755 echo $ECHO_N "(cached
) $ECHO_C" >&6
6757 if test -n "$YACC"; then
6758 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_YACC="$ac_prog"
6768 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6776 YACC=$ac_cv_prog_YACC
6777 if test -n "$YACC"; then
6778 echo "$as_me:$LINENO: result
: $YACC" >&5
6779 echo "${ECHO_T}$YACC" >&6
6781 echo "$as_me:$LINENO: result
: no
" >&5
6782 echo "${ECHO_T}no
" >&6
6785 test -n "$YACC" && break
6787 test -n "$YACC" || YACC="$MISSING bison
-y"
6789 case " $build_configdirs " in
6790 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6791 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6794 for ac_prog in bison
6796 # Extract the first word of "$ac_prog", so it can be a program name with args.
6797 set dummy $ac_prog; ac_word=$2
6798 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6799 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6800 if test "${ac_cv_prog_BISON+set}" = set; then
6801 echo $ECHO_N "(cached
) $ECHO_C" >&6
6803 if test -n "$BISON"; then
6804 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_BISON="$ac_prog"
6814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6822 BISON=$ac_cv_prog_BISON
6823 if test -n "$BISON"; then
6824 echo "$as_me:$LINENO: result
: $BISON" >&5
6825 echo "${ECHO_T}$BISON" >&6
6827 echo "$as_me:$LINENO: result
: no
" >&5
6828 echo "${ECHO_T}no
" >&6
6831 test -n "$BISON" && break
6833 test -n "$BISON" || BISON="$MISSING bison
"
6835 case " $build_configdirs " in
6836 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6839 for ac_prog in gm4 gnum4 m4
6841 # Extract the first word of "$ac_prog", so it can be a program name with args.
6842 set dummy $ac_prog; ac_word=$2
6843 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6845 if test "${ac_cv_prog_M4+set}" = set; then
6846 echo $ECHO_N "(cached
) $ECHO_C" >&6
6848 if test -n "$M4"; then
6849 ac_cv_prog_M4="$M4" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_M4="$ac_prog"
6859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6868 if test -n "$M4"; then
6869 echo "$as_me:$LINENO: result
: $M4" >&5
6870 echo "${ECHO_T}$M4" >&6
6872 echo "$as_me:$LINENO: result
: no
" >&5
6873 echo "${ECHO_T}no
" >&6
6876 test -n "$M4" && break
6878 test -n "$M4" || M4="$MISSING m4"
6880 case " $build_configdirs " in
6881 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6884 for ac_prog in flex lex
6886 # Extract the first word of "$ac_prog", so it can be a program name with args.
6887 set dummy $ac_prog; ac_word=$2
6888 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6889 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6890 if test "${ac_cv_prog_LEX+set}" = set; then
6891 echo $ECHO_N "(cached
) $ECHO_C" >&6
6893 if test -n "$LEX"; then
6894 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_LEX="$ac_prog"
6904 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6913 if test -n "$LEX"; then
6914 echo "$as_me:$LINENO: result
: $LEX" >&5
6915 echo "${ECHO_T}$LEX" >&6
6917 echo "$as_me:$LINENO: result
: no
" >&5
6918 echo "${ECHO_T}no
" >&6
6921 test -n "$LEX" && break
6923 test -n "$LEX" || LEX="$MISSING flex
"
6925 case " $build_configdirs " in
6926 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6927 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6932 # Extract the first word of "$ac_prog", so it can be a program name with args.
6933 set dummy $ac_prog; ac_word=$2
6934 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6935 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6936 if test "${ac_cv_prog_FLEX+set}" = set; then
6937 echo $ECHO_N "(cached
) $ECHO_C" >&6
6939 if test -n "$FLEX"; then
6940 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 ac_cv_prog_FLEX="$ac_prog"
6950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6958 FLEX=$ac_cv_prog_FLEX
6959 if test -n "$FLEX"; then
6960 echo "$as_me:$LINENO: result
: $FLEX" >&5
6961 echo "${ECHO_T}$FLEX" >&6
6963 echo "$as_me:$LINENO: result
: no
" >&5
6964 echo "${ECHO_T}no
" >&6
6967 test -n "$FLEX" && break
6969 test -n "$FLEX" || FLEX="$MISSING flex
"
6971 case " $build_configdirs " in
6972 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6975 for ac_prog in makeinfo
6977 # Extract the first word of "$ac_prog", so it can be a program name with args.
6978 set dummy $ac_prog; ac_word=$2
6979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6981 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6982 echo $ECHO_N "(cached
) $ECHO_C" >&6
6984 if test -n "$MAKEINFO"; then
6985 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_MAKEINFO="$ac_prog"
6995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 MAKEINFO=$ac_cv_prog_MAKEINFO
7004 if test -n "$MAKEINFO"; then
7005 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
7006 echo "${ECHO_T}$MAKEINFO" >&6
7008 echo "$as_me:$LINENO: result
: no
" >&5
7009 echo "${ECHO_T}no
" >&6
7012 test -n "$MAKEINFO" && break
7014 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7016 case " $build_configdirs " in
7017 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7020 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7021 # higher, else we use the "missing
" dummy.
7022 if ${MAKEINFO} --version \
7023 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7026 MAKEINFO="$MISSING makeinfo
"
7032 # FIXME: expect and dejagnu may become build tools?
7034 for ac_prog in expect
7036 # Extract the first word of "$ac_prog", so it can be a program name with args.
7037 set dummy $ac_prog; ac_word=$2
7038 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7039 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7040 if test "${ac_cv_prog_EXPECT+set}" = set; then
7041 echo $ECHO_N "(cached
) $ECHO_C" >&6
7043 if test -n "$EXPECT"; then
7044 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_EXPECT="$ac_prog"
7054 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7062 EXPECT=$ac_cv_prog_EXPECT
7063 if test -n "$EXPECT"; then
7064 echo "$as_me:$LINENO: result
: $EXPECT" >&5
7065 echo "${ECHO_T}$EXPECT" >&6
7067 echo "$as_me:$LINENO: result
: no
" >&5
7068 echo "${ECHO_T}no
" >&6
7071 test -n "$EXPECT" && break
7073 test -n "$EXPECT" || EXPECT="expect
"
7075 case " $configdirs " in
7077 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7081 for ac_prog in runtest
7083 # Extract the first word of "$ac_prog", so it can be a program name with args.
7084 set dummy $ac_prog; ac_word=$2
7085 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7087 if test "${ac_cv_prog_RUNTEST+set}" = set; then
7088 echo $ECHO_N "(cached
) $ECHO_C" >&6
7090 if test -n "$RUNTEST"; then
7091 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 test -z "$as_dir" && as_dir=.
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7100 ac_cv_prog_RUNTEST="$ac_prog"
7101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7109 RUNTEST=$ac_cv_prog_RUNTEST
7110 if test -n "$RUNTEST"; then
7111 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
7112 echo "${ECHO_T}$RUNTEST" >&6
7114 echo "$as_me:$LINENO: result
: no
" >&5
7115 echo "${ECHO_T}no
" >&6
7118 test -n "$RUNTEST" && break
7120 test -n "$RUNTEST" || RUNTEST="runtest
"
7122 case " $configdirs " in
7124 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7131 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7132 ncn_target_tool_prefix=
7133 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7137 if test -n "$AR"; then
7139 elif test -n "$ac_cv_prog_AR"; then
7143 if test -n "$ac_cv_prog_AR"; then
7144 for ncn_progname in ar; do
7145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7146 set dummy ${ncn_progname}; ac_word=$2
7147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7149 if test "${ac_cv_prog_AR+set}" = set; then
7150 echo $ECHO_N "(cached
) $ECHO_C" >&6
7152 if test -n "$AR"; then
7153 ac_cv_prog_AR="$AR" # Let the user override the test.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_AR="${ncn_progname}"
7163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7172 if test -n "$AR"; then
7173 echo "$as_me:$LINENO: result
: $AR" >&5
7174 echo "${ECHO_T}$AR" >&6
7176 echo "$as_me:$LINENO: result
: no
" >&5
7177 echo "${ECHO_T}no
" >&6
7183 for ncn_progname in ar; do
7184 if test -n "$ncn_tool_prefix"; then
7185 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7186 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7189 if test "${ac_cv_prog_AR+set}" = set; then
7190 echo $ECHO_N "(cached
) $ECHO_C" >&6
7192 if test -n "$AR"; then
7193 ac_cv_prog_AR="$AR" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7212 if test -n "$AR"; then
7213 echo "$as_me:$LINENO: result
: $AR" >&5
7214 echo "${ECHO_T}$AR" >&6
7216 echo "$as_me:$LINENO: result
: no
" >&5
7217 echo "${ECHO_T}no
" >&6
7221 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7223 set dummy ${ncn_progname}; ac_word=$2
7224 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7225 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7226 if test "${ac_cv_prog_AR+set}" = set; then
7227 echo $ECHO_N "(cached
) $ECHO_C" >&6
7229 if test -n "$AR"; then
7230 ac_cv_prog_AR="$AR" # Let the user override the test.
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir=.
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_AR="${ncn_progname}"
7240 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7249 if test -n "$AR"; then
7250 echo "$as_me:$LINENO: result
: $AR" >&5
7251 echo "${ECHO_T}$AR" >&6
7253 echo "$as_me:$LINENO: result
: no
" >&5
7254 echo "${ECHO_T}no
" >&6
7258 test -n "$ac_cv_prog_AR" && break
7261 if test -z "$ac_cv_prog_AR" ; then
7263 if test $build = $host ; then
7266 AR="${ncn_tool_prefix}$2"
7272 if test -n "$AS"; then
7274 elif test -n "$ac_cv_prog_AS"; then
7278 if test -n "$ac_cv_prog_AS"; then
7279 for ncn_progname in as; do
7280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7281 set dummy ${ncn_progname}; ac_word=$2
7282 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7283 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7284 if test "${ac_cv_prog_AS+set}" = set; then
7285 echo $ECHO_N "(cached
) $ECHO_C" >&6
7287 if test -n "$AS"; then
7288 ac_cv_prog_AS="$AS" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_prog_AS="${ncn_progname}"
7298 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7307 if test -n "$AS"; then
7308 echo "$as_me:$LINENO: result
: $AS" >&5
7309 echo "${ECHO_T}$AS" >&6
7311 echo "$as_me:$LINENO: result
: no
" >&5
7312 echo "${ECHO_T}no
" >&6
7318 for ncn_progname in as; do
7319 if test -n "$ncn_tool_prefix"; then
7320 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7321 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7322 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7323 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7324 if test "${ac_cv_prog_AS+set}" = set; then
7325 echo $ECHO_N "(cached
) $ECHO_C" >&6
7327 if test -n "$AS"; then
7328 ac_cv_prog_AS="$AS" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7347 if test -n "$AS"; then
7348 echo "$as_me:$LINENO: result
: $AS" >&5
7349 echo "${ECHO_T}$AS" >&6
7351 echo "$as_me:$LINENO: result
: no
" >&5
7352 echo "${ECHO_T}no
" >&6
7356 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7358 set dummy ${ncn_progname}; ac_word=$2
7359 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7361 if test "${ac_cv_prog_AS+set}" = set; then
7362 echo $ECHO_N "(cached
) $ECHO_C" >&6
7364 if test -n "$AS"; then
7365 ac_cv_prog_AS="$AS" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_AS="${ncn_progname}"
7375 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7384 if test -n "$AS"; then
7385 echo "$as_me:$LINENO: result
: $AS" >&5
7386 echo "${ECHO_T}$AS" >&6
7388 echo "$as_me:$LINENO: result
: no
" >&5
7389 echo "${ECHO_T}no
" >&6
7393 test -n "$ac_cv_prog_AS" && break
7396 if test -z "$ac_cv_prog_AS" ; then
7398 if test $build = $host ; then
7401 AS="${ncn_tool_prefix}$2"
7407 if test -n "$DLLTOOL"; then
7408 ac_cv_prog_DLLTOOL=$DLLTOOL
7409 elif test -n "$ac_cv_prog_DLLTOOL"; then
7410 DLLTOOL=$ac_cv_prog_DLLTOOL
7413 if test -n "$ac_cv_prog_DLLTOOL"; then
7414 for ncn_progname in dlltool; do
7415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7416 set dummy ${ncn_progname}; ac_word=$2
7417 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7418 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7419 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7420 echo $ECHO_N "(cached
) $ECHO_C" >&6
7422 if test -n "$DLLTOOL"; then
7423 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_DLLTOOL="${ncn_progname}"
7433 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7441 DLLTOOL=$ac_cv_prog_DLLTOOL
7442 if test -n "$DLLTOOL"; then
7443 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7444 echo "${ECHO_T}$DLLTOOL" >&6
7446 echo "$as_me:$LINENO: result
: no
" >&5
7447 echo "${ECHO_T}no
" >&6
7453 for ncn_progname in dlltool; do
7454 if test -n "$ncn_tool_prefix"; then
7455 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7456 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7457 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7459 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7460 echo $ECHO_N "(cached
) $ECHO_C" >&6
7462 if test -n "$DLLTOOL"; then
7463 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7481 DLLTOOL=$ac_cv_prog_DLLTOOL
7482 if test -n "$DLLTOOL"; then
7483 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7484 echo "${ECHO_T}$DLLTOOL" >&6
7486 echo "$as_me:$LINENO: result
: no
" >&5
7487 echo "${ECHO_T}no
" >&6
7491 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7493 set dummy ${ncn_progname}; ac_word=$2
7494 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7495 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7496 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7497 echo $ECHO_N "(cached
) $ECHO_C" >&6
7499 if test -n "$DLLTOOL"; then
7500 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7509 ac_cv_prog_DLLTOOL="${ncn_progname}"
7510 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7518 DLLTOOL=$ac_cv_prog_DLLTOOL
7519 if test -n "$DLLTOOL"; then
7520 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7521 echo "${ECHO_T}$DLLTOOL" >&6
7523 echo "$as_me:$LINENO: result
: no
" >&5
7524 echo "${ECHO_T}no
" >&6
7528 test -n "$ac_cv_prog_DLLTOOL" && break
7531 if test -z "$ac_cv_prog_DLLTOOL" ; then
7533 if test $build = $host ; then
7536 DLLTOOL="${ncn_tool_prefix}$2"
7542 if test -n "$LD"; then
7544 elif test -n "$ac_cv_prog_LD"; then
7548 if test -n "$ac_cv_prog_LD"; then
7549 for ncn_progname in ld; do
7550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7551 set dummy ${ncn_progname}; ac_word=$2
7552 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7553 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7554 if test "${ac_cv_prog_LD+set}" = set; then
7555 echo $ECHO_N "(cached
) $ECHO_C" >&6
7557 if test -n "$LD"; then
7558 ac_cv_prog_LD="$LD" # Let the user override the test.
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_LD="${ncn_progname}"
7568 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7577 if test -n "$LD"; then
7578 echo "$as_me:$LINENO: result
: $LD" >&5
7579 echo "${ECHO_T}$LD" >&6
7581 echo "$as_me:$LINENO: result
: no
" >&5
7582 echo "${ECHO_T}no
" >&6
7588 for ncn_progname in ld; do
7589 if test -n "$ncn_tool_prefix"; then
7590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7594 if test "${ac_cv_prog_LD+set}" = set; then
7595 echo $ECHO_N "(cached
) $ECHO_C" >&6
7597 if test -n "$LD"; then
7598 ac_cv_prog_LD="$LD" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7617 if test -n "$LD"; then
7618 echo "$as_me:$LINENO: result
: $LD" >&5
7619 echo "${ECHO_T}$LD" >&6
7621 echo "$as_me:$LINENO: result
: no
" >&5
7622 echo "${ECHO_T}no
" >&6
7626 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7628 set dummy ${ncn_progname}; ac_word=$2
7629 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7631 if test "${ac_cv_prog_LD+set}" = set; then
7632 echo $ECHO_N "(cached
) $ECHO_C" >&6
7634 if test -n "$LD"; then
7635 ac_cv_prog_LD="$LD" # Let the user override the test.
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_LD="${ncn_progname}"
7645 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7654 if test -n "$LD"; then
7655 echo "$as_me:$LINENO: result
: $LD" >&5
7656 echo "${ECHO_T}$LD" >&6
7658 echo "$as_me:$LINENO: result
: no
" >&5
7659 echo "${ECHO_T}no
" >&6
7663 test -n "$ac_cv_prog_LD" && break
7666 if test -z "$ac_cv_prog_LD" ; then
7668 if test $build = $host ; then
7671 LD="${ncn_tool_prefix}$2"
7677 if test -n "$LIPO"; then
7678 ac_cv_prog_LIPO=$LIPO
7679 elif test -n "$ac_cv_prog_LIPO"; then
7680 LIPO=$ac_cv_prog_LIPO
7683 if test -n "$ac_cv_prog_LIPO"; then
7684 for ncn_progname in lipo; do
7685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7686 set dummy ${ncn_progname}; ac_word=$2
7687 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7688 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7689 if test "${ac_cv_prog_LIPO+set}" = set; then
7690 echo $ECHO_N "(cached
) $ECHO_C" >&6
7692 if test -n "$LIPO"; then
7693 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_LIPO="${ncn_progname}"
7703 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7711 LIPO=$ac_cv_prog_LIPO
7712 if test -n "$LIPO"; then
7713 echo "$as_me:$LINENO: result
: $LIPO" >&5
7714 echo "${ECHO_T}$LIPO" >&6
7716 echo "$as_me:$LINENO: result
: no
" >&5
7717 echo "${ECHO_T}no
" >&6
7723 for ncn_progname in lipo; do
7724 if test -n "$ncn_tool_prefix"; then
7725 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7726 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7727 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7728 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7729 if test "${ac_cv_prog_LIPO+set}" = set; then
7730 echo $ECHO_N "(cached
) $ECHO_C" >&6
7732 if test -n "$LIPO"; then
7733 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7743 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 LIPO=$ac_cv_prog_LIPO
7752 if test -n "$LIPO"; then
7753 echo "$as_me:$LINENO: result
: $LIPO" >&5
7754 echo "${ECHO_T}$LIPO" >&6
7756 echo "$as_me:$LINENO: result
: no
" >&5
7757 echo "${ECHO_T}no
" >&6
7761 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7763 set dummy ${ncn_progname}; ac_word=$2
7764 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7765 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7766 if test "${ac_cv_prog_LIPO+set}" = set; then
7767 echo $ECHO_N "(cached
) $ECHO_C" >&6
7769 if test -n "$LIPO"; then
7770 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779 ac_cv_prog_LIPO="${ncn_progname}"
7780 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 LIPO=$ac_cv_prog_LIPO
7789 if test -n "$LIPO"; then
7790 echo "$as_me:$LINENO: result
: $LIPO" >&5
7791 echo "${ECHO_T}$LIPO" >&6
7793 echo "$as_me:$LINENO: result
: no
" >&5
7794 echo "${ECHO_T}no
" >&6
7798 test -n "$ac_cv_prog_LIPO" && break
7801 if test -z "$ac_cv_prog_LIPO" ; then
7803 if test $build = $host ; then
7806 LIPO="${ncn_tool_prefix}$2"
7812 if test -n "$NM"; then
7814 elif test -n "$ac_cv_prog_NM"; then
7818 if test -n "$ac_cv_prog_NM"; then
7819 for ncn_progname in nm; do
7820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7821 set dummy ${ncn_progname}; ac_word=$2
7822 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7823 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7824 if test "${ac_cv_prog_NM+set}" = set; then
7825 echo $ECHO_N "(cached
) $ECHO_C" >&6
7827 if test -n "$NM"; then
7828 ac_cv_prog_NM="$NM" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_NM="${ncn_progname}"
7838 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 if test -n "$NM"; then
7848 echo "$as_me:$LINENO: result
: $NM" >&5
7849 echo "${ECHO_T}$NM" >&6
7851 echo "$as_me:$LINENO: result
: no
" >&5
7852 echo "${ECHO_T}no
" >&6
7858 for ncn_progname in nm; do
7859 if test -n "$ncn_tool_prefix"; then
7860 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7861 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7862 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7863 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7864 if test "${ac_cv_prog_NM+set}" = set; then
7865 echo $ECHO_N "(cached
) $ECHO_C" >&6
7867 if test -n "$NM"; then
7868 ac_cv_prog_NM="$NM" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7878 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7887 if test -n "$NM"; then
7888 echo "$as_me:$LINENO: result
: $NM" >&5
7889 echo "${ECHO_T}$NM" >&6
7891 echo "$as_me:$LINENO: result
: no
" >&5
7892 echo "${ECHO_T}no
" >&6
7896 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7898 set dummy ${ncn_progname}; ac_word=$2
7899 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7900 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7901 if test "${ac_cv_prog_NM+set}" = set; then
7902 echo $ECHO_N "(cached
) $ECHO_C" >&6
7904 if test -n "$NM"; then
7905 ac_cv_prog_NM="$NM" # Let the user override the test.
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_NM="${ncn_progname}"
7915 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7924 if test -n "$NM"; then
7925 echo "$as_me:$LINENO: result
: $NM" >&5
7926 echo "${ECHO_T}$NM" >&6
7928 echo "$as_me:$LINENO: result
: no
" >&5
7929 echo "${ECHO_T}no
" >&6
7933 test -n "$ac_cv_prog_NM" && break
7936 if test -z "$ac_cv_prog_NM" ; then
7938 if test $build = $host ; then
7941 NM="${ncn_tool_prefix}$2"
7947 if test -n "$RANLIB"; then
7948 ac_cv_prog_RANLIB=$RANLIB
7949 elif test -n "$ac_cv_prog_RANLIB"; then
7950 RANLIB=$ac_cv_prog_RANLIB
7953 if test -n "$ac_cv_prog_RANLIB"; then
7954 for ncn_progname in ranlib; do
7955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7956 set dummy ${ncn_progname}; ac_word=$2
7957 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7958 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7959 if test "${ac_cv_prog_RANLIB+set}" = set; then
7960 echo $ECHO_N "(cached
) $ECHO_C" >&6
7962 if test -n "$RANLIB"; then
7963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_RANLIB="${ncn_progname}"
7973 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 RANLIB=$ac_cv_prog_RANLIB
7982 if test -n "$RANLIB"; then
7983 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7984 echo "${ECHO_T}$RANLIB" >&6
7986 echo "$as_me:$LINENO: result
: no
" >&5
7987 echo "${ECHO_T}no
" >&6
7993 for ncn_progname in ranlib; do
7994 if test -n "$ncn_tool_prefix"; then
7995 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7996 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7997 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7998 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7999 if test "${ac_cv_prog_RANLIB+set}" = set; then
8000 echo $ECHO_N "(cached
) $ECHO_C" >&6
8002 if test -n "$RANLIB"; then
8003 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8013 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8021 RANLIB=$ac_cv_prog_RANLIB
8022 if test -n "$RANLIB"; then
8023 echo "$as_me:$LINENO: result
: $RANLIB" >&5
8024 echo "${ECHO_T}$RANLIB" >&6
8026 echo "$as_me:$LINENO: result
: no
" >&5
8027 echo "${ECHO_T}no
" >&6
8031 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8033 set dummy ${ncn_progname}; ac_word=$2
8034 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8035 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8036 if test "${ac_cv_prog_RANLIB+set}" = set; then
8037 echo $ECHO_N "(cached
) $ECHO_C" >&6
8039 if test -n "$RANLIB"; then
8040 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_RANLIB="${ncn_progname}"
8050 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8058 RANLIB=$ac_cv_prog_RANLIB
8059 if test -n "$RANLIB"; then
8060 echo "$as_me:$LINENO: result
: $RANLIB" >&5
8061 echo "${ECHO_T}$RANLIB" >&6
8063 echo "$as_me:$LINENO: result
: no
" >&5
8064 echo "${ECHO_T}no
" >&6
8068 test -n "$ac_cv_prog_RANLIB" && break
8071 if test -z "$ac_cv_prog_RANLIB" ; then
8077 if test -n "$STRIP"; then
8078 ac_cv_prog_STRIP=$STRIP
8079 elif test -n "$ac_cv_prog_STRIP"; then
8080 STRIP=$ac_cv_prog_STRIP
8083 if test -n "$ac_cv_prog_STRIP"; then
8084 for ncn_progname in strip; do
8085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8086 set dummy ${ncn_progname}; ac_word=$2
8087 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8088 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8089 if test "${ac_cv_prog_STRIP+set}" = set; then
8090 echo $ECHO_N "(cached
) $ECHO_C" >&6
8092 if test -n "$STRIP"; then
8093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_STRIP="${ncn_progname}"
8103 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8111 STRIP=$ac_cv_prog_STRIP
8112 if test -n "$STRIP"; then
8113 echo "$as_me:$LINENO: result
: $STRIP" >&5
8114 echo "${ECHO_T}$STRIP" >&6
8116 echo "$as_me:$LINENO: result
: no
" >&5
8117 echo "${ECHO_T}no
" >&6
8123 for ncn_progname in strip; do
8124 if test -n "$ncn_tool_prefix"; then
8125 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8126 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8129 if test "${ac_cv_prog_STRIP+set}" = set; then
8130 echo $ECHO_N "(cached
) $ECHO_C" >&6
8132 if test -n "$STRIP"; then
8133 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8151 STRIP=$ac_cv_prog_STRIP
8152 if test -n "$STRIP"; then
8153 echo "$as_me:$LINENO: result
: $STRIP" >&5
8154 echo "${ECHO_T}$STRIP" >&6
8156 echo "$as_me:$LINENO: result
: no
" >&5
8157 echo "${ECHO_T}no
" >&6
8161 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8163 set dummy ${ncn_progname}; ac_word=$2
8164 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8165 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8166 if test "${ac_cv_prog_STRIP+set}" = set; then
8167 echo $ECHO_N "(cached
) $ECHO_C" >&6
8169 if test -n "$STRIP"; then
8170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_STRIP="${ncn_progname}"
8180 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8188 STRIP=$ac_cv_prog_STRIP
8189 if test -n "$STRIP"; then
8190 echo "$as_me:$LINENO: result
: $STRIP" >&5
8191 echo "${ECHO_T}$STRIP" >&6
8193 echo "$as_me:$LINENO: result
: no
" >&5
8194 echo "${ECHO_T}no
" >&6
8198 test -n "$ac_cv_prog_STRIP" && break
8201 if test -z "$ac_cv_prog_STRIP" ; then
8207 if test -n "$WINDRES"; then
8208 ac_cv_prog_WINDRES=$WINDRES
8209 elif test -n "$ac_cv_prog_WINDRES"; then
8210 WINDRES=$ac_cv_prog_WINDRES
8213 if test -n "$ac_cv_prog_WINDRES"; then
8214 for ncn_progname in windres; do
8215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8216 set dummy ${ncn_progname}; ac_word=$2
8217 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8219 if test "${ac_cv_prog_WINDRES+set}" = set; then
8220 echo $ECHO_N "(cached
) $ECHO_C" >&6
8222 if test -n "$WINDRES"; then
8223 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8232 ac_cv_prog_WINDRES="${ncn_progname}"
8233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8241 WINDRES=$ac_cv_prog_WINDRES
8242 if test -n "$WINDRES"; then
8243 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8244 echo "${ECHO_T}$WINDRES" >&6
8246 echo "$as_me:$LINENO: result
: no
" >&5
8247 echo "${ECHO_T}no
" >&6
8253 for ncn_progname in windres; do
8254 if test -n "$ncn_tool_prefix"; then
8255 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8256 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8257 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8259 if test "${ac_cv_prog_WINDRES+set}" = set; then
8260 echo $ECHO_N "(cached
) $ECHO_C" >&6
8262 if test -n "$WINDRES"; then
8263 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 WINDRES=$ac_cv_prog_WINDRES
8282 if test -n "$WINDRES"; then
8283 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8284 echo "${ECHO_T}$WINDRES" >&6
8286 echo "$as_me:$LINENO: result
: no
" >&5
8287 echo "${ECHO_T}no
" >&6
8291 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8293 set dummy ${ncn_progname}; ac_word=$2
8294 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8295 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8296 if test "${ac_cv_prog_WINDRES+set}" = set; then
8297 echo $ECHO_N "(cached
) $ECHO_C" >&6
8299 if test -n "$WINDRES"; then
8300 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8309 ac_cv_prog_WINDRES="${ncn_progname}"
8310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8318 WINDRES=$ac_cv_prog_WINDRES
8319 if test -n "$WINDRES"; then
8320 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8321 echo "${ECHO_T}$WINDRES" >&6
8323 echo "$as_me:$LINENO: result
: no
" >&5
8324 echo "${ECHO_T}no
" >&6
8328 test -n "$ac_cv_prog_WINDRES" && break
8331 if test -z "$ac_cv_prog_WINDRES" ; then
8333 if test $build = $host ; then
8336 WINDRES="${ncn_tool_prefix}$2"
8342 if test -n "$WINDMC"; then
8343 ac_cv_prog_WINDMC=$WINDMC
8344 elif test -n "$ac_cv_prog_WINDMC"; then
8345 WINDMC=$ac_cv_prog_WINDMC
8348 if test -n "$ac_cv_prog_WINDMC"; then
8349 for ncn_progname in windmc; do
8350 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8351 set dummy ${ncn_progname}; ac_word=$2
8352 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8353 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8354 if test "${ac_cv_prog_WINDMC+set}" = set; then
8355 echo $ECHO_N "(cached
) $ECHO_C" >&6
8357 if test -n "$WINDMC"; then
8358 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364 test -z "$as_dir" && as_dir=.
8365 for ac_exec_ext in '' $ac_executable_extensions; do
8366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8367 ac_cv_prog_WINDMC="${ncn_progname}"
8368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 WINDMC=$ac_cv_prog_WINDMC
8377 if test -n "$WINDMC"; then
8378 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8379 echo "${ECHO_T}$WINDMC" >&6
8381 echo "$as_me:$LINENO: result
: no
" >&5
8382 echo "${ECHO_T}no
" >&6
8388 for ncn_progname in windmc; do
8389 if test -n "$ncn_tool_prefix"; then
8390 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8391 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8392 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8393 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8394 if test "${ac_cv_prog_WINDMC+set}" = set; then
8395 echo $ECHO_N "(cached
) $ECHO_C" >&6
8397 if test -n "$WINDMC"; then
8398 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404 test -z "$as_dir" && as_dir=.
8405 for ac_exec_ext in '' $ac_executable_extensions; do
8406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8407 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8408 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8416 WINDMC=$ac_cv_prog_WINDMC
8417 if test -n "$WINDMC"; then
8418 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8419 echo "${ECHO_T}$WINDMC" >&6
8421 echo "$as_me:$LINENO: result
: no
" >&5
8422 echo "${ECHO_T}no
" >&6
8426 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8428 set dummy ${ncn_progname}; ac_word=$2
8429 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8430 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8431 if test "${ac_cv_prog_WINDMC+set}" = set; then
8432 echo $ECHO_N "(cached
) $ECHO_C" >&6
8434 if test -n "$WINDMC"; then
8435 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8444 ac_cv_prog_WINDMC="${ncn_progname}"
8445 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8453 WINDMC=$ac_cv_prog_WINDMC
8454 if test -n "$WINDMC"; then
8455 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8456 echo "${ECHO_T}$WINDMC" >&6
8458 echo "$as_me:$LINENO: result
: no
" >&5
8459 echo "${ECHO_T}no
" >&6
8463 test -n "$ac_cv_prog_WINDMC" && break
8466 if test -z "$ac_cv_prog_WINDMC" ; then
8468 if test $build = $host ; then
8471 WINDMC="${ncn_tool_prefix}$2"
8477 if test -n "$OBJCOPY"; then
8478 ac_cv_prog_OBJCOPY=$OBJCOPY
8479 elif test -n "$ac_cv_prog_OBJCOPY"; then
8480 OBJCOPY=$ac_cv_prog_OBJCOPY
8483 if test -n "$ac_cv_prog_OBJCOPY"; then
8484 for ncn_progname in objcopy; do
8485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8486 set dummy ${ncn_progname}; ac_word=$2
8487 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8488 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8489 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8490 echo $ECHO_N "(cached
) $ECHO_C" >&6
8492 if test -n "$OBJCOPY"; then
8493 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8499 test -z "$as_dir" && as_dir=.
8500 for ac_exec_ext in '' $ac_executable_extensions; do
8501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8502 ac_cv_prog_OBJCOPY="${ncn_progname}"
8503 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8511 OBJCOPY=$ac_cv_prog_OBJCOPY
8512 if test -n "$OBJCOPY"; then
8513 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8514 echo "${ECHO_T}$OBJCOPY" >&6
8516 echo "$as_me:$LINENO: result
: no
" >&5
8517 echo "${ECHO_T}no
" >&6
8523 for ncn_progname in objcopy; do
8524 if test -n "$ncn_tool_prefix"; then
8525 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8526 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8527 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8528 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8529 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8530 echo $ECHO_N "(cached
) $ECHO_C" >&6
8532 if test -n "$OBJCOPY"; then
8533 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8539 test -z "$as_dir" && as_dir=.
8540 for ac_exec_ext in '' $ac_executable_extensions; do
8541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8543 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8551 OBJCOPY=$ac_cv_prog_OBJCOPY
8552 if test -n "$OBJCOPY"; then
8553 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8554 echo "${ECHO_T}$OBJCOPY" >&6
8556 echo "$as_me:$LINENO: result
: no
" >&5
8557 echo "${ECHO_T}no
" >&6
8561 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8563 set dummy ${ncn_progname}; ac_word=$2
8564 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8566 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8567 echo $ECHO_N "(cached
) $ECHO_C" >&6
8569 if test -n "$OBJCOPY"; then
8570 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8576 test -z "$as_dir" && as_dir=.
8577 for ac_exec_ext in '' $ac_executable_extensions; do
8578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8579 ac_cv_prog_OBJCOPY="${ncn_progname}"
8580 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8588 OBJCOPY=$ac_cv_prog_OBJCOPY
8589 if test -n "$OBJCOPY"; then
8590 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8591 echo "${ECHO_T}$OBJCOPY" >&6
8593 echo "$as_me:$LINENO: result
: no
" >&5
8594 echo "${ECHO_T}no
" >&6
8598 test -n "$ac_cv_prog_OBJCOPY" && break
8601 if test -z "$ac_cv_prog_OBJCOPY" ; then
8603 if test $build = $host ; then
8606 OBJCOPY="${ncn_tool_prefix}$2"
8612 if test -n "$OBJDUMP"; then
8613 ac_cv_prog_OBJDUMP=$OBJDUMP
8614 elif test -n "$ac_cv_prog_OBJDUMP"; then
8615 OBJDUMP=$ac_cv_prog_OBJDUMP
8618 if test -n "$ac_cv_prog_OBJDUMP"; then
8619 for ncn_progname in objdump; do
8620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8621 set dummy ${ncn_progname}; ac_word=$2
8622 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8623 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8624 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8625 echo $ECHO_N "(cached
) $ECHO_C" >&6
8627 if test -n "$OBJDUMP"; then
8628 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8634 test -z "$as_dir" && as_dir=.
8635 for ac_exec_ext in '' $ac_executable_extensions; do
8636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8637 ac_cv_prog_OBJDUMP="${ncn_progname}"
8638 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8646 OBJDUMP=$ac_cv_prog_OBJDUMP
8647 if test -n "$OBJDUMP"; then
8648 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8649 echo "${ECHO_T}$OBJDUMP" >&6
8651 echo "$as_me:$LINENO: result
: no
" >&5
8652 echo "${ECHO_T}no
" >&6
8658 for ncn_progname in objdump; do
8659 if test -n "$ncn_tool_prefix"; then
8660 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8661 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8662 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8664 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8665 echo $ECHO_N "(cached
) $ECHO_C" >&6
8667 if test -n "$OBJDUMP"; then
8668 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 test -z "$as_dir" && as_dir=.
8675 for ac_exec_ext in '' $ac_executable_extensions; do
8676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8677 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8678 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8686 OBJDUMP=$ac_cv_prog_OBJDUMP
8687 if test -n "$OBJDUMP"; then
8688 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8689 echo "${ECHO_T}$OBJDUMP" >&6
8691 echo "$as_me:$LINENO: result
: no
" >&5
8692 echo "${ECHO_T}no
" >&6
8696 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8697 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8698 set dummy ${ncn_progname}; ac_word=$2
8699 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8700 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8701 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8702 echo $ECHO_N "(cached
) $ECHO_C" >&6
8704 if test -n "$OBJDUMP"; then
8705 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8711 test -z "$as_dir" && as_dir=.
8712 for ac_exec_ext in '' $ac_executable_extensions; do
8713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8714 ac_cv_prog_OBJDUMP="${ncn_progname}"
8715 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8723 OBJDUMP=$ac_cv_prog_OBJDUMP
8724 if test -n "$OBJDUMP"; then
8725 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8726 echo "${ECHO_T}$OBJDUMP" >&6
8728 echo "$as_me:$LINENO: result
: no
" >&5
8729 echo "${ECHO_T}no
" >&6
8733 test -n "$ac_cv_prog_OBJDUMP" && break
8736 if test -z "$ac_cv_prog_OBJDUMP" ; then
8738 if test $build = $host ; then
8741 OBJDUMP="${ncn_tool_prefix}$2"
8752 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8753 if test "${with_build_time_tools+set}" = set; then
8754 withval="$with_build_time_tools"
8758 with_build_time_tools=
8759 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8760 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8764 with_build_time_tools=
8769 if test -n "$CC_FOR_TARGET"; then
8770 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8771 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8772 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8775 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8776 for ncn_progname in cc gcc; do
8777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8778 set dummy ${ncn_progname}; ac_word=$2
8779 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8780 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8781 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8782 echo $ECHO_N "(cached
) $ECHO_C" >&6
8784 if test -n "$CC_FOR_TARGET"; then
8785 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8791 test -z "$as_dir" && as_dir=.
8792 for ac_exec_ext in '' $ac_executable_extensions; do
8793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8794 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8795 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8803 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8804 if test -n "$CC_FOR_TARGET"; then
8805 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8806 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8808 echo "$as_me:$LINENO: result
: no
" >&5
8809 echo "${ECHO_T}no
" >&6
8815 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8816 for ncn_progname in cc gcc; do
8817 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8818 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8819 if test -x $with_build_time_tools/${ncn_progname}; then
8820 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8821 echo "$as_me:$LINENO: result
: yes" >&5
8822 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result
: no
" >&5
8826 echo "${ECHO_T}no
" >&6
8831 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8832 for ncn_progname in cc gcc; do
8833 if test -n "$ncn_target_tool_prefix"; then
8834 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8835 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8836 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8837 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8838 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8839 echo $ECHO_N "(cached
) $ECHO_C" >&6
8841 if test -n "$CC_FOR_TARGET"; then
8842 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8852 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8860 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8861 if test -n "$CC_FOR_TARGET"; then
8862 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8863 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8865 echo "$as_me:$LINENO: result
: no
" >&5
8866 echo "${ECHO_T}no
" >&6
8870 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8871 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8872 set dummy ${ncn_progname}; ac_word=$2
8873 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8875 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8876 echo $ECHO_N "(cached
) $ECHO_C" >&6
8878 if test -n "$CC_FOR_TARGET"; then
8879 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 test -z "$as_dir" && as_dir=.
8886 for ac_exec_ext in '' $ac_executable_extensions; do
8887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8888 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8897 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8898 if test -n "$CC_FOR_TARGET"; then
8899 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8900 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8902 echo "$as_me:$LINENO: result
: no
" >&5
8903 echo "${ECHO_T}no
" >&6
8907 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8911 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8913 if test $build = $target ; then
8916 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8919 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8924 if test -n "$CXX_FOR_TARGET"; then
8925 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8926 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8927 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8930 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8931 for ncn_progname in c++ g++ cxx gxx; do
8932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8933 set dummy ${ncn_progname}; ac_word=$2
8934 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8935 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8936 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8937 echo $ECHO_N "(cached
) $ECHO_C" >&6
8939 if test -n "$CXX_FOR_TARGET"; then
8940 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8946 test -z "$as_dir" && as_dir=.
8947 for ac_exec_ext in '' $ac_executable_extensions; do
8948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8949 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8958 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8959 if test -n "$CXX_FOR_TARGET"; then
8960 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8961 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8963 echo "$as_me:$LINENO: result
: no
" >&5
8964 echo "${ECHO_T}no
" >&6
8970 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8971 for ncn_progname in c++ g++ cxx gxx; do
8972 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8973 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8974 if test -x $with_build_time_tools/${ncn_progname}; then
8975 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8976 echo "$as_me:$LINENO: result
: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8980 echo "$as_me:$LINENO: result
: no
" >&5
8981 echo "${ECHO_T}no
" >&6
8986 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8987 for ncn_progname in c++ g++ cxx gxx; do
8988 if test -n "$ncn_target_tool_prefix"; then
8989 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8990 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8991 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8992 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8993 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8994 echo $ECHO_N "(cached
) $ECHO_C" >&6
8996 if test -n "$CXX_FOR_TARGET"; then
8997 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9006 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9015 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9016 if test -n "$CXX_FOR_TARGET"; then
9017 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
9018 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
9020 echo "$as_me:$LINENO: result
: no
" >&5
9021 echo "${ECHO_T}no
" >&6
9025 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9027 set dummy ${ncn_progname}; ac_word=$2
9028 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9030 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
9031 echo $ECHO_N "(cached
) $ECHO_C" >&6
9033 if test -n "$CXX_FOR_TARGET"; then
9034 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9052 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9053 if test -n "$CXX_FOR_TARGET"; then
9054 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
9055 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
9057 echo "$as_me:$LINENO: result
: no
" >&5
9058 echo "${ECHO_T}no
" >&6
9062 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9066 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9067 set dummy c++ g++ cxx gxx
9068 if test $build = $target ; then
9071 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9074 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9079 if test -n "$GCC_FOR_TARGET"; then
9080 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9081 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9082 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9085 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9086 for ncn_progname in gcc; do
9087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9088 set dummy ${ncn_progname}; ac_word=$2
9089 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9090 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9091 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9092 echo $ECHO_N "(cached
) $ECHO_C" >&6
9094 if test -n "$GCC_FOR_TARGET"; then
9095 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9101 test -z "$as_dir" && as_dir=.
9102 for ac_exec_ext in '' $ac_executable_extensions; do
9103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9104 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9105 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9113 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9114 if test -n "$GCC_FOR_TARGET"; then
9115 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9116 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9118 echo "$as_me:$LINENO: result
: no
" >&5
9119 echo "${ECHO_T}no
" >&6
9125 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9126 for ncn_progname in gcc; do
9127 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9128 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9129 if test -x $with_build_time_tools/${ncn_progname}; then
9130 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9131 echo "$as_me:$LINENO: result
: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9135 echo "$as_me:$LINENO: result
: no
" >&5
9136 echo "${ECHO_T}no
" >&6
9141 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9142 for ncn_progname in gcc; do
9143 if test -n "$ncn_target_tool_prefix"; then
9144 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9145 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9146 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9147 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9148 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9149 echo $ECHO_N "(cached
) $ECHO_C" >&6
9151 if test -n "$GCC_FOR_TARGET"; then
9152 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 test -z "$as_dir" && as_dir=.
9159 for ac_exec_ext in '' $ac_executable_extensions; do
9160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9161 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9162 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9170 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9171 if test -n "$GCC_FOR_TARGET"; then
9172 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9173 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9175 echo "$as_me:$LINENO: result
: no
" >&5
9176 echo "${ECHO_T}no
" >&6
9180 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9182 set dummy ${ncn_progname}; ac_word=$2
9183 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9184 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9185 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9186 echo $ECHO_N "(cached
) $ECHO_C" >&6
9188 if test -n "$GCC_FOR_TARGET"; then
9189 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9195 test -z "$as_dir" && as_dir=.
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9198 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9199 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9207 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9208 if test -n "$GCC_FOR_TARGET"; then
9209 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9210 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9212 echo "$as_me:$LINENO: result
: no
" >&5
9213 echo "${ECHO_T}no
" >&6
9217 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9221 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9222 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9224 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9229 if test -n "$GCJ_FOR_TARGET"; then
9230 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9231 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9232 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9235 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9236 for ncn_progname in gcj; do
9237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9238 set dummy ${ncn_progname}; ac_word=$2
9239 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9240 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9241 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9242 echo $ECHO_N "(cached
) $ECHO_C" >&6
9244 if test -n "$GCJ_FOR_TARGET"; then
9245 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251 test -z "$as_dir" && as_dir=.
9252 for ac_exec_ext in '' $ac_executable_extensions; do
9253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9254 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9255 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9263 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9264 if test -n "$GCJ_FOR_TARGET"; then
9265 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9266 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9268 echo "$as_me:$LINENO: result
: no
" >&5
9269 echo "${ECHO_T}no
" >&6
9275 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9276 for ncn_progname in gcj; do
9277 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9278 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9279 if test -x $with_build_time_tools/${ncn_progname}; then
9280 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9281 echo "$as_me:$LINENO: result
: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result
: no
" >&5
9286 echo "${ECHO_T}no
" >&6
9291 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9292 for ncn_progname in gcj; do
9293 if test -n "$ncn_target_tool_prefix"; then
9294 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9295 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9296 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9297 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9298 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9299 echo $ECHO_N "(cached
) $ECHO_C" >&6
9301 if test -n "$GCJ_FOR_TARGET"; then
9302 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9308 test -z "$as_dir" && as_dir=.
9309 for ac_exec_ext in '' $ac_executable_extensions; do
9310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9311 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9312 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9320 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9321 if test -n "$GCJ_FOR_TARGET"; then
9322 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9323 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9325 echo "$as_me:$LINENO: result
: no
" >&5
9326 echo "${ECHO_T}no
" >&6
9330 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9331 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9332 set dummy ${ncn_progname}; ac_word=$2
9333 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9334 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9335 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9336 echo $ECHO_N "(cached
) $ECHO_C" >&6
9338 if test -n "$GCJ_FOR_TARGET"; then
9339 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 test -z "$as_dir" && as_dir=.
9346 for ac_exec_ext in '' $ac_executable_extensions; do
9347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9348 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9349 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9357 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9358 if test -n "$GCJ_FOR_TARGET"; then
9359 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9360 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9362 echo "$as_me:$LINENO: result
: no
" >&5
9363 echo "${ECHO_T}no
" >&6
9367 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9371 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9373 if test $build = $target ; then
9376 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9379 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9384 if test -n "$GFORTRAN_FOR_TARGET"; then
9385 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9386 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9387 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9390 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9391 for ncn_progname in gfortran; do
9392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9393 set dummy ${ncn_progname}; ac_word=$2
9394 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9395 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9396 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9397 echo $ECHO_N "(cached
) $ECHO_C" >&6
9399 if test -n "$GFORTRAN_FOR_TARGET"; then
9400 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9406 test -z "$as_dir" && as_dir=.
9407 for ac_exec_ext in '' $ac_executable_extensions; do
9408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9409 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9410 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9418 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9419 if test -n "$GFORTRAN_FOR_TARGET"; then
9420 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9421 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9423 echo "$as_me:$LINENO: result
: no
" >&5
9424 echo "${ECHO_T}no
" >&6
9430 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9431 for ncn_progname in gfortran; do
9432 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9433 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9434 if test -x $with_build_time_tools/${ncn_progname}; then
9435 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9436 echo "$as_me:$LINENO: result
: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result
: no
" >&5
9441 echo "${ECHO_T}no
" >&6
9446 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9447 for ncn_progname in gfortran; do
9448 if test -n "$ncn_target_tool_prefix"; then
9449 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9450 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9451 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9452 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9453 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9454 echo $ECHO_N "(cached
) $ECHO_C" >&6
9456 if test -n "$GFORTRAN_FOR_TARGET"; then
9457 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir=.
9464 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9466 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9467 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9475 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9476 if test -n "$GFORTRAN_FOR_TARGET"; then
9477 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9478 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9480 echo "$as_me:$LINENO: result
: no
" >&5
9481 echo "${ECHO_T}no
" >&6
9485 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9486 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9487 set dummy ${ncn_progname}; ac_word=$2
9488 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9489 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9490 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9491 echo $ECHO_N "(cached
) $ECHO_C" >&6
9493 if test -n "$GFORTRAN_FOR_TARGET"; then
9494 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500 test -z "$as_dir" && as_dir=.
9501 for ac_exec_ext in '' $ac_executable_extensions; do
9502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9503 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9504 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9512 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9513 if test -n "$GFORTRAN_FOR_TARGET"; then
9514 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9515 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9517 echo "$as_me:$LINENO: result
: no
" >&5
9518 echo "${ECHO_T}no
" >&6
9522 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9526 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9528 if test $build = $target ; then
9529 GFORTRAN_FOR_TARGET="$2"
9531 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9534 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9539 cat > conftest.c << \EOF
9544 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9545 have_gcc_for_target=yes
9547 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9548 have_gcc_for_target=no
9555 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9556 if test -n "$with_build_time_tools"; then
9557 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9558 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9559 if test -x $with_build_time_tools/ar; then
9560 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9561 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9562 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9563 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9565 echo "$as_me:$LINENO: result
: no
" >&5
9566 echo "${ECHO_T}no
" >&6
9568 elif test $build != $host && test $have_gcc_for_target = yes; then
9569 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9570 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9571 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9574 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9575 # Extract the first word of "ar", so it can be a program name with args.
9576 set dummy ar; ac_word=$2
9577 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9578 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9579 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9580 echo $ECHO_N "(cached
) $ECHO_C" >&6
9582 case $AR_FOR_TARGET in
9584 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in $gcc_cv_tool_dirs
9591 test -z "$as_dir" && as_dir=.
9592 for ac_exec_ext in '' $ac_executable_extensions; do
9593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9594 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9595 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9604 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9606 if test -n "$AR_FOR_TARGET"; then
9607 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9608 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9610 echo "$as_me:$LINENO: result
: no
" >&5
9611 echo "${ECHO_T}no
" >&6
9615 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9618 if test -n "$AR_FOR_TARGET"; then
9619 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9620 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9621 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9624 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9625 for ncn_progname in ar; do
9626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9627 set dummy ${ncn_progname}; ac_word=$2
9628 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9629 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9630 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9631 echo $ECHO_N "(cached
) $ECHO_C" >&6
9633 if test -n "$AR_FOR_TARGET"; then
9634 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9644 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9652 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9653 if test -n "$AR_FOR_TARGET"; then
9654 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9655 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9657 echo "$as_me:$LINENO: result
: no
" >&5
9658 echo "${ECHO_T}no
" >&6
9664 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9665 for ncn_progname in ar; do
9666 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9667 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9668 if test -x $with_build_time_tools/${ncn_progname}; then
9669 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9670 echo "$as_me:$LINENO: result
: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result
: no
" >&5
9675 echo "${ECHO_T}no
" >&6
9680 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9681 for ncn_progname in ar; do
9682 if test -n "$ncn_target_tool_prefix"; then
9683 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9684 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9685 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9687 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9688 echo $ECHO_N "(cached
) $ECHO_C" >&6
9690 if test -n "$AR_FOR_TARGET"; then
9691 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9697 test -z "$as_dir" && as_dir=.
9698 for ac_exec_ext in '' $ac_executable_extensions; do
9699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9700 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9709 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9710 if test -n "$AR_FOR_TARGET"; then
9711 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9712 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9714 echo "$as_me:$LINENO: result
: no
" >&5
9715 echo "${ECHO_T}no
" >&6
9719 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9721 set dummy ${ncn_progname}; ac_word=$2
9722 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9723 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9724 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9725 echo $ECHO_N "(cached
) $ECHO_C" >&6
9727 if test -n "$AR_FOR_TARGET"; then
9728 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9738 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9746 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9747 if test -n "$AR_FOR_TARGET"; then
9748 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9749 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9751 echo "$as_me:$LINENO: result
: no
" >&5
9752 echo "${ECHO_T}no
" >&6
9756 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9760 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9762 if test $build = $target ; then
9765 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9768 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9772 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9778 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9779 if test -n "$with_build_time_tools"; then
9780 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9781 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9782 if test -x $with_build_time_tools/as; then
9783 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9784 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9785 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9786 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9788 echo "$as_me:$LINENO: result
: no
" >&5
9789 echo "${ECHO_T}no
" >&6
9791 elif test $build != $host && test $have_gcc_for_target = yes; then
9792 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9793 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9794 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9797 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9798 # Extract the first word of "as
", so it can be a program name with args.
9799 set dummy as; ac_word=$2
9800 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9801 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9802 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9803 echo $ECHO_N "(cached
) $ECHO_C" >&6
9805 case $AS_FOR_TARGET in
9807 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 for as_dir in $gcc_cv_tool_dirs
9814 test -z "$as_dir" && as_dir=.
9815 for ac_exec_ext in '' $ac_executable_extensions; do
9816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9817 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9818 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9827 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9829 if test -n "$AS_FOR_TARGET"; then
9830 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9831 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9833 echo "$as_me:$LINENO: result
: no
" >&5
9834 echo "${ECHO_T}no
" >&6
9838 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9841 if test -n "$AS_FOR_TARGET"; then
9842 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9843 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9844 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9847 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9848 for ncn_progname in as; do
9849 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9850 set dummy ${ncn_progname}; ac_word=$2
9851 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9852 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9853 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9854 echo $ECHO_N "(cached
) $ECHO_C" >&6
9856 if test -n "$AS_FOR_TARGET"; then
9857 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir=.
9864 for ac_exec_ext in '' $ac_executable_extensions; do
9865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9866 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9867 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9875 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9876 if test -n "$AS_FOR_TARGET"; then
9877 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9878 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9880 echo "$as_me:$LINENO: result
: no
" >&5
9881 echo "${ECHO_T}no
" >&6
9887 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9888 for ncn_progname in as; do
9889 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9890 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9891 if test -x $with_build_time_tools/${ncn_progname}; then
9892 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9893 echo "$as_me:$LINENO: result
: yes" >&5
9894 echo "${ECHO_T}yes" >&6
9897 echo "$as_me:$LINENO: result
: no
" >&5
9898 echo "${ECHO_T}no
" >&6
9903 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9904 for ncn_progname in as; do
9905 if test -n "$ncn_target_tool_prefix"; then
9906 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9907 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9908 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9909 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9910 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9911 echo $ECHO_N "(cached
) $ECHO_C" >&6
9913 if test -n "$AS_FOR_TARGET"; then
9914 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir=.
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9924 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9932 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9933 if test -n "$AS_FOR_TARGET"; then
9934 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9935 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9937 echo "$as_me:$LINENO: result
: no
" >&5
9938 echo "${ECHO_T}no
" >&6
9942 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9943 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9944 set dummy ${ncn_progname}; ac_word=$2
9945 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9946 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9947 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9948 echo $ECHO_N "(cached
) $ECHO_C" >&6
9950 if test -n "$AS_FOR_TARGET"; then
9951 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9957 test -z "$as_dir" && as_dir=.
9958 for ac_exec_ext in '' $ac_executable_extensions; do
9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9960 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9961 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9969 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9970 if test -n "$AS_FOR_TARGET"; then
9971 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9972 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9974 echo "$as_me:$LINENO: result
: no
" >&5
9975 echo "${ECHO_T}no
" >&6
9979 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9983 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9985 if test $build = $target ; then
9988 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9991 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9995 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10001 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10002 if test -n "$with_build_time_tools"; then
10003 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
10004 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
10005 if test -x $with_build_time_tools/dlltool; then
10006 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10007 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10008 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10009 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
10011 echo "$as_me:$LINENO: result
: no
" >&5
10012 echo "${ECHO_T}no
" >&6
10014 elif test $build != $host && test $have_gcc_for_target = yes; then
10015 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10016 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10017 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10020 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10021 # Extract the first word of "dlltool
", so it can be a program name with args.
10022 set dummy dlltool; ac_word=$2
10023 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10024 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10025 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
10026 echo $ECHO_N "(cached
) $ECHO_C" >&6
10028 case $DLLTOOL_FOR_TARGET in
10030 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 for as_dir in $gcc_cv_tool_dirs
10037 test -z "$as_dir" && as_dir=.
10038 for ac_exec_ext in '' $ac_executable_extensions; do
10039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10040 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10041 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10050 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10052 if test -n "$DLLTOOL_FOR_TARGET"; then
10053 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10054 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10056 echo "$as_me:$LINENO: result
: no
" >&5
10057 echo "${ECHO_T}no
" >&6
10061 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10064 if test -n "$DLLTOOL_FOR_TARGET"; then
10065 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10066 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10067 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10070 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10071 for ncn_progname in dlltool; do
10072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10073 set dummy ${ncn_progname}; ac_word=$2
10074 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10075 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10076 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10077 echo $ECHO_N "(cached
) $ECHO_C" >&6
10079 if test -n "$DLLTOOL_FOR_TARGET"; then
10080 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in $PATH
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10089 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10090 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10098 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10099 if test -n "$DLLTOOL_FOR_TARGET"; then
10100 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10101 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10103 echo "$as_me:$LINENO: result
: no
" >&5
10104 echo "${ECHO_T}no
" >&6
10110 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10111 for ncn_progname in dlltool; do
10112 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10113 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10114 if test -x $with_build_time_tools/${ncn_progname}; then
10115 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10116 echo "$as_me:$LINENO: result
: yes" >&5
10117 echo "${ECHO_T}yes" >&6
10120 echo "$as_me:$LINENO: result
: no
" >&5
10121 echo "${ECHO_T}no
" >&6
10126 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10127 for ncn_progname in dlltool; do
10128 if test -n "$ncn_target_tool_prefix"; then
10129 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10130 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10131 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10132 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10133 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10134 echo $ECHO_N "(cached
) $ECHO_C" >&6
10136 if test -n "$DLLTOOL_FOR_TARGET"; then
10137 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10140 for as_dir in $PATH
10143 test -z "$as_dir" && as_dir=.
10144 for ac_exec_ext in '' $ac_executable_extensions; do
10145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10146 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10147 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10155 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10156 if test -n "$DLLTOOL_FOR_TARGET"; then
10157 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10158 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10160 echo "$as_me:$LINENO: result
: no
" >&5
10161 echo "${ECHO_T}no
" >&6
10165 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10167 set dummy ${ncn_progname}; ac_word=$2
10168 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10169 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10170 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10171 echo $ECHO_N "(cached
) $ECHO_C" >&6
10173 if test -n "$DLLTOOL_FOR_TARGET"; then
10174 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10177 for as_dir in $PATH
10180 test -z "$as_dir" && as_dir=.
10181 for ac_exec_ext in '' $ac_executable_extensions; do
10182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10183 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10184 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10192 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10193 if test -n "$DLLTOOL_FOR_TARGET"; then
10194 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10195 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10197 echo "$as_me:$LINENO: result
: no
" >&5
10198 echo "${ECHO_T}no
" >&6
10202 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10206 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10208 if test $build = $target ; then
10209 DLLTOOL_FOR_TARGET="$2"
10211 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10214 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10218 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10224 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10225 if test -n "$with_build_time_tools"; then
10226 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
10227 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
10228 if test -x $with_build_time_tools/ld; then
10229 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10230 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10231 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10232 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
10234 echo "$as_me:$LINENO: result
: no
" >&5
10235 echo "${ECHO_T}no
" >&6
10237 elif test $build != $host && test $have_gcc_for_target = yes; then
10238 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10239 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10240 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10243 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10244 # Extract the first word of "ld
", so it can be a program name with args.
10245 set dummy ld; ac_word=$2
10246 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10247 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10248 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
10249 echo $ECHO_N "(cached
) $ECHO_C" >&6
10251 case $LD_FOR_TARGET in
10253 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10257 for as_dir in $gcc_cv_tool_dirs
10260 test -z "$as_dir" && as_dir=.
10261 for ac_exec_ext in '' $ac_executable_extensions; do
10262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10263 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10273 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10275 if test -n "$LD_FOR_TARGET"; then
10276 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10277 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10279 echo "$as_me:$LINENO: result
: no
" >&5
10280 echo "${ECHO_T}no
" >&6
10284 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10287 if test -n "$LD_FOR_TARGET"; then
10288 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10289 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10290 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10293 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10294 for ncn_progname in ld; do
10295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10296 set dummy ${ncn_progname}; ac_word=$2
10297 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10298 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10299 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10300 echo $ECHO_N "(cached
) $ECHO_C" >&6
10302 if test -n "$LD_FOR_TARGET"; then
10303 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10306 for as_dir in $PATH
10309 test -z "$as_dir" && as_dir=.
10310 for ac_exec_ext in '' $ac_executable_extensions; do
10311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10312 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10313 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10321 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10322 if test -n "$LD_FOR_TARGET"; then
10323 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10324 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10326 echo "$as_me:$LINENO: result
: no
" >&5
10327 echo "${ECHO_T}no
" >&6
10333 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10334 for ncn_progname in ld; do
10335 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10336 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10337 if test -x $with_build_time_tools/${ncn_progname}; then
10338 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10339 echo "$as_me:$LINENO: result
: yes" >&5
10340 echo "${ECHO_T}yes" >&6
10343 echo "$as_me:$LINENO: result
: no
" >&5
10344 echo "${ECHO_T}no
" >&6
10349 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10350 for ncn_progname in ld; do
10351 if test -n "$ncn_target_tool_prefix"; then
10352 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10353 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10354 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10355 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10356 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10357 echo $ECHO_N "(cached
) $ECHO_C" >&6
10359 if test -n "$LD_FOR_TARGET"; then
10360 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10363 for as_dir in $PATH
10366 test -z "$as_dir" && as_dir=.
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10369 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10370 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10378 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10379 if test -n "$LD_FOR_TARGET"; then
10380 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10381 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10383 echo "$as_me:$LINENO: result
: no
" >&5
10384 echo "${ECHO_T}no
" >&6
10388 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10390 set dummy ${ncn_progname}; ac_word=$2
10391 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10392 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10393 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10394 echo $ECHO_N "(cached
) $ECHO_C" >&6
10396 if test -n "$LD_FOR_TARGET"; then
10397 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10403 test -z "$as_dir" && as_dir=.
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10406 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10407 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10415 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10416 if test -n "$LD_FOR_TARGET"; then
10417 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10418 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10420 echo "$as_me:$LINENO: result
: no
" >&5
10421 echo "${ECHO_T}no
" >&6
10425 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10429 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10431 if test $build = $target ; then
10434 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10437 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10441 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10447 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10448 if test -n "$with_build_time_tools"; then
10449 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10450 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10451 if test -x $with_build_time_tools/lipo; then
10452 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10453 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10454 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10455 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10457 echo "$as_me:$LINENO: result
: no
" >&5
10458 echo "${ECHO_T}no
" >&6
10460 elif test $build != $host && test $have_gcc_for_target = yes; then
10461 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10462 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10463 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10466 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10467 # Extract the first word of "lipo
", so it can be a program name with args.
10468 set dummy lipo; ac_word=$2
10469 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10470 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10471 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10472 echo $ECHO_N "(cached
) $ECHO_C" >&6
10474 case $LIPO_FOR_TARGET in
10476 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10480 for as_dir in $gcc_cv_tool_dirs
10483 test -z "$as_dir" && as_dir=.
10484 for ac_exec_ext in '' $ac_executable_extensions; do
10485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10486 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10487 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10496 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10498 if test -n "$LIPO_FOR_TARGET"; then
10499 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10500 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10502 echo "$as_me:$LINENO: result
: no
" >&5
10503 echo "${ECHO_T}no
" >&6
10507 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10510 if test -n "$LIPO_FOR_TARGET"; then
10511 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10512 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10513 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10516 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10517 for ncn_progname in lipo; do
10518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10519 set dummy ${ncn_progname}; ac_word=$2
10520 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10521 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10522 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10523 echo $ECHO_N "(cached
) $ECHO_C" >&6
10525 if test -n "$LIPO_FOR_TARGET"; then
10526 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10529 for as_dir in $PATH
10532 test -z "$as_dir" && as_dir=.
10533 for ac_exec_ext in '' $ac_executable_extensions; do
10534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10535 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10536 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10544 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10545 if test -n "$LIPO_FOR_TARGET"; then
10546 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10547 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10549 echo "$as_me:$LINENO: result
: no
" >&5
10550 echo "${ECHO_T}no
" >&6
10556 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10557 for ncn_progname in lipo; do
10558 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10559 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10560 if test -x $with_build_time_tools/${ncn_progname}; then
10561 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10562 echo "$as_me:$LINENO: result
: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10566 echo "$as_me:$LINENO: result
: no
" >&5
10567 echo "${ECHO_T}no
" >&6
10572 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10573 for ncn_progname in lipo; do
10574 if test -n "$ncn_target_tool_prefix"; then
10575 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10576 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10577 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10578 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10579 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10580 echo $ECHO_N "(cached
) $ECHO_C" >&6
10582 if test -n "$LIPO_FOR_TARGET"; then
10583 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10586 for as_dir in $PATH
10589 test -z "$as_dir" && as_dir=.
10590 for ac_exec_ext in '' $ac_executable_extensions; do
10591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10592 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10593 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10602 if test -n "$LIPO_FOR_TARGET"; then
10603 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10604 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10606 echo "$as_me:$LINENO: result
: no
" >&5
10607 echo "${ECHO_T}no
" >&6
10611 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10613 set dummy ${ncn_progname}; ac_word=$2
10614 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10615 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10616 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10617 echo $ECHO_N "(cached
) $ECHO_C" >&6
10619 if test -n "$LIPO_FOR_TARGET"; then
10620 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10623 for as_dir in $PATH
10626 test -z "$as_dir" && as_dir=.
10627 for ac_exec_ext in '' $ac_executable_extensions; do
10628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10629 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10630 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10638 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10639 if test -n "$LIPO_FOR_TARGET"; then
10640 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10641 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10643 echo "$as_me:$LINENO: result
: no
" >&5
10644 echo "${ECHO_T}no
" >&6
10648 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10652 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10654 if test $build = $target ; then
10655 LIPO_FOR_TARGET="$2"
10657 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10660 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10664 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10670 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10671 if test -n "$with_build_time_tools"; then
10672 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10673 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10674 if test -x $with_build_time_tools/nm; then
10675 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10676 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10677 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10678 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10680 echo "$as_me:$LINENO: result
: no
" >&5
10681 echo "${ECHO_T}no
" >&6
10683 elif test $build != $host && test $have_gcc_for_target = yes; then
10684 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10685 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10686 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10689 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10690 # Extract the first word of "nm
", so it can be a program name with args.
10691 set dummy nm; ac_word=$2
10692 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10693 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10694 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10695 echo $ECHO_N "(cached
) $ECHO_C" >&6
10697 case $NM_FOR_TARGET in
10699 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10703 for as_dir in $gcc_cv_tool_dirs
10706 test -z "$as_dir" && as_dir=.
10707 for ac_exec_ext in '' $ac_executable_extensions; do
10708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10709 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10710 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10719 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10721 if test -n "$NM_FOR_TARGET"; then
10722 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10723 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10725 echo "$as_me:$LINENO: result
: no
" >&5
10726 echo "${ECHO_T}no
" >&6
10730 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10733 if test -n "$NM_FOR_TARGET"; then
10734 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10735 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10736 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10739 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10740 for ncn_progname in nm; do
10741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10742 set dummy ${ncn_progname}; ac_word=$2
10743 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10744 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10745 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10746 echo $ECHO_N "(cached
) $ECHO_C" >&6
10748 if test -n "$NM_FOR_TARGET"; then
10749 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $PATH
10755 test -z "$as_dir" && as_dir=.
10756 for ac_exec_ext in '' $ac_executable_extensions; do
10757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10758 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10767 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10768 if test -n "$NM_FOR_TARGET"; then
10769 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10770 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10772 echo "$as_me:$LINENO: result
: no
" >&5
10773 echo "${ECHO_T}no
" >&6
10779 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10780 for ncn_progname in nm; do
10781 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10782 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10783 if test -x $with_build_time_tools/${ncn_progname}; then
10784 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10785 echo "$as_me:$LINENO: result
: yes" >&5
10786 echo "${ECHO_T}yes" >&6
10789 echo "$as_me:$LINENO: result
: no
" >&5
10790 echo "${ECHO_T}no
" >&6
10795 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10796 for ncn_progname in nm; do
10797 if test -n "$ncn_target_tool_prefix"; then
10798 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10799 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10800 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10801 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10802 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10803 echo $ECHO_N "(cached
) $ECHO_C" >&6
10805 if test -n "$NM_FOR_TARGET"; then
10806 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10809 for as_dir in $PATH
10812 test -z "$as_dir" && as_dir=.
10813 for ac_exec_ext in '' $ac_executable_extensions; do
10814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10815 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10816 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10824 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10825 if test -n "$NM_FOR_TARGET"; then
10826 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10827 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10829 echo "$as_me:$LINENO: result
: no
" >&5
10830 echo "${ECHO_T}no
" >&6
10834 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10836 set dummy ${ncn_progname}; ac_word=$2
10837 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10838 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10839 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10840 echo $ECHO_N "(cached
) $ECHO_C" >&6
10842 if test -n "$NM_FOR_TARGET"; then
10843 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10846 for as_dir in $PATH
10849 test -z "$as_dir" && as_dir=.
10850 for ac_exec_ext in '' $ac_executable_extensions; do
10851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10852 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10853 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10861 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10862 if test -n "$NM_FOR_TARGET"; then
10863 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10864 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10866 echo "$as_me:$LINENO: result
: no
" >&5
10867 echo "${ECHO_T}no
" >&6
10871 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10875 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10877 if test $build = $target ; then
10880 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10883 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10887 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10893 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10894 if test -n "$with_build_time_tools"; then
10895 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10896 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10897 if test -x $with_build_time_tools/objdump; then
10898 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10899 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10900 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10901 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10903 echo "$as_me:$LINENO: result
: no
" >&5
10904 echo "${ECHO_T}no
" >&6
10906 elif test $build != $host && test $have_gcc_for_target = yes; then
10907 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10908 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10909 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10912 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10913 # Extract the first word of "objdump
", so it can be a program name with args.
10914 set dummy objdump; ac_word=$2
10915 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10917 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10918 echo $ECHO_N "(cached
) $ECHO_C" >&6
10920 case $OBJDUMP_FOR_TARGET in
10922 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10926 for as_dir in $gcc_cv_tool_dirs
10929 test -z "$as_dir" && as_dir=.
10930 for ac_exec_ext in '' $ac_executable_extensions; do
10931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10932 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10942 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10944 if test -n "$OBJDUMP_FOR_TARGET"; then
10945 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10946 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10948 echo "$as_me:$LINENO: result
: no
" >&5
10949 echo "${ECHO_T}no
" >&6
10953 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10956 if test -n "$OBJDUMP_FOR_TARGET"; then
10957 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10958 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10959 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10962 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10963 for ncn_progname in objdump; do
10964 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10965 set dummy ${ncn_progname}; ac_word=$2
10966 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10967 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10968 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10969 echo $ECHO_N "(cached
) $ECHO_C" >&6
10971 if test -n "$OBJDUMP_FOR_TARGET"; then
10972 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10975 for as_dir in $PATH
10978 test -z "$as_dir" && as_dir=.
10979 for ac_exec_ext in '' $ac_executable_extensions; do
10980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10981 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10982 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10990 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10991 if test -n "$OBJDUMP_FOR_TARGET"; then
10992 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10993 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10995 echo "$as_me:$LINENO: result
: no
" >&5
10996 echo "${ECHO_T}no
" >&6
11002 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11003 for ncn_progname in objdump; do
11004 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11005 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11006 if test -x $with_build_time_tools/${ncn_progname}; then
11007 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11008 echo "$as_me:$LINENO: result
: yes" >&5
11009 echo "${ECHO_T}yes" >&6
11012 echo "$as_me:$LINENO: result
: no
" >&5
11013 echo "${ECHO_T}no
" >&6
11018 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11019 for ncn_progname in objdump; do
11020 if test -n "$ncn_target_tool_prefix"; then
11021 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11022 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11023 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11024 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11025 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11026 echo $ECHO_N "(cached
) $ECHO_C" >&6
11028 if test -n "$OBJDUMP_FOR_TARGET"; then
11029 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11032 for as_dir in $PATH
11035 test -z "$as_dir" && as_dir=.
11036 for ac_exec_ext in '' $ac_executable_extensions; do
11037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11038 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11039 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11047 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11048 if test -n "$OBJDUMP_FOR_TARGET"; then
11049 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11050 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
11052 echo "$as_me:$LINENO: result
: no
" >&5
11053 echo "${ECHO_T}no
" >&6
11057 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11059 set dummy ${ncn_progname}; ac_word=$2
11060 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11061 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11062 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11063 echo $ECHO_N "(cached
) $ECHO_C" >&6
11065 if test -n "$OBJDUMP_FOR_TARGET"; then
11066 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11069 for as_dir in $PATH
11072 test -z "$as_dir" && as_dir=.
11073 for ac_exec_ext in '' $ac_executable_extensions; do
11074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11075 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11076 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11084 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11085 if test -n "$OBJDUMP_FOR_TARGET"; then
11086 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11087 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
11089 echo "$as_me:$LINENO: result
: no
" >&5
11090 echo "${ECHO_T}no
" >&6
11094 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11098 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11100 if test $build = $target ; then
11101 OBJDUMP_FOR_TARGET="$2"
11103 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11106 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11110 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11116 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11117 if test -n "$with_build_time_tools"; then
11118 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
11119 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
11120 if test -x $with_build_time_tools/ranlib; then
11121 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11122 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11123 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11124 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
11126 echo "$as_me:$LINENO: result
: no
" >&5
11127 echo "${ECHO_T}no
" >&6
11129 elif test $build != $host && test $have_gcc_for_target = yes; then
11130 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11131 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11132 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11135 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11136 # Extract the first word of "ranlib
", so it can be a program name with args.
11137 set dummy ranlib; ac_word=$2
11138 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11139 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11140 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
11141 echo $ECHO_N "(cached
) $ECHO_C" >&6
11143 case $RANLIB_FOR_TARGET in
11145 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11149 for as_dir in $gcc_cv_tool_dirs
11152 test -z "$as_dir" && as_dir=.
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11155 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11156 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11165 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11167 if test -n "$RANLIB_FOR_TARGET"; then
11168 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11169 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11171 echo "$as_me:$LINENO: result
: no
" >&5
11172 echo "${ECHO_T}no
" >&6
11176 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11179 if test -n "$RANLIB_FOR_TARGET"; then
11180 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11181 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11182 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11185 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11186 for ncn_progname in ranlib; do
11187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11188 set dummy ${ncn_progname}; ac_word=$2
11189 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11190 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11191 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11192 echo $ECHO_N "(cached
) $ECHO_C" >&6
11194 if test -n "$RANLIB_FOR_TARGET"; then
11195 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11198 for as_dir in $PATH
11201 test -z "$as_dir" && as_dir=.
11202 for ac_exec_ext in '' $ac_executable_extensions; do
11203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11205 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11213 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11214 if test -n "$RANLIB_FOR_TARGET"; then
11215 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11216 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11218 echo "$as_me:$LINENO: result
: no
" >&5
11219 echo "${ECHO_T}no
" >&6
11225 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11226 for ncn_progname in ranlib; do
11227 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11228 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11229 if test -x $with_build_time_tools/${ncn_progname}; then
11230 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11231 echo "$as_me:$LINENO: result
: yes" >&5
11232 echo "${ECHO_T}yes" >&6
11235 echo "$as_me:$LINENO: result
: no
" >&5
11236 echo "${ECHO_T}no
" >&6
11241 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11242 for ncn_progname in ranlib; do
11243 if test -n "$ncn_target_tool_prefix"; then
11244 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11245 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11246 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11247 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11248 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11249 echo $ECHO_N "(cached
) $ECHO_C" >&6
11251 if test -n "$RANLIB_FOR_TARGET"; then
11252 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11255 for as_dir in $PATH
11258 test -z "$as_dir" && as_dir=.
11259 for ac_exec_ext in '' $ac_executable_extensions; do
11260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11261 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11262 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11270 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11271 if test -n "$RANLIB_FOR_TARGET"; then
11272 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11273 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11275 echo "$as_me:$LINENO: result
: no
" >&5
11276 echo "${ECHO_T}no
" >&6
11280 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11281 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11282 set dummy ${ncn_progname}; ac_word=$2
11283 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11284 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11285 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11286 echo $ECHO_N "(cached
) $ECHO_C" >&6
11288 if test -n "$RANLIB_FOR_TARGET"; then
11289 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11292 for as_dir in $PATH
11295 test -z "$as_dir" && as_dir=.
11296 for ac_exec_ext in '' $ac_executable_extensions; do
11297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11298 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11299 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11307 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11308 if test -n "$RANLIB_FOR_TARGET"; then
11309 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11310 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11312 echo "$as_me:$LINENO: result
: no
" >&5
11313 echo "${ECHO_T}no
" >&6
11317 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11321 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11323 if test $build = $target ; then
11324 RANLIB_FOR_TARGET="$2"
11326 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11329 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11333 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11339 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11340 if test -n "$with_build_time_tools"; then
11341 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
11342 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
11343 if test -x $with_build_time_tools/strip; then
11344 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11345 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11346 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11347 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
11349 echo "$as_me:$LINENO: result
: no
" >&5
11350 echo "${ECHO_T}no
" >&6
11352 elif test $build != $host && test $have_gcc_for_target = yes; then
11353 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11354 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11355 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11358 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11359 # Extract the first word of "strip
", so it can be a program name with args.
11360 set dummy strip; ac_word=$2
11361 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11362 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11363 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11364 echo $ECHO_N "(cached
) $ECHO_C" >&6
11366 case $STRIP_FOR_TARGET in
11368 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11372 for as_dir in $gcc_cv_tool_dirs
11375 test -z "$as_dir" && as_dir=.
11376 for ac_exec_ext in '' $ac_executable_extensions; do
11377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11378 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11379 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11388 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11390 if test -n "$STRIP_FOR_TARGET"; then
11391 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11392 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11394 echo "$as_me:$LINENO: result
: no
" >&5
11395 echo "${ECHO_T}no
" >&6
11399 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11402 if test -n "$STRIP_FOR_TARGET"; then
11403 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11404 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11405 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11408 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11409 for ncn_progname in strip; do
11410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11411 set dummy ${ncn_progname}; ac_word=$2
11412 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11413 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11414 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11415 echo $ECHO_N "(cached
) $ECHO_C" >&6
11417 if test -n "$STRIP_FOR_TARGET"; then
11418 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421 for as_dir in $PATH
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11427 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11428 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11436 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11437 if test -n "$STRIP_FOR_TARGET"; then
11438 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11439 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11441 echo "$as_me:$LINENO: result
: no
" >&5
11442 echo "${ECHO_T}no
" >&6
11448 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11449 for ncn_progname in strip; do
11450 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11451 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11452 if test -x $with_build_time_tools/${ncn_progname}; then
11453 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11454 echo "$as_me:$LINENO: result
: yes" >&5
11455 echo "${ECHO_T}yes" >&6
11458 echo "$as_me:$LINENO: result
: no
" >&5
11459 echo "${ECHO_T}no
" >&6
11464 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11465 for ncn_progname in strip; do
11466 if test -n "$ncn_target_tool_prefix"; then
11467 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11468 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11469 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11470 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11471 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11472 echo $ECHO_N "(cached
) $ECHO_C" >&6
11474 if test -n "$STRIP_FOR_TARGET"; then
11475 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11478 for as_dir in $PATH
11481 test -z "$as_dir" && as_dir=.
11482 for ac_exec_ext in '' $ac_executable_extensions; do
11483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11484 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11485 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11493 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11494 if test -n "$STRIP_FOR_TARGET"; then
11495 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11496 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11498 echo "$as_me:$LINENO: result
: no
" >&5
11499 echo "${ECHO_T}no
" >&6
11503 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11505 set dummy ${ncn_progname}; ac_word=$2
11506 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11507 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11508 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11509 echo $ECHO_N "(cached
) $ECHO_C" >&6
11511 if test -n "$STRIP_FOR_TARGET"; then
11512 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11515 for as_dir in $PATH
11518 test -z "$as_dir" && as_dir=.
11519 for ac_exec_ext in '' $ac_executable_extensions; do
11520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11521 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11522 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11530 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11531 if test -n "$STRIP_FOR_TARGET"; then
11532 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11533 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11535 echo "$as_me:$LINENO: result
: no
" >&5
11536 echo "${ECHO_T}no
" >&6
11540 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11544 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11546 if test $build = $target ; then
11547 STRIP_FOR_TARGET="$2"
11549 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11552 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11556 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11562 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11563 if test -n "$with_build_time_tools"; then
11564 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11565 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11566 if test -x $with_build_time_tools/windres; then
11567 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11568 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11569 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11570 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11572 echo "$as_me:$LINENO: result
: no
" >&5
11573 echo "${ECHO_T}no
" >&6
11575 elif test $build != $host && test $have_gcc_for_target = yes; then
11576 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11577 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11578 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11581 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11582 # Extract the first word of "windres
", so it can be a program name with args.
11583 set dummy windres; ac_word=$2
11584 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11585 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11586 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11587 echo $ECHO_N "(cached
) $ECHO_C" >&6
11589 case $WINDRES_FOR_TARGET in
11591 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11595 for as_dir in $gcc_cv_tool_dirs
11598 test -z "$as_dir" && as_dir=.
11599 for ac_exec_ext in '' $ac_executable_extensions; do
11600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11601 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11611 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11613 if test -n "$WINDRES_FOR_TARGET"; then
11614 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11615 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11617 echo "$as_me:$LINENO: result
: no
" >&5
11618 echo "${ECHO_T}no
" >&6
11622 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11625 if test -n "$WINDRES_FOR_TARGET"; then
11626 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11627 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11628 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11631 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11632 for ncn_progname in windres; do
11633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11634 set dummy ${ncn_progname}; ac_word=$2
11635 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11636 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11637 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11638 echo $ECHO_N "(cached
) $ECHO_C" >&6
11640 if test -n "$WINDRES_FOR_TARGET"; then
11641 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 for as_dir in $PATH
11647 test -z "$as_dir" && as_dir=.
11648 for ac_exec_ext in '' $ac_executable_extensions; do
11649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11650 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11651 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11659 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11660 if test -n "$WINDRES_FOR_TARGET"; then
11661 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11662 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11664 echo "$as_me:$LINENO: result
: no
" >&5
11665 echo "${ECHO_T}no
" >&6
11671 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11672 for ncn_progname in windres; do
11673 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11674 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11675 if test -x $with_build_time_tools/${ncn_progname}; then
11676 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11677 echo "$as_me:$LINENO: result
: yes" >&5
11678 echo "${ECHO_T}yes" >&6
11681 echo "$as_me:$LINENO: result
: no
" >&5
11682 echo "${ECHO_T}no
" >&6
11687 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11688 for ncn_progname in windres; do
11689 if test -n "$ncn_target_tool_prefix"; then
11690 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11691 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11692 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11693 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11694 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11695 echo $ECHO_N "(cached
) $ECHO_C" >&6
11697 if test -n "$WINDRES_FOR_TARGET"; then
11698 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11704 test -z "$as_dir" && as_dir=.
11705 for ac_exec_ext in '' $ac_executable_extensions; do
11706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11707 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11708 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11716 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11717 if test -n "$WINDRES_FOR_TARGET"; then
11718 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11719 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11721 echo "$as_me:$LINENO: result
: no
" >&5
11722 echo "${ECHO_T}no
" >&6
11726 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11727 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11728 set dummy ${ncn_progname}; ac_word=$2
11729 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11730 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11731 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11732 echo $ECHO_N "(cached
) $ECHO_C" >&6
11734 if test -n "$WINDRES_FOR_TARGET"; then
11735 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11738 for as_dir in $PATH
11741 test -z "$as_dir" && as_dir=.
11742 for ac_exec_ext in '' $ac_executable_extensions; do
11743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11744 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11745 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11753 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11754 if test -n "$WINDRES_FOR_TARGET"; then
11755 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11756 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11758 echo "$as_me:$LINENO: result
: no
" >&5
11759 echo "${ECHO_T}no
" >&6
11763 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11767 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11769 if test $build = $target ; then
11770 WINDRES_FOR_TARGET="$2"
11772 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11775 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11779 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11785 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11786 if test -n "$with_build_time_tools"; then
11787 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11788 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11789 if test -x $with_build_time_tools/windmc; then
11790 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11791 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11792 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11793 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11795 echo "$as_me:$LINENO: result
: no
" >&5
11796 echo "${ECHO_T}no
" >&6
11798 elif test $build != $host && test $have_gcc_for_target = yes; then
11799 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11800 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11801 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11804 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11805 # Extract the first word of "windmc
", so it can be a program name with args.
11806 set dummy windmc; ac_word=$2
11807 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11808 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11809 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11810 echo $ECHO_N "(cached
) $ECHO_C" >&6
11812 case $WINDMC_FOR_TARGET in
11814 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $gcc_cv_tool_dirs
11821 test -z "$as_dir" && as_dir=.
11822 for ac_exec_ext in '' $ac_executable_extensions; do
11823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11825 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11834 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11836 if test -n "$WINDMC_FOR_TARGET"; then
11837 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11838 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11840 echo "$as_me:$LINENO: result
: no
" >&5
11841 echo "${ECHO_T}no
" >&6
11845 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11848 if test -n "$WINDMC_FOR_TARGET"; then
11849 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11850 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11851 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11854 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11855 for ncn_progname in windmc; do
11856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11857 set dummy ${ncn_progname}; ac_word=$2
11858 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11859 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11860 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11861 echo $ECHO_N "(cached
) $ECHO_C" >&6
11863 if test -n "$WINDMC_FOR_TARGET"; then
11864 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $PATH
11870 test -z "$as_dir" && as_dir=.
11871 for ac_exec_ext in '' $ac_executable_extensions; do
11872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11873 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11874 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11882 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11883 if test -n "$WINDMC_FOR_TARGET"; then
11884 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11885 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11887 echo "$as_me:$LINENO: result
: no
" >&5
11888 echo "${ECHO_T}no
" >&6
11894 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11895 for ncn_progname in windmc; do
11896 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11897 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11898 if test -x $with_build_time_tools/${ncn_progname}; then
11899 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11900 echo "$as_me:$LINENO: result
: yes" >&5
11901 echo "${ECHO_T}yes" >&6
11904 echo "$as_me:$LINENO: result
: no
" >&5
11905 echo "${ECHO_T}no
" >&6
11910 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11911 for ncn_progname in windmc; do
11912 if test -n "$ncn_target_tool_prefix"; then
11913 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11914 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11915 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11917 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11918 echo $ECHO_N "(cached
) $ECHO_C" >&6
11920 if test -n "$WINDMC_FOR_TARGET"; then
11921 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11924 for as_dir in $PATH
11927 test -z "$as_dir" && as_dir=.
11928 for ac_exec_ext in '' $ac_executable_extensions; do
11929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11930 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11931 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11939 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11940 if test -n "$WINDMC_FOR_TARGET"; then
11941 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11942 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11944 echo "$as_me:$LINENO: result
: no
" >&5
11945 echo "${ECHO_T}no
" >&6
11949 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11951 set dummy ${ncn_progname}; ac_word=$2
11952 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11954 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11955 echo $ECHO_N "(cached
) $ECHO_C" >&6
11957 if test -n "$WINDMC_FOR_TARGET"; then
11958 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11961 for as_dir in $PATH
11964 test -z "$as_dir" && as_dir=.
11965 for ac_exec_ext in '' $ac_executable_extensions; do
11966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11967 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11968 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11976 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11977 if test -n "$WINDMC_FOR_TARGET"; then
11978 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11979 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11981 echo "$as_me:$LINENO: result
: no
" >&5
11982 echo "${ECHO_T}no
" >&6
11986 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11990 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11992 if test $build = $target ; then
11993 WINDMC_FOR_TARGET="$2"
11995 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11998 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12002 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12006 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12008 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
12009 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
12010 if test "x
${build}" != "x
${host}" ; then
12011 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12012 # We already found the complete path
12013 ac_dir=`dirname $AR_FOR_TARGET`
12014 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12015 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12017 # Canadian cross, just use what we found
12018 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12019 echo "${ECHO_T}pre-installed
" >&6
12023 case " ${configdirs} " in
12028 if test $ok = yes; then
12029 # An in-tree tool is available and we can use it
12030 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12031 echo "$as_me:$LINENO: result
: just compiled
" >&5
12032 echo "${ECHO_T}just compiled
" >&6
12033 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12034 # We already found the complete path
12035 ac_dir=`dirname $AR_FOR_TARGET`
12036 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12037 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12038 elif test "x
$target" = "x
$host"; then
12039 # We can use an host tool
12040 AR_FOR_TARGET='$(AR)'
12041 echo "$as_me:$LINENO: result
: host tool
" >&5
12042 echo "${ECHO_T}host tool
" >&6
12044 # We need a cross tool
12045 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12046 echo "${ECHO_T}pre-installed
" >&6
12050 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
12051 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
12052 if test "x
${build}" != "x
${host}" ; then
12053 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12054 # We already found the complete path
12055 ac_dir=`dirname $AS_FOR_TARGET`
12056 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12057 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12059 # Canadian cross, just use what we found
12060 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12061 echo "${ECHO_T}pre-installed
" >&6
12065 case " ${configdirs} " in
12070 if test $ok = yes; then
12071 # An in-tree tool is available and we can use it
12072 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12073 echo "$as_me:$LINENO: result
: just compiled
" >&5
12074 echo "${ECHO_T}just compiled
" >&6
12075 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12076 # We already found the complete path
12077 ac_dir=`dirname $AS_FOR_TARGET`
12078 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12079 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12080 elif test "x
$target" = "x
$host"; then
12081 # We can use an host tool
12082 AS_FOR_TARGET='$(AS)'
12083 echo "$as_me:$LINENO: result
: host tool
" >&5
12084 echo "${ECHO_T}host tool
" >&6
12086 # We need a cross tool
12087 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12088 echo "${ECHO_T}pre-installed
" >&6
12092 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
12093 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
12094 if test "x
${build}" != "x
${host}" ; then
12095 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12096 # We already found the complete path
12097 ac_dir=`dirname $CC_FOR_TARGET`
12098 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12099 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12101 # Canadian cross, just use what we found
12102 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12103 echo "${ECHO_T}pre-installed
" >&6
12107 case " ${configdirs} " in
12112 if test $ok = yes; then
12113 # An in-tree tool is available and we can use it
12114 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12115 echo "$as_me:$LINENO: result
: just compiled
" >&5
12116 echo "${ECHO_T}just compiled
" >&6
12117 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12118 # We already found the complete path
12119 ac_dir=`dirname $CC_FOR_TARGET`
12120 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12121 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12122 elif test "x
$target" = "x
$host"; then
12123 # We can use an host tool
12124 CC_FOR_TARGET='$(CC)'
12125 echo "$as_me:$LINENO: result
: host tool
" >&5
12126 echo "${ECHO_T}host tool
" >&6
12128 # We need a cross tool
12129 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12130 echo "${ECHO_T}pre-installed
" >&6
12134 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
12135 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
12136 if test "x
${build}" != "x
${host}" ; then
12137 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12138 # We already found the complete path
12139 ac_dir=`dirname $CXX_FOR_TARGET`
12140 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12141 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12143 # Canadian cross, just use what we found
12144 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12145 echo "${ECHO_T}pre-installed
" >&6
12149 case " ${configdirs} " in
12153 case ,${enable_languages}, in
12157 if test $ok = yes; then
12158 # An in-tree tool is available and we can use it
12159 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'
12160 echo "$as_me:$LINENO: result
: just compiled
" >&5
12161 echo "${ECHO_T}just compiled
" >&6
12162 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12163 # We already found the complete path
12164 ac_dir=`dirname $CXX_FOR_TARGET`
12165 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12166 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12167 elif test "x
$target" = "x
$host"; then
12168 # We can use an host tool
12169 CXX_FOR_TARGET='$(CXX)'
12170 echo "$as_me:$LINENO: result
: host tool
" >&5
12171 echo "${ECHO_T}host tool
" >&6
12173 # We need a cross tool
12174 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12175 echo "${ECHO_T}pre-installed
" >&6
12179 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
12180 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
12181 if test "x
${build}" != "x
${host}" ; then
12182 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12183 # We already found the complete path
12184 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12185 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12186 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12188 # Canadian cross, just use what we found
12189 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12190 echo "${ECHO_T}pre-installed
" >&6
12194 case " ${configdirs} " in
12198 case ,${enable_languages}, in
12202 if test $ok = yes; then
12203 # An in-tree tool is available and we can use it
12204 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'
12205 echo "$as_me:$LINENO: result
: just compiled
" >&5
12206 echo "${ECHO_T}just compiled
" >&6
12207 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12208 # We already found the complete path
12209 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12210 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12211 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12212 elif test "x
$target" = "x
$host"; then
12213 # We can use an host tool
12214 RAW_CXX_FOR_TARGET='$(CXX)'
12215 echo "$as_me:$LINENO: result
: host tool
" >&5
12216 echo "${ECHO_T}host tool
" >&6
12218 # We need a cross tool
12219 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12220 echo "${ECHO_T}pre-installed
" >&6
12224 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
12225 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
12226 if test "x
${build}" != "x
${host}" ; then
12227 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12228 # We already found the complete path
12229 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12230 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12231 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12233 # Canadian cross, just use what we found
12234 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12235 echo "${ECHO_T}pre-installed
" >&6
12239 case " ${configdirs} " in
12244 if test $ok = yes; then
12245 # An in-tree tool is available and we can use it
12246 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12247 echo "$as_me:$LINENO: result
: just compiled
" >&5
12248 echo "${ECHO_T}just compiled
" >&6
12249 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12250 # We already found the complete path
12251 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12252 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12253 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12254 elif test "x
$target" = "x
$host"; then
12255 # We can use an host tool
12256 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12257 echo "$as_me:$LINENO: result
: host tool
" >&5
12258 echo "${ECHO_T}host tool
" >&6
12260 # We need a cross tool
12261 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12262 echo "${ECHO_T}pre-installed
" >&6
12266 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
12267 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
12268 if test "x
${build}" != "x
${host}" ; then
12269 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12270 # We already found the complete path
12271 ac_dir=`dirname $GCC_FOR_TARGET`
12272 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12273 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12275 # Canadian cross, just use what we found
12276 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12277 echo "${ECHO_T}pre-installed
" >&6
12281 case " ${configdirs} " in
12286 if test $ok = yes; then
12287 # An in-tree tool is available and we can use it
12288 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12289 echo "$as_me:$LINENO: result
: just compiled
" >&5
12290 echo "${ECHO_T}just compiled
" >&6
12291 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12292 # We already found the complete path
12293 ac_dir=`dirname $GCC_FOR_TARGET`
12294 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12295 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12296 elif test "x
$target" = "x
$host"; then
12297 # We can use an host tool
12298 GCC_FOR_TARGET='$()'
12299 echo "$as_me:$LINENO: result
: host tool
" >&5
12300 echo "${ECHO_T}host tool
" >&6
12302 # We need a cross tool
12303 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12304 echo "${ECHO_T}pre-installed
" >&6
12308 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
12309 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
12310 if test "x
${build}" != "x
${host}" ; then
12311 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12312 # We already found the complete path
12313 ac_dir=`dirname $GCJ_FOR_TARGET`
12314 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12315 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12317 # Canadian cross, just use what we found
12318 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12319 echo "${ECHO_T}pre-installed
" >&6
12323 case " ${configdirs} " in
12327 case ,${enable_languages}, in
12331 if test $ok = yes; then
12332 # An in-tree tool is available and we can use it
12333 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12334 echo "$as_me:$LINENO: result
: just compiled
" >&5
12335 echo "${ECHO_T}just compiled
" >&6
12336 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12337 # We already found the complete path
12338 ac_dir=`dirname $GCJ_FOR_TARGET`
12339 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12340 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12341 elif test "x
$target" = "x
$host"; then
12342 # We can use an host tool
12343 GCJ_FOR_TARGET='$(GCJ)'
12344 echo "$as_me:$LINENO: result
: host tool
" >&5
12345 echo "${ECHO_T}host tool
" >&6
12347 # We need a cross tool
12348 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12349 echo "${ECHO_T}pre-installed
" >&6
12353 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12354 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
12355 if test "x
${build}" != "x
${host}" ; then
12356 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12357 # We already found the complete path
12358 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12359 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12360 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12362 # Canadian cross, just use what we found
12363 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12364 echo "${ECHO_T}pre-installed
" >&6
12368 case " ${configdirs} " in
12372 case ,${enable_languages}, in
12376 if test $ok = yes; then
12377 # An in-tree tool is available and we can use it
12378 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12379 echo "$as_me:$LINENO: result
: just compiled
" >&5
12380 echo "${ECHO_T}just compiled
" >&6
12381 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12382 # We already found the complete path
12383 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12384 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12385 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12386 elif test "x
$target" = "x
$host"; then
12387 # We can use an host tool
12388 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12389 echo "$as_me:$LINENO: result
: host tool
" >&5
12390 echo "${ECHO_T}host tool
" >&6
12392 # We need a cross tool
12393 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12394 echo "${ECHO_T}pre-installed
" >&6
12398 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12399 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12400 if test "x
${build}" != "x
${host}" ; then
12401 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12402 # We already found the complete path
12403 ac_dir=`dirname $LD_FOR_TARGET`
12404 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12405 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12407 # Canadian cross, just use what we found
12408 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12409 echo "${ECHO_T}pre-installed
" >&6
12413 case " ${configdirs} " in
12418 if test $ok = yes; then
12419 # An in-tree tool is available and we can use it
12420 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12421 echo "$as_me:$LINENO: result
: just compiled
" >&5
12422 echo "${ECHO_T}just compiled
" >&6
12423 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12424 # We already found the complete path
12425 ac_dir=`dirname $LD_FOR_TARGET`
12426 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12427 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12428 elif test "x
$target" = "x
$host"; then
12429 # We can use an host tool
12430 LD_FOR_TARGET='$(LD)'
12431 echo "$as_me:$LINENO: result
: host tool
" >&5
12432 echo "${ECHO_T}host tool
" >&6
12434 # We need a cross tool
12435 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12436 echo "${ECHO_T}pre-installed
" >&6
12440 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12441 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12442 if test "x
${build}" != "x
${host}" ; then
12443 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12444 # We already found the complete path
12445 ac_dir=`dirname $LIPO_FOR_TARGET`
12446 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12447 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12449 # Canadian cross, just use what we found
12450 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12451 echo "${ECHO_T}pre-installed
" >&6
12454 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12455 # We already found the complete path
12456 ac_dir=`dirname $LIPO_FOR_TARGET`
12457 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12458 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12459 elif test "x
$target" = "x
$host"; then
12460 # We can use an host tool
12461 LIPO_FOR_TARGET='$(LIPO)'
12462 echo "$as_me:$LINENO: result
: host tool
" >&5
12463 echo "${ECHO_T}host tool
" >&6
12465 # We need a cross tool
12466 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12467 echo "${ECHO_T}pre-installed
" >&6
12471 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12472 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12473 if test "x
${build}" != "x
${host}" ; then
12474 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12475 # We already found the complete path
12476 ac_dir=`dirname $NM_FOR_TARGET`
12477 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12478 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12480 # Canadian cross, just use what we found
12481 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12482 echo "${ECHO_T}pre-installed
" >&6
12486 case " ${configdirs} " in
12491 if test $ok = yes; then
12492 # An in-tree tool is available and we can use it
12493 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12494 echo "$as_me:$LINENO: result
: just compiled
" >&5
12495 echo "${ECHO_T}just compiled
" >&6
12496 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12497 # We already found the complete path
12498 ac_dir=`dirname $NM_FOR_TARGET`
12499 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12500 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12501 elif test "x
$target" = "x
$host"; then
12502 # We can use an host tool
12503 NM_FOR_TARGET='$(NM)'
12504 echo "$as_me:$LINENO: result
: host tool
" >&5
12505 echo "${ECHO_T}host tool
" >&6
12507 # We need a cross tool
12508 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12509 echo "${ECHO_T}pre-installed
" >&6
12513 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12514 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12515 if test "x
${build}" != "x
${host}" ; then
12516 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12517 # We already found the complete path
12518 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12519 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12520 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12522 # Canadian cross, just use what we found
12523 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12524 echo "${ECHO_T}pre-installed
" >&6
12528 case " ${configdirs} " in
12533 if test $ok = yes; then
12534 # An in-tree tool is available and we can use it
12535 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12536 echo "$as_me:$LINENO: result
: just compiled
" >&5
12537 echo "${ECHO_T}just compiled
" >&6
12538 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12539 # We already found the complete path
12540 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12541 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12542 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12543 elif test "x
$target" = "x
$host"; then
12544 # We can use an host tool
12545 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12546 echo "$as_me:$LINENO: result
: host tool
" >&5
12547 echo "${ECHO_T}host tool
" >&6
12549 # We need a cross tool
12550 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12551 echo "${ECHO_T}pre-installed
" >&6
12555 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12556 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12557 if test "x
${build}" != "x
${host}" ; then
12558 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12559 # We already found the complete path
12560 ac_dir=`dirname $RANLIB_FOR_TARGET`
12561 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12562 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12564 # Canadian cross, just use what we found
12565 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12566 echo "${ECHO_T}pre-installed
" >&6
12570 case " ${configdirs} " in
12575 if test $ok = yes; then
12576 # An in-tree tool is available and we can use it
12577 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12578 echo "$as_me:$LINENO: result
: just compiled
" >&5
12579 echo "${ECHO_T}just compiled
" >&6
12580 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12581 # We already found the complete path
12582 ac_dir=`dirname $RANLIB_FOR_TARGET`
12583 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12584 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12585 elif test "x
$target" = "x
$host"; then
12586 # We can use an host tool
12587 RANLIB_FOR_TARGET='$(RANLIB)'
12588 echo "$as_me:$LINENO: result
: host tool
" >&5
12589 echo "${ECHO_T}host tool
" >&6
12591 # We need a cross tool
12592 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12593 echo "${ECHO_T}pre-installed
" >&6
12597 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12598 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12599 if test "x
${build}" != "x
${host}" ; then
12600 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12601 # We already found the complete path
12602 ac_dir=`dirname $STRIP_FOR_TARGET`
12603 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12604 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12606 # Canadian cross, just use what we found
12607 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12608 echo "${ECHO_T}pre-installed
" >&6
12612 case " ${configdirs} " in
12617 if test $ok = yes; then
12618 # An in-tree tool is available and we can use it
12619 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12620 echo "$as_me:$LINENO: result
: just compiled
" >&5
12621 echo "${ECHO_T}just compiled
" >&6
12622 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12623 # We already found the complete path
12624 ac_dir=`dirname $STRIP_FOR_TARGET`
12625 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12626 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12627 elif test "x
$target" = "x
$host"; then
12628 # We can use an host tool
12629 STRIP_FOR_TARGET='$(STRIP)'
12630 echo "$as_me:$LINENO: result
: host tool
" >&5
12631 echo "${ECHO_T}host tool
" >&6
12633 # We need a cross tool
12634 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12635 echo "${ECHO_T}pre-installed
" >&6
12639 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12640 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12641 if test "x
${build}" != "x
${host}" ; then
12642 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12643 # We already found the complete path
12644 ac_dir=`dirname $WINDRES_FOR_TARGET`
12645 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12646 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12648 # Canadian cross, just use what we found
12649 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12650 echo "${ECHO_T}pre-installed
" >&6
12654 case " ${configdirs} " in
12659 if test $ok = yes; then
12660 # An in-tree tool is available and we can use it
12661 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12662 echo "$as_me:$LINENO: result
: just compiled
" >&5
12663 echo "${ECHO_T}just compiled
" >&6
12664 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12665 # We already found the complete path
12666 ac_dir=`dirname $WINDRES_FOR_TARGET`
12667 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12668 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12669 elif test "x
$target" = "x
$host"; then
12670 # We can use an host tool
12671 WINDRES_FOR_TARGET='$(WINDRES)'
12672 echo "$as_me:$LINENO: result
: host tool
" >&5
12673 echo "${ECHO_T}host tool
" >&6
12675 # We need a cross tool
12676 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12677 echo "${ECHO_T}pre-installed
" >&6
12681 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12682 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12683 if test "x
${build}" != "x
${host}" ; then
12684 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12685 # We already found the complete path
12686 ac_dir=`dirname $WINDMC_FOR_TARGET`
12687 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12688 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12690 # Canadian cross, just use what we found
12691 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12692 echo "${ECHO_T}pre-installed
" >&6
12696 case " ${configdirs} " in
12701 if test $ok = yes; then
12702 # An in-tree tool is available and we can use it
12703 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12704 echo "$as_me:$LINENO: result
: just compiled
" >&5
12705 echo "${ECHO_T}just compiled
" >&6
12706 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12707 # We already found the complete path
12708 ac_dir=`dirname $WINDMC_FOR_TARGET`
12709 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12710 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12711 elif test "x
$target" = "x
$host"; then
12712 # We can use an host tool
12713 WINDMC_FOR_TARGET='$(WINDMC)'
12714 echo "$as_me:$LINENO: result
: host tool
" >&5
12715 echo "${ECHO_T}host tool
" >&6
12717 # We need a cross tool
12718 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12719 echo "${ECHO_T}pre-installed
" >&6
12727 # Certain tools may need extra flags.
12728 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12729 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12730 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12732 # When building target libraries, except in a Canadian cross, we use
12733 # the same toolchain as the compiler we just built.
12734 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12735 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12736 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12737 if test $host = $build; then
12738 case " $configdirs " in
12740 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12741 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12742 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12751 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12752 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12753 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12754 if test "${enable_maintainer_mode+set}" = set; then
12755 enableval="$enable_maintainer_mode"
12756 USE_MAINTAINER_MODE=$enableval
12758 USE_MAINTAINER_MODE=no
12760 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12761 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12764 if test "$USE_MAINTAINER_MODE" = yes; then
12765 MAINTAINER_MODE_TRUE=
12766 MAINTAINER_MODE_FALSE='#'
12768 MAINTAINER_MODE_TRUE='#'
12769 MAINTAINER_MODE_FALSE=
12771 MAINT=$MAINTAINER_MODE_TRUE
12773 # ---------------------
12774 # GCC bootstrap support
12775 # ---------------------
12777 # Stage specific cflags for build.
12782 yes) stage1_cflags="-g -Wa,-J" ;;
12783 *) stage1_cflags="-g -J" ;;
12787 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12788 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
12789 saved_CFLAGS="$CFLAGS"
12791 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12792 CFLAGS="$CFLAGS -fkeep-inline-functions"
12793 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12794 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12795 cat >conftest.$ac_ext <<_ACEOF
12798 cat confdefs.h >>conftest.$ac_ext
12799 cat >>conftest.$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12802 #if (__GNUC__ < 3) \
12803 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12804 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12805 #error http://gcc.gnu.org/PR29382
12816 rm -f conftest.$ac_objext
12817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12818 (eval $ac_compile) 2>conftest.er1
12820 grep -v '^ *+' conftest.er1 >conftest.err
12822 cat conftest.err >&5
12823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12824 (exit $ac_status); } &&
12825 { ac_try='test -z "$ac_c_werror_flag"
12826 || test ! -s conftest.err'
12827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5
12830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12831 (exit $ac_status); }; } &&
12832 { ac_try='test -s conftest.$ac_objext'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12837 (exit $ac_status); }; }; then
12838 echo "$as_me:$LINENO: result
: yes" >&5
12839 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12841 echo "$as_me: failed program was
:" >&5
12842 sed 's/^/| /' conftest.$ac_ext >&5
12844 echo "$as_me:$LINENO: result
: no
" >&5
12845 echo "${ECHO_T}no
" >&6
12847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12849 CFLAGS="$saved_CFLAGS"
12854 # Enable --enable-checking in stage1 of the compiler.
12855 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12856 if test "${enable_stage1_checking+set}" = set; then
12857 enableval="$enable_stage1_checking"
12858 stage1_checking=--enable-checking=${enable_stage1_checking}
12860 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12861 stage1_checking=--enable-checking=yes,types
12863 stage1_checking=--enable-checking=$enable_checking,types
12868 # Enable -Werror in bootstrap stage2 and later.
12869 # Check whether --enable-werror or --disable-werror was given.
12870 if test "${enable_werror+set}" = set; then
12871 enableval="$enable_werror"
12874 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12880 case ${enable_werror} in
12881 yes) stage2_werror_flag="--enable-werror-always" ;;
12882 *) stage2_werror_flag="" ;;
12886 # Flags needed to enable html installing and building
12888 # Check whether --with-datarootdir or --without-datarootdir was given.
12889 if test "${with_datarootdir+set}" = set; then
12890 withval="$with_datarootdir"
12891 datarootdir="\
${prefix}/${withval}"
12893 datarootdir="\
${prefix}/share
"
12897 # Check whether --with-docdir or --without-docdir was given.
12898 if test "${with_docdir+set}" = set; then
12899 withval="$with_docdir"
12900 docdir="\
${prefix}/${withval}"
12902 docdir="\
${datarootdir}/doc
"
12906 # Check whether --with-pdfdir or --without-pdfdir was given.
12907 if test "${with_pdfdir+set}" = set; then
12908 withval="$with_pdfdir"
12909 pdfdir="\
${prefix}/${withval}"
12911 pdfdir="\
${docdir}"
12915 # Check whether --with-htmldir or --without-htmldir was given.
12916 if test "${with_htmldir+set}" = set; then
12917 withval="$with_htmldir"
12918 htmldir="\
${prefix}/${withval}"
12920 htmldir="\
${docdir}"
12928 # Specify what files to not compare during bootstrap.
12930 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
12932 hppa*64*-*-hpux*) ;;
12933 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
12937 ac_config_files="$ac_config_files Makefile
"
12938 cat >confcache <<\_ACEOF
12939 # This file is a shell script that caches the results of configure
12940 # tests run on this system so they can be shared between configure
12941 # scripts and configure runs, see configure's option --config-cache.
12942 # It is not useful on other systems. If it contains results you don't
12943 # want to keep, you may remove or edit it.
12945 # config.status only pays attention to the cache file if you give it
12946 # the --recheck option to rerun configure.
12948 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12950 # following values.
12954 # The following way of writing the cache mishandles newlines in values,
12955 # but we know of no workaround that is simple, portable, and efficient.
12956 # So, don't put newlines in cache variables' values.
12957 # Ultrix sh set writes to stderr and can't be redirected directly,
12958 # and sets the high bit in the cache file unless we assign to the vars.
12961 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12963 # `set' does not quote correctly, so add quotes (double-quote
12964 # substitution turns \\\\ into \\, and sed turns \\ into \).
12967 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12970 # `set' quotes correctly as required by POSIX, so do not add quotes.
12972 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12979 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12981 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12983 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12984 if test -w $cache_file; then
12985 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12986 cat confcache >$cache_file
12988 echo "not updating unwritable cache
$cache_file"
12993 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12994 # Let make expand exec_prefix.
12995 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12997 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12998 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12999 # trailing colons and then remove the whole line if VPATH becomes empty
13000 # (actually we leave an empty line to preserve line numbers).
13001 if test "x
$srcdir" = x.; then
13002 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13003 s/:*\$(srcdir):*/:/;
13004 s/:*\${srcdir}:*/:/;
13006 s/^\([^=]*=[ ]*\):*/\1/;
13012 # Transform confdefs.h into DEFS.
13013 # Protect against shell expansion while executing Makefile rules.
13014 # Protect against Makefile macro expansion.
13016 # If the first sed substitution is executed (which looks for macros that
13017 # take arguments), then we branch to the quote section. Otherwise,
13018 # look for a macro that doesn't take arguments.
13019 cat >confdef2opt.sed <<\_ACEOF
13022 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
13024 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
13028 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
13034 # We use echo to avoid assuming a particular line-breaking character.
13035 # The extra dot is to prevent the shell from consuming trailing
13036 # line-breaks from the sub-command output. A line-break within
13037 # single-quotes doesn't work because, if this script is created in a
13038 # platform that uses two characters for line-breaks (e.g., DOS), tr
13040 ac_LF_and_DOT
=`echo; echo .`
13041 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
13042 rm -f confdef2opt.
sed
13047 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13048 # 1. Remove the extension, and $U if already installed.
13049 ac_i
=`echo "$ac_i" |
13050 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13052 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13053 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13055 LIBOBJS
=$ac_libobjs
13057 LTLIBOBJS
=$ac_ltlibobjs
13061 : ${CONFIG_STATUS=./config.status}
13062 ac_clean_files_save
=$ac_clean_files
13063 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13064 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13065 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13066 cat >$CONFIG_STATUS <<_ACEOF
13068 # Generated by $as_me.
13069 # Run this file to recreate the current configuration.
13070 # Compiler output produced by configure, useful for debugging
13071 # configure, is in config.log if it exists.
13074 ac_cs_recheck=false
13076 SHELL=\${CONFIG_SHELL-$SHELL}
13079 cat >>$CONFIG_STATUS <<\_ACEOF
13080 ## --------------------- ##
13081 ## M4sh Initialization. ##
13082 ## --------------------- ##
13084 # Be Bourne compatible
13085 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13088 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13089 # is contrary to our usage. Disable this feature.
13090 alias -g '${1+"$@"}'='"$@"'
13091 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13094 DUALCASE
=1; export DUALCASE
# for MKS sh
13096 # Support unset when possible.
13097 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13104 # Work around bugs in pre-3.0 UWIN ksh.
13105 $as_unset ENV MAIL MAILPATH
13112 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13113 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13114 LC_TELEPHONE LC_TIME
13116 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13117 eval $as_var=C
; export $as_var
13123 # Required to use basename.
13124 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13130 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13131 as_basename
=basename
13137 # Name of the executable.
13138 as_me
=`$as_basename "$0" ||
13139 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13140 X"$0" : 'X\(//\)$' \| \
13141 X"$0" : 'X\(/\)$' \| \
13142 . : '\(.\)' 2>/dev/null ||
13144 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13145 /^X\/\(\/\/\)$/{ s//\1/; q; }
13146 /^X\/\(\/\).*/{ s//\1/; q; }
13150 # PATH needs CR, and LINENO needs CR and PATH.
13151 # Avoid depending upon Character Ranges.
13152 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13153 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13154 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13155 as_cr_digits
='0123456789'
13156 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13158 # The user is always right.
13159 if test "${PATH_SEPARATOR+set}" != set; then
13160 echo "#! /bin/sh" >conf$$.sh
13161 echo "exit 0" >>conf$$.sh
13163 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13172 as_lineno_1
=$LINENO
13173 as_lineno_2
=$LINENO
13174 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13175 test "x$as_lineno_1" != "x$as_lineno_2" &&
13176 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13177 # Find who we are. Look in the path if we contain no path at all
13180 *[\\/]* ) as_myself
=$0 ;;
13181 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13182 for as_dir
in $PATH
13185 test -z "$as_dir" && as_dir
=.
13186 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13191 # We did not find ourselves, most probably we were run as `sh COMMAND'
13192 # in which case we are not to be found in the path.
13193 if test "x$as_myself" = x
; then
13196 if test ! -f "$as_myself"; then
13197 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13198 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13199 { (exit 1); exit 1; }; }
13201 case $CONFIG_SHELL in
13203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13204 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13207 test -z "$as_dir" && as_dir
=.
13208 for as_base
in sh bash ksh sh5
; do
13211 if ("$as_dir/$as_base" -c '
13212 as_lineno_1=$LINENO
13213 as_lineno_2=$LINENO
13214 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13215 test "x$as_lineno_1" != "x$as_lineno_2" &&
13216 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13217 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13218 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13219 CONFIG_SHELL
=$as_dir/$as_base
13220 export CONFIG_SHELL
13221 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13230 # uniformly replaced by the line number. The first 'sed' inserts a
13231 # line-number line before each line; the second 'sed' does the real
13232 # work. The second script uses 'N' to pair each line-number line
13233 # with the numbered line, and appends trailing '-' during
13234 # substitution so that $LINENO is not a special case at line end.
13235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13236 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13237 sed '=' <$as_myself |
13242 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13245 s,^['$as_cr_digits']*\n,,
13246 ' >$as_me.lineno
&&
13247 chmod +x
$as_me.lineno ||
13248 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13249 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13250 { (exit 1); exit 1; }; }
13252 # Don't try to exec as it changes $[0], causing all sort of problems
13253 # (the dirname of $[0] is not the place where we might find the
13254 # original and so on. Autoconf is especially sensible to this).
13256 # Exit status is that of the last command.
13261 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13262 *c
*,-n*) ECHO_N
= ECHO_C
='
13264 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13265 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13268 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13274 rm -f conf$$ conf$$.exe conf$$.
file
13276 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13277 # We could just check for DJGPP; but this test a) works b) is more generic
13278 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13279 if test -f conf$$.exe
; then
13280 # Don't use ln at all; we don't have any links
13285 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13290 rm -f conf$$ conf$$.exe conf$$.
file
13292 if mkdir
-p .
2>/dev
/null
; then
13295 test -d .
/-p && rmdir .
/-p
13299 as_executable_p
="test -f"
13301 # Sed expression to map a string onto a valid CPP name.
13302 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13304 # Sed expression to map a string onto a valid variable name.
13305 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13309 # We need space, tab and new line, in precisely that order.
13319 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13320 # report actual input values of CONFIG_FILES etc. instead of their
13321 # values after options handling. Logging --version etc. is OK.
13325 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13326 ## Running $as_me. ##
13331 This file was extended by $as_me, which was
13332 generated by GNU Autoconf 2.59. Invocation command line was
13334 CONFIG_FILES = $CONFIG_FILES
13335 CONFIG_HEADERS = $CONFIG_HEADERS
13336 CONFIG_LINKS = $CONFIG_LINKS
13337 CONFIG_COMMANDS = $CONFIG_COMMANDS
13341 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13345 # Files that config.status was made for.
13346 if test -n "$ac_config_files"; then
13347 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13350 if test -n "$ac_config_headers"; then
13351 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13354 if test -n "$ac_config_links"; then
13355 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13358 if test -n "$ac_config_commands"; then
13359 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13362 cat >>$CONFIG_STATUS <<\_ACEOF
13365 \`$as_me' instantiates files from templates according to the
13366 current configuration.
13368 Usage: $0 [OPTIONS] [FILE]...
13370 -h, --help print this help, then exit
13371 -V, --version print version number, then exit
13372 -q, --quiet do not print progress messages
13373 -d, --debug don't remove temporary files
13374 --recheck update $as_me by reconfiguring in the same conditions
13375 --file=FILE[:TEMPLATE]
13376 instantiate the configuration file FILE
13378 Configuration files:
13381 Report bugs to <bug-autoconf@gnu.org>."
13384 cat >>$CONFIG_STATUS <<_ACEOF
13387 configured by $0, generated by GNU Autoconf 2.59,
13388 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13390 Copyright (C) 2003 Free Software Foundation, Inc.
13391 This config.status script is free software; the Free Software Foundation
13392 gives unlimited permission to copy, distribute and modify it."
13397 cat >>$CONFIG_STATUS <<\_ACEOF
13398 # If no file are specified by the user, then we need to provide default
13399 # value. By we need to know if files were specified by the user.
13405 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13406 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13414 *) # This is not an option, so the user has probably given explicit
13417 ac_need_defaults
=false
;;
13421 # Handling of the options.
13423 cat >>$CONFIG_STATUS <<\_ACEOF
13424 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13426 --version |
--vers* |
-V )
13427 echo "$ac_cs_version"; exit 0 ;;
13429 # Conflict between --help and --header
13430 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13431 Try \`$0 --help' for more information." >&5
13432 echo "$as_me: error: ambiguous option: $1
13433 Try \`$0 --help' for more information." >&2;}
13434 { (exit 1); exit 1; }; };;
13435 --help |
--hel |
-h )
13436 echo "$ac_cs_usage"; exit 0 ;;
13437 --debug |
--d* |
-d )
13439 --file |
--fil |
--fi |
--f )
13441 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13442 ac_need_defaults
=false
;;
13443 --header |
--heade |
--head |
--hea )
13445 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13446 ac_need_defaults
=false
;;
13447 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13448 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13451 # This is an error.
13452 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13453 Try \`$0 --help' for more information." >&5
13454 echo "$as_me: error: unrecognized option: $1
13455 Try \`$0 --help' for more information." >&2;}
13456 { (exit 1); exit 1; }; } ;;
13458 *) ac_config_targets
="$ac_config_targets $1" ;;
13464 ac_configure_extra_args
=
13466 if $ac_cs_silent; then
13468 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13472 cat >>$CONFIG_STATUS <<_ACEOF
13473 if \$ac_cs_recheck; then
13474 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13475 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13484 cat >>$CONFIG_STATUS <<\_ACEOF
13485 for ac_config_target
in $ac_config_targets
13487 case "$ac_config_target" in
13488 # Handling of arguments.
13489 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13490 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13491 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13492 { (exit 1); exit 1; }; };;
13496 # If the user did not use the arguments to specify the items to instantiate,
13497 # then the envvar interface is used. Set only those that are not.
13498 # We use the long form for the default assignment because of an extremely
13499 # bizarre bug on SunOS 4.1.3.
13500 if $ac_need_defaults; then
13501 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13504 # Have a temporary directory for convenience. Make it in the build tree
13505 # simply because there is no reason to put it here, and in addition,
13506 # creating and moving files from /tmp can sometimes cause problems.
13507 # Create a temporary directory, and hook for its removal unless debugging.
13510 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13511 trap '{ (exit 1); exit 1; }' 1 2 13 15
13514 # Create a (secure) tmp directory for tmp files.
13517 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13518 test -n "$tmp" && test -d "$tmp"
13521 tmp
=.
/confstat$$
-$RANDOM
13522 (umask 077 && mkdir
$tmp)
13525 echo "$me: cannot create a temporary directory in ." >&2
13526 { (exit 1); exit 1; }
13531 cat >>$CONFIG_STATUS <<_ACEOF
13534 # CONFIG_FILES section.
13537 # No need to generate the scripts if there are no CONFIG_FILES.
13538 # This happens for instance when ./config.status config.h
13539 if test -n "\$CONFIG_FILES"; then
13540 # Protect against being on the right side of a sed subst in config.status.
13541 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13542 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13543 s,@SHELL@,$SHELL,;t t
13544 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13545 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13546 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13547 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13548 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13549 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13550 s,@exec_prefix@,$exec_prefix,;t t
13551 s,@prefix@,$prefix,;t t
13552 s,@program_transform_name@,$program_transform_name,;t t
13553 s,@bindir@,$bindir,;t t
13554 s,@sbindir@,$sbindir,;t t
13555 s,@libexecdir@,$libexecdir,;t t
13556 s,@datadir@,$datadir,;t t
13557 s,@sysconfdir@,$sysconfdir,;t t
13558 s,@sharedstatedir@,$sharedstatedir,;t t
13559 s,@localstatedir@,$localstatedir,;t t
13560 s,@libdir@,$libdir,;t t
13561 s,@includedir@,$includedir,;t t
13562 s,@oldincludedir@,$oldincludedir,;t t
13563 s,@infodir@,$infodir,;t t
13564 s,@mandir@,$mandir,;t t
13565 s,@build_alias@,$build_alias,;t t
13566 s,@host_alias@,$host_alias,;t t
13567 s,@target_alias@,$target_alias,;t t
13568 s,@DEFS@,$DEFS,;t t
13569 s,@ECHO_C@,$ECHO_C,;t t
13570 s,@ECHO_N@,$ECHO_N,;t t
13571 s,@ECHO_T@,$ECHO_T,;t t
13572 s,@LIBS@,$LIBS,;t t
13573 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13574 s,@build@,$build,;t t
13575 s,@build_cpu@,$build_cpu,;t t
13576 s,@build_vendor@,$build_vendor,;t t
13577 s,@build_os@,$build_os,;t t
13578 s,@build_noncanonical@,$build_noncanonical,;t t
13579 s,@host_noncanonical@,$host_noncanonical,;t t
13580 s,@target_noncanonical@,$target_noncanonical,;t t
13581 s,@host@,$host,;t t
13582 s,@host_cpu@,$host_cpu,;t t
13583 s,@host_vendor@,$host_vendor,;t t
13584 s,@host_os@,$host_os,;t t
13585 s,@target@,$target,;t t
13586 s,@target_cpu@,$target_cpu,;t t
13587 s,@target_vendor@,$target_vendor,;t t
13588 s,@target_os@,$target_os,;t t
13589 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13590 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13591 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13593 s,@LN_S@,$LN_S,;t t
13594 s,@build_libsubdir@,$build_libsubdir,;t t
13595 s,@build_subdir@,$build_subdir,;t t
13596 s,@host_subdir@,$host_subdir,;t t
13597 s,@target_subdir@,$target_subdir,;t t
13599 s,@CFLAGS@,$CFLAGS,;t t
13600 s,@LDFLAGS@,$LDFLAGS,;t t
13601 s,@CPPFLAGS@,$CPPFLAGS,;t t
13602 s,@ac_ct_CC@,$ac_ct_CC,;t t
13603 s,@EXEEXT@,$EXEEXT,;t t
13604 s,@OBJEXT@,$OBJEXT,;t t
13606 s,@CXXFLAGS@,$CXXFLAGS,;t t
13607 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13608 s,@GNATBIND@,$GNATBIND,;t t
13609 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13610 s,@GNATMAKE@,$GNATMAKE,;t t
13611 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13612 s,@do_compare@,$do_compare,;t t
13613 s,@gmplibs@,$gmplibs,;t t
13614 s,@gmpinc@,$gmpinc,;t t
13615 s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
13616 s,@extra_mpc_gmp_configure_flags@,$extra_mpc_gmp_configure_flags,;t t
13617 s,@extra_mpc_mpfr_configure_flags@,$extra_mpc_mpfr_configure_flags,;t t
13618 s,@stage1_ldflags@,$stage1_ldflags,;t t
13619 s,@stage1_libs@,$stage1_libs,;t t
13620 s,@poststage1_ldflags@,$poststage1_ldflags,;t t
13621 s,@poststage1_libs@,$poststage1_libs,;t t
13622 s,@ppllibs@,$ppllibs,;t t
13623 s,@pplinc@,$pplinc,;t t
13624 s,@clooglibs@,$clooglibs,;t t
13625 s,@clooginc@,$clooginc,;t t
13626 s,@stage1_languages@,$stage1_languages,;t t
13627 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13628 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13629 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13630 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13631 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13632 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13633 s,@tooldir@,$tooldir,;t t
13634 s,@build_tooldir@,$build_tooldir,;t t
13635 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13636 s,@GDB_TK@,$GDB_TK,;t t
13637 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13638 s,@build_configargs@,$build_configargs,;t t
13639 s,@build_configdirs@,$build_configdirs,;t t
13640 s,@host_configargs@,$host_configargs,;t t
13641 s,@configdirs@,$configdirs,;t t
13642 s,@target_configargs@,$target_configargs,;t t
13643 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13644 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13645 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13646 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13647 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13648 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13649 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13650 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13651 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13652 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13653 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13654 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13655 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13656 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13657 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13658 s,@config_shell@,$config_shell,;t t
13659 s,@YACC@,$YACC,;t t
13660 s,@BISON@,$BISON,;t t
13663 s,@FLEX@,$FLEX,;t t
13664 s,@MAKEINFO@,$MAKEINFO,;t t
13665 s,@EXPECT@,$EXPECT,;t t
13666 s,@RUNTEST@,$RUNTEST,;t t
13669 s,@DLLTOOL@,$DLLTOOL,;t t
13671 s,@LIPO@,$LIPO,;t t
13673 s,@RANLIB@,$RANLIB,;t t
13674 s,@STRIP@,$STRIP,;t t
13675 s,@WINDRES@,$WINDRES,;t t
13676 s,@WINDMC@,$WINDMC,;t t
13677 s,@OBJCOPY@,$OBJCOPY,;t t
13678 s,@OBJDUMP@,$OBJDUMP,;t t
13679 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13680 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13681 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13682 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13683 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13684 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13685 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13686 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13687 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13688 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13689 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13690 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13691 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13692 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13693 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13694 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13695 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13696 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13697 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13698 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13699 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13700 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13701 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13702 s,@MAINT@,$MAINT,;t t
13703 s,@stage1_cflags@,$stage1_cflags,;t t
13704 s,@stage1_checking@,$stage1_checking,;t t
13705 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13706 s,@datarootdir@,$datarootdir,;t t
13707 s,@docdir@,$docdir,;t t
13708 s,@pdfdir@,$pdfdir,;t t
13709 s,@htmldir@,$htmldir,;t t
13710 s,@compare_exclusions@,$compare_exclusions,;t t
13711 s,@LIBOBJS@,$LIBOBJS,;t t
13712 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13713 /@serialization_dependencies@/r $serialization_dependencies
13714 s,@serialization_dependencies@,,;t t
13715 /@host_makefile_frag@/r $host_makefile_frag
13716 s,@host_makefile_frag@,,;t t
13717 /@target_makefile_frag@/r $target_makefile_frag
13718 s,@target_makefile_frag@,,;t t
13719 /@alphaieee_frag@/r $alphaieee_frag
13720 s,@alphaieee_frag@,,;t t
13721 /@ospace_frag@/r $ospace_frag
13722 s,@ospace_frag@,,;t t
13727 cat >>$CONFIG_STATUS <<\_ACEOF
13728 # Split the substitutions into bite-sized pieces for seds with
13729 # small command number limits, like on Digital OSF/1 and HP-UX.
13730 ac_max_sed_lines
=48
13731 ac_sed_frag
=1 # Number of current file.
13732 ac_beg
=1 # First line for current file.
13733 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13736 while $ac_more_lines; do
13737 if test $ac_beg -gt 1; then
13738 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13740 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13742 if test ! -s $tmp/subs.frag
; then
13743 ac_more_lines
=false
13745 # The purpose of the label and of the branching condition is to
13746 # speed up the sed processing (if there are no `@' at all, there
13747 # is no need to browse any of the substitutions).
13748 # These are the two extra sed commands mentioned above.
13750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13751 if test -z "$ac_sed_cmds"; then
13752 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13754 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13756 ac_sed_frag
=`expr $ac_sed_frag + 1`
13758 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13761 if test -z "$ac_sed_cmds"; then
13764 fi # test -n "$CONFIG_FILES"
13767 cat >>$CONFIG_STATUS <<\_ACEOF
13768 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13769 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13771 - |
*:- |
*:-:* ) # input from stdin
13773 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13774 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13775 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13776 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13777 * ) ac_file_in
=$ac_file.
in ;;
13780 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13781 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13783 X"$ac_file" : 'X\(//\)[^/]' \| \
13784 X"$ac_file" : 'X\(//\)$' \| \
13785 X"$ac_file" : 'X\(/\)' \| \
13786 . : '\(.\)' 2>/dev/null ||
13788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13790 /^X\(\/\/\)$/{ s//\1/; q; }
13791 /^X\(\/\).*/{ s//\1/; q; }
13793 { if $as_mkdir_p; then
13798 while test ! -d "$as_dir"; do
13799 as_dirs
="$as_dir $as_dirs"
13800 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13802 X"$as_dir" : 'X\(//\)[^/]' \| \
13803 X"$as_dir" : 'X\(//\)$' \| \
13804 X"$as_dir" : 'X\(/\)' \| \
13805 . : '\(.\)' 2>/dev/null ||
13807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13809 /^X\(\/\/\)$/{ s//\1/; q; }
13810 /^X\(\/\).*/{ s//\1/; q; }
13813 test ! -n "$as_dirs" || mkdir
$as_dirs
13814 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13815 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13816 { (exit 1); exit 1; }; }; }
13820 if test "$ac_dir" != .
; then
13821 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13822 # A "../" for each directory in $ac_dir_suffix.
13823 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13825 ac_dir_suffix
= ac_top_builddir
=
13829 .
) # No --srcdir option. We are building in place.
13831 if test -z "$ac_top_builddir"; then
13834 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13836 [\\/]* | ?
:[\\/]* ) # Absolute path.
13837 ac_srcdir
=$srcdir$ac_dir_suffix;
13838 ac_top_srcdir
=$srcdir ;;
13839 *) # Relative path.
13840 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13841 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13844 # Do not use `cd foo && pwd` to compute absolute paths, because
13845 # the directories may not exist.
13847 .
) ac_abs_builddir
="$ac_dir";;
13850 .
) ac_abs_builddir
=`pwd`;;
13851 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13852 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13855 case $ac_abs_builddir in
13856 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13858 case ${ac_top_builddir}.
in
13859 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13860 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13861 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13864 case $ac_abs_builddir in
13865 .
) ac_abs_srcdir
=$ac_srcdir;;
13868 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13869 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13870 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13873 case $ac_abs_builddir in
13874 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13876 case $ac_top_srcdir in
13877 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13878 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13879 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13885 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13886 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13889 if test x
"$ac_file" != x-
; then
13890 { echo "$as_me:$LINENO: creating $ac_file" >&5
13891 echo "$as_me: creating $ac_file" >&6;}
13894 # Let's still pretend it is `configure' which instantiates (i.e., don't
13895 # use $as_me), people would be surprised to read:
13896 # /* config.h. Generated by config.status. */
13897 if test x
"$ac_file" = x-
; then
13900 configure_input
="$ac_file. "
13902 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13903 sed 's,.*/,,'` by configure."
13905 # First look for the input files in the build tree, otherwise in the
13907 ac_file_inputs
=`IFS=:
13908 for f in $ac_file_in; do
13910 -) echo $tmp/stdin ;;
13912 # Absolute (can't be DOS-style, as IFS=:)
13913 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13914 echo "$as_me: error: cannot find input file: $f" >&2;}
13915 { (exit 1); exit 1; }; }
13918 if test -f "$f"; then
13921 elif test -f "$srcdir/$f"; then
13926 { { 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 done` ||
{ (exit 1); exit 1; }
13933 cat >>$CONFIG_STATUS <<_ACEOF
13937 cat >>$CONFIG_STATUS <<\_ACEOF
13939 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13940 s
,@configure_input@
,$configure_input,;t t
13941 s
,@srcdir@
,$ac_srcdir,;t t
13942 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13943 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13944 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13945 s
,@builddir@
,$ac_builddir,;t t
13946 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13947 s
,@top_builddir@
,$ac_top_builddir,;t t
13948 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13949 s
,@INSTALL@
,$ac_INSTALL,;t t
13950 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13952 if test x"$ac_file" != x-; then
13953 mv $tmp/out $ac_file
13962 cat >>$CONFIG_STATUS <<\_ACEOF
13964 { (exit 0); exit 0; }
13966 chmod +x $CONFIG_STATUS
13967 ac_clean_files=$ac_clean_files_save
13970 # configure is writing to config.log, and then calls config.status.
13971 # config.status does its own redirection, appending to config.log.
13972 # Unfortunately, on DOS this fails, as config.log is still kept open
13973 # by configure, so config.status won't be able to write to it; its
13974 # output is simply discarded. So we exec the FD to /dev/null,
13975 # effectively closing config.log, so it can be properly (re)opened and
13976 # appended to by config.status. When coming back to configure, we
13977 # need to make the FD available again.
13978 if test "$no_create" != yes; then
13980 ac_config_status_args=
13981 test "$silent" = yes &&
13982 ac_config_status_args="$ac_config_status_args --quiet"
13984 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13986 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13987 # would make configure fail if this is the last instruction.
13988 $ac_cs_success || { (exit 1); exit 1; }