2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_env_AR_set
=${AR+set}
742 ac_cv_env_AR_set
=${AR+set}
743 ac_cv_env_AR_value
=$AR
744 ac_env_AS_set
=${AS+set}
746 ac_cv_env_AS_set
=${AS+set}
747 ac_cv_env_AS_value
=$AS
748 ac_env_DLLTOOL_set
=${DLLTOOL+set}
749 ac_env_DLLTOOL_value
=$DLLTOOL
750 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_cv_env_DLLTOOL_value
=$DLLTOOL
752 ac_env_LD_set
=${LD+set}
754 ac_cv_env_LD_set
=${LD+set}
755 ac_cv_env_LD_value
=$LD
756 ac_env_LIPO_set
=${LIPO+set}
757 ac_env_LIPO_value
=$LIPO
758 ac_cv_env_LIPO_set
=${LIPO+set}
759 ac_cv_env_LIPO_value
=$LIPO
760 ac_env_NM_set
=${NM+set}
762 ac_cv_env_NM_set
=${NM+set}
763 ac_cv_env_NM_value
=$NM
764 ac_env_RANLIB_set
=${RANLIB+set}
765 ac_env_RANLIB_value
=$RANLIB
766 ac_cv_env_RANLIB_set
=${RANLIB+set}
767 ac_cv_env_RANLIB_value
=$RANLIB
768 ac_env_STRIP_set
=${STRIP+set}
769 ac_env_STRIP_value
=$STRIP
770 ac_cv_env_STRIP_set
=${STRIP+set}
771 ac_cv_env_STRIP_value
=$STRIP
772 ac_env_WINDRES_set
=${WINDRES+set}
773 ac_env_WINDRES_value
=$WINDRES
774 ac_cv_env_WINDRES_set
=${WINDRES+set}
775 ac_cv_env_WINDRES_value
=$WINDRES
776 ac_env_WINDMC_set
=${WINDMC+set}
777 ac_env_WINDMC_value
=$WINDMC
778 ac_cv_env_WINDMC_set
=${WINDMC+set}
779 ac_cv_env_WINDMC_value
=$WINDMC
780 ac_env_OBJCOPY_set
=${OBJCOPY+set}
781 ac_env_OBJCOPY_value
=$OBJCOPY
782 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
783 ac_cv_env_OBJCOPY_value
=$OBJCOPY
784 ac_env_OBJDUMP_set
=${OBJDUMP+set}
785 ac_env_OBJDUMP_value
=$OBJDUMP
786 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
787 ac_cv_env_OBJDUMP_value
=$OBJDUMP
788 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
789 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
790 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
791 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
792 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
793 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
794 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
795 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
796 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
797 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
798 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
799 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
800 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
801 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
802 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
803 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
804 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
805 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
806 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
807 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
808 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
809 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
810 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
811 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
812 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
813 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
814 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
815 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
816 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
817 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
818 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
819 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
820 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
821 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
822 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
823 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
824 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
825 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
826 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
827 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
828 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
829 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
830 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
831 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
832 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
833 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
834 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
835 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
836 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
837 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
838 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
839 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
840 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
841 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
842 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
843 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
844 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
845 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
846 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
847 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
848 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
849 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
850 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
851 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
854 # Report the --help message.
856 if test "$ac_init_help" = "long"; then
857 # Omit some internal or obsolete options to make the list less imposing.
858 # This message is too long to be a string in the A/UX 3.1 sh.
860 \`configure' configures this package to adapt to many kinds of systems.
862 Usage: $0 [OPTION]... [VAR=VALUE]...
864 To assign environment variables (e.g., CC, CFLAGS...), specify them as
865 VAR=VALUE. See below for descriptions of some of the useful variables.
867 Defaults for the options are specified in brackets.
870 -h, --help display this help and exit
871 --help=short display options specific to this package
872 --help=recursive display the short help of all the included packages
873 -V, --version display version information and exit
874 -q, --quiet, --silent do not print \`checking...' messages
875 --cache-file=FILE cache test results in FILE [disabled]
876 -C, --config-cache alias for \`--cache-file=config.cache'
877 -n, --no-create do not create output files
878 --srcdir=DIR find the sources in DIR [configure dir or \`..']
883 Installation directories:
884 --prefix=PREFIX install architecture-independent files in PREFIX
886 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
889 By default, \`make install' will install all the files in
890 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
891 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
892 for instance \`--prefix=\$HOME'.
894 For better control, use the options below.
896 Fine tuning of the installation directories:
897 --bindir=DIR user executables [EPREFIX/bin]
898 --sbindir=DIR system admin executables [EPREFIX/sbin]
899 --libexecdir=DIR program executables [EPREFIX/libexec]
900 --datadir=DIR read-only architecture-independent data [PREFIX/share]
901 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
902 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
903 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
904 --libdir=DIR object code libraries [EPREFIX/lib]
905 --includedir=DIR C header files [PREFIX/include]
906 --oldincludedir=DIR C header files for non-gcc [/usr/include]
907 --infodir=DIR info documentation [PREFIX/info]
908 --mandir=DIR man documentation [PREFIX/man]
914 --program-prefix=PREFIX prepend PREFIX to installed program names
915 --program-suffix=SUFFIX append SUFFIX to installed program names
916 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
919 --build=BUILD configure
for building on BUILD
[guessed
]
920 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
921 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
925 if test -n "$ac_init_help"; then
930 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
931 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
932 --enable-libada build libada directory
933 --enable-libssp build libssp directory
934 --enable-stage1-languages[=all
] choose additional languages to build during
935 stage1. Mostly useful
for compiler development.
936 --enable-objc-gc enable use of Boehm
's garbage collector with the
937 GNU Objective-C runtime
938 --enable-bootstrap enable bootstrapping [yes if native build]
939 --enable-serial-[{host,target,build}-]configure
940 force sequential configuration of
941 sub-packages for the host, target or build
942 machine, or all sub-packages
943 --enable-maintainer-mode enable make rules and dependencies not useful
944 (and sometimes confusing) to the casual installer
945 --enable-stage1-checking[=all] choose additional checking for stage1
947 --enable-werror enable -Werror in bootstrap stage2 and later
950 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
951 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
952 --with-build-libsubdir=DIR Directory where to find libraries for build system
953 --with-mpfr-dir=PATH this option has been REMOVED
954 --with-mpfr=PATH specify prefix directory for installed MPFR package.
955 Equivalent to --with-mpfr-include=PATH/include
956 plus --with-mpfr-lib=PATH/lib
957 --with-mpfr-include=PATH
958 specify directory for installed MPFR include files
959 --with-mpfr-lib=PATH specify directory for the installed MPFR library
960 --with-gmp-dir=PATH this option has been REMOVED
961 --with-gmp=PATH specify prefix directory for the installed GMP package.
962 Equivalent to --with-gmp-include=PATH/include
963 plus --with-gmp-lib=PATH/lib
964 --with-gmp-include=PATH specify directory for installed GMP include files
965 --with-gmp-lib=PATH specify directory for the installed GMP library
966 --with-build-sysroot=SYSROOT
967 use sysroot as the system root during the build
968 --with-debug-prefix-map='A
=B C
=D ...
'
969 map A to B, C to D ... in debug information
970 --with-build-time-tools=PATH
971 use given path to find target tools during the build
972 --with-datarootdir use datarootdir as the data root directory.
973 --with-docdir install documentation in this directory.
974 --with-pdfdir install pdf in this directory.
975 --with-htmldir install html in this directory.
977 Some influential environment variables:
978 CC C compiler command
979 CFLAGS C compiler flags
980 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
981 nonstandard directory <lib dir>
982 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
983 headers in a nonstandard directory <include dir>
984 CXX C++ compiler command
985 CXXFLAGS C++ compiler flags
988 DLLTOOL DLLTOOL for the host
990 LIPO LIPO for the host
992 RANLIB RANLIB for the host
993 STRIP STRIP for the host
994 WINDRES WINDRES for the host
995 WINDMC WINDMC for the host
996 OBJCOPY OBJCOPY for the host
997 OBJDUMP OBJDUMP for the host
1007 GFORTRAN for the target
1013 DLLTOOL for the target
1021 OBJDUMP for the target
1023 RANLIB for the target
1025 STRIP for the target
1027 WINDRES for the target
1029 WINDMC for the target
1031 Use these variables to override the choices made by `configure' or to
help
1032 it to
find libraries and programs with nonstandard names
/locations.
1037 if test "$ac_init_help" = "recursive"; then
1038 # If there are subdirs, report their specific --help.
1040 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1041 test -d $ac_dir ||
continue
1044 if test "$ac_dir" != .
; then
1045 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1046 # A "../" for each directory in $ac_dir_suffix.
1047 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1049 ac_dir_suffix
= ac_top_builddir
=
1053 .
) # No --srcdir option. We are building in place.
1055 if test -z "$ac_top_builddir"; then
1058 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1060 [\\/]* | ?
:[\\/]* ) # Absolute path.
1061 ac_srcdir
=$srcdir$ac_dir_suffix;
1062 ac_top_srcdir
=$srcdir ;;
1064 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1065 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1068 # Do not use `cd foo && pwd` to compute absolute paths, because
1069 # the directories may not exist.
1071 .
) ac_abs_builddir
="$ac_dir";;
1074 .
) ac_abs_builddir
=`pwd`;;
1075 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1076 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1079 case $ac_abs_builddir in
1080 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1082 case ${ac_top_builddir}.
in
1083 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1084 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1085 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1088 case $ac_abs_builddir in
1089 .
) ac_abs_srcdir
=$ac_srcdir;;
1092 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1093 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1094 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1097 case $ac_abs_builddir in
1098 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1100 case $ac_top_srcdir in
1101 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1102 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1103 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1108 # Check for guested configure; otherwise get Cygnus style configure.
1109 if test -f $ac_srcdir/configure.gnu
; then
1111 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1112 elif test -f $ac_srcdir/configure
; then
1114 $SHELL $ac_srcdir/configure
--help=recursive
1115 elif test -f $ac_srcdir/configure.ac ||
1116 test -f $ac_srcdir/configure.
in; then
1118 $ac_configure --help
1120 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 test -n "$ac_init_help" && exit 0
1127 if $ac_init_version; then
1130 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1131 This configure
script is free software
; the Free Software Foundation
1132 gives unlimited permission to copy
, distribute and modify it.
1138 This file contains any messages produced by compilers while
1139 running configure, to aid debugging if configure makes a mistake.
1141 It was created by $as_me, which was
1142 generated by GNU Autoconf 2.59. Invocation command line was
1153 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1154 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1155 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1156 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1157 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1159 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1160 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1162 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1163 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1164 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1165 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1166 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1167 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1168 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1176 test -z "$as_dir" && as_dir
=.
1177 echo "PATH: $as_dir"
1192 # Keep a trace of the command line.
1193 # Strip out --no-create and --no-recursion so they do not pile up.
1194 # Strip out --silent because we don't want to record it for future runs.
1195 # Also quote any args containing shell meta-characters.
1196 # Make two passes to allow for proper duplicate-argument suppression.
1201 ac_must_keep_next
=false
1207 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1209 |
-silent |
--silent |
--silen |
--sile |
--sil)
1211 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1212 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1215 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1217 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1218 if test $ac_must_keep_next = true
; then
1219 ac_must_keep_next
=false
# Got value, back to normal.
1222 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1223 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1224 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1225 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1226 case "$ac_configure_args0 " in
1227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1230 -* ) ac_must_keep_next
=true
;;
1233 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1234 # Get rid of the leading space.
1240 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1241 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1243 # When interrupted or exit'd, cleanup temporary files, and complete
1244 # config.log. We remove comments because anyway the quotes in there
1245 # would cause problems or look ugly.
1246 # WARNING: Be sure not to use single quotes in there, as some shells,
1247 # such as our DU 5.0 friend, will then `close' the trap.
1248 trap 'exit_status=$?
1249 # Save into config.log some information that might help in debugging.
1254 ## ---------------- ##
1255 ## Cache variables. ##
1256 ## ---------------- ##
1259 # The following way of writing the cache mishandles newlines in values,
1262 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1277 ## ----------------- ##
1278 ## Output variables. ##
1279 ## ----------------- ##
1282 for ac_var in $ac_subst_vars
1284 eval ac_val=$`echo $ac_var`
1285 echo "$ac_var='"'"'$ac_val'"'"'"
1289 if test -n "$ac_subst_files"; then
1296 for ac_var in $ac_subst_files
1298 eval ac_val=$`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1304 if test -s confdefs.h; then
1311 sed "/^$/d" confdefs.h | sort
1314 test "$ac_signal" != 0 &&
1315 echo "$as_me: caught signal $ac_signal"
1316 echo "$as_me: exit $exit_status"
1318 rm -f core *.core &&
1319 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1322 for ac_signal
in 1 2 13 15; do
1323 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1327 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1328 rm -rf conftest
* confdefs.h
1329 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1332 # Predefined preprocessor variables.
1334 cat >>confdefs.h
<<_ACEOF
1335 #define PACKAGE_NAME "$PACKAGE_NAME"
1339 cat >>confdefs.h
<<_ACEOF
1340 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1344 cat >>confdefs.h
<<_ACEOF
1345 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1349 cat >>confdefs.h
<<_ACEOF
1350 #define PACKAGE_STRING "$PACKAGE_STRING"
1354 cat >>confdefs.h
<<_ACEOF
1355 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1359 # Let the site file select an alternate cache file if it wants to.
1360 # Prefer explicitly selected file to automatically selected ones.
1361 if test -z "$CONFIG_SITE"; then
1362 if test "x$prefix" != xNONE
; then
1363 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1365 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1368 for ac_site_file
in $CONFIG_SITE; do
1369 if test -r "$ac_site_file"; then
1370 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1371 echo "$as_me: loading site script $ac_site_file" >&6;}
1372 sed 's/^/| /' "$ac_site_file" >&5
1377 if test -r "$cache_file"; then
1378 # Some versions of bash will fail to source /dev/null (special
1379 # files actually), so we avoid doing that.
1380 if test -f "$cache_file"; then
1381 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1382 echo "$as_me: loading cache $cache_file" >&6;}
1384 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1385 *) . .
/$cache_file;;
1389 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1390 echo "$as_me: creating cache $cache_file" >&6;}
1394 # Check that the precious variables saved in the cache have kept the same
1396 ac_cache_corrupted
=false
1397 for ac_var
in `(set) 2>&1 |
1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1399 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1400 eval ac_new_set
=\
$ac_env_${ac_var}_set
1401 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1402 eval ac_new_val
="\$ac_env_${ac_var}_value"
1403 case $ac_old_set,$ac_new_set in
1405 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1406 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1407 ac_cache_corrupted
=: ;;
1409 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1410 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1411 ac_cache_corrupted
=: ;;
1414 if test "x$ac_old_val" != "x$ac_new_val"; then
1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1418 echo "$as_me: former value: $ac_old_val" >&2;}
1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1420 echo "$as_me: current value: $ac_new_val" >&2;}
1421 ac_cache_corrupted
=:
1424 # Pass precious variables to config.status.
1425 if test "$ac_new_set" = set; then
1427 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1428 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1429 *) ac_arg
=$ac_var=$ac_new_val ;;
1431 case " $ac_configure_args " in
1432 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1433 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1437 if $ac_cache_corrupted; then
1438 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1439 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1440 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1441 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1442 { (exit 1); exit 1; }; }
1446 ac_cpp
='$CPP $CPPFLAGS'
1447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1471 # Find the build, host, and target systems.
1473 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1474 if test -f $ac_dir/install-sh
; then
1476 ac_install_sh
="$ac_aux_dir/install-sh -c"
1478 elif test -f $ac_dir/install.sh
; then
1480 ac_install_sh
="$ac_aux_dir/install.sh -c"
1482 elif test -f $ac_dir/shtool
; then
1484 ac_install_sh
="$ac_aux_dir/shtool install -c"
1488 if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; }
1493 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1494 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1495 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1497 # Make sure we can run config.sub.
1498 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: checking build system type" >&5
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505 if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_build_alias
=$build_alias
1509 test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias
=`$ac_config_guess`
1511 test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; }
1515 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1522 echo "${ECHO_T}$ac_cv_build" >&6
1524 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 case ${build_alias} in
1530 "") build_noncanonical
=${build} ;;
1531 *) build_noncanonical
=${build_alias} ;;
1536 case ${host_alias} in
1537 "") host_noncanonical
=${build_noncanonical} ;;
1538 *) host_noncanonical
=${host_alias} ;;
1543 case ${target_alias} in
1544 "") target_noncanonical
=${host_noncanonical} ;;
1545 *) target_noncanonical
=${target_alias} ;;
1551 test "$host_noncanonical" = "$target_noncanonical" &&
1552 test "$program_prefix$program_suffix$program_transform_name" = \
1554 program_transform_name
=s
,y
,y
,
1556 echo "$as_me:$LINENO: checking host system type" >&5
1557 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1558 if test "${ac_cv_host+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 ac_cv_host_alias
=$host_alias
1562 test -z "$ac_cv_host_alias" &&
1563 ac_cv_host_alias
=$ac_cv_build_alias
1564 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1565 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1566 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1567 { (exit 1); exit 1; }; }
1570 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1571 echo "${ECHO_T}$ac_cv_host" >&6
1573 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1574 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1575 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1578 echo "$as_me:$LINENO: checking target system type" >&5
1579 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1580 if test "${ac_cv_target+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_target_alias
=$target_alias
1584 test "x$ac_cv_target_alias" = "x" &&
1585 ac_cv_target_alias
=$ac_cv_host_alias
1586 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1587 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1588 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1589 { (exit 1); exit 1; }; }
1592 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1593 echo "${ECHO_T}$ac_cv_target" >&6
1594 target
=$ac_cv_target
1595 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1596 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1597 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600 # The aliases save the names the user supplied, while $host etc.
1601 # will get canonicalized.
1602 test -n "$target_alias" &&
1603 test "$program_prefix$program_suffix$program_transform_name" = \
1605 program_prefix
=${target_alias}-
1606 test "$program_prefix" != NONE
&&
1607 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1608 # Use a double $ so make ignores it.
1609 test "$program_suffix" != NONE
&&
1610 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1611 # Double any \ or $. echo might interpret backslashes.
1612 # By default was `s,x,x', remove it if useless.
1613 cat <<\_ACEOF
>conftest.
sed
1614 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1616 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1621 # Get 'install' or 'install-sh' and its variants.
1622 # Find a good install program. We prefer a C program (faster),
1623 # so one script is as good as another. But avoid the broken or
1624 # incompatible versions:
1625 # SysV /etc/install, /usr/sbin/install
1626 # SunOS /usr/etc/install
1627 # IRIX /sbin/install
1629 # AmigaOS /C/install, which installs bootblocks on floppy discs
1630 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1631 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1632 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1633 # OS/2's system install, which has a completely different semantic
1634 # ./install, which can be erroneously created by make from ./install.sh.
1635 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1636 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1637 if test -z "$INSTALL"; then
1638 if test "${ac_cv_path_install+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 # Account for people who put trailing slashes in PATH elements.
1648 .
/ | .
// |
/cC
/* | \
1649 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1650 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1653 # OSF1 and SCO ODT 3.0 have their own names for install.
1654 # Don't use installbsd from OSF since it installs stuff as root
1656 for ac_prog
in ginstall scoinst
install; do
1657 for ac_exec_ext
in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1659 if test $ac_prog = install &&
1660 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1661 # AIX install. It has an incompatible calling convention.
1663 elif test $ac_prog = install &&
1664 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1665 # program-specific install script used by HP pwplus--don't use.
1668 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1680 if test "${ac_cv_path_install+set}" = set; then
1681 INSTALL
=$ac_cv_path_install
1683 # As a last resort, use the slow shell script. We don't cache a
1684 # path for INSTALL within a source directory, because that will
1685 # break other packages using the cache if that directory is
1686 # removed, or if the path is relative.
1687 INSTALL
=$ac_install_sh
1690 echo "$as_me:$LINENO: result: $INSTALL" >&5
1691 echo "${ECHO_T}$INSTALL" >&6
1693 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1694 # It thinks the first close brace ends the variable substitution.
1695 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1697 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1699 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1701 echo "$as_me:$LINENO: checking whether ln works" >&5
1702 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1703 if test "${acx_cv_prog_LN+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 rm -f conftestdata_t
1707 echo >conftestdata_f
1708 if ln conftestdata_f conftestdata_t
2>/dev
/null
1714 rm -f conftestdata_f conftestdata_t
1717 if test $acx_cv_prog_LN = no
; then
1719 echo "$as_me:$LINENO: result: no, using $LN" >&5
1720 echo "${ECHO_T}no, using $LN" >&6
1722 LN
="$acx_cv_prog_LN"
1723 echo "$as_me:$LINENO: result: yes" >&5
1724 echo "${ECHO_T}yes" >&6
1727 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1728 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1730 if test "$LN_S" = "ln -s"; then
1731 echo "$as_me:$LINENO: result: yes" >&5
1732 echo "${ECHO_T}yes" >&6
1734 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1735 echo "${ECHO_T}no, using $LN_S" >&6
1739 ### we might need to use some other shell than /bin/sh for running subshells
1740 ### If we are on Windows, search for the shell. This will permit people
1741 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1742 ### without also having to set CONFIG_SHELL. This code will work when
1743 ### using bash, which sets OSTYPE.
1746 if test x
${CONFIG_SHELL} = x
; then
1747 if test ! -f /bin
/sh
; then
1748 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1749 CONFIG_SHELL
=${SHELL}
1752 for prog
in sh sh.exe bash bash.exe
; do
1753 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1754 for dir
in $PATH; do
1755 test -z "$dir" && dir
=.
1756 if test -f $dir/$prog; then
1757 CONFIG_SHELL
=$dir/$prog
1763 test -n "${CONFIG_SHELL}" && break
1771 config_shell
=${CONFIG_SHELL-/bin/sh}
1774 # if PWD already has a value, it is probably wrong.
1775 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1777 # Export original configure arguments for use by sub-configures.
1778 # Quote arguments with shell meta charatcers.
1779 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1780 set -- "$progname" "$@"
1784 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1785 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1786 # if the argument is of the form -foo=baz, quote the baz part only
1787 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1790 # Add the quoted argument to the list.
1791 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1793 if test "$silent" = yes; then
1794 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1796 # Remove the initial space we just introduced and, as these will be
1797 # expanded by make, quote '$'.
1798 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1801 moveifchange
=${srcdir}/move-if-change
1803 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1805 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1807 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1808 INSTALL
="${srcpwd}/install-sh -c"
1811 # Set srcdir to "." if that's what it is.
1812 # This is important for multilib support.
1814 if test "${pwd}" = "${srcpwd}" ; then
1822 ### To add a new directory to the tree, first choose whether it is a target
1823 ### or a host dependent tool. Then put it into the appropriate list
1824 ### (library or tools, host or target), doing a dependency sort.
1826 # Subdirs will be configured in the order listed in build_configdirs,
1827 # configdirs, or target_configdirs; see the serialization section below.
1829 # Dependency sorting is only needed when *configuration* must be done in
1830 # a particular order. In all cases a dependency should be specified in
1831 # the Makefile, whether or not it's implicitly specified here.
1833 # Double entries in build_configdirs, configdirs, or target_configdirs may
1834 # cause circular dependencies and break everything horribly.
1836 # these library is used by various programs built for the build
1839 build_libs
="build-libiberty"
1841 # these tools are built for the build environment
1842 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1844 # these libraries are used by various programs built for the host environment
1846 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1848 # these tools are built for the host environment
1849 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1850 # know that we are building the simulator.
1851 # binutils, gas and ld appear in that order because it makes sense to run
1852 # "make check" in that particular order.
1853 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
1855 # libgcj represents the runtime libraries only used by gcj.
1856 libgcj
="target-libffi \
1861 # these libraries are built for the target environment, and are built after
1862 # the host libraries and the host tools (which may be a cross compiler)
1864 target_libraries
="target-libgcc \
1869 target-libstdc++-v3 \
1872 target-libgfortran \
1878 # these tools are built using the target libraries, and are intended to
1879 # run only in the target environment
1881 # note: any program that *uses* libraries that are in the "target_libraries"
1882 # list belongs in this list. those programs are also very likely
1883 # candidates for the "native_only" list which follows
1885 target_tools
="target-examples target-groff target-gperf target-rda"
1887 ################################################################################
1889 ## All tools belong in one of the four categories, and are assigned above
1890 ## We assign ${configdirs} this way to remove all embedded newlines. This
1891 ## is important because configure will choke if they ever get through.
1892 ## ${configdirs} is directories we build using the host tools.
1893 ## ${target_configdirs} is directories we build using the target tools.
1894 configdirs
=`echo ${host_libs} ${host_tools}`
1895 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1896 build_configdirs
=`echo ${build_libs} ${build_tools}`
1898 ################################################################################
1900 srcname
="gnu development package"
1902 # This gets set non-empty for some net releases of packages.
1905 # Define is_cross_compiler to save on calls to 'test'.
1907 if test x
"${host}" = x
"${target}" ; then
1908 is_cross_compiler
=no
1910 is_cross_compiler
=yes
1913 # Find the build and target subdir names.
1915 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1916 # have matching libraries, they should use host libraries: Makefile.tpl
1917 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1918 # However, they still use the build modules, because the corresponding
1919 # host modules (e.g. bison) are only built for the host when bootstrap
1921 # - build_subdir is where we find build modules, and never changes.
1922 # - build_libsubdir is where we find build libraries, and can be overridden.
1924 # Prefix 'build-' so this never conflicts with target_subdir.
1925 build_subdir
="build-${build_noncanonical}"
1927 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1928 if test "${with_build_libsubdir+set}" = set; then
1929 withval
="$with_build_libsubdir"
1930 build_libsubdir
="$withval"
1932 build_libsubdir
="$build_subdir"
1934 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1935 if ( test $srcdir = .
&& test -d gcc
) \
1936 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1937 host_subdir
="host-${host_noncanonical}"
1942 target_subdir
=${target_noncanonical}
1945 # Skipdirs are removed silently.
1947 # Noconfigdirs are removed loudly.
1951 # Make sure we don't let GNU ld be added if we didn't want it.
1952 if test x
$with_gnu_ld = xno
; then
1954 noconfigdirs
="$noconfigdirs ld"
1958 # Make sure we don't let GNU as be added if we didn't want it.
1959 if test x
$with_gnu_as = xno
; then
1961 noconfigdirs
="$noconfigdirs gas"
1964 # some tools are so dependent upon X11 that if we're not building with X,
1965 # it's not even worth trying to configure, much less build, that tool.
1968 yes |
"") ;; # the default value for this tree is that X11 is available
1970 skipdirs
="${skipdirs} tk itcl libgui"
1971 # We won't be able to build gdbtk without X.
1974 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1977 # Some tools are only suitable for building in a "native" situation.
1978 # Remove these if host!=target.
1979 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"
1981 # Similarly, some are only suitable for cross toolchains.
1982 # Remove these if host=target.
1983 cross_only
="target-libgloss target-newlib target-opcodes"
1985 case $is_cross_compiler in
1986 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1987 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1990 # If both --with-headers and --with-libs are specified, default to
1992 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1993 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1994 if test x
"${with_newlib}" = x
; then
1999 # Recognize --with-newlib/--without-newlib.
2000 case ${with_newlib} in
2001 no
) skipdirs
="${skipdirs} target-newlib" ;;
2002 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2005 # Configure extra directories which are host specific
2009 configdirs
="$configdirs libtermcap" ;;
2012 # A target can indicate whether a language isn't supported for some reason.
2013 # Only spaces may be used in this macro; not newlines or tabs.
2014 unsupported_languages
=
2016 # Remove more programs from consideration, based on the host or
2017 # target this usually means that a port of the program doesn't
2022 noconfigdirs
="$noconfigdirs byacc"
2024 i
[3456789]86-*-vsta)
2025 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2027 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2028 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2031 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2033 i
[3456789]86-*-mingw32*)
2034 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2035 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2037 i
[3456789]86-*-beos*)
2038 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2041 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2044 noconfigdirs
="$noconfigdirs rcs"
2047 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2050 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2055 # Check whether --enable-libada or --disable-libada was given.
2056 if test "${enable_libada+set}" = set; then
2057 enableval
="$enable_libada"
2058 ENABLE_LIBADA
=$enableval
2062 if test "${ENABLE_LIBADA}" != "yes" ; then
2063 noconfigdirs
="$noconfigdirs gnattools"
2066 # Check whether --enable-libssp or --disable-libssp was given.
2067 if test "${enable_libssp+set}" = set; then
2068 enableval
="$enable_libssp"
2069 ENABLE_LIBSSP
=$enableval
2074 # Save it here so that, even in case of --enable-libgcj, if the Java
2075 # front-end isn't enabled, we still get libgcj disabled.
2076 libgcj_saved
=$libgcj
2077 case $enable_libgcj in
2079 # If we reset it here, it won't get added to noconfigdirs in the
2080 # target-specific build rules, so it will be forcibly enabled
2081 # (unless the Java language itself isn't enabled).
2085 # Make sure we get it printed in the list of not supported target libs.
2086 noconfigdirs
="$noconfigdirs ${libgcj}"
2091 # Disable libmudflap on some systems.
2092 if test x
$enable_libmudflap = x
; then
2094 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2095 # Enable libmudflap by default in GNU and friends.
2098 # Enable libmudflap by default in FreeBSD.
2101 # Disable it by default everywhere else.
2102 noconfigdirs
="$noconfigdirs target-libmudflap"
2107 # Disable libgomp on non POSIX hosted systems.
2108 if test x
$enable_libgomp = x
; then
2109 # Enable libgomp by default on hosted POSIX systems.
2111 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2113 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2115 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2117 *-*-darwin* |
*-*-aix*)
2120 noconfigdirs
="$noconfigdirs target-libgomp"
2125 # Default libgloss CPU subdirectory.
2126 libgloss_dir
="$target_cpu"
2130 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2132 powerpc-
*-darwin* | i
[3456789]86-*-darwin*)
2133 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2134 noconfigdirs
="$noconfigdirs sim target-rda"
2137 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2138 noconfigdirs
="$noconfigdirs sim target-rda"
2139 noconfigdirs
="$noconfigdirs ${libgcj}"
2141 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2142 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2145 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2146 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2147 && test -f /usr
/local
/include
/gmp.h
; then
2151 # Skip some stuff that's unsupported on some FreeBSD configurations.
2156 noconfigdirs
="$noconfigdirs ${libgcj}"
2161 # Remove unsupported stuff on all kaOS configurations.
2162 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2163 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2164 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2165 noconfigdirs
="$noconfigdirs target-libgloss"
2168 # Skip some stuff on all NetBSD configurations.
2169 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2171 # Skip some stuff that's unsupported on some NetBSD configurations.
2173 i
*86-*-netbsdelf*) ;;
2174 arm
*-*-netbsdelf*) ;;
2176 noconfigdirs
="$noconfigdirs ${libgcj}"
2181 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2184 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2186 # The tpf target doesn't support gdb yet.
2188 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2191 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2194 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2197 # ld works, but does not support shared libraries.
2198 # newlib is not 64 bit ready. I'm not sure about fileutils.
2199 # gas doesn't generate exception information.
2200 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2203 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2206 # newlib is not 64 bit ready
2207 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2210 # newlib is not 64 bit ready
2211 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2214 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2217 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2219 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2220 noconfigdirs
="$noconfigdirs ${libgcj}"
2221 noconfigdirs
="$noconfigdirs target-examples"
2222 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2223 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2224 noconfigdirs
="$noconfigdirs expect dejagnu"
2225 # the C++ libraries don't build on top of CE's C libraries
2226 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2227 noconfigdirs
="$noconfigdirs target-newlib"
2229 *-*-cygwin*) ;; # keep gdb and readline
2230 *) noconfigdirs
="$noconfigdirs gdb readline"
2236 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2240 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2241 noconfigdirs
="$noconfigdirs ${libgcj}"
2244 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2245 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2248 arm
*-*-linux-gnueabi)
2249 noconfigdirs
="$noconfigdirs target-qthreads"
2250 noconfigdirs
="$noconfigdirs target-libobjc"
2251 case ${with_newlib} in
2252 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2257 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2261 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2264 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2267 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2270 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2273 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2276 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2279 noconfigdirs
="$noconfigdirs gdb"
2280 if test x
${is_cross_compiler} != xno
; then
2281 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2284 c4x-
*-* | tic4x-
*-*)
2285 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2287 c54x
*-*-* | tic54x-
*-*)
2288 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2290 cris-
*-* | crisv32-
*-*)
2291 unsupported_languages
="$unsupported_languages java"
2294 unsupported_languages
="$unsupported_languages fortran"
2295 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2297 unsupported_languages
="$unsupported_languages fortran"
2298 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2300 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2302 unsupported_languages
="$unsupported_languages fortran"
2303 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2308 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2311 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2314 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2316 ep9312-
*-elf | ep9312-
*-coff)
2320 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2323 noconfigdirs
="$noconfigdirs ${libgcj}"
2326 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2329 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2331 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2333 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2334 # In this case, it's because the hppa64-linux target is for
2335 # the kernel only at this point and has no libc, and thus no
2336 # headers, crt*.o, etc., all of which are needed by these.
2337 noconfigdirs
="$noconfigdirs target-zlib"
2339 parisc
*-*-linux* | hppa
*-*-linux*)
2343 hppa
*-*-openbsd* | \
2345 noconfigdirs
="$noconfigdirs ${libgcj}"
2348 noconfigdirs
="$noconfigdirs ld shellutils"
2354 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2355 # build on HP-UX 10.20.
2356 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2359 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2362 # No gdb support yet.
2363 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2366 # No gdb or ld support yet.
2367 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2371 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2372 noconfigdirs
="$noconfigdirs ${libgcj}"
2375 i
[3456789]86-*-linux*)
2376 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2377 # not build java stuff by default.
2380 noconfigdirs
="$noconfigdirs ${libgcj}";;
2383 # This section makes it possible to build newlib natively on linux.
2384 # If we are using a cross compiler then don't configure newlib.
2385 if test x
${is_cross_compiler} != xno
; then
2386 noconfigdirs
="$noconfigdirs target-newlib"
2388 noconfigdirs
="$noconfigdirs target-libgloss"
2389 # If we are not using a cross compiler, do configure newlib.
2390 # Note however, that newlib will only be configured in this situation
2391 # if the --with-newlib option has been given, because otherwise
2392 # 'target-newlib' will appear in skipdirs.
2394 i
[3456789]86-*-mingw32*)
2395 target_configdirs
="$target_configdirs target-winsup"
2396 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2399 target_configdirs
="$target_configdirs target-winsup"
2400 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2403 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2404 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2405 # always build newlib if winsup directory is present.
2406 if test -d "$srcdir/winsup/cygwin"; then
2407 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2408 elif test -d "$srcdir/newlib"; then
2409 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2412 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2413 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2416 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2418 i
[3456789]86-*-sco3.2v5
*)
2419 # The linker does not yet know about weak symbols in COFF,
2420 # and is not configured to handle mixed ELF and COFF.
2421 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2423 i
[3456789]86-*-sco*)
2424 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2426 i
[3456789]86-*-solaris2*)
2427 noconfigdirs
="$noconfigdirs target-libgloss"
2429 i
[3456789]86-*-sysv4*)
2430 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2432 i
[3456789]86-*-beos*)
2433 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2435 i
[3456789]86-*-rdos*)
2436 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2439 noconfigdirs
="$noconfigdirs ${libgcj}"
2441 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2442 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2443 libgloss_dir
=m68hc11
2446 noconfigdirs
="$noconfigdirs ${libgcj}"
2449 noconfigdirs
="$noconfigdirs ${libgcj}"
2451 m68
*-*-* | fido-
*-*)
2455 # The EPOC C++ environment does not support exceptions or rtti,
2456 # and so building libstdc++-v3 tends not to always work.
2457 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2460 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2461 unsupported_languages
="$unsupported_languages fortran java"
2464 noconfigdirs
="$noconfigdirs ${libgcj}"
2467 noconfigdirs
="$noconfigdirs ${libgcj}"
2470 noconfigdirs
="$noconfigdirs sim"
2473 # copied from rs6000-*-* entry
2474 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2476 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2477 target_configdirs
="$target_configdirs target-winsup"
2478 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2479 # always build newlib.
2480 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2482 # This is temporary until we can link against shared libraries
2483 powerpcle-
*-solaris*)
2484 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2488 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2491 noconfigdirs
="$noconfigdirs ${libgcj}"
2494 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2498 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2501 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2504 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2507 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2510 skipdirs
="$skipdirs target-libiberty"
2511 noconfigdirs
="$noconfigdirs ${libgcj}"
2512 if test x
$with_newlib = xyes
; then
2513 noconfigdirs
="$noconfigdirs gprof"
2518 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2521 # Linking libjava exceeds command-line length limits on at least
2522 # IRIX 6.2, but not on IRIX 6.5.
2523 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2524 # <oldham@codesourcery.com>
2525 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2528 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2534 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2538 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2542 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2543 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2544 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2545 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2547 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2549 sparclet-
*-aout* | sparc86x-
*-*)
2553 noconfigdirs
="$noconfigdirs ${libgcj}"
2556 noconfigdirs
="$noconfigdirs ${libgcj}"
2560 noconfigdirs
="$noconfigdirs ${libgcj}"
2564 noconfigdirs
="$noconfigdirs ${libgcj}"
2565 if test x
${is_cross_compiler} != xno
; then
2566 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2571 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2572 noconfigdirs
="$noconfigdirs ${libgcj}"
2574 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2577 skipdirs
="target-libssp"
2580 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2583 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2586 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2589 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2592 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2598 noconfigdirs
="$noconfigdirs ${libgcj}"
2601 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2603 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2604 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2610 noconfigdirs
="$noconfigdirs ${libgcj}"
2614 # If we aren't building newlib, then don't build libgloss, since libgloss
2615 # depends upon some newlib header files.
2616 case "${noconfigdirs}" in
2617 *target-libgloss
*) ;;
2618 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2621 # Work in distributions that contain no compiler tools, like Autoconf.
2623 host_makefile_frag
=/dev
/null
2624 if test -d ${srcdir}/config
; then
2627 # Avoid "too much defining" errors from HPUX compiler.
2628 tentative_cc
="cc -Wp,-H256000"
2629 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2630 # If it's HP/UX ar, this should be harmless.
2634 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2637 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2638 # chokes on bfd, the compiler won't let you assign integers to enums, and
2639 # other problems. Defining CC to gcc is a questionable way to say "don't use
2640 # the apollo compiler" (the preferred version of GCC could be called cc,
2641 # or whatever), but I'm not sure leaving CC as cc is any better...
2642 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2643 # Used to have BISON=yacc.
2647 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2650 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2651 tentative_cc
="cc -Xa"
2652 host_makefile_frag
="config/mh-cxux"
2654 m88k-motorola-sysv
*)
2657 tentative_cc
="cc -Wf,-XNg1000"
2658 host_makefile_frag
="config/mh-decstation"
2661 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2662 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2663 host_makefile_frag
="config/mh-necv4"
2666 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2667 # environment. Also bump switch table size so that cp-parse will
2668 # compile. Bump string length limit so linker builds.
2669 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2672 host_makefile_frag
="config/mh-sysv4"
2675 # This is for a MIPS running RISC/os 4.52C.
2677 # This is needed for GDB, but needs to be in the top-level make because
2678 # if a library is compiled with the bsd headers and gets linked with the
2679 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2680 # a different size).
2681 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2682 # known except to select the sysv environment. Could we use /proc instead?
2683 # These "sysv environments" and "bsd environments" often end up being a pain.
2685 # This is not part of CFLAGS because perhaps not all C compilers have this
2687 tentative_cc
="cc -systype sysv"
2692 i
[3456789]86-*-sysv5*)
2693 host_makefile_frag
="config/mh-sysv5"
2695 i
[3456789]86-*-dgux*)
2696 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2697 host_makefile_frag
="config/mh-dgux386"
2699 i
[3456789]86-ncr-sysv4.3
*)
2700 # The MetaWare compiler will generate a copyright message unless you
2701 # turn it off by adding the -Hnocopyr flag.
2702 tentative_cc
="cc -Hnocopyr"
2704 i
[3456789]86-ncr-sysv4*)
2705 # for an NCR 3000 (i486/SVR4) system.
2706 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2707 # This compiler not only emits obnoxious copyright messages every time
2708 # you run it, but it chokes and dies on a whole bunch of GNU source
2709 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2710 tentative_cc
="/usr/ccs/ATT/cc"
2711 host_makefile_frag
="config/mh-ncr3000"
2713 i
[3456789]86-*-sco3.2v5
*)
2715 i
[3456789]86-*-sco*)
2716 # The native C compiler botches some simple uses of const. Unfortunately,
2717 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2718 tentative_cc
="cc -Dconst="
2719 host_makefile_frag
="config/mh-sco"
2721 i
[3456789]86-*-udk*)
2722 host_makefile_frag
="config/mh-sysv5"
2724 i
[3456789]86-*-solaris2*)
2725 host_makefile_frag
="config/mh-sysv4"
2727 i
[3456789]86-*-msdosdjgpp*)
2728 host_makefile_frag
="config/mh-djgpp"
2731 host_makefile_frag
="config/mh-cygwin"
2734 host_makefile_frag
="config/mh-mingw"
2737 host_makefile_frag
="config/mh-mingw"
2740 host_makefile_frag
="config/mh-interix"
2743 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2747 host_makefile_frag
="config/mh-solaris"
2750 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2751 # without overflowing the jump tables (-J says to use a 32 bit table)
2752 tentative_cc
="cc -J"
2755 tentative_cc
="cc -Wp,-H256000"
2758 tentative_cc
="cc -Wp,-H256000"
2761 # /bin/cc is less than useful for our purposes. Always use GCC
2762 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2763 host_makefile_frag
="config/mh-lynxrs6k"
2766 host_makefile_frag
="config/mh-ppc-darwin"
2769 host_makefile_frag
="config/mh-ppc-aix"
2772 host_makefile_frag
="config/mh-ppc-aix"
2775 # /bin/cc is less than useful for our purposes. Always use GCC
2776 tentative_cc
="/bin/gcc"
2779 host_makefile_frag
="config/mh-sysv4"
2781 # This is placed last to prevent interfering with the cases above.
2783 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2784 host_makefile_frag
="config/mh-x86omitfp"
2789 # If we aren't going to be using gcc, see if we can extract a definition
2790 # of CC from the fragment.
2791 # Actually, use the 'pre-extracted' version above.
2792 if test -z "${CC}" && test "${build}" = "${host}" ; then
2793 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2795 for dir
in $PATH; do
2796 test -z "$dir" && dir
=.
2797 if test -f $dir/gcc
; then
2803 if test -z "${found}" && test -n "${tentative_cc}" ; then
2808 if test "${build}" != "${host}" ; then
2809 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2810 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2811 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2812 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2813 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2814 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2815 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2816 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2817 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2818 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2819 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2820 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2822 AR_FOR_BUILD
="\$(AR)"
2823 AS_FOR_BUILD
="\$(AS)"
2824 CC_FOR_BUILD
="\$(CC)"
2825 CXX_FOR_BUILD
="\$(CXX)"
2826 GCJ_FOR_BUILD
="\$(GCJ)"
2827 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2828 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2829 LD_FOR_BUILD
="\$(LD)"
2830 NM_FOR_BUILD
="\$(NM)"
2831 RANLIB_FOR_BUILD
="\$(RANLIB)"
2832 WINDRES_FOR_BUILD
="\$(WINDRES)"
2833 WINDMC_FOR_BUILD
="\$(WINDMC)"
2837 ac_cpp
='$CPP $CPPFLAGS'
2838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2841 if test -n "$ac_tool_prefix"; then
2842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2843 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_CC+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC
="$CC" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 echo "$as_me:$LINENO: result: $CC" >&5
2871 echo "${ECHO_T}$CC" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2878 if test -z "$ac_cv_prog_CC"; then
2880 # Extract the first word of "gcc", so it can be a program name with args.
2881 set dummy gcc
; ac_word
=$2
2882 echo "$as_me:$LINENO: checking for $ac_word" >&5
2883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 if test -n "$ac_ct_CC"; then
2888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_ac_ct_CC
="gcc"
2898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2907 if test -n "$ac_ct_CC"; then
2908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2909 echo "${ECHO_T}$ac_ct_CC" >&6
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2920 if test -z "$CC"; then
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2923 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2924 echo "$as_me:$LINENO: checking for $ac_word" >&5
2925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2926 if test "${ac_cv_prog_CC+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 if test -n "$CC"; then
2930 ac_cv_prog_CC
="$CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test -n "$CC"; then
2950 echo "$as_me:$LINENO: result: $CC" >&5
2951 echo "${ECHO_T}$CC" >&6
2953 echo "$as_me:$LINENO: result: no" >&5
2954 echo "${ECHO_T}no" >&6
2958 if test -z "$ac_cv_prog_CC"; then
2960 # Extract the first word of "cc", so it can be a program name with args.
2961 set dummy cc
; ac_word
=$2
2962 echo "$as_me:$LINENO: checking for $ac_word" >&5
2963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 if test -n "$ac_ct_CC"; then
2968 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 for ac_exec_ext
in '' $ac_executable_extensions; do
2976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977 ac_cv_prog_ac_ct_CC
="cc"
2978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2987 if test -n "$ac_ct_CC"; then
2988 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2989 echo "${ECHO_T}$ac_ct_CC" >&6
2991 echo "$as_me:$LINENO: result: no" >&5
2992 echo "${ECHO_T}no" >&6
3001 if test -z "$CC"; then
3002 # Extract the first word of "cc", so it can be a program name with args.
3003 set dummy cc
; ac_word
=$2
3004 echo "$as_me:$LINENO: checking for $ac_word" >&5
3005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3006 if test "${ac_cv_prog_CC+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 if test -n "$CC"; then
3010 ac_cv_prog_CC
="$CC" # Let the user override the test.
3013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir
=.
3018 for ac_exec_ext
in '' $ac_executable_extensions; do
3019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3021 ac_prog_rejected
=yes
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test $ac_prog_rejected = yes; then
3032 # We found a bogon in the path, so make sure we never use it.
3033 set dummy
$ac_cv_prog_CC
3035 if test $# != 0; then
3036 # We chose a different compiler from the bogus one.
3037 # However, it has the same basename, so the bogon will be chosen
3038 # first if we set CC to just the basename; use the full file name.
3040 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3046 if test -n "$CC"; then
3047 echo "$as_me:$LINENO: result: $CC" >&5
3048 echo "${ECHO_T}$CC" >&6
3050 echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6
3055 if test -z "$CC"; then
3056 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3060 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_CC+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC
="$CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test -n "$CC"; then
3087 echo "$as_me:$LINENO: result: $CC" >&5
3088 echo "${ECHO_T}$CC" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3094 test -n "$CC" && break
3097 if test -z "$CC"; then
3101 # Extract the first word of "$ac_prog", so it can be a program name with args.
3102 set dummy
$ac_prog; ac_word
=$2
3103 echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 if test -n "$ac_ct_CC"; then
3109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_ac_ct_CC
="$ac_prog"
3119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3128 if test -n "$ac_ct_CC"; then
3129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3130 echo "${ECHO_T}$ac_ct_CC" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3136 test -n "$ac_ct_CC" && break
3145 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3146 See \`config.log' for more details." >&5
3147 echo "$as_me: error: no acceptable C compiler found in \$PATH
3148 See \`config.log' for more details." >&2;}
3149 { (exit 1); exit 1; }; }
3151 # Provide some information about the compiler.
3152 echo "$as_me:$LINENO:" \
3153 "checking for C compiler version" >&5
3154 ac_compiler
=`set X $ac_compile; echo $2`
3155 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3156 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3161 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }
3165 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3166 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3186 ac_clean_files_save
=$ac_clean_files
3187 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3188 # Try to create an executable without -o first, disregard a.out.
3189 # It will help us diagnose broken compilers, and finding out an intuition
3191 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3192 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3193 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3194 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3195 (eval $ac_link_default) 2>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; then
3199 # Find the output, starting from the most likely. This scheme is
3200 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3203 # Be careful to initialize this variable, since it used to be cached.
3204 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3206 # b.out is created by i960 compilers.
3207 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3209 test -f "$ac_file" ||
continue
3211 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3214 # This is the source file.
3217 # We found the default executable, but exeext='' is most
3221 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3222 # FIXME: I believe we export ac_cv_exeext for Libtool,
3223 # but it would be cool to find out if it's true. Does anybody
3224 # maintain Libtool? --akim.
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.
$ac_ext >&5
3235 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3236 See \`config.log' for more details." >&5
3237 echo "$as_me: error: C compiler cannot create executables
3238 See \`config.log' for more details." >&2;}
3239 { (exit 77); exit 77; }; }
3242 ac_exeext
=$ac_cv_exeext
3243 echo "$as_me:$LINENO: result: $ac_file" >&5
3244 echo "${ECHO_T}$ac_file" >&6
3246 # Check the compiler produces executables we can run. If not, either
3247 # the compiler is broken, or we cross compile.
3248 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3251 # If not cross compiling, check that we can run a simple program.
3252 if test "$cross_compiling" != yes; then
3253 if { ac_try
='./$ac_file'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; }; then
3261 if test "$cross_compiling" = maybe
; then
3264 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3265 If you meant to cross compile, use \`--host'.
3266 See \`config.log' for more details." >&5
3267 echo "$as_me: error: cannot run C compiled programs.
3268 If you meant to cross compile, use \`--host'.
3269 See \`config.log' for more details." >&2;}
3270 { (exit 1); exit 1; }; }
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3277 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3278 ac_clean_files
=$ac_clean_files_save
3279 # Check the compiler produces executables we can run. If not, either
3280 # the compiler is broken, or we cross compile.
3281 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3282 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3283 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3284 echo "${ECHO_T}$cross_compiling" >&6
3286 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3287 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3289 (eval $ac_link) 2>&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; then
3293 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3295 # work properly (i.e., refer to `conftest.exe'), while it won't with
3297 for ac_file
in conftest.exe conftest conftest.
*; do
3298 test -f "$ac_file" ||
continue
3300 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3301 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3308 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3309 See \`config.log' for more details." >&5
3310 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3311 See \`config.log' for more details." >&2;}
3312 { (exit 1); exit 1; }; }
3315 rm -f conftest
$ac_cv_exeext
3316 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3317 echo "${ECHO_T}$ac_cv_exeext" >&6
3319 rm -f conftest.
$ac_ext
3320 EXEEXT
=$ac_cv_exeext
3322 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3323 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3324 if test "${ac_cv_objext+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3327 cat >conftest.
$ac_ext <<_ACEOF
3330 cat confdefs.h
>>conftest.
$ac_ext
3331 cat >>conftest.
$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3342 rm -f conftest.o conftest.obj
3343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3344 (eval $ac_compile) 2>&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; then
3348 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3350 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3351 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.
$ac_ext >&5
3359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3360 See \`config.log' for more details." >&5
3361 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3362 See \`config.log' for more details." >&2;}
3363 { (exit 1); exit 1; }; }
3366 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3368 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3369 echo "${ECHO_T}$ac_cv_objext" >&6
3370 OBJEXT
=$ac_cv_objext
3372 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3373 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3374 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 cat >conftest.
$ac_ext <<_ACEOF
3380 cat confdefs.h
>>conftest.
$ac_ext
3381 cat >>conftest.
$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3395 rm -f conftest.
$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1
>conftest.err
3401 cat conftest.err
>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try
='test -z "$ac_c_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try
='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3428 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3429 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3430 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3431 ac_test_CFLAGS
=${CFLAGS+set}
3432 ac_save_CFLAGS
=$CFLAGS
3434 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3436 if test "${ac_cv_prog_cc_g+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3454 rm -f conftest.
$ac_objext
3455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456 (eval $ac_compile) 2>conftest.er1
3458 grep -v '^ *+' conftest.er1
>conftest.err
3460 cat conftest.err
>&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try
='test -z "$ac_c_werror_flag"
3464 || test ! -s conftest.err'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; } &&
3470 { ac_try
='test -s conftest.$ac_objext'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; }; then
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.
$ac_ext >&5
3483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3486 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3487 if test "$ac_test_CFLAGS" = set; then
3488 CFLAGS
=$ac_save_CFLAGS
3489 elif test $ac_cv_prog_cc_g = yes; then
3490 if test "$GCC" = yes; then
3496 if test "$GCC" = yes; then
3502 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3503 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3504 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 ac_cv_prog_cc_stdc
=no
3509 cat >conftest.
$ac_ext <<_ACEOF
3512 cat confdefs.h
>>conftest.
$ac_ext
3513 cat >>conftest.
$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3517 #include <sys/types.h>
3518 #include <sys/stat.h>
3519 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3520 struct buf { int x; };
3521 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3522 static char *e (p, i)
3528 static char *f (char * (*g) (char **, int), char **p, ...)
3533 s = g (p, va_arg (v,int));
3538 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3539 function prototypes and stuff, but not '\xHH' hex character constants.
3540 These don't provoke an error unfortunately, instead are silently treated
3541 as 'x'. The following induces an error, until -std1 is added to get
3542 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3543 array size at least. It's necessary to write '\x00'==0 to get something
3544 that's true only with -std1. */
3545 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3547 int test (int i, double x);
3548 struct s1 {int (*f) (int a);};
3549 struct s2 {int (*f) (double a);};
3550 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3556 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3561 # Don't try gcc -ansi; that turns off useful extensions and
3562 # breaks some systems' header files.
3563 # AIX -qlanglvl=ansi
3564 # Ultrix and OSF/1 -std1
3565 # HP-UX 10.20 and later -Ae
3566 # HP-UX older versions -Aa -D_HPUX_SOURCE
3567 # SVR4 -Xc -D__EXTENSIONS__
3568 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3570 CC
="$ac_save_CC $ac_arg"
3571 rm -f conftest.
$ac_objext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573 (eval $ac_compile) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1
>conftest.err
3577 cat conftest.err
>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try
='test -z "$ac_c_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3593 ac_cv_prog_cc_stdc
=$ac_arg
3596 echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.
$ac_ext >&5
3600 rm -f conftest.err conftest.
$ac_objext
3602 rm -f conftest.
$ac_ext conftest.
$ac_objext
3607 case "x$ac_cv_prog_cc_stdc" in
3609 echo "$as_me:$LINENO: result: none needed" >&5
3610 echo "${ECHO_T}none needed" >&6 ;;
3612 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3613 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3614 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3617 # Some people use a C++ compiler to compile C. Since we use `exit',
3618 # in C++ we need to declare it. In case someone uses the same compiler
3619 # for both compiling C and C++ we need to have the C++ compiler decide
3620 # the declaration of exit, since it's the most demanding environment.
3621 cat >conftest.
$ac_ext <<_ACEOF
3626 rm -f conftest.
$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3630 grep -v '^ *+' conftest.er1
>conftest.err
3632 cat conftest.err
>&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try
='test -z "$ac_c_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try
='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 for ac_declaration
in \
3650 'extern "C" void std::exit (int) throw (); using std::exit;' \
3651 'extern "C" void std::exit (int); using std::exit;' \
3652 'extern "C" void exit (int) throw ();' \
3653 'extern "C" void exit (int);' \
3656 cat >conftest.
$ac_ext <<_ACEOF
3659 cat confdefs.h
>>conftest.
$ac_ext
3660 cat >>conftest.
$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3672 rm -f conftest.
$ac_objext
3673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3674 (eval $ac_compile) 2>conftest.er1
3676 grep -v '^ *+' conftest.er1
>conftest.err
3678 cat conftest.err
>&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } &&
3681 { ac_try
='test -z "$ac_c_werror_flag"
3682 || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest.$ac_objext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 cat >conftest.
$ac_ext <<_ACEOF
3705 cat confdefs.h
>>conftest.
$ac_ext
3706 cat >>conftest.
$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3717 rm -f conftest.
$ac_objext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3719 (eval $ac_compile) 2>conftest.er1
3721 grep -v '^ *+' conftest.er1
>conftest.err
3723 cat conftest.err
>&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); } &&
3726 { ac_try
='test -z "$ac_c_werror_flag"
3727 || test ! -s conftest.err'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; } &&
3733 { ac_try
='test -s conftest.$ac_objext'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.
$ac_ext >&5
3745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3748 if test -n "$ac_declaration"; then
3749 echo '#ifdef __cplusplus' >>confdefs.h
3750 echo $ac_declaration >>confdefs.h
3751 echo '#endif' >>confdefs.h
3755 echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.
$ac_ext >&5
3759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3761 ac_cpp
='$CPP $CPPFLAGS'
3762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3767 ac_cpp
='$CXXCPP $CPPFLAGS'
3768 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3771 if test -n "$ac_tool_prefix"; then
3772 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3775 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3776 echo "$as_me:$LINENO: checking for $ac_word" >&5
3777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3778 if test "${ac_cv_prog_CXX+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 if test -n "$CXX"; then
3782 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir
=.
3789 for ac_exec_ext
in '' $ac_executable_extensions; do
3790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 if test -n "$CXX"; then
3802 echo "$as_me:$LINENO: result: $CXX" >&5
3803 echo "${ECHO_T}$CXX" >&6
3805 echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3809 test -n "$CXX" && break
3812 if test -z "$CXX"; then
3814 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3816 # Extract the first word of "$ac_prog", so it can be a program name with args.
3817 set dummy
$ac_prog; ac_word
=$2
3818 echo "$as_me:$LINENO: checking for $ac_word" >&5
3819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3820 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 if test -n "$ac_ct_CXX"; then
3824 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3843 if test -n "$ac_ct_CXX"; then
3844 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3845 echo "${ECHO_T}$ac_ct_CXX" >&6
3847 echo "$as_me:$LINENO: result: no" >&5
3848 echo "${ECHO_T}no" >&6
3851 test -n "$ac_ct_CXX" && break
3853 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3859 # Provide some information about the compiler.
3860 echo "$as_me:$LINENO:" \
3861 "checking for C++ compiler version" >&5
3862 ac_compiler
=`set X $ac_compile; echo $2`
3863 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3864 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }
3868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3869 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }
3873 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3874 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }
3879 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3880 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3881 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 cat >conftest.
$ac_ext <<_ACEOF
3887 cat confdefs.h
>>conftest.
$ac_ext
3888 cat >>conftest.
$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3902 rm -f conftest.
$ac_objext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904 (eval $ac_compile) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1
>conftest.err
3908 cat conftest.err
>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try
='test -z "$ac_cxx_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try
='test -s conftest.$ac_objext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3932 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3935 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3936 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3937 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3938 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3939 ac_save_CXXFLAGS
=$CXXFLAGS
3941 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3942 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3943 if test "${ac_cv_prog_cxx_g+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 cat >conftest.
$ac_ext <<_ACEOF
3949 cat confdefs.h
>>conftest.
$ac_ext
3950 cat >>conftest.
$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3961 rm -f conftest.
$ac_objext
3962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3963 (eval $ac_compile) 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } &&
3970 { ac_try
='test -z "$ac_cxx_werror_flag"
3971 || test ! -s conftest.err'
3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; } &&
3977 { ac_try
='test -s conftest.$ac_objext'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; }; then
3983 ac_cv_prog_cxx_g
=yes
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.
$ac_ext >&5
3990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3992 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3993 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3994 if test "$ac_test_CXXFLAGS" = set; then
3995 CXXFLAGS
=$ac_save_CXXFLAGS
3996 elif test $ac_cv_prog_cxx_g = yes; then
3997 if test "$GXX" = yes; then
4003 if test "$GXX" = yes; then
4009 for ac_declaration
in \
4011 'extern "C" void std::exit (int) throw (); using std::exit;' \
4012 'extern "C" void std::exit (int); using std::exit;' \
4013 'extern "C" void exit (int) throw ();' \
4014 'extern "C" void exit (int);' \
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4033 rm -f conftest.
$ac_objext
4034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4035 (eval $ac_compile) 2>conftest.er1
4037 grep -v '^ *+' conftest.er1
>conftest.err
4039 cat conftest.err
>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } &&
4042 { ac_try
='test -z "$ac_cxx_werror_flag"
4043 || test ! -s conftest.err'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; } &&
4049 { ac_try
='test -s conftest.$ac_objext'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; }; then
4057 echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.
$ac_ext >&5
4062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4063 cat >conftest.
$ac_ext <<_ACEOF
4066 cat confdefs.h
>>conftest.
$ac_ext
4067 cat >>conftest.
$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4078 rm -f conftest.
$ac_objext
4079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4080 (eval $ac_compile) 2>conftest.er1
4082 grep -v '^ *+' conftest.er1
>conftest.err
4084 cat conftest.err
>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } &&
4087 { ac_try
='test -z "$ac_cxx_werror_flag"
4088 || test ! -s conftest.err'
4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); }; } &&
4094 { ac_try
='test -s conftest.$ac_objext'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.
$ac_ext >&5
4106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4109 if test -n "$ac_declaration"; then
4110 echo '#ifdef __cplusplus' >>confdefs.h
4111 echo $ac_declaration >>confdefs.h
4112 echo '#endif' >>confdefs.h
4116 ac_cpp
='$CPP $CPPFLAGS'
4117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 # We must set the default linker to the linker used by gcc for the correct
4123 # operation of libtool. If LD is not defined and we are using gcc, try to
4124 # set the LD default to the ld used by gcc.
4125 if test -z "$LD"; then
4126 if test "$GCC" = yes; then
4129 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4131 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4133 case $gcc_prog_ld in
4134 # Accept absolute paths.
4135 [\\/]* |
[A-Za-z
]:[\\/]*)
4136 LD
="$gcc_prog_ld" ;;
4144 if test -n "$ac_tool_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4146 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4147 echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4149 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$GNATBIND"; then
4153 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 GNATBIND
=$ac_cv_prog_GNATBIND
4172 if test -n "$GNATBIND"; then
4173 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4174 echo "${ECHO_T}$GNATBIND" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4181 if test -z "$ac_cv_prog_GNATBIND"; then
4182 ac_ct_GNATBIND
=$GNATBIND
4183 # Extract the first word of "gnatbind", so it can be a program name with args.
4184 set dummy gnatbind
; ac_word
=$2
4185 echo "$as_me:$LINENO: checking for $ac_word" >&5
4186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4187 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 if test -n "$ac_ct_GNATBIND"; then
4191 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4210 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4211 if test -n "$ac_ct_GNATBIND"; then
4212 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4213 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4219 GNATBIND
=$ac_ct_GNATBIND
4221 GNATBIND
="$ac_cv_prog_GNATBIND"
4224 if test -n "$ac_tool_prefix"; then
4225 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4226 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4227 echo "$as_me:$LINENO: checking for $ac_word" >&5
4228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4229 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 if test -n "$GNATMAKE"; then
4233 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 GNATMAKE
=$ac_cv_prog_GNATMAKE
4252 if test -n "$GNATMAKE"; then
4253 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4254 echo "${ECHO_T}$GNATMAKE" >&6
4256 echo "$as_me:$LINENO: result: no" >&5
4257 echo "${ECHO_T}no" >&6
4261 if test -z "$ac_cv_prog_GNATMAKE"; then
4262 ac_ct_GNATMAKE
=$GNATMAKE
4263 # Extract the first word of "gnatmake", so it can be a program name with args.
4264 set dummy gnatmake
; ac_word
=$2
4265 echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4267 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 if test -n "$ac_ct_GNATMAKE"; then
4271 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4290 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4291 if test -n "$ac_ct_GNATMAKE"; then
4292 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4293 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4299 GNATMAKE
=$ac_ct_GNATMAKE
4301 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4304 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4305 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4306 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 cat >conftest.adb
<<EOF
4310 procedure conftest is begin null; end conftest;
4312 acx_cv_cc_gcc_supports_ada
=no
4313 # There is a bug in old released versions of GCC which causes the
4314 # driver to exit successfully when the appropriate language module
4315 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4316 # Therefore we must check for the error message as well as an
4317 # unsuccessful exit.
4318 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4319 # given a .adb file, but produce no object file. So we must check
4320 # if an object file was really produced to guard against this.
4321 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4322 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4323 acx_cv_cc_gcc_supports_ada
=yes
4327 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4328 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4330 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4336 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4337 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4338 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4344 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4345 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4348 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4351 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4352 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4355 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4361 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4362 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4363 do_compare
="$gcc_cv_prog_cmp_skip"
4367 # Check for GMP and MPFR
4368 gmplibs
="-lmpfr -lgmp"
4372 # Specify a location for mpfr
4373 # check for this first so it ends up on the link line before gmp.
4375 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4376 if test "${with_mpfr_dir+set}" = set; then
4377 withval
="$with_mpfr_dir"
4378 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4379 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4380 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4381 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4382 { (exit 1); exit 1; }; }
4386 # Check whether --with-mpfr or --without-mpfr was given.
4387 if test "${with_mpfr+set}" = set; then
4388 withval
="$with_mpfr"
4392 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4393 if test "${with_mpfr_include+set}" = set; then
4394 withval
="$with_mpfr_include"
4398 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4399 if test "${with_mpfr_lib+set}" = set; then
4400 withval
="$with_mpfr_lib"
4404 if test "x$with_mpfr" != x
; then
4405 gmplibs
="-L$with_mpfr/lib $gmplibs"
4406 gmpinc
="-I$with_mpfr/include"
4408 if test "x$with_mpfr_include" != x
; then
4409 gmpinc
="-I$with_mpfr_include"
4411 if test "x$with_mpfr_lib" != x
; then
4412 gmplibs
="-L$with_mpfr_lib $gmplibs"
4414 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4415 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4416 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4417 # Do not test the mpfr version. Assume that it is sufficient, since
4418 # it is in the source tree, and the library has not been built yet
4419 # but it would be included on the link line in the version check below
4420 # hence making the test fail.
4424 # Specify a location for gmp
4426 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4427 if test "${with_gmp_dir+set}" = set; then
4428 withval
="$with_gmp_dir"
4429 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4430 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4431 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4432 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4433 { (exit 1); exit 1; }; }
4437 # Check whether --with-gmp or --without-gmp was given.
4438 if test "${with_gmp+set}" = set; then
4443 # Check whether --with-gmp_include or --without-gmp_include was given.
4444 if test "${with_gmp_include+set}" = set; then
4445 withval
="$with_gmp_include"
4449 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4450 if test "${with_gmp_lib+set}" = set; then
4451 withval
="$with_gmp_lib"
4456 if test "x$with_gmp" != x
; then
4457 gmplibs
="-L$with_gmp/lib $gmplibs"
4458 gmpinc
="-I$with_gmp/include $gmpinc"
4460 if test "x$with_gmp_include" != x
; then
4461 gmpinc
="-I$with_gmp_include $gmpinc"
4463 if test "x$with_gmp_lib" != x
; then
4464 gmplibs
="-L$with_gmp_lib $gmplibs"
4466 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4467 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4468 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4469 # Do not test the gmp version. Assume that it is sufficient, since
4470 # it is in the source tree, and the library has not been built yet
4471 # but it would be included on the link line in the version check below
4472 # hence making the test fail.
4476 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4478 saved_CFLAGS
="$CFLAGS"
4479 CFLAGS
="$CFLAGS $gmpinc"
4480 # Check GMP actually works
4481 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4482 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4484 cat >conftest.
$ac_ext <<_ACEOF
4487 cat confdefs.h
>>conftest.
$ac_ext
4488 cat >>conftest.
$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4495 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4503 rm -f conftest.
$ac_objext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505 (eval $ac_compile) 2>conftest.er1
4507 grep -v '^ *+' conftest.er1
>conftest.err
4509 cat conftest.err
>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try
='test -z "$ac_c_werror_flag"
4513 || test ! -s conftest.err'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; } &&
4519 { ac_try
='test -s conftest.$ac_objext'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.
$ac_ext >&5
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6; have_gmp
=no
4534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4536 if test x
"$have_gmp" = xyes
; then
4538 LIBS
="$LIBS $gmplibs"
4539 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4540 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4541 cat >conftest.
$ac_ext <<_ACEOF
4544 cat confdefs.h
>>conftest.
$ac_ext
4545 cat >>conftest.
$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4553 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
4561 mpfr_atan2 (n, n, x, GMP_RNDN);
4562 mpfr_erfc (n, x, GMP_RNDN);
4563 mpfr_subnormalize (x, t, GMP_RNDN);
4569 rm -f conftest.
$ac_objext conftest
$ac_exeext
4570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4571 (eval $ac_link) 2>conftest.er1
4573 grep -v '^ *+' conftest.er1
>conftest.err
4575 cat conftest.err
>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try
='test -z "$ac_c_werror_flag"
4579 || test ! -s conftest.err'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; } &&
4585 { ac_try
='test -s conftest$ac_exeext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 cat >conftest.
$ac_ext <<_ACEOF
4594 cat confdefs.h
>>conftest.
$ac_ext
4595 cat >>conftest.
$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4603 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4606 mpfr_t n; mpfr_init(n);
4612 rm -f conftest.
$ac_objext conftest
$ac_exeext
4613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4614 (eval $ac_link) 2>conftest.er1
4616 grep -v '^ *+' conftest.er1
>conftest.err
4618 cat conftest.err
>&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } &&
4621 { ac_try
='test -z "$ac_c_werror_flag"
4622 || test ! -s conftest.err'
4623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; } &&
4628 { ac_try
='test -s conftest$ac_exeext'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; }; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4640 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4641 echo "${ECHO_T}buggy but acceptable" >&6
4643 rm -f conftest.err conftest.
$ac_objext \
4644 conftest
$ac_exeext conftest.
$ac_ext
4646 echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.
$ac_ext >&5
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; have_gmp
=no
4652 rm -f conftest.err conftest.
$ac_objext \
4653 conftest
$ac_exeext conftest.
$ac_ext
4656 CFLAGS
="$saved_CFLAGS"
4658 if test x
$have_gmp != xyes
; then
4659 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4660 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4661 Copies of these libraries' source code can be found at their respective
4662 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4663 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4664 If you obtained GMP and/or MPFR from a vendor distribution package, make
4665 sure that you have installed both the libraries and the header files.
4666 They may be located in separate packages." >&5
4667 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4668 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4669 Copies of these libraries' source code can be found at their respective
4670 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4671 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4672 If you obtained GMP and/or MPFR from a vendor distribution package, make
4673 sure that you have installed both the libraries and the header files.
4674 They may be located in separate packages." >&2;}
4675 { (exit 1); exit 1; }; }
4679 # Flags needed for both GMP and/or MPFR
4683 # By default, C is the only stage 1 language.
4684 stage1_languages
=,c
,
4686 # Figure out what language subdirectories are present.
4687 # Look if the user specified --enable-languages="..."; if not, use
4688 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4690 # NB: embedded tabs in this IF block -- do not untabify
4691 if test -d ${srcdir}/gcc
; then
4692 if test x
"${enable_languages+set}" != xset
; then
4693 if test x
"${LANGUAGES+set}" = xset
; then
4694 enable_languages
="${LANGUAGES}"
4695 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4697 enable_languages
=all
4700 if test x
"${enable_languages}" = x ||
4701 test x
"${enable_languages}" = xyes
;
4703 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4707 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4709 # 'f95' is the old name for the 'fortran' language. We issue a warning
4710 # and make the substitution.
4711 case ,${enable_languages}, in
4713 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4714 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4718 # First scan to see if an enabled language requires some other language.
4719 # We assume that a given config-lang.in will list all the language
4720 # front ends it requires, even if some are required indirectly.
4721 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4722 case ${lang_frag} in
4724 # The odd quoting in the next line works around
4725 # an apparent bug in bash 1.12 on linux.
4726 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4728 # From the config-lang.in, get $language, $lang_requires
4732 for other
in ${lang_requires} ; do
4733 case ,${enable_languages}, in
4737 echo " \`$other' language required by \`$language'; enabling" 1>&2
4738 enable_languages
="${enable_languages},${other}"
4746 new_enable_languages
=,c
,
4747 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4748 potential_languages
=,c
,
4750 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4751 case ${lang_frag} in
4753 # The odd quoting in the next line works around
4754 # an apparent bug in bash 1.12 on linux.
4755 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4757 # From the config-lang.in, get $language, $target_libs,
4758 # $lang_dirs, $boot_language, and $build_by_default
4764 build_by_default
=yes
4766 if test x
${language} = x
; then
4767 echo "${lang_frag} doesn't set \$language." 1>&2
4771 case ,${enable_languages}, in
4773 # Language was explicitly selected; include it.
4777 # 'all' was selected, select it if it is a default language
4778 add_this_lang
=${build_by_default}
4785 # Disable languages that need other directories if these aren't available.
4786 for i
in $subdir_requires; do
4787 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4788 case ,${enable_languages}, in
4790 # Specifically requested language; tell them.
4791 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4792 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4793 { (exit 1); exit 1; }; }
4797 add_this_lang
=unsupported
4802 # Disable Ada if no preexisting GNAT is available.
4803 case ,${enable_languages},:${language}:${have_gnat} in
4804 *,${language},*:ada
:no
)
4805 # Specifically requested language; tell them.
4806 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4807 echo "$as_me: error: GNAT is required to build $language" >&2;}
4808 { (exit 1); exit 1; }; }
4812 add_this_lang
=unsupported
4816 # Disable a language that is unsupported by the target.
4817 case " $unsupported_languages " in
4819 add_this_lang
=unsupported
4823 case $add_this_lang in
4825 # Remove language-dependent dirs.
4826 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4829 # Remove language-dependent dirs; still show language as supported.
4830 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4831 potential_languages
="${potential_languages}${language},"
4834 new_enable_languages
="${new_enable_languages}${language},"
4835 potential_languages
="${potential_languages}${language},"
4836 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4837 case ${boot_language} in
4839 # Add to (comma-separated) list of stage 1 languages.
4840 stage1_languages
="${stage1_languages}${language},"
4849 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4850 if test "${enable_stage1_languages+set}" = set; then
4851 enableval
="$enable_stage1_languages"
4852 case ,${enable_stage1_languages}, in
4854 # Set it to something that will have no effect in the loop below
4855 enable_stage1_languages
=c
;;
4857 enable_stage1_languages
=`echo $new_enable_languages | \
4858 sed -e "s/^,//" -e "s/,$//" ` ;;
4860 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4861 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4864 # Add "good" languages from enable_stage1_languages to stage1_languages,
4865 # while "bad" languages go in missing_languages. Leave no duplicates.
4866 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4867 case $potential_languages in
4869 case $stage1_languages in
4871 *) stage1_languages
="$stage1_languages$i," ;;
4874 case $missing_languages in
4876 *) missing_languages
="$missing_languages$i," ;;
4882 # Remove leading/trailing commas that were added for simplicity
4883 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4884 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4885 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4886 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4888 if test "x$missing_languages" != x
; then
4889 { { echo "$as_me:$LINENO: error:
4890 The following requested languages could not be built: ${missing_languages}
4891 Supported languages are: ${potential_languages}" >&5
4892 echo "$as_me: error:
4893 The following requested languages could not be built: ${missing_languages}
4894 Supported languages are: ${potential_languages}" >&2;}
4895 { (exit 1); exit 1; }; }
4897 if test "x$new_enable_languages" != "x$enable_languages"; then
4898 echo The following languages will be built
: ${new_enable_languages}
4899 enable_languages
="$new_enable_languages"
4903 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4906 # Handle --disable-<component> generically.
4907 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4908 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4909 if eval test x\
${enable_${dirname}} "=" xno
; then
4910 noconfigdirs
="$noconfigdirs $dir"
4914 # Check for Boehm's garbage collector
4915 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4916 if test "${enable_objc_gc+set}" = set; then
4917 enableval
="$enable_objc_gc"
4918 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4919 *,objc
,*:*:yes:*target-boehm-gc
*)
4920 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4921 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4922 { (exit 1); exit 1; }; }
4927 # Make sure we only build Boehm's garbage collector if required.
4928 case ,${enable_languages},:${enable_objc_gc} in
4930 # Keep target-boehm-gc if requested for Objective-C.
4933 # Otherwise remove target-boehm-gc depending on target-libjava.
4934 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4935 noconfigdirs
="$noconfigdirs target-boehm-gc"
4940 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4941 # $build_configdirs and $target_configdirs.
4942 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4945 for dir
in .
$skipdirs $noconfigdirs ; do
4946 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4947 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4948 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4949 if test -r $srcdir/$dirname/configure
; then
4950 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4953 notsupp
="$notsupp $dir"
4957 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4958 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4959 if test -r $srcdir/$dirname/configure
; then
4960 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4963 notsupp
="$notsupp $dir"
4967 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4968 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4969 if test -r $srcdir/$dirname/configure
; then
4970 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4973 notsupp
="$notsupp $dir"
4979 # Sometimes the tools are distributed with libiberty but with no other
4980 # libraries. In that case, we don't want to build target-libiberty.
4981 # Don't let libgcc imply libiberty either.
4982 if test -n "${target_configdirs}" ; then
4985 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4986 if test "$i" = "libgcc"; then
4987 libgcc
=target-libgcc
4988 elif test "$i" != "libiberty" ; then
4989 if test -r $srcdir/$i/configure
; then
4995 if test -z "${others}" ; then
4996 target_configdirs
=$libgcc
5000 # Quietly strip out all directories which aren't configurable in this tree.
5001 # This relies on all configurable subdirectories being autoconfiscated, which
5003 build_configdirs_all
="$build_configdirs"
5005 for i
in ${build_configdirs_all} ; do
5006 j
=`echo $i | sed -e s/build-//g`
5007 if test -f ${srcdir}/$j/configure
; then
5008 build_configdirs
="${build_configdirs} $i"
5012 configdirs_all
="$configdirs"
5014 for i
in ${configdirs_all} ; do
5015 if test -f ${srcdir}/$i/configure
; then
5016 configdirs
="${configdirs} $i"
5020 target_configdirs_all
="$target_configdirs"
5022 for i
in ${target_configdirs_all} ; do
5023 j
=`echo $i | sed -e s/target-//g`
5024 if test -f ${srcdir}/$j/configure
; then
5025 target_configdirs
="${target_configdirs} $i"
5029 # Produce a warning message for the subdirs we can't configure.
5030 # This isn't especially interesting in the Cygnus tree, but in the individual
5031 # FSF releases, it's important to let people know when their machine isn't
5032 # supported by the one or two programs in a package.
5034 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5035 # If $appdirs is non-empty, at least one of those directories must still
5036 # be configured, or we error out. (E.g., if the gas release supports a
5037 # specified target in some subdirs but not the gas subdir, we shouldn't
5038 # pretend that all is well.)
5039 if test -n "$appdirs" ; then
5040 for dir
in $appdirs ; do
5041 if test -r $dir/Makefile.
in ; then
5042 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5046 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5052 if test -n "$appdirs" ; then
5053 echo "*** This configuration is not supported by this package." 1>&2
5057 # Okay, some application will build, or we don't care to check. Still
5058 # notify of subdirs not getting built.
5059 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5060 echo " ${notsupp}" 1>&2
5061 echo " (Any other directories should still work fine.)" 1>&2
5069 # To find our prefix, in gcc_cv_tool_prefix.
5071 # The user is always right.
5072 if test "${PATH_SEPARATOR+set}" != set; then
5073 echo "#! /bin/sh" >conf$$.sh
5074 echo "exit 0" >>conf$$.sh
5076 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5086 if test "x$exec_prefix" = xNONE
; then
5087 if test "x$prefix" = xNONE
; then
5088 gcc_cv_tool_prefix
=$ac_default_prefix
5090 gcc_cv_tool_prefix
=$prefix
5093 gcc_cv_tool_prefix
=$exec_prefix
5096 # If there is no compiler in the tree, use the PATH only. In any
5097 # case, if there is no compiler in the tree nobody should use
5098 # AS_FOR_TARGET and LD_FOR_TARGET.
5099 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5100 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5101 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5102 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5103 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5104 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5105 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5106 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5111 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5112 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5120 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5121 if test "${with_build_sysroot+set}" = set; then
5122 withval
="$with_build_sysroot"
5123 if test x
"$withval" != x
; then
5124 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5127 SYSROOT_CFLAGS_FOR_TARGET
=
5132 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5133 if test "${with_debug_prefix_map+set}" = set; then
5134 withval
="$with_debug_prefix_map"
5135 if test x
"$withval" != x
; then
5136 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5137 for debug_map
in $withval; do
5138 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5142 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5146 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5147 # the named directory are copied to $(tooldir)/sys-include.
5148 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5149 if test x
${is_cross_compiler} = xno
; then
5150 echo 1>&2 '***' --with-headers is only supported when cross compiling
5153 if test x
"${with_headers}" != xyes
; then
5154 x
=${gcc_cv_tool_prefix}
5155 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5159 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5160 # the name directories are copied to $(tooldir)/lib. Multiple directories
5162 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5163 if test x
${is_cross_compiler} = xno
; then
5164 echo 1>&2 '***' --with-libs is only supported when cross compiling
5167 if test x
"${with_libs}" != xyes
; then
5168 # Copy the libraries in reverse order, so that files in the first named
5169 # library override files in subsequent libraries.
5170 x
=${gcc_cv_tool_prefix}
5171 for l
in ${with_libs}; do
5172 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5177 # Set with_gnu_as and with_gnu_ld as appropriate.
5179 # This is done by determining whether or not the appropriate directory
5180 # is available, and by checking whether or not specific configurations
5181 # have requested that this magic not happen.
5183 # The command line options always override the explicit settings in
5184 # configure.in, and the settings in configure.in override this magic.
5186 # If the default for a toolchain is to use GNU as and ld, and you don't
5187 # want to do that, then you should use the --without-gnu-as and
5188 # --without-gnu-ld options for the configure script.
5190 if test x
${use_gnu_as} = x
&&
5191 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5193 extra_host_args
="$extra_host_args --with-gnu-as"
5196 if test x
${use_gnu_ld} = x
&&
5197 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5199 extra_host_args
="$extra_host_args --with-gnu-ld"
5202 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5203 # can detect this case.
5205 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5207 extra_host_args
="$extra_host_args --with-newlib"
5210 # Handle ${copy_dirs}
5211 set fnord
${copy_dirs}
5213 while test $# != 0 ; do
5214 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5217 echo Copying
$1 to
$2
5219 # Use the install script to create the directory and all required
5220 # parent directories.
5221 if test -d $2 ; then
5225 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5228 # Copy the directory, assuming we have tar.
5229 # FIXME: Should we use B in the second tar? Not all systems support it.
5230 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5232 # It is the responsibility of the user to correctly adjust all
5233 # symlinks. If somebody can figure out how to handle them correctly
5234 # here, feel free to add the code.
5241 # Determine a target-dependent exec_prefix that the installed
5242 # gcc will search in. Keep this list sorted by triplet, with
5243 # the *-*-osname triplets last.
5247 md_exec_prefix
=/gnu
/lib
/gcc-lib
5249 i
[34567]86-pc-msdosdjgpp*)
5250 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5252 i
[34567]86-*-sco3.2v5
*)
5253 if test $with_gnu_as = yes; then
5254 md_exec_prefix
=/usr
/gnu
/bin
5256 md_exec_prefix
=/usr
/ccs
/bin
/elf
5261 powerpc-
*-chorusos* | \
5262 powerpc
*-*-eabi* | \
5263 powerpc
*-*-sysv* | \
5264 powerpc
*-*-kaos* | \
5266 md_exec_prefix
=/usr
/ccs
/bin
5271 md_exec_prefix
=/usr
/ccs
/bin
5286 md_exec_prefix
=/usr
/ccs
/bin
5290 extra_arflags_for_target
=
5291 extra_nmflags_for_target
=
5292 extra_ranlibflags_for_target
=
5293 target_makefile_frag
=/dev
/null
5296 target_makefile_frag
="config/mt-mep"
5299 target_makefile_frag
="config/mt-spu"
5302 target_makefile_frag
="config/mt-sde"
5304 mipsisa
*-*-elfoabi*)
5305 target_makefile_frag
="config/mt-mips-elfoabi"
5308 target_makefile_frag
="config/mt-netware"
5310 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5311 target_makefile_frag
="config/mt-gnu"
5313 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5314 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5315 # commands to handle both 32-bit and 64-bit objects. These flags are
5316 # harmless if we're using GNU nm or ar.
5317 extra_arflags_for_target
=" -X32_64"
5318 extra_nmflags_for_target
=" -B -X32_64"
5321 # ranlib from Darwin requires the -c flag to look at common symbols.
5322 extra_ranlibflags_for_target
=" -c"
5324 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5325 target_makefile_frag
="config/mt-wince"
5329 alphaieee_frag
=/dev
/null
5332 # This just makes sure to use the -mieee option to build target libs.
5333 # This should probably be set individually by each library.
5334 alphaieee_frag
="config/mt-alphaieee"
5338 # If --enable-target-optspace always use -Os instead of -O2 to build
5339 # the target libraries, similarly if it is not specified, use -Os
5340 # on selected platforms.
5341 ospace_frag
=/dev
/null
5342 case "${enable_target_optspace}:${target}" in
5344 ospace_frag
="config/mt-ospace"
5347 ospace_frag
="config/mt-d30v"
5349 :m32r-
* |
:d10v-
* |
:fr30-
*)
5350 ospace_frag
="config/mt-ospace"
5355 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5359 # Default to using --with-stabs for certain targets.
5360 if test x
${with_stabs} = x
; then
5364 mips
*-*-* | alpha
*-*-osf*)
5366 extra_host_args
="${extra_host_args} --with-stabs"
5371 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5372 # them automatically.
5375 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5379 # Some systems (e.g., one of the i386-aix systems the gas testers are
5380 # using) don't handle "\$" correctly, so don't use it here.
5381 tooldir
='${exec_prefix}'/${target_noncanonical}
5382 build_tooldir
=${tooldir}
5384 # Create a .gdbinit file which runs the one in srcdir
5385 # and tells GDB to look there for source files.
5387 if test -r ${srcdir}/.gdbinit
; then
5390 *) cat > .
/.gdbinit
<<EOF
5394 source ${srcdir}/.gdbinit
5400 # Make sure that the compiler is able to generate an executable. If it
5401 # can't, we are probably in trouble. We don't care whether we can run the
5402 # executable--we might be using a cross compiler--we only care whether it
5403 # can be created. At this point the main configure script has set CC.
5405 echo "int main () { return 0; }" > conftest.c
5406 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5407 if test $?
= 0 ; then
5408 if test -s conftest ||
test -s conftest.exe
; then
5414 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5415 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5422 # The Solaris /usr/ucb/cc compiler does not appear to work.
5424 sparc-sun-solaris2
*)
5425 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5426 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5428 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5429 if test -d /opt
/cygnus
/bin
; then
5430 if test "$could_use" = "" ; then
5431 could_use
="/opt/cygnus/bin"
5433 could_use
="$could_use or /opt/cygnus/bin"
5436 if test "$could_use" = "" ; then
5437 echo "Warning: compilation may fail because you're using"
5438 echo "/usr/ucb/cc. You should change your PATH or CC "
5439 echo "variable and rerun configure."
5441 echo "Warning: compilation may fail because you're using"
5442 echo "/usr/ucb/cc, when you should use the C compiler from"
5443 echo "$could_use. You should change your"
5444 echo "PATH or CC variable and rerun configure."
5451 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5452 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5453 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5456 # Record target_configdirs and the configure arguments for target and
5457 # build configuration in Makefile.
5458 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5459 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5461 # Determine whether gdb needs tk/tcl or not.
5462 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5463 # and in that case we want gdb to be built without tk. Ugh!
5464 # In fact I believe gdb is the *only* package directly dependent on tk,
5465 # so we should be able to put the 'maybe's in unconditionally and
5466 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5467 # 100% sure that that's safe though.
5469 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5470 case "$enable_gdbtk" in
5474 GDB_TK
="${gdb_tk}" ;;
5476 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5477 # distro. Eventually someone will fix this and move Insight, nee
5478 # gdbtk to a separate directory.
5479 if test -d ${srcdir}/gdb
/gdbtk
; then
5486 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5487 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5489 # Strip out unwanted targets.
5491 # While at that, we remove Makefiles if we were started for recursive
5492 # configuration, so that the top-level Makefile reconfigures them,
5493 # like we used to do when configure itself was recursive.
5495 # Loop over modules. $extrasub must be used with care, limiting as
5496 # much as possible the usage of range addresses. That's because autoconf
5497 # splits the sed script to overcome limits in the number of commands,
5498 # and relying on carefully-timed sed passes may turn out to be very hard
5499 # to maintain later. In this particular case, you just have to be careful
5500 # not to nest @if/@endif pairs, because configure will not warn you at all.
5502 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5503 if test "${enable_bootstrap+set}" = set; then
5504 enableval
="$enable_bootstrap"
5507 enable_bootstrap
=default
5510 # Issue errors and warnings for invalid/strange bootstrap combinations.
5511 case "$configdirs" in
5512 *gcc
*) have_compiler
=yes ;;
5513 *) have_compiler
=no
;;
5516 case "$have_compiler:$host:$target:$enable_bootstrap" in
5519 # Default behavior. Enable bootstrap if we have a compiler
5520 # and we are in a native configuration.
5521 yes:$build:$build:default
)
5522 enable_bootstrap
=yes ;;
5525 enable_bootstrap
=no
;;
5527 # We have a compiler and we are in a native configuration, bootstrap is ok
5528 yes:$build:$build:yes)
5531 # Other configurations, but we have a compiler. Assume the user knows
5534 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5535 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5538 # No compiler: if they passed --enable-bootstrap explicitly, fail
5540 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5541 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5542 { (exit 1); exit 1; }; } ;;
5544 # Fail if wrong command line
5546 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5547 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5548 { (exit 1); exit 1; }; }
5552 # Adjust the toplevel makefile according to whether bootstrap was selected.
5553 case "$enable_bootstrap" in
5555 bootstrap_suffix
=bootstrap
;;
5557 bootstrap_suffix
=no-bootstrap
;;
5560 for module
in ${build_configdirs} ; do
5561 if test -z "${no_recursion}" \
5562 && test -f ${build_subdir}/${module}/Makefile
; then
5563 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5564 rm -f ${build_subdir}/${module}/Makefile
5567 /^@if build-$module\$/d
5568 /^@endif build-$module\$/d
5569 /^@if build-$module-$bootstrap_suffix\$/d
5570 /^@endif build-$module-$bootstrap_suffix\$/d"
5572 for module
in ${configdirs} ; do
5573 if test -z "${no_recursion}"; then
5574 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5575 if test -f ${file}; then
5576 echo 1>&2 "*** removing ${file} to force reconfigure"
5583 /^@endif $module\$/d
5584 /^@if $module-$bootstrap_suffix\$/d
5585 /^@endif $module-$bootstrap_suffix\$/d"
5587 for module
in ${target_configdirs} ; do
5588 if test -z "${no_recursion}" \
5589 && test -f ${target_subdir}/${module}/Makefile
; then
5590 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5591 rm -f ${target_subdir}/${module}/Makefile
5594 /^@if target-$module\$/d
5595 /^@endif target-$module\$/d
5596 /^@if target-$module-$bootstrap_suffix\$/d
5597 /^@endif target-$module-$bootstrap_suffix\$/d"
5601 /^@if /,/^@endif /d"
5603 # Create the serialization dependencies. This uses a temporary file.
5605 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5606 if test "${enable_serial_configure+set}" = set; then
5607 enableval
="$enable_serial_configure"
5611 case ${enable_serial_configure} in
5613 enable_serial_build_configure
=yes
5614 enable_serial_host_configure
=yes
5615 enable_serial_target_configure
=yes
5619 # These force 'configure's to be done one at a time, to avoid problems
5620 # with contention over a shared config.cache.
5622 echo '# serdep.tmp' > serdep.tmp
5624 test "x${enable_serial_build_configure}" = xyes
&&
5625 for item
in ${build_configdirs} ; do
5628 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5633 test "x${enable_serial_host_configure}" = xyes
&&
5634 for item
in ${configdirs} ; do
5637 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5642 test "x${enable_serial_target_configure}" = xyes
&&
5643 for item
in ${target_configdirs} ; do
5646 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5650 serialization_dependencies
=serdep.tmp
5653 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5654 # target, nonopt, and variable assignments. These are the ones we
5655 # might not want to pass down to subconfigures. Also strip
5656 # program-prefix, program-suffix, and program-transform-name, so that
5657 # we can pass down a consistent program-transform-name.
5661 eval "set -- $ac_configure_args"
5664 if test X
"$skip_next" = X
"yes"; then
5668 if test X
"$keep_next" = X
"yes"; then
5671 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5673 baseargs
="$baseargs '$ac_arg'"
5678 # Handle separated arguments. Based on the logic generated by
5681 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5682 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5683 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5684 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5710 -program-prefix* | \
5711 -program-suffix* | \
5712 -program-transform-name* )
5713 skip_next
=$separate_arg
5717 # An option. Add it.
5720 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5722 baseargs
="$baseargs '$ac_arg'"
5723 keep_next
=$separate_arg
5726 # Either a variable assignment, or a nonopt (triplet). Don't
5727 # pass it down; let the Makefile handle this.
5732 # Remove the initial space we just introduced and, as these will be
5733 # expanded by make, quote '$'.
5734 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5736 # Add in --program-transform-name, after --program-prefix and
5737 # --program-suffix have been applied to it. Autoconf has already
5738 # doubled dollar signs and backslashes in program_transform_name; we want
5739 # the backslashes un-doubled, and then the entire thing wrapped in single
5740 # quotes, because this will be expanded first by make and then by the shell.
5741 # Also, because we want to override the logic in subdir configure scripts to
5742 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5743 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5744 ${program_transform_name}
5746 gcc_transform_name
=`cat conftestsed.out`
5747 rm -f conftestsed.out
5748 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5749 if test "$silent" = yes; then
5750 baseargs
="$baseargs --silent"
5753 # For the build-side libraries, we just need to pretend we're native,
5754 # and not use the same cache file. Multilibs are neither needed nor
5756 build_configargs
="--cache-file=../config.cache ${baseargs}"
5758 # For host modules, accept cache file option, or specification as blank.
5759 case "${cache_file}" in
5761 cache_file_option
="" ;;
5762 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5763 cache_file_option
="--cache-file=${cache_file}" ;;
5765 cache_file_option
="--cache-file=../${cache_file}" ;;
5768 # Host dirs don't like to share a cache file either, horribly enough.
5769 # This seems to be due to autoconf 2.5x stupidity.
5770 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5772 target_configargs
=${baseargs}
5774 # Passing a --with-cross-host argument lets the target libraries know
5775 # whether they are being built with a cross-compiler or being built
5776 # native. However, it would be better to use other mechanisms to make the
5777 # sorts of decisions they want to make on this basis. Please consider
5778 # this option to be deprecated. FIXME.
5779 if test x
${is_cross_compiler} = xyes
; then
5780 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5783 # Default to --enable-multilib.
5784 if test x
${enable_multilib} = x
; then
5785 target_configargs
="--enable-multilib ${target_configargs}"
5788 # Pass --with-newlib if appropriate. Note that target_configdirs has
5789 # changed from the earlier setting of with_newlib.
5790 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5791 target_configargs
="--with-newlib ${target_configargs}"
5794 # Different target subdirs use different values of certain variables
5795 # (notably CXX). Worse, multilibs use *lots* of different values.
5796 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5797 # it doesn't automatically accept command-line overrides of them.
5798 # This means it's not safe for target subdirs to share a cache file,
5799 # which is disgusting, but there you have it. Hopefully this can be
5800 # fixed in future. It's still worthwhile to use a cache file for each
5801 # directory. I think.
5803 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5804 # We need to pass --target, as newer autoconf's requires consistency
5805 # for target_alias and gcc doesn't manage it consistently.
5806 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5809 case " $target_configdirs " in
5811 case " $target_configargs " in
5812 *" --with-newlib "*)
5815 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' ;;
5818 # If we're not building GCC, don't discard standard headers.
5819 if test -d ${srcdir}/gcc
; then
5820 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5822 if test "${build}" != "${host}"; then
5823 # On Canadian crosses, CC_FOR_TARGET will have already been set
5824 # by `configure', so we won't have an opportunity to add -Bgcc/
5825 # to it. This is right: we don't want to search that directory
5826 # for binaries, but we want the header files in there, so add
5828 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5830 # Someone might think of using the pre-installed headers on
5831 # Canadian crosses, in case the installed compiler is not fully
5832 # compatible with the compiler being built. In this case, it
5833 # would be better to flag an error than risking having
5834 # incompatible object files being constructed. We can't
5835 # guarantee that an error will be flagged, but let's hope the
5836 # compiler will do it, when presented with incompatible header
5841 case "${target}-${is_cross_compiler}" in
5842 i
[3456789]86-*-linux*-no)
5843 # Here host == target, so we don't need to build gcc,
5844 # so we don't want to discard standard headers.
5845 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5848 # If we're building newlib, use its generic headers last, but search
5849 # for any libc-related directories first (so make it the last -B
5851 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5853 # If we're building libgloss, find the startup file, simulator library
5854 # and linker script.
5855 case " $target_configdirs " in
5857 # Look for startup file, simulator library and maybe linker script.
5858 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
5859 # Look for libnosys.a in case the target needs it.
5860 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5861 # Most targets have the linker script in the source directory.
5862 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
5873 # Can't be handled as Cygwin above since Mingw does not use newlib.
5874 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' ;;
5877 # Allow the user to override the flags for
5878 # our build compiler if desired.
5879 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5880 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CFLAGS}}
5881 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${CFLAGS}}
5883 # On Canadian crosses, we'll be searching the right directories for
5884 # the previously-installed cross compiler, so don't bother to add
5885 # flags for directories within the install tree of the compiler
5886 # being built; programs in there won't even run.
5887 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5888 # Search for pre-installed headers if nothing else fits.
5889 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5892 if test "x
${use_gnu_ld}" = x &&
5893 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5894 # Arrange for us to find uninstalled linker scripts.
5895 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5898 # Search for other target-specific linker scripts and such.
5901 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5905 # Makefile fragments.
5906 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5908 eval fragval=\$$frag
5909 if test $fragval != /dev/null; then
5910 eval $frag=${srcdir}/$fragval
5918 # Miscellanea: directories, flags, etc.
5926 # Build module lists & subconfigure args.
5930 # Host module lists & subconfigure args.
5934 # Target module lists & subconfigure args.
5956 # Generate default definitions for YACC, M4, LEX and other programs that run
5957 # on the build machine. These are used if the Makefile can't locate these
5958 # programs in objdir.
5959 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5961 for ac_prog in 'bison -y' byacc yacc
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy $ac_prog; ac_word=$2
5965 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5966 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5967 if test "${ac_cv_prog_YACC+set}" = set; then
5968 echo $ECHO_N "(cached
) $ECHO_C" >&6
5970 if test -n "$YACC"; then
5971 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_YACC="$ac_prog"
5981 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5989 YACC=$ac_cv_prog_YACC
5990 if test -n "$YACC"; then
5991 echo "$as_me:$LINENO: result
: $YACC" >&5
5992 echo "${ECHO_T}$YACC" >&6
5994 echo "$as_me:$LINENO: result
: no
" >&5
5995 echo "${ECHO_T}no
" >&6
5998 test -n "$YACC" && break
6000 test -n "$YACC" || YACC="$MISSING bison
-y"
6002 case " $build_configdirs " in
6003 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6004 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6007 for ac_prog in bison
6009 # Extract the first word of "$ac_prog", so it can be a program name with args.
6010 set dummy $ac_prog; ac_word=$2
6011 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6012 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6013 if test "${ac_cv_prog_BISON+set}" = set; then
6014 echo $ECHO_N "(cached
) $ECHO_C" >&6
6016 if test -n "$BISON"; then
6017 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_BISON="$ac_prog"
6027 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6035 BISON=$ac_cv_prog_BISON
6036 if test -n "$BISON"; then
6037 echo "$as_me:$LINENO: result
: $BISON" >&5
6038 echo "${ECHO_T}$BISON" >&6
6040 echo "$as_me:$LINENO: result
: no
" >&5
6041 echo "${ECHO_T}no
" >&6
6044 test -n "$BISON" && break
6046 test -n "$BISON" || BISON="$MISSING bison
"
6048 case " $build_configdirs " in
6049 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6052 for ac_prog in gm4 gnum4 m4
6054 # Extract the first word of "$ac_prog", so it can be a program name with args.
6055 set dummy $ac_prog; ac_word=$2
6056 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6057 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6058 if test "${ac_cv_prog_M4+set}" = set; then
6059 echo $ECHO_N "(cached
) $ECHO_C" >&6
6061 if test -n "$M4"; then
6062 ac_cv_prog_M4="$M4" # Let the user override the test.
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_M4="$ac_prog"
6072 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6081 if test -n "$M4"; then
6082 echo "$as_me:$LINENO: result
: $M4" >&5
6083 echo "${ECHO_T}$M4" >&6
6085 echo "$as_me:$LINENO: result
: no
" >&5
6086 echo "${ECHO_T}no
" >&6
6089 test -n "$M4" && break
6091 test -n "$M4" || M4="$MISSING m4"
6093 case " $build_configdirs " in
6094 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6097 for ac_prog in flex lex
6099 # Extract the first word of "$ac_prog", so it can be a program name with args.
6100 set dummy $ac_prog; ac_word=$2
6101 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6102 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6103 if test "${ac_cv_prog_LEX+set}" = set; then
6104 echo $ECHO_N "(cached
) $ECHO_C" >&6
6106 if test -n "$LEX"; then
6107 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_LEX="$ac_prog"
6117 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6126 if test -n "$LEX"; then
6127 echo "$as_me:$LINENO: result
: $LEX" >&5
6128 echo "${ECHO_T}$LEX" >&6
6130 echo "$as_me:$LINENO: result
: no
" >&5
6131 echo "${ECHO_T}no
" >&6
6134 test -n "$LEX" && break
6136 test -n "$LEX" || LEX="$MISSING flex
"
6138 case " $build_configdirs " in
6139 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6140 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6145 # Extract the first word of "$ac_prog", so it can be a program name with args.
6146 set dummy $ac_prog; ac_word=$2
6147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6149 if test "${ac_cv_prog_FLEX+set}" = set; then
6150 echo $ECHO_N "(cached
) $ECHO_C" >&6
6152 if test -n "$FLEX"; then
6153 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_FLEX="$ac_prog"
6163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6171 FLEX=$ac_cv_prog_FLEX
6172 if test -n "$FLEX"; then
6173 echo "$as_me:$LINENO: result
: $FLEX" >&5
6174 echo "${ECHO_T}$FLEX" >&6
6176 echo "$as_me:$LINENO: result
: no
" >&5
6177 echo "${ECHO_T}no
" >&6
6180 test -n "$FLEX" && break
6182 test -n "$FLEX" || FLEX="$MISSING flex
"
6184 case " $build_configdirs " in
6185 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6188 for ac_prog in makeinfo
6190 # Extract the first word of "$ac_prog", so it can be a program name with args.
6191 set dummy $ac_prog; ac_word=$2
6192 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6194 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6195 echo $ECHO_N "(cached
) $ECHO_C" >&6
6197 if test -n "$MAKEINFO"; then
6198 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_MAKEINFO="$ac_prog"
6208 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6216 MAKEINFO=$ac_cv_prog_MAKEINFO
6217 if test -n "$MAKEINFO"; then
6218 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6219 echo "${ECHO_T}$MAKEINFO" >&6
6221 echo "$as_me:$LINENO: result
: no
" >&5
6222 echo "${ECHO_T}no
" >&6
6225 test -n "$MAKEINFO" && break
6227 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6229 case " $build_configdirs " in
6230 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6233 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6234 # higher, else we use the "missing
" dummy.
6235 if ${MAKEINFO} --version \
6236 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6239 MAKEINFO="$MISSING makeinfo
"
6245 # FIXME: expect and dejagnu may become build tools?
6247 for ac_prog in expect
6249 # Extract the first word of "$ac_prog", so it can be a program name with args.
6250 set dummy $ac_prog; ac_word=$2
6251 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6252 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6253 if test "${ac_cv_prog_EXPECT+set}" = set; then
6254 echo $ECHO_N "(cached
) $ECHO_C" >&6
6256 if test -n "$EXPECT"; then
6257 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266 ac_cv_prog_EXPECT="$ac_prog"
6267 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6275 EXPECT=$ac_cv_prog_EXPECT
6276 if test -n "$EXPECT"; then
6277 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6278 echo "${ECHO_T}$EXPECT" >&6
6280 echo "$as_me:$LINENO: result
: no
" >&5
6281 echo "${ECHO_T}no
" >&6
6284 test -n "$EXPECT" && break
6286 test -n "$EXPECT" || EXPECT="expect
"
6288 case " $configdirs " in
6290 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6294 for ac_prog in runtest
6296 # Extract the first word of "$ac_prog", so it can be a program name with args.
6297 set dummy $ac_prog; ac_word=$2
6298 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6299 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6300 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6301 echo $ECHO_N "(cached
) $ECHO_C" >&6
6303 if test -n "$RUNTEST"; then
6304 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_prog_RUNTEST="$ac_prog"
6314 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6322 RUNTEST=$ac_cv_prog_RUNTEST
6323 if test -n "$RUNTEST"; then
6324 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6325 echo "${ECHO_T}$RUNTEST" >&6
6327 echo "$as_me:$LINENO: result
: no
" >&5
6328 echo "${ECHO_T}no
" >&6
6331 test -n "$RUNTEST" && break
6333 test -n "$RUNTEST" || RUNTEST="runtest
"
6335 case " $configdirs " in
6337 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6344 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6345 ncn_target_tool_prefix=
6346 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6350 if test -n "$AR"; then
6352 elif test -n "$ac_cv_prog_AR"; then
6356 if test -n "$ac_cv_prog_AR"; then
6357 for ncn_progname in ar; do
6358 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6359 set dummy ${ncn_progname}; ac_word=$2
6360 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6361 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6362 if test "${ac_cv_prog_AR+set}" = set; then
6363 echo $ECHO_N "(cached
) $ECHO_C" >&6
6365 if test -n "$AR"; then
6366 ac_cv_prog_AR="$AR" # Let the user override the test.
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6375 ac_cv_prog_AR="${ncn_progname}"
6376 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6385 if test -n "$AR"; then
6386 echo "$as_me:$LINENO: result
: $AR" >&5
6387 echo "${ECHO_T}$AR" >&6
6389 echo "$as_me:$LINENO: result
: no
" >&5
6390 echo "${ECHO_T}no
" >&6
6396 for ncn_progname in ar; do
6397 if test -n "$ncn_tool_prefix"; then
6398 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6399 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6400 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6401 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6402 if test "${ac_cv_prog_AR+set}" = set; then
6403 echo $ECHO_N "(cached
) $ECHO_C" >&6
6405 if test -n "$AR"; then
6406 ac_cv_prog_AR="$AR" # Let the user override the test.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6416 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6425 if test -n "$AR"; then
6426 echo "$as_me:$LINENO: result
: $AR" >&5
6427 echo "${ECHO_T}$AR" >&6
6429 echo "$as_me:$LINENO: result
: no
" >&5
6430 echo "${ECHO_T}no
" >&6
6434 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6436 set dummy ${ncn_progname}; ac_word=$2
6437 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6438 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6439 if test "${ac_cv_prog_AR+set}" = set; then
6440 echo $ECHO_N "(cached
) $ECHO_C" >&6
6442 if test -n "$AR"; then
6443 ac_cv_prog_AR="$AR" # Let the user override the test.
6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 test -z "$as_dir" && as_dir=.
6450 for ac_exec_ext in '' $ac_executable_extensions; do
6451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6452 ac_cv_prog_AR="${ncn_progname}"
6453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6462 if test -n "$AR"; then
6463 echo "$as_me:$LINENO: result
: $AR" >&5
6464 echo "${ECHO_T}$AR" >&6
6466 echo "$as_me:$LINENO: result
: no
" >&5
6467 echo "${ECHO_T}no
" >&6
6471 test -n "$ac_cv_prog_AR" && break
6474 if test -z "$ac_cv_prog_AR" ; then
6476 if test $build = $host ; then
6479 AR="${ncn_tool_prefix}$2"
6485 if test -n "$AS"; then
6487 elif test -n "$ac_cv_prog_AS"; then
6491 if test -n "$ac_cv_prog_AS"; then
6492 for ncn_progname in as; do
6493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6494 set dummy ${ncn_progname}; ac_word=$2
6495 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6496 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6497 if test "${ac_cv_prog_AS+set}" = set; then
6498 echo $ECHO_N "(cached
) $ECHO_C" >&6
6500 if test -n "$AS"; then
6501 ac_cv_prog_AS="$AS" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_prog_AS="${ncn_progname}"
6511 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6520 if test -n "$AS"; then
6521 echo "$as_me:$LINENO: result
: $AS" >&5
6522 echo "${ECHO_T}$AS" >&6
6524 echo "$as_me:$LINENO: result
: no
" >&5
6525 echo "${ECHO_T}no
" >&6
6531 for ncn_progname in as; do
6532 if test -n "$ncn_tool_prefix"; then
6533 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6534 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6535 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6536 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6537 if test "${ac_cv_prog_AS+set}" = set; then
6538 echo $ECHO_N "(cached
) $ECHO_C" >&6
6540 if test -n "$AS"; then
6541 ac_cv_prog_AS="$AS" # Let the user override the test.
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6551 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6560 if test -n "$AS"; then
6561 echo "$as_me:$LINENO: result
: $AS" >&5
6562 echo "${ECHO_T}$AS" >&6
6564 echo "$as_me:$LINENO: result
: no
" >&5
6565 echo "${ECHO_T}no
" >&6
6569 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6571 set dummy ${ncn_progname}; ac_word=$2
6572 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6573 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6574 if test "${ac_cv_prog_AS+set}" = set; then
6575 echo $ECHO_N "(cached
) $ECHO_C" >&6
6577 if test -n "$AS"; then
6578 ac_cv_prog_AS="$AS" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_AS="${ncn_progname}"
6588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6597 if test -n "$AS"; then
6598 echo "$as_me:$LINENO: result
: $AS" >&5
6599 echo "${ECHO_T}$AS" >&6
6601 echo "$as_me:$LINENO: result
: no
" >&5
6602 echo "${ECHO_T}no
" >&6
6606 test -n "$ac_cv_prog_AS" && break
6609 if test -z "$ac_cv_prog_AS" ; then
6611 if test $build = $host ; then
6614 AS="${ncn_tool_prefix}$2"
6620 if test -n "$DLLTOOL"; then
6621 ac_cv_prog_DLLTOOL=$DLLTOOL
6622 elif test -n "$ac_cv_prog_DLLTOOL"; then
6623 DLLTOOL=$ac_cv_prog_DLLTOOL
6626 if test -n "$ac_cv_prog_DLLTOOL"; then
6627 for ncn_progname in dlltool; do
6628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6629 set dummy ${ncn_progname}; ac_word=$2
6630 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6631 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6632 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6633 echo $ECHO_N "(cached
) $ECHO_C" >&6
6635 if test -n "$DLLTOOL"; then
6636 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_DLLTOOL="${ncn_progname}"
6646 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6654 DLLTOOL=$ac_cv_prog_DLLTOOL
6655 if test -n "$DLLTOOL"; then
6656 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6657 echo "${ECHO_T}$DLLTOOL" >&6
6659 echo "$as_me:$LINENO: result
: no
" >&5
6660 echo "${ECHO_T}no
" >&6
6666 for ncn_progname in dlltool; do
6667 if test -n "$ncn_tool_prefix"; then
6668 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6669 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6670 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6671 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6672 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6673 echo $ECHO_N "(cached
) $ECHO_C" >&6
6675 if test -n "$DLLTOOL"; then
6676 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6685 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6686 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 DLLTOOL=$ac_cv_prog_DLLTOOL
6695 if test -n "$DLLTOOL"; then
6696 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6697 echo "${ECHO_T}$DLLTOOL" >&6
6699 echo "$as_me:$LINENO: result
: no
" >&5
6700 echo "${ECHO_T}no
" >&6
6704 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6705 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6706 set dummy ${ncn_progname}; ac_word=$2
6707 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6708 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6709 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6710 echo $ECHO_N "(cached
) $ECHO_C" >&6
6712 if test -n "$DLLTOOL"; then
6713 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_DLLTOOL="${ncn_progname}"
6723 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6731 DLLTOOL=$ac_cv_prog_DLLTOOL
6732 if test -n "$DLLTOOL"; then
6733 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6734 echo "${ECHO_T}$DLLTOOL" >&6
6736 echo "$as_me:$LINENO: result
: no
" >&5
6737 echo "${ECHO_T}no
" >&6
6741 test -n "$ac_cv_prog_DLLTOOL" && break
6744 if test -z "$ac_cv_prog_DLLTOOL" ; then
6746 if test $build = $host ; then
6749 DLLTOOL="${ncn_tool_prefix}$2"
6755 if test -n "$LD"; then
6757 elif test -n "$ac_cv_prog_LD"; then
6761 if test -n "$ac_cv_prog_LD"; then
6762 for ncn_progname in ld; do
6763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6764 set dummy ${ncn_progname}; ac_word=$2
6765 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6766 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6767 if test "${ac_cv_prog_LD+set}" = set; then
6768 echo $ECHO_N "(cached
) $ECHO_C" >&6
6770 if test -n "$LD"; then
6771 ac_cv_prog_LD="$LD" # Let the user override the test.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_LD="${ncn_progname}"
6781 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6790 if test -n "$LD"; then
6791 echo "$as_me:$LINENO: result
: $LD" >&5
6792 echo "${ECHO_T}$LD" >&6
6794 echo "$as_me:$LINENO: result
: no
" >&5
6795 echo "${ECHO_T}no
" >&6
6801 for ncn_progname in ld; do
6802 if test -n "$ncn_tool_prefix"; then
6803 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6804 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6805 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6806 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6807 if test "${ac_cv_prog_LD+set}" = set; then
6808 echo $ECHO_N "(cached
) $ECHO_C" >&6
6810 if test -n "$LD"; then
6811 ac_cv_prog_LD="$LD" # Let the user override the test.
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir=.
6818 for ac_exec_ext in '' $ac_executable_extensions; do
6819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6821 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6830 if test -n "$LD"; then
6831 echo "$as_me:$LINENO: result
: $LD" >&5
6832 echo "${ECHO_T}$LD" >&6
6834 echo "$as_me:$LINENO: result
: no
" >&5
6835 echo "${ECHO_T}no
" >&6
6839 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6840 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6841 set dummy ${ncn_progname}; ac_word=$2
6842 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6843 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6844 if test "${ac_cv_prog_LD+set}" = set; then
6845 echo $ECHO_N "(cached
) $ECHO_C" >&6
6847 if test -n "$LD"; then
6848 ac_cv_prog_LD="$LD" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_LD="${ncn_progname}"
6858 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 if test -n "$LD"; then
6868 echo "$as_me:$LINENO: result
: $LD" >&5
6869 echo "${ECHO_T}$LD" >&6
6871 echo "$as_me:$LINENO: result
: no
" >&5
6872 echo "${ECHO_T}no
" >&6
6876 test -n "$ac_cv_prog_LD" && break
6879 if test -z "$ac_cv_prog_LD" ; then
6881 if test $build = $host ; then
6884 LD="${ncn_tool_prefix}$2"
6890 if test -n "$LIPO"; then
6891 ac_cv_prog_LIPO=$LIPO
6892 elif test -n "$ac_cv_prog_LIPO"; then
6893 LIPO=$ac_cv_prog_LIPO
6896 if test -n "$ac_cv_prog_LIPO"; then
6897 for ncn_progname in lipo; do
6898 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6899 set dummy ${ncn_progname}; ac_word=$2
6900 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6901 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6902 if test "${ac_cv_prog_LIPO+set}" = set; then
6903 echo $ECHO_N "(cached
) $ECHO_C" >&6
6905 if test -n "$LIPO"; then
6906 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6915 ac_cv_prog_LIPO="${ncn_progname}"
6916 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6924 LIPO=$ac_cv_prog_LIPO
6925 if test -n "$LIPO"; then
6926 echo "$as_me:$LINENO: result
: $LIPO" >&5
6927 echo "${ECHO_T}$LIPO" >&6
6929 echo "$as_me:$LINENO: result
: no
" >&5
6930 echo "${ECHO_T}no
" >&6
6936 for ncn_progname in lipo; do
6937 if test -n "$ncn_tool_prefix"; then
6938 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6939 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6940 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6941 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6942 if test "${ac_cv_prog_LIPO+set}" = set; then
6943 echo $ECHO_N "(cached
) $ECHO_C" >&6
6945 if test -n "$LIPO"; then
6946 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6956 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6964 LIPO=$ac_cv_prog_LIPO
6965 if test -n "$LIPO"; then
6966 echo "$as_me:$LINENO: result
: $LIPO" >&5
6967 echo "${ECHO_T}$LIPO" >&6
6969 echo "$as_me:$LINENO: result
: no
" >&5
6970 echo "${ECHO_T}no
" >&6
6974 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6976 set dummy ${ncn_progname}; ac_word=$2
6977 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6978 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6979 if test "${ac_cv_prog_LIPO+set}" = set; then
6980 echo $ECHO_N "(cached
) $ECHO_C" >&6
6982 if test -n "$LIPO"; then
6983 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_LIPO="${ncn_progname}"
6993 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7001 LIPO=$ac_cv_prog_LIPO
7002 if test -n "$LIPO"; then
7003 echo "$as_me:$LINENO: result
: $LIPO" >&5
7004 echo "${ECHO_T}$LIPO" >&6
7006 echo "$as_me:$LINENO: result
: no
" >&5
7007 echo "${ECHO_T}no
" >&6
7011 test -n "$ac_cv_prog_LIPO" && break
7014 if test -z "$ac_cv_prog_LIPO" ; then
7016 if test $build = $host ; then
7019 LIPO="${ncn_tool_prefix}$2"
7025 if test -n "$NM"; then
7027 elif test -n "$ac_cv_prog_NM"; then
7031 if test -n "$ac_cv_prog_NM"; then
7032 for ncn_progname in nm; do
7033 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7034 set dummy ${ncn_progname}; ac_word=$2
7035 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7036 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7037 if test "${ac_cv_prog_NM+set}" = set; then
7038 echo $ECHO_N "(cached
) $ECHO_C" >&6
7040 if test -n "$NM"; then
7041 ac_cv_prog_NM="$NM" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7050 ac_cv_prog_NM="${ncn_progname}"
7051 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 if test -n "$NM"; then
7061 echo "$as_me:$LINENO: result
: $NM" >&5
7062 echo "${ECHO_T}$NM" >&6
7064 echo "$as_me:$LINENO: result
: no
" >&5
7065 echo "${ECHO_T}no
" >&6
7071 for ncn_progname in nm; do
7072 if test -n "$ncn_tool_prefix"; then
7073 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7074 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7075 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7076 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7077 if test "${ac_cv_prog_NM+set}" = set; then
7078 echo $ECHO_N "(cached
) $ECHO_C" >&6
7080 if test -n "$NM"; then
7081 ac_cv_prog_NM="$NM" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7091 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 if test -n "$NM"; then
7101 echo "$as_me:$LINENO: result
: $NM" >&5
7102 echo "${ECHO_T}$NM" >&6
7104 echo "$as_me:$LINENO: result
: no
" >&5
7105 echo "${ECHO_T}no
" >&6
7109 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7111 set dummy ${ncn_progname}; ac_word=$2
7112 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7113 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7114 if test "${ac_cv_prog_NM+set}" = set; then
7115 echo $ECHO_N "(cached
) $ECHO_C" >&6
7117 if test -n "$NM"; then
7118 ac_cv_prog_NM="$NM" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_NM="${ncn_progname}"
7128 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7137 if test -n "$NM"; then
7138 echo "$as_me:$LINENO: result
: $NM" >&5
7139 echo "${ECHO_T}$NM" >&6
7141 echo "$as_me:$LINENO: result
: no
" >&5
7142 echo "${ECHO_T}no
" >&6
7146 test -n "$ac_cv_prog_NM" && break
7149 if test -z "$ac_cv_prog_NM" ; then
7151 if test $build = $host ; then
7154 NM="${ncn_tool_prefix}$2"
7160 if test -n "$RANLIB"; then
7161 ac_cv_prog_RANLIB=$RANLIB
7162 elif test -n "$ac_cv_prog_RANLIB"; then
7163 RANLIB=$ac_cv_prog_RANLIB
7166 if test -n "$ac_cv_prog_RANLIB"; then
7167 for ncn_progname in ranlib; do
7168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7169 set dummy ${ncn_progname}; ac_word=$2
7170 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7171 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7172 if test "${ac_cv_prog_RANLIB+set}" = set; then
7173 echo $ECHO_N "(cached
) $ECHO_C" >&6
7175 if test -n "$RANLIB"; then
7176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_RANLIB="${ncn_progname}"
7186 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7194 RANLIB=$ac_cv_prog_RANLIB
7195 if test -n "$RANLIB"; then
7196 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7197 echo "${ECHO_T}$RANLIB" >&6
7199 echo "$as_me:$LINENO: result
: no
" >&5
7200 echo "${ECHO_T}no
" >&6
7206 for ncn_progname in ranlib; do
7207 if test -n "$ncn_tool_prefix"; then
7208 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7209 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7210 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7211 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7212 if test "${ac_cv_prog_RANLIB+set}" = set; then
7213 echo $ECHO_N "(cached
) $ECHO_C" >&6
7215 if test -n "$RANLIB"; then
7216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7226 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7234 RANLIB=$ac_cv_prog_RANLIB
7235 if test -n "$RANLIB"; then
7236 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7237 echo "${ECHO_T}$RANLIB" >&6
7239 echo "$as_me:$LINENO: result
: no
" >&5
7240 echo "${ECHO_T}no
" >&6
7244 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7246 set dummy ${ncn_progname}; ac_word=$2
7247 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7248 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7249 if test "${ac_cv_prog_RANLIB+set}" = set; then
7250 echo $ECHO_N "(cached
) $ECHO_C" >&6
7252 if test -n "$RANLIB"; then
7253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_RANLIB="${ncn_progname}"
7263 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7271 RANLIB=$ac_cv_prog_RANLIB
7272 if test -n "$RANLIB"; then
7273 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7274 echo "${ECHO_T}$RANLIB" >&6
7276 echo "$as_me:$LINENO: result
: no
" >&5
7277 echo "${ECHO_T}no
" >&6
7281 test -n "$ac_cv_prog_RANLIB" && break
7284 if test -z "$ac_cv_prog_RANLIB" ; then
7290 if test -n "$STRIP"; then
7291 ac_cv_prog_STRIP=$STRIP
7292 elif test -n "$ac_cv_prog_STRIP"; then
7293 STRIP=$ac_cv_prog_STRIP
7296 if test -n "$ac_cv_prog_STRIP"; then
7297 for ncn_progname in strip; do
7298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7299 set dummy ${ncn_progname}; ac_word=$2
7300 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7301 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7302 if test "${ac_cv_prog_STRIP+set}" = set; then
7303 echo $ECHO_N "(cached
) $ECHO_C" >&6
7305 if test -n "$STRIP"; then
7306 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_STRIP="${ncn_progname}"
7316 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7324 STRIP=$ac_cv_prog_STRIP
7325 if test -n "$STRIP"; then
7326 echo "$as_me:$LINENO: result
: $STRIP" >&5
7327 echo "${ECHO_T}$STRIP" >&6
7329 echo "$as_me:$LINENO: result
: no
" >&5
7330 echo "${ECHO_T}no
" >&6
7336 for ncn_progname in strip; do
7337 if test -n "$ncn_tool_prefix"; then
7338 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7339 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7340 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7341 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7342 if test "${ac_cv_prog_STRIP+set}" = set; then
7343 echo $ECHO_N "(cached
) $ECHO_C" >&6
7345 if test -n "$STRIP"; then
7346 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7356 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7364 STRIP=$ac_cv_prog_STRIP
7365 if test -n "$STRIP"; then
7366 echo "$as_me:$LINENO: result
: $STRIP" >&5
7367 echo "${ECHO_T}$STRIP" >&6
7369 echo "$as_me:$LINENO: result
: no
" >&5
7370 echo "${ECHO_T}no
" >&6
7374 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7376 set dummy ${ncn_progname}; ac_word=$2
7377 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7378 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7379 if test "${ac_cv_prog_STRIP+set}" = set; then
7380 echo $ECHO_N "(cached
) $ECHO_C" >&6
7382 if test -n "$STRIP"; then
7383 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_STRIP="${ncn_progname}"
7393 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7401 STRIP=$ac_cv_prog_STRIP
7402 if test -n "$STRIP"; then
7403 echo "$as_me:$LINENO: result
: $STRIP" >&5
7404 echo "${ECHO_T}$STRIP" >&6
7406 echo "$as_me:$LINENO: result
: no
" >&5
7407 echo "${ECHO_T}no
" >&6
7411 test -n "$ac_cv_prog_STRIP" && break
7414 if test -z "$ac_cv_prog_STRIP" ; then
7420 if test -n "$WINDRES"; then
7421 ac_cv_prog_WINDRES=$WINDRES
7422 elif test -n "$ac_cv_prog_WINDRES"; then
7423 WINDRES=$ac_cv_prog_WINDRES
7426 if test -n "$ac_cv_prog_WINDRES"; then
7427 for ncn_progname in windres; do
7428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7429 set dummy ${ncn_progname}; ac_word=$2
7430 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7431 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7432 if test "${ac_cv_prog_WINDRES+set}" = set; then
7433 echo $ECHO_N "(cached
) $ECHO_C" >&6
7435 if test -n "$WINDRES"; then
7436 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445 ac_cv_prog_WINDRES="${ncn_progname}"
7446 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7454 WINDRES=$ac_cv_prog_WINDRES
7455 if test -n "$WINDRES"; then
7456 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7457 echo "${ECHO_T}$WINDRES" >&6
7459 echo "$as_me:$LINENO: result
: no
" >&5
7460 echo "${ECHO_T}no
" >&6
7466 for ncn_progname in windres; do
7467 if test -n "$ncn_tool_prefix"; then
7468 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7469 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7470 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7471 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7472 if test "${ac_cv_prog_WINDRES+set}" = set; then
7473 echo $ECHO_N "(cached
) $ECHO_C" >&6
7475 if test -n "$WINDRES"; then
7476 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7486 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7494 WINDRES=$ac_cv_prog_WINDRES
7495 if test -n "$WINDRES"; then
7496 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7497 echo "${ECHO_T}$WINDRES" >&6
7499 echo "$as_me:$LINENO: result
: no
" >&5
7500 echo "${ECHO_T}no
" >&6
7504 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7505 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7506 set dummy ${ncn_progname}; ac_word=$2
7507 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7509 if test "${ac_cv_prog_WINDRES+set}" = set; then
7510 echo $ECHO_N "(cached
) $ECHO_C" >&6
7512 if test -n "$WINDRES"; then
7513 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_WINDRES="${ncn_progname}"
7523 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7531 WINDRES=$ac_cv_prog_WINDRES
7532 if test -n "$WINDRES"; then
7533 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7534 echo "${ECHO_T}$WINDRES" >&6
7536 echo "$as_me:$LINENO: result
: no
" >&5
7537 echo "${ECHO_T}no
" >&6
7541 test -n "$ac_cv_prog_WINDRES" && break
7544 if test -z "$ac_cv_prog_WINDRES" ; then
7546 if test $build = $host ; then
7549 WINDRES="${ncn_tool_prefix}$2"
7555 if test -n "$WINDMC"; then
7556 ac_cv_prog_WINDMC=$WINDMC
7557 elif test -n "$ac_cv_prog_WINDMC"; then
7558 WINDMC=$ac_cv_prog_WINDMC
7561 if test -n "$ac_cv_prog_WINDMC"; then
7562 for ncn_progname in windmc; do
7563 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7564 set dummy ${ncn_progname}; ac_word=$2
7565 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7566 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7567 if test "${ac_cv_prog_WINDMC+set}" = set; then
7568 echo $ECHO_N "(cached
) $ECHO_C" >&6
7570 if test -n "$WINDMC"; then
7571 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_WINDMC="${ncn_progname}"
7581 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7589 WINDMC=$ac_cv_prog_WINDMC
7590 if test -n "$WINDMC"; then
7591 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7592 echo "${ECHO_T}$WINDMC" >&6
7594 echo "$as_me:$LINENO: result
: no
" >&5
7595 echo "${ECHO_T}no
" >&6
7601 for ncn_progname in windmc; do
7602 if test -n "$ncn_tool_prefix"; then
7603 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7604 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7605 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7606 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7607 if test "${ac_cv_prog_WINDMC+set}" = set; then
7608 echo $ECHO_N "(cached
) $ECHO_C" >&6
7610 if test -n "$WINDMC"; then
7611 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7621 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7629 WINDMC=$ac_cv_prog_WINDMC
7630 if test -n "$WINDMC"; then
7631 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7632 echo "${ECHO_T}$WINDMC" >&6
7634 echo "$as_me:$LINENO: result
: no
" >&5
7635 echo "${ECHO_T}no
" >&6
7639 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7641 set dummy ${ncn_progname}; ac_word=$2
7642 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7643 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7644 if test "${ac_cv_prog_WINDMC+set}" = set; then
7645 echo $ECHO_N "(cached
) $ECHO_C" >&6
7647 if test -n "$WINDMC"; then
7648 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_WINDMC="${ncn_progname}"
7658 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7666 WINDMC=$ac_cv_prog_WINDMC
7667 if test -n "$WINDMC"; then
7668 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7669 echo "${ECHO_T}$WINDMC" >&6
7671 echo "$as_me:$LINENO: result
: no
" >&5
7672 echo "${ECHO_T}no
" >&6
7676 test -n "$ac_cv_prog_WINDMC" && break
7679 if test -z "$ac_cv_prog_WINDMC" ; then
7681 if test $build = $host ; then
7684 WINDMC="${ncn_tool_prefix}$2"
7690 if test -n "$OBJCOPY"; then
7691 ac_cv_prog_OBJCOPY=$OBJCOPY
7692 elif test -n "$ac_cv_prog_OBJCOPY"; then
7693 OBJCOPY=$ac_cv_prog_OBJCOPY
7696 if test -n "$ac_cv_prog_OBJCOPY"; then
7697 for ncn_progname in objcopy; do
7698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7699 set dummy ${ncn_progname}; ac_word=$2
7700 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7701 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7702 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7703 echo $ECHO_N "(cached
) $ECHO_C" >&6
7705 if test -n "$OBJCOPY"; then
7706 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir=.
7713 for ac_exec_ext in '' $ac_executable_extensions; do
7714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7715 ac_cv_prog_OBJCOPY="${ncn_progname}"
7716 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 OBJCOPY=$ac_cv_prog_OBJCOPY
7725 if test -n "$OBJCOPY"; then
7726 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7727 echo "${ECHO_T}$OBJCOPY" >&6
7729 echo "$as_me:$LINENO: result
: no
" >&5
7730 echo "${ECHO_T}no
" >&6
7736 for ncn_progname in objcopy; do
7737 if test -n "$ncn_tool_prefix"; then
7738 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7739 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7740 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7741 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7742 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7743 echo $ECHO_N "(cached
) $ECHO_C" >&6
7745 if test -n "$OBJCOPY"; then
7746 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7755 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7756 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 OBJCOPY=$ac_cv_prog_OBJCOPY
7765 if test -n "$OBJCOPY"; then
7766 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7767 echo "${ECHO_T}$OBJCOPY" >&6
7769 echo "$as_me:$LINENO: result
: no
" >&5
7770 echo "${ECHO_T}no
" >&6
7774 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7776 set dummy ${ncn_progname}; ac_word=$2
7777 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7778 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7779 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7780 echo $ECHO_N "(cached
) $ECHO_C" >&6
7782 if test -n "$OBJCOPY"; then
7783 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 test -z "$as_dir" && as_dir=.
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7792 ac_cv_prog_OBJCOPY="${ncn_progname}"
7793 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7801 OBJCOPY=$ac_cv_prog_OBJCOPY
7802 if test -n "$OBJCOPY"; then
7803 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7804 echo "${ECHO_T}$OBJCOPY" >&6
7806 echo "$as_me:$LINENO: result
: no
" >&5
7807 echo "${ECHO_T}no
" >&6
7811 test -n "$ac_cv_prog_OBJCOPY" && break
7814 if test -z "$ac_cv_prog_OBJCOPY" ; then
7816 if test $build = $host ; then
7819 OBJCOPY="${ncn_tool_prefix}$2"
7825 if test -n "$OBJDUMP"; then
7826 ac_cv_prog_OBJDUMP=$OBJDUMP
7827 elif test -n "$ac_cv_prog_OBJDUMP"; then
7828 OBJDUMP=$ac_cv_prog_OBJDUMP
7831 if test -n "$ac_cv_prog_OBJDUMP"; then
7832 for ncn_progname in objdump; do
7833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7834 set dummy ${ncn_progname}; ac_word=$2
7835 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7837 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7838 echo $ECHO_N "(cached
) $ECHO_C" >&6
7840 if test -n "$OBJDUMP"; then
7841 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir=.
7848 for ac_exec_ext in '' $ac_executable_extensions; do
7849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7850 ac_cv_prog_OBJDUMP="${ncn_progname}"
7851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7859 OBJDUMP=$ac_cv_prog_OBJDUMP
7860 if test -n "$OBJDUMP"; then
7861 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7862 echo "${ECHO_T}$OBJDUMP" >&6
7864 echo "$as_me:$LINENO: result
: no
" >&5
7865 echo "${ECHO_T}no
" >&6
7871 for ncn_progname in objdump; do
7872 if test -n "$ncn_tool_prefix"; then
7873 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7874 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7875 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7876 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7877 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7878 echo $ECHO_N "(cached
) $ECHO_C" >&6
7880 if test -n "$OBJDUMP"; then
7881 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 OBJDUMP=$ac_cv_prog_OBJDUMP
7900 if test -n "$OBJDUMP"; then
7901 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7902 echo "${ECHO_T}$OBJDUMP" >&6
7904 echo "$as_me:$LINENO: result
: no
" >&5
7905 echo "${ECHO_T}no
" >&6
7909 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7911 set dummy ${ncn_progname}; ac_word=$2
7912 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7913 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7914 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7915 echo $ECHO_N "(cached
) $ECHO_C" >&6
7917 if test -n "$OBJDUMP"; then
7918 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_OBJDUMP="${ncn_progname}"
7928 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7936 OBJDUMP=$ac_cv_prog_OBJDUMP
7937 if test -n "$OBJDUMP"; then
7938 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7939 echo "${ECHO_T}$OBJDUMP" >&6
7941 echo "$as_me:$LINENO: result
: no
" >&5
7942 echo "${ECHO_T}no
" >&6
7946 test -n "$ac_cv_prog_OBJDUMP" && break
7949 if test -z "$ac_cv_prog_OBJDUMP" ; then
7951 if test $build = $host ; then
7954 OBJDUMP="${ncn_tool_prefix}$2"
7965 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7966 if test "${with_build_time_tools+set}" = set; then
7967 withval="$with_build_time_tools"
7971 with_build_time_tools=
7972 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7973 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7977 with_build_time_tools=
7982 if test -n "$CC_FOR_TARGET"; then
7983 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7984 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7985 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7988 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7989 for ncn_progname in cc gcc; do
7990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7991 set dummy ${ncn_progname}; ac_word=$2
7992 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7994 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7995 echo $ECHO_N "(cached
) $ECHO_C" >&6
7997 if test -n "$CC_FOR_TARGET"; then
7998 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8007 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8016 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8017 if test -n "$CC_FOR_TARGET"; then
8018 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8019 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8021 echo "$as_me:$LINENO: result
: no
" >&5
8022 echo "${ECHO_T}no
" >&6
8028 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8029 for ncn_progname in cc gcc; do
8030 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8031 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8032 if test -x $with_build_time_tools/${ncn_progname}; then
8033 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8034 echo "$as_me:$LINENO: result
: yes" >&5
8035 echo "${ECHO_T}yes" >&6
8038 echo "$as_me:$LINENO: result
: no
" >&5
8039 echo "${ECHO_T}no
" >&6
8044 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8045 for ncn_progname in cc gcc; do
8046 if test -n "$ncn_target_tool_prefix"; then
8047 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8048 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8049 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8050 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8051 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8052 echo $ECHO_N "(cached
) $ECHO_C" >&6
8054 if test -n "$CC_FOR_TARGET"; then
8055 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 test -z "$as_dir" && as_dir=.
8062 for ac_exec_ext in '' $ac_executable_extensions; do
8063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8064 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8073 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8074 if test -n "$CC_FOR_TARGET"; then
8075 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8076 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8078 echo "$as_me:$LINENO: result
: no
" >&5
8079 echo "${ECHO_T}no
" >&6
8083 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8085 set dummy ${ncn_progname}; ac_word=$2
8086 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8087 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8088 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8089 echo $ECHO_N "(cached
) $ECHO_C" >&6
8091 if test -n "$CC_FOR_TARGET"; then
8092 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8102 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8110 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8111 if test -n "$CC_FOR_TARGET"; then
8112 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8113 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8115 echo "$as_me:$LINENO: result
: no
" >&5
8116 echo "${ECHO_T}no
" >&6
8120 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8124 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8126 if test $build = $target ; then
8129 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8132 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8137 if test -n "$CXX_FOR_TARGET"; then
8138 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8139 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8140 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8143 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8144 for ncn_progname in c++ g++ cxx gxx; do
8145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8146 set dummy ${ncn_progname}; ac_word=$2
8147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8149 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8150 echo $ECHO_N "(cached
) $ECHO_C" >&6
8152 if test -n "$CXX_FOR_TARGET"; then
8153 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8171 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8172 if test -n "$CXX_FOR_TARGET"; then
8173 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8174 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8176 echo "$as_me:$LINENO: result
: no
" >&5
8177 echo "${ECHO_T}no
" >&6
8183 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8184 for ncn_progname in c++ g++ cxx gxx; do
8185 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8186 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8187 if test -x $with_build_time_tools/${ncn_progname}; then
8188 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8189 echo "$as_me:$LINENO: result
: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result
: no
" >&5
8194 echo "${ECHO_T}no
" >&6
8199 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8200 for ncn_progname in c++ g++ cxx gxx; do
8201 if test -n "$ncn_target_tool_prefix"; then
8202 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8203 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8204 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8205 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8206 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8207 echo $ECHO_N "(cached
) $ECHO_C" >&6
8209 if test -n "$CXX_FOR_TARGET"; then
8210 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8220 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8228 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8229 if test -n "$CXX_FOR_TARGET"; then
8230 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8231 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8233 echo "$as_me:$LINENO: result
: no
" >&5
8234 echo "${ECHO_T}no
" >&6
8238 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8239 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8240 set dummy ${ncn_progname}; ac_word=$2
8241 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8242 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8243 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8244 echo $ECHO_N "(cached
) $ECHO_C" >&6
8246 if test -n "$CXX_FOR_TARGET"; then
8247 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8257 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8265 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8266 if test -n "$CXX_FOR_TARGET"; then
8267 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8268 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8270 echo "$as_me:$LINENO: result
: no
" >&5
8271 echo "${ECHO_T}no
" >&6
8275 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8279 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8280 set dummy c++ g++ cxx gxx
8281 if test $build = $target ; then
8284 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8287 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8292 if test -n "$GCC_FOR_TARGET"; then
8293 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8294 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8295 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8298 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8299 for ncn_progname in gcc; do
8300 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8301 set dummy ${ncn_progname}; ac_word=$2
8302 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8303 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8304 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8305 echo $ECHO_N "(cached
) $ECHO_C" >&6
8307 if test -n "$GCC_FOR_TARGET"; then
8308 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8318 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8326 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8327 if test -n "$GCC_FOR_TARGET"; then
8328 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8329 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8331 echo "$as_me:$LINENO: result
: no
" >&5
8332 echo "${ECHO_T}no
" >&6
8338 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8339 for ncn_progname in gcc; do
8340 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8341 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8342 if test -x $with_build_time_tools/${ncn_progname}; then
8343 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8344 echo "$as_me:$LINENO: result
: yes" >&5
8345 echo "${ECHO_T}yes" >&6
8348 echo "$as_me:$LINENO: result
: no
" >&5
8349 echo "${ECHO_T}no
" >&6
8354 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8355 for ncn_progname in gcc; do
8356 if test -n "$ncn_target_tool_prefix"; then
8357 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8358 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8359 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8361 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8362 echo $ECHO_N "(cached
) $ECHO_C" >&6
8364 if test -n "$GCC_FOR_TARGET"; then
8365 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8375 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8383 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8384 if test -n "$GCC_FOR_TARGET"; then
8385 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8386 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8388 echo "$as_me:$LINENO: result
: no
" >&5
8389 echo "${ECHO_T}no
" >&6
8393 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8395 set dummy ${ncn_progname}; ac_word=$2
8396 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8397 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8398 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8399 echo $ECHO_N "(cached
) $ECHO_C" >&6
8401 if test -n "$GCC_FOR_TARGET"; then
8402 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8411 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8412 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8420 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8421 if test -n "$GCC_FOR_TARGET"; then
8422 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8423 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8425 echo "$as_me:$LINENO: result
: no
" >&5
8426 echo "${ECHO_T}no
" >&6
8430 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8434 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8435 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8437 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8442 if test -n "$GCJ_FOR_TARGET"; then
8443 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8444 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8445 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8448 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8449 for ncn_progname in gcj; do
8450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8451 set dummy ${ncn_progname}; ac_word=$2
8452 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8453 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8454 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8455 echo $ECHO_N "(cached
) $ECHO_C" >&6
8457 if test -n "$GCJ_FOR_TARGET"; then
8458 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8467 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8468 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8476 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8477 if test -n "$GCJ_FOR_TARGET"; then
8478 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8479 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8481 echo "$as_me:$LINENO: result
: no
" >&5
8482 echo "${ECHO_T}no
" >&6
8488 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8489 for ncn_progname in gcj; do
8490 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8491 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8492 if test -x $with_build_time_tools/${ncn_progname}; then
8493 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8494 echo "$as_me:$LINENO: result
: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8498 echo "$as_me:$LINENO: result
: no
" >&5
8499 echo "${ECHO_T}no
" >&6
8504 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8505 for ncn_progname in gcj; do
8506 if test -n "$ncn_target_tool_prefix"; then
8507 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8508 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8509 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8510 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8511 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8512 echo $ECHO_N "(cached
) $ECHO_C" >&6
8514 if test -n "$GCJ_FOR_TARGET"; then
8515 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8525 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8533 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8534 if test -n "$GCJ_FOR_TARGET"; then
8535 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8536 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8538 echo "$as_me:$LINENO: result
: no
" >&5
8539 echo "${ECHO_T}no
" >&6
8543 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8545 set dummy ${ncn_progname}; ac_word=$2
8546 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8548 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8549 echo $ECHO_N "(cached
) $ECHO_C" >&6
8551 if test -n "$GCJ_FOR_TARGET"; then
8552 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8561 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8570 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8571 if test -n "$GCJ_FOR_TARGET"; then
8572 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8573 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8575 echo "$as_me:$LINENO: result
: no
" >&5
8576 echo "${ECHO_T}no
" >&6
8580 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8584 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8586 if test $build = $target ; then
8589 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8592 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8597 if test -n "$GFORTRAN_FOR_TARGET"; then
8598 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8599 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8600 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8603 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8604 for ncn_progname in gfortran; do
8605 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8606 set dummy ${ncn_progname}; ac_word=$2
8607 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8608 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8609 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8610 echo $ECHO_N "(cached
) $ECHO_C" >&6
8612 if test -n "$GFORTRAN_FOR_TARGET"; then
8613 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8619 test -z "$as_dir" && as_dir=.
8620 for ac_exec_ext in '' $ac_executable_extensions; do
8621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8622 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8623 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8631 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8632 if test -n "$GFORTRAN_FOR_TARGET"; then
8633 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8634 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8636 echo "$as_me:$LINENO: result
: no
" >&5
8637 echo "${ECHO_T}no
" >&6
8643 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8644 for ncn_progname in gfortran; do
8645 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8646 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8647 if test -x $with_build_time_tools/${ncn_progname}; then
8648 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8649 echo "$as_me:$LINENO: result
: yes" >&5
8650 echo "${ECHO_T}yes" >&6
8653 echo "$as_me:$LINENO: result
: no
" >&5
8654 echo "${ECHO_T}no
" >&6
8659 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8660 for ncn_progname in gfortran; do
8661 if test -n "$ncn_target_tool_prefix"; then
8662 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8663 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8664 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8665 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8666 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8667 echo $ECHO_N "(cached
) $ECHO_C" >&6
8669 if test -n "$GFORTRAN_FOR_TARGET"; then
8670 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8680 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8688 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8689 if test -n "$GFORTRAN_FOR_TARGET"; then
8690 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8691 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8693 echo "$as_me:$LINENO: result
: no
" >&5
8694 echo "${ECHO_T}no
" >&6
8698 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8699 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8700 set dummy ${ncn_progname}; ac_word=$2
8701 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8702 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8703 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8704 echo $ECHO_N "(cached
) $ECHO_C" >&6
8706 if test -n "$GFORTRAN_FOR_TARGET"; then
8707 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8713 test -z "$as_dir" && as_dir=.
8714 for ac_exec_ext in '' $ac_executable_extensions; do
8715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8716 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8717 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8725 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8726 if test -n "$GFORTRAN_FOR_TARGET"; then
8727 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8728 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8730 echo "$as_me:$LINENO: result
: no
" >&5
8731 echo "${ECHO_T}no
" >&6
8735 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8739 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8741 if test $build = $target ; then
8742 GFORTRAN_FOR_TARGET="$2"
8744 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8747 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8752 cat > conftest.c << \EOF
8757 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8758 have_gcc_for_target=yes
8760 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8761 have_gcc_for_target=no
8768 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8769 if test -n "$with_build_time_tools"; then
8770 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8771 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8772 if test -x $with_build_time_tools/ar; then
8773 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8774 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8775 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8776 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8778 echo "$as_me:$LINENO: result
: no
" >&5
8779 echo "${ECHO_T}no
" >&6
8781 elif test $build != $host && test $have_gcc_for_target = yes; then
8782 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8783 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8784 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8787 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8788 # Extract the first word of "ar", so it can be a program name with args.
8789 set dummy ar; ac_word=$2
8790 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8791 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8792 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8793 echo $ECHO_N "(cached
) $ECHO_C" >&6
8795 case $AR_FOR_TARGET in
8797 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8801 for as_dir in $gcc_cv_tool_dirs
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8807 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8808 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8817 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8819 if test -n "$AR_FOR_TARGET"; then
8820 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8821 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8823 echo "$as_me:$LINENO: result
: no
" >&5
8824 echo "${ECHO_T}no
" >&6
8828 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8831 if test -n "$AR_FOR_TARGET"; then
8832 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8833 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8834 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8837 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8838 for ncn_progname in ar; do
8839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8840 set dummy ${ncn_progname}; ac_word=$2
8841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8843 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8844 echo $ECHO_N "(cached
) $ECHO_C" >&6
8846 if test -n "$AR_FOR_TARGET"; then
8847 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8865 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8866 if test -n "$AR_FOR_TARGET"; then
8867 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8868 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8870 echo "$as_me:$LINENO: result
: no
" >&5
8871 echo "${ECHO_T}no
" >&6
8877 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8878 for ncn_progname in ar; do
8879 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8880 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8881 if test -x $with_build_time_tools/${ncn_progname}; then
8882 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8883 echo "$as_me:$LINENO: result
: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8887 echo "$as_me:$LINENO: result
: no
" >&5
8888 echo "${ECHO_T}no
" >&6
8893 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8894 for ncn_progname in ar; do
8895 if test -n "$ncn_target_tool_prefix"; then
8896 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8897 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8898 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8900 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8901 echo $ECHO_N "(cached
) $ECHO_C" >&6
8903 if test -n "$AR_FOR_TARGET"; then
8904 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8913 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8914 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8922 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8923 if test -n "$AR_FOR_TARGET"; then
8924 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8925 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8927 echo "$as_me:$LINENO: result
: no
" >&5
8928 echo "${ECHO_T}no
" >&6
8932 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8934 set dummy ${ncn_progname}; ac_word=$2
8935 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8937 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8938 echo $ECHO_N "(cached
) $ECHO_C" >&6
8940 if test -n "$AR_FOR_TARGET"; then
8941 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8959 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8960 if test -n "$AR_FOR_TARGET"; then
8961 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8962 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8964 echo "$as_me:$LINENO: result
: no
" >&5
8965 echo "${ECHO_T}no
" >&6
8969 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8973 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8975 if test $build = $target ; then
8978 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8981 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
8985 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8991 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8992 if test -n "$with_build_time_tools"; then
8993 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
8994 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
8995 if test -x $with_build_time_tools/as; then
8996 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
8997 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8998 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
8999 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9001 echo "$as_me:$LINENO: result
: no
" >&5
9002 echo "${ECHO_T}no
" >&6
9004 elif test $build != $host && test $have_gcc_for_target = yes; then
9005 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9006 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9007 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9010 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9011 # Extract the first word of "as
", so it can be a program name with args.
9012 set dummy as; ac_word=$2
9013 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9014 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9015 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9016 echo $ECHO_N "(cached
) $ECHO_C" >&6
9018 case $AS_FOR_TARGET in
9020 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9024 for as_dir in $gcc_cv_tool_dirs
9027 test -z "$as_dir" && as_dir=.
9028 for ac_exec_ext in '' $ac_executable_extensions; do
9029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9030 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9040 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9042 if test -n "$AS_FOR_TARGET"; then
9043 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9044 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9046 echo "$as_me:$LINENO: result
: no
" >&5
9047 echo "${ECHO_T}no
" >&6
9051 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9054 if test -n "$AS_FOR_TARGET"; then
9055 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9056 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9057 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9060 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9061 for ncn_progname in as; do
9062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9063 set dummy ${ncn_progname}; ac_word=$2
9064 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9065 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9066 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9067 echo $ECHO_N "(cached
) $ECHO_C" >&6
9069 if test -n "$AS_FOR_TARGET"; then
9070 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir=.
9077 for ac_exec_ext in '' $ac_executable_extensions; do
9078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9079 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9080 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9088 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9089 if test -n "$AS_FOR_TARGET"; then
9090 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9091 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9093 echo "$as_me:$LINENO: result
: no
" >&5
9094 echo "${ECHO_T}no
" >&6
9100 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9101 for ncn_progname in as; do
9102 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9103 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9104 if test -x $with_build_time_tools/${ncn_progname}; then
9105 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9106 echo "$as_me:$LINENO: result
: yes" >&5
9107 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result
: no
" >&5
9111 echo "${ECHO_T}no
" >&6
9116 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9117 for ncn_progname in as; do
9118 if test -n "$ncn_target_tool_prefix"; then
9119 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9120 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9121 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9122 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9123 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9124 echo $ECHO_N "(cached
) $ECHO_C" >&6
9126 if test -n "$AS_FOR_TARGET"; then
9127 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9133 test -z "$as_dir" && as_dir=.
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9137 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9145 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9146 if test -n "$AS_FOR_TARGET"; then
9147 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9148 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9150 echo "$as_me:$LINENO: result
: no
" >&5
9151 echo "${ECHO_T}no
" >&6
9155 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9157 set dummy ${ncn_progname}; ac_word=$2
9158 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9159 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9160 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9161 echo $ECHO_N "(cached
) $ECHO_C" >&6
9163 if test -n "$AS_FOR_TARGET"; then
9164 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir=.
9171 for ac_exec_ext in '' $ac_executable_extensions; do
9172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9173 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9174 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9182 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9183 if test -n "$AS_FOR_TARGET"; then
9184 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9185 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9187 echo "$as_me:$LINENO: result
: no
" >&5
9188 echo "${ECHO_T}no
" >&6
9192 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9196 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9198 if test $build = $target ; then
9201 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9204 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9208 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9214 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9215 if test -n "$with_build_time_tools"; then
9216 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9217 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9218 if test -x $with_build_time_tools/dlltool; then
9219 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9220 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9221 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9222 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9224 echo "$as_me:$LINENO: result
: no
" >&5
9225 echo "${ECHO_T}no
" >&6
9227 elif test $build != $host && test $have_gcc_for_target = yes; then
9228 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9229 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9230 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9233 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9234 # Extract the first word of "dlltool
", so it can be a program name with args.
9235 set dummy dlltool; ac_word=$2
9236 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9237 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9238 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9239 echo $ECHO_N "(cached
) $ECHO_C" >&6
9241 case $DLLTOOL_FOR_TARGET in
9243 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9247 for as_dir in $gcc_cv_tool_dirs
9250 test -z "$as_dir" && as_dir=.
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9253 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9263 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9265 if test -n "$DLLTOOL_FOR_TARGET"; then
9266 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9267 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9269 echo "$as_me:$LINENO: result
: no
" >&5
9270 echo "${ECHO_T}no
" >&6
9274 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9277 if test -n "$DLLTOOL_FOR_TARGET"; then
9278 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9279 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9280 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9283 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9284 for ncn_progname in dlltool; do
9285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9286 set dummy ${ncn_progname}; ac_word=$2
9287 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9288 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9289 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9290 echo $ECHO_N "(cached
) $ECHO_C" >&6
9292 if test -n "$DLLTOOL_FOR_TARGET"; then
9293 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9302 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9303 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9311 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9312 if test -n "$DLLTOOL_FOR_TARGET"; then
9313 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9314 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9316 echo "$as_me:$LINENO: result
: no
" >&5
9317 echo "${ECHO_T}no
" >&6
9323 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9324 for ncn_progname in dlltool; do
9325 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9326 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9327 if test -x $with_build_time_tools/${ncn_progname}; then
9328 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9329 echo "$as_me:$LINENO: result
: yes" >&5
9330 echo "${ECHO_T}yes" >&6
9333 echo "$as_me:$LINENO: result
: no
" >&5
9334 echo "${ECHO_T}no
" >&6
9339 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9340 for ncn_progname in dlltool; do
9341 if test -n "$ncn_target_tool_prefix"; then
9342 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9343 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9344 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9345 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9346 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9347 echo $ECHO_N "(cached
) $ECHO_C" >&6
9349 if test -n "$DLLTOOL_FOR_TARGET"; then
9350 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9356 test -z "$as_dir" && as_dir=.
9357 for ac_exec_ext in '' $ac_executable_extensions; do
9358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9359 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9360 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9368 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9369 if test -n "$DLLTOOL_FOR_TARGET"; then
9370 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9371 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9373 echo "$as_me:$LINENO: result
: no
" >&5
9374 echo "${ECHO_T}no
" >&6
9378 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9380 set dummy ${ncn_progname}; ac_word=$2
9381 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9382 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9383 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9384 echo $ECHO_N "(cached
) $ECHO_C" >&6
9386 if test -n "$DLLTOOL_FOR_TARGET"; then
9387 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9396 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9397 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9405 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9406 if test -n "$DLLTOOL_FOR_TARGET"; then
9407 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9408 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9410 echo "$as_me:$LINENO: result
: no
" >&5
9411 echo "${ECHO_T}no
" >&6
9415 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9419 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9421 if test $build = $target ; then
9422 DLLTOOL_FOR_TARGET="$2"
9424 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9427 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9431 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9437 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9438 if test -n "$with_build_time_tools"; then
9439 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9440 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9441 if test -x $with_build_time_tools/ld; then
9442 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9443 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9444 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9445 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9447 echo "$as_me:$LINENO: result
: no
" >&5
9448 echo "${ECHO_T}no
" >&6
9450 elif test $build != $host && test $have_gcc_for_target = yes; then
9451 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9452 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9453 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9456 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9457 # Extract the first word of "ld
", so it can be a program name with args.
9458 set dummy ld; ac_word=$2
9459 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9460 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9461 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9462 echo $ECHO_N "(cached
) $ECHO_C" >&6
9464 case $LD_FOR_TARGET in
9466 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9470 for as_dir in $gcc_cv_tool_dirs
9473 test -z "$as_dir" && as_dir=.
9474 for ac_exec_ext in '' $ac_executable_extensions; do
9475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9476 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9486 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9488 if test -n "$LD_FOR_TARGET"; then
9489 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9490 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9492 echo "$as_me:$LINENO: result
: no
" >&5
9493 echo "${ECHO_T}no
" >&6
9497 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9500 if test -n "$LD_FOR_TARGET"; then
9501 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9502 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9503 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9506 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9507 for ncn_progname in ld; do
9508 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9509 set dummy ${ncn_progname}; ac_word=$2
9510 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9511 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9512 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9513 echo $ECHO_N "(cached
) $ECHO_C" >&6
9515 if test -n "$LD_FOR_TARGET"; then
9516 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9522 test -z "$as_dir" && as_dir=.
9523 for ac_exec_ext in '' $ac_executable_extensions; do
9524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9525 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9526 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9534 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9535 if test -n "$LD_FOR_TARGET"; then
9536 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9537 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9539 echo "$as_me:$LINENO: result
: no
" >&5
9540 echo "${ECHO_T}no
" >&6
9546 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9547 for ncn_progname in ld; do
9548 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9549 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9550 if test -x $with_build_time_tools/${ncn_progname}; then
9551 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9552 echo "$as_me:$LINENO: result
: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9556 echo "$as_me:$LINENO: result
: no
" >&5
9557 echo "${ECHO_T}no
" >&6
9562 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9563 for ncn_progname in ld; do
9564 if test -n "$ncn_target_tool_prefix"; then
9565 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9566 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9567 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9568 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9569 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9570 echo $ECHO_N "(cached
) $ECHO_C" >&6
9572 if test -n "$LD_FOR_TARGET"; then
9573 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9579 test -z "$as_dir" && as_dir=.
9580 for ac_exec_ext in '' $ac_executable_extensions; do
9581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9582 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9583 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9591 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9592 if test -n "$LD_FOR_TARGET"; then
9593 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9594 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9596 echo "$as_me:$LINENO: result
: no
" >&5
9597 echo "${ECHO_T}no
" >&6
9601 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9603 set dummy ${ncn_progname}; ac_word=$2
9604 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9605 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9606 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9607 echo $ECHO_N "(cached
) $ECHO_C" >&6
9609 if test -n "$LD_FOR_TARGET"; then
9610 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir=.
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9619 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9620 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9628 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9629 if test -n "$LD_FOR_TARGET"; then
9630 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9631 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9633 echo "$as_me:$LINENO: result
: no
" >&5
9634 echo "${ECHO_T}no
" >&6
9638 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9642 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9644 if test $build = $target ; then
9647 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9650 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9654 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9660 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9661 if test -n "$with_build_time_tools"; then
9662 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9663 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9664 if test -x $with_build_time_tools/lipo; then
9665 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9666 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9667 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9668 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9670 echo "$as_me:$LINENO: result
: no
" >&5
9671 echo "${ECHO_T}no
" >&6
9673 elif test $build != $host && test $have_gcc_for_target = yes; then
9674 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9675 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9676 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9679 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9680 # Extract the first word of "lipo
", so it can be a program name with args.
9681 set dummy lipo; ac_word=$2
9682 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9683 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9684 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9685 echo $ECHO_N "(cached
) $ECHO_C" >&6
9687 case $LIPO_FOR_TARGET in
9689 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 for as_dir in $gcc_cv_tool_dirs
9696 test -z "$as_dir" && as_dir=.
9697 for ac_exec_ext in '' $ac_executable_extensions; do
9698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9699 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9700 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9709 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9711 if test -n "$LIPO_FOR_TARGET"; then
9712 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9713 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9715 echo "$as_me:$LINENO: result
: no
" >&5
9716 echo "${ECHO_T}no
" >&6
9720 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9723 if test -n "$LIPO_FOR_TARGET"; then
9724 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9725 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9726 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9729 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9730 for ncn_progname in lipo; do
9731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9732 set dummy ${ncn_progname}; ac_word=$2
9733 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9734 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9735 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9736 echo $ECHO_N "(cached
) $ECHO_C" >&6
9738 if test -n "$LIPO_FOR_TARGET"; then
9739 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir=.
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9749 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9757 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9758 if test -n "$LIPO_FOR_TARGET"; then
9759 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9760 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9762 echo "$as_me:$LINENO: result
: no
" >&5
9763 echo "${ECHO_T}no
" >&6
9769 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9770 for ncn_progname in lipo; do
9771 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9772 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9773 if test -x $with_build_time_tools/${ncn_progname}; then
9774 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9775 echo "$as_me:$LINENO: result
: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9779 echo "$as_me:$LINENO: result
: no
" >&5
9780 echo "${ECHO_T}no
" >&6
9785 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9786 for ncn_progname in lipo; do
9787 if test -n "$ncn_target_tool_prefix"; then
9788 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9789 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9790 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9791 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9792 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9793 echo $ECHO_N "(cached
) $ECHO_C" >&6
9795 if test -n "$LIPO_FOR_TARGET"; then
9796 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9802 test -z "$as_dir" && as_dir=.
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9805 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9806 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9814 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9815 if test -n "$LIPO_FOR_TARGET"; then
9816 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9817 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9819 echo "$as_me:$LINENO: result
: no
" >&5
9820 echo "${ECHO_T}no
" >&6
9824 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9826 set dummy ${ncn_progname}; ac_word=$2
9827 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9828 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9829 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9830 echo $ECHO_N "(cached
) $ECHO_C" >&6
9832 if test -n "$LIPO_FOR_TARGET"; then
9833 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9839 test -z "$as_dir" && as_dir=.
9840 for ac_exec_ext in '' $ac_executable_extensions; do
9841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9842 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9843 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9851 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9852 if test -n "$LIPO_FOR_TARGET"; then
9853 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9854 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9856 echo "$as_me:$LINENO: result
: no
" >&5
9857 echo "${ECHO_T}no
" >&6
9861 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9865 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9867 if test $build = $target ; then
9868 LIPO_FOR_TARGET="$2"
9870 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9873 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9877 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9883 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9884 if test -n "$with_build_time_tools"; then
9885 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9886 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9887 if test -x $with_build_time_tools/nm; then
9888 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9889 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9890 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9891 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9893 echo "$as_me:$LINENO: result
: no
" >&5
9894 echo "${ECHO_T}no
" >&6
9896 elif test $build != $host && test $have_gcc_for_target = yes; then
9897 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9898 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
9899 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9902 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9903 # Extract the first word of "nm
", so it can be a program name with args.
9904 set dummy nm; ac_word=$2
9905 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9906 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9907 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9908 echo $ECHO_N "(cached
) $ECHO_C" >&6
9910 case $NM_FOR_TARGET in
9912 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916 for as_dir in $gcc_cv_tool_dirs
9919 test -z "$as_dir" && as_dir=.
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9932 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9934 if test -n "$NM_FOR_TARGET"; then
9935 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9936 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9938 echo "$as_me:$LINENO: result
: no
" >&5
9939 echo "${ECHO_T}no
" >&6
9943 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9946 if test -n "$NM_FOR_TARGET"; then
9947 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9948 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9949 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9952 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9953 for ncn_progname in nm; do
9954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9955 set dummy ${ncn_progname}; ac_word=$2
9956 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9957 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9958 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9959 echo $ECHO_N "(cached
) $ECHO_C" >&6
9961 if test -n "$NM_FOR_TARGET"; then
9962 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9968 test -z "$as_dir" && as_dir=.
9969 for ac_exec_ext in '' $ac_executable_extensions; do
9970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9971 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9972 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9980 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9981 if test -n "$NM_FOR_TARGET"; then
9982 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9983 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9985 echo "$as_me:$LINENO: result
: no
" >&5
9986 echo "${ECHO_T}no
" >&6
9992 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
9993 for ncn_progname in nm; do
9994 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9995 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9996 if test -x $with_build_time_tools/${ncn_progname}; then
9997 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9998 echo "$as_me:$LINENO: result
: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result
: no
" >&5
10003 echo "${ECHO_T}no
" >&6
10008 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10009 for ncn_progname in nm; do
10010 if test -n "$ncn_target_tool_prefix"; then
10011 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10012 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10013 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10014 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10015 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10016 echo $ECHO_N "(cached
) $ECHO_C" >&6
10018 if test -n "$NM_FOR_TARGET"; then
10019 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022 for as_dir in $PATH
10025 test -z "$as_dir" && as_dir=.
10026 for ac_exec_ext in '' $ac_executable_extensions; do
10027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10028 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10029 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10037 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10038 if test -n "$NM_FOR_TARGET"; then
10039 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10040 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10042 echo "$as_me:$LINENO: result
: no
" >&5
10043 echo "${ECHO_T}no
" >&6
10047 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10049 set dummy ${ncn_progname}; ac_word=$2
10050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10052 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10053 echo $ECHO_N "(cached
) $ECHO_C" >&6
10055 if test -n "$NM_FOR_TARGET"; then
10056 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10059 for as_dir in $PATH
10062 test -z "$as_dir" && as_dir=.
10063 for ac_exec_ext in '' $ac_executable_extensions; do
10064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10065 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10074 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10075 if test -n "$NM_FOR_TARGET"; then
10076 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10077 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10079 echo "$as_me:$LINENO: result
: no
" >&5
10080 echo "${ECHO_T}no
" >&6
10084 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10088 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10090 if test $build = $target ; then
10093 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10096 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10100 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10106 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10107 if test -n "$with_build_time_tools"; then
10108 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10109 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10110 if test -x $with_build_time_tools/objdump; then
10111 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10112 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10113 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10114 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10116 echo "$as_me:$LINENO: result
: no
" >&5
10117 echo "${ECHO_T}no
" >&6
10119 elif test $build != $host && test $have_gcc_for_target = yes; then
10120 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10121 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10122 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10125 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10126 # Extract the first word of "objdump
", so it can be a program name with args.
10127 set dummy objdump; ac_word=$2
10128 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10129 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10130 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10131 echo $ECHO_N "(cached
) $ECHO_C" >&6
10133 case $OBJDUMP_FOR_TARGET in
10135 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10139 for as_dir in $gcc_cv_tool_dirs
10142 test -z "$as_dir" && as_dir=.
10143 for ac_exec_ext in '' $ac_executable_extensions; do
10144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10145 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10146 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10155 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10157 if test -n "$OBJDUMP_FOR_TARGET"; then
10158 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10159 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10161 echo "$as_me:$LINENO: result
: no
" >&5
10162 echo "${ECHO_T}no
" >&6
10166 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10169 if test -n "$OBJDUMP_FOR_TARGET"; then
10170 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10171 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10172 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10175 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10176 for ncn_progname in objdump; do
10177 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10178 set dummy ${ncn_progname}; ac_word=$2
10179 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10180 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10181 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10182 echo $ECHO_N "(cached
) $ECHO_C" >&6
10184 if test -n "$OBJDUMP_FOR_TARGET"; then
10185 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10188 for as_dir in $PATH
10191 test -z "$as_dir" && as_dir=.
10192 for ac_exec_ext in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10195 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10203 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10204 if test -n "$OBJDUMP_FOR_TARGET"; then
10205 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10206 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10208 echo "$as_me:$LINENO: result
: no
" >&5
10209 echo "${ECHO_T}no
" >&6
10215 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10216 for ncn_progname in objdump; do
10217 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10218 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10219 if test -x $with_build_time_tools/${ncn_progname}; then
10220 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10221 echo "$as_me:$LINENO: result
: yes" >&5
10222 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result
: no
" >&5
10226 echo "${ECHO_T}no
" >&6
10231 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10232 for ncn_progname in objdump; do
10233 if test -n "$ncn_target_tool_prefix"; then
10234 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10235 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10236 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10237 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10238 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10239 echo $ECHO_N "(cached
) $ECHO_C" >&6
10241 if test -n "$OBJDUMP_FOR_TARGET"; then
10242 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245 for as_dir in $PATH
10248 test -z "$as_dir" && as_dir=.
10249 for ac_exec_ext in '' $ac_executable_extensions; do
10250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10251 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10252 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10260 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10261 if test -n "$OBJDUMP_FOR_TARGET"; then
10262 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10263 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10265 echo "$as_me:$LINENO: result
: no
" >&5
10266 echo "${ECHO_T}no
" >&6
10270 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10272 set dummy ${ncn_progname}; ac_word=$2
10273 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10274 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10275 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10276 echo $ECHO_N "(cached
) $ECHO_C" >&6
10278 if test -n "$OBJDUMP_FOR_TARGET"; then
10279 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10282 for as_dir in $PATH
10285 test -z "$as_dir" && as_dir=.
10286 for ac_exec_ext in '' $ac_executable_extensions; do
10287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10288 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10289 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10297 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10298 if test -n "$OBJDUMP_FOR_TARGET"; then
10299 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10300 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10302 echo "$as_me:$LINENO: result
: no
" >&5
10303 echo "${ECHO_T}no
" >&6
10307 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10311 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10313 if test $build = $target ; then
10314 OBJDUMP_FOR_TARGET="$2"
10316 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10319 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10323 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10329 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10330 if test -n "$with_build_time_tools"; then
10331 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10332 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10333 if test -x $with_build_time_tools/ranlib; then
10334 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10335 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10336 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10337 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10339 echo "$as_me:$LINENO: result
: no
" >&5
10340 echo "${ECHO_T}no
" >&6
10342 elif test $build != $host && test $have_gcc_for_target = yes; then
10343 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10344 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10345 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10348 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10349 # Extract the first word of "ranlib
", so it can be a program name with args.
10350 set dummy ranlib; ac_word=$2
10351 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10352 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10353 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10354 echo $ECHO_N "(cached
) $ECHO_C" >&6
10356 case $RANLIB_FOR_TARGET in
10358 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $gcc_cv_tool_dirs
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10368 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10369 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10378 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10380 if test -n "$RANLIB_FOR_TARGET"; then
10381 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10382 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10384 echo "$as_me:$LINENO: result
: no
" >&5
10385 echo "${ECHO_T}no
" >&6
10389 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10392 if test -n "$RANLIB_FOR_TARGET"; then
10393 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10394 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10395 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10398 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10399 for ncn_progname in ranlib; do
10400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10401 set dummy ${ncn_progname}; ac_word=$2
10402 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10403 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10404 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10405 echo $ECHO_N "(cached
) $ECHO_C" >&6
10407 if test -n "$RANLIB_FOR_TARGET"; then
10408 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10414 test -z "$as_dir" && as_dir=.
10415 for ac_exec_ext in '' $ac_executable_extensions; do
10416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10418 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10426 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10427 if test -n "$RANLIB_FOR_TARGET"; then
10428 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10429 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10431 echo "$as_me:$LINENO: result
: no
" >&5
10432 echo "${ECHO_T}no
" >&6
10438 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10439 for ncn_progname in ranlib; do
10440 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10441 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10442 if test -x $with_build_time_tools/${ncn_progname}; then
10443 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10444 echo "$as_me:$LINENO: result
: yes" >&5
10445 echo "${ECHO_T}yes" >&6
10448 echo "$as_me:$LINENO: result
: no
" >&5
10449 echo "${ECHO_T}no
" >&6
10454 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10455 for ncn_progname in ranlib; do
10456 if test -n "$ncn_target_tool_prefix"; then
10457 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10458 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10459 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10460 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10461 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10462 echo $ECHO_N "(cached
) $ECHO_C" >&6
10464 if test -n "$RANLIB_FOR_TARGET"; then
10465 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10468 for as_dir in $PATH
10471 test -z "$as_dir" && as_dir=.
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10474 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10475 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10483 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10484 if test -n "$RANLIB_FOR_TARGET"; then
10485 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10486 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10488 echo "$as_me:$LINENO: result
: no
" >&5
10489 echo "${ECHO_T}no
" >&6
10493 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10495 set dummy ${ncn_progname}; ac_word=$2
10496 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10497 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10498 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10499 echo $ECHO_N "(cached
) $ECHO_C" >&6
10501 if test -n "$RANLIB_FOR_TARGET"; then
10502 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10505 for as_dir in $PATH
10508 test -z "$as_dir" && as_dir=.
10509 for ac_exec_ext in '' $ac_executable_extensions; do
10510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10511 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10512 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10520 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10521 if test -n "$RANLIB_FOR_TARGET"; then
10522 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10523 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10525 echo "$as_me:$LINENO: result
: no
" >&5
10526 echo "${ECHO_T}no
" >&6
10530 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10534 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10536 if test $build = $target ; then
10537 RANLIB_FOR_TARGET="$2"
10539 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10542 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10546 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10552 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10553 if test -n "$with_build_time_tools"; then
10554 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10555 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10556 if test -x $with_build_time_tools/strip; then
10557 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10558 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10559 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10560 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10562 echo "$as_me:$LINENO: result
: no
" >&5
10563 echo "${ECHO_T}no
" >&6
10565 elif test $build != $host && test $have_gcc_for_target = yes; then
10566 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10567 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10568 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10571 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10572 # Extract the first word of "strip
", so it can be a program name with args.
10573 set dummy strip; ac_word=$2
10574 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10575 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10576 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10577 echo $ECHO_N "(cached
) $ECHO_C" >&6
10579 case $STRIP_FOR_TARGET in
10581 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $gcc_cv_tool_dirs
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10591 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10592 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10603 if test -n "$STRIP_FOR_TARGET"; then
10604 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10605 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10607 echo "$as_me:$LINENO: result
: no
" >&5
10608 echo "${ECHO_T}no
" >&6
10612 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10615 if test -n "$STRIP_FOR_TARGET"; then
10616 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10617 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10618 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10621 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10622 for ncn_progname in strip; do
10623 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10624 set dummy ${ncn_progname}; ac_word=$2
10625 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10626 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10627 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10628 echo $ECHO_N "(cached
) $ECHO_C" >&6
10630 if test -n "$STRIP_FOR_TARGET"; then
10631 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10634 for as_dir in $PATH
10637 test -z "$as_dir" && as_dir=.
10638 for ac_exec_ext in '' $ac_executable_extensions; do
10639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10640 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10641 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10649 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10650 if test -n "$STRIP_FOR_TARGET"; then
10651 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10652 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10654 echo "$as_me:$LINENO: result
: no
" >&5
10655 echo "${ECHO_T}no
" >&6
10661 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10662 for ncn_progname in strip; do
10663 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10664 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10665 if test -x $with_build_time_tools/${ncn_progname}; then
10666 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10667 echo "$as_me:$LINENO: result
: yes" >&5
10668 echo "${ECHO_T}yes" >&6
10671 echo "$as_me:$LINENO: result
: no
" >&5
10672 echo "${ECHO_T}no
" >&6
10677 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10678 for ncn_progname in strip; do
10679 if test -n "$ncn_target_tool_prefix"; then
10680 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10681 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10682 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10683 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10684 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10685 echo $ECHO_N "(cached
) $ECHO_C" >&6
10687 if test -n "$STRIP_FOR_TARGET"; then
10688 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10691 for as_dir in $PATH
10694 test -z "$as_dir" && as_dir=.
10695 for ac_exec_ext in '' $ac_executable_extensions; do
10696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10697 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10698 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10706 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10707 if test -n "$STRIP_FOR_TARGET"; then
10708 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10709 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10711 echo "$as_me:$LINENO: result
: no
" >&5
10712 echo "${ECHO_T}no
" >&6
10716 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10717 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10718 set dummy ${ncn_progname}; ac_word=$2
10719 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10720 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10721 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10722 echo $ECHO_N "(cached
) $ECHO_C" >&6
10724 if test -n "$STRIP_FOR_TARGET"; then
10725 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10728 for as_dir in $PATH
10731 test -z "$as_dir" && as_dir=.
10732 for ac_exec_ext in '' $ac_executable_extensions; do
10733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10734 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10735 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10743 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10744 if test -n "$STRIP_FOR_TARGET"; then
10745 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10746 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10748 echo "$as_me:$LINENO: result
: no
" >&5
10749 echo "${ECHO_T}no
" >&6
10753 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10757 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10759 if test $build = $target ; then
10760 STRIP_FOR_TARGET="$2"
10762 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10765 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10769 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10775 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10776 if test -n "$with_build_time_tools"; then
10777 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10778 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10779 if test -x $with_build_time_tools/windres; then
10780 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10781 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10782 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10783 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10785 echo "$as_me:$LINENO: result
: no
" >&5
10786 echo "${ECHO_T}no
" >&6
10788 elif test $build != $host && test $have_gcc_for_target = yes; then
10789 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10790 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10791 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10794 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10795 # Extract the first word of "windres
", so it can be a program name with args.
10796 set dummy windres; ac_word=$2
10797 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10798 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10799 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10800 echo $ECHO_N "(cached
) $ECHO_C" >&6
10802 case $WINDRES_FOR_TARGET in
10804 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10808 for as_dir in $gcc_cv_tool_dirs
10811 test -z "$as_dir" && as_dir=.
10812 for ac_exec_ext in '' $ac_executable_extensions; do
10813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10814 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10815 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10824 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10826 if test -n "$WINDRES_FOR_TARGET"; then
10827 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10828 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10830 echo "$as_me:$LINENO: result
: no
" >&5
10831 echo "${ECHO_T}no
" >&6
10835 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10838 if test -n "$WINDRES_FOR_TARGET"; then
10839 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10840 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10841 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10844 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10845 for ncn_progname in windres; do
10846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10847 set dummy ${ncn_progname}; ac_word=$2
10848 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10849 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10850 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10851 echo $ECHO_N "(cached
) $ECHO_C" >&6
10853 if test -n "$WINDRES_FOR_TARGET"; then
10854 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10857 for as_dir in $PATH
10860 test -z "$as_dir" && as_dir=.
10861 for ac_exec_ext in '' $ac_executable_extensions; do
10862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10863 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10864 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10872 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10873 if test -n "$WINDRES_FOR_TARGET"; then
10874 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10875 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10877 echo "$as_me:$LINENO: result
: no
" >&5
10878 echo "${ECHO_T}no
" >&6
10884 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10885 for ncn_progname in windres; do
10886 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10887 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10888 if test -x $with_build_time_tools/${ncn_progname}; then
10889 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10890 echo "$as_me:$LINENO: result
: yes" >&5
10891 echo "${ECHO_T}yes" >&6
10894 echo "$as_me:$LINENO: result
: no
" >&5
10895 echo "${ECHO_T}no
" >&6
10900 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10901 for ncn_progname in windres; do
10902 if test -n "$ncn_target_tool_prefix"; then
10903 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10904 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10905 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10906 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10907 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10908 echo $ECHO_N "(cached
) $ECHO_C" >&6
10910 if test -n "$WINDRES_FOR_TARGET"; then
10911 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10914 for as_dir in $PATH
10917 test -z "$as_dir" && as_dir=.
10918 for ac_exec_ext in '' $ac_executable_extensions; do
10919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10920 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10921 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10929 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10930 if test -n "$WINDRES_FOR_TARGET"; then
10931 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10932 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10934 echo "$as_me:$LINENO: result
: no
" >&5
10935 echo "${ECHO_T}no
" >&6
10939 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10941 set dummy ${ncn_progname}; ac_word=$2
10942 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10944 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10945 echo $ECHO_N "(cached
) $ECHO_C" >&6
10947 if test -n "$WINDRES_FOR_TARGET"; then
10948 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10954 test -z "$as_dir" && as_dir=.
10955 for ac_exec_ext in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10966 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10967 if test -n "$WINDRES_FOR_TARGET"; then
10968 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10969 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10971 echo "$as_me:$LINENO: result
: no
" >&5
10972 echo "${ECHO_T}no
" >&6
10976 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10980 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10982 if test $build = $target ; then
10983 WINDRES_FOR_TARGET="$2"
10985 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10988 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
10992 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10998 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
10999 if test -n "$with_build_time_tools"; then
11000 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11001 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11002 if test -x $with_build_time_tools/windmc; then
11003 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11004 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11005 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11006 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11008 echo "$as_me:$LINENO: result
: no
" >&5
11009 echo "${ECHO_T}no
" >&6
11011 elif test $build != $host && test $have_gcc_for_target = yes; then
11012 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11013 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11014 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11017 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11018 # Extract the first word of "windmc
", so it can be a program name with args.
11019 set dummy windmc; ac_word=$2
11020 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11021 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11022 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11023 echo $ECHO_N "(cached
) $ECHO_C" >&6
11025 case $WINDMC_FOR_TARGET in
11027 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11031 for as_dir in $gcc_cv_tool_dirs
11034 test -z "$as_dir" && as_dir=.
11035 for ac_exec_ext in '' $ac_executable_extensions; do
11036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11037 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11038 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11047 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11049 if test -n "$WINDMC_FOR_TARGET"; then
11050 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11051 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11053 echo "$as_me:$LINENO: result
: no
" >&5
11054 echo "${ECHO_T}no
" >&6
11058 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11061 if test -n "$WINDMC_FOR_TARGET"; then
11062 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11063 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11064 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11067 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11068 for ncn_progname in windmc; do
11069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11070 set dummy ${ncn_progname}; ac_word=$2
11071 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11072 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11073 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11074 echo $ECHO_N "(cached
) $ECHO_C" >&6
11076 if test -n "$WINDMC_FOR_TARGET"; then
11077 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11080 for as_dir in $PATH
11083 test -z "$as_dir" && as_dir=.
11084 for ac_exec_ext in '' $ac_executable_extensions; do
11085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11086 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11087 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11095 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11096 if test -n "$WINDMC_FOR_TARGET"; then
11097 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11098 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11100 echo "$as_me:$LINENO: result
: no
" >&5
11101 echo "${ECHO_T}no
" >&6
11107 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11108 for ncn_progname in windmc; do
11109 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11110 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11111 if test -x $with_build_time_tools/${ncn_progname}; then
11112 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11113 echo "$as_me:$LINENO: result
: yes" >&5
11114 echo "${ECHO_T}yes" >&6
11117 echo "$as_me:$LINENO: result
: no
" >&5
11118 echo "${ECHO_T}no
" >&6
11123 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11124 for ncn_progname in windmc; do
11125 if test -n "$ncn_target_tool_prefix"; then
11126 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11127 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11128 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11129 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11130 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11131 echo $ECHO_N "(cached
) $ECHO_C" >&6
11133 if test -n "$WINDMC_FOR_TARGET"; then
11134 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11143 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11144 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11152 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11153 if test -n "$WINDMC_FOR_TARGET"; then
11154 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11155 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11157 echo "$as_me:$LINENO: result
: no
" >&5
11158 echo "${ECHO_T}no
" >&6
11162 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11163 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11164 set dummy ${ncn_progname}; ac_word=$2
11165 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11166 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11167 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11168 echo $ECHO_N "(cached
) $ECHO_C" >&6
11170 if test -n "$WINDMC_FOR_TARGET"; then
11171 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11174 for as_dir in $PATH
11177 test -z "$as_dir" && as_dir=.
11178 for ac_exec_ext in '' $ac_executable_extensions; do
11179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11180 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11181 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11189 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11190 if test -n "$WINDMC_FOR_TARGET"; then
11191 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11192 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11194 echo "$as_me:$LINENO: result
: no
" >&5
11195 echo "${ECHO_T}no
" >&6
11199 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11203 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11205 if test $build = $target ; then
11206 WINDMC_FOR_TARGET="$2"
11208 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11211 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11215 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11219 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11221 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11222 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11223 if test "x
${build}" != "x
${host}" ; then
11224 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11225 # We already found the complete path
11226 ac_dir=`dirname $AR_FOR_TARGET`
11227 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11228 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11230 # Canadian cross, just use what we found
11231 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11232 echo "${ECHO_T}pre-installed
" >&6
11236 case " ${configdirs} " in
11241 if test $ok = yes; then
11242 # An in-tree tool is available and we can use it
11243 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11244 echo "$as_me:$LINENO: result
: just compiled
" >&5
11245 echo "${ECHO_T}just compiled
" >&6
11246 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11247 # We already found the complete path
11248 ac_dir=`dirname $AR_FOR_TARGET`
11249 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11250 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11251 elif test "x
$target" = "x
$host"; then
11252 # We can use an host tool
11253 AR_FOR_TARGET='$(AR)'
11254 echo "$as_me:$LINENO: result
: host tool
" >&5
11255 echo "${ECHO_T}host tool
" >&6
11257 # We need a cross tool
11258 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11259 echo "${ECHO_T}pre-installed
" >&6
11263 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11264 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11265 if test "x
${build}" != "x
${host}" ; then
11266 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11267 # We already found the complete path
11268 ac_dir=`dirname $AS_FOR_TARGET`
11269 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11270 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11272 # Canadian cross, just use what we found
11273 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11274 echo "${ECHO_T}pre-installed
" >&6
11278 case " ${configdirs} " in
11283 if test $ok = yes; then
11284 # An in-tree tool is available and we can use it
11285 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11286 echo "$as_me:$LINENO: result
: just compiled
" >&5
11287 echo "${ECHO_T}just compiled
" >&6
11288 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11289 # We already found the complete path
11290 ac_dir=`dirname $AS_FOR_TARGET`
11291 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11292 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11293 elif test "x
$target" = "x
$host"; then
11294 # We can use an host tool
11295 AS_FOR_TARGET='$(AS)'
11296 echo "$as_me:$LINENO: result
: host tool
" >&5
11297 echo "${ECHO_T}host tool
" >&6
11299 # We need a cross tool
11300 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11301 echo "${ECHO_T}pre-installed
" >&6
11305 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11306 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11307 if test "x
${build}" != "x
${host}" ; then
11308 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11309 # We already found the complete path
11310 ac_dir=`dirname $CC_FOR_TARGET`
11311 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11312 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11314 # Canadian cross, just use what we found
11315 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11316 echo "${ECHO_T}pre-installed
" >&6
11320 case " ${configdirs} " in
11325 if test $ok = yes; then
11326 # An in-tree tool is available and we can use it
11327 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11328 echo "$as_me:$LINENO: result
: just compiled
" >&5
11329 echo "${ECHO_T}just compiled
" >&6
11330 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11331 # We already found the complete path
11332 ac_dir=`dirname $CC_FOR_TARGET`
11333 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11334 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11335 elif test "x
$target" = "x
$host"; then
11336 # We can use an host tool
11337 CC_FOR_TARGET='$(CC)'
11338 echo "$as_me:$LINENO: result
: host tool
" >&5
11339 echo "${ECHO_T}host tool
" >&6
11341 # We need a cross tool
11342 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11343 echo "${ECHO_T}pre-installed
" >&6
11347 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11348 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11349 if test "x
${build}" != "x
${host}" ; then
11350 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11351 # We already found the complete path
11352 ac_dir=`dirname $CXX_FOR_TARGET`
11353 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11354 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11356 # Canadian cross, just use what we found
11357 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11358 echo "${ECHO_T}pre-installed
" >&6
11362 case " ${configdirs} " in
11366 case ,${enable_languages}, in
11370 if test $ok = yes; then
11371 # An in-tree tool is available and we can use it
11372 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'
11373 echo "$as_me:$LINENO: result
: just compiled
" >&5
11374 echo "${ECHO_T}just compiled
" >&6
11375 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11376 # We already found the complete path
11377 ac_dir=`dirname $CXX_FOR_TARGET`
11378 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11379 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11380 elif test "x
$target" = "x
$host"; then
11381 # We can use an host tool
11382 CXX_FOR_TARGET='$(CXX)'
11383 echo "$as_me:$LINENO: result
: host tool
" >&5
11384 echo "${ECHO_T}host tool
" >&6
11386 # We need a cross tool
11387 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11388 echo "${ECHO_T}pre-installed
" >&6
11392 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11393 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11394 if test "x
${build}" != "x
${host}" ; then
11395 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11396 # We already found the complete path
11397 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11398 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11399 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11401 # Canadian cross, just use what we found
11402 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11403 echo "${ECHO_T}pre-installed
" >&6
11407 case " ${configdirs} " in
11411 case ,${enable_languages}, in
11415 if test $ok = yes; then
11416 # An in-tree tool is available and we can use it
11417 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'
11418 echo "$as_me:$LINENO: result
: just compiled
" >&5
11419 echo "${ECHO_T}just compiled
" >&6
11420 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11421 # We already found the complete path
11422 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11423 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11424 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11425 elif test "x
$target" = "x
$host"; then
11426 # We can use an host tool
11427 RAW_CXX_FOR_TARGET='$(CXX)'
11428 echo "$as_me:$LINENO: result
: host tool
" >&5
11429 echo "${ECHO_T}host tool
" >&6
11431 # We need a cross tool
11432 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11433 echo "${ECHO_T}pre-installed
" >&6
11437 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11438 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11439 if test "x
${build}" != "x
${host}" ; then
11440 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11441 # We already found the complete path
11442 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11443 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11444 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11446 # Canadian cross, just use what we found
11447 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11448 echo "${ECHO_T}pre-installed
" >&6
11452 case " ${configdirs} " in
11457 if test $ok = yes; then
11458 # An in-tree tool is available and we can use it
11459 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11460 echo "$as_me:$LINENO: result
: just compiled
" >&5
11461 echo "${ECHO_T}just compiled
" >&6
11462 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11463 # We already found the complete path
11464 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11465 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11466 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11467 elif test "x
$target" = "x
$host"; then
11468 # We can use an host tool
11469 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11470 echo "$as_me:$LINENO: result
: host tool
" >&5
11471 echo "${ECHO_T}host tool
" >&6
11473 # We need a cross tool
11474 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11475 echo "${ECHO_T}pre-installed
" >&6
11479 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11480 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11481 if test "x
${build}" != "x
${host}" ; then
11482 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11483 # We already found the complete path
11484 ac_dir=`dirname $GCC_FOR_TARGET`
11485 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11486 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11488 # Canadian cross, just use what we found
11489 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11490 echo "${ECHO_T}pre-installed
" >&6
11494 case " ${configdirs} " in
11499 if test $ok = yes; then
11500 # An in-tree tool is available and we can use it
11501 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11502 echo "$as_me:$LINENO: result
: just compiled
" >&5
11503 echo "${ECHO_T}just compiled
" >&6
11504 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11505 # We already found the complete path
11506 ac_dir=`dirname $GCC_FOR_TARGET`
11507 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11508 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11509 elif test "x
$target" = "x
$host"; then
11510 # We can use an host tool
11511 GCC_FOR_TARGET='$()'
11512 echo "$as_me:$LINENO: result
: host tool
" >&5
11513 echo "${ECHO_T}host tool
" >&6
11515 # We need a cross tool
11516 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11517 echo "${ECHO_T}pre-installed
" >&6
11521 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11522 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11523 if test "x
${build}" != "x
${host}" ; then
11524 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11525 # We already found the complete path
11526 ac_dir=`dirname $GCJ_FOR_TARGET`
11527 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11528 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11530 # Canadian cross, just use what we found
11531 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11532 echo "${ECHO_T}pre-installed
" >&6
11536 case " ${configdirs} " in
11540 case ,${enable_languages}, in
11544 if test $ok = yes; then
11545 # An in-tree tool is available and we can use it
11546 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11547 echo "$as_me:$LINENO: result
: just compiled
" >&5
11548 echo "${ECHO_T}just compiled
" >&6
11549 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11550 # We already found the complete path
11551 ac_dir=`dirname $GCJ_FOR_TARGET`
11552 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11553 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11554 elif test "x
$target" = "x
$host"; then
11555 # We can use an host tool
11556 GCJ_FOR_TARGET='$(GCJ)'
11557 echo "$as_me:$LINENO: result
: host tool
" >&5
11558 echo "${ECHO_T}host tool
" >&6
11560 # We need a cross tool
11561 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11562 echo "${ECHO_T}pre-installed
" >&6
11566 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11567 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11568 if test "x
${build}" != "x
${host}" ; then
11569 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11570 # We already found the complete path
11571 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11572 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11573 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11575 # Canadian cross, just use what we found
11576 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11577 echo "${ECHO_T}pre-installed
" >&6
11581 case " ${configdirs} " in
11585 case ,${enable_languages}, in
11589 if test $ok = yes; then
11590 # An in-tree tool is available and we can use it
11591 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11592 echo "$as_me:$LINENO: result
: just compiled
" >&5
11593 echo "${ECHO_T}just compiled
" >&6
11594 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11595 # We already found the complete path
11596 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11597 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11598 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11599 elif test "x
$target" = "x
$host"; then
11600 # We can use an host tool
11601 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11602 echo "$as_me:$LINENO: result
: host tool
" >&5
11603 echo "${ECHO_T}host tool
" >&6
11605 # We need a cross tool
11606 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11607 echo "${ECHO_T}pre-installed
" >&6
11611 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11612 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11613 if test "x
${build}" != "x
${host}" ; then
11614 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11615 # We already found the complete path
11616 ac_dir=`dirname $LD_FOR_TARGET`
11617 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11618 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11620 # Canadian cross, just use what we found
11621 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11622 echo "${ECHO_T}pre-installed
" >&6
11626 case " ${configdirs} " in
11631 if test $ok = yes; then
11632 # An in-tree tool is available and we can use it
11633 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11634 echo "$as_me:$LINENO: result
: just compiled
" >&5
11635 echo "${ECHO_T}just compiled
" >&6
11636 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11637 # We already found the complete path
11638 ac_dir=`dirname $LD_FOR_TARGET`
11639 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11640 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11641 elif test "x
$target" = "x
$host"; then
11642 # We can use an host tool
11643 LD_FOR_TARGET='$(LD)'
11644 echo "$as_me:$LINENO: result
: host tool
" >&5
11645 echo "${ECHO_T}host tool
" >&6
11647 # We need a cross tool
11648 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11649 echo "${ECHO_T}pre-installed
" >&6
11653 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11654 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11655 if test "x
${build}" != "x
${host}" ; then
11656 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11657 # We already found the complete path
11658 ac_dir=`dirname $LIPO_FOR_TARGET`
11659 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11660 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11662 # Canadian cross, just use what we found
11663 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11664 echo "${ECHO_T}pre-installed
" >&6
11667 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11668 # We already found the complete path
11669 ac_dir=`dirname $LIPO_FOR_TARGET`
11670 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11671 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11672 elif test "x
$target" = "x
$host"; then
11673 # We can use an host tool
11674 LIPO_FOR_TARGET='$(LIPO)'
11675 echo "$as_me:$LINENO: result
: host tool
" >&5
11676 echo "${ECHO_T}host tool
" >&6
11678 # We need a cross tool
11679 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11680 echo "${ECHO_T}pre-installed
" >&6
11684 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11685 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11686 if test "x
${build}" != "x
${host}" ; then
11687 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11688 # We already found the complete path
11689 ac_dir=`dirname $NM_FOR_TARGET`
11690 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11691 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11693 # Canadian cross, just use what we found
11694 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11695 echo "${ECHO_T}pre-installed
" >&6
11699 case " ${configdirs} " in
11704 if test $ok = yes; then
11705 # An in-tree tool is available and we can use it
11706 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11707 echo "$as_me:$LINENO: result
: just compiled
" >&5
11708 echo "${ECHO_T}just compiled
" >&6
11709 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11710 # We already found the complete path
11711 ac_dir=`dirname $NM_FOR_TARGET`
11712 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11713 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11714 elif test "x
$target" = "x
$host"; then
11715 # We can use an host tool
11716 NM_FOR_TARGET='$(NM)'
11717 echo "$as_me:$LINENO: result
: host tool
" >&5
11718 echo "${ECHO_T}host tool
" >&6
11720 # We need a cross tool
11721 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11722 echo "${ECHO_T}pre-installed
" >&6
11726 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11727 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11728 if test "x
${build}" != "x
${host}" ; then
11729 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11730 # We already found the complete path
11731 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11732 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11733 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11735 # Canadian cross, just use what we found
11736 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11737 echo "${ECHO_T}pre-installed
" >&6
11741 case " ${configdirs} " in
11746 if test $ok = yes; then
11747 # An in-tree tool is available and we can use it
11748 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11749 echo "$as_me:$LINENO: result
: just compiled
" >&5
11750 echo "${ECHO_T}just compiled
" >&6
11751 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11752 # We already found the complete path
11753 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11754 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11755 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11756 elif test "x
$target" = "x
$host"; then
11757 # We can use an host tool
11758 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11759 echo "$as_me:$LINENO: result
: host tool
" >&5
11760 echo "${ECHO_T}host tool
" >&6
11762 # We need a cross tool
11763 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11764 echo "${ECHO_T}pre-installed
" >&6
11768 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11769 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11770 if test "x
${build}" != "x
${host}" ; then
11771 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11772 # We already found the complete path
11773 ac_dir=`dirname $RANLIB_FOR_TARGET`
11774 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11775 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11777 # Canadian cross, just use what we found
11778 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11779 echo "${ECHO_T}pre-installed
" >&6
11783 case " ${configdirs} " in
11788 if test $ok = yes; then
11789 # An in-tree tool is available and we can use it
11790 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11791 echo "$as_me:$LINENO: result
: just compiled
" >&5
11792 echo "${ECHO_T}just compiled
" >&6
11793 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11794 # We already found the complete path
11795 ac_dir=`dirname $RANLIB_FOR_TARGET`
11796 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11797 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11798 elif test "x
$target" = "x
$host"; then
11799 # We can use an host tool
11800 RANLIB_FOR_TARGET='$(RANLIB)'
11801 echo "$as_me:$LINENO: result
: host tool
" >&5
11802 echo "${ECHO_T}host tool
" >&6
11804 # We need a cross tool
11805 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11806 echo "${ECHO_T}pre-installed
" >&6
11810 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11811 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11812 if test "x
${build}" != "x
${host}" ; then
11813 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11814 # We already found the complete path
11815 ac_dir=`dirname $STRIP_FOR_TARGET`
11816 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11817 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11819 # Canadian cross, just use what we found
11820 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11821 echo "${ECHO_T}pre-installed
" >&6
11825 case " ${configdirs} " in
11830 if test $ok = yes; then
11831 # An in-tree tool is available and we can use it
11832 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11833 echo "$as_me:$LINENO: result
: just compiled
" >&5
11834 echo "${ECHO_T}just compiled
" >&6
11835 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11836 # We already found the complete path
11837 ac_dir=`dirname $STRIP_FOR_TARGET`
11838 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11839 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11840 elif test "x
$target" = "x
$host"; then
11841 # We can use an host tool
11842 STRIP_FOR_TARGET='$(STRIP)'
11843 echo "$as_me:$LINENO: result
: host tool
" >&5
11844 echo "${ECHO_T}host tool
" >&6
11846 # We need a cross tool
11847 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11848 echo "${ECHO_T}pre-installed
" >&6
11852 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11853 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11854 if test "x
${build}" != "x
${host}" ; then
11855 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11856 # We already found the complete path
11857 ac_dir=`dirname $WINDRES_FOR_TARGET`
11858 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11859 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11861 # Canadian cross, just use what we found
11862 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11863 echo "${ECHO_T}pre-installed
" >&6
11867 case " ${configdirs} " in
11872 if test $ok = yes; then
11873 # An in-tree tool is available and we can use it
11874 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11875 echo "$as_me:$LINENO: result
: just compiled
" >&5
11876 echo "${ECHO_T}just compiled
" >&6
11877 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11878 # We already found the complete path
11879 ac_dir=`dirname $WINDRES_FOR_TARGET`
11880 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11881 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11882 elif test "x
$target" = "x
$host"; then
11883 # We can use an host tool
11884 WINDRES_FOR_TARGET='$(WINDRES)'
11885 echo "$as_me:$LINENO: result
: host tool
" >&5
11886 echo "${ECHO_T}host tool
" >&6
11888 # We need a cross tool
11889 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11890 echo "${ECHO_T}pre-installed
" >&6
11894 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11895 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11896 if test "x
${build}" != "x
${host}" ; then
11897 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11898 # We already found the complete path
11899 ac_dir=`dirname $WINDMC_FOR_TARGET`
11900 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11901 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11903 # Canadian cross, just use what we found
11904 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11905 echo "${ECHO_T}pre-installed
" >&6
11909 case " ${configdirs} " in
11914 if test $ok = yes; then
11915 # An in-tree tool is available and we can use it
11916 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
11917 echo "$as_me:$LINENO: result
: just compiled
" >&5
11918 echo "${ECHO_T}just compiled
" >&6
11919 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11920 # We already found the complete path
11921 ac_dir=`dirname $WINDMC_FOR_TARGET`
11922 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11923 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11924 elif test "x
$target" = "x
$host"; then
11925 # We can use an host tool
11926 WINDMC_FOR_TARGET='$(WINDMC)'
11927 echo "$as_me:$LINENO: result
: host tool
" >&5
11928 echo "${ECHO_T}host tool
" >&6
11930 # We need a cross tool
11931 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11932 echo "${ECHO_T}pre-installed
" >&6
11940 # Certain tools may need extra flags.
11941 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11942 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11943 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11945 # When building target libraries, except in a Canadian cross, we use
11946 # the same toolchain as the compiler we just built.
11947 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11948 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11949 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11950 if test $host = $build; then
11951 case " $configdirs " in
11953 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11954 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11955 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11964 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11965 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11966 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11967 if test "${enable_maintainer_mode+set}" = set; then
11968 enableval="$enable_maintainer_mode"
11969 USE_MAINTAINER_MODE=$enableval
11971 USE_MAINTAINER_MODE=no
11973 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11974 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11977 if test "$USE_MAINTAINER_MODE" = yes; then
11978 MAINTAINER_MODE_TRUE=
11979 MAINTAINER_MODE_FALSE='#'
11981 MAINTAINER_MODE_TRUE='#'
11982 MAINTAINER_MODE_FALSE=
11984 MAINT=$MAINTAINER_MODE_TRUE
11986 # ---------------------
11987 # GCC bootstrap support
11988 # ---------------------
11990 # Stage specific cflags for build.
11995 yes) stage1_cflags="-g -Wa,-J" ;;
11996 *) stage1_cflags="-g -J" ;;
12000 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12001 if test "$GCC" = yes; then
12002 saved_CFLAGS="$CFLAGS"
12004 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12005 CFLAGS="$CFLAGS -fkeep-inline-functions"
12006 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12007 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12008 cat >conftest.$ac_ext <<_ACEOF
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12015 #if (__GNUC__ < 3) \
12016 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12017 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12018 #error http://gcc.gnu.org/PR29382
12029 rm -f conftest.$ac_objext
12030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12031 (eval $ac_compile) 2>conftest.er1
12033 grep -v '^ *+' conftest.er1 >conftest.err
12035 cat conftest.err >&5
12036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12037 (exit $ac_status); } &&
12038 { ac_try='test -z "$ac_c_werror_flag"
12039 || test ! -s conftest.err'
12040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12044 (exit $ac_status); }; } &&
12045 { ac_try='test -s conftest.$ac_objext'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12050 (exit $ac_status); }; }; then
12051 echo "$as_me:$LINENO: result
: yes" >&5
12052 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12054 echo "$as_me: failed program was
:" >&5
12055 sed 's/^/| /' conftest.$ac_ext >&5
12057 echo "$as_me:$LINENO: result
: no
" >&5
12058 echo "${ECHO_T}no
" >&6
12060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12062 CFLAGS="$saved_CFLAGS"
12067 # Enable --enable-checking in stage1 of the compiler.
12068 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12069 if test "${enable_stage1_checking+set}" = set; then
12070 enableval="$enable_stage1_checking"
12071 stage1_checking=--enable-checking=${enable_stage1_checking}
12073 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12074 stage1_checking=--enable-checking=yes,types
12076 stage1_checking=--enable-checking=$enable_checking,types
12081 # Enable -Werror in bootstrap stage2 and later.
12082 # Check whether --enable-werror or --disable-werror was given.
12083 if test "${enable_werror+set}" = set; then
12084 enableval="$enable_werror"
12087 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12093 case ${enable_werror} in
12094 yes) stage2_werror_flag="--enable-werror-always" ;;
12095 *) stage2_werror_flag="" ;;
12099 # Flags needed to enable html installing and building
12101 # Check whether --with-datarootdir or --without-datarootdir was given.
12102 if test "${with_datarootdir+set}" = set; then
12103 withval="$with_datarootdir"
12104 datarootdir="\
${prefix}/${withval}"
12106 datarootdir="\
${prefix}/share
"
12110 # Check whether --with-docdir or --without-docdir was given.
12111 if test "${with_docdir+set}" = set; then
12112 withval="$with_docdir"
12113 docdir="\
${prefix}/${withval}"
12115 docdir="\
${datarootdir}/doc
"
12119 # Check whether --with-pdfdir or --without-pdfdir was given.
12120 if test "${with_pdfdir+set}" = set; then
12121 withval="$with_pdfdir"
12122 pdfdir="\
${prefix}/${withval}"
12124 pdfdir="\
${docdir}"
12128 # Check whether --with-htmldir or --without-htmldir was given.
12129 if test "${with_htmldir+set}" = set; then
12130 withval="$with_htmldir"
12131 htmldir="\
${prefix}/${withval}"
12133 htmldir="\
${docdir}"
12141 ac_config_files="$ac_config_files Makefile
"
12142 cat >confcache <<\_ACEOF
12143 # This file is a shell script that caches the results of configure
12144 # tests run on this system so they can be shared between configure
12145 # scripts and configure runs, see configure's option --config-cache.
12146 # It is not useful on other systems. If it contains results you don't
12147 # want to keep, you may remove or edit it.
12149 # config.status only pays attention to the cache file if you give it
12150 # the --recheck option to rerun configure.
12152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12154 # following values.
12158 # The following way of writing the cache mishandles newlines in values,
12159 # but we know of no workaround that is simple, portable, and efficient.
12160 # So, don't put newlines in cache variables' values.
12161 # Ultrix sh set writes to stderr and can't be redirected directly,
12162 # and sets the high bit in the cache file unless we assign to the vars.
12165 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12167 # `set' does not quote correctly, so add quotes (double-quote
12168 # substitution turns \\\\ into \\, and sed turns \\ into \).
12171 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12174 # `set' quotes correctly as required by POSIX, so do not add quotes.
12176 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12185 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12187 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12188 if test -w $cache_file; then
12189 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12190 cat confcache >$cache_file
12192 echo "not updating unwritable cache
$cache_file"
12197 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12198 # Let make expand exec_prefix.
12199 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12201 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12202 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12203 # trailing colons and then remove the whole line if VPATH becomes empty
12204 # (actually we leave an empty line to preserve line numbers).
12205 if test "x
$srcdir" = x.; then
12206 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12207 s/:*\$(srcdir):*/:/;
12208 s/:*\${srcdir}:*/:/;
12210 s/^\([^=]*=[ ]*\):*/\1/;
12216 # Transform confdefs.h into DEFS.
12217 # Protect against shell expansion while executing Makefile rules.
12218 # Protect against Makefile macro expansion.
12220 # If the first sed substitution is executed (which looks for macros that
12221 # take arguments), then we branch to the quote section. Otherwise,
12222 # look for a macro that doesn't take arguments.
12223 cat >confdef2opt.sed <<\_ACEOF
12226 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12228 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12232 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12238 # We use echo to avoid assuming a particular line-breaking character.
12239 # The extra dot is to prevent the shell from consuming trailing
12240 # line-breaks from the sub-command output. A line-break within
12241 # single-quotes doesn't work because, if this script is created in a
12242 # platform that uses two characters for line-breaks (e.g., DOS), tr
12244 ac_LF_and_DOT
=`echo; echo .`
12245 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12246 rm -f confdef2opt.
sed
12251 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12252 # 1. Remove the extension, and $U if already installed.
12253 ac_i
=`echo "$ac_i" |
12254 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12256 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12257 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12259 LIBOBJS
=$ac_libobjs
12261 LTLIBOBJS
=$ac_ltlibobjs
12265 : ${CONFIG_STATUS=./config.status}
12266 ac_clean_files_save
=$ac_clean_files
12267 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12268 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12269 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12270 cat >$CONFIG_STATUS <<_ACEOF
12272 # Generated by $as_me.
12273 # Run this file to recreate the current configuration.
12274 # Compiler output produced by configure, useful for debugging
12275 # configure, is in config.log if it exists.
12278 ac_cs_recheck=false
12280 SHELL=\${CONFIG_SHELL-$SHELL}
12283 cat >>$CONFIG_STATUS <<\_ACEOF
12284 ## --------------------- ##
12285 ## M4sh Initialization. ##
12286 ## --------------------- ##
12288 # Be Bourne compatible
12289 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12292 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12293 # is contrary to our usage. Disable this feature.
12294 alias -g '${1+"$@"}'='"$@"'
12295 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12298 DUALCASE
=1; export DUALCASE
# for MKS sh
12300 # Support unset when possible.
12301 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12308 # Work around bugs in pre-3.0 UWIN ksh.
12309 $as_unset ENV MAIL MAILPATH
12316 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12317 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12318 LC_TELEPHONE LC_TIME
12320 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12321 eval $as_var=C
; export $as_var
12327 # Required to use basename.
12328 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12334 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12335 as_basename
=basename
12341 # Name of the executable.
12342 as_me
=`$as_basename "$0" ||
12343 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12344 X"$0" : 'X\(//\)$' \| \
12345 X"$0" : 'X\(/\)$' \| \
12346 . : '\(.\)' 2>/dev/null ||
12348 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12349 /^X\/\(\/\/\)$/{ s//\1/; q; }
12350 /^X\/\(\/\).*/{ s//\1/; q; }
12354 # PATH needs CR, and LINENO needs CR and PATH.
12355 # Avoid depending upon Character Ranges.
12356 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12357 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12358 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12359 as_cr_digits
='0123456789'
12360 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12362 # The user is always right.
12363 if test "${PATH_SEPARATOR+set}" != set; then
12364 echo "#! /bin/sh" >conf$$.sh
12365 echo "exit 0" >>conf$$.sh
12367 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12376 as_lineno_1
=$LINENO
12377 as_lineno_2
=$LINENO
12378 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12379 test "x$as_lineno_1" != "x$as_lineno_2" &&
12380 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12381 # Find who we are. Look in the path if we contain no path at all
12384 *[\\/]* ) as_myself
=$0 ;;
12385 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12386 for as_dir
in $PATH
12389 test -z "$as_dir" && as_dir
=.
12390 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12395 # We did not find ourselves, most probably we were run as `sh COMMAND'
12396 # in which case we are not to be found in the path.
12397 if test "x$as_myself" = x
; then
12400 if test ! -f "$as_myself"; then
12401 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12402 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12403 { (exit 1); exit 1; }; }
12405 case $CONFIG_SHELL in
12407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12408 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12411 test -z "$as_dir" && as_dir
=.
12412 for as_base
in sh bash ksh sh5
; do
12415 if ("$as_dir/$as_base" -c '
12416 as_lineno_1=$LINENO
12417 as_lineno_2=$LINENO
12418 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12419 test "x$as_lineno_1" != "x$as_lineno_2" &&
12420 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12421 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12422 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12423 CONFIG_SHELL
=$as_dir/$as_base
12424 export CONFIG_SHELL
12425 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12434 # uniformly replaced by the line number. The first 'sed' inserts a
12435 # line-number line before each line; the second 'sed' does the real
12436 # work. The second script uses 'N' to pair each line-number line
12437 # with the numbered line, and appends trailing '-' during
12438 # substitution so that $LINENO is not a special case at line end.
12439 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12440 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12441 sed '=' <$as_myself |
12446 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12449 s,^['$as_cr_digits']*\n,,
12450 ' >$as_me.lineno
&&
12451 chmod +x
$as_me.lineno ||
12452 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12453 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12454 { (exit 1); exit 1; }; }
12456 # Don't try to exec as it changes $[0], causing all sort of problems
12457 # (the dirname of $[0] is not the place where we might find the
12458 # original and so on. Autoconf is especially sensible to this).
12460 # Exit status is that of the last command.
12465 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12466 *c
*,-n*) ECHO_N
= ECHO_C
='
12468 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12469 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12472 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12478 rm -f conf$$ conf$$.exe conf$$.
file
12480 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12481 # We could just check for DJGPP; but this test a) works b) is more generic
12482 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12483 if test -f conf$$.exe
; then
12484 # Don't use ln at all; we don't have any links
12489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12494 rm -f conf$$ conf$$.exe conf$$.
file
12496 if mkdir
-p .
2>/dev
/null
; then
12499 test -d .
/-p && rmdir .
/-p
12503 as_executable_p
="test -f"
12505 # Sed expression to map a string onto a valid CPP name.
12506 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12508 # Sed expression to map a string onto a valid variable name.
12509 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12513 # We need space, tab and new line, in precisely that order.
12523 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12524 # report actual input values of CONFIG_FILES etc. instead of their
12525 # values after options handling. Logging --version etc. is OK.
12529 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12530 ## Running $as_me. ##
12535 This file was extended by $as_me, which was
12536 generated by GNU Autoconf 2.59. Invocation command line was
12538 CONFIG_FILES = $CONFIG_FILES
12539 CONFIG_HEADERS = $CONFIG_HEADERS
12540 CONFIG_LINKS = $CONFIG_LINKS
12541 CONFIG_COMMANDS = $CONFIG_COMMANDS
12545 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12549 # Files that config.status was made for.
12550 if test -n "$ac_config_files"; then
12551 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12554 if test -n "$ac_config_headers"; then
12555 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12558 if test -n "$ac_config_links"; then
12559 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12562 if test -n "$ac_config_commands"; then
12563 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12566 cat >>$CONFIG_STATUS <<\_ACEOF
12569 \`$as_me' instantiates files from templates according to the
12570 current configuration.
12572 Usage: $0 [OPTIONS] [FILE]...
12574 -h, --help print this help, then exit
12575 -V, --version print version number, then exit
12576 -q, --quiet do not print progress messages
12577 -d, --debug don't remove temporary files
12578 --recheck update $as_me by reconfiguring in the same conditions
12579 --file=FILE[:TEMPLATE]
12580 instantiate the configuration file FILE
12582 Configuration files:
12585 Report bugs to <bug-autoconf@gnu.org>."
12588 cat >>$CONFIG_STATUS <<_ACEOF
12591 configured by $0, generated by GNU Autoconf 2.59,
12592 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12594 Copyright (C) 2003 Free Software Foundation, Inc.
12595 This config.status script is free software; the Free Software Foundation
12596 gives unlimited permission to copy, distribute and modify it."
12601 cat >>$CONFIG_STATUS <<\_ACEOF
12602 # If no file are specified by the user, then we need to provide default
12603 # value. By we need to know if files were specified by the user.
12609 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12610 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12618 *) # This is not an option, so the user has probably given explicit
12621 ac_need_defaults
=false
;;
12625 # Handling of the options.
12627 cat >>$CONFIG_STATUS <<\_ACEOF
12628 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12630 --version |
--vers* |
-V )
12631 echo "$ac_cs_version"; exit 0 ;;
12633 # Conflict between --help and --header
12634 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12635 Try \`$0 --help' for more information." >&5
12636 echo "$as_me: error: ambiguous option: $1
12637 Try \`$0 --help' for more information." >&2;}
12638 { (exit 1); exit 1; }; };;
12639 --help |
--hel |
-h )
12640 echo "$ac_cs_usage"; exit 0 ;;
12641 --debug |
--d* |
-d )
12643 --file |
--fil |
--fi |
--f )
12645 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12646 ac_need_defaults
=false
;;
12647 --header |
--heade |
--head |
--hea )
12649 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12650 ac_need_defaults
=false
;;
12651 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12652 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12655 # This is an error.
12656 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12657 Try \`$0 --help' for more information." >&5
12658 echo "$as_me: error: unrecognized option: $1
12659 Try \`$0 --help' for more information." >&2;}
12660 { (exit 1); exit 1; }; } ;;
12662 *) ac_config_targets
="$ac_config_targets $1" ;;
12668 ac_configure_extra_args
=
12670 if $ac_cs_silent; then
12672 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12676 cat >>$CONFIG_STATUS <<_ACEOF
12677 if \$ac_cs_recheck; then
12678 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12679 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12688 cat >>$CONFIG_STATUS <<\_ACEOF
12689 for ac_config_target
in $ac_config_targets
12691 case "$ac_config_target" in
12692 # Handling of arguments.
12693 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12694 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12695 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12696 { (exit 1); exit 1; }; };;
12700 # If the user did not use the arguments to specify the items to instantiate,
12701 # then the envvar interface is used. Set only those that are not.
12702 # We use the long form for the default assignment because of an extremely
12703 # bizarre bug on SunOS 4.1.3.
12704 if $ac_need_defaults; then
12705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12708 # Have a temporary directory for convenience. Make it in the build tree
12709 # simply because there is no reason to put it here, and in addition,
12710 # creating and moving files from /tmp can sometimes cause problems.
12711 # Create a temporary directory, and hook for its removal unless debugging.
12714 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12715 trap '{ (exit 1); exit 1; }' 1 2 13 15
12718 # Create a (secure) tmp directory for tmp files.
12721 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12722 test -n "$tmp" && test -d "$tmp"
12725 tmp
=.
/confstat$$
-$RANDOM
12726 (umask 077 && mkdir
$tmp)
12729 echo "$me: cannot create a temporary directory in ." >&2
12730 { (exit 1); exit 1; }
12735 cat >>$CONFIG_STATUS <<_ACEOF
12738 # CONFIG_FILES section.
12741 # No need to generate the scripts if there are no CONFIG_FILES.
12742 # This happens for instance when ./config.status config.h
12743 if test -n "\$CONFIG_FILES"; then
12744 # Protect against being on the right side of a sed subst in config.status.
12745 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12746 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12747 s,@SHELL@,$SHELL,;t t
12748 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12749 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12750 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12751 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12752 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12753 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12754 s,@exec_prefix@,$exec_prefix,;t t
12755 s,@prefix@,$prefix,;t t
12756 s,@program_transform_name@,$program_transform_name,;t t
12757 s,@bindir@,$bindir,;t t
12758 s,@sbindir@,$sbindir,;t t
12759 s,@libexecdir@,$libexecdir,;t t
12760 s,@datadir@,$datadir,;t t
12761 s,@sysconfdir@,$sysconfdir,;t t
12762 s,@sharedstatedir@,$sharedstatedir,;t t
12763 s,@localstatedir@,$localstatedir,;t t
12764 s,@libdir@,$libdir,;t t
12765 s,@includedir@,$includedir,;t t
12766 s,@oldincludedir@,$oldincludedir,;t t
12767 s,@infodir@,$infodir,;t t
12768 s,@mandir@,$mandir,;t t
12769 s,@build_alias@,$build_alias,;t t
12770 s,@host_alias@,$host_alias,;t t
12771 s,@target_alias@,$target_alias,;t t
12772 s,@DEFS@,$DEFS,;t t
12773 s,@ECHO_C@,$ECHO_C,;t t
12774 s,@ECHO_N@,$ECHO_N,;t t
12775 s,@ECHO_T@,$ECHO_T,;t t
12776 s,@LIBS@,$LIBS,;t t
12777 s,@build@,$build,;t t
12778 s,@build_cpu@,$build_cpu,;t t
12779 s,@build_vendor@,$build_vendor,;t t
12780 s,@build_os@,$build_os,;t t
12781 s,@build_noncanonical@,$build_noncanonical,;t t
12782 s,@host_noncanonical@,$host_noncanonical,;t t
12783 s,@target_noncanonical@,$target_noncanonical,;t t
12784 s,@host@,$host,;t t
12785 s,@host_cpu@,$host_cpu,;t t
12786 s,@host_vendor@,$host_vendor,;t t
12787 s,@host_os@,$host_os,;t t
12788 s,@target@,$target,;t t
12789 s,@target_cpu@,$target_cpu,;t t
12790 s,@target_vendor@,$target_vendor,;t t
12791 s,@target_os@,$target_os,;t t
12792 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12793 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12794 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12796 s,@LN_S@,$LN_S,;t t
12797 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12798 s,@build_libsubdir@,$build_libsubdir,;t t
12799 s,@build_subdir@,$build_subdir,;t t
12800 s,@host_subdir@,$host_subdir,;t t
12801 s,@target_subdir@,$target_subdir,;t t
12803 s,@CFLAGS@,$CFLAGS,;t t
12804 s,@LDFLAGS@,$LDFLAGS,;t t
12805 s,@CPPFLAGS@,$CPPFLAGS,;t t
12806 s,@ac_ct_CC@,$ac_ct_CC,;t t
12807 s,@EXEEXT@,$EXEEXT,;t t
12808 s,@OBJEXT@,$OBJEXT,;t t
12810 s,@CXXFLAGS@,$CXXFLAGS,;t t
12811 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12812 s,@GNATBIND@,$GNATBIND,;t t
12813 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12814 s,@GNATMAKE@,$GNATMAKE,;t t
12815 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12816 s,@do_compare@,$do_compare,;t t
12817 s,@gmplibs@,$gmplibs,;t t
12818 s,@gmpinc@,$gmpinc,;t t
12819 s,@stage1_languages@,$stage1_languages,;t t
12820 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12821 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12822 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12823 s,@tooldir@,$tooldir,;t t
12824 s,@build_tooldir@,$build_tooldir,;t t
12825 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12826 s,@GDB_TK@,$GDB_TK,;t t
12827 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12828 s,@build_configargs@,$build_configargs,;t t
12829 s,@build_configdirs@,$build_configdirs,;t t
12830 s,@host_configargs@,$host_configargs,;t t
12831 s,@configdirs@,$configdirs,;t t
12832 s,@target_configargs@,$target_configargs,;t t
12833 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12834 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
12835 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12836 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12837 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
12838 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
12839 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
12840 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
12841 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
12842 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
12843 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
12844 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
12845 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
12846 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
12847 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
12848 s,@config_shell@,$config_shell,;t t
12849 s,@YACC@,$YACC,;t t
12850 s,@BISON@,$BISON,;t t
12853 s,@FLEX@,$FLEX,;t t
12854 s,@MAKEINFO@,$MAKEINFO,;t t
12855 s,@EXPECT@,$EXPECT,;t t
12856 s,@RUNTEST@,$RUNTEST,;t t
12859 s,@DLLTOOL@,$DLLTOOL,;t t
12861 s,@LIPO@,$LIPO,;t t
12863 s,@RANLIB@,$RANLIB,;t t
12864 s,@STRIP@,$STRIP,;t t
12865 s,@WINDRES@,$WINDRES,;t t
12866 s,@WINDMC@,$WINDMC,;t t
12867 s,@OBJCOPY@,$OBJCOPY,;t t
12868 s,@OBJDUMP@,$OBJDUMP,;t t
12869 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12870 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12871 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12872 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12873 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12874 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12875 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12876 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12877 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12878 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12879 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12880 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12881 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12882 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12883 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12884 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12885 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12886 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12887 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12888 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12889 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12890 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12891 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12892 s,@MAINT@,$MAINT,;t t
12893 s,@stage1_cflags@,$stage1_cflags,;t t
12894 s,@stage1_checking@,$stage1_checking,;t t
12895 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12896 s,@datarootdir@,$datarootdir,;t t
12897 s,@docdir@,$docdir,;t t
12898 s,@pdfdir@,$pdfdir,;t t
12899 s,@htmldir@,$htmldir,;t t
12900 s,@LIBOBJS@,$LIBOBJS,;t t
12901 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12902 /@serialization_dependencies@/r $serialization_dependencies
12903 s,@serialization_dependencies@,,;t t
12904 /@host_makefile_frag@/r $host_makefile_frag
12905 s,@host_makefile_frag@,,;t t
12906 /@target_makefile_frag@/r $target_makefile_frag
12907 s,@target_makefile_frag@,,;t t
12908 /@alphaieee_frag@/r $alphaieee_frag
12909 s,@alphaieee_frag@,,;t t
12910 /@ospace_frag@/r $ospace_frag
12911 s,@ospace_frag@,,;t t
12916 cat >>$CONFIG_STATUS <<\_ACEOF
12917 # Split the substitutions into bite-sized pieces for seds with
12918 # small command number limits, like on Digital OSF/1 and HP-UX.
12919 ac_max_sed_lines
=48
12920 ac_sed_frag
=1 # Number of current file.
12921 ac_beg
=1 # First line for current file.
12922 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12925 while $ac_more_lines; do
12926 if test $ac_beg -gt 1; then
12927 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12929 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12931 if test ! -s $tmp/subs.frag
; then
12932 ac_more_lines
=false
12934 # The purpose of the label and of the branching condition is to
12935 # speed up the sed processing (if there are no `@' at all, there
12936 # is no need to browse any of the substitutions).
12937 # These are the two extra sed commands mentioned above.
12939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12940 if test -z "$ac_sed_cmds"; then
12941 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12943 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12945 ac_sed_frag
=`expr $ac_sed_frag + 1`
12947 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12950 if test -z "$ac_sed_cmds"; then
12953 fi # test -n "$CONFIG_FILES"
12956 cat >>$CONFIG_STATUS <<\_ACEOF
12957 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12960 - |
*:- |
*:-:* ) # input from stdin
12962 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12963 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12964 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12965 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12966 * ) ac_file_in
=$ac_file.
in ;;
12969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12970 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12972 X"$ac_file" : 'X\(//\)[^/]' \| \
12973 X"$ac_file" : 'X\(//\)$' \| \
12974 X"$ac_file" : 'X\(/\)' \| \
12975 . : '\(.\)' 2>/dev/null ||
12977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12979 /^X\(\/\/\)$/{ s//\1/; q; }
12980 /^X\(\/\).*/{ s//\1/; q; }
12982 { if $as_mkdir_p; then
12987 while test ! -d "$as_dir"; do
12988 as_dirs
="$as_dir $as_dirs"
12989 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12991 X"$as_dir" : 'X\(//\)[^/]' \| \
12992 X"$as_dir" : 'X\(//\)$' \| \
12993 X"$as_dir" : 'X\(/\)' \| \
12994 . : '\(.\)' 2>/dev/null ||
12996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12998 /^X\(\/\/\)$/{ s//\1/; q; }
12999 /^X\(\/\).*/{ s//\1/; q; }
13002 test ! -n "$as_dirs" || mkdir
$as_dirs
13003 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13004 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13005 { (exit 1); exit 1; }; }; }
13009 if test "$ac_dir" != .
; then
13010 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13011 # A "../" for each directory in $ac_dir_suffix.
13012 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13014 ac_dir_suffix
= ac_top_builddir
=
13018 .
) # No --srcdir option. We are building in place.
13020 if test -z "$ac_top_builddir"; then
13023 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13025 [\\/]* | ?
:[\\/]* ) # Absolute path.
13026 ac_srcdir
=$srcdir$ac_dir_suffix;
13027 ac_top_srcdir
=$srcdir ;;
13028 *) # Relative path.
13029 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13030 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13033 # Do not use `cd foo && pwd` to compute absolute paths, because
13034 # the directories may not exist.
13036 .
) ac_abs_builddir
="$ac_dir";;
13039 .
) ac_abs_builddir
=`pwd`;;
13040 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13041 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13044 case $ac_abs_builddir in
13045 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13047 case ${ac_top_builddir}.
in
13048 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13049 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13050 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13053 case $ac_abs_builddir in
13054 .
) ac_abs_srcdir
=$ac_srcdir;;
13057 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13058 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13059 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13062 case $ac_abs_builddir in
13063 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13065 case $ac_top_srcdir in
13066 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13067 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13068 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13074 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13075 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13078 if test x
"$ac_file" != x-
; then
13079 { echo "$as_me:$LINENO: creating $ac_file" >&5
13080 echo "$as_me: creating $ac_file" >&6;}
13083 # Let's still pretend it is `configure' which instantiates (i.e., don't
13084 # use $as_me), people would be surprised to read:
13085 # /* config.h. Generated by config.status. */
13086 if test x
"$ac_file" = x-
; then
13089 configure_input
="$ac_file. "
13091 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13092 sed 's,.*/,,'` by configure."
13094 # First look for the input files in the build tree, otherwise in the
13096 ac_file_inputs
=`IFS=:
13097 for f in $ac_file_in; do
13099 -) echo $tmp/stdin ;;
13101 # Absolute (can't be DOS-style, as IFS=:)
13102 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13103 echo "$as_me: error: cannot find input file: $f" >&2;}
13104 { (exit 1); exit 1; }; }
13107 if test -f "$f"; then
13110 elif test -f "$srcdir/$f"; then
13115 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13116 echo "$as_me: error: cannot find input file: $f" >&2;}
13117 { (exit 1); exit 1; }; }
13120 done` ||
{ (exit 1); exit 1; }
13122 cat >>$CONFIG_STATUS <<_ACEOF
13126 cat >>$CONFIG_STATUS <<\_ACEOF
13128 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13129 s
,@configure_input@
,$configure_input,;t t
13130 s
,@srcdir@
,$ac_srcdir,;t t
13131 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13132 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13133 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13134 s
,@builddir@
,$ac_builddir,;t t
13135 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13136 s
,@top_builddir@
,$ac_top_builddir,;t t
13137 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13138 s
,@INSTALL@
,$ac_INSTALL,;t t
13139 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13141 if test x"$ac_file" != x-; then
13142 mv $tmp/out $ac_file
13151 cat >>$CONFIG_STATUS <<\_ACEOF
13153 { (exit 0); exit 0; }
13155 chmod +x $CONFIG_STATUS
13156 ac_clean_files=$ac_clean_files_save
13159 # configure is writing to config.log, and then calls config.status.
13160 # config.status does its own redirection, appending to config.log.
13161 # Unfortunately, on DOS this fails, as config.log is still kept open
13162 # by configure, so config.status won't be able to write to it; its
13163 # output is simply discarded. So we exec the FD to /dev/null,
13164 # effectively closing config.log, so it can be properly (re)opened and
13165 # appended to by config.status. When coming back to configure, we
13166 # need to make the FD available again.
13167 if test "$no_create" != yes; then
13169 ac_config_status_args=
13170 test "$silent" = yes &&
13171 ac_config_status_args="$ac_config_status_args --quiet"
13173 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13175 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13176 # would make configure fail if this is the last instruction.
13177 $ac_cs_success || { (exit 1); exit 1; }