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 CFLAGS_FOR_TARGET CXXFLAGS_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_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
718 ac_env_CC_set
=${CC+set}
720 ac_cv_env_CC_set
=${CC+set}
721 ac_cv_env_CC_value
=$CC
722 ac_env_CFLAGS_set
=${CFLAGS+set}
723 ac_env_CFLAGS_value
=$CFLAGS
724 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value
=$CFLAGS
726 ac_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_env_LDFLAGS_value
=$LDFLAGS
728 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value
=$LDFLAGS
730 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
734 ac_env_CXX_set
=${CXX+set}
735 ac_env_CXX_value
=$CXX
736 ac_cv_env_CXX_set
=${CXX+set}
737 ac_cv_env_CXX_value
=$CXX
738 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
741 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
742 ac_env_AR_set
=${AR+set}
744 ac_cv_env_AR_set
=${AR+set}
745 ac_cv_env_AR_value
=$AR
746 ac_env_AS_set
=${AS+set}
748 ac_cv_env_AS_set
=${AS+set}
749 ac_cv_env_AS_value
=$AS
750 ac_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_env_DLLTOOL_value
=$DLLTOOL
752 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
753 ac_cv_env_DLLTOOL_value
=$DLLTOOL
754 ac_env_LD_set
=${LD+set}
756 ac_cv_env_LD_set
=${LD+set}
757 ac_cv_env_LD_value
=$LD
758 ac_env_LIPO_set
=${LIPO+set}
759 ac_env_LIPO_value
=$LIPO
760 ac_cv_env_LIPO_set
=${LIPO+set}
761 ac_cv_env_LIPO_value
=$LIPO
762 ac_env_NM_set
=${NM+set}
764 ac_cv_env_NM_set
=${NM+set}
765 ac_cv_env_NM_value
=$NM
766 ac_env_RANLIB_set
=${RANLIB+set}
767 ac_env_RANLIB_value
=$RANLIB
768 ac_cv_env_RANLIB_set
=${RANLIB+set}
769 ac_cv_env_RANLIB_value
=$RANLIB
770 ac_env_STRIP_set
=${STRIP+set}
771 ac_env_STRIP_value
=$STRIP
772 ac_cv_env_STRIP_set
=${STRIP+set}
773 ac_cv_env_STRIP_value
=$STRIP
774 ac_env_WINDRES_set
=${WINDRES+set}
775 ac_env_WINDRES_value
=$WINDRES
776 ac_cv_env_WINDRES_set
=${WINDRES+set}
777 ac_cv_env_WINDRES_value
=$WINDRES
778 ac_env_WINDMC_set
=${WINDMC+set}
779 ac_env_WINDMC_value
=$WINDMC
780 ac_cv_env_WINDMC_set
=${WINDMC+set}
781 ac_cv_env_WINDMC_value
=$WINDMC
782 ac_env_OBJCOPY_set
=${OBJCOPY+set}
783 ac_env_OBJCOPY_value
=$OBJCOPY
784 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
785 ac_cv_env_OBJCOPY_value
=$OBJCOPY
786 ac_env_OBJDUMP_set
=${OBJDUMP+set}
787 ac_env_OBJDUMP_value
=$OBJDUMP
788 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
789 ac_cv_env_OBJDUMP_value
=$OBJDUMP
790 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
791 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
792 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
793 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
794 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
795 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
796 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
797 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
798 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
799 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
800 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
801 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
802 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
803 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
804 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
805 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
806 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
807 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
808 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
809 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
810 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
811 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
812 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
813 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
814 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
815 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
816 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
817 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
818 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
819 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
820 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
821 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
822 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
823 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
824 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
825 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
826 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
827 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
828 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
829 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
830 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
831 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
832 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
833 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
834 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
835 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
836 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
837 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
838 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
839 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
840 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
841 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
842 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
843 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
844 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
845 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
846 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
847 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
848 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
849 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
850 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
851 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
852 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
853 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
856 # Report the --help message.
858 if test "$ac_init_help" = "long"; then
859 # Omit some internal or obsolete options to make the list less imposing.
860 # This message is too long to be a string in the A/UX 3.1 sh.
862 \`configure' configures this package to adapt to many kinds of systems.
864 Usage: $0 [OPTION]... [VAR=VALUE]...
866 To assign environment variables (e.g., CC, CFLAGS...), specify them as
867 VAR=VALUE. See below for descriptions of some of the useful variables.
869 Defaults for the options are specified in brackets.
872 -h, --help display this help and exit
873 --help=short display options specific to this package
874 --help=recursive display the short help of all the included packages
875 -V, --version display version information and exit
876 -q, --quiet, --silent do not print \`checking...' messages
877 --cache-file=FILE cache test results in FILE [disabled]
878 -C, --config-cache alias for \`--cache-file=config.cache'
879 -n, --no-create do not create output files
880 --srcdir=DIR find the sources in DIR [configure dir or \`..']
885 Installation directories:
886 --prefix=PREFIX install architecture-independent files in PREFIX
888 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
891 By default, \`make install' will install all the files in
892 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
893 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
894 for instance \`--prefix=\$HOME'.
896 For better control, use the options below.
898 Fine tuning of the installation directories:
899 --bindir=DIR user executables [EPREFIX/bin]
900 --sbindir=DIR system admin executables [EPREFIX/sbin]
901 --libexecdir=DIR program executables [EPREFIX/libexec]
902 --datadir=DIR read-only architecture-independent data [PREFIX/share]
903 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
904 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
905 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
906 --libdir=DIR object code libraries [EPREFIX/lib]
907 --includedir=DIR C header files [PREFIX/include]
908 --oldincludedir=DIR C header files for non-gcc [/usr/include]
909 --infodir=DIR info documentation [PREFIX/info]
910 --mandir=DIR man documentation [PREFIX/man]
916 --program-prefix=PREFIX prepend PREFIX to installed program names
917 --program-suffix=SUFFIX append SUFFIX to installed program names
918 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
921 --build=BUILD configure
for building on BUILD
[guessed
]
922 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
923 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
927 if test -n "$ac_init_help"; then
932 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
933 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
934 --enable-libada build libada directory
935 --enable-libssp build libssp directory
936 --enable-stage1-languages[=all
] choose additional languages to build during
937 stage1. Mostly useful
for compiler development.
938 --enable-objc-gc enable use of Boehm
's garbage collector with the
939 GNU Objective-C runtime
940 --enable-bootstrap enable bootstrapping [yes if native build]
941 --enable-serial-[{host,target,build}-]configure
942 force sequential configuration of
943 sub-packages for the host, target or build
944 machine, or all sub-packages
945 --enable-maintainer-mode enable make rules and dependencies not useful
946 (and sometimes confusing) to the casual installer
947 --enable-stage1-checking[=all] choose additional checking for stage1
949 --enable-werror enable -Werror in bootstrap stage2 and later
952 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
953 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
954 --with-build-libsubdir=DIR Directory where to find libraries for build system
955 --with-mpfr-dir=PATH this option has been REMOVED
956 --with-mpfr=PATH specify prefix directory for installed MPFR package.
957 Equivalent to --with-mpfr-include=PATH/include
958 plus --with-mpfr-lib=PATH/lib
959 --with-mpfr-include=PATH
960 specify directory for installed MPFR include files
961 --with-mpfr-lib=PATH specify directory for the installed MPFR library
962 --with-gmp-dir=PATH this option has been REMOVED
963 --with-gmp=PATH specify prefix directory for the installed GMP package.
964 Equivalent to --with-gmp-include=PATH/include
965 plus --with-gmp-lib=PATH/lib
966 --with-gmp-include=PATH specify directory for installed GMP include files
967 --with-gmp-lib=PATH specify directory for the installed GMP library
968 --with-build-sysroot=SYSROOT
969 use sysroot as the system root during the build
970 --with-debug-prefix-map='A
=B C
=D ...
'
971 map A to B, C to D ... in debug information
972 --with-build-time-tools=PATH
973 use given path to find target tools during the build
974 --with-datarootdir use datarootdir as the data root directory.
975 --with-docdir install documentation in this directory.
976 --with-pdfdir install pdf in this directory.
977 --with-htmldir install html in this directory.
979 Some influential environment variables:
980 CC C compiler command
981 CFLAGS C compiler flags
982 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
983 nonstandard directory <lib dir>
984 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
985 headers in a nonstandard directory <include dir>
986 CXX C++ compiler command
987 CXXFLAGS C++ compiler flags
990 DLLTOOL DLLTOOL for the host
992 LIPO LIPO for the host
994 RANLIB RANLIB for the host
995 STRIP STRIP for the host
996 WINDRES WINDRES for the host
997 WINDMC WINDMC for the host
998 OBJCOPY OBJCOPY for the host
999 OBJDUMP OBJDUMP for the host
1009 GFORTRAN for the target
1015 DLLTOOL for the target
1023 OBJDUMP for the target
1025 RANLIB for the target
1027 STRIP for the target
1029 WINDRES for the target
1031 WINDMC for the target
1033 Use these variables to override the choices made by `configure' or to
help
1034 it to
find libraries and programs with nonstandard names
/locations.
1039 if test "$ac_init_help" = "recursive"; then
1040 # If there are subdirs, report their specific --help.
1042 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1043 test -d $ac_dir ||
continue
1046 if test "$ac_dir" != .
; then
1047 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1048 # A "../" for each directory in $ac_dir_suffix.
1049 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 ac_dir_suffix
= ac_top_builddir
=
1055 .
) # No --srcdir option. We are building in place.
1057 if test -z "$ac_top_builddir"; then
1060 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1062 [\\/]* | ?
:[\\/]* ) # Absolute path.
1063 ac_srcdir
=$srcdir$ac_dir_suffix;
1064 ac_top_srcdir
=$srcdir ;;
1066 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1067 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1070 # Do not use `cd foo && pwd` to compute absolute paths, because
1071 # the directories may not exist.
1073 .
) ac_abs_builddir
="$ac_dir";;
1076 .
) ac_abs_builddir
=`pwd`;;
1077 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1078 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1081 case $ac_abs_builddir in
1082 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1084 case ${ac_top_builddir}.
in
1085 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1086 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1087 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1090 case $ac_abs_builddir in
1091 .
) ac_abs_srcdir
=$ac_srcdir;;
1094 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1095 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1096 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1099 case $ac_abs_builddir in
1100 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1102 case $ac_top_srcdir in
1103 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1104 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1105 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu
; then
1113 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1114 elif test -f $ac_srcdir/configure
; then
1116 $SHELL $ac_srcdir/configure
--help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.
in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1132 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1133 This configure
script is free software
; the Free Software Foundation
1134 gives unlimited permission to copy
, distribute and modify it.
1140 This file contains any messages produced by compilers while
1141 running configure, to aid debugging if configure makes a mistake.
1143 It was created by $as_me, which was
1144 generated by GNU Autoconf 2.59. Invocation command line was
1155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1167 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1178 test -z "$as_dir" && as_dir
=.
1179 echo "PATH: $as_dir"
1194 # Keep a trace of the command line.
1195 # Strip out --no-create and --no-recursion so they do not pile up.
1196 # Strip out --silent because we don't want to record it for future runs.
1197 # Also quote any args containing shell meta-characters.
1198 # Make two passes to allow for proper duplicate-argument suppression.
1203 ac_must_keep_next
=false
1209 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1210 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1211 |
-silent |
--silent |
--silen |
--sile |
--sil)
1213 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1217 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1219 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1220 if test $ac_must_keep_next = true
; then
1221 ac_must_keep_next
=false
# Got value, back to normal.
1224 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1225 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1226 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1227 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1228 case "$ac_configure_args0 " in
1229 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1232 -* ) ac_must_keep_next
=true
;;
1235 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1236 # Get rid of the leading space.
1242 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1243 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1245 # When interrupted or exit'd, cleanup temporary files, and complete
1246 # config.log. We remove comments because anyway the quotes in there
1247 # would cause problems or look ugly.
1248 # WARNING: Be sure not to use single quotes in there, as some shells,
1249 # such as our DU 5.0 friend, will then `close' the trap.
1250 trap 'exit_status=$?
1251 # Save into config.log some information that might help in debugging.
1256 ## ---------------- ##
1257 ## Cache variables. ##
1258 ## ---------------- ##
1261 # The following way of writing the cache mishandles newlines in values,
1264 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1267 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1272 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ## ----------------- ##
1280 ## Output variables. ##
1281 ## ----------------- ##
1284 for ac_var in $ac_subst_vars
1286 eval ac_val=$`echo $ac_var`
1287 echo "$ac_var='"'"'$ac_val'"'"'"
1291 if test -n "$ac_subst_files"; then
1298 for ac_var in $ac_subst_files
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -s confdefs.h; then
1313 sed "/^$/d" confdefs.h | sort
1316 test "$ac_signal" != 0 &&
1317 echo "$as_me: caught signal $ac_signal"
1318 echo "$as_me: exit $exit_status"
1320 rm -f core *.core &&
1321 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1324 for ac_signal
in 1 2 13 15; do
1325 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1330 rm -rf conftest
* confdefs.h
1331 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1334 # Predefined preprocessor variables.
1336 cat >>confdefs.h
<<_ACEOF
1337 #define PACKAGE_NAME "$PACKAGE_NAME"
1341 cat >>confdefs.h
<<_ACEOF
1342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1346 cat >>confdefs.h
<<_ACEOF
1347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1351 cat >>confdefs.h
<<_ACEOF
1352 #define PACKAGE_STRING "$PACKAGE_STRING"
1356 cat >>confdefs.h
<<_ACEOF
1357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1361 # Let the site file select an alternate cache file if it wants to.
1362 # Prefer explicitly selected file to automatically selected ones.
1363 if test -z "$CONFIG_SITE"; then
1364 if test "x$prefix" != xNONE
; then
1365 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1367 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1370 for ac_site_file
in $CONFIG_SITE; do
1371 if test -r "$ac_site_file"; then
1372 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1373 echo "$as_me: loading site script $ac_site_file" >&6;}
1374 sed 's/^/| /' "$ac_site_file" >&5
1379 if test -r "$cache_file"; then
1380 # Some versions of bash will fail to source /dev/null (special
1381 # files actually), so we avoid doing that.
1382 if test -f "$cache_file"; then
1383 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1384 echo "$as_me: loading cache $cache_file" >&6;}
1386 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1387 *) . .
/$cache_file;;
1391 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1392 echo "$as_me: creating cache $cache_file" >&6;}
1396 # Check that the precious variables saved in the cache have kept the same
1398 ac_cache_corrupted
=false
1399 for ac_var
in `(set) 2>&1 |
1400 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1401 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1402 eval ac_new_set
=\
$ac_env_${ac_var}_set
1403 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1404 eval ac_new_val
="\$ac_env_${ac_var}_value"
1405 case $ac_old_set,$ac_new_set in
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1409 ac_cache_corrupted
=: ;;
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1413 ac_cache_corrupted
=: ;;
1416 if test "x$ac_old_val" != "x$ac_new_val"; then
1417 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1418 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1419 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1420 echo "$as_me: former value: $ac_old_val" >&2;}
1421 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1422 echo "$as_me: current value: $ac_new_val" >&2;}
1423 ac_cache_corrupted
=:
1426 # Pass precious variables to config.status.
1427 if test "$ac_new_set" = set; then
1429 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1430 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 *) ac_arg
=$ac_var=$ac_new_val ;;
1433 case " $ac_configure_args " in
1434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1435 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1439 if $ac_cache_corrupted; then
1440 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1441 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1442 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1443 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1444 { (exit 1); exit 1; }; }
1448 ac_cpp
='$CPP $CPPFLAGS'
1449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1473 # Find the build, host, and target systems.
1475 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1476 if test -f $ac_dir/install-sh
; then
1478 ac_install_sh
="$ac_aux_dir/install-sh -c"
1480 elif test -f $ac_dir/install.sh
; then
1482 ac_install_sh
="$ac_aux_dir/install.sh -c"
1484 elif test -f $ac_dir/shtool
; then
1486 ac_install_sh
="$ac_aux_dir/shtool install -c"
1490 if test -z "$ac_aux_dir"; then
1491 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1492 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1493 { (exit 1); exit 1; }; }
1495 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1496 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1497 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1499 # Make sure we can run config.sub.
1500 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1501 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1502 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1503 { (exit 1); exit 1; }; }
1505 echo "$as_me:$LINENO: checking build system type" >&5
1506 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1507 if test "${ac_cv_build+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 ac_cv_build_alias
=$build_alias
1511 test -z "$ac_cv_build_alias" &&
1512 ac_cv_build_alias
=`$ac_config_guess`
1513 test -z "$ac_cv_build_alias" &&
1514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1516 { (exit 1); exit 1; }; }
1517 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1524 echo "${ECHO_T}$ac_cv_build" >&6
1526 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 case ${build_alias} in
1532 "") build_noncanonical
=${build} ;;
1533 *) build_noncanonical
=${build_alias} ;;
1538 case ${host_alias} in
1539 "") host_noncanonical
=${build_noncanonical} ;;
1540 *) host_noncanonical
=${host_alias} ;;
1545 case ${target_alias} in
1546 "") target_noncanonical
=${host_noncanonical} ;;
1547 *) target_noncanonical
=${target_alias} ;;
1553 test "$host_noncanonical" = "$target_noncanonical" &&
1554 test "$program_prefix$program_suffix$program_transform_name" = \
1556 program_transform_name
=s
,y
,y
,
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 ac_cv_host_alias
=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias
=$ac_cv_build_alias
1566 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1575 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_target_alias
=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias
=$ac_cv_host_alias
1588 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target
=$ac_cv_target
1597 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1607 program_prefix
=${target_alias}-
1608 test "$program_prefix" != NONE
&&
1609 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1610 # Use a double $ so make ignores it.
1611 test "$program_suffix" != NONE
&&
1612 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1613 # Double any \ or $. echo might interpret backslashes.
1614 # By default was `s,x,x', remove it if useless.
1615 cat <<\_ACEOF
>conftest.
sed
1616 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1618 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1623 # Get 'install' or 'install-sh' and its variants.
1624 # Find a good install program. We prefer a C program (faster),
1625 # so one script is as good as another. But avoid the broken or
1626 # incompatible versions:
1627 # SysV /etc/install, /usr/sbin/install
1628 # SunOS /usr/etc/install
1629 # IRIX /sbin/install
1631 # AmigaOS /C/install, which installs bootblocks on floppy discs
1632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1635 # OS/2's system install, which has a completely different semantic
1636 # ./install, which can be erroneously created by make from ./install.sh.
1637 # Reject install programs that cannot install multiple files.
1638 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1639 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1640 if test -z "$INSTALL"; then
1641 if test "${ac_cv_path_install+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 # Account for people who put trailing slashes in PATH elements.
1651 .
/ | .
// |
/cC
/* | \
1652 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1653 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1656 # OSF1 and SCO ODT 3.0 have their own names for install.
1657 # Don't use installbsd from OSF since it installs stuff as root
1659 for ac_prog
in ginstall scoinst
install; do
1660 for ac_exec_ext
in '' $ac_executable_extensions; do
1661 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1662 if test $ac_prog = install &&
1663 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1664 # AIX install. It has an incompatible calling convention.
1666 elif test $ac_prog = install &&
1667 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1668 # program-specific install script used by HP pwplus--don't use.
1671 rm -rf conftest.one conftest.two conftest.dir
1672 echo one
> conftest.one
1673 echo two
> conftest.two
1675 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1676 test -s conftest.one
&& test -s conftest.two
&&
1677 test -s conftest.dir
/conftest.one
&&
1678 test -s conftest.dir
/conftest.two
1680 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1691 rm -rf conftest.one conftest.two conftest.dir
1694 if test "${ac_cv_path_install+set}" = set; then
1695 INSTALL
=$ac_cv_path_install
1697 # As a last resort, use the slow shell script. Don't cache a
1698 # value for INSTALL within a source directory, because that will
1699 # break other packages using the cache if that directory is
1700 # removed, or if the value is a relative name.
1701 INSTALL
=$ac_install_sh
1704 echo "$as_me:$LINENO: result: $INSTALL" >&5
1705 echo "${ECHO_T}$INSTALL" >&6
1707 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1708 # It thinks the first close brace ends the variable substitution.
1709 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1711 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1713 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1715 echo "$as_me:$LINENO: checking whether ln works" >&5
1716 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1717 if test "${acx_cv_prog_LN+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 rm -f conftestdata_t
1721 echo >conftestdata_f
1722 if ln conftestdata_f conftestdata_t
2>/dev
/null
1728 rm -f conftestdata_f conftestdata_t
1731 if test $acx_cv_prog_LN = no
; then
1733 echo "$as_me:$LINENO: result: no, using $LN" >&5
1734 echo "${ECHO_T}no, using $LN" >&6
1736 LN
="$acx_cv_prog_LN"
1737 echo "$as_me:$LINENO: result: yes" >&5
1738 echo "${ECHO_T}yes" >&6
1741 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1742 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1744 if test "$LN_S" = "ln -s"; then
1745 echo "$as_me:$LINENO: result: yes" >&5
1746 echo "${ECHO_T}yes" >&6
1748 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1749 echo "${ECHO_T}no, using $LN_S" >&6
1753 ### we might need to use some other shell than /bin/sh for running subshells
1754 ### If we are on Windows, search for the shell. This will permit people
1755 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1756 ### without also having to set CONFIG_SHELL. This code will work when
1757 ### using bash, which sets OSTYPE.
1760 if test x
${CONFIG_SHELL} = x
; then
1761 if test ! -f /bin
/sh
; then
1762 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1763 CONFIG_SHELL
=${SHELL}
1766 for prog
in sh sh.exe bash bash.exe
; do
1767 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1768 for dir
in $PATH; do
1769 test -z "$dir" && dir
=.
1770 if test -f $dir/$prog; then
1771 CONFIG_SHELL
=$dir/$prog
1777 test -n "${CONFIG_SHELL}" && break
1785 config_shell
=${CONFIG_SHELL-/bin/sh}
1788 # if PWD already has a value, it is probably wrong.
1789 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1791 # Export original configure arguments for use by sub-configures.
1792 # Quote arguments with shell meta charatcers.
1793 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1794 set -- "$progname" "$@"
1798 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1799 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1800 # if the argument is of the form -foo=baz, quote the baz part only
1801 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1804 # Add the quoted argument to the list.
1805 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1807 if test "$silent" = yes; then
1808 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1810 # Remove the initial space we just introduced and, as these will be
1811 # expanded by make, quote '$'.
1812 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1815 moveifchange
=${srcdir}/move-if-change
1817 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1819 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1821 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1822 INSTALL
="${srcpwd}/install-sh -c"
1825 # Set srcdir to "." if that's what it is.
1826 # This is important for multilib support.
1828 if test "${pwd}" = "${srcpwd}" ; then
1836 ### To add a new directory to the tree, first choose whether it is a target
1837 ### or a host dependent tool. Then put it into the appropriate list
1838 ### (library or tools, host or target), doing a dependency sort.
1840 # Subdirs will be configured in the order listed in build_configdirs,
1841 # configdirs, or target_configdirs; see the serialization section below.
1843 # Dependency sorting is only needed when *configuration* must be done in
1844 # a particular order. In all cases a dependency should be specified in
1845 # the Makefile, whether or not it's implicitly specified here.
1847 # Double entries in build_configdirs, configdirs, or target_configdirs may
1848 # cause circular dependencies and break everything horribly.
1850 # these library is used by various programs built for the build
1853 build_libs
="build-libiberty"
1855 # these tools are built for the build environment
1856 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1858 # these libraries are used by various programs built for the host environment
1860 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1862 # these tools are built for the host environment
1863 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1864 # know that we are building the simulator.
1865 # binutils, gas and ld appear in that order because it makes sense to run
1866 # "make check" in that particular order.
1867 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"
1869 # libgcj represents the runtime libraries only used by gcj.
1870 libgcj
="target-libffi \
1875 # these libraries are built for the target environment, and are built after
1876 # the host libraries and the host tools (which may be a cross compiler)
1878 target_libraries
="target-libgcc \
1883 target-libstdc++-v3 \
1886 target-libgfortran \
1892 # these tools are built using the target libraries, and are intended to
1893 # run only in the target environment
1895 # note: any program that *uses* libraries that are in the "target_libraries"
1896 # list belongs in this list. those programs are also very likely
1897 # candidates for the "native_only" list which follows
1899 target_tools
="target-examples target-groff target-gperf target-rda"
1901 ################################################################################
1903 ## All tools belong in one of the four categories, and are assigned above
1904 ## We assign ${configdirs} this way to remove all embedded newlines. This
1905 ## is important because configure will choke if they ever get through.
1906 ## ${configdirs} is directories we build using the host tools.
1907 ## ${target_configdirs} is directories we build using the target tools.
1908 configdirs
=`echo ${host_libs} ${host_tools}`
1909 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1910 build_configdirs
=`echo ${build_libs} ${build_tools}`
1914 ################################################################################
1916 srcname
="gnu development package"
1918 # This gets set non-empty for some net releases of packages.
1921 # Define is_cross_compiler to save on calls to 'test'.
1923 if test x
"${host}" = x
"${target}" ; then
1924 is_cross_compiler
=no
1926 is_cross_compiler
=yes
1929 # Find the build and target subdir names.
1931 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1932 # have matching libraries, they should use host libraries: Makefile.tpl
1933 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1934 # However, they still use the build modules, because the corresponding
1935 # host modules (e.g. bison) are only built for the host when bootstrap
1937 # - build_subdir is where we find build modules, and never changes.
1938 # - build_libsubdir is where we find build libraries, and can be overridden.
1940 # Prefix 'build-' so this never conflicts with target_subdir.
1941 build_subdir
="build-${build_noncanonical}"
1943 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1944 if test "${with_build_libsubdir+set}" = set; then
1945 withval
="$with_build_libsubdir"
1946 build_libsubdir
="$withval"
1948 build_libsubdir
="$build_subdir"
1950 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1951 if ( test $srcdir = .
&& test -d gcc
) \
1952 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1953 host_subdir
="host-${host_noncanonical}"
1958 target_subdir
=${target_noncanonical}
1961 # Skipdirs are removed silently.
1963 # Noconfigdirs are removed loudly.
1967 # Make sure we don't let GNU ld be added if we didn't want it.
1968 if test x
$with_gnu_ld = xno
; then
1970 noconfigdirs
="$noconfigdirs ld"
1974 # Make sure we don't let GNU as be added if we didn't want it.
1975 if test x
$with_gnu_as = xno
; then
1977 noconfigdirs
="$noconfigdirs gas"
1980 # some tools are so dependent upon X11 that if we're not building with X,
1981 # it's not even worth trying to configure, much less build, that tool.
1984 yes |
"") ;; # the default value for this tree is that X11 is available
1986 skipdirs
="${skipdirs} tk itcl libgui"
1987 # We won't be able to build gdbtk without X.
1990 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1993 # Some tools are only suitable for building in a "native" situation.
1994 # Remove these if host!=target.
1995 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"
1997 # Similarly, some are only suitable for cross toolchains.
1998 # Remove these if host=target.
1999 cross_only
="target-libgloss target-newlib target-opcodes"
2001 case $is_cross_compiler in
2002 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2003 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2006 # If both --with-headers and --with-libs are specified, default to
2008 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2009 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2010 if test x
"${with_newlib}" = x
; then
2015 # Recognize --with-newlib/--without-newlib.
2016 case ${with_newlib} in
2017 no
) skipdirs
="${skipdirs} target-newlib" ;;
2018 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2021 # Configure extra directories which are host specific
2025 configdirs
="$configdirs libtermcap" ;;
2028 # A target can indicate whether a language isn't supported for some reason.
2029 # Only spaces may be used in this macro; not newlines or tabs.
2030 unsupported_languages
=
2032 # Remove more programs from consideration, based on the host or
2033 # target this usually means that a port of the program doesn't
2038 noconfigdirs
="$noconfigdirs byacc"
2040 i
[3456789]86-*-vsta)
2041 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2043 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2044 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2047 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2049 i
[3456789]86-*-mingw32*)
2050 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2051 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2053 i
[3456789]86-*-beos*)
2054 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2057 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2060 noconfigdirs
="$noconfigdirs rcs"
2063 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2066 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2071 # Check whether --enable-libada or --disable-libada was given.
2072 if test "${enable_libada+set}" = set; then
2073 enableval
="$enable_libada"
2074 ENABLE_LIBADA
=$enableval
2078 if test "${ENABLE_LIBADA}" != "yes" ; then
2079 noconfigdirs
="$noconfigdirs gnattools"
2082 # Check whether --enable-libssp or --disable-libssp was given.
2083 if test "${enable_libssp+set}" = set; then
2084 enableval
="$enable_libssp"
2085 ENABLE_LIBSSP
=$enableval
2090 # Save it here so that, even in case of --enable-libgcj, if the Java
2091 # front-end isn't enabled, we still get libgcj disabled.
2092 libgcj_saved
=$libgcj
2093 case $enable_libgcj in
2095 # If we reset it here, it won't get added to noconfigdirs in the
2096 # target-specific build rules, so it will be forcibly enabled
2097 # (unless the Java language itself isn't enabled).
2101 # Make sure we get it printed in the list of not supported target libs.
2102 noconfigdirs
="$noconfigdirs ${libgcj}"
2107 # Disable libmudflap on some systems.
2108 if test x
$enable_libmudflap = x
; then
2110 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2111 # Enable libmudflap by default in GNU and friends.
2114 # Enable libmudflap by default in FreeBSD.
2117 # Disable it by default everywhere else.
2118 noconfigdirs
="$noconfigdirs target-libmudflap"
2123 # Disable libgomp on non POSIX hosted systems.
2124 if test x
$enable_libgomp = x
; then
2125 # Enable libgomp by default on hosted POSIX systems.
2127 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2129 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2131 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2133 *-*-darwin* |
*-*-aix*)
2136 noconfigdirs
="$noconfigdirs target-libgomp"
2141 # Default libgloss CPU subdirectory.
2142 libgloss_dir
="$target_cpu"
2146 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2148 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2149 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2150 noconfigdirs
="$noconfigdirs sim target-rda"
2153 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2154 noconfigdirs
="$noconfigdirs sim target-rda"
2155 noconfigdirs
="$noconfigdirs ${libgcj}"
2157 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2158 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2161 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2162 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2163 && test -f /usr
/local
/include
/gmp.h
; then
2167 # Skip some stuff that's unsupported on some FreeBSD configurations.
2172 noconfigdirs
="$noconfigdirs ${libgcj}"
2177 # Remove unsupported stuff on all kaOS configurations.
2178 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2179 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2180 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2181 noconfigdirs
="$noconfigdirs target-libgloss"
2184 # Skip some stuff on all NetBSD configurations.
2185 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2187 # Skip some stuff that's unsupported on some NetBSD configurations.
2189 i
*86-*-netbsdelf*) ;;
2190 arm
*-*-netbsdelf*) ;;
2192 noconfigdirs
="$noconfigdirs ${libgcj}"
2197 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2200 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2202 # The tpf target doesn't support gdb yet.
2204 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2207 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2210 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2213 # ld works, but does not support shared libraries.
2214 # newlib is not 64 bit ready. I'm not sure about fileutils.
2215 # gas doesn't generate exception information.
2216 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2219 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2222 # newlib is not 64 bit ready
2223 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2226 # newlib is not 64 bit ready
2227 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2230 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2233 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2235 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2236 noconfigdirs
="$noconfigdirs ${libgcj}"
2237 noconfigdirs
="$noconfigdirs target-examples"
2238 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2239 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2240 noconfigdirs
="$noconfigdirs expect dejagnu"
2241 # the C++ libraries don't build on top of CE's C libraries
2242 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2243 noconfigdirs
="$noconfigdirs target-newlib"
2245 *-*-cygwin*) ;; # keep gdb and readline
2246 *) noconfigdirs
="$noconfigdirs gdb readline"
2252 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2256 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2257 noconfigdirs
="$noconfigdirs ${libgcj}"
2260 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2261 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2264 arm
*-*-linux-gnueabi)
2265 noconfigdirs
="$noconfigdirs target-qthreads"
2266 noconfigdirs
="$noconfigdirs target-libobjc"
2267 case ${with_newlib} in
2268 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2273 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2277 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2280 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2283 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2286 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2289 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2292 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2295 noconfigdirs
="$noconfigdirs gdb"
2296 if test x
${is_cross_compiler} != xno
; then
2297 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2300 c4x-
*-* | tic4x-
*-*)
2301 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2303 c54x
*-*-* | tic54x-
*-*)
2304 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2306 cris-
*-* | crisv32-
*-*)
2307 unsupported_languages
="$unsupported_languages java"
2310 unsupported_languages
="$unsupported_languages fortran"
2311 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2313 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2315 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2317 unsupported_languages
="$unsupported_languages fortran"
2318 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2323 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2326 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2329 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2331 ep9312-
*-elf | ep9312-
*-coff)
2335 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2338 noconfigdirs
="$noconfigdirs ${libgcj}"
2341 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2344 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2346 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2348 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2349 # In this case, it's because the hppa64-linux target is for
2350 # the kernel only at this point and has no libc, and thus no
2351 # headers, crt*.o, etc., all of which are needed by these.
2352 noconfigdirs
="$noconfigdirs target-zlib"
2354 parisc
*-*-linux* | hppa
*-*-linux*)
2358 hppa
*-*-openbsd* | \
2360 noconfigdirs
="$noconfigdirs ${libgcj}"
2363 noconfigdirs
="$noconfigdirs ld shellutils"
2369 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2370 # build on HP-UX 10.20.
2371 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2374 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2377 # No gdb support yet.
2378 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2381 # No gdb or ld support yet.
2382 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2386 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2387 noconfigdirs
="$noconfigdirs ${libgcj}"
2390 i
[3456789]86-*-linux*)
2391 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2392 # not build java stuff by default.
2395 noconfigdirs
="$noconfigdirs ${libgcj}";;
2398 # This section makes it possible to build newlib natively on linux.
2399 # If we are using a cross compiler then don't configure newlib.
2400 if test x
${is_cross_compiler} != xno
; then
2401 noconfigdirs
="$noconfigdirs target-newlib"
2403 noconfigdirs
="$noconfigdirs target-libgloss"
2404 # If we are not using a cross compiler, do configure newlib.
2405 # Note however, that newlib will only be configured in this situation
2406 # if the --with-newlib option has been given, because otherwise
2407 # 'target-newlib' will appear in skipdirs.
2409 i
[3456789]86-*-mingw32*)
2410 target_configdirs
="$target_configdirs target-winsup"
2411 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2414 target_configdirs
="$target_configdirs target-winsup"
2415 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2418 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2419 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2420 # always build newlib if winsup directory is present.
2421 if test -d "$srcdir/winsup/cygwin"; then
2422 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2423 elif test -d "$srcdir/newlib"; then
2424 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2427 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2428 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2431 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2433 i
[3456789]86-*-sco3.2v5
*)
2434 # The linker does not yet know about weak symbols in COFF,
2435 # and is not configured to handle mixed ELF and COFF.
2436 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2438 i
[3456789]86-*-sco*)
2439 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2441 i
[3456789]86-*-solaris2*)
2442 noconfigdirs
="$noconfigdirs target-libgloss"
2444 i
[3456789]86-*-sysv4*)
2445 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2447 i
[3456789]86-*-beos*)
2448 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2450 i
[3456789]86-*-rdos*)
2451 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2454 noconfigdirs
="$noconfigdirs ${libgcj}"
2456 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2457 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2458 libgloss_dir
=m68hc11
2461 noconfigdirs
="$noconfigdirs ${libgcj}"
2464 noconfigdirs
="$noconfigdirs ${libgcj}"
2466 m68
*-*-* | fido-
*-*)
2470 # The EPOC C++ environment does not support exceptions or rtti,
2471 # and so building libstdc++-v3 tends not to always work.
2472 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2475 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2476 unsupported_languages
="$unsupported_languages fortran java"
2479 noconfigdirs
="$noconfigdirs ${libgcj}"
2482 noconfigdirs
="$noconfigdirs ${libgcj}"
2485 noconfigdirs
="$noconfigdirs sim"
2488 # copied from rs6000-*-* entry
2489 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2491 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2492 target_configdirs
="$target_configdirs target-winsup"
2493 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2494 # always build newlib.
2495 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2497 # This is temporary until we can link against shared libraries
2498 powerpcle-
*-solaris*)
2499 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2503 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2506 noconfigdirs
="$noconfigdirs ${libgcj}"
2509 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2513 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2516 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2519 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2522 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2525 skipdirs
="$skipdirs target-libiberty"
2526 noconfigdirs
="$noconfigdirs ${libgcj}"
2527 if test x
$with_newlib = xyes
; then
2528 noconfigdirs
="$noconfigdirs gprof"
2533 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2536 # Linking libjava exceeds command-line length limits on at least
2537 # IRIX 6.2, but not on IRIX 6.5.
2538 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2539 # <oldham@codesourcery.com>
2540 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2543 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2546 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2549 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2553 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2557 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2558 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2559 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2560 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2562 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2564 sparclet-
*-aout* | sparc86x-
*-*)
2568 noconfigdirs
="$noconfigdirs ${libgcj}"
2571 noconfigdirs
="$noconfigdirs ${libgcj}"
2575 noconfigdirs
="$noconfigdirs ${libgcj}"
2579 noconfigdirs
="$noconfigdirs ${libgcj}"
2580 if test x
${is_cross_compiler} != xno
; then
2581 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2586 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2587 noconfigdirs
="$noconfigdirs ${libgcj}"
2589 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2592 skipdirs
="target-libssp"
2595 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2598 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2601 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2604 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2607 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2613 noconfigdirs
="$noconfigdirs ${libgcj}"
2616 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2618 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2619 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2625 noconfigdirs
="$noconfigdirs ${libgcj}"
2629 # If we aren't building newlib, then don't build libgloss, since libgloss
2630 # depends upon some newlib header files.
2631 case "${noconfigdirs}" in
2632 *target-libgloss
*) ;;
2633 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2636 # Work in distributions that contain no compiler tools, like Autoconf.
2638 host_makefile_frag
=/dev
/null
2639 if test -d ${srcdir}/config
; then
2642 # Avoid "too much defining" errors from HPUX compiler.
2643 tentative_cc
="cc -Wp,-H256000"
2644 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2645 # If it's HP/UX ar, this should be harmless.
2649 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2652 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2653 # chokes on bfd, the compiler won't let you assign integers to enums, and
2654 # other problems. Defining CC to gcc is a questionable way to say "don't use
2655 # the apollo compiler" (the preferred version of GCC could be called cc,
2656 # or whatever), but I'm not sure leaving CC as cc is any better...
2657 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2658 # Used to have BISON=yacc.
2662 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2665 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2666 tentative_cc
="cc -Xa"
2667 host_makefile_frag
="config/mh-cxux"
2669 m88k-motorola-sysv
*)
2672 tentative_cc
="cc -Wf,-XNg1000"
2673 host_makefile_frag
="config/mh-decstation"
2676 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2677 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2678 host_makefile_frag
="config/mh-necv4"
2681 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2682 # environment. Also bump switch table size so that cp-parse will
2683 # compile. Bump string length limit so linker builds.
2684 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2687 host_makefile_frag
="config/mh-sysv4"
2690 # This is for a MIPS running RISC/os 4.52C.
2692 # This is needed for GDB, but needs to be in the top-level make because
2693 # if a library is compiled with the bsd headers and gets linked with the
2694 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2695 # a different size).
2696 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2697 # known except to select the sysv environment. Could we use /proc instead?
2698 # These "sysv environments" and "bsd environments" often end up being a pain.
2700 # This is not part of CFLAGS because perhaps not all C compilers have this
2702 tentative_cc
="cc -systype sysv"
2707 i
[3456789]86-*-sysv5*)
2708 host_makefile_frag
="config/mh-sysv5"
2710 i
[3456789]86-*-dgux*)
2711 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2712 host_makefile_frag
="config/mh-dgux386"
2714 i
[3456789]86-ncr-sysv4.3
*)
2715 # The MetaWare compiler will generate a copyright message unless you
2716 # turn it off by adding the -Hnocopyr flag.
2717 tentative_cc
="cc -Hnocopyr"
2719 i
[3456789]86-ncr-sysv4*)
2720 # for an NCR 3000 (i486/SVR4) system.
2721 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2722 # This compiler not only emits obnoxious copyright messages every time
2723 # you run it, but it chokes and dies on a whole bunch of GNU source
2724 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2725 tentative_cc
="/usr/ccs/ATT/cc"
2726 host_makefile_frag
="config/mh-ncr3000"
2728 i
[3456789]86-*-sco3.2v5
*)
2730 i
[3456789]86-*-sco*)
2731 # The native C compiler botches some simple uses of const. Unfortunately,
2732 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2733 tentative_cc
="cc -Dconst="
2734 host_makefile_frag
="config/mh-sco"
2736 i
[3456789]86-*-udk*)
2737 host_makefile_frag
="config/mh-sysv5"
2739 i
[3456789]86-*-solaris2*)
2740 host_makefile_frag
="config/mh-sysv4"
2742 i
[3456789]86-*-msdosdjgpp*)
2743 host_makefile_frag
="config/mh-djgpp"
2746 host_makefile_frag
="config/mh-cygwin"
2749 host_makefile_frag
="config/mh-mingw"
2752 host_makefile_frag
="config/mh-mingw"
2755 host_makefile_frag
="config/mh-interix"
2758 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2762 host_makefile_frag
="config/mh-solaris"
2765 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2766 # without overflowing the jump tables (-J says to use a 32 bit table)
2767 tentative_cc
="cc -J"
2770 tentative_cc
="cc -Wp,-H256000"
2773 tentative_cc
="cc -Wp,-H256000"
2776 # /bin/cc is less than useful for our purposes. Always use GCC
2777 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2778 host_makefile_frag
="config/mh-lynxrs6k"
2781 host_makefile_frag
="config/mh-ppc-darwin"
2784 host_makefile_frag
="config/mh-ppc-aix"
2787 host_makefile_frag
="config/mh-ppc-aix"
2790 # /bin/cc is less than useful for our purposes. Always use GCC
2791 tentative_cc
="/bin/gcc"
2794 host_makefile_frag
="config/mh-sysv4"
2796 # This is placed last to prevent interfering with the cases above.
2798 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2799 host_makefile_frag
="config/mh-x86omitfp"
2804 # If we aren't going to be using gcc, see if we can extract a definition
2805 # of CC from the fragment.
2806 # Actually, use the 'pre-extracted' version above.
2807 if test -z "${CC}" && test "${build}" = "${host}" ; then
2808 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2810 for dir
in $PATH; do
2811 test -z "$dir" && dir
=.
2812 if test -f $dir/gcc
; then
2818 if test -z "${found}" && test -n "${tentative_cc}" ; then
2823 if test "${build}" != "${host}" ; then
2824 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2825 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2826 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2827 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2828 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2829 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2830 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2831 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2832 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2833 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2834 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2835 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2837 AR_FOR_BUILD
="\$(AR)"
2838 AS_FOR_BUILD
="\$(AS)"
2839 CC_FOR_BUILD
="\$(CC)"
2840 CXX_FOR_BUILD
="\$(CXX)"
2841 GCJ_FOR_BUILD
="\$(GCJ)"
2842 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2843 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2844 LD_FOR_BUILD
="\$(LD)"
2845 NM_FOR_BUILD
="\$(NM)"
2846 RANLIB_FOR_BUILD
="\$(RANLIB)"
2847 WINDRES_FOR_BUILD
="\$(WINDRES)"
2848 WINDMC_FOR_BUILD
="\$(WINDMC)"
2852 ac_cpp
='$CPP $CPPFLAGS'
2853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2858 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2859 echo "$as_me:$LINENO: checking for $ac_word" >&5
2860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2861 if test "${ac_cv_prog_CC+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC
="$CC" # Let the user override the test.
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_exec_ext
in '' $ac_executable_extensions; do
2873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test -n "$CC"; then
2885 echo "$as_me:$LINENO: result: $CC" >&5
2886 echo "${ECHO_T}$CC" >&6
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2893 if test -z "$ac_cv_prog_CC"; then
2895 # Extract the first word of "gcc", so it can be a program name with args.
2896 set dummy gcc
; ac_word
=$2
2897 echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -n "$ac_ct_CC"; then
2903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_ac_ct_CC
="gcc"
2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2922 if test -n "$ac_ct_CC"; then
2923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2924 echo "${ECHO_T}$ac_ct_CC" >&6
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2935 if test -z "$CC"; then
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2938 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2939 echo "$as_me:$LINENO: checking for $ac_word" >&5
2940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2941 if test "${ac_cv_prog_CC+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC
="$CC" # Let the user override the test.
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 for ac_exec_ext
in '' $ac_executable_extensions; do
2953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 echo "$as_me:$LINENO: result: $CC" >&5
2966 echo "${ECHO_T}$CC" >&6
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2973 if test -z "$ac_cv_prog_CC"; then
2975 # Extract the first word of "cc", so it can be a program name with args.
2976 set dummy cc
; ac_word
=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$ac_ct_CC"; then
2983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_CC
="cc"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3002 if test -n "$ac_ct_CC"; then
3003 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3004 echo "${ECHO_T}$ac_ct_CC" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3016 if test -z "$CC"; then
3017 # Extract the first word of "cc", so it can be a program name with args.
3018 set dummy cc
; ac_word
=$2
3019 echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3021 if test "${ac_cv_prog_CC+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC
="$CC" # Let the user override the test.
3028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir
=.
3033 for ac_exec_ext
in '' $ac_executable_extensions; do
3034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3036 ac_prog_rejected
=yes
3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 if test $ac_prog_rejected = yes; then
3047 # We found a bogon in the path, so make sure we never use it.
3048 set dummy
$ac_cv_prog_CC
3050 if test $# != 0; then
3051 # We chose a different compiler from the bogus one.
3052 # However, it has the same basename, so the bogon will be chosen
3053 # first if we set CC to just the basename; use the full file name.
3055 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3061 if test -n "$CC"; then
3062 echo "$as_me:$LINENO: result: $CC" >&5
3063 echo "${ECHO_T}$CC" >&6
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3070 if test -z "$CC"; then
3071 if test -n "$ac_tool_prefix"; then
3074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3075 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_CC+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$CC"; then
3082 ac_cv_prog_CC
="$CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test -n "$CC"; then
3102 echo "$as_me:$LINENO: result: $CC" >&5
3103 echo "${ECHO_T}$CC" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3109 test -n "$CC" && break
3112 if test -z "$CC"; then
3116 # Extract the first word of "$ac_prog", so it can be a program name with args.
3117 set dummy
$ac_prog; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$ac_ct_CC"; then
3124 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_ac_ct_CC
="$ac_prog"
3134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3143 if test -n "$ac_ct_CC"; then
3144 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3145 echo "${ECHO_T}$ac_ct_CC" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3151 test -n "$ac_ct_CC" && break
3160 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3161 See \`config.log' for more details." >&5
3162 echo "$as_me: error: no acceptable C compiler found in \$PATH
3163 See \`config.log' for more details." >&2;}
3164 { (exit 1); exit 1; }; }
3166 # Provide some information about the compiler.
3167 echo "$as_me:$LINENO:" \
3168 "checking for C compiler version" >&5
3169 ac_compiler
=`set X $ac_compile; echo $2`
3170 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3171 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }
3175 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3176 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }
3180 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3181 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }
3186 cat >conftest.
$ac_ext <<_ACEOF
3189 cat confdefs.h
>>conftest.
$ac_ext
3190 cat >>conftest.
$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3201 ac_clean_files_save
=$ac_clean_files
3202 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3203 # Try to create an executable without -o first, disregard a.out.
3204 # It will help us diagnose broken compilers, and finding out an intuition
3206 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3207 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3208 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3209 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3210 (eval $ac_link_default) 2>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; then
3214 # Find the output, starting from the most likely. This scheme is
3215 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3218 # Be careful to initialize this variable, since it used to be cached.
3219 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3221 # b.out is created by i960 compilers.
3222 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3224 test -f "$ac_file" ||
continue
3226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3229 # This is the source file.
3232 # We found the default executable, but exeext='' is most
3236 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 # FIXME: I believe we export ac_cv_exeext for Libtool,
3238 # but it would be cool to find out if it's true. Does anybody
3239 # maintain Libtool? --akim.
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3250 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3251 See \`config.log' for more details." >&5
3252 echo "$as_me: error: C compiler cannot create executables
3253 See \`config.log' for more details." >&2;}
3254 { (exit 77); exit 77; }; }
3257 ac_exeext
=$ac_cv_exeext
3258 echo "$as_me:$LINENO: result: $ac_file" >&5
3259 echo "${ECHO_T}$ac_file" >&6
3261 # Check the compiler produces executables we can run. If not, either
3262 # the compiler is broken, or we cross compile.
3263 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3264 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3265 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3266 # If not cross compiling, check that we can run a simple program.
3267 if test "$cross_compiling" != yes; then
3268 if { ac_try
='./$ac_file'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3276 if test "$cross_compiling" = maybe
; then
3279 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3280 If you meant to cross compile, use \`--host'.
3281 See \`config.log' for more details." >&5
3282 echo "$as_me: error: cannot run C compiled programs.
3283 If you meant to cross compile, use \`--host'.
3284 See \`config.log' for more details." >&2;}
3285 { (exit 1); exit 1; }; }
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3292 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3293 ac_clean_files
=$ac_clean_files_save
3294 # Check the compiler produces executables we can run. If not, either
3295 # the compiler is broken, or we cross compile.
3296 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3297 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3298 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3299 echo "${ECHO_T}$cross_compiling" >&6
3301 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3302 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3304 (eval $ac_link) 2>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; then
3308 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3309 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3310 # work properly (i.e., refer to `conftest.exe'), while it won't with
3312 for ac_file
in conftest.exe conftest conftest.
*; do
3313 test -f "$ac_file" ||
continue
3315 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3316 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3324 See \`config.log' for more details." >&5
3325 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3326 See \`config.log' for more details." >&2;}
3327 { (exit 1); exit 1; }; }
3330 rm -f conftest
$ac_cv_exeext
3331 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3332 echo "${ECHO_T}$ac_cv_exeext" >&6
3334 rm -f conftest.
$ac_ext
3335 EXEEXT
=$ac_cv_exeext
3337 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3338 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3339 if test "${ac_cv_objext+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 cat >conftest.
$ac_ext <<_ACEOF
3345 cat confdefs.h
>>conftest.
$ac_ext
3346 cat >>conftest.
$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3357 rm -f conftest.o conftest.obj
3358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; then
3363 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3366 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3375 See \`config.log' for more details." >&5
3376 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3377 See \`config.log' for more details." >&2;}
3378 { (exit 1); exit 1; }; }
3381 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3383 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3384 echo "${ECHO_T}$ac_cv_objext" >&6
3385 OBJEXT
=$ac_cv_objext
3387 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3388 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3389 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 cat >conftest.
$ac_ext <<_ACEOF
3395 cat confdefs.h
>>conftest.
$ac_ext
3396 cat >>conftest.
$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3410 rm -f conftest.
$ac_objext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3412 (eval $ac_compile) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest.$ac_objext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3439 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3442 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3443 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3444 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3445 ac_test_CFLAGS
=${CFLAGS+set}
3446 ac_save_CFLAGS
=$CFLAGS
3448 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3449 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3450 if test "${ac_cv_prog_cc_g+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 cat >conftest.
$ac_ext <<_ACEOF
3456 cat confdefs.h
>>conftest.
$ac_ext
3457 cat >>conftest.
$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3468 rm -f conftest.
$ac_objext
3469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3470 (eval $ac_compile) 2>conftest.er1
3472 grep -v '^ *+' conftest.er1
>conftest.err
3474 cat conftest.err
>&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } &&
3477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; } &&
3483 { ac_try
='test -s conftest.$ac_objext'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; }; then
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.
$ac_ext >&5
3496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3498 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3499 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3500 if test "$ac_test_CFLAGS" = set; then
3501 CFLAGS
=$ac_save_CFLAGS
3502 elif test $ac_cv_prog_cc_g = yes; then
3503 if test "$GCC" = yes; then
3509 if test "$GCC" = yes; then
3515 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3516 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3517 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 ac_cv_prog_cc_stdc
=no
3522 cat >conftest.
$ac_ext <<_ACEOF
3525 cat confdefs.h
>>conftest.
$ac_ext
3526 cat >>conftest.
$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3530 #include <sys/types.h>
3531 #include <sys/stat.h>
3532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3533 struct buf { int x; };
3534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3535 static char *e (p, i)
3541 static char *f (char * (*g) (char **, int), char **p, ...)
3546 s = g (p, va_arg (v,int));
3551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3552 function prototypes and stuff, but not '\xHH' hex character constants.
3553 These don't provoke an error unfortunately, instead are silently treated
3554 as 'x'. The following induces an error, until -std1 is added to get
3555 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3556 array size at least. It's necessary to write '\x00'==0 to get something
3557 that's true only with -std1. */
3558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3560 int test (int i, double x);
3561 struct s1 {int (*f) (int a);};
3562 struct s2 {int (*f) (double a);};
3563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3574 # Don't try gcc -ansi; that turns off useful extensions and
3575 # breaks some systems' header files.
3576 # AIX -qlanglvl=ansi
3577 # Ultrix and OSF/1 -std1
3578 # HP-UX 10.20 and later -Ae
3579 # HP-UX older versions -Aa -D_HPUX_SOURCE
3580 # SVR4 -Xc -D__EXTENSIONS__
3581 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3583 CC
="$ac_save_CC $ac_arg"
3584 rm -f conftest.
$ac_objext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3586 (eval $ac_compile) 2>conftest.er1
3588 grep -v '^ *+' conftest.er1
>conftest.err
3590 cat conftest.err
>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try
='test -s conftest.$ac_objext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_prog_cc_stdc
=$ac_arg
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.
$ac_ext >&5
3612 rm -f conftest.err conftest.
$ac_objext
3614 rm -f conftest.
$ac_ext conftest.
$ac_objext
3619 case "x$ac_cv_prog_cc_stdc" in
3621 echo "$as_me:$LINENO: result: none needed" >&5
3622 echo "${ECHO_T}none needed" >&6 ;;
3624 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3625 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3626 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3629 # Some people use a C++ compiler to compile C. Since we use `exit',
3630 # in C++ we need to declare it. In case someone uses the same compiler
3631 # for both compiling C and C++ we need to have the C++ compiler decide
3632 # the declaration of exit, since it's the most demanding environment.
3633 cat >conftest.
$ac_ext <<_ACEOF
3638 rm -f conftest.
$ac_objext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3640 (eval $ac_compile) 2>conftest.er1
3642 grep -v '^ *+' conftest.er1
>conftest.err
3644 cat conftest.err
>&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } &&
3647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; } &&
3653 { ac_try
='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then
3659 for ac_declaration
in \
3661 'extern "C" void std::exit (int) throw (); using std::exit;' \
3662 'extern "C" void std::exit (int); using std::exit;' \
3663 'extern "C" void exit (int) throw ();' \
3664 'extern "C" void exit (int);' \
3667 cat >conftest.
$ac_ext <<_ACEOF
3670 cat confdefs.h
>>conftest.
$ac_ext
3671 cat >>conftest.
$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3683 rm -f conftest.
$ac_objext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3685 (eval $ac_compile) 2>conftest.er1
3687 grep -v '^ *+' conftest.er1
>conftest.err
3689 cat conftest.err
>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 cat >conftest.
$ac_ext <<_ACEOF
3715 cat confdefs.h
>>conftest.
$ac_ext
3716 cat >>conftest.
$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3727 rm -f conftest.
$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>conftest.er1
3731 grep -v '^ *+' conftest.er1
>conftest.err
3733 cat conftest.err
>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try
='test -s conftest.$ac_objext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.
$ac_ext >&5
3754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3757 if test -n "$ac_declaration"; then
3758 echo '#ifdef __cplusplus' >>confdefs.h
3759 echo $ac_declaration >>confdefs.h
3760 echo '#endif' >>confdefs.h
3764 echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.
$ac_ext >&5
3768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3770 ac_cpp
='$CPP $CPPFLAGS'
3771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3776 ac_cpp
='$CXXCPP $CPPFLAGS'
3777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3780 if test -n "$ac_tool_prefix"; then
3781 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3784 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3785 echo "$as_me:$LINENO: checking for $ac_word" >&5
3786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3787 if test "${ac_cv_prog_CXX+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 if test -n "$CXX"; then
3791 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir
=.
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 if test -n "$CXX"; then
3811 echo "$as_me:$LINENO: result: $CXX" >&5
3812 echo "${ECHO_T}$CXX" >&6
3814 echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6
3818 test -n "$CXX" && break
3821 if test -z "$CXX"; then
3823 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3825 # Extract the first word of "$ac_prog", so it can be a program name with args.
3826 set dummy
$ac_prog; ac_word
=$2
3827 echo "$as_me:$LINENO: checking for $ac_word" >&5
3828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3829 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if test -n "$ac_ct_CXX"; then
3833 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3852 if test -n "$ac_ct_CXX"; then
3853 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3854 echo "${ECHO_T}$ac_ct_CXX" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3860 test -n "$ac_ct_CXX" && break
3862 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3868 # Provide some information about the compiler.
3869 echo "$as_me:$LINENO:" \
3870 "checking for C++ compiler version" >&5
3871 ac_compiler
=`set X $ac_compile; echo $2`
3872 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3873 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }
3877 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3878 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }
3882 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3883 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }
3888 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3889 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3890 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 cat >conftest.
$ac_ext <<_ACEOF
3896 cat confdefs.h
>>conftest.
$ac_ext
3897 cat >>conftest.
$ac_ext <<_ACEOF
3898 /* end confdefs.h. */
3911 rm -f conftest.
$ac_objext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3913 (eval $ac_compile) 2>conftest.er1
3915 grep -v '^ *+' conftest.er1
>conftest.err
3917 cat conftest.err
>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; } &&
3926 { ac_try
='test -s conftest.$ac_objext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3934 echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.
$ac_ext >&5
3939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3940 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3943 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3944 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3945 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3946 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3947 ac_save_CXXFLAGS
=$CXXFLAGS
3949 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3950 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3951 if test "${ac_cv_prog_cxx_g+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 cat >conftest.
$ac_ext <<_ACEOF
3957 cat confdefs.h
>>conftest.
$ac_ext
3958 cat >>conftest.
$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3969 rm -f conftest.
$ac_objext
3970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3971 (eval $ac_compile) 2>conftest.er1
3973 grep -v '^ *+' conftest.er1
>conftest.err
3975 cat conftest.err
>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } &&
3978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; } &&
3984 { ac_try
='test -s conftest.$ac_objext'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3990 ac_cv_prog_cxx_g
=yes
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.
$ac_ext >&5
3997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3999 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4000 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4001 if test "$ac_test_CXXFLAGS" = set; then
4002 CXXFLAGS
=$ac_save_CXXFLAGS
4003 elif test $ac_cv_prog_cxx_g = yes; then
4004 if test "$GXX" = yes; then
4010 if test "$GXX" = yes; then
4016 for ac_declaration
in \
4018 'extern "C" void std::exit (int) throw (); using std::exit;' \
4019 'extern "C" void std::exit (int); using std::exit;' \
4020 'extern "C" void exit (int) throw ();' \
4021 'extern "C" void exit (int);' \
4024 cat >conftest.
$ac_ext <<_ACEOF
4027 cat confdefs.h
>>conftest.
$ac_ext
4028 cat >>conftest.
$ac_ext <<_ACEOF
4029 /* end confdefs.h. */
4040 rm -f conftest.
$ac_objext
4041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4042 (eval $ac_compile) 2>conftest.er1
4044 grep -v '^ *+' conftest.er1
>conftest.err
4046 cat conftest.err
>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } &&
4049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; } &&
4055 { ac_try
='test -s conftest.$ac_objext'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.
$ac_ext >&5
4068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4084 rm -f conftest.
$ac_objext
4085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4086 (eval $ac_compile) 2>conftest.er1
4088 grep -v '^ *+' conftest.er1
>conftest.err
4090 cat conftest.err
>&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } &&
4093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; } &&
4099 { ac_try
='test -s conftest.$ac_objext'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; }; then
4107 echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.
$ac_ext >&5
4111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4114 if test -n "$ac_declaration"; then
4115 echo '#ifdef __cplusplus' >>confdefs.h
4116 echo $ac_declaration >>confdefs.h
4117 echo '#endif' >>confdefs.h
4121 ac_cpp
='$CPP $CPPFLAGS'
4122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4127 # We must set the default linker to the linker used by gcc for the correct
4128 # operation of libtool. If LD is not defined and we are using gcc, try to
4129 # set the LD default to the ld used by gcc.
4130 if test -z "$LD"; then
4131 if test "$GCC" = yes; then
4134 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4136 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4138 case $gcc_prog_ld in
4139 # Accept absolute paths.
4140 [\\/]* |
[A-Za-z
]:[\\/]*)
4141 LD
="$gcc_prog_ld" ;;
4149 if test -n "$ac_tool_prefix"; then
4150 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4151 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4152 echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4154 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$GNATBIND"; then
4158 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 GNATBIND
=$ac_cv_prog_GNATBIND
4177 if test -n "$GNATBIND"; then
4178 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4179 echo "${ECHO_T}$GNATBIND" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4186 if test -z "$ac_cv_prog_GNATBIND"; then
4187 ac_ct_GNATBIND
=$GNATBIND
4188 # Extract the first word of "gnatbind", so it can be a program name with args.
4189 set dummy gnatbind
; ac_word
=$2
4190 echo "$as_me:$LINENO: checking for $ac_word" >&5
4191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4192 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 if test -n "$ac_ct_GNATBIND"; then
4196 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4215 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4216 if test -n "$ac_ct_GNATBIND"; then
4217 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4218 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4224 GNATBIND
=$ac_ct_GNATBIND
4226 GNATBIND
="$ac_cv_prog_GNATBIND"
4229 if test -n "$ac_tool_prefix"; then
4230 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4231 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4232 echo "$as_me:$LINENO: checking for $ac_word" >&5
4233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4234 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4237 if test -n "$GNATMAKE"; then
4238 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4244 test -z "$as_dir" && as_dir
=.
4245 for ac_exec_ext
in '' $ac_executable_extensions; do
4246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 GNATMAKE
=$ac_cv_prog_GNATMAKE
4257 if test -n "$GNATMAKE"; then
4258 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4259 echo "${ECHO_T}$GNATMAKE" >&6
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4266 if test -z "$ac_cv_prog_GNATMAKE"; then
4267 ac_ct_GNATMAKE
=$GNATMAKE
4268 # Extract the first word of "gnatmake", so it can be a program name with args.
4269 set dummy gnatmake
; ac_word
=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 if test -n "$ac_ct_GNATMAKE"; then
4276 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4295 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4296 if test -n "$ac_ct_GNATMAKE"; then
4297 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4298 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4304 GNATMAKE
=$ac_ct_GNATMAKE
4306 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4309 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4310 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4311 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 cat >conftest.adb
<<EOF
4315 procedure conftest is begin null; end conftest;
4317 acx_cv_cc_gcc_supports_ada
=no
4318 # There is a bug in old released versions of GCC which causes the
4319 # driver to exit successfully when the appropriate language module
4320 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4321 # Therefore we must check for the error message as well as an
4322 # unsuccessful exit.
4323 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4324 # given a .adb file, but produce no object file. So we must check
4325 # if an object file was really produced to guard against this.
4326 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4327 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4328 acx_cv_cc_gcc_supports_ada
=yes
4332 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4333 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4335 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4341 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4342 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4343 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4349 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4350 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4353 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4356 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4357 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4360 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4366 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4367 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4368 do_compare
="$gcc_cv_prog_cmp_skip"
4372 # Check for GMP and MPFR
4373 gmplibs
="-lmpfr -lgmp"
4377 # Specify a location for mpfr
4378 # check for this first so it ends up on the link line before gmp.
4380 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4381 if test "${with_mpfr_dir+set}" = set; then
4382 withval
="$with_mpfr_dir"
4383 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4384 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4385 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4386 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4387 { (exit 1); exit 1; }; }
4391 # Check whether --with-mpfr or --without-mpfr was given.
4392 if test "${with_mpfr+set}" = set; then
4393 withval
="$with_mpfr"
4397 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4398 if test "${with_mpfr_include+set}" = set; then
4399 withval
="$with_mpfr_include"
4403 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4404 if test "${with_mpfr_lib+set}" = set; then
4405 withval
="$with_mpfr_lib"
4409 if test "x$with_mpfr" != x
; then
4410 gmplibs
="-L$with_mpfr/lib $gmplibs"
4411 gmpinc
="-I$with_mpfr/include"
4413 if test "x$with_mpfr_include" != x
; then
4414 gmpinc
="-I$with_mpfr_include"
4416 if test "x$with_mpfr_lib" != x
; then
4417 gmplibs
="-L$with_mpfr_lib $gmplibs"
4419 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4420 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4421 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4422 # Do not test the mpfr version. Assume that it is sufficient, since
4423 # it is in the source tree, and the library has not been built yet
4424 # but it would be included on the link line in the version check below
4425 # hence making the test fail.
4429 # Specify a location for gmp
4431 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4432 if test "${with_gmp_dir+set}" = set; then
4433 withval
="$with_gmp_dir"
4434 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4435 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4436 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4437 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4438 { (exit 1); exit 1; }; }
4442 # Check whether --with-gmp or --without-gmp was given.
4443 if test "${with_gmp+set}" = set; then
4448 # Check whether --with-gmp_include or --without-gmp_include was given.
4449 if test "${with_gmp_include+set}" = set; then
4450 withval
="$with_gmp_include"
4454 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4455 if test "${with_gmp_lib+set}" = set; then
4456 withval
="$with_gmp_lib"
4461 if test "x$with_gmp" != x
; then
4462 gmplibs
="-L$with_gmp/lib $gmplibs"
4463 gmpinc
="-I$with_gmp/include $gmpinc"
4465 if test "x$with_gmp_include" != x
; then
4466 gmpinc
="-I$with_gmp_include $gmpinc"
4468 if test "x$with_gmp_lib" != x
; then
4469 gmplibs
="-L$with_gmp_lib $gmplibs"
4471 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4472 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4473 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4474 # Do not test the gmp version. Assume that it is sufficient, since
4475 # it is in the source tree, and the library has not been built yet
4476 # but it would be included on the link line in the version check below
4477 # hence making the test fail.
4481 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4483 saved_CFLAGS
="$CFLAGS"
4484 CFLAGS
="$CFLAGS $gmpinc"
4485 # Check GMP actually works
4486 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4487 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4489 cat >conftest.
$ac_ext <<_ACEOF
4492 cat confdefs.h
>>conftest.
$ac_ext
4493 cat >>conftest.
$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4500 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4508 rm -f conftest.
$ac_objext
4509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4510 (eval $ac_compile) 2>conftest.er1
4512 grep -v '^ *+' conftest.er1
>conftest.err
4514 cat conftest.err
>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } &&
4517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; } &&
4523 { ac_try
='test -s conftest.$ac_objext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4529 echo "$as_me:$LINENO: result: yes" >&5
4530 echo "${ECHO_T}yes" >&6
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; have_gmp
=no
4538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4540 if test x
"$have_gmp" = xyes
; then
4542 LIBS
="$LIBS $gmplibs"
4543 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4544 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4545 cat >conftest.
$ac_ext <<_ACEOF
4548 cat confdefs.h
>>conftest.
$ac_ext
4549 cat >>conftest.
$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4557 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4565 mpfr_atan2 (n, n, x, GMP_RNDN);
4566 mpfr_erfc (n, x, GMP_RNDN);
4567 mpfr_subnormalize (x, t, GMP_RNDN);
4573 rm -f conftest.
$ac_objext conftest
$ac_exeext
4574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4575 (eval $ac_link) 2>conftest.er1
4577 grep -v '^ *+' conftest.er1
>conftest.err
4579 cat conftest.err
>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } &&
4582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; } &&
4588 { ac_try
='test -s conftest$ac_exeext'
4589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }; }; then
4594 cat >conftest.
$ac_ext <<_ACEOF
4597 cat confdefs.h
>>conftest.
$ac_ext
4598 cat >>conftest.
$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4606 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4609 mpfr_t n; mpfr_init(n);
4615 rm -f conftest.
$ac_objext conftest
$ac_exeext
4616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4617 (eval $ac_link) 2>conftest.er1
4619 grep -v '^ *+' conftest.er1
>conftest.err
4621 cat conftest.err
>&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); } &&
4624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; } &&
4630 { ac_try
='test -s conftest$ac_exeext'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; }; then
4636 echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.
$ac_ext >&5
4642 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4643 echo "${ECHO_T}buggy but acceptable" >&6
4645 rm -f conftest.err conftest.
$ac_objext \
4646 conftest
$ac_exeext conftest.
$ac_ext
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.
$ac_ext >&5
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6; have_gmp
=no
4654 rm -f conftest.err conftest.
$ac_objext \
4655 conftest
$ac_exeext conftest.
$ac_ext
4658 CFLAGS
="$saved_CFLAGS"
4660 if test x
$have_gmp != xyes
; then
4661 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4662 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4663 Copies of these libraries' source code can be found at their respective
4664 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4665 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4666 If you obtained GMP and/or MPFR from a vendor distribution package, make
4667 sure that you have installed both the libraries and the header files.
4668 They may be located in separate packages." >&5
4669 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4670 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4671 Copies of these libraries' source code can be found at their respective
4672 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4673 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4674 If you obtained GMP and/or MPFR from a vendor distribution package, make
4675 sure that you have installed both the libraries and the header files.
4676 They may be located in separate packages." >&2;}
4677 { (exit 1); exit 1; }; }
4681 # Flags needed for both GMP and/or MPFR
4685 # By default, C is the only stage 1 language.
4686 stage1_languages
=,c
,
4688 # Figure out what language subdirectories are present.
4689 # Look if the user specified --enable-languages="..."; if not, use
4690 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4692 # NB: embedded tabs in this IF block -- do not untabify
4693 if test -d ${srcdir}/gcc
; then
4694 if test x
"${enable_languages+set}" != xset
; then
4695 if test x
"${LANGUAGES+set}" = xset
; then
4696 enable_languages
="${LANGUAGES}"
4697 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4699 enable_languages
=all
4702 if test x
"${enable_languages}" = x ||
4703 test x
"${enable_languages}" = xyes
;
4705 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4709 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4711 # 'f95' is the old name for the 'fortran' language. We issue a warning
4712 # and make the substitution.
4713 case ,${enable_languages}, in
4715 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4716 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4720 # First scan to see if an enabled language requires some other language.
4721 # We assume that a given config-lang.in will list all the language
4722 # front ends it requires, even if some are required indirectly.
4723 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4724 case ${lang_frag} in
4726 # The odd quoting in the next line works around
4727 # an apparent bug in bash 1.12 on linux.
4728 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4730 # From the config-lang.in, get $language, $lang_requires
4734 for other
in ${lang_requires} ; do
4735 case ,${enable_languages}, in
4739 echo " \`$other' language required by \`$language'; enabling" 1>&2
4740 enable_languages
="${enable_languages},${other}"
4748 new_enable_languages
=,c
,
4749 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4750 potential_languages
=,c
,
4752 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4753 case ${lang_frag} in
4755 # The odd quoting in the next line works around
4756 # an apparent bug in bash 1.12 on linux.
4757 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4759 # From the config-lang.in, get $language, $target_libs,
4760 # $lang_dirs, $boot_language, and $build_by_default
4766 build_by_default
=yes
4768 if test x
${language} = x
; then
4769 echo "${lang_frag} doesn't set \$language." 1>&2
4773 case ,${enable_languages}, in
4775 # Language was explicitly selected; include it.
4779 # 'all' was selected, select it if it is a default language
4780 add_this_lang
=${build_by_default}
4787 # Disable languages that need other directories if these aren't available.
4788 for i
in $subdir_requires; do
4789 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4790 case ,${enable_languages}, in
4792 # Specifically requested language; tell them.
4793 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4794 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4795 { (exit 1); exit 1; }; }
4799 add_this_lang
=unsupported
4804 # Disable Ada if no preexisting GNAT is available.
4805 case ,${enable_languages},:${language}:${have_gnat} in
4806 *,${language},*:ada
:no
)
4807 # Specifically requested language; tell them.
4808 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4809 echo "$as_me: error: GNAT is required to build $language" >&2;}
4810 { (exit 1); exit 1; }; }
4814 add_this_lang
=unsupported
4818 # Disable a language that is unsupported by the target.
4819 case " $unsupported_languages " in
4821 add_this_lang
=unsupported
4825 case $add_this_lang in
4827 # Remove language-dependent dirs.
4828 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4831 # Remove language-dependent dirs; still show language as supported.
4832 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4833 potential_languages
="${potential_languages}${language},"
4836 new_enable_languages
="${new_enable_languages}${language},"
4837 potential_languages
="${potential_languages}${language},"
4838 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4839 case ${boot_language} in
4841 # Add to (comma-separated) list of stage 1 languages.
4842 stage1_languages
="${stage1_languages}${language},"
4851 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4852 if test "${enable_stage1_languages+set}" = set; then
4853 enableval
="$enable_stage1_languages"
4854 case ,${enable_stage1_languages}, in
4856 # Set it to something that will have no effect in the loop below
4857 enable_stage1_languages
=c
;;
4859 enable_stage1_languages
=`echo $new_enable_languages | \
4860 sed -e "s/^,//" -e "s/,$//" ` ;;
4862 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4863 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4866 # Add "good" languages from enable_stage1_languages to stage1_languages,
4867 # while "bad" languages go in missing_languages. Leave no duplicates.
4868 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4869 case $potential_languages in
4871 case $stage1_languages in
4873 *) stage1_languages
="$stage1_languages$i," ;;
4876 case $missing_languages in
4878 *) missing_languages
="$missing_languages$i," ;;
4884 # Remove leading/trailing commas that were added for simplicity
4885 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4886 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4887 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4888 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4890 if test "x$missing_languages" != x
; then
4891 { { echo "$as_me:$LINENO: error:
4892 The following requested languages could not be built: ${missing_languages}
4893 Supported languages are: ${potential_languages}" >&5
4894 echo "$as_me: error:
4895 The following requested languages could not be built: ${missing_languages}
4896 Supported languages are: ${potential_languages}" >&2;}
4897 { (exit 1); exit 1; }; }
4899 if test "x$new_enable_languages" != "x$enable_languages"; then
4900 echo The following languages will be built
: ${new_enable_languages}
4901 enable_languages
="$new_enable_languages"
4905 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4908 # Handle --disable-<component> generically.
4909 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4910 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4911 varname
=`echo $dirname | sed -e s/+/_/g`
4912 if eval test x\
${enable_${varname}} "=" xno
; then
4913 noconfigdirs
="$noconfigdirs $dir"
4917 # Check for Boehm's garbage collector
4918 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4919 if test "${enable_objc_gc+set}" = set; then
4920 enableval
="$enable_objc_gc"
4921 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4922 *,objc
,*:*:yes:*target-boehm-gc
*)
4923 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4924 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4925 { (exit 1); exit 1; }; }
4930 # Make sure we only build Boehm's garbage collector if required.
4931 case ,${enable_languages},:${enable_objc_gc} in
4933 # Keep target-boehm-gc if requested for Objective-C.
4936 # Otherwise remove target-boehm-gc depending on target-libjava.
4937 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4938 noconfigdirs
="$noconfigdirs target-boehm-gc"
4943 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4944 # $build_configdirs and $target_configdirs.
4945 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4948 for dir
in .
$skipdirs $noconfigdirs ; do
4949 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4950 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4951 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4952 if test -r $srcdir/$dirname/configure
; then
4953 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4956 notsupp
="$notsupp $dir"
4960 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4961 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4962 if test -r $srcdir/$dirname/configure
; then
4963 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4966 notsupp
="$notsupp $dir"
4970 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4971 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4972 if test -r $srcdir/$dirname/configure
; then
4973 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4976 notsupp
="$notsupp $dir"
4982 # Sometimes the tools are distributed with libiberty but with no other
4983 # libraries. In that case, we don't want to build target-libiberty.
4984 # Don't let libgcc imply libiberty either.
4985 if test -n "${target_configdirs}" ; then
4988 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4989 if test "$i" = "libgcc"; then
4990 libgcc
=target-libgcc
4991 elif test "$i" != "libiberty" ; then
4992 if test -r $srcdir/$i/configure
; then
4998 if test -z "${others}" ; then
4999 target_configdirs
=$libgcc
5003 # Quietly strip out all directories which aren't configurable in this tree.
5004 # This relies on all configurable subdirectories being autoconfiscated, which
5006 build_configdirs_all
="$build_configdirs"
5008 for i
in ${build_configdirs_all} ; do
5009 j
=`echo $i | sed -e s/build-//g`
5010 if test -f ${srcdir}/$j/configure
; then
5011 build_configdirs
="${build_configdirs} $i"
5015 configdirs_all
="$configdirs"
5017 for i
in ${configdirs_all} ; do
5018 if test -f ${srcdir}/$i/configure
; then
5019 configdirs
="${configdirs} $i"
5023 target_configdirs_all
="$target_configdirs"
5025 for i
in ${target_configdirs_all} ; do
5026 j
=`echo $i | sed -e s/target-//g`
5027 if test -f ${srcdir}/$j/configure
; then
5028 target_configdirs
="${target_configdirs} $i"
5032 # Produce a warning message for the subdirs we can't configure.
5033 # This isn't especially interesting in the Cygnus tree, but in the individual
5034 # FSF releases, it's important to let people know when their machine isn't
5035 # supported by the one or two programs in a package.
5037 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5038 # If $appdirs is non-empty, at least one of those directories must still
5039 # be configured, or we error out. (E.g., if the gas release supports a
5040 # specified target in some subdirs but not the gas subdir, we shouldn't
5041 # pretend that all is well.)
5042 if test -n "$appdirs" ; then
5043 for dir
in $appdirs ; do
5044 if test -r $dir/Makefile.
in ; then
5045 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5049 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5055 if test -n "$appdirs" ; then
5056 echo "*** This configuration is not supported by this package." 1>&2
5060 # Okay, some application will build, or we don't care to check. Still
5061 # notify of subdirs not getting built.
5062 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5063 echo " ${notsupp}" 1>&2
5064 echo " (Any other directories should still work fine.)" 1>&2
5072 # To find our prefix, in gcc_cv_tool_prefix.
5074 # The user is always right.
5075 if test "${PATH_SEPARATOR+set}" != set; then
5076 echo "#! /bin/sh" >conf$$.sh
5077 echo "exit 0" >>conf$$.sh
5079 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5089 if test "x$exec_prefix" = xNONE
; then
5090 if test "x$prefix" = xNONE
; then
5091 gcc_cv_tool_prefix
=$ac_default_prefix
5093 gcc_cv_tool_prefix
=$prefix
5096 gcc_cv_tool_prefix
=$exec_prefix
5099 # If there is no compiler in the tree, use the PATH only. In any
5100 # case, if there is no compiler in the tree nobody should use
5101 # AS_FOR_TARGET and LD_FOR_TARGET.
5102 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5103 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5104 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5105 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5106 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5107 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5108 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5109 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5114 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5115 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5123 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5124 if test "${with_build_sysroot+set}" = set; then
5125 withval
="$with_build_sysroot"
5126 if test x
"$withval" != x
; then
5127 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5130 SYSROOT_CFLAGS_FOR_TARGET
=
5135 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5136 if test "${with_debug_prefix_map+set}" = set; then
5137 withval
="$with_debug_prefix_map"
5138 if test x
"$withval" != x
; then
5139 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5140 for debug_map
in $withval; do
5141 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5145 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5149 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5150 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5151 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5152 # We want to ensure that TARGET libraries (which we know are built with
5153 # gcc) are built with "-O2 -g", so include those options when setting
5154 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5155 if test "x$CFLAGS_FOR_TARGET" = x
; then
5156 CFLAGS_FOR_TARGET
=$CFLAGS
5159 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5162 *" -g "* |
*" -g3 "*) ;;
5163 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5168 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5169 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5170 case " $CXXFLAGS " in
5172 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5174 case " $CXXFLAGS " in
5175 *" -g "* |
*" -g3 "*) ;;
5176 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5181 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5182 # the named directory are copied to $(tooldir)/sys-include.
5183 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5184 if test x
${is_cross_compiler} = xno
; then
5185 echo 1>&2 '***' --with-headers is only supported when cross compiling
5188 if test x
"${with_headers}" != xyes
; then
5189 x
=${gcc_cv_tool_prefix}
5190 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5194 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5195 # the name directories are copied to $(tooldir)/lib. Multiple directories
5197 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5198 if test x
${is_cross_compiler} = xno
; then
5199 echo 1>&2 '***' --with-libs is only supported when cross compiling
5202 if test x
"${with_libs}" != xyes
; then
5203 # Copy the libraries in reverse order, so that files in the first named
5204 # library override files in subsequent libraries.
5205 x
=${gcc_cv_tool_prefix}
5206 for l
in ${with_libs}; do
5207 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5212 # Set with_gnu_as and with_gnu_ld as appropriate.
5214 # This is done by determining whether or not the appropriate directory
5215 # is available, and by checking whether or not specific configurations
5216 # have requested that this magic not happen.
5218 # The command line options always override the explicit settings in
5219 # configure.in, and the settings in configure.in override this magic.
5221 # If the default for a toolchain is to use GNU as and ld, and you don't
5222 # want to do that, then you should use the --without-gnu-as and
5223 # --without-gnu-ld options for the configure script.
5225 if test x
${use_gnu_as} = x
&&
5226 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5228 extra_host_args
="$extra_host_args --with-gnu-as"
5231 if test x
${use_gnu_ld} = x
&&
5232 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5234 extra_host_args
="$extra_host_args --with-gnu-ld"
5237 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5238 # can detect this case.
5240 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5242 extra_host_args
="$extra_host_args --with-newlib"
5245 # Handle ${copy_dirs}
5246 set fnord
${copy_dirs}
5248 while test $# != 0 ; do
5249 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5252 echo Copying
$1 to
$2
5254 # Use the install script to create the directory and all required
5255 # parent directories.
5256 if test -d $2 ; then
5260 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5263 # Copy the directory, assuming we have tar.
5264 # FIXME: Should we use B in the second tar? Not all systems support it.
5265 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5267 # It is the responsibility of the user to correctly adjust all
5268 # symlinks. If somebody can figure out how to handle them correctly
5269 # here, feel free to add the code.
5276 # Determine a target-dependent exec_prefix that the installed
5277 # gcc will search in. Keep this list sorted by triplet, with
5278 # the *-*-osname triplets last.
5282 md_exec_prefix
=/gnu
/lib
/gcc-lib
5284 i
[34567]86-pc-msdosdjgpp*)
5285 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5287 i
[34567]86-*-sco3.2v5
*)
5288 if test $with_gnu_as = yes; then
5289 md_exec_prefix
=/usr
/gnu
/bin
5291 md_exec_prefix
=/usr
/ccs
/bin
/elf
5296 powerpc-
*-chorusos* | \
5297 powerpc
*-*-eabi* | \
5298 powerpc
*-*-sysv* | \
5299 powerpc
*-*-kaos* | \
5301 md_exec_prefix
=/usr
/ccs
/bin
5306 md_exec_prefix
=/usr
/ccs
/bin
5321 md_exec_prefix
=/usr
/ccs
/bin
5325 extra_arflags_for_target
=
5326 extra_nmflags_for_target
=
5327 extra_ranlibflags_for_target
=
5328 target_makefile_frag
=/dev
/null
5331 target_makefile_frag
="config/mt-mep"
5334 target_makefile_frag
="config/mt-spu"
5337 target_makefile_frag
="config/mt-sde"
5339 mipsisa
*-*-elfoabi*)
5340 target_makefile_frag
="config/mt-mips-elfoabi"
5343 target_makefile_frag
="config/mt-netware"
5345 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5346 target_makefile_frag
="config/mt-gnu"
5348 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5349 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5350 # commands to handle both 32-bit and 64-bit objects. These flags are
5351 # harmless if we're using GNU nm or ar.
5352 extra_arflags_for_target
=" -X32_64"
5353 extra_nmflags_for_target
=" -B -X32_64"
5356 # ranlib from Darwin requires the -c flag to look at common symbols.
5357 extra_ranlibflags_for_target
=" -c"
5359 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5360 target_makefile_frag
="config/mt-wince"
5364 alphaieee_frag
=/dev
/null
5367 # This just makes sure to use the -mieee option to build target libs.
5368 # This should probably be set individually by each library.
5369 alphaieee_frag
="config/mt-alphaieee"
5373 # If --enable-target-optspace always use -Os instead of -O2 to build
5374 # the target libraries, similarly if it is not specified, use -Os
5375 # on selected platforms.
5376 ospace_frag
=/dev
/null
5377 case "${enable_target_optspace}:${target}" in
5379 ospace_frag
="config/mt-ospace"
5382 ospace_frag
="config/mt-d30v"
5384 :m32r-
* |
:d10v-
* |
:fr30-
*)
5385 ospace_frag
="config/mt-ospace"
5390 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5394 # Default to using --with-stabs for certain targets.
5395 if test x
${with_stabs} = x
; then
5399 mips
*-*-* | alpha
*-*-osf*)
5401 extra_host_args
="${extra_host_args} --with-stabs"
5406 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5407 # them automatically.
5410 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5414 # Some systems (e.g., one of the i386-aix systems the gas testers are
5415 # using) don't handle "\$" correctly, so don't use it here.
5416 tooldir
='${exec_prefix}'/${target_noncanonical}
5417 build_tooldir
=${tooldir}
5419 # Create a .gdbinit file which runs the one in srcdir
5420 # and tells GDB to look there for source files.
5422 if test -r ${srcdir}/.gdbinit
; then
5425 *) cat > .
/.gdbinit
<<EOF
5429 source ${srcdir}/.gdbinit
5435 # Make sure that the compiler is able to generate an executable. If it
5436 # can't, we are probably in trouble. We don't care whether we can run the
5437 # executable--we might be using a cross compiler--we only care whether it
5438 # can be created. At this point the main configure script has set CC.
5440 echo "int main () { return 0; }" > conftest.c
5441 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5442 if test $?
= 0 ; then
5443 if test -s conftest ||
test -s conftest.exe
; then
5449 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5450 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5457 # The Solaris /usr/ucb/cc compiler does not appear to work.
5459 sparc-sun-solaris2
*)
5460 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5461 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5463 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5464 if test -d /opt
/cygnus
/bin
; then
5465 if test "$could_use" = "" ; then
5466 could_use
="/opt/cygnus/bin"
5468 could_use
="$could_use or /opt/cygnus/bin"
5471 if test "$could_use" = "" ; then
5472 echo "Warning: compilation may fail because you're using"
5473 echo "/usr/ucb/cc. You should change your PATH or CC "
5474 echo "variable and rerun configure."
5476 echo "Warning: compilation may fail because you're using"
5477 echo "/usr/ucb/cc, when you should use the C compiler from"
5478 echo "$could_use. You should change your"
5479 echo "PATH or CC variable and rerun configure."
5486 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5487 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5488 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5491 # Record target_configdirs and the configure arguments for target and
5492 # build configuration in Makefile.
5493 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5494 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5496 # Determine whether gdb needs tk/tcl or not.
5497 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5498 # and in that case we want gdb to be built without tk. Ugh!
5499 # In fact I believe gdb is the *only* package directly dependent on tk,
5500 # so we should be able to put the 'maybe's in unconditionally and
5501 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5502 # 100% sure that that's safe though.
5504 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5505 case "$enable_gdbtk" in
5509 GDB_TK
="${gdb_tk}" ;;
5511 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5512 # distro. Eventually someone will fix this and move Insight, nee
5513 # gdbtk to a separate directory.
5514 if test -d ${srcdir}/gdb
/gdbtk
; then
5521 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5522 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5524 # Strip out unwanted targets.
5526 # While at that, we remove Makefiles if we were started for recursive
5527 # configuration, so that the top-level Makefile reconfigures them,
5528 # like we used to do when configure itself was recursive.
5530 # Loop over modules. $extrasub must be used with care, limiting as
5531 # much as possible the usage of range addresses. That's because autoconf
5532 # splits the sed script to overcome limits in the number of commands,
5533 # and relying on carefully-timed sed passes may turn out to be very hard
5534 # to maintain later. In this particular case, you just have to be careful
5535 # not to nest @if/@endif pairs, because configure will not warn you at all.
5537 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5538 if test "${enable_bootstrap+set}" = set; then
5539 enableval
="$enable_bootstrap"
5542 enable_bootstrap
=default
5545 # Issue errors and warnings for invalid/strange bootstrap combinations.
5546 case "$configdirs" in
5547 *gcc
*) have_compiler
=yes ;;
5548 *) have_compiler
=no
;;
5551 case "$have_compiler:$host:$target:$enable_bootstrap" in
5554 # Default behavior. Enable bootstrap if we have a compiler
5555 # and we are in a native configuration.
5556 yes:$build:$build:default
)
5557 enable_bootstrap
=yes ;;
5560 enable_bootstrap
=no
;;
5562 # We have a compiler and we are in a native configuration, bootstrap is ok
5563 yes:$build:$build:yes)
5566 # Other configurations, but we have a compiler. Assume the user knows
5569 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5570 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5573 # No compiler: if they passed --enable-bootstrap explicitly, fail
5575 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5576 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5577 { (exit 1); exit 1; }; } ;;
5579 # Fail if wrong command line
5581 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5582 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5583 { (exit 1); exit 1; }; }
5587 # Adjust the toplevel makefile according to whether bootstrap was selected.
5588 case "$enable_bootstrap" in
5590 bootstrap_suffix
=bootstrap
;;
5592 bootstrap_suffix
=no-bootstrap
;;
5595 for module
in ${build_configdirs} ; do
5596 if test -z "${no_recursion}" \
5597 && test -f ${build_subdir}/${module}/Makefile
; then
5598 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5599 rm -f ${build_subdir}/${module}/Makefile
5602 /^@if build-$module\$/d
5603 /^@endif build-$module\$/d
5604 /^@if build-$module-$bootstrap_suffix\$/d
5605 /^@endif build-$module-$bootstrap_suffix\$/d"
5607 for module
in ${configdirs} ; do
5608 if test -z "${no_recursion}"; then
5609 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5610 if test -f ${file}; then
5611 echo 1>&2 "*** removing ${file} to force reconfigure"
5618 /^@endif $module\$/d
5619 /^@if $module-$bootstrap_suffix\$/d
5620 /^@endif $module-$bootstrap_suffix\$/d"
5622 for module
in ${target_configdirs} ; do
5623 if test -z "${no_recursion}" \
5624 && test -f ${target_subdir}/${module}/Makefile
; then
5625 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5626 rm -f ${target_subdir}/${module}/Makefile
5629 /^@if target-$module\$/d
5630 /^@endif target-$module\$/d
5631 /^@if target-$module-$bootstrap_suffix\$/d
5632 /^@endif target-$module-$bootstrap_suffix\$/d"
5636 /^@if /,/^@endif /d"
5638 # Create the serialization dependencies. This uses a temporary file.
5640 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5641 if test "${enable_serial_configure+set}" = set; then
5642 enableval
="$enable_serial_configure"
5646 case ${enable_serial_configure} in
5648 enable_serial_build_configure
=yes
5649 enable_serial_host_configure
=yes
5650 enable_serial_target_configure
=yes
5654 # These force 'configure's to be done one at a time, to avoid problems
5655 # with contention over a shared config.cache.
5657 echo '# serdep.tmp' > serdep.tmp
5659 test "x${enable_serial_build_configure}" = xyes
&&
5660 for item
in ${build_configdirs} ; do
5663 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5668 test "x${enable_serial_host_configure}" = xyes
&&
5669 for item
in ${configdirs} ; do
5672 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5677 test "x${enable_serial_target_configure}" = xyes
&&
5678 for item
in ${target_configdirs} ; do
5681 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5685 serialization_dependencies
=serdep.tmp
5688 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5689 # target, nonopt, and variable assignments. These are the ones we
5690 # might not want to pass down to subconfigures. Also strip
5691 # program-prefix, program-suffix, and program-transform-name, so that
5692 # we can pass down a consistent program-transform-name.
5696 eval "set -- $ac_configure_args"
5699 if test X
"$skip_next" = X
"yes"; then
5703 if test X
"$keep_next" = X
"yes"; then
5706 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5708 baseargs
="$baseargs '$ac_arg'"
5713 # Handle separated arguments. Based on the logic generated by
5716 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5717 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5718 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5719 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5745 -program-prefix* | \
5746 -program-suffix* | \
5747 -program-transform-name* )
5748 skip_next
=$separate_arg
5752 # An option. Add it.
5755 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5757 baseargs
="$baseargs '$ac_arg'"
5758 keep_next
=$separate_arg
5761 # Either a variable assignment, or a nonopt (triplet). Don't
5762 # pass it down; let the Makefile handle this.
5767 # Remove the initial space we just introduced and, as these will be
5768 # expanded by make, quote '$'.
5769 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5771 # Add in --program-transform-name, after --program-prefix and
5772 # --program-suffix have been applied to it. Autoconf has already
5773 # doubled dollar signs and backslashes in program_transform_name; we want
5774 # the backslashes un-doubled, and then the entire thing wrapped in single
5775 # quotes, because this will be expanded first by make and then by the shell.
5776 # Also, because we want to override the logic in subdir configure scripts to
5777 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5778 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5779 ${program_transform_name}
5781 gcc_transform_name
=`cat conftestsed.out`
5782 rm -f conftestsed.out
5783 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5784 if test "$silent" = yes; then
5785 baseargs
="$baseargs --silent"
5788 # For the build-side libraries, we just need to pretend we're native,
5789 # and not use the same cache file. Multilibs are neither needed nor
5791 build_configargs
="--cache-file=../config.cache ${baseargs}"
5793 # For host modules, accept cache file option, or specification as blank.
5794 case "${cache_file}" in
5796 cache_file_option
="" ;;
5797 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5798 cache_file_option
="--cache-file=${cache_file}" ;;
5800 cache_file_option
="--cache-file=../${cache_file}" ;;
5803 # Host dirs don't like to share a cache file either, horribly enough.
5804 # This seems to be due to autoconf 2.5x stupidity.
5805 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5807 target_configargs
=${baseargs}
5809 # Passing a --with-cross-host argument lets the target libraries know
5810 # whether they are being built with a cross-compiler or being built
5811 # native. However, it would be better to use other mechanisms to make the
5812 # sorts of decisions they want to make on this basis. Please consider
5813 # this option to be deprecated. FIXME.
5814 if test x
${is_cross_compiler} = xyes
; then
5815 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5818 # Default to --enable-multilib.
5819 if test x
${enable_multilib} = x
; then
5820 target_configargs
="--enable-multilib ${target_configargs}"
5823 # Pass --with-newlib if appropriate. Note that target_configdirs has
5824 # changed from the earlier setting of with_newlib.
5825 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5826 target_configargs
="--with-newlib ${target_configargs}"
5829 # Different target subdirs use different values of certain variables
5830 # (notably CXX). Worse, multilibs use *lots* of different values.
5831 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5832 # it doesn't automatically accept command-line overrides of them.
5833 # This means it's not safe for target subdirs to share a cache file,
5834 # which is disgusting, but there you have it. Hopefully this can be
5835 # fixed in future. It's still worthwhile to use a cache file for each
5836 # directory. I think.
5838 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5839 # We need to pass --target, as newer autoconf's requires consistency
5840 # for target_alias and gcc doesn't manage it consistently.
5841 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5844 case " $target_configdirs " in
5846 case " $target_configargs " in
5847 *" --with-newlib "*)
5850 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' ;;
5853 # If we're not building GCC, don't discard standard headers.
5854 if test -d ${srcdir}/gcc
; then
5855 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5857 if test "${build}" != "${host}"; then
5858 # On Canadian crosses, CC_FOR_TARGET will have already been set
5859 # by `configure', so we won't have an opportunity to add -Bgcc/
5860 # to it. This is right: we don't want to search that directory
5861 # for binaries, but we want the header files in there, so add
5863 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5865 # Someone might think of using the pre-installed headers on
5866 # Canadian crosses, in case the installed compiler is not fully
5867 # compatible with the compiler being built. In this case, it
5868 # would be better to flag an error than risking having
5869 # incompatible object files being constructed. We can't
5870 # guarantee that an error will be flagged, but let's hope the
5871 # compiler will do it, when presented with incompatible header
5876 case "${target}-${is_cross_compiler}" in
5877 i
[3456789]86-*-linux*-no)
5878 # Here host == target, so we don't need to build gcc,
5879 # so we don't want to discard standard headers.
5880 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5883 # If we're building newlib, use its generic headers last, but search
5884 # for any libc-related directories first (so make it the last -B
5886 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5888 # If we're building libgloss, find the startup file, simulator library
5889 # and linker script.
5890 case " $target_configdirs " in
5892 # Look for startup file, simulator library and maybe linker script.
5893 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
5894 # Look for libnosys.a in case the target needs it.
5895 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5896 # Most targets have the linker script in the source directory.
5897 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
5908 # Can't be handled as Cygwin above since Mingw does not use newlib.
5909 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' ;;
5912 # Allow the user to override the flags for
5913 # our build compiler if desired.
5914 if test x
"${build}" = x
"${host}" ; then
5915 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5916 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
5917 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
5920 # On Canadian crosses, we'll be searching the right directories for
5921 # the previously-installed cross compiler, so don't bother to add
5922 # flags for directories within the install tree of the compiler
5923 # being built; programs in there won't even run.
5924 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5925 # Search for pre-installed headers if nothing else fits.
5926 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5929 if test "x
${use_gnu_ld}" = x &&
5930 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5931 # Arrange for us to find uninstalled linker scripts.
5932 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5935 # Search for other target-specific linker scripts and such.
5938 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5942 # Makefile fragments.
5943 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5945 eval fragval=\$$frag
5946 if test $fragval != /dev/null; then
5947 eval $frag=${srcdir}/$fragval
5955 # Miscellanea: directories, flags, etc.
5963 # Build module lists & subconfigure args.
5967 # Host module lists & subconfigure args.
5971 # Target module lists & subconfigure args.
5993 # Generate default definitions for YACC, M4, LEX and other programs that run
5994 # on the build machine. These are used if the Makefile can't locate these
5995 # programs in objdir.
5996 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5998 for ac_prog in 'bison -y' byacc yacc
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6003 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6004 if test "${ac_cv_prog_YACC+set}" = set; then
6005 echo $ECHO_N "(cached
) $ECHO_C" >&6
6007 if test -n "$YACC"; then
6008 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_YACC="$ac_prog"
6018 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6026 YACC=$ac_cv_prog_YACC
6027 if test -n "$YACC"; then
6028 echo "$as_me:$LINENO: result
: $YACC" >&5
6029 echo "${ECHO_T}$YACC" >&6
6031 echo "$as_me:$LINENO: result
: no
" >&5
6032 echo "${ECHO_T}no
" >&6
6035 test -n "$YACC" && break
6037 test -n "$YACC" || YACC="$MISSING bison
-y"
6039 case " $build_configdirs " in
6040 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6041 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6044 for ac_prog in bison
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6049 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6050 if test "${ac_cv_prog_BISON+set}" = set; then
6051 echo $ECHO_N "(cached
) $ECHO_C" >&6
6053 if test -n "$BISON"; then
6054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_BISON="$ac_prog"
6064 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6072 BISON=$ac_cv_prog_BISON
6073 if test -n "$BISON"; then
6074 echo "$as_me:$LINENO: result
: $BISON" >&5
6075 echo "${ECHO_T}$BISON" >&6
6077 echo "$as_me:$LINENO: result
: no
" >&5
6078 echo "${ECHO_T}no
" >&6
6081 test -n "$BISON" && break
6083 test -n "$BISON" || BISON="$MISSING bison
"
6085 case " $build_configdirs " in
6086 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6089 for ac_prog in gm4 gnum4 m4
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6094 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6095 if test "${ac_cv_prog_M4+set}" = set; then
6096 echo $ECHO_N "(cached
) $ECHO_C" >&6
6098 if test -n "$M4"; then
6099 ac_cv_prog_M4="$M4" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_M4="$ac_prog"
6109 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6118 if test -n "$M4"; then
6119 echo "$as_me:$LINENO: result
: $M4" >&5
6120 echo "${ECHO_T}$M4" >&6
6122 echo "$as_me:$LINENO: result
: no
" >&5
6123 echo "${ECHO_T}no
" >&6
6126 test -n "$M4" && break
6128 test -n "$M4" || M4="$MISSING m4"
6130 case " $build_configdirs " in
6131 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6134 for ac_prog in flex lex
6136 # Extract the first word of "$ac_prog", so it can be a program name with args.
6137 set dummy $ac_prog; ac_word=$2
6138 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6139 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6140 if test "${ac_cv_prog_LEX+set}" = set; then
6141 echo $ECHO_N "(cached
) $ECHO_C" >&6
6143 if test -n "$LEX"; then
6144 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_LEX="$ac_prog"
6154 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6163 if test -n "$LEX"; then
6164 echo "$as_me:$LINENO: result
: $LEX" >&5
6165 echo "${ECHO_T}$LEX" >&6
6167 echo "$as_me:$LINENO: result
: no
" >&5
6168 echo "${ECHO_T}no
" >&6
6171 test -n "$LEX" && break
6173 test -n "$LEX" || LEX="$MISSING flex
"
6175 case " $build_configdirs " in
6176 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6177 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6182 # Extract the first word of "$ac_prog", so it can be a program name with args.
6183 set dummy $ac_prog; ac_word=$2
6184 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6185 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6186 if test "${ac_cv_prog_FLEX+set}" = set; then
6187 echo $ECHO_N "(cached
) $ECHO_C" >&6
6189 if test -n "$FLEX"; then
6190 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_FLEX="$ac_prog"
6200 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6208 FLEX=$ac_cv_prog_FLEX
6209 if test -n "$FLEX"; then
6210 echo "$as_me:$LINENO: result
: $FLEX" >&5
6211 echo "${ECHO_T}$FLEX" >&6
6213 echo "$as_me:$LINENO: result
: no
" >&5
6214 echo "${ECHO_T}no
" >&6
6217 test -n "$FLEX" && break
6219 test -n "$FLEX" || FLEX="$MISSING flex
"
6221 case " $build_configdirs " in
6222 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6225 for ac_prog in makeinfo
6227 # Extract the first word of "$ac_prog", so it can be a program name with args.
6228 set dummy $ac_prog; ac_word=$2
6229 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6230 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6231 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6232 echo $ECHO_N "(cached
) $ECHO_C" >&6
6234 if test -n "$MAKEINFO"; then
6235 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_MAKEINFO="$ac_prog"
6245 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6253 MAKEINFO=$ac_cv_prog_MAKEINFO
6254 if test -n "$MAKEINFO"; then
6255 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6256 echo "${ECHO_T}$MAKEINFO" >&6
6258 echo "$as_me:$LINENO: result
: no
" >&5
6259 echo "${ECHO_T}no
" >&6
6262 test -n "$MAKEINFO" && break
6264 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6266 case " $build_configdirs " in
6267 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6270 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6271 # higher, else we use the "missing
" dummy.
6272 if ${MAKEINFO} --version \
6273 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6276 MAKEINFO="$MISSING makeinfo
"
6282 # FIXME: expect and dejagnu may become build tools?
6284 for ac_prog in expect
6286 # Extract the first word of "$ac_prog", so it can be a program name with args.
6287 set dummy $ac_prog; ac_word=$2
6288 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6289 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6290 if test "${ac_cv_prog_EXPECT+set}" = set; then
6291 echo $ECHO_N "(cached
) $ECHO_C" >&6
6293 if test -n "$EXPECT"; then
6294 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_EXPECT="$ac_prog"
6304 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 EXPECT=$ac_cv_prog_EXPECT
6313 if test -n "$EXPECT"; then
6314 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6315 echo "${ECHO_T}$EXPECT" >&6
6317 echo "$as_me:$LINENO: result
: no
" >&5
6318 echo "${ECHO_T}no
" >&6
6321 test -n "$EXPECT" && break
6323 test -n "$EXPECT" || EXPECT="expect
"
6325 case " $configdirs " in
6327 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6331 for ac_prog in runtest
6333 # Extract the first word of "$ac_prog", so it can be a program name with args.
6334 set dummy $ac_prog; ac_word=$2
6335 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6336 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6337 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6338 echo $ECHO_N "(cached
) $ECHO_C" >&6
6340 if test -n "$RUNTEST"; then
6341 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir=.
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350 ac_cv_prog_RUNTEST="$ac_prog"
6351 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6359 RUNTEST=$ac_cv_prog_RUNTEST
6360 if test -n "$RUNTEST"; then
6361 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6362 echo "${ECHO_T}$RUNTEST" >&6
6364 echo "$as_me:$LINENO: result
: no
" >&5
6365 echo "${ECHO_T}no
" >&6
6368 test -n "$RUNTEST" && break
6370 test -n "$RUNTEST" || RUNTEST="runtest
"
6372 case " $configdirs " in
6374 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6381 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6382 ncn_target_tool_prefix=
6383 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6387 if test -n "$AR"; then
6389 elif test -n "$ac_cv_prog_AR"; then
6393 if test -n "$ac_cv_prog_AR"; then
6394 for ncn_progname in ar; do
6395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6396 set dummy ${ncn_progname}; ac_word=$2
6397 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6398 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6399 if test "${ac_cv_prog_AR+set}" = set; then
6400 echo $ECHO_N "(cached
) $ECHO_C" >&6
6402 if test -n "$AR"; then
6403 ac_cv_prog_AR="$AR" # Let the user override the test.
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_AR="${ncn_progname}"
6413 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6422 if test -n "$AR"; then
6423 echo "$as_me:$LINENO: result
: $AR" >&5
6424 echo "${ECHO_T}$AR" >&6
6426 echo "$as_me:$LINENO: result
: no
" >&5
6427 echo "${ECHO_T}no
" >&6
6433 for ncn_progname in ar; do
6434 if test -n "$ncn_tool_prefix"; then
6435 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6436 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6473 set dummy ${ncn_progname}; ac_word=$2
6474 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6475 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6476 if test "${ac_cv_prog_AR+set}" = set; then
6477 echo $ECHO_N "(cached
) $ECHO_C" >&6
6479 if test -n "$AR"; then
6480 ac_cv_prog_AR="$AR" # Let the user override the test.
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_AR="${ncn_progname}"
6490 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6499 if test -n "$AR"; then
6500 echo "$as_me:$LINENO: result
: $AR" >&5
6501 echo "${ECHO_T}$AR" >&6
6503 echo "$as_me:$LINENO: result
: no
" >&5
6504 echo "${ECHO_T}no
" >&6
6508 test -n "$ac_cv_prog_AR" && break
6511 if test -z "$ac_cv_prog_AR" ; then
6513 if test $build = $host ; then
6516 AR="${ncn_tool_prefix}$2"
6522 if test -n "$AS"; then
6524 elif test -n "$ac_cv_prog_AS"; then
6528 if test -n "$ac_cv_prog_AS"; then
6529 for ncn_progname in as; do
6530 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6531 set dummy ${ncn_progname}; ac_word=$2
6532 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6533 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6534 if test "${ac_cv_prog_AS+set}" = set; then
6535 echo $ECHO_N "(cached
) $ECHO_C" >&6
6537 if test -n "$AS"; then
6538 ac_cv_prog_AS="$AS" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6547 ac_cv_prog_AS="${ncn_progname}"
6548 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6557 if test -n "$AS"; then
6558 echo "$as_me:$LINENO: result
: $AS" >&5
6559 echo "${ECHO_T}$AS" >&6
6561 echo "$as_me:$LINENO: result
: no
" >&5
6562 echo "${ECHO_T}no
" >&6
6568 for ncn_progname in as; do
6569 if test -n "$ncn_tool_prefix"; then
6570 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6571 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6608 set dummy ${ncn_progname}; ac_word=$2
6609 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6611 if test "${ac_cv_prog_AS+set}" = set; then
6612 echo $ECHO_N "(cached
) $ECHO_C" >&6
6614 if test -n "$AS"; then
6615 ac_cv_prog_AS="$AS" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_AS="${ncn_progname}"
6625 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6634 if test -n "$AS"; then
6635 echo "$as_me:$LINENO: result
: $AS" >&5
6636 echo "${ECHO_T}$AS" >&6
6638 echo "$as_me:$LINENO: result
: no
" >&5
6639 echo "${ECHO_T}no
" >&6
6643 test -n "$ac_cv_prog_AS" && break
6646 if test -z "$ac_cv_prog_AS" ; then
6648 if test $build = $host ; then
6651 AS="${ncn_tool_prefix}$2"
6657 if test -n "$DLLTOOL"; then
6658 ac_cv_prog_DLLTOOL=$DLLTOOL
6659 elif test -n "$ac_cv_prog_DLLTOOL"; then
6660 DLLTOOL=$ac_cv_prog_DLLTOOL
6663 if test -n "$ac_cv_prog_DLLTOOL"; then
6664 for ncn_progname in dlltool; do
6665 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6666 set dummy ${ncn_progname}; ac_word=$2
6667 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6668 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6669 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6670 echo $ECHO_N "(cached
) $ECHO_C" >&6
6672 if test -n "$DLLTOOL"; then
6673 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir=.
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_DLLTOOL="${ncn_progname}"
6683 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6691 DLLTOOL=$ac_cv_prog_DLLTOOL
6692 if test -n "$DLLTOOL"; then
6693 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6694 echo "${ECHO_T}$DLLTOOL" >&6
6696 echo "$as_me:$LINENO: result
: no
" >&5
6697 echo "${ECHO_T}no
" >&6
6703 for ncn_progname in dlltool; do
6704 if test -n "$ncn_tool_prefix"; then
6705 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6706 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6743 set dummy ${ncn_progname}; ac_word=$2
6744 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6745 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6746 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6747 echo $ECHO_N "(cached
) $ECHO_C" >&6
6749 if test -n "$DLLTOOL"; then
6750 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_DLLTOOL="${ncn_progname}"
6760 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6768 DLLTOOL=$ac_cv_prog_DLLTOOL
6769 if test -n "$DLLTOOL"; then
6770 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6771 echo "${ECHO_T}$DLLTOOL" >&6
6773 echo "$as_me:$LINENO: result
: no
" >&5
6774 echo "${ECHO_T}no
" >&6
6778 test -n "$ac_cv_prog_DLLTOOL" && break
6781 if test -z "$ac_cv_prog_DLLTOOL" ; then
6783 if test $build = $host ; then
6786 DLLTOOL="${ncn_tool_prefix}$2"
6792 if test -n "$LD"; then
6794 elif test -n "$ac_cv_prog_LD"; then
6798 if test -n "$ac_cv_prog_LD"; then
6799 for ncn_progname in ld; do
6800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6801 set dummy ${ncn_progname}; ac_word=$2
6802 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6803 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6804 if test "${ac_cv_prog_LD+set}" = set; then
6805 echo $ECHO_N "(cached
) $ECHO_C" >&6
6807 if test -n "$LD"; then
6808 ac_cv_prog_LD="$LD" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_LD="${ncn_progname}"
6818 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 if test -n "$LD"; then
6828 echo "$as_me:$LINENO: result
: $LD" >&5
6829 echo "${ECHO_T}$LD" >&6
6831 echo "$as_me:$LINENO: result
: no
" >&5
6832 echo "${ECHO_T}no
" >&6
6838 for ncn_progname in ld; do
6839 if test -n "$ncn_tool_prefix"; then
6840 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6841 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6878 set dummy ${ncn_progname}; ac_word=$2
6879 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6880 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6881 if test "${ac_cv_prog_LD+set}" = set; then
6882 echo $ECHO_N "(cached
) $ECHO_C" >&6
6884 if test -n "$LD"; then
6885 ac_cv_prog_LD="$LD" # Let the user override the test.
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir=.
6892 for ac_exec_ext in '' $ac_executable_extensions; do
6893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894 ac_cv_prog_LD="${ncn_progname}"
6895 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6904 if test -n "$LD"; then
6905 echo "$as_me:$LINENO: result
: $LD" >&5
6906 echo "${ECHO_T}$LD" >&6
6908 echo "$as_me:$LINENO: result
: no
" >&5
6909 echo "${ECHO_T}no
" >&6
6913 test -n "$ac_cv_prog_LD" && break
6916 if test -z "$ac_cv_prog_LD" ; then
6918 if test $build = $host ; then
6921 LD="${ncn_tool_prefix}$2"
6927 if test -n "$LIPO"; then
6928 ac_cv_prog_LIPO=$LIPO
6929 elif test -n "$ac_cv_prog_LIPO"; then
6930 LIPO=$ac_cv_prog_LIPO
6933 if test -n "$ac_cv_prog_LIPO"; then
6934 for ncn_progname in lipo; do
6935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6936 set dummy ${ncn_progname}; ac_word=$2
6937 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6938 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6939 if test "${ac_cv_prog_LIPO+set}" = set; then
6940 echo $ECHO_N "(cached
) $ECHO_C" >&6
6942 if test -n "$LIPO"; then
6943 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_prog_LIPO="${ncn_progname}"
6953 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6961 LIPO=$ac_cv_prog_LIPO
6962 if test -n "$LIPO"; then
6963 echo "$as_me:$LINENO: result
: $LIPO" >&5
6964 echo "${ECHO_T}$LIPO" >&6
6966 echo "$as_me:$LINENO: result
: no
" >&5
6967 echo "${ECHO_T}no
" >&6
6973 for ncn_progname in lipo; do
6974 if test -n "$ncn_tool_prefix"; then
6975 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6976 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7013 set dummy ${ncn_progname}; ac_word=$2
7014 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7015 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7016 if test "${ac_cv_prog_LIPO+set}" = set; then
7017 echo $ECHO_N "(cached
) $ECHO_C" >&6
7019 if test -n "$LIPO"; then
7020 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_LIPO="${ncn_progname}"
7030 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7038 LIPO=$ac_cv_prog_LIPO
7039 if test -n "$LIPO"; then
7040 echo "$as_me:$LINENO: result
: $LIPO" >&5
7041 echo "${ECHO_T}$LIPO" >&6
7043 echo "$as_me:$LINENO: result
: no
" >&5
7044 echo "${ECHO_T}no
" >&6
7048 test -n "$ac_cv_prog_LIPO" && break
7051 if test -z "$ac_cv_prog_LIPO" ; then
7053 if test $build = $host ; then
7056 LIPO="${ncn_tool_prefix}$2"
7062 if test -n "$NM"; then
7064 elif test -n "$ac_cv_prog_NM"; then
7068 if test -n "$ac_cv_prog_NM"; then
7069 for ncn_progname in nm; do
7070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7071 set dummy ${ncn_progname}; ac_word=$2
7072 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7073 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7074 if test "${ac_cv_prog_NM+set}" = set; then
7075 echo $ECHO_N "(cached
) $ECHO_C" >&6
7077 if test -n "$NM"; then
7078 ac_cv_prog_NM="$NM" # Let the user override the test.
7080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 test -z "$as_dir" && as_dir=.
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7087 ac_cv_prog_NM="${ncn_progname}"
7088 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7097 if test -n "$NM"; then
7098 echo "$as_me:$LINENO: result
: $NM" >&5
7099 echo "${ECHO_T}$NM" >&6
7101 echo "$as_me:$LINENO: result
: no
" >&5
7102 echo "${ECHO_T}no
" >&6
7108 for ncn_progname in nm; do
7109 if test -n "$ncn_tool_prefix"; then
7110 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7111 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7148 set dummy ${ncn_progname}; ac_word=$2
7149 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7150 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7151 if test "${ac_cv_prog_NM+set}" = set; then
7152 echo $ECHO_N "(cached
) $ECHO_C" >&6
7154 if test -n "$NM"; then
7155 ac_cv_prog_NM="$NM" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_NM="${ncn_progname}"
7165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7174 if test -n "$NM"; then
7175 echo "$as_me:$LINENO: result
: $NM" >&5
7176 echo "${ECHO_T}$NM" >&6
7178 echo "$as_me:$LINENO: result
: no
" >&5
7179 echo "${ECHO_T}no
" >&6
7183 test -n "$ac_cv_prog_NM" && break
7186 if test -z "$ac_cv_prog_NM" ; then
7188 if test $build = $host ; then
7191 NM="${ncn_tool_prefix}$2"
7197 if test -n "$RANLIB"; then
7198 ac_cv_prog_RANLIB=$RANLIB
7199 elif test -n "$ac_cv_prog_RANLIB"; then
7200 RANLIB=$ac_cv_prog_RANLIB
7203 if test -n "$ac_cv_prog_RANLIB"; then
7204 for ncn_progname in ranlib; do
7205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7206 set dummy ${ncn_progname}; ac_word=$2
7207 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7208 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7209 if test "${ac_cv_prog_RANLIB+set}" = set; then
7210 echo $ECHO_N "(cached
) $ECHO_C" >&6
7212 if test -n "$RANLIB"; then
7213 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 ac_cv_prog_RANLIB="${ncn_progname}"
7223 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7231 RANLIB=$ac_cv_prog_RANLIB
7232 if test -n "$RANLIB"; then
7233 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7234 echo "${ECHO_T}$RANLIB" >&6
7236 echo "$as_me:$LINENO: result
: no
" >&5
7237 echo "${ECHO_T}no
" >&6
7243 for ncn_progname in ranlib; do
7244 if test -n "$ncn_tool_prefix"; then
7245 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7246 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7282 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7283 set dummy ${ncn_progname}; ac_word=$2
7284 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7285 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7286 if test "${ac_cv_prog_RANLIB+set}" = set; then
7287 echo $ECHO_N "(cached
) $ECHO_C" >&6
7289 if test -n "$RANLIB"; then
7290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_RANLIB="${ncn_progname}"
7300 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7308 RANLIB=$ac_cv_prog_RANLIB
7309 if test -n "$RANLIB"; then
7310 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7311 echo "${ECHO_T}$RANLIB" >&6
7313 echo "$as_me:$LINENO: result
: no
" >&5
7314 echo "${ECHO_T}no
" >&6
7318 test -n "$ac_cv_prog_RANLIB" && break
7321 if test -z "$ac_cv_prog_RANLIB" ; then
7327 if test -n "$STRIP"; then
7328 ac_cv_prog_STRIP=$STRIP
7329 elif test -n "$ac_cv_prog_STRIP"; then
7330 STRIP=$ac_cv_prog_STRIP
7333 if test -n "$ac_cv_prog_STRIP"; then
7334 for ncn_progname in strip; do
7335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7336 set dummy ${ncn_progname}; ac_word=$2
7337 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7339 if test "${ac_cv_prog_STRIP+set}" = set; then
7340 echo $ECHO_N "(cached
) $ECHO_C" >&6
7342 if test -n "$STRIP"; then
7343 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7352 ac_cv_prog_STRIP="${ncn_progname}"
7353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7361 STRIP=$ac_cv_prog_STRIP
7362 if test -n "$STRIP"; then
7363 echo "$as_me:$LINENO: result
: $STRIP" >&5
7364 echo "${ECHO_T}$STRIP" >&6
7366 echo "$as_me:$LINENO: result
: no
" >&5
7367 echo "${ECHO_T}no
" >&6
7373 for ncn_progname in strip; do
7374 if test -n "$ncn_tool_prefix"; then
7375 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7376 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7413 set dummy ${ncn_progname}; ac_word=$2
7414 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7415 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7416 if test "${ac_cv_prog_STRIP+set}" = set; then
7417 echo $ECHO_N "(cached
) $ECHO_C" >&6
7419 if test -n "$STRIP"; then
7420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_STRIP="${ncn_progname}"
7430 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7438 STRIP=$ac_cv_prog_STRIP
7439 if test -n "$STRIP"; then
7440 echo "$as_me:$LINENO: result
: $STRIP" >&5
7441 echo "${ECHO_T}$STRIP" >&6
7443 echo "$as_me:$LINENO: result
: no
" >&5
7444 echo "${ECHO_T}no
" >&6
7448 test -n "$ac_cv_prog_STRIP" && break
7451 if test -z "$ac_cv_prog_STRIP" ; then
7457 if test -n "$WINDRES"; then
7458 ac_cv_prog_WINDRES=$WINDRES
7459 elif test -n "$ac_cv_prog_WINDRES"; then
7460 WINDRES=$ac_cv_prog_WINDRES
7463 if test -n "$ac_cv_prog_WINDRES"; then
7464 for ncn_progname in windres; do
7465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7466 set dummy ${ncn_progname}; ac_word=$2
7467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7469 if test "${ac_cv_prog_WINDRES+set}" = set; then
7470 echo $ECHO_N "(cached
) $ECHO_C" >&6
7472 if test -n "$WINDRES"; then
7473 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_WINDRES="${ncn_progname}"
7483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7491 WINDRES=$ac_cv_prog_WINDRES
7492 if test -n "$WINDRES"; then
7493 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7494 echo "${ECHO_T}$WINDRES" >&6
7496 echo "$as_me:$LINENO: result
: no
" >&5
7497 echo "${ECHO_T}no
" >&6
7503 for ncn_progname in windres; do
7504 if test -n "$ncn_tool_prefix"; then
7505 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7506 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7543 set dummy ${ncn_progname}; ac_word=$2
7544 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7545 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7546 if test "${ac_cv_prog_WINDRES+set}" = set; then
7547 echo $ECHO_N "(cached
) $ECHO_C" >&6
7549 if test -n "$WINDRES"; then
7550 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 test -z "$as_dir" && as_dir=.
7557 for ac_exec_ext in '' $ac_executable_extensions; do
7558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559 ac_cv_prog_WINDRES="${ncn_progname}"
7560 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7568 WINDRES=$ac_cv_prog_WINDRES
7569 if test -n "$WINDRES"; then
7570 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7571 echo "${ECHO_T}$WINDRES" >&6
7573 echo "$as_me:$LINENO: result
: no
" >&5
7574 echo "${ECHO_T}no
" >&6
7578 test -n "$ac_cv_prog_WINDRES" && break
7581 if test -z "$ac_cv_prog_WINDRES" ; then
7583 if test $build = $host ; then
7586 WINDRES="${ncn_tool_prefix}$2"
7592 if test -n "$WINDMC"; then
7593 ac_cv_prog_WINDMC=$WINDMC
7594 elif test -n "$ac_cv_prog_WINDMC"; then
7595 WINDMC=$ac_cv_prog_WINDMC
7598 if test -n "$ac_cv_prog_WINDMC"; then
7599 for ncn_progname in windmc; do
7600 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7601 set dummy ${ncn_progname}; ac_word=$2
7602 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7603 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7604 if test "${ac_cv_prog_WINDMC+set}" = set; then
7605 echo $ECHO_N "(cached
) $ECHO_C" >&6
7607 if test -n "$WINDMC"; then
7608 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_WINDMC="${ncn_progname}"
7618 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7626 WINDMC=$ac_cv_prog_WINDMC
7627 if test -n "$WINDMC"; then
7628 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7629 echo "${ECHO_T}$WINDMC" >&6
7631 echo "$as_me:$LINENO: result
: no
" >&5
7632 echo "${ECHO_T}no
" >&6
7638 for ncn_progname in windmc; do
7639 if test -n "$ncn_tool_prefix"; then
7640 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7641 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7678 set dummy ${ncn_progname}; ac_word=$2
7679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7681 if test "${ac_cv_prog_WINDMC+set}" = set; then
7682 echo $ECHO_N "(cached
) $ECHO_C" >&6
7684 if test -n "$WINDMC"; then
7685 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694 ac_cv_prog_WINDMC="${ncn_progname}"
7695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7703 WINDMC=$ac_cv_prog_WINDMC
7704 if test -n "$WINDMC"; then
7705 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7706 echo "${ECHO_T}$WINDMC" >&6
7708 echo "$as_me:$LINENO: result
: no
" >&5
7709 echo "${ECHO_T}no
" >&6
7713 test -n "$ac_cv_prog_WINDMC" && break
7716 if test -z "$ac_cv_prog_WINDMC" ; then
7718 if test $build = $host ; then
7721 WINDMC="${ncn_tool_prefix}$2"
7727 if test -n "$OBJCOPY"; then
7728 ac_cv_prog_OBJCOPY=$OBJCOPY
7729 elif test -n "$ac_cv_prog_OBJCOPY"; then
7730 OBJCOPY=$ac_cv_prog_OBJCOPY
7733 if test -n "$ac_cv_prog_OBJCOPY"; then
7734 for ncn_progname in objcopy; do
7735 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7736 set dummy ${ncn_progname}; ac_word=$2
7737 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7738 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7739 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7740 echo $ECHO_N "(cached
) $ECHO_C" >&6
7742 if test -n "$OBJCOPY"; then
7743 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7752 ac_cv_prog_OBJCOPY="${ncn_progname}"
7753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7761 OBJCOPY=$ac_cv_prog_OBJCOPY
7762 if test -n "$OBJCOPY"; then
7763 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7764 echo "${ECHO_T}$OBJCOPY" >&6
7766 echo "$as_me:$LINENO: result
: no
" >&5
7767 echo "${ECHO_T}no
" >&6
7773 for ncn_progname in objcopy; do
7774 if test -n "$ncn_tool_prefix"; then
7775 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7776 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7812 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7813 set dummy ${ncn_progname}; ac_word=$2
7814 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7815 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7816 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7817 echo $ECHO_N "(cached
) $ECHO_C" >&6
7819 if test -n "$OBJCOPY"; then
7820 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_OBJCOPY="${ncn_progname}"
7830 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 OBJCOPY=$ac_cv_prog_OBJCOPY
7839 if test -n "$OBJCOPY"; then
7840 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7841 echo "${ECHO_T}$OBJCOPY" >&6
7843 echo "$as_me:$LINENO: result
: no
" >&5
7844 echo "${ECHO_T}no
" >&6
7848 test -n "$ac_cv_prog_OBJCOPY" && break
7851 if test -z "$ac_cv_prog_OBJCOPY" ; then
7853 if test $build = $host ; then
7856 OBJCOPY="${ncn_tool_prefix}$2"
7862 if test -n "$OBJDUMP"; then
7863 ac_cv_prog_OBJDUMP=$OBJDUMP
7864 elif test -n "$ac_cv_prog_OBJDUMP"; then
7865 OBJDUMP=$ac_cv_prog_OBJDUMP
7868 if test -n "$ac_cv_prog_OBJDUMP"; then
7869 for ncn_progname in objdump; do
7870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7871 set dummy ${ncn_progname}; ac_word=$2
7872 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7873 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7874 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7875 echo $ECHO_N "(cached
) $ECHO_C" >&6
7877 if test -n "$OBJDUMP"; then
7878 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_prog_OBJDUMP="${ncn_progname}"
7888 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7896 OBJDUMP=$ac_cv_prog_OBJDUMP
7897 if test -n "$OBJDUMP"; then
7898 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7899 echo "${ECHO_T}$OBJDUMP" >&6
7901 echo "$as_me:$LINENO: result
: no
" >&5
7902 echo "${ECHO_T}no
" >&6
7908 for ncn_progname in objdump; do
7909 if test -n "$ncn_tool_prefix"; then
7910 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7911 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7948 set dummy ${ncn_progname}; ac_word=$2
7949 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7950 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7951 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7952 echo $ECHO_N "(cached
) $ECHO_C" >&6
7954 if test -n "$OBJDUMP"; then
7955 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_OBJDUMP="${ncn_progname}"
7965 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7973 OBJDUMP=$ac_cv_prog_OBJDUMP
7974 if test -n "$OBJDUMP"; then
7975 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7976 echo "${ECHO_T}$OBJDUMP" >&6
7978 echo "$as_me:$LINENO: result
: no
" >&5
7979 echo "${ECHO_T}no
" >&6
7983 test -n "$ac_cv_prog_OBJDUMP" && break
7986 if test -z "$ac_cv_prog_OBJDUMP" ; then
7988 if test $build = $host ; then
7991 OBJDUMP="${ncn_tool_prefix}$2"
8002 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8003 if test "${with_build_time_tools+set}" = set; then
8004 withval="$with_build_time_tools"
8008 with_build_time_tools=
8009 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8010 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8014 with_build_time_tools=
8019 if test -n "$CC_FOR_TARGET"; then
8020 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8021 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8022 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8025 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8026 for ncn_progname in cc gcc; do
8027 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8028 set dummy ${ncn_progname}; ac_word=$2
8029 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8030 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8031 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8032 echo $ECHO_N "(cached
) $ECHO_C" >&6
8034 if test -n "$CC_FOR_TARGET"; then
8035 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8045 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8053 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8054 if test -n "$CC_FOR_TARGET"; then
8055 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8056 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8058 echo "$as_me:$LINENO: result
: no
" >&5
8059 echo "${ECHO_T}no
" >&6
8065 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8066 for ncn_progname in cc gcc; do
8067 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8068 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8069 if test -x $with_build_time_tools/${ncn_progname}; then
8070 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8071 echo "$as_me:$LINENO: result
: yes" >&5
8072 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result
: no
" >&5
8076 echo "${ECHO_T}no
" >&6
8081 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8082 for ncn_progname in cc gcc; do
8083 if test -n "$ncn_target_tool_prefix"; then
8084 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8085 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8122 set dummy ${ncn_progname}; ac_word=$2
8123 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8124 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8125 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8126 echo $ECHO_N "(cached
) $ECHO_C" >&6
8128 if test -n "$CC_FOR_TARGET"; then
8129 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8139 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8147 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8148 if test -n "$CC_FOR_TARGET"; then
8149 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8150 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8152 echo "$as_me:$LINENO: result
: no
" >&5
8153 echo "${ECHO_T}no
" >&6
8157 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8161 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8163 if test $build = $target ; then
8166 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8169 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8174 if test -n "$CXX_FOR_TARGET"; then
8175 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8176 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8177 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8180 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8181 for ncn_progname in c++ g++ cxx gxx; do
8182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8183 set dummy ${ncn_progname}; ac_word=$2
8184 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8185 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8186 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8187 echo $ECHO_N "(cached
) $ECHO_C" >&6
8189 if test -n "$CXX_FOR_TARGET"; then
8190 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 test -z "$as_dir" && as_dir=.
8197 for ac_exec_ext in '' $ac_executable_extensions; do
8198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8200 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8208 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8209 if test -n "$CXX_FOR_TARGET"; then
8210 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8211 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8213 echo "$as_me:$LINENO: result
: no
" >&5
8214 echo "${ECHO_T}no
" >&6
8220 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8221 for ncn_progname in c++ g++ cxx gxx; do
8222 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8223 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8224 if test -x $with_build_time_tools/${ncn_progname}; then
8225 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8226 echo "$as_me:$LINENO: result
: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result
: no
" >&5
8231 echo "${ECHO_T}no
" >&6
8236 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8237 for ncn_progname in c++ g++ cxx gxx; do
8238 if test -n "$ncn_target_tool_prefix"; then
8239 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8240 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8277 set dummy ${ncn_progname}; ac_word=$2
8278 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8279 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8280 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8281 echo $ECHO_N "(cached
) $ECHO_C" >&6
8283 if test -n "$CXX_FOR_TARGET"; then
8284 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8294 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8302 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8303 if test -n "$CXX_FOR_TARGET"; then
8304 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8305 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8307 echo "$as_me:$LINENO: result
: no
" >&5
8308 echo "${ECHO_T}no
" >&6
8312 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8316 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8317 set dummy c++ g++ cxx gxx
8318 if test $build = $target ; then
8321 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8324 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8329 if test -n "$GCC_FOR_TARGET"; then
8330 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8331 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8332 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8335 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8336 for ncn_progname in gcc; do
8337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8338 set dummy ${ncn_progname}; ac_word=$2
8339 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8341 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8342 echo $ECHO_N "(cached
) $ECHO_C" >&6
8344 if test -n "$GCC_FOR_TARGET"; then
8345 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8354 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8364 if test -n "$GCC_FOR_TARGET"; then
8365 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8366 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8368 echo "$as_me:$LINENO: result
: no
" >&5
8369 echo "${ECHO_T}no
" >&6
8375 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8376 for ncn_progname in gcc; do
8377 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8378 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8379 if test -x $with_build_time_tools/${ncn_progname}; then
8380 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8381 echo "$as_me:$LINENO: result
: yes" >&5
8382 echo "${ECHO_T}yes" >&6
8385 echo "$as_me:$LINENO: result
: no
" >&5
8386 echo "${ECHO_T}no
" >&6
8391 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8392 for ncn_progname in gcc; do
8393 if test -n "$ncn_target_tool_prefix"; then
8394 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8395 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8396 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8397 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8398 if test "${ac_cv_prog_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_target_tool_prefix}${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 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8432 set dummy ${ncn_progname}; ac_word=$2
8433 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8435 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8436 echo $ECHO_N "(cached
) $ECHO_C" >&6
8438 if test -n "$GCC_FOR_TARGET"; then
8439 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir=.
8446 for ac_exec_ext in '' $ac_executable_extensions; do
8447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8448 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8457 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8458 if test -n "$GCC_FOR_TARGET"; then
8459 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8460 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8462 echo "$as_me:$LINENO: result
: no
" >&5
8463 echo "${ECHO_T}no
" >&6
8467 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8471 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8472 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8474 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8479 if test -n "$GCJ_FOR_TARGET"; then
8480 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8481 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8482 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8485 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8486 for ncn_progname in gcj; do
8487 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8488 set dummy ${ncn_progname}; ac_word=$2
8489 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8490 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8491 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8492 echo $ECHO_N "(cached
) $ECHO_C" >&6
8494 if test -n "$GCJ_FOR_TARGET"; then
8495 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir=.
8502 for ac_exec_ext in '' $ac_executable_extensions; do
8503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8505 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8513 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8514 if test -n "$GCJ_FOR_TARGET"; then
8515 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8516 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8518 echo "$as_me:$LINENO: result
: no
" >&5
8519 echo "${ECHO_T}no
" >&6
8525 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8526 for ncn_progname in gcj; do
8527 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8528 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8529 if test -x $with_build_time_tools/${ncn_progname}; then
8530 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8531 echo "$as_me:$LINENO: result
: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8535 echo "$as_me:$LINENO: result
: no
" >&5
8536 echo "${ECHO_T}no
" >&6
8541 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8542 for ncn_progname in gcj; do
8543 if test -n "$ncn_target_tool_prefix"; then
8544 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8545 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8582 set dummy ${ncn_progname}; ac_word=$2
8583 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8584 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8585 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8586 echo $ECHO_N "(cached
) $ECHO_C" >&6
8588 if test -n "$GCJ_FOR_TARGET"; then
8589 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8598 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8599 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8607 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8608 if test -n "$GCJ_FOR_TARGET"; then
8609 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8610 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8612 echo "$as_me:$LINENO: result
: no
" >&5
8613 echo "${ECHO_T}no
" >&6
8617 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8621 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8623 if test $build = $target ; then
8626 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8629 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8634 if test -n "$GFORTRAN_FOR_TARGET"; then
8635 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8636 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8637 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8640 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8641 for ncn_progname in gfortran; do
8642 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8643 set dummy ${ncn_progname}; ac_word=$2
8644 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8645 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8646 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8647 echo $ECHO_N "(cached
) $ECHO_C" >&6
8649 if test -n "$GFORTRAN_FOR_TARGET"; then
8650 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8656 test -z "$as_dir" && as_dir=.
8657 for ac_exec_ext in '' $ac_executable_extensions; do
8658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8659 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8660 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8668 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8669 if test -n "$GFORTRAN_FOR_TARGET"; then
8670 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8671 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8673 echo "$as_me:$LINENO: result
: no
" >&5
8674 echo "${ECHO_T}no
" >&6
8680 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8681 for ncn_progname in gfortran; do
8682 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8683 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8684 if test -x $with_build_time_tools/${ncn_progname}; then
8685 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8686 echo "$as_me:$LINENO: result
: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result
: no
" >&5
8691 echo "${ECHO_T}no
" >&6
8696 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8697 for ncn_progname in gfortran; do
8698 if test -n "$ncn_target_tool_prefix"; then
8699 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8700 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8737 set dummy ${ncn_progname}; ac_word=$2
8738 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8739 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8740 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8741 echo $ECHO_N "(cached
) $ECHO_C" >&6
8743 if test -n "$GFORTRAN_FOR_TARGET"; then
8744 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8762 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8763 if test -n "$GFORTRAN_FOR_TARGET"; then
8764 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8765 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8767 echo "$as_me:$LINENO: result
: no
" >&5
8768 echo "${ECHO_T}no
" >&6
8772 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8776 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8778 if test $build = $target ; then
8779 GFORTRAN_FOR_TARGET="$2"
8781 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8784 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8789 cat > conftest.c << \EOF
8794 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8795 have_gcc_for_target=yes
8797 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8798 have_gcc_for_target=no
8805 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8806 if test -n "$with_build_time_tools"; then
8807 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8808 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8809 if test -x $with_build_time_tools/ar; then
8810 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8811 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8812 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8813 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8815 echo "$as_me:$LINENO: result
: no
" >&5
8816 echo "${ECHO_T}no
" >&6
8818 elif test $build != $host && test $have_gcc_for_target = yes; then
8819 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8820 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8821 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8824 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8825 # Extract the first word of "ar", so it can be a program name with args.
8826 set dummy ar; ac_word=$2
8827 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8828 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8829 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8830 echo $ECHO_N "(cached
) $ECHO_C" >&6
8832 case $AR_FOR_TARGET in
8834 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 for as_dir in $gcc_cv_tool_dirs
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8845 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8854 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8856 if test -n "$AR_FOR_TARGET"; then
8857 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8858 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8860 echo "$as_me:$LINENO: result
: no
" >&5
8861 echo "${ECHO_T}no
" >&6
8865 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8868 if test -n "$AR_FOR_TARGET"; then
8869 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8870 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8871 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8874 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8875 for ncn_progname in ar; do
8876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8877 set dummy ${ncn_progname}; ac_word=$2
8878 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8879 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8880 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8881 echo $ECHO_N "(cached
) $ECHO_C" >&6
8883 if test -n "$AR_FOR_TARGET"; then
8884 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 test -z "$as_dir" && as_dir=.
8891 for ac_exec_ext in '' $ac_executable_extensions; do
8892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8893 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8894 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8902 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8903 if test -n "$AR_FOR_TARGET"; then
8904 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8905 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8907 echo "$as_me:$LINENO: result
: no
" >&5
8908 echo "${ECHO_T}no
" >&6
8914 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8915 for ncn_progname in ar; do
8916 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8917 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8918 if test -x $with_build_time_tools/${ncn_progname}; then
8919 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8920 echo "$as_me:$LINENO: result
: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8924 echo "$as_me:$LINENO: result
: no
" >&5
8925 echo "${ECHO_T}no
" >&6
8930 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8931 for ncn_progname in ar; do
8932 if test -n "$ncn_target_tool_prefix"; then
8933 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8934 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8971 set dummy ${ncn_progname}; ac_word=$2
8972 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8973 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8974 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8975 echo $ECHO_N "(cached
) $ECHO_C" >&6
8977 if test -n "$AR_FOR_TARGET"; then
8978 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8987 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8988 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8996 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8997 if test -n "$AR_FOR_TARGET"; then
8998 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8999 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9001 echo "$as_me:$LINENO: result
: no
" >&5
9002 echo "${ECHO_T}no
" >&6
9006 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9010 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9012 if test $build = $target ; then
9015 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9018 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9022 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9028 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9029 if test -n "$with_build_time_tools"; then
9030 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9031 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9032 if test -x $with_build_time_tools/as; then
9033 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9034 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9035 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9036 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9038 echo "$as_me:$LINENO: result
: no
" >&5
9039 echo "${ECHO_T}no
" >&6
9041 elif test $build != $host && test $have_gcc_for_target = yes; then
9042 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9043 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9044 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9047 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9048 # Extract the first word of "as
", so it can be a program name with args.
9049 set dummy as; ac_word=$2
9050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9052 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9053 echo $ECHO_N "(cached
) $ECHO_C" >&6
9055 case $AS_FOR_TARGET in
9057 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9061 for as_dir in $gcc_cv_tool_dirs
9064 test -z "$as_dir" && as_dir=.
9065 for ac_exec_ext in '' $ac_executable_extensions; do
9066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9067 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9068 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9077 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9079 if test -n "$AS_FOR_TARGET"; then
9080 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9081 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9083 echo "$as_me:$LINENO: result
: no
" >&5
9084 echo "${ECHO_T}no
" >&6
9088 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9091 if test -n "$AS_FOR_TARGET"; then
9092 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9093 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9094 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9097 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9098 for ncn_progname in as; do
9099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9100 set dummy ${ncn_progname}; ac_word=$2
9101 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9102 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9103 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9104 echo $ECHO_N "(cached
) $ECHO_C" >&6
9106 if test -n "$AS_FOR_TARGET"; then
9107 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9116 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9117 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9125 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9126 if test -n "$AS_FOR_TARGET"; then
9127 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9128 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9130 echo "$as_me:$LINENO: result
: no
" >&5
9131 echo "${ECHO_T}no
" >&6
9137 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9138 for ncn_progname in as; do
9139 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9140 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9141 if test -x $with_build_time_tools/${ncn_progname}; then
9142 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9143 echo "$as_me:$LINENO: result
: yes" >&5
9144 echo "${ECHO_T}yes" >&6
9147 echo "$as_me:$LINENO: result
: no
" >&5
9148 echo "${ECHO_T}no
" >&6
9153 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9154 for ncn_progname in as; do
9155 if test -n "$ncn_target_tool_prefix"; then
9156 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9157 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9194 set dummy ${ncn_progname}; ac_word=$2
9195 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9196 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9197 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9198 echo $ECHO_N "(cached
) $ECHO_C" >&6
9200 if test -n "$AS_FOR_TARGET"; then
9201 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 test -z "$as_dir" && as_dir=.
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9210 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9211 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9219 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9220 if test -n "$AS_FOR_TARGET"; then
9221 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9222 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9224 echo "$as_me:$LINENO: result
: no
" >&5
9225 echo "${ECHO_T}no
" >&6
9229 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9233 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9235 if test $build = $target ; then
9238 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9241 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9245 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9251 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9252 if test -n "$with_build_time_tools"; then
9253 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9254 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9255 if test -x $with_build_time_tools/dlltool; then
9256 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9257 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9258 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9259 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9261 echo "$as_me:$LINENO: result
: no
" >&5
9262 echo "${ECHO_T}no
" >&6
9264 elif test $build != $host && test $have_gcc_for_target = yes; then
9265 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9266 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9267 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9270 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9271 # Extract the first word of "dlltool
", so it can be a program name with args.
9272 set dummy dlltool; ac_word=$2
9273 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9274 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9275 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9276 echo $ECHO_N "(cached
) $ECHO_C" >&6
9278 case $DLLTOOL_FOR_TARGET in
9280 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9284 for as_dir in $gcc_cv_tool_dirs
9287 test -z "$as_dir" && as_dir=.
9288 for ac_exec_ext in '' $ac_executable_extensions; do
9289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9290 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9291 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9300 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9302 if test -n "$DLLTOOL_FOR_TARGET"; then
9303 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9304 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9306 echo "$as_me:$LINENO: result
: no
" >&5
9307 echo "${ECHO_T}no
" >&6
9311 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9314 if test -n "$DLLTOOL_FOR_TARGET"; then
9315 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9316 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9317 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9320 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9321 for ncn_progname in dlltool; do
9322 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9323 set dummy ${ncn_progname}; ac_word=$2
9324 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9325 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9326 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9327 echo $ECHO_N "(cached
) $ECHO_C" >&6
9329 if test -n "$DLLTOOL_FOR_TARGET"; then
9330 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 test -z "$as_dir" && as_dir=.
9337 for ac_exec_ext in '' $ac_executable_extensions; do
9338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9339 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9340 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9348 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9349 if test -n "$DLLTOOL_FOR_TARGET"; then
9350 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9351 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9353 echo "$as_me:$LINENO: result
: no
" >&5
9354 echo "${ECHO_T}no
" >&6
9360 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9361 for ncn_progname in dlltool; do
9362 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9363 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9364 if test -x $with_build_time_tools/${ncn_progname}; then
9365 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9366 echo "$as_me:$LINENO: result
: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result
: no
" >&5
9371 echo "${ECHO_T}no
" >&6
9376 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9377 for ncn_progname in dlltool; do
9378 if test -n "$ncn_target_tool_prefix"; then
9379 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9380 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9417 set dummy ${ncn_progname}; ac_word=$2
9418 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9419 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9420 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9421 echo $ECHO_N "(cached
) $ECHO_C" >&6
9423 if test -n "$DLLTOOL_FOR_TARGET"; then
9424 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir=.
9431 for ac_exec_ext in '' $ac_executable_extensions; do
9432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9433 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9434 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9442 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9443 if test -n "$DLLTOOL_FOR_TARGET"; then
9444 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9445 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9447 echo "$as_me:$LINENO: result
: no
" >&5
9448 echo "${ECHO_T}no
" >&6
9452 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9456 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9458 if test $build = $target ; then
9459 DLLTOOL_FOR_TARGET="$2"
9461 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9464 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9468 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9474 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9475 if test -n "$with_build_time_tools"; then
9476 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9477 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9478 if test -x $with_build_time_tools/ld; then
9479 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9480 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9481 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9482 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9484 echo "$as_me:$LINENO: result
: no
" >&5
9485 echo "${ECHO_T}no
" >&6
9487 elif test $build != $host && test $have_gcc_for_target = yes; then
9488 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9489 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9490 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9493 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9494 # Extract the first word of "ld
", so it can be a program name with args.
9495 set dummy ld; ac_word=$2
9496 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9497 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9498 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9499 echo $ECHO_N "(cached
) $ECHO_C" >&6
9501 case $LD_FOR_TARGET in
9503 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9507 for as_dir in $gcc_cv_tool_dirs
9510 test -z "$as_dir" && as_dir=.
9511 for ac_exec_ext in '' $ac_executable_extensions; do
9512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9513 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9514 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9523 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9525 if test -n "$LD_FOR_TARGET"; then
9526 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9527 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9529 echo "$as_me:$LINENO: result
: no
" >&5
9530 echo "${ECHO_T}no
" >&6
9534 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9537 if test -n "$LD_FOR_TARGET"; then
9538 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9539 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9540 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9543 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9544 for ncn_progname in ld; do
9545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9546 set dummy ${ncn_progname}; ac_word=$2
9547 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9548 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9549 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9550 echo $ECHO_N "(cached
) $ECHO_C" >&6
9552 if test -n "$LD_FOR_TARGET"; then
9553 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9559 test -z "$as_dir" && as_dir=.
9560 for ac_exec_ext in '' $ac_executable_extensions; do
9561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9562 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9563 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9571 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9572 if test -n "$LD_FOR_TARGET"; then
9573 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9574 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9576 echo "$as_me:$LINENO: result
: no
" >&5
9577 echo "${ECHO_T}no
" >&6
9583 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9584 for ncn_progname in ld; do
9585 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9586 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9587 if test -x $with_build_time_tools/${ncn_progname}; then
9588 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9589 echo "$as_me:$LINENO: result
: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9593 echo "$as_me:$LINENO: result
: no
" >&5
9594 echo "${ECHO_T}no
" >&6
9599 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9600 for ncn_progname in ld; do
9601 if test -n "$ncn_target_tool_prefix"; then
9602 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9603 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9640 set dummy ${ncn_progname}; ac_word=$2
9641 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9642 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9643 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9644 echo $ECHO_N "(cached
) $ECHO_C" >&6
9646 if test -n "$LD_FOR_TARGET"; then
9647 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9653 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9656 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9657 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9665 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9666 if test -n "$LD_FOR_TARGET"; then
9667 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9668 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9670 echo "$as_me:$LINENO: result
: no
" >&5
9671 echo "${ECHO_T}no
" >&6
9675 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9679 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9681 if test $build = $target ; then
9684 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9687 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9691 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9697 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9698 if test -n "$with_build_time_tools"; then
9699 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9700 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9701 if test -x $with_build_time_tools/lipo; then
9702 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9703 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9704 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9705 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9707 echo "$as_me:$LINENO: result
: no
" >&5
9708 echo "${ECHO_T}no
" >&6
9710 elif test $build != $host && test $have_gcc_for_target = yes; then
9711 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9712 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9713 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9716 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9717 # Extract the first word of "lipo
", so it can be a program name with args.
9718 set dummy lipo; ac_word=$2
9719 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9720 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9721 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9722 echo $ECHO_N "(cached
) $ECHO_C" >&6
9724 case $LIPO_FOR_TARGET in
9726 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 for as_dir in $gcc_cv_tool_dirs
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9736 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9737 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9746 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9748 if test -n "$LIPO_FOR_TARGET"; then
9749 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9750 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9752 echo "$as_me:$LINENO: result
: no
" >&5
9753 echo "${ECHO_T}no
" >&6
9757 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9760 if test -n "$LIPO_FOR_TARGET"; then
9761 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9762 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9763 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9766 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9767 for ncn_progname in lipo; do
9768 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9769 set dummy ${ncn_progname}; ac_word=$2
9770 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9771 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9772 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9773 echo $ECHO_N "(cached
) $ECHO_C" >&6
9775 if test -n "$LIPO_FOR_TARGET"; then
9776 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir=.
9783 for ac_exec_ext in '' $ac_executable_extensions; do
9784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9785 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9786 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9794 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9795 if test -n "$LIPO_FOR_TARGET"; then
9796 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9797 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9799 echo "$as_me:$LINENO: result
: no
" >&5
9800 echo "${ECHO_T}no
" >&6
9806 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9807 for ncn_progname in lipo; do
9808 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9809 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9810 if test -x $with_build_time_tools/${ncn_progname}; then
9811 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9812 echo "$as_me:$LINENO: result
: yes" >&5
9813 echo "${ECHO_T}yes" >&6
9816 echo "$as_me:$LINENO: result
: no
" >&5
9817 echo "${ECHO_T}no
" >&6
9822 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9823 for ncn_progname in lipo; do
9824 if test -n "$ncn_target_tool_prefix"; then
9825 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9826 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9863 set dummy ${ncn_progname}; ac_word=$2
9864 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9865 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9866 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9867 echo $ECHO_N "(cached
) $ECHO_C" >&6
9869 if test -n "$LIPO_FOR_TARGET"; then
9870 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9880 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9888 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9889 if test -n "$LIPO_FOR_TARGET"; then
9890 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9891 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9893 echo "$as_me:$LINENO: result
: no
" >&5
9894 echo "${ECHO_T}no
" >&6
9898 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9902 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9904 if test $build = $target ; then
9905 LIPO_FOR_TARGET="$2"
9907 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9910 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9914 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9920 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9921 if test -n "$with_build_time_tools"; then
9922 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9923 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9924 if test -x $with_build_time_tools/nm; then
9925 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9926 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9927 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9928 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9930 echo "$as_me:$LINENO: result
: no
" >&5
9931 echo "${ECHO_T}no
" >&6
9933 elif test $build != $host && test $have_gcc_for_target = yes; then
9934 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9935 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
9936 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9939 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9940 # Extract the first word of "nm
", so it can be a program name with args.
9941 set dummy nm; ac_word=$2
9942 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9944 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9945 echo $ECHO_N "(cached
) $ECHO_C" >&6
9947 case $NM_FOR_TARGET in
9949 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9953 for as_dir in $gcc_cv_tool_dirs
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9960 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9969 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9971 if test -n "$NM_FOR_TARGET"; then
9972 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9973 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9975 echo "$as_me:$LINENO: result
: no
" >&5
9976 echo "${ECHO_T}no
" >&6
9980 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9983 if test -n "$NM_FOR_TARGET"; then
9984 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9985 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9986 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9989 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9990 for ncn_progname in nm; do
9991 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9992 set dummy ${ncn_progname}; ac_word=$2
9993 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9995 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9996 echo $ECHO_N "(cached
) $ECHO_C" >&6
9998 if test -n "$NM_FOR_TARGET"; then
9999 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 for as_dir in $PATH
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10017 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10018 if test -n "$NM_FOR_TARGET"; then
10019 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10020 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10022 echo "$as_me:$LINENO: result
: no
" >&5
10023 echo "${ECHO_T}no
" >&6
10029 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10030 for ncn_progname in nm; do
10031 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10032 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10033 if test -x $with_build_time_tools/${ncn_progname}; then
10034 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10035 echo "$as_me:$LINENO: result
: yes" >&5
10036 echo "${ECHO_T}yes" >&6
10039 echo "$as_me:$LINENO: result
: no
" >&5
10040 echo "${ECHO_T}no
" >&6
10045 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10046 for ncn_progname in nm; do
10047 if test -n "$ncn_target_tool_prefix"; then
10048 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10049 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10086 set dummy ${ncn_progname}; ac_word=$2
10087 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10088 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10089 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10090 echo $ECHO_N "(cached
) $ECHO_C" >&6
10092 if test -n "$NM_FOR_TARGET"; then
10093 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10099 test -z "$as_dir" && as_dir=.
10100 for ac_exec_ext in '' $ac_executable_extensions; do
10101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10103 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10111 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10112 if test -n "$NM_FOR_TARGET"; then
10113 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10114 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10116 echo "$as_me:$LINENO: result
: no
" >&5
10117 echo "${ECHO_T}no
" >&6
10121 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10125 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10127 if test $build = $target ; then
10130 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10133 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10137 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10143 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10144 if test -n "$with_build_time_tools"; then
10145 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10146 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10147 if test -x $with_build_time_tools/objdump; then
10148 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10149 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10150 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10151 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10153 echo "$as_me:$LINENO: result
: no
" >&5
10154 echo "${ECHO_T}no
" >&6
10156 elif test $build != $host && test $have_gcc_for_target = yes; then
10157 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10158 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10159 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10162 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10163 # Extract the first word of "objdump
", so it can be a program name with args.
10164 set dummy objdump; ac_word=$2
10165 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10166 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10167 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10168 echo $ECHO_N "(cached
) $ECHO_C" >&6
10170 case $OBJDUMP_FOR_TARGET in
10172 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10176 for as_dir in $gcc_cv_tool_dirs
10179 test -z "$as_dir" && as_dir=.
10180 for ac_exec_ext in '' $ac_executable_extensions; do
10181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10182 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10183 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10192 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10194 if test -n "$OBJDUMP_FOR_TARGET"; then
10195 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10196 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10198 echo "$as_me:$LINENO: result
: no
" >&5
10199 echo "${ECHO_T}no
" >&6
10203 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10206 if test -n "$OBJDUMP_FOR_TARGET"; then
10207 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10208 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10209 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10212 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10213 for ncn_progname in objdump; do
10214 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10215 set dummy ${ncn_progname}; ac_word=$2
10216 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10218 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10219 echo $ECHO_N "(cached
) $ECHO_C" >&6
10221 if test -n "$OBJDUMP_FOR_TARGET"; then
10222 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10225 for as_dir in $PATH
10228 test -z "$as_dir" && as_dir=.
10229 for ac_exec_ext in '' $ac_executable_extensions; do
10230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10231 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10240 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10241 if test -n "$OBJDUMP_FOR_TARGET"; then
10242 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10243 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10245 echo "$as_me:$LINENO: result
: no
" >&5
10246 echo "${ECHO_T}no
" >&6
10252 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10253 for ncn_progname in objdump; do
10254 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10255 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10256 if test -x $with_build_time_tools/${ncn_progname}; then
10257 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10258 echo "$as_me:$LINENO: result
: yes" >&5
10259 echo "${ECHO_T}yes" >&6
10262 echo "$as_me:$LINENO: result
: no
" >&5
10263 echo "${ECHO_T}no
" >&6
10268 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10269 for ncn_progname in objdump; do
10270 if test -n "$ncn_target_tool_prefix"; then
10271 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10272 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10309 set dummy ${ncn_progname}; ac_word=$2
10310 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10311 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10312 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10313 echo $ECHO_N "(cached
) $ECHO_C" >&6
10315 if test -n "$OBJDUMP_FOR_TARGET"; then
10316 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319 for as_dir in $PATH
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10325 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10326 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10334 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10335 if test -n "$OBJDUMP_FOR_TARGET"; then
10336 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10337 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10339 echo "$as_me:$LINENO: result
: no
" >&5
10340 echo "${ECHO_T}no
" >&6
10344 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10348 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10350 if test $build = $target ; then
10351 OBJDUMP_FOR_TARGET="$2"
10353 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10356 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10360 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10366 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10367 if test -n "$with_build_time_tools"; then
10368 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10369 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10370 if test -x $with_build_time_tools/ranlib; then
10371 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10372 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10373 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10374 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10376 echo "$as_me:$LINENO: result
: no
" >&5
10377 echo "${ECHO_T}no
" >&6
10379 elif test $build != $host && test $have_gcc_for_target = yes; then
10380 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10381 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10382 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10385 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10386 # Extract the first word of "ranlib
", so it can be a program name with args.
10387 set dummy ranlib; ac_word=$2
10388 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10389 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10390 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10391 echo $ECHO_N "(cached
) $ECHO_C" >&6
10393 case $RANLIB_FOR_TARGET in
10395 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10399 for as_dir in $gcc_cv_tool_dirs
10402 test -z "$as_dir" && as_dir=.
10403 for ac_exec_ext in '' $ac_executable_extensions; do
10404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10405 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10406 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10415 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10417 if test -n "$RANLIB_FOR_TARGET"; then
10418 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10419 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10421 echo "$as_me:$LINENO: result
: no
" >&5
10422 echo "${ECHO_T}no
" >&6
10426 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10429 if test -n "$RANLIB_FOR_TARGET"; then
10430 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10431 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10432 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10435 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10436 for ncn_progname in ranlib; do
10437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10438 set dummy ${ncn_progname}; ac_word=$2
10439 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10441 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10442 echo $ECHO_N "(cached
) $ECHO_C" >&6
10444 if test -n "$RANLIB_FOR_TARGET"; then
10445 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10448 for as_dir in $PATH
10451 test -z "$as_dir" && as_dir=.
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10463 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10464 if test -n "$RANLIB_FOR_TARGET"; then
10465 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10466 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10468 echo "$as_me:$LINENO: result
: no
" >&5
10469 echo "${ECHO_T}no
" >&6
10475 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10476 for ncn_progname in ranlib; do
10477 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10478 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10479 if test -x $with_build_time_tools/${ncn_progname}; then
10480 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10481 echo "$as_me:$LINENO: result
: yes" >&5
10482 echo "${ECHO_T}yes" >&6
10485 echo "$as_me:$LINENO: result
: no
" >&5
10486 echo "${ECHO_T}no
" >&6
10491 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10492 for ncn_progname in ranlib; do
10493 if test -n "$ncn_target_tool_prefix"; then
10494 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10495 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10532 set dummy ${ncn_progname}; ac_word=$2
10533 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10534 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10535 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10536 echo $ECHO_N "(cached
) $ECHO_C" >&6
10538 if test -n "$RANLIB_FOR_TARGET"; then
10539 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 test -z "$as_dir" && as_dir=.
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10549 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10557 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10558 if test -n "$RANLIB_FOR_TARGET"; then
10559 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10560 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10562 echo "$as_me:$LINENO: result
: no
" >&5
10563 echo "${ECHO_T}no
" >&6
10567 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10571 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10573 if test $build = $target ; then
10574 RANLIB_FOR_TARGET="$2"
10576 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10579 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10583 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10589 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10590 if test -n "$with_build_time_tools"; then
10591 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10592 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10593 if test -x $with_build_time_tools/strip; then
10594 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10595 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10596 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10597 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10599 echo "$as_me:$LINENO: result
: no
" >&5
10600 echo "${ECHO_T}no
" >&6
10602 elif test $build != $host && test $have_gcc_for_target = yes; then
10603 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10604 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10605 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10608 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10609 # Extract the first word of "strip
", so it can be a program name with args.
10610 set dummy strip; ac_word=$2
10611 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10612 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10613 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10614 echo $ECHO_N "(cached
) $ECHO_C" >&6
10616 case $STRIP_FOR_TARGET in
10618 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10622 for as_dir in $gcc_cv_tool_dirs
10625 test -z "$as_dir" && as_dir=.
10626 for ac_exec_ext in '' $ac_executable_extensions; do
10627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10628 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10629 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10638 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10640 if test -n "$STRIP_FOR_TARGET"; then
10641 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10642 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10644 echo "$as_me:$LINENO: result
: no
" >&5
10645 echo "${ECHO_T}no
" >&6
10649 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10652 if test -n "$STRIP_FOR_TARGET"; then
10653 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10654 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10655 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10658 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10659 for ncn_progname in strip; do
10660 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10661 set dummy ${ncn_progname}; ac_word=$2
10662 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10664 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10665 echo $ECHO_N "(cached
) $ECHO_C" >&6
10667 if test -n "$STRIP_FOR_TARGET"; then
10668 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10674 test -z "$as_dir" && as_dir=.
10675 for ac_exec_ext in '' $ac_executable_extensions; do
10676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10678 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10686 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10687 if test -n "$STRIP_FOR_TARGET"; then
10688 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10689 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10691 echo "$as_me:$LINENO: result
: no
" >&5
10692 echo "${ECHO_T}no
" >&6
10698 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10699 for ncn_progname in strip; do
10700 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10701 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10702 if test -x $with_build_time_tools/${ncn_progname}; then
10703 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10704 echo "$as_me:$LINENO: result
: yes" >&5
10705 echo "${ECHO_T}yes" >&6
10708 echo "$as_me:$LINENO: result
: no
" >&5
10709 echo "${ECHO_T}no
" >&6
10714 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10715 for ncn_progname in strip; do
10716 if test -n "$ncn_target_tool_prefix"; then
10717 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10718 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10754 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10755 set dummy ${ncn_progname}; ac_word=$2
10756 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10757 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10758 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10759 echo $ECHO_N "(cached
) $ECHO_C" >&6
10761 if test -n "$STRIP_FOR_TARGET"; then
10762 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10765 for as_dir in $PATH
10768 test -z "$as_dir" && as_dir=.
10769 for ac_exec_ext in '' $ac_executable_extensions; do
10770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10771 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10772 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10780 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10781 if test -n "$STRIP_FOR_TARGET"; then
10782 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10783 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10785 echo "$as_me:$LINENO: result
: no
" >&5
10786 echo "${ECHO_T}no
" >&6
10790 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10794 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10796 if test $build = $target ; then
10797 STRIP_FOR_TARGET="$2"
10799 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10802 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10806 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10812 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10813 if test -n "$with_build_time_tools"; then
10814 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10815 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10816 if test -x $with_build_time_tools/windres; then
10817 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10818 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10819 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10820 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10822 echo "$as_me:$LINENO: result
: no
" >&5
10823 echo "${ECHO_T}no
" >&6
10825 elif test $build != $host && test $have_gcc_for_target = yes; then
10826 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10827 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10828 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10831 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10832 # Extract the first word of "windres
", so it can be a program name with args.
10833 set dummy windres; ac_word=$2
10834 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10835 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10836 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10837 echo $ECHO_N "(cached
) $ECHO_C" >&6
10839 case $WINDRES_FOR_TARGET in
10841 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $gcc_cv_tool_dirs
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10852 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10861 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10863 if test -n "$WINDRES_FOR_TARGET"; then
10864 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10865 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10867 echo "$as_me:$LINENO: result
: no
" >&5
10868 echo "${ECHO_T}no
" >&6
10872 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10875 if test -n "$WINDRES_FOR_TARGET"; then
10876 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10877 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10878 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10881 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10882 for ncn_progname in windres; do
10883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10884 set dummy ${ncn_progname}; ac_word=$2
10885 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10887 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10888 echo $ECHO_N "(cached
) $ECHO_C" >&6
10890 if test -n "$WINDRES_FOR_TARGET"; then
10891 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10894 for as_dir in $PATH
10897 test -z "$as_dir" && as_dir=.
10898 for ac_exec_ext in '' $ac_executable_extensions; do
10899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10900 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10909 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10910 if test -n "$WINDRES_FOR_TARGET"; then
10911 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10912 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10914 echo "$as_me:$LINENO: result
: no
" >&5
10915 echo "${ECHO_T}no
" >&6
10921 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10922 for ncn_progname in windres; do
10923 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10924 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10925 if test -x $with_build_time_tools/${ncn_progname}; then
10926 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10927 echo "$as_me:$LINENO: result
: yes" >&5
10928 echo "${ECHO_T}yes" >&6
10931 echo "$as_me:$LINENO: result
: no
" >&5
10932 echo "${ECHO_T}no
" >&6
10937 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10938 for ncn_progname in windres; do
10939 if test -n "$ncn_target_tool_prefix"; then
10940 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10941 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10978 set dummy ${ncn_progname}; ac_word=$2
10979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10981 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10982 echo $ECHO_N "(cached
) $ECHO_C" >&6
10984 if test -n "$WINDRES_FOR_TARGET"; then
10985 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10988 for as_dir in $PATH
10991 test -z "$as_dir" && as_dir=.
10992 for ac_exec_ext in '' $ac_executable_extensions; do
10993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10994 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11003 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11004 if test -n "$WINDRES_FOR_TARGET"; then
11005 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11006 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11008 echo "$as_me:$LINENO: result
: no
" >&5
11009 echo "${ECHO_T}no
" >&6
11013 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11017 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11019 if test $build = $target ; then
11020 WINDRES_FOR_TARGET="$2"
11022 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11025 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11029 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11035 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11036 if test -n "$with_build_time_tools"; then
11037 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11038 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11039 if test -x $with_build_time_tools/windmc; then
11040 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11041 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11042 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11043 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11045 echo "$as_me:$LINENO: result
: no
" >&5
11046 echo "${ECHO_T}no
" >&6
11048 elif test $build != $host && test $have_gcc_for_target = yes; then
11049 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11050 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11051 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11054 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11055 # Extract the first word of "windmc
", so it can be a program name with args.
11056 set dummy windmc; ac_word=$2
11057 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11058 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11059 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11060 echo $ECHO_N "(cached
) $ECHO_C" >&6
11062 case $WINDMC_FOR_TARGET in
11064 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11068 for as_dir in $gcc_cv_tool_dirs
11071 test -z "$as_dir" && as_dir=.
11072 for ac_exec_ext in '' $ac_executable_extensions; do
11073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11074 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11075 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11084 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11086 if test -n "$WINDMC_FOR_TARGET"; then
11087 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11088 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11090 echo "$as_me:$LINENO: result
: no
" >&5
11091 echo "${ECHO_T}no
" >&6
11095 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11098 if test -n "$WINDMC_FOR_TARGET"; then
11099 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11100 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11101 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11104 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11105 for ncn_progname in windmc; do
11106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11107 set dummy ${ncn_progname}; ac_word=$2
11108 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11109 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11110 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11111 echo $ECHO_N "(cached
) $ECHO_C" >&6
11113 if test -n "$WINDMC_FOR_TARGET"; then
11114 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11117 for as_dir in $PATH
11120 test -z "$as_dir" && as_dir=.
11121 for ac_exec_ext in '' $ac_executable_extensions; do
11122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11123 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11124 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11132 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11133 if test -n "$WINDMC_FOR_TARGET"; then
11134 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11135 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11137 echo "$as_me:$LINENO: result
: no
" >&5
11138 echo "${ECHO_T}no
" >&6
11144 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11145 for ncn_progname in windmc; do
11146 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11147 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11148 if test -x $with_build_time_tools/${ncn_progname}; then
11149 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11150 echo "$as_me:$LINENO: result
: yes" >&5
11151 echo "${ECHO_T}yes" >&6
11154 echo "$as_me:$LINENO: result
: no
" >&5
11155 echo "${ECHO_T}no
" >&6
11160 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11161 for ncn_progname in windmc; do
11162 if test -n "$ncn_target_tool_prefix"; then
11163 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11164 set dummy ${ncn_target_tool_prefix}${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_target_tool_prefix}${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 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11200 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11201 set dummy ${ncn_progname}; ac_word=$2
11202 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11203 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11204 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11205 echo $ECHO_N "(cached
) $ECHO_C" >&6
11207 if test -n "$WINDMC_FOR_TARGET"; then
11208 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11211 for as_dir in $PATH
11214 test -z "$as_dir" && as_dir=.
11215 for ac_exec_ext in '' $ac_executable_extensions; do
11216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11217 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11218 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11226 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11227 if test -n "$WINDMC_FOR_TARGET"; then
11228 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11229 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11231 echo "$as_me:$LINENO: result
: no
" >&5
11232 echo "${ECHO_T}no
" >&6
11236 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11240 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11242 if test $build = $target ; then
11243 WINDMC_FOR_TARGET="$2"
11245 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11248 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11252 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11256 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11258 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11259 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11260 if test "x
${build}" != "x
${host}" ; then
11261 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11262 # We already found the complete path
11263 ac_dir=`dirname $AR_FOR_TARGET`
11264 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11265 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11267 # Canadian cross, just use what we found
11268 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11269 echo "${ECHO_T}pre-installed
" >&6
11273 case " ${configdirs} " in
11278 if test $ok = yes; then
11279 # An in-tree tool is available and we can use it
11280 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11281 echo "$as_me:$LINENO: result
: just compiled
" >&5
11282 echo "${ECHO_T}just compiled
" >&6
11283 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11284 # We already found the complete path
11285 ac_dir=`dirname $AR_FOR_TARGET`
11286 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11287 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11288 elif test "x
$target" = "x
$host"; then
11289 # We can use an host tool
11290 AR_FOR_TARGET='$(AR)'
11291 echo "$as_me:$LINENO: result
: host tool
" >&5
11292 echo "${ECHO_T}host tool
" >&6
11294 # We need a cross tool
11295 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11296 echo "${ECHO_T}pre-installed
" >&6
11300 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11301 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11302 if test "x
${build}" != "x
${host}" ; then
11303 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11304 # We already found the complete path
11305 ac_dir=`dirname $AS_FOR_TARGET`
11306 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11307 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11309 # Canadian cross, just use what we found
11310 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11311 echo "${ECHO_T}pre-installed
" >&6
11315 case " ${configdirs} " in
11320 if test $ok = yes; then
11321 # An in-tree tool is available and we can use it
11322 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11323 echo "$as_me:$LINENO: result
: just compiled
" >&5
11324 echo "${ECHO_T}just compiled
" >&6
11325 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11326 # We already found the complete path
11327 ac_dir=`dirname $AS_FOR_TARGET`
11328 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11329 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11330 elif test "x
$target" = "x
$host"; then
11331 # We can use an host tool
11332 AS_FOR_TARGET='$(AS)'
11333 echo "$as_me:$LINENO: result
: host tool
" >&5
11334 echo "${ECHO_T}host tool
" >&6
11336 # We need a cross tool
11337 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11338 echo "${ECHO_T}pre-installed
" >&6
11342 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11343 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11344 if test "x
${build}" != "x
${host}" ; then
11345 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11346 # We already found the complete path
11347 ac_dir=`dirname $CC_FOR_TARGET`
11348 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11349 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11351 # Canadian cross, just use what we found
11352 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11353 echo "${ECHO_T}pre-installed
" >&6
11357 case " ${configdirs} " in
11362 if test $ok = yes; then
11363 # An in-tree tool is available and we can use it
11364 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11365 echo "$as_me:$LINENO: result
: just compiled
" >&5
11366 echo "${ECHO_T}just compiled
" >&6
11367 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11368 # We already found the complete path
11369 ac_dir=`dirname $CC_FOR_TARGET`
11370 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11371 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11372 elif test "x
$target" = "x
$host"; then
11373 # We can use an host tool
11374 CC_FOR_TARGET='$(CC)'
11375 echo "$as_me:$LINENO: result
: host tool
" >&5
11376 echo "${ECHO_T}host tool
" >&6
11378 # We need a cross tool
11379 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11380 echo "${ECHO_T}pre-installed
" >&6
11384 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11385 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11386 if test "x
${build}" != "x
${host}" ; then
11387 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11388 # We already found the complete path
11389 ac_dir=`dirname $CXX_FOR_TARGET`
11390 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11391 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11393 # Canadian cross, just use what we found
11394 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11395 echo "${ECHO_T}pre-installed
" >&6
11399 case " ${configdirs} " in
11403 case ,${enable_languages}, in
11407 if test $ok = yes; then
11408 # An in-tree tool is available and we can use it
11409 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'
11410 echo "$as_me:$LINENO: result
: just compiled
" >&5
11411 echo "${ECHO_T}just compiled
" >&6
11412 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11413 # We already found the complete path
11414 ac_dir=`dirname $CXX_FOR_TARGET`
11415 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11416 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11417 elif test "x
$target" = "x
$host"; then
11418 # We can use an host tool
11419 CXX_FOR_TARGET='$(CXX)'
11420 echo "$as_me:$LINENO: result
: host tool
" >&5
11421 echo "${ECHO_T}host tool
" >&6
11423 # We need a cross tool
11424 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11425 echo "${ECHO_T}pre-installed
" >&6
11429 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11430 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11431 if test "x
${build}" != "x
${host}" ; then
11432 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11433 # We already found the complete path
11434 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11435 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11436 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11438 # Canadian cross, just use what we found
11439 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11440 echo "${ECHO_T}pre-installed
" >&6
11444 case " ${configdirs} " in
11448 case ,${enable_languages}, in
11452 if test $ok = yes; then
11453 # An in-tree tool is available and we can use it
11454 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'
11455 echo "$as_me:$LINENO: result
: just compiled
" >&5
11456 echo "${ECHO_T}just compiled
" >&6
11457 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11458 # We already found the complete path
11459 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11460 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11461 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11462 elif test "x
$target" = "x
$host"; then
11463 # We can use an host tool
11464 RAW_CXX_FOR_TARGET='$(CXX)'
11465 echo "$as_me:$LINENO: result
: host tool
" >&5
11466 echo "${ECHO_T}host tool
" >&6
11468 # We need a cross tool
11469 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11470 echo "${ECHO_T}pre-installed
" >&6
11474 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11475 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11476 if test "x
${build}" != "x
${host}" ; then
11477 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11478 # We already found the complete path
11479 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11480 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11481 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11483 # Canadian cross, just use what we found
11484 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11485 echo "${ECHO_T}pre-installed
" >&6
11489 case " ${configdirs} " in
11494 if test $ok = yes; then
11495 # An in-tree tool is available and we can use it
11496 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11497 echo "$as_me:$LINENO: result
: just compiled
" >&5
11498 echo "${ECHO_T}just compiled
" >&6
11499 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11500 # We already found the complete path
11501 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11502 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11503 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11504 elif test "x
$target" = "x
$host"; then
11505 # We can use an host tool
11506 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11507 echo "$as_me:$LINENO: result
: host tool
" >&5
11508 echo "${ECHO_T}host tool
" >&6
11510 # We need a cross tool
11511 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11512 echo "${ECHO_T}pre-installed
" >&6
11516 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11517 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11518 if test "x
${build}" != "x
${host}" ; then
11519 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11520 # We already found the complete path
11521 ac_dir=`dirname $GCC_FOR_TARGET`
11522 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11523 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11525 # Canadian cross, just use what we found
11526 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11527 echo "${ECHO_T}pre-installed
" >&6
11531 case " ${configdirs} " in
11536 if test $ok = yes; then
11537 # An in-tree tool is available and we can use it
11538 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11539 echo "$as_me:$LINENO: result
: just compiled
" >&5
11540 echo "${ECHO_T}just compiled
" >&6
11541 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11542 # We already found the complete path
11543 ac_dir=`dirname $GCC_FOR_TARGET`
11544 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11545 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11546 elif test "x
$target" = "x
$host"; then
11547 # We can use an host tool
11548 GCC_FOR_TARGET='$()'
11549 echo "$as_me:$LINENO: result
: host tool
" >&5
11550 echo "${ECHO_T}host tool
" >&6
11552 # We need a cross tool
11553 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11554 echo "${ECHO_T}pre-installed
" >&6
11558 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11559 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11560 if test "x
${build}" != "x
${host}" ; then
11561 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11562 # We already found the complete path
11563 ac_dir=`dirname $GCJ_FOR_TARGET`
11564 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11565 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11567 # Canadian cross, just use what we found
11568 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11569 echo "${ECHO_T}pre-installed
" >&6
11573 case " ${configdirs} " in
11577 case ,${enable_languages}, in
11581 if test $ok = yes; then
11582 # An in-tree tool is available and we can use it
11583 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11584 echo "$as_me:$LINENO: result
: just compiled
" >&5
11585 echo "${ECHO_T}just compiled
" >&6
11586 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11587 # We already found the complete path
11588 ac_dir=`dirname $GCJ_FOR_TARGET`
11589 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11590 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11591 elif test "x
$target" = "x
$host"; then
11592 # We can use an host tool
11593 GCJ_FOR_TARGET='$(GCJ)'
11594 echo "$as_me:$LINENO: result
: host tool
" >&5
11595 echo "${ECHO_T}host tool
" >&6
11597 # We need a cross tool
11598 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11599 echo "${ECHO_T}pre-installed
" >&6
11603 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11604 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11605 if test "x
${build}" != "x
${host}" ; then
11606 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11607 # We already found the complete path
11608 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11609 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11610 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11612 # Canadian cross, just use what we found
11613 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11614 echo "${ECHO_T}pre-installed
" >&6
11618 case " ${configdirs} " in
11622 case ,${enable_languages}, in
11626 if test $ok = yes; then
11627 # An in-tree tool is available and we can use it
11628 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11629 echo "$as_me:$LINENO: result
: just compiled
" >&5
11630 echo "${ECHO_T}just compiled
" >&6
11631 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11632 # We already found the complete path
11633 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11634 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11635 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11636 elif test "x
$target" = "x
$host"; then
11637 # We can use an host tool
11638 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11639 echo "$as_me:$LINENO: result
: host tool
" >&5
11640 echo "${ECHO_T}host tool
" >&6
11642 # We need a cross tool
11643 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11644 echo "${ECHO_T}pre-installed
" >&6
11648 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11649 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11650 if test "x
${build}" != "x
${host}" ; then
11651 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11652 # We already found the complete path
11653 ac_dir=`dirname $LD_FOR_TARGET`
11654 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11655 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11657 # Canadian cross, just use what we found
11658 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11659 echo "${ECHO_T}pre-installed
" >&6
11663 case " ${configdirs} " in
11668 if test $ok = yes; then
11669 # An in-tree tool is available and we can use it
11670 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11671 echo "$as_me:$LINENO: result
: just compiled
" >&5
11672 echo "${ECHO_T}just compiled
" >&6
11673 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11674 # We already found the complete path
11675 ac_dir=`dirname $LD_FOR_TARGET`
11676 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11677 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11678 elif test "x
$target" = "x
$host"; then
11679 # We can use an host tool
11680 LD_FOR_TARGET='$(LD)'
11681 echo "$as_me:$LINENO: result
: host tool
" >&5
11682 echo "${ECHO_T}host tool
" >&6
11684 # We need a cross tool
11685 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11686 echo "${ECHO_T}pre-installed
" >&6
11690 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11691 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11692 if test "x
${build}" != "x
${host}" ; then
11693 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11694 # We already found the complete path
11695 ac_dir=`dirname $LIPO_FOR_TARGET`
11696 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11697 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11699 # Canadian cross, just use what we found
11700 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11701 echo "${ECHO_T}pre-installed
" >&6
11704 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11705 # We already found the complete path
11706 ac_dir=`dirname $LIPO_FOR_TARGET`
11707 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11708 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11709 elif test "x
$target" = "x
$host"; then
11710 # We can use an host tool
11711 LIPO_FOR_TARGET='$(LIPO)'
11712 echo "$as_me:$LINENO: result
: host tool
" >&5
11713 echo "${ECHO_T}host tool
" >&6
11715 # We need a cross tool
11716 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11717 echo "${ECHO_T}pre-installed
" >&6
11721 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11722 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11723 if test "x
${build}" != "x
${host}" ; then
11724 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11725 # We already found the complete path
11726 ac_dir=`dirname $NM_FOR_TARGET`
11727 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11728 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11730 # Canadian cross, just use what we found
11731 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11732 echo "${ECHO_T}pre-installed
" >&6
11736 case " ${configdirs} " in
11741 if test $ok = yes; then
11742 # An in-tree tool is available and we can use it
11743 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11744 echo "$as_me:$LINENO: result
: just compiled
" >&5
11745 echo "${ECHO_T}just compiled
" >&6
11746 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11747 # We already found the complete path
11748 ac_dir=`dirname $NM_FOR_TARGET`
11749 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11750 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11751 elif test "x
$target" = "x
$host"; then
11752 # We can use an host tool
11753 NM_FOR_TARGET='$(NM)'
11754 echo "$as_me:$LINENO: result
: host tool
" >&5
11755 echo "${ECHO_T}host tool
" >&6
11757 # We need a cross tool
11758 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11759 echo "${ECHO_T}pre-installed
" >&6
11763 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11764 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11765 if test "x
${build}" != "x
${host}" ; then
11766 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11767 # We already found the complete path
11768 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11769 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11770 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11772 # Canadian cross, just use what we found
11773 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11774 echo "${ECHO_T}pre-installed
" >&6
11778 case " ${configdirs} " in
11783 if test $ok = yes; then
11784 # An in-tree tool is available and we can use it
11785 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11786 echo "$as_me:$LINENO: result
: just compiled
" >&5
11787 echo "${ECHO_T}just compiled
" >&6
11788 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11789 # We already found the complete path
11790 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11791 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11792 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11793 elif test "x
$target" = "x
$host"; then
11794 # We can use an host tool
11795 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11796 echo "$as_me:$LINENO: result
: host tool
" >&5
11797 echo "${ECHO_T}host tool
" >&6
11799 # We need a cross tool
11800 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11801 echo "${ECHO_T}pre-installed
" >&6
11805 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11806 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11807 if test "x
${build}" != "x
${host}" ; then
11808 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11809 # We already found the complete path
11810 ac_dir=`dirname $RANLIB_FOR_TARGET`
11811 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11812 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11814 # Canadian cross, just use what we found
11815 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11816 echo "${ECHO_T}pre-installed
" >&6
11820 case " ${configdirs} " in
11825 if test $ok = yes; then
11826 # An in-tree tool is available and we can use it
11827 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11828 echo "$as_me:$LINENO: result
: just compiled
" >&5
11829 echo "${ECHO_T}just compiled
" >&6
11830 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11831 # We already found the complete path
11832 ac_dir=`dirname $RANLIB_FOR_TARGET`
11833 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11834 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11835 elif test "x
$target" = "x
$host"; then
11836 # We can use an host tool
11837 RANLIB_FOR_TARGET='$(RANLIB)'
11838 echo "$as_me:$LINENO: result
: host tool
" >&5
11839 echo "${ECHO_T}host tool
" >&6
11841 # We need a cross tool
11842 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11843 echo "${ECHO_T}pre-installed
" >&6
11847 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11848 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11849 if test "x
${build}" != "x
${host}" ; then
11850 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11851 # We already found the complete path
11852 ac_dir=`dirname $STRIP_FOR_TARGET`
11853 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11854 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11856 # Canadian cross, just use what we found
11857 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11858 echo "${ECHO_T}pre-installed
" >&6
11862 case " ${configdirs} " in
11867 if test $ok = yes; then
11868 # An in-tree tool is available and we can use it
11869 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11870 echo "$as_me:$LINENO: result
: just compiled
" >&5
11871 echo "${ECHO_T}just compiled
" >&6
11872 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11873 # We already found the complete path
11874 ac_dir=`dirname $STRIP_FOR_TARGET`
11875 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11876 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11877 elif test "x
$target" = "x
$host"; then
11878 # We can use an host tool
11879 STRIP_FOR_TARGET='$(STRIP)'
11880 echo "$as_me:$LINENO: result
: host tool
" >&5
11881 echo "${ECHO_T}host tool
" >&6
11883 # We need a cross tool
11884 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11885 echo "${ECHO_T}pre-installed
" >&6
11889 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11890 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11891 if test "x
${build}" != "x
${host}" ; then
11892 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11893 # We already found the complete path
11894 ac_dir=`dirname $WINDRES_FOR_TARGET`
11895 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11896 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11898 # Canadian cross, just use what we found
11899 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11900 echo "${ECHO_T}pre-installed
" >&6
11904 case " ${configdirs} " in
11909 if test $ok = yes; then
11910 # An in-tree tool is available and we can use it
11911 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11912 echo "$as_me:$LINENO: result
: just compiled
" >&5
11913 echo "${ECHO_T}just compiled
" >&6
11914 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11915 # We already found the complete path
11916 ac_dir=`dirname $WINDRES_FOR_TARGET`
11917 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11918 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11919 elif test "x
$target" = "x
$host"; then
11920 # We can use an host tool
11921 WINDRES_FOR_TARGET='$(WINDRES)'
11922 echo "$as_me:$LINENO: result
: host tool
" >&5
11923 echo "${ECHO_T}host tool
" >&6
11925 # We need a cross tool
11926 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11927 echo "${ECHO_T}pre-installed
" >&6
11931 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11932 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11933 if test "x
${build}" != "x
${host}" ; then
11934 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11935 # We already found the complete path
11936 ac_dir=`dirname $WINDMC_FOR_TARGET`
11937 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11938 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11940 # Canadian cross, just use what we found
11941 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11942 echo "${ECHO_T}pre-installed
" >&6
11946 case " ${configdirs} " in
11951 if test $ok = yes; then
11952 # An in-tree tool is available and we can use it
11953 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
11954 echo "$as_me:$LINENO: result
: just compiled
" >&5
11955 echo "${ECHO_T}just compiled
" >&6
11956 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11957 # We already found the complete path
11958 ac_dir=`dirname $WINDMC_FOR_TARGET`
11959 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11960 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11961 elif test "x
$target" = "x
$host"; then
11962 # We can use an host tool
11963 WINDMC_FOR_TARGET='$(WINDMC)'
11964 echo "$as_me:$LINENO: result
: host tool
" >&5
11965 echo "${ECHO_T}host tool
" >&6
11967 # We need a cross tool
11968 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11969 echo "${ECHO_T}pre-installed
" >&6
11977 # Certain tools may need extra flags.
11978 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11979 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11980 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11982 # When building target libraries, except in a Canadian cross, we use
11983 # the same toolchain as the compiler we just built.
11984 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11985 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11986 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11987 if test $host = $build; then
11988 case " $configdirs " in
11990 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11991 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11992 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12001 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12002 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12003 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12004 if test "${enable_maintainer_mode+set}" = set; then
12005 enableval="$enable_maintainer_mode"
12006 USE_MAINTAINER_MODE=$enableval
12008 USE_MAINTAINER_MODE=no
12010 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12011 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12014 if test "$USE_MAINTAINER_MODE" = yes; then
12015 MAINTAINER_MODE_TRUE=
12016 MAINTAINER_MODE_FALSE='#'
12018 MAINTAINER_MODE_TRUE='#'
12019 MAINTAINER_MODE_FALSE=
12021 MAINT=$MAINTAINER_MODE_TRUE
12023 # ---------------------
12024 # GCC bootstrap support
12025 # ---------------------
12027 # Stage specific cflags for build.
12032 yes) stage1_cflags="-g -Wa,-J" ;;
12033 *) stage1_cflags="-g -J" ;;
12037 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12038 if test "$GCC" = yes; then
12039 saved_CFLAGS="$CFLAGS"
12041 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12042 CFLAGS="$CFLAGS -fkeep-inline-functions"
12043 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12044 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12045 cat >conftest.$ac_ext <<_ACEOF
12048 cat confdefs.h >>conftest.$ac_ext
12049 cat >>conftest.$ac_ext <<_ACEOF
12050 /* end confdefs.h. */
12052 #if (__GNUC__ < 3) \
12053 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12054 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12055 #error http://gcc.gnu.org/PR29382
12066 rm -f conftest.$ac_objext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068 (eval $ac_compile) 2>conftest.er1
12070 grep -v '^ *+' conftest.er1 >conftest.err
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12080 (exit $ac_status); }; } &&
12081 { ac_try='test -s conftest.$ac_objext'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12086 (exit $ac_status); }; }; then
12087 echo "$as_me:$LINENO: result
: yes" >&5
12088 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12090 echo "$as_me: failed program was
:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12093 echo "$as_me:$LINENO: result
: no
" >&5
12094 echo "${ECHO_T}no
" >&6
12096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12098 CFLAGS="$saved_CFLAGS"
12103 # Enable --enable-checking in stage1 of the compiler.
12104 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12105 if test "${enable_stage1_checking+set}" = set; then
12106 enableval="$enable_stage1_checking"
12107 stage1_checking=--enable-checking=${enable_stage1_checking}
12109 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12110 stage1_checking=--enable-checking=yes,types
12112 stage1_checking=--enable-checking=$enable_checking,types
12117 # Enable -Werror in bootstrap stage2 and later.
12118 # Check whether --enable-werror or --disable-werror was given.
12119 if test "${enable_werror+set}" = set; then
12120 enableval="$enable_werror"
12123 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12129 case ${enable_werror} in
12130 yes) stage2_werror_flag="--enable-werror-always" ;;
12131 *) stage2_werror_flag="" ;;
12135 # Flags needed to enable html installing and building
12137 # Check whether --with-datarootdir or --without-datarootdir was given.
12138 if test "${with_datarootdir+set}" = set; then
12139 withval="$with_datarootdir"
12140 datarootdir="\
${prefix}/${withval}"
12142 datarootdir="\
${prefix}/share
"
12146 # Check whether --with-docdir or --without-docdir was given.
12147 if test "${with_docdir+set}" = set; then
12148 withval="$with_docdir"
12149 docdir="\
${prefix}/${withval}"
12151 docdir="\
${datarootdir}/doc
"
12155 # Check whether --with-pdfdir or --without-pdfdir was given.
12156 if test "${with_pdfdir+set}" = set; then
12157 withval="$with_pdfdir"
12158 pdfdir="\
${prefix}/${withval}"
12160 pdfdir="\
${docdir}"
12164 # Check whether --with-htmldir or --without-htmldir was given.
12165 if test "${with_htmldir+set}" = set; then
12166 withval="$with_htmldir"
12167 htmldir="\
${prefix}/${withval}"
12169 htmldir="\
${docdir}"
12177 ac_config_files="$ac_config_files Makefile
"
12178 cat >confcache <<\_ACEOF
12179 # This file is a shell script that caches the results of configure
12180 # tests run on this system so they can be shared between configure
12181 # scripts and configure runs, see configure's option --config-cache.
12182 # It is not useful on other systems. If it contains results you don't
12183 # want to keep, you may remove or edit it.
12185 # config.status only pays attention to the cache file if you give it
12186 # the --recheck option to rerun configure.
12188 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12189 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12190 # following values.
12194 # The following way of writing the cache mishandles newlines in values,
12195 # but we know of no workaround that is simple, portable, and efficient.
12196 # So, don't put newlines in cache variables' values.
12197 # Ultrix sh set writes to stderr and can't be redirected directly,
12198 # and sets the high bit in the cache file unless we assign to the vars.
12201 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12203 # `set' does not quote correctly, so add quotes (double-quote
12204 # substitution turns \\\\ into \\, and sed turns \\ into \).
12207 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12210 # `set' quotes correctly as required by POSIX, so do not add quotes.
12212 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12219 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12221 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12223 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12224 if test -w $cache_file; then
12225 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12226 cat confcache >$cache_file
12228 echo "not updating unwritable cache
$cache_file"
12233 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12234 # Let make expand exec_prefix.
12235 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12237 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12238 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12239 # trailing colons and then remove the whole line if VPATH becomes empty
12240 # (actually we leave an empty line to preserve line numbers).
12241 if test "x
$srcdir" = x.; then
12242 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12243 s/:*\$(srcdir):*/:/;
12244 s/:*\${srcdir}:*/:/;
12246 s/^\([^=]*=[ ]*\):*/\1/;
12252 # Transform confdefs.h into DEFS.
12253 # Protect against shell expansion while executing Makefile rules.
12254 # Protect against Makefile macro expansion.
12256 # If the first sed substitution is executed (which looks for macros that
12257 # take arguments), then we branch to the quote section. Otherwise,
12258 # look for a macro that doesn't take arguments.
12259 cat >confdef2opt.sed <<\_ACEOF
12262 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12264 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12268 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12274 # We use echo to avoid assuming a particular line-breaking character.
12275 # The extra dot is to prevent the shell from consuming trailing
12276 # line-breaks from the sub-command output. A line-break within
12277 # single-quotes doesn't work because, if this script is created in a
12278 # platform that uses two characters for line-breaks (e.g., DOS), tr
12280 ac_LF_and_DOT
=`echo; echo .`
12281 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12282 rm -f confdef2opt.
sed
12287 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12288 # 1. Remove the extension, and $U if already installed.
12289 ac_i
=`echo "$ac_i" |
12290 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12292 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12293 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12295 LIBOBJS
=$ac_libobjs
12297 LTLIBOBJS
=$ac_ltlibobjs
12301 : ${CONFIG_STATUS=./config.status}
12302 ac_clean_files_save
=$ac_clean_files
12303 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12304 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12305 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12306 cat >$CONFIG_STATUS <<_ACEOF
12308 # Generated by $as_me.
12309 # Run this file to recreate the current configuration.
12310 # Compiler output produced by configure, useful for debugging
12311 # configure, is in config.log if it exists.
12314 ac_cs_recheck=false
12316 SHELL=\${CONFIG_SHELL-$SHELL}
12319 cat >>$CONFIG_STATUS <<\_ACEOF
12320 ## --------------------- ##
12321 ## M4sh Initialization. ##
12322 ## --------------------- ##
12324 # Be Bourne compatible
12325 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12328 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12329 # is contrary to our usage. Disable this feature.
12330 alias -g '${1+"$@"}'='"$@"'
12331 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12334 DUALCASE
=1; export DUALCASE
# for MKS sh
12336 # Support unset when possible.
12337 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12344 # Work around bugs in pre-3.0 UWIN ksh.
12345 $as_unset ENV MAIL MAILPATH
12352 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12353 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12354 LC_TELEPHONE LC_TIME
12356 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12357 eval $as_var=C
; export $as_var
12363 # Required to use basename.
12364 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12370 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12371 as_basename
=basename
12377 # Name of the executable.
12378 as_me
=`$as_basename "$0" ||
12379 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12380 X"$0" : 'X\(//\)$' \| \
12381 X"$0" : 'X\(/\)$' \| \
12382 . : '\(.\)' 2>/dev/null ||
12384 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12385 /^X\/\(\/\/\)$/{ s//\1/; q; }
12386 /^X\/\(\/\).*/{ s//\1/; q; }
12390 # PATH needs CR, and LINENO needs CR and PATH.
12391 # Avoid depending upon Character Ranges.
12392 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12393 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12394 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12395 as_cr_digits
='0123456789'
12396 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12398 # The user is always right.
12399 if test "${PATH_SEPARATOR+set}" != set; then
12400 echo "#! /bin/sh" >conf$$.sh
12401 echo "exit 0" >>conf$$.sh
12403 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12412 as_lineno_1
=$LINENO
12413 as_lineno_2
=$LINENO
12414 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12415 test "x$as_lineno_1" != "x$as_lineno_2" &&
12416 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12417 # Find who we are. Look in the path if we contain no path at all
12420 *[\\/]* ) as_myself
=$0 ;;
12421 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12422 for as_dir
in $PATH
12425 test -z "$as_dir" && as_dir
=.
12426 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12431 # We did not find ourselves, most probably we were run as `sh COMMAND'
12432 # in which case we are not to be found in the path.
12433 if test "x$as_myself" = x
; then
12436 if test ! -f "$as_myself"; then
12437 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12438 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12439 { (exit 1); exit 1; }; }
12441 case $CONFIG_SHELL in
12443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12444 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12447 test -z "$as_dir" && as_dir
=.
12448 for as_base
in sh bash ksh sh5
; do
12451 if ("$as_dir/$as_base" -c '
12452 as_lineno_1=$LINENO
12453 as_lineno_2=$LINENO
12454 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12455 test "x$as_lineno_1" != "x$as_lineno_2" &&
12456 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12457 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12458 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12459 CONFIG_SHELL
=$as_dir/$as_base
12460 export CONFIG_SHELL
12461 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12469 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12470 # uniformly replaced by the line number. The first 'sed' inserts a
12471 # line-number line before each line; the second 'sed' does the real
12472 # work. The second script uses 'N' to pair each line-number line
12473 # with the numbered line, and appends trailing '-' during
12474 # substitution so that $LINENO is not a special case at line end.
12475 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12476 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12477 sed '=' <$as_myself |
12482 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12485 s,^['$as_cr_digits']*\n,,
12486 ' >$as_me.lineno
&&
12487 chmod +x
$as_me.lineno ||
12488 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12489 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12490 { (exit 1); exit 1; }; }
12492 # Don't try to exec as it changes $[0], causing all sort of problems
12493 # (the dirname of $[0] is not the place where we might find the
12494 # original and so on. Autoconf is especially sensible to this).
12496 # Exit status is that of the last command.
12501 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12502 *c
*,-n*) ECHO_N
= ECHO_C
='
12504 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12505 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12508 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12514 rm -f conf$$ conf$$.exe conf$$.
file
12516 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12517 # We could just check for DJGPP; but this test a) works b) is more generic
12518 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12519 if test -f conf$$.exe
; then
12520 # Don't use ln at all; we don't have any links
12525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12530 rm -f conf$$ conf$$.exe conf$$.
file
12532 if mkdir
-p .
2>/dev
/null
; then
12535 test -d .
/-p && rmdir .
/-p
12539 as_executable_p
="test -f"
12541 # Sed expression to map a string onto a valid CPP name.
12542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12544 # Sed expression to map a string onto a valid variable name.
12545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12549 # We need space, tab and new line, in precisely that order.
12559 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12560 # report actual input values of CONFIG_FILES etc. instead of their
12561 # values after options handling. Logging --version etc. is OK.
12565 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12566 ## Running $as_me. ##
12571 This file was extended by $as_me, which was
12572 generated by GNU Autoconf 2.59. Invocation command line was
12574 CONFIG_FILES = $CONFIG_FILES
12575 CONFIG_HEADERS = $CONFIG_HEADERS
12576 CONFIG_LINKS = $CONFIG_LINKS
12577 CONFIG_COMMANDS = $CONFIG_COMMANDS
12581 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12585 # Files that config.status was made for.
12586 if test -n "$ac_config_files"; then
12587 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12590 if test -n "$ac_config_headers"; then
12591 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12594 if test -n "$ac_config_links"; then
12595 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12598 if test -n "$ac_config_commands"; then
12599 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12602 cat >>$CONFIG_STATUS <<\_ACEOF
12605 \`$as_me' instantiates files from templates according to the
12606 current configuration.
12608 Usage: $0 [OPTIONS] [FILE]...
12610 -h, --help print this help, then exit
12611 -V, --version print version number, then exit
12612 -q, --quiet do not print progress messages
12613 -d, --debug don't remove temporary files
12614 --recheck update $as_me by reconfiguring in the same conditions
12615 --file=FILE[:TEMPLATE]
12616 instantiate the configuration file FILE
12618 Configuration files:
12621 Report bugs to <bug-autoconf@gnu.org>."
12624 cat >>$CONFIG_STATUS <<_ACEOF
12627 configured by $0, generated by GNU Autoconf 2.59,
12628 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12630 Copyright (C) 2003 Free Software Foundation, Inc.
12631 This config.status script is free software; the Free Software Foundation
12632 gives unlimited permission to copy, distribute and modify it."
12637 cat >>$CONFIG_STATUS <<\_ACEOF
12638 # If no file are specified by the user, then we need to provide default
12639 # value. By we need to know if files were specified by the user.
12645 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12646 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12654 *) # This is not an option, so the user has probably given explicit
12657 ac_need_defaults
=false
;;
12661 # Handling of the options.
12663 cat >>$CONFIG_STATUS <<\_ACEOF
12664 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12666 --version |
--vers* |
-V )
12667 echo "$ac_cs_version"; exit 0 ;;
12669 # Conflict between --help and --header
12670 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12671 Try \`$0 --help' for more information." >&5
12672 echo "$as_me: error: ambiguous option: $1
12673 Try \`$0 --help' for more information." >&2;}
12674 { (exit 1); exit 1; }; };;
12675 --help |
--hel |
-h )
12676 echo "$ac_cs_usage"; exit 0 ;;
12677 --debug |
--d* |
-d )
12679 --file |
--fil |
--fi |
--f )
12681 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12682 ac_need_defaults
=false
;;
12683 --header |
--heade |
--head |
--hea )
12685 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12686 ac_need_defaults
=false
;;
12687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12688 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12691 # This is an error.
12692 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12693 Try \`$0 --help' for more information." >&5
12694 echo "$as_me: error: unrecognized option: $1
12695 Try \`$0 --help' for more information." >&2;}
12696 { (exit 1); exit 1; }; } ;;
12698 *) ac_config_targets
="$ac_config_targets $1" ;;
12704 ac_configure_extra_args
=
12706 if $ac_cs_silent; then
12708 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12712 cat >>$CONFIG_STATUS <<_ACEOF
12713 if \$ac_cs_recheck; then
12714 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12715 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12724 cat >>$CONFIG_STATUS <<\_ACEOF
12725 for ac_config_target
in $ac_config_targets
12727 case "$ac_config_target" in
12728 # Handling of arguments.
12729 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12730 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12731 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12732 { (exit 1); exit 1; }; };;
12736 # If the user did not use the arguments to specify the items to instantiate,
12737 # then the envvar interface is used. Set only those that are not.
12738 # We use the long form for the default assignment because of an extremely
12739 # bizarre bug on SunOS 4.1.3.
12740 if $ac_need_defaults; then
12741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12744 # Have a temporary directory for convenience. Make it in the build tree
12745 # simply because there is no reason to put it here, and in addition,
12746 # creating and moving files from /tmp can sometimes cause problems.
12747 # Create a temporary directory, and hook for its removal unless debugging.
12750 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12751 trap '{ (exit 1); exit 1; }' 1 2 13 15
12754 # Create a (secure) tmp directory for tmp files.
12757 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12758 test -n "$tmp" && test -d "$tmp"
12761 tmp
=.
/confstat$$
-$RANDOM
12762 (umask 077 && mkdir
$tmp)
12765 echo "$me: cannot create a temporary directory in ." >&2
12766 { (exit 1); exit 1; }
12771 cat >>$CONFIG_STATUS <<_ACEOF
12774 # CONFIG_FILES section.
12777 # No need to generate the scripts if there are no CONFIG_FILES.
12778 # This happens for instance when ./config.status config.h
12779 if test -n "\$CONFIG_FILES"; then
12780 # Protect against being on the right side of a sed subst in config.status.
12781 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12782 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12783 s,@SHELL@,$SHELL,;t t
12784 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12785 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12786 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12787 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12788 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12789 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12790 s,@exec_prefix@,$exec_prefix,;t t
12791 s,@prefix@,$prefix,;t t
12792 s,@program_transform_name@,$program_transform_name,;t t
12793 s,@bindir@,$bindir,;t t
12794 s,@sbindir@,$sbindir,;t t
12795 s,@libexecdir@,$libexecdir,;t t
12796 s,@datadir@,$datadir,;t t
12797 s,@sysconfdir@,$sysconfdir,;t t
12798 s,@sharedstatedir@,$sharedstatedir,;t t
12799 s,@localstatedir@,$localstatedir,;t t
12800 s,@libdir@,$libdir,;t t
12801 s,@includedir@,$includedir,;t t
12802 s,@oldincludedir@,$oldincludedir,;t t
12803 s,@infodir@,$infodir,;t t
12804 s,@mandir@,$mandir,;t t
12805 s,@build_alias@,$build_alias,;t t
12806 s,@host_alias@,$host_alias,;t t
12807 s,@target_alias@,$target_alias,;t t
12808 s,@DEFS@,$DEFS,;t t
12809 s,@ECHO_C@,$ECHO_C,;t t
12810 s,@ECHO_N@,$ECHO_N,;t t
12811 s,@ECHO_T@,$ECHO_T,;t t
12812 s,@LIBS@,$LIBS,;t t
12813 s,@build@,$build,;t t
12814 s,@build_cpu@,$build_cpu,;t t
12815 s,@build_vendor@,$build_vendor,;t t
12816 s,@build_os@,$build_os,;t t
12817 s,@build_noncanonical@,$build_noncanonical,;t t
12818 s,@host_noncanonical@,$host_noncanonical,;t t
12819 s,@target_noncanonical@,$target_noncanonical,;t t
12820 s,@host@,$host,;t t
12821 s,@host_cpu@,$host_cpu,;t t
12822 s,@host_vendor@,$host_vendor,;t t
12823 s,@host_os@,$host_os,;t t
12824 s,@target@,$target,;t t
12825 s,@target_cpu@,$target_cpu,;t t
12826 s,@target_vendor@,$target_vendor,;t t
12827 s,@target_os@,$target_os,;t t
12828 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12829 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12830 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12832 s,@LN_S@,$LN_S,;t t
12833 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12834 s,@build_libsubdir@,$build_libsubdir,;t t
12835 s,@build_subdir@,$build_subdir,;t t
12836 s,@host_subdir@,$host_subdir,;t t
12837 s,@target_subdir@,$target_subdir,;t t
12839 s,@CFLAGS@,$CFLAGS,;t t
12840 s,@LDFLAGS@,$LDFLAGS,;t t
12841 s,@CPPFLAGS@,$CPPFLAGS,;t t
12842 s,@ac_ct_CC@,$ac_ct_CC,;t t
12843 s,@EXEEXT@,$EXEEXT,;t t
12844 s,@OBJEXT@,$OBJEXT,;t t
12846 s,@CXXFLAGS@,$CXXFLAGS,;t t
12847 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12848 s,@GNATBIND@,$GNATBIND,;t t
12849 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12850 s,@GNATMAKE@,$GNATMAKE,;t t
12851 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12852 s,@do_compare@,$do_compare,;t t
12853 s,@gmplibs@,$gmplibs,;t t
12854 s,@gmpinc@,$gmpinc,;t t
12855 s,@stage1_languages@,$stage1_languages,;t t
12856 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12857 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12858 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
12859 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
12860 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12861 s,@tooldir@,$tooldir,;t t
12862 s,@build_tooldir@,$build_tooldir,;t t
12863 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12864 s,@GDB_TK@,$GDB_TK,;t t
12865 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12866 s,@build_configargs@,$build_configargs,;t t
12867 s,@build_configdirs@,$build_configdirs,;t t
12868 s,@host_configargs@,$host_configargs,;t t
12869 s,@configdirs@,$configdirs,;t t
12870 s,@target_configargs@,$target_configargs,;t t
12871 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12872 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
12873 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12874 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12875 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
12876 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
12877 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
12878 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
12879 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
12880 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
12881 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
12882 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
12883 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
12884 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
12885 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
12886 s,@config_shell@,$config_shell,;t t
12887 s,@YACC@,$YACC,;t t
12888 s,@BISON@,$BISON,;t t
12891 s,@FLEX@,$FLEX,;t t
12892 s,@MAKEINFO@,$MAKEINFO,;t t
12893 s,@EXPECT@,$EXPECT,;t t
12894 s,@RUNTEST@,$RUNTEST,;t t
12897 s,@DLLTOOL@,$DLLTOOL,;t t
12899 s,@LIPO@,$LIPO,;t t
12901 s,@RANLIB@,$RANLIB,;t t
12902 s,@STRIP@,$STRIP,;t t
12903 s,@WINDRES@,$WINDRES,;t t
12904 s,@WINDMC@,$WINDMC,;t t
12905 s,@OBJCOPY@,$OBJCOPY,;t t
12906 s,@OBJDUMP@,$OBJDUMP,;t t
12907 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12908 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12909 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12910 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12911 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12912 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12913 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12914 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12915 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12916 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12917 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12918 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12919 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12920 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12921 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12922 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12923 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12924 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12925 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12926 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12927 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12928 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12929 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12930 s,@MAINT@,$MAINT,;t t
12931 s,@stage1_cflags@,$stage1_cflags,;t t
12932 s,@stage1_checking@,$stage1_checking,;t t
12933 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12934 s,@datarootdir@,$datarootdir,;t t
12935 s,@docdir@,$docdir,;t t
12936 s,@pdfdir@,$pdfdir,;t t
12937 s,@htmldir@,$htmldir,;t t
12938 s,@LIBOBJS@,$LIBOBJS,;t t
12939 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12940 /@serialization_dependencies@/r $serialization_dependencies
12941 s,@serialization_dependencies@,,;t t
12942 /@host_makefile_frag@/r $host_makefile_frag
12943 s,@host_makefile_frag@,,;t t
12944 /@target_makefile_frag@/r $target_makefile_frag
12945 s,@target_makefile_frag@,,;t t
12946 /@alphaieee_frag@/r $alphaieee_frag
12947 s,@alphaieee_frag@,,;t t
12948 /@ospace_frag@/r $ospace_frag
12949 s,@ospace_frag@,,;t t
12954 cat >>$CONFIG_STATUS <<\_ACEOF
12955 # Split the substitutions into bite-sized pieces for seds with
12956 # small command number limits, like on Digital OSF/1 and HP-UX.
12957 ac_max_sed_lines
=48
12958 ac_sed_frag
=1 # Number of current file.
12959 ac_beg
=1 # First line for current file.
12960 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12963 while $ac_more_lines; do
12964 if test $ac_beg -gt 1; then
12965 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12967 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12969 if test ! -s $tmp/subs.frag
; then
12970 ac_more_lines
=false
12972 # The purpose of the label and of the branching condition is to
12973 # speed up the sed processing (if there are no `@' at all, there
12974 # is no need to browse any of the substitutions).
12975 # These are the two extra sed commands mentioned above.
12977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12978 if test -z "$ac_sed_cmds"; then
12979 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12981 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12983 ac_sed_frag
=`expr $ac_sed_frag + 1`
12985 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12988 if test -z "$ac_sed_cmds"; then
12991 fi # test -n "$CONFIG_FILES"
12994 cat >>$CONFIG_STATUS <<\_ACEOF
12995 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12996 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12998 - |
*:- |
*:-:* ) # input from stdin
13000 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13001 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13002 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13003 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13004 * ) ac_file_in
=$ac_file.
in ;;
13007 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13008 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13009 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13010 X"$ac_file" : 'X\(//\)[^/]' \| \
13011 X"$ac_file" : 'X\(//\)$' \| \
13012 X"$ac_file" : 'X\(/\)' \| \
13013 . : '\(.\)' 2>/dev/null ||
13015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13016 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13017 /^X\(\/\/\)$/{ s//\1/; q; }
13018 /^X\(\/\).*/{ s//\1/; q; }
13020 { if $as_mkdir_p; then
13025 while test ! -d "$as_dir"; do
13026 as_dirs
="$as_dir $as_dirs"
13027 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13028 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13029 X"$as_dir" : 'X\(//\)[^/]' \| \
13030 X"$as_dir" : 'X\(//\)$' \| \
13031 X"$as_dir" : 'X\(/\)' \| \
13032 . : '\(.\)' 2>/dev/null ||
13034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13035 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13036 /^X\(\/\/\)$/{ s//\1/; q; }
13037 /^X\(\/\).*/{ s//\1/; q; }
13040 test ! -n "$as_dirs" || mkdir
$as_dirs
13041 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13042 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13043 { (exit 1); exit 1; }; }; }
13047 if test "$ac_dir" != .
; then
13048 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13049 # A "../" for each directory in $ac_dir_suffix.
13050 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13052 ac_dir_suffix
= ac_top_builddir
=
13056 .
) # No --srcdir option. We are building in place.
13058 if test -z "$ac_top_builddir"; then
13061 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13063 [\\/]* | ?
:[\\/]* ) # Absolute path.
13064 ac_srcdir
=$srcdir$ac_dir_suffix;
13065 ac_top_srcdir
=$srcdir ;;
13066 *) # Relative path.
13067 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13068 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13071 # Do not use `cd foo && pwd` to compute absolute paths, because
13072 # the directories may not exist.
13074 .
) ac_abs_builddir
="$ac_dir";;
13077 .
) ac_abs_builddir
=`pwd`;;
13078 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13079 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13082 case $ac_abs_builddir in
13083 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13085 case ${ac_top_builddir}.
in
13086 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13087 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13088 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13091 case $ac_abs_builddir in
13092 .
) ac_abs_srcdir
=$ac_srcdir;;
13095 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13096 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13097 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13100 case $ac_abs_builddir in
13101 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13103 case $ac_top_srcdir in
13104 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13105 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13106 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13112 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13113 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13116 # Let's still pretend it is `configure' which instantiates (i.e., don't
13117 # use $as_me), people would be surprised to read:
13118 # /* config.h. Generated by config.status. */
13119 if test x
"$ac_file" = x-
; then
13122 configure_input
="$ac_file. "
13124 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13125 sed 's,.*/,,'` by configure."
13127 # First look for the input files in the build tree, otherwise in the
13129 ac_file_inputs
=`IFS=:
13130 for f in $ac_file_in; do
13132 -) echo $tmp/stdin ;;
13134 # Absolute (can't be DOS-style, as IFS=:)
13135 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13136 echo "$as_me: error: cannot find input file: $f" >&2;}
13137 { (exit 1); exit 1; }; }
13140 if test -f "$f"; then
13143 elif test -f "$srcdir/$f"; then
13148 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13149 echo "$as_me: error: cannot find input file: $f" >&2;}
13150 { (exit 1); exit 1; }; }
13153 done` ||
{ (exit 1); exit 1; }
13155 if test x
"$ac_file" != x-
; then
13156 { echo "$as_me:$LINENO: creating $ac_file" >&5
13157 echo "$as_me: creating $ac_file" >&6;}
13161 cat >>$CONFIG_STATUS <<_ACEOF
13165 cat >>$CONFIG_STATUS <<\_ACEOF
13167 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13168 s
,@configure_input@
,$configure_input,;t t
13169 s
,@srcdir@
,$ac_srcdir,;t t
13170 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13171 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13172 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13173 s
,@builddir@
,$ac_builddir,;t t
13174 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13175 s
,@top_builddir@
,$ac_top_builddir,;t t
13176 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13177 s
,@INSTALL@
,$ac_INSTALL,;t t
13178 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13180 if test x"$ac_file" != x-; then
13181 mv $tmp/out $ac_file
13190 cat >>$CONFIG_STATUS <<\_ACEOF
13192 { (exit 0); exit 0; }
13194 chmod +x $CONFIG_STATUS
13195 ac_clean_files=$ac_clean_files_save
13198 # configure is writing to config.log, and then calls config.status.
13199 # config.status does its own redirection, appending to config.log.
13200 # Unfortunately, on DOS this fails, as config.log is still kept open
13201 # by configure, so config.status won't be able to write to it; its
13202 # output is simply discarded. So we exec the FD to /dev/null,
13203 # effectively closing config.log, so it can be properly (re)opened and
13204 # appended to by config.status. When coming back to configure, we
13205 # need to make the FD available again.
13206 if test "$no_create" != yes; then
13208 ac_config_status_args=
13209 test "$silent" = yes &&
13210 ac_config_status_args="$ac_config_status_args --quiet"
13212 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13214 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13215 # would make configure fail if this is the last instruction.
13216 $ac_cs_success || { (exit 1); exit 1; }