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-gold use gold instead of ld
935 --enable-libada build libada directory
936 --enable-libssp build libssp directory
937 --enable-stage1-languages[=all
] choose additional languages to build during
938 stage1. Mostly useful
for compiler development.
939 --enable-objc-gc enable use of Boehm
's garbage collector with the
940 GNU Objective-C runtime
941 --enable-bootstrap enable bootstrapping [yes if native build]
942 --enable-serial-[{host,target,build}-]configure
943 force sequential configuration of
944 sub-packages for the host, target or build
945 machine, or all sub-packages
946 --enable-maintainer-mode enable make rules and dependencies not useful
947 (and sometimes confusing) to the casual installer
948 --enable-stage1-checking[=all] choose additional checking for stage1
950 --enable-werror enable -Werror in bootstrap stage2 and later
953 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
954 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
955 --with-build-libsubdir=DIR Directory where to find libraries for build system
956 --with-mpfr-dir=PATH this option has been REMOVED
957 --with-mpfr=PATH specify prefix directory for installed MPFR package.
958 Equivalent to --with-mpfr-include=PATH/include
959 plus --with-mpfr-lib=PATH/lib
960 --with-mpfr-include=PATH
961 specify directory for installed MPFR include files
962 --with-mpfr-lib=PATH specify directory for the installed MPFR library
963 --with-gmp-dir=PATH this option has been REMOVED
964 --with-gmp=PATH specify prefix directory for the installed GMP package.
965 Equivalent to --with-gmp-include=PATH/include
966 plus --with-gmp-lib=PATH/lib
967 --with-gmp-include=PATH specify directory for installed GMP include files
968 --with-gmp-lib=PATH specify directory for the installed GMP library
969 --with-build-sysroot=SYSROOT
970 use sysroot as the system root during the build
971 --with-debug-prefix-map='A
=B C
=D ...
'
972 map A to B, C to D ... in debug information
973 --with-build-time-tools=PATH
974 use given path to find target tools during the build
975 --with-datarootdir use datarootdir as the data root directory.
976 --with-docdir install documentation in this directory.
977 --with-pdfdir install pdf in this directory.
978 --with-htmldir install html in this directory.
980 Some influential environment variables:
981 CC C compiler command
982 CFLAGS C compiler flags
983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
984 nonstandard directory <lib dir>
985 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
986 headers in a nonstandard directory <include dir>
987 CXX C++ compiler command
988 CXXFLAGS C++ compiler flags
991 DLLTOOL DLLTOOL for the host
993 LIPO LIPO for the host
995 RANLIB RANLIB for the host
996 STRIP STRIP for the host
997 WINDRES WINDRES for the host
998 WINDMC WINDMC for the host
999 OBJCOPY OBJCOPY for the host
1000 OBJDUMP OBJDUMP for the host
1010 GFORTRAN for the target
1016 DLLTOOL for the target
1024 OBJDUMP for the target
1026 RANLIB for the target
1028 STRIP for the target
1030 WINDRES for the target
1032 WINDMC for the target
1034 Use these variables to override the choices made by `configure' or to
help
1035 it to
find libraries and programs with nonstandard names
/locations.
1040 if test "$ac_init_help" = "recursive"; then
1041 # If there are subdirs, report their specific --help.
1043 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1044 test -d $ac_dir ||
continue
1047 if test "$ac_dir" != .
; then
1048 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1049 # A "../" for each directory in $ac_dir_suffix.
1050 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1052 ac_dir_suffix
= ac_top_builddir
=
1056 .
) # No --srcdir option. We are building in place.
1058 if test -z "$ac_top_builddir"; then
1061 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1063 [\\/]* | ?
:[\\/]* ) # Absolute path.
1064 ac_srcdir
=$srcdir$ac_dir_suffix;
1065 ac_top_srcdir
=$srcdir ;;
1067 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1068 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1071 # Do not use `cd foo && pwd` to compute absolute paths, because
1072 # the directories may not exist.
1074 .
) ac_abs_builddir
="$ac_dir";;
1077 .
) ac_abs_builddir
=`pwd`;;
1078 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1079 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1082 case $ac_abs_builddir in
1083 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1085 case ${ac_top_builddir}.
in
1086 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1087 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1088 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1091 case $ac_abs_builddir in
1092 .
) ac_abs_srcdir
=$ac_srcdir;;
1095 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1096 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1097 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1100 case $ac_abs_builddir in
1101 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1103 case $ac_top_srcdir in
1104 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1105 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1106 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1111 # Check for guested configure; otherwise get Cygnus style configure.
1112 if test -f $ac_srcdir/configure.gnu
; then
1114 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1115 elif test -f $ac_srcdir/configure
; then
1117 $SHELL $ac_srcdir/configure
--help=recursive
1118 elif test -f $ac_srcdir/configure.ac ||
1119 test -f $ac_srcdir/configure.
in; then
1121 $ac_configure --help
1123 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129 test -n "$ac_init_help" && exit 0
1130 if $ac_init_version; then
1133 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1134 This configure
script is free software
; the Free Software Foundation
1135 gives unlimited permission to copy
, distribute and modify it.
1141 This file contains any messages produced by compilers while
1142 running configure, to aid debugging if configure makes a mistake.
1144 It was created by $as_me, which was
1145 generated by GNU Autoconf 2.59. Invocation command line was
1156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1168 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1179 test -z "$as_dir" && as_dir
=.
1180 echo "PATH: $as_dir"
1195 # Keep a trace of the command line.
1196 # Strip out --no-create and --no-recursion so they do not pile up.
1197 # Strip out --silent because we don't want to record it for future runs.
1198 # Also quote any args containing shell meta-characters.
1199 # Make two passes to allow for proper duplicate-argument suppression.
1204 ac_must_keep_next
=false
1210 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1211 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1212 |
-silent |
--silent |
--silen |
--sile |
--sil)
1214 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1218 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1220 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1221 if test $ac_must_keep_next = true
; then
1222 ac_must_keep_next
=false
# Got value, back to normal.
1225 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1226 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1227 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1228 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1229 case "$ac_configure_args0 " in
1230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1233 -* ) ac_must_keep_next
=true
;;
1236 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1237 # Get rid of the leading space.
1243 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1244 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1246 # When interrupted or exit'd, cleanup temporary files, and complete
1247 # config.log. We remove comments because anyway the quotes in there
1248 # would cause problems or look ugly.
1249 # WARNING: Be sure not to use single quotes in there, as some shells,
1250 # such as our DU 5.0 friend, will then `close' the trap.
1251 trap 'exit_status=$?
1252 # Save into config.log some information that might help in debugging.
1257 ## ---------------- ##
1258 ## Cache variables. ##
1259 ## ---------------- ##
1262 # The following way of writing the cache mishandles newlines in values,
1265 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1268 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ## ----------------- ##
1281 ## Output variables. ##
1282 ## ----------------- ##
1285 for ac_var in $ac_subst_vars
1287 eval ac_val=$`echo $ac_var`
1288 echo "$ac_var='"'"'$ac_val'"'"'"
1292 if test -n "$ac_subst_files"; then
1299 for ac_var in $ac_subst_files
1301 eval ac_val=$`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -s confdefs.h; then
1314 sed "/^$/d" confdefs.h | sort
1317 test "$ac_signal" != 0 &&
1318 echo "$as_me: caught signal $ac_signal"
1319 echo "$as_me: exit $exit_status"
1321 rm -f core *.core &&
1322 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1325 for ac_signal
in 1 2 13 15; do
1326 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1330 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1331 rm -rf conftest
* confdefs.h
1332 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1335 # Predefined preprocessor variables.
1337 cat >>confdefs.h
<<_ACEOF
1338 #define PACKAGE_NAME "$PACKAGE_NAME"
1342 cat >>confdefs.h
<<_ACEOF
1343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1347 cat >>confdefs.h
<<_ACEOF
1348 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_STRING "$PACKAGE_STRING"
1357 cat >>confdefs.h
<<_ACEOF
1358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1362 # Let the site file select an alternate cache file if it wants to.
1363 # Prefer explicitly selected file to automatically selected ones.
1364 if test -z "$CONFIG_SITE"; then
1365 if test "x$prefix" != xNONE
; then
1366 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1368 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1371 for ac_site_file
in $CONFIG_SITE; do
1372 if test -r "$ac_site_file"; then
1373 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1374 echo "$as_me: loading site script $ac_site_file" >&6;}
1375 sed 's/^/| /' "$ac_site_file" >&5
1380 if test -r "$cache_file"; then
1381 # Some versions of bash will fail to source /dev/null (special
1382 # files actually), so we avoid doing that.
1383 if test -f "$cache_file"; then
1384 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1385 echo "$as_me: loading cache $cache_file" >&6;}
1387 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1388 *) . .
/$cache_file;;
1392 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1393 echo "$as_me: creating cache $cache_file" >&6;}
1397 # Check that the precious variables saved in the cache have kept the same
1399 ac_cache_corrupted
=false
1400 for ac_var
in `(set) 2>&1 |
1401 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1402 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1403 eval ac_new_set
=\
$ac_env_${ac_var}_set
1404 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1405 eval ac_new_val
="\$ac_env_${ac_var}_value"
1406 case $ac_old_set,$ac_new_set in
1408 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1409 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1410 ac_cache_corrupted
=: ;;
1412 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1413 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1414 ac_cache_corrupted
=: ;;
1417 if test "x$ac_old_val" != "x$ac_new_val"; then
1418 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1419 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1420 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1421 echo "$as_me: former value: $ac_old_val" >&2;}
1422 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1423 echo "$as_me: current value: $ac_new_val" >&2;}
1424 ac_cache_corrupted
=:
1427 # Pass precious variables to config.status.
1428 if test "$ac_new_set" = set; then
1430 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1431 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1432 *) ac_arg
=$ac_var=$ac_new_val ;;
1434 case " $ac_configure_args " in
1435 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1436 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1440 if $ac_cache_corrupted; then
1441 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1442 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1443 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1444 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1445 { (exit 1); exit 1; }; }
1449 ac_cpp
='$CPP $CPPFLAGS'
1450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1474 # Find the build, host, and target systems.
1476 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1477 if test -f $ac_dir/install-sh
; then
1479 ac_install_sh
="$ac_aux_dir/install-sh -c"
1481 elif test -f $ac_dir/install.sh
; then
1483 ac_install_sh
="$ac_aux_dir/install.sh -c"
1485 elif test -f $ac_dir/shtool
; then
1487 ac_install_sh
="$ac_aux_dir/shtool install -c"
1491 if test -z "$ac_aux_dir"; then
1492 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1493 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1494 { (exit 1); exit 1; }; }
1496 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1497 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1498 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1500 # Make sure we can run config.sub.
1501 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1502 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1503 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1504 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: checking build system type" >&5
1507 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1508 if test "${ac_cv_build+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 ac_cv_build_alias
=$build_alias
1512 test -z "$ac_cv_build_alias" &&
1513 ac_cv_build_alias
=`$ac_config_guess`
1514 test -z "$ac_cv_build_alias" &&
1515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1517 { (exit 1); exit 1; }; }
1518 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1520 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1521 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1525 echo "${ECHO_T}$ac_cv_build" >&6
1527 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1528 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1529 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1532 case ${build_alias} in
1533 "") build_noncanonical
=${build} ;;
1534 *) build_noncanonical
=${build_alias} ;;
1539 case ${host_alias} in
1540 "") host_noncanonical
=${build_noncanonical} ;;
1541 *) host_noncanonical
=${host_alias} ;;
1546 case ${target_alias} in
1547 "") target_noncanonical
=${host_noncanonical} ;;
1548 *) target_noncanonical
=${target_alias} ;;
1554 test "$host_noncanonical" = "$target_noncanonical" &&
1555 test "$program_prefix$program_suffix$program_transform_name" = \
1557 program_transform_name
=s
,y
,y
,
1559 echo "$as_me:$LINENO: checking host system type" >&5
1560 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1561 if test "${ac_cv_host+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 ac_cv_host_alias
=$host_alias
1565 test -z "$ac_cv_host_alias" &&
1566 ac_cv_host_alias
=$ac_cv_build_alias
1567 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1568 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1569 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1570 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1574 echo "${ECHO_T}$ac_cv_host" >&6
1576 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581 echo "$as_me:$LINENO: checking target system type" >&5
1582 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1583 if test "${ac_cv_target+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 ac_cv_target_alias
=$target_alias
1587 test "x$ac_cv_target_alias" = "x" &&
1588 ac_cv_target_alias
=$ac_cv_host_alias
1589 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1596 echo "${ECHO_T}$ac_cv_target" >&6
1597 target
=$ac_cv_target
1598 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 # The aliases save the names the user supplied, while $host etc.
1604 # will get canonicalized.
1605 test -n "$target_alias" &&
1606 test "$program_prefix$program_suffix$program_transform_name" = \
1608 program_prefix
=${target_alias}-
1609 test "$program_prefix" != NONE
&&
1610 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1611 # Use a double $ so make ignores it.
1612 test "$program_suffix" != NONE
&&
1613 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1614 # Double any \ or $. echo might interpret backslashes.
1615 # By default was `s,x,x', remove it if useless.
1616 cat <<\_ACEOF
>conftest.
sed
1617 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1619 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1624 # Get 'install' or 'install-sh' and its variants.
1625 # Find a good install program. We prefer a C program (faster),
1626 # so one script is as good as another. But avoid the broken or
1627 # incompatible versions:
1628 # SysV /etc/install, /usr/sbin/install
1629 # SunOS /usr/etc/install
1630 # IRIX /sbin/install
1632 # AmigaOS /C/install, which installs bootblocks on floppy discs
1633 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1634 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1635 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1636 # OS/2's system install, which has a completely different semantic
1637 # ./install, which can be erroneously created by make from ./install.sh.
1638 # Reject install programs that cannot install multiple files.
1639 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1640 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1641 if test -z "$INSTALL"; then
1642 if test "${ac_cv_path_install+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 # Account for people who put trailing slashes in PATH elements.
1652 .
/ | .
// |
/cC
/* | \
1653 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1654 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1657 # OSF1 and SCO ODT 3.0 have their own names for install.
1658 # Don't use installbsd from OSF since it installs stuff as root
1660 for ac_prog
in ginstall scoinst
install; do
1661 for ac_exec_ext
in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1663 if test $ac_prog = install &&
1664 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1665 # AIX install. It has an incompatible calling convention.
1667 elif test $ac_prog = install &&
1668 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1669 # program-specific install script used by HP pwplus--don't use.
1672 rm -rf conftest.one conftest.two conftest.dir
1673 echo one
> conftest.one
1674 echo two
> conftest.two
1676 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1677 test -s conftest.one
&& test -s conftest.two
&&
1678 test -s conftest.dir
/conftest.one
&&
1679 test -s conftest.dir
/conftest.two
1681 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1692 rm -rf conftest.one conftest.two conftest.dir
1695 if test "${ac_cv_path_install+set}" = set; then
1696 INSTALL
=$ac_cv_path_install
1698 # As a last resort, use the slow shell script. Don't cache a
1699 # value for INSTALL within a source directory, because that will
1700 # break other packages using the cache if that directory is
1701 # removed, or if the value is a relative name.
1702 INSTALL
=$ac_install_sh
1705 echo "$as_me:$LINENO: result: $INSTALL" >&5
1706 echo "${ECHO_T}$INSTALL" >&6
1708 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1709 # It thinks the first close brace ends the variable substitution.
1710 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1712 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1714 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1716 echo "$as_me:$LINENO: checking whether ln works" >&5
1717 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1718 if test "${acx_cv_prog_LN+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 rm -f conftestdata_t
1722 echo >conftestdata_f
1723 if ln conftestdata_f conftestdata_t
2>/dev
/null
1729 rm -f conftestdata_f conftestdata_t
1732 if test $acx_cv_prog_LN = no
; then
1734 echo "$as_me:$LINENO: result: no, using $LN" >&5
1735 echo "${ECHO_T}no, using $LN" >&6
1737 LN
="$acx_cv_prog_LN"
1738 echo "$as_me:$LINENO: result: yes" >&5
1739 echo "${ECHO_T}yes" >&6
1742 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1743 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1745 if test "$LN_S" = "ln -s"; then
1746 echo "$as_me:$LINENO: result: yes" >&5
1747 echo "${ECHO_T}yes" >&6
1749 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1750 echo "${ECHO_T}no, using $LN_S" >&6
1754 ### we might need to use some other shell than /bin/sh for running subshells
1755 ### If we are on Windows, search for the shell. This will permit people
1756 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1757 ### without also having to set CONFIG_SHELL. This code will work when
1758 ### using bash, which sets OSTYPE.
1761 if test x
${CONFIG_SHELL} = x
; then
1762 if test ! -f /bin
/sh
; then
1763 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1764 CONFIG_SHELL
=${SHELL}
1767 for prog
in sh sh.exe bash bash.exe
; do
1768 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1769 for dir
in $PATH; do
1770 test -z "$dir" && dir
=.
1771 if test -f $dir/$prog; then
1772 CONFIG_SHELL
=$dir/$prog
1778 test -n "${CONFIG_SHELL}" && break
1786 config_shell
=${CONFIG_SHELL-/bin/sh}
1789 # if PWD already has a value, it is probably wrong.
1790 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1792 # Export original configure arguments for use by sub-configures.
1793 # Quote arguments with shell meta charatcers.
1794 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1795 set -- "$progname" "$@"
1799 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1800 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1801 # if the argument is of the form -foo=baz, quote the baz part only
1802 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1805 # Add the quoted argument to the list.
1806 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1808 if test "$silent" = yes; then
1809 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1811 # Remove the initial space we just introduced and, as these will be
1812 # expanded by make, quote '$'.
1813 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1816 moveifchange
=${srcdir}/move-if-change
1818 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1820 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1822 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1823 INSTALL
="${srcpwd}/install-sh -c"
1826 # Set srcdir to "." if that's what it is.
1827 # This is important for multilib support.
1829 if test "${pwd}" = "${srcpwd}" ; then
1837 ### To add a new directory to the tree, first choose whether it is a target
1838 ### or a host dependent tool. Then put it into the appropriate list
1839 ### (library or tools, host or target), doing a dependency sort.
1841 # Subdirs will be configured in the order listed in build_configdirs,
1842 # configdirs, or target_configdirs; see the serialization section below.
1844 # Dependency sorting is only needed when *configuration* must be done in
1845 # a particular order. In all cases a dependency should be specified in
1846 # the Makefile, whether or not it's implicitly specified here.
1848 # Double entries in build_configdirs, configdirs, or target_configdirs may
1849 # cause circular dependencies and break everything horribly.
1851 # these library is used by various programs built for the build
1854 build_libs
="build-libiberty"
1856 # these tools are built for the build environment
1857 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1859 # these libraries are used by various programs built for the host environment
1861 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1863 # these tools are built for the host environment
1864 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1865 # know that we are building the simulator.
1866 # binutils, gas and ld appear in that order because it makes sense to run
1867 # "make check" in that particular order.
1868 # If --enable-gold is used, "gold" will replace "ld".
1869 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"
1871 # libgcj represents the runtime libraries only used by gcj.
1872 libgcj
="target-libffi \
1877 # these libraries are built for the target environment, and are built after
1878 # the host libraries and the host tools (which may be a cross compiler)
1880 target_libraries
="target-libgcc \
1885 target-libstdc++-v3 \
1888 target-libgfortran \
1894 # these tools are built using the target libraries, and are intended to
1895 # run only in the target environment
1897 # note: any program that *uses* libraries that are in the "target_libraries"
1898 # list belongs in this list. those programs are also very likely
1899 # candidates for the "native_only" list which follows
1901 target_tools
="target-examples target-groff target-gperf target-rda"
1903 ################################################################################
1905 ## All tools belong in one of the four categories, and are assigned above
1906 ## We assign ${configdirs} this way to remove all embedded newlines. This
1907 ## is important because configure will choke if they ever get through.
1908 ## ${configdirs} is directories we build using the host tools.
1909 ## ${target_configdirs} is directories we build using the target tools.
1910 configdirs
=`echo ${host_libs} ${host_tools}`
1911 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1912 build_configdirs
=`echo ${build_libs} ${build_tools}`
1916 ################################################################################
1918 srcname
="gnu development package"
1920 # This gets set non-empty for some net releases of packages.
1923 # Define is_cross_compiler to save on calls to 'test'.
1925 if test x
"${host}" = x
"${target}" ; then
1926 is_cross_compiler
=no
1928 is_cross_compiler
=yes
1931 # Find the build and target subdir names.
1933 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1934 # have matching libraries, they should use host libraries: Makefile.tpl
1935 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1936 # However, they still use the build modules, because the corresponding
1937 # host modules (e.g. bison) are only built for the host when bootstrap
1939 # - build_subdir is where we find build modules, and never changes.
1940 # - build_libsubdir is where we find build libraries, and can be overridden.
1942 # Prefix 'build-' so this never conflicts with target_subdir.
1943 build_subdir
="build-${build_noncanonical}"
1945 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1946 if test "${with_build_libsubdir+set}" = set; then
1947 withval
="$with_build_libsubdir"
1948 build_libsubdir
="$withval"
1950 build_libsubdir
="$build_subdir"
1952 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1953 if ( test $srcdir = .
&& test -d gcc
) \
1954 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1955 host_subdir
="host-${host_noncanonical}"
1960 target_subdir
=${target_noncanonical}
1963 # Skipdirs are removed silently.
1965 # Noconfigdirs are removed loudly.
1969 # Make sure we don't let GNU ld be added if we didn't want it.
1970 if test x
$with_gnu_ld = xno
; then
1972 noconfigdirs
="$noconfigdirs ld gold"
1976 # Make sure we don't let GNU as be added if we didn't want it.
1977 if test x
$with_gnu_as = xno
; then
1979 noconfigdirs
="$noconfigdirs gas"
1982 # some tools are so dependent upon X11 that if we're not building with X,
1983 # it's not even worth trying to configure, much less build, that tool.
1986 yes |
"") ;; # the default value for this tree is that X11 is available
1988 skipdirs
="${skipdirs} tk itcl libgui"
1989 # We won't be able to build gdbtk without X.
1992 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1995 # Some tools are only suitable for building in a "native" situation.
1996 # Remove these if host!=target.
1997 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"
1999 # Similarly, some are only suitable for cross toolchains.
2000 # Remove these if host=target.
2001 cross_only
="target-libgloss target-newlib target-opcodes"
2003 case $is_cross_compiler in
2004 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2005 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2008 # If both --with-headers and --with-libs are specified, default to
2010 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2011 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2012 if test x
"${with_newlib}" = x
; then
2017 # Recognize --with-newlib/--without-newlib.
2018 case ${with_newlib} in
2019 no
) skipdirs
="${skipdirs} target-newlib" ;;
2020 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2023 # Handle --enable-gold.
2025 # Check whether --enable-gold or --disable-gold was given.
2026 if test "${enable_gold+set}" = set; then
2027 enableval
="$enable_gold"
2028 ENABLE_GOLD
=$enableval
2032 if test "${ENABLE_GOLD}" = "yes"; then
2033 # Check for ELF target.
2036 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2037 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2038 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2040 *-*-linux*aout
* |
*-*-linux*oldld
*)
2048 if test "$is_elf" = "yes"; then
2049 # Check for target supported by gold.
2051 i?
86-*-* | x86_64-
*-*)
2052 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2058 # Configure extra directories which are host specific
2062 configdirs
="$configdirs libtermcap" ;;
2065 # A target can indicate whether a language isn't supported for some reason.
2066 # Only spaces may be used in this macro; not newlines or tabs.
2067 unsupported_languages
=
2069 # Remove more programs from consideration, based on the host or
2070 # target this usually means that a port of the program doesn't
2075 noconfigdirs
="$noconfigdirs byacc"
2077 i
[3456789]86-*-vsta)
2078 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2080 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2081 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2084 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2086 i
[3456789]86-*-mingw32*)
2087 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2088 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2090 i
[3456789]86-*-beos*)
2091 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2094 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2097 noconfigdirs
="$noconfigdirs rcs"
2100 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2103 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2108 # Check whether --enable-libada or --disable-libada was given.
2109 if test "${enable_libada+set}" = set; then
2110 enableval
="$enable_libada"
2111 ENABLE_LIBADA
=$enableval
2115 if test "${ENABLE_LIBADA}" != "yes" ; then
2116 noconfigdirs
="$noconfigdirs gnattools"
2119 # Check whether --enable-libssp or --disable-libssp was given.
2120 if test "${enable_libssp+set}" = set; then
2121 enableval
="$enable_libssp"
2122 ENABLE_LIBSSP
=$enableval
2127 # Save it here so that, even in case of --enable-libgcj, if the Java
2128 # front-end isn't enabled, we still get libgcj disabled.
2129 libgcj_saved
=$libgcj
2130 case $enable_libgcj in
2132 # If we reset it here, it won't get added to noconfigdirs in the
2133 # target-specific build rules, so it will be forcibly enabled
2134 # (unless the Java language itself isn't enabled).
2138 # Make sure we get it printed in the list of not supported target libs.
2139 noconfigdirs
="$noconfigdirs ${libgcj}"
2144 # Disable libmudflap on some systems.
2145 if test x
$enable_libmudflap = x
; then
2147 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2148 # Enable libmudflap by default in GNU and friends.
2151 # Enable libmudflap by default in FreeBSD.
2154 # Disable it by default everywhere else.
2155 noconfigdirs
="$noconfigdirs target-libmudflap"
2160 # Disable libgomp on non POSIX hosted systems.
2161 if test x
$enable_libgomp = x
; then
2162 # Enable libgomp by default on hosted POSIX systems.
2164 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2166 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2168 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2170 *-*-darwin* |
*-*-aix*)
2173 noconfigdirs
="$noconfigdirs target-libgomp"
2178 # Default libgloss CPU subdirectory.
2179 libgloss_dir
="$target_cpu"
2183 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2185 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2186 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2187 noconfigdirs
="$noconfigdirs sim target-rda"
2190 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2191 noconfigdirs
="$noconfigdirs sim target-rda"
2192 noconfigdirs
="$noconfigdirs ${libgcj}"
2194 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2195 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2198 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2199 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2200 && test -f /usr
/local
/include
/gmp.h
; then
2204 # Skip some stuff that's unsupported on some FreeBSD configurations.
2209 noconfigdirs
="$noconfigdirs ${libgcj}"
2214 # Remove unsupported stuff on all kaOS configurations.
2215 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2216 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2217 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2218 noconfigdirs
="$noconfigdirs target-libgloss"
2221 # Skip some stuff on all NetBSD configurations.
2222 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2224 # Skip some stuff that's unsupported on some NetBSD configurations.
2226 i
*86-*-netbsdelf*) ;;
2227 arm
*-*-netbsdelf*) ;;
2229 noconfigdirs
="$noconfigdirs ${libgcj}"
2234 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2237 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2239 # The tpf target doesn't support gdb yet.
2241 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2244 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2247 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2250 # ld works, but does not support shared libraries.
2251 # newlib is not 64 bit ready. I'm not sure about fileutils.
2252 # gas doesn't generate exception information.
2253 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2256 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2259 # newlib is not 64 bit ready
2260 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2263 # newlib is not 64 bit ready
2264 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2267 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2270 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2272 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2273 noconfigdirs
="$noconfigdirs ${libgcj}"
2274 noconfigdirs
="$noconfigdirs target-examples"
2275 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2276 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2277 noconfigdirs
="$noconfigdirs expect dejagnu"
2278 # the C++ libraries don't build on top of CE's C libraries
2279 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2280 noconfigdirs
="$noconfigdirs target-newlib"
2282 *-*-cygwin*) ;; # keep gdb and readline
2283 *) noconfigdirs
="$noconfigdirs gdb readline"
2289 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2293 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2294 noconfigdirs
="$noconfigdirs ${libgcj}"
2297 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2298 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2301 arm
*-*-linux-gnueabi)
2302 noconfigdirs
="$noconfigdirs target-qthreads"
2303 noconfigdirs
="$noconfigdirs target-libobjc"
2304 case ${with_newlib} in
2305 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2310 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2314 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2317 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2320 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2323 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2326 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2329 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2332 noconfigdirs
="$noconfigdirs gdb"
2333 if test x
${is_cross_compiler} != xno
; then
2334 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2337 c4x-
*-* | tic4x-
*-*)
2338 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2340 c54x
*-*-* | tic54x-
*-*)
2341 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2343 cris-
*-* | crisv32-
*-*)
2344 unsupported_languages
="$unsupported_languages java"
2347 unsupported_languages
="$unsupported_languages fortran"
2348 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2350 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2352 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2354 unsupported_languages
="$unsupported_languages fortran"
2355 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2360 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2363 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2366 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2368 ep9312-
*-elf | ep9312-
*-coff)
2372 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2375 noconfigdirs
="$noconfigdirs ${libgcj}"
2378 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2381 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2383 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2385 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2386 # In this case, it's because the hppa64-linux target is for
2387 # the kernel only at this point and has no libc, and thus no
2388 # headers, crt*.o, etc., all of which are needed by these.
2389 noconfigdirs
="$noconfigdirs target-zlib"
2391 parisc
*-*-linux* | hppa
*-*-linux*)
2395 hppa
*-*-openbsd* | \
2397 noconfigdirs
="$noconfigdirs ${libgcj}"
2400 noconfigdirs
="$noconfigdirs ld shellutils"
2406 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2407 # build on HP-UX 10.20.
2408 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2411 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2414 # No gdb support yet.
2415 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2418 # No gdb or ld support yet.
2419 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2423 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2424 noconfigdirs
="$noconfigdirs ${libgcj}"
2427 i
[3456789]86-*-linux*)
2428 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2429 # not build java stuff by default.
2432 noconfigdirs
="$noconfigdirs ${libgcj}";;
2435 # This section makes it possible to build newlib natively on linux.
2436 # If we are using a cross compiler then don't configure newlib.
2437 if test x
${is_cross_compiler} != xno
; then
2438 noconfigdirs
="$noconfigdirs target-newlib"
2440 noconfigdirs
="$noconfigdirs target-libgloss"
2441 # If we are not using a cross compiler, do configure newlib.
2442 # Note however, that newlib will only be configured in this situation
2443 # if the --with-newlib option has been given, because otherwise
2444 # 'target-newlib' will appear in skipdirs.
2446 i
[3456789]86-*-mingw32*)
2447 target_configdirs
="$target_configdirs target-winsup"
2448 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2451 target_configdirs
="$target_configdirs target-winsup"
2452 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2455 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2456 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2457 # always build newlib if winsup directory is present.
2458 if test -d "$srcdir/winsup/cygwin"; then
2459 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2460 elif test -d "$srcdir/newlib"; then
2461 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2464 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2465 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2468 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2470 i
[3456789]86-*-sco3.2v5
*)
2471 # The linker does not yet know about weak symbols in COFF,
2472 # and is not configured to handle mixed ELF and COFF.
2473 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2475 i
[3456789]86-*-sco*)
2476 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2478 i
[3456789]86-*-solaris2*)
2479 noconfigdirs
="$noconfigdirs target-libgloss"
2481 i
[3456789]86-*-sysv4*)
2482 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2484 i
[3456789]86-*-beos*)
2485 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2487 i
[3456789]86-*-rdos*)
2488 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2491 noconfigdirs
="$noconfigdirs ${libgcj}"
2493 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2494 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2495 libgloss_dir
=m68hc11
2498 noconfigdirs
="$noconfigdirs ${libgcj}"
2501 noconfigdirs
="$noconfigdirs ${libgcj}"
2503 m68
*-*-* | fido-
*-*)
2507 # The EPOC C++ environment does not support exceptions or rtti,
2508 # and so building libstdc++-v3 tends not to always work.
2509 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2512 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2513 unsupported_languages
="$unsupported_languages fortran java"
2516 noconfigdirs
="$noconfigdirs ${libgcj}"
2519 noconfigdirs
="$noconfigdirs ${libgcj}"
2522 noconfigdirs
="$noconfigdirs sim"
2525 # copied from rs6000-*-* entry
2526 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2528 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2529 target_configdirs
="$target_configdirs target-winsup"
2530 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2531 # always build newlib.
2532 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2534 # This is temporary until we can link against shared libraries
2535 powerpcle-
*-solaris*)
2536 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2540 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2543 noconfigdirs
="$noconfigdirs ${libgcj}"
2546 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2550 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2553 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2556 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2559 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2562 skipdirs
="$skipdirs target-libiberty"
2563 noconfigdirs
="$noconfigdirs ${libgcj}"
2564 if test x
$with_newlib = xyes
; then
2565 noconfigdirs
="$noconfigdirs gprof"
2570 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2573 # Linking libjava exceeds command-line length limits on at least
2574 # IRIX 6.2, but not on IRIX 6.5.
2575 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2576 # <oldham@codesourcery.com>
2577 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2580 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2586 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2590 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2594 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2595 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2596 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2597 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2599 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2601 sparclet-
*-aout* | sparc86x-
*-*)
2605 noconfigdirs
="$noconfigdirs ${libgcj}"
2608 noconfigdirs
="$noconfigdirs ${libgcj}"
2612 noconfigdirs
="$noconfigdirs ${libgcj}"
2616 noconfigdirs
="$noconfigdirs ${libgcj}"
2617 if test x
${is_cross_compiler} != xno
; then
2618 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2623 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2624 noconfigdirs
="$noconfigdirs ${libgcj}"
2626 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2629 skipdirs
="target-libssp"
2632 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2635 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2638 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2641 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2644 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2650 noconfigdirs
="$noconfigdirs ${libgcj}"
2653 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2655 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2662 noconfigdirs
="$noconfigdirs ${libgcj}"
2666 # If we aren't building newlib, then don't build libgloss, since libgloss
2667 # depends upon some newlib header files.
2668 case "${noconfigdirs}" in
2669 *target-libgloss
*) ;;
2670 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2673 # Work in distributions that contain no compiler tools, like Autoconf.
2675 host_makefile_frag
=/dev
/null
2676 if test -d ${srcdir}/config
; then
2679 # Avoid "too much defining" errors from HPUX compiler.
2680 tentative_cc
="cc -Wp,-H256000"
2681 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2682 # If it's HP/UX ar, this should be harmless.
2686 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2689 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2690 # chokes on bfd, the compiler won't let you assign integers to enums, and
2691 # other problems. Defining CC to gcc is a questionable way to say "don't use
2692 # the apollo compiler" (the preferred version of GCC could be called cc,
2693 # or whatever), but I'm not sure leaving CC as cc is any better...
2694 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2695 # Used to have BISON=yacc.
2699 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2702 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2703 tentative_cc
="cc -Xa"
2704 host_makefile_frag
="config/mh-cxux"
2706 m88k-motorola-sysv
*)
2709 tentative_cc
="cc -Wf,-XNg1000"
2710 host_makefile_frag
="config/mh-decstation"
2713 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2714 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2715 host_makefile_frag
="config/mh-necv4"
2718 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2719 # environment. Also bump switch table size so that cp-parse will
2720 # compile. Bump string length limit so linker builds.
2721 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2724 host_makefile_frag
="config/mh-sysv4"
2727 # This is for a MIPS running RISC/os 4.52C.
2729 # This is needed for GDB, but needs to be in the top-level make because
2730 # if a library is compiled with the bsd headers and gets linked with the
2731 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2732 # a different size).
2733 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2734 # known except to select the sysv environment. Could we use /proc instead?
2735 # These "sysv environments" and "bsd environments" often end up being a pain.
2737 # This is not part of CFLAGS because perhaps not all C compilers have this
2739 tentative_cc
="cc -systype sysv"
2744 i
[3456789]86-*-sysv5*)
2745 host_makefile_frag
="config/mh-sysv5"
2747 i
[3456789]86-*-dgux*)
2748 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2749 host_makefile_frag
="config/mh-dgux386"
2751 i
[3456789]86-ncr-sysv4.3
*)
2752 # The MetaWare compiler will generate a copyright message unless you
2753 # turn it off by adding the -Hnocopyr flag.
2754 tentative_cc
="cc -Hnocopyr"
2756 i
[3456789]86-ncr-sysv4*)
2757 # for an NCR 3000 (i486/SVR4) system.
2758 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2759 # This compiler not only emits obnoxious copyright messages every time
2760 # you run it, but it chokes and dies on a whole bunch of GNU source
2761 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2762 tentative_cc
="/usr/ccs/ATT/cc"
2763 host_makefile_frag
="config/mh-ncr3000"
2765 i
[3456789]86-*-sco3.2v5
*)
2767 i
[3456789]86-*-sco*)
2768 # The native C compiler botches some simple uses of const. Unfortunately,
2769 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2770 tentative_cc
="cc -Dconst="
2771 host_makefile_frag
="config/mh-sco"
2773 i
[3456789]86-*-udk*)
2774 host_makefile_frag
="config/mh-sysv5"
2776 i
[3456789]86-*-solaris2*)
2777 host_makefile_frag
="config/mh-sysv4"
2779 i
[3456789]86-*-msdosdjgpp*)
2780 host_makefile_frag
="config/mh-djgpp"
2783 host_makefile_frag
="config/mh-cygwin"
2786 host_makefile_frag
="config/mh-mingw"
2789 host_makefile_frag
="config/mh-interix"
2792 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2796 host_makefile_frag
="config/mh-solaris"
2799 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2800 # without overflowing the jump tables (-J says to use a 32 bit table)
2801 tentative_cc
="cc -J"
2804 tentative_cc
="cc -Wp,-H256000"
2807 tentative_cc
="cc -Wp,-H256000"
2810 # /bin/cc is less than useful for our purposes. Always use GCC
2811 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2812 host_makefile_frag
="config/mh-lynxrs6k"
2815 host_makefile_frag
="config/mh-ppc-darwin"
2818 host_makefile_frag
="config/mh-ppc-aix"
2821 host_makefile_frag
="config/mh-ppc-aix"
2824 # /bin/cc is less than useful for our purposes. Always use GCC
2825 tentative_cc
="/bin/gcc"
2828 host_makefile_frag
="config/mh-sysv4"
2830 # This is placed last to prevent interfering with the cases above.
2832 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2833 host_makefile_frag
="config/mh-x86omitfp"
2838 # If we aren't going to be using gcc, see if we can extract a definition
2839 # of CC from the fragment.
2840 # Actually, use the 'pre-extracted' version above.
2841 if test -z "${CC}" && test "${build}" = "${host}" ; then
2842 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2844 for dir
in $PATH; do
2845 test -z "$dir" && dir
=.
2846 if test -f $dir/gcc
; then
2852 if test -z "${found}" && test -n "${tentative_cc}" ; then
2857 if test "${build}" != "${host}" ; then
2858 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2859 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2860 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2861 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2862 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2863 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2864 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2865 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2866 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2867 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2868 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2869 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2871 AR_FOR_BUILD
="\$(AR)"
2872 AS_FOR_BUILD
="\$(AS)"
2873 CC_FOR_BUILD
="\$(CC)"
2874 CXX_FOR_BUILD
="\$(CXX)"
2875 GCJ_FOR_BUILD
="\$(GCJ)"
2876 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2877 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2878 LD_FOR_BUILD
="\$(LD)"
2879 NM_FOR_BUILD
="\$(NM)"
2880 RANLIB_FOR_BUILD
="\$(RANLIB)"
2881 WINDRES_FOR_BUILD
="\$(WINDRES)"
2882 WINDMC_FOR_BUILD
="\$(WINDMC)"
2886 ac_cpp
='$CPP $CPPFLAGS'
2887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2892 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2893 echo "$as_me:$LINENO: checking for $ac_word" >&5
2894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2895 if test "${ac_cv_prog_CC+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC
="$CC" # Let the user override the test.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_exec_ext
in '' $ac_executable_extensions; do
2907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 if test -n "$CC"; then
2919 echo "$as_me:$LINENO: result: $CC" >&5
2920 echo "${ECHO_T}$CC" >&6
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2927 if test -z "$ac_cv_prog_CC"; then
2929 # Extract the first word of "gcc", so it can be a program name with args.
2930 set dummy gcc
; ac_word
=$2
2931 echo "$as_me:$LINENO: checking for $ac_word" >&5
2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 if test -n "$ac_ct_CC"; then
2937 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir
=.
2944 for ac_exec_ext
in '' $ac_executable_extensions; do
2945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_ac_ct_CC
="gcc"
2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2956 if test -n "$ac_ct_CC"; then
2957 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2958 echo "${ECHO_T}$ac_ct_CC" >&6
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2969 if test -z "$CC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2972 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2973 echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2975 if test "${ac_cv_prog_CC+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 if test -n "$CC"; then
2979 ac_cv_prog_CC
="$CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CC"; then
2999 echo "$as_me:$LINENO: result: $CC" >&5
3000 echo "${ECHO_T}$CC" >&6
3002 echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6
3007 if test -z "$ac_cv_prog_CC"; then
3009 # Extract the first word of "cc", so it can be a program name with args.
3010 set dummy cc
; ac_word
=$2
3011 echo "$as_me:$LINENO: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -n "$ac_ct_CC"; then
3017 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir
=.
3024 for ac_exec_ext
in '' $ac_executable_extensions; do
3025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_ac_ct_CC
="cc"
3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3036 if test -n "$ac_ct_CC"; then
3037 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3038 echo "${ECHO_T}$ac_ct_CC" >&6
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3050 if test -z "$CC"; then
3051 # Extract the first word of "cc", so it can be a program name with args.
3052 set dummy cc
; ac_word
=$2
3053 echo "$as_me:$LINENO: checking for $ac_word" >&5
3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3055 if test "${ac_cv_prog_CC+set}" = set; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3058 if test -n "$CC"; then
3059 ac_cv_prog_CC
="$CC" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir
=.
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3070 ac_prog_rejected
=yes
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 if test $ac_prog_rejected = yes; then
3081 # We found a bogon in the path, so make sure we never use it.
3082 set dummy
$ac_cv_prog_CC
3084 if test $# != 0; then
3085 # We chose a different compiler from the bogus one.
3086 # However, it has the same basename, so the bogon will be chosen
3087 # first if we set CC to just the basename; use the full file name.
3089 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3095 if test -n "$CC"; then
3096 echo "$as_me:$LINENO: result: $CC" >&5
3097 echo "${ECHO_T}$CC" >&6
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3104 if test -z "$CC"; then
3105 if test -n "$ac_tool_prefix"; then
3108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3109 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_CC+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 if test -n "$CC"; then
3116 ac_cv_prog_CC
="$CC" # Let the user override the test.
3118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir
=.
3123 for ac_exec_ext
in '' $ac_executable_extensions; do
3124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test -n "$CC"; then
3136 echo "$as_me:$LINENO: result: $CC" >&5
3137 echo "${ECHO_T}$CC" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3143 test -n "$CC" && break
3146 if test -z "$CC"; then
3150 # Extract the first word of "$ac_prog", so it can be a program name with args.
3151 set dummy
$ac_prog; ac_word
=$2
3152 echo "$as_me:$LINENO: checking for $ac_word" >&5
3153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3154 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3155 echo $ECHO_N "(cached) $ECHO_C" >&6
3157 if test -n "$ac_ct_CC"; then
3158 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir
=.
3165 for ac_exec_ext
in '' $ac_executable_extensions; do
3166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3167 ac_cv_prog_ac_ct_CC
="$ac_prog"
3168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3177 if test -n "$ac_ct_CC"; then
3178 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3179 echo "${ECHO_T}$ac_ct_CC" >&6
3181 echo "$as_me:$LINENO: result: no" >&5
3182 echo "${ECHO_T}no" >&6
3185 test -n "$ac_ct_CC" && break
3194 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3195 See \`config.log' for more details." >&5
3196 echo "$as_me: error: no acceptable C compiler found in \$PATH
3197 See \`config.log' for more details." >&2;}
3198 { (exit 1); exit 1; }; }
3200 # Provide some information about the compiler.
3201 echo "$as_me:$LINENO:" \
3202 "checking for C compiler version" >&5
3203 ac_compiler
=`set X $ac_compile; echo $2`
3204 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3205 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }
3209 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3210 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }
3214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3215 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }
3220 cat >conftest.
$ac_ext <<_ACEOF
3223 cat confdefs.h
>>conftest.
$ac_ext
3224 cat >>conftest.
$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3235 ac_clean_files_save
=$ac_clean_files
3236 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3237 # Try to create an executable without -o first, disregard a.out.
3238 # It will help us diagnose broken compilers, and finding out an intuition
3240 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3241 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3242 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3243 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3244 (eval $ac_link_default) 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; then
3248 # Find the output, starting from the most likely. This scheme is
3249 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3252 # Be careful to initialize this variable, since it used to be cached.
3253 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3255 # b.out is created by i960 compilers.
3256 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3258 test -f "$ac_file" ||
continue
3260 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3263 # This is the source file.
3266 # We found the default executable, but exeext='' is most
3270 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3271 # FIXME: I believe we export ac_cv_exeext for Libtool,
3272 # but it would be cool to find out if it's true. Does anybody
3273 # maintain Libtool? --akim.
3281 echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.
$ac_ext >&5
3284 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3285 See \`config.log' for more details." >&5
3286 echo "$as_me: error: C compiler cannot create executables
3287 See \`config.log' for more details." >&2;}
3288 { (exit 77); exit 77; }; }
3291 ac_exeext
=$ac_cv_exeext
3292 echo "$as_me:$LINENO: result: $ac_file" >&5
3293 echo "${ECHO_T}$ac_file" >&6
3295 # Check the compiler produces executables we can run. If not, either
3296 # the compiler is broken, or we cross compile.
3297 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3298 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3299 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3300 # If not cross compiling, check that we can run a simple program.
3301 if test "$cross_compiling" != yes; then
3302 if { ac_try
='./$ac_file'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3310 if test "$cross_compiling" = maybe
; then
3313 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3314 If you meant to cross compile, use \`--host'.
3315 See \`config.log' for more details." >&5
3316 echo "$as_me: error: cannot run C compiled programs.
3317 If you meant to cross compile, use \`--host'.
3318 See \`config.log' for more details." >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3326 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3327 ac_clean_files
=$ac_clean_files_save
3328 # Check the compiler produces executables we can run. If not, either
3329 # the compiler is broken, or we cross compile.
3330 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3331 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3332 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3333 echo "${ECHO_T}$cross_compiling" >&6
3335 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3336 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3338 (eval $ac_link) 2>&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; then
3342 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3343 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3344 # work properly (i.e., refer to `conftest.exe'), while it won't with
3346 for ac_file
in conftest.exe conftest conftest.
*; do
3347 test -f "$ac_file" ||
continue
3349 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3350 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3357 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3358 See \`config.log' for more details." >&5
3359 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3360 See \`config.log' for more details." >&2;}
3361 { (exit 1); exit 1; }; }
3364 rm -f conftest
$ac_cv_exeext
3365 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3366 echo "${ECHO_T}$ac_cv_exeext" >&6
3368 rm -f conftest.
$ac_ext
3369 EXEEXT
=$ac_cv_exeext
3371 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3372 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3373 if test "${ac_cv_objext+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 cat >conftest.
$ac_ext <<_ACEOF
3379 cat confdefs.h
>>conftest.
$ac_ext
3380 cat >>conftest.
$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3391 rm -f conftest.o conftest.obj
3392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3393 (eval $ac_compile) 2>&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; then
3397 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3399 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3400 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3408 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3409 See \`config.log' for more details." >&5
3410 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3411 See \`config.log' for more details." >&2;}
3412 { (exit 1); exit 1; }; }
3415 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3417 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3418 echo "${ECHO_T}$ac_cv_objext" >&6
3419 OBJEXT
=$ac_cv_objext
3421 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3422 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3423 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 cat >conftest.
$ac_ext <<_ACEOF
3429 cat confdefs.h
>>conftest.
$ac_ext
3430 cat >>conftest.
$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3444 rm -f conftest.
$ac_objext
3445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3446 (eval $ac_compile) 2>conftest.er1
3448 grep -v '^ *+' conftest.er1
>conftest.err
3450 cat conftest.err
>&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } &&
3453 { ac_try
='test -z "$ac_c_werror_flag"
3454 || test ! -s conftest.err'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; } &&
3460 { ac_try
='test -s conftest.$ac_objext'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; }; then
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.
$ac_ext >&5
3473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3474 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3477 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3478 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3479 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3480 ac_test_CFLAGS
=${CFLAGS+set}
3481 ac_save_CFLAGS
=$CFLAGS
3483 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3484 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3485 if test "${ac_cv_prog_cc_g+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3488 cat >conftest.
$ac_ext <<_ACEOF
3491 cat confdefs.h
>>conftest.
$ac_ext
3492 cat >>conftest.
$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3503 rm -f conftest.
$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try
='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; } &&
3519 { ac_try
='test -s conftest.$ac_objext'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.
$ac_ext >&5
3532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3534 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3535 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3536 if test "$ac_test_CFLAGS" = set; then
3537 CFLAGS
=$ac_save_CFLAGS
3538 elif test $ac_cv_prog_cc_g = yes; then
3539 if test "$GCC" = yes; then
3545 if test "$GCC" = yes; then
3551 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3552 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3553 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 ac_cv_prog_cc_stdc
=no
3558 cat >conftest.
$ac_ext <<_ACEOF
3561 cat confdefs.h
>>conftest.
$ac_ext
3562 cat >>conftest.
$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3566 #include <sys/types.h>
3567 #include <sys/stat.h>
3568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3569 struct buf { int x; };
3570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3571 static char *e (p, i)
3577 static char *f (char * (*g) (char **, int), char **p, ...)
3582 s = g (p, va_arg (v,int));
3587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3588 function prototypes and stuff, but not '\xHH' hex character constants.
3589 These don't provoke an error unfortunately, instead are silently treated
3590 as 'x'. The following induces an error, until -std1 is added to get
3591 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3592 array size at least. It's necessary to write '\x00'==0 to get something
3593 that's true only with -std1. */
3594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3596 int test (int i, double x);
3597 struct s1 {int (*f) (int a);};
3598 struct s2 {int (*f) (double a);};
3599 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3605 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3610 # Don't try gcc -ansi; that turns off useful extensions and
3611 # breaks some systems' header files.
3612 # AIX -qlanglvl=ansi
3613 # Ultrix and OSF/1 -std1
3614 # HP-UX 10.20 and later -Ae
3615 # HP-UX older versions -Aa -D_HPUX_SOURCE
3616 # SVR4 -Xc -D__EXTENSIONS__
3617 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3619 CC
="$ac_save_CC $ac_arg"
3620 rm -f conftest.
$ac_objext
3621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3622 (eval $ac_compile) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1
>conftest.err
3626 cat conftest.err
>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try
='test -z "$ac_c_werror_flag"
3630 || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try
='test -s conftest.$ac_objext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_prog_cc_stdc
=$ac_arg
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.
$ac_ext >&5
3649 rm -f conftest.err conftest.
$ac_objext
3651 rm -f conftest.
$ac_ext conftest.
$ac_objext
3656 case "x$ac_cv_prog_cc_stdc" in
3658 echo "$as_me:$LINENO: result: none needed" >&5
3659 echo "${ECHO_T}none needed" >&6 ;;
3661 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3662 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3663 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3666 # Some people use a C++ compiler to compile C. Since we use `exit',
3667 # in C++ we need to declare it. In case someone uses the same compiler
3668 # for both compiling C and C++ we need to have the C++ compiler decide
3669 # the declaration of exit, since it's the most demanding environment.
3670 cat >conftest.
$ac_ext <<_ACEOF
3675 rm -f conftest.
$ac_objext
3676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3677 (eval $ac_compile) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1
>conftest.err
3681 cat conftest.err
>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } &&
3684 { ac_try
='test -z "$ac_c_werror_flag"
3685 || test ! -s conftest.err'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; } &&
3691 { ac_try
='test -s conftest.$ac_objext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3697 for ac_declaration
in \
3699 'extern "C" void std::exit (int) throw (); using std::exit;' \
3700 'extern "C" void std::exit (int); using std::exit;' \
3701 'extern "C" void exit (int) throw ();' \
3702 'extern "C" void exit (int);' \
3705 cat >conftest.
$ac_ext <<_ACEOF
3708 cat confdefs.h
>>conftest.
$ac_ext
3709 cat >>conftest.
$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3721 rm -f conftest.
$ac_objext
3722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723 (eval $ac_compile) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1
>conftest.err
3727 cat conftest.err
>&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } &&
3730 { ac_try
='test -z "$ac_c_werror_flag"
3731 || test ! -s conftest.err'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; } &&
3737 { ac_try
='test -s conftest.$ac_objext'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.
$ac_ext >&5
3750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3751 cat >conftest.
$ac_ext <<_ACEOF
3754 cat confdefs.h
>>conftest.
$ac_ext
3755 cat >>conftest.
$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3766 rm -f conftest.
$ac_objext
3767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3768 (eval $ac_compile) 2>conftest.er1
3770 grep -v '^ *+' conftest.er1
>conftest.err
3772 cat conftest.err
>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } &&
3775 { ac_try
='test -z "$ac_c_werror_flag"
3776 || test ! -s conftest.err'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try
='test -s conftest.$ac_objext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; }; then
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.
$ac_ext >&5
3794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3797 if test -n "$ac_declaration"; then
3798 echo '#ifdef __cplusplus' >>confdefs.h
3799 echo $ac_declaration >>confdefs.h
3800 echo '#endif' >>confdefs.h
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.
$ac_ext >&5
3808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3810 ac_cpp
='$CPP $CPPFLAGS'
3811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3816 ac_cpp
='$CXXCPP $CPPFLAGS'
3817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3820 if test -n "$ac_tool_prefix"; then
3821 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3824 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3825 echo "$as_me:$LINENO: checking for $ac_word" >&5
3826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3827 if test "${ac_cv_prog_CXX+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 if test -n "$CXX"; then
3831 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 if test -n "$CXX"; then
3851 echo "$as_me:$LINENO: result: $CXX" >&5
3852 echo "${ECHO_T}$CXX" >&6
3854 echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3858 test -n "$CXX" && break
3861 if test -z "$CXX"; then
3863 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3865 # Extract the first word of "$ac_prog", so it can be a program name with args.
3866 set dummy
$ac_prog; ac_word
=$2
3867 echo "$as_me:$LINENO: checking for $ac_word" >&5
3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 if test -n "$ac_ct_CXX"; then
3873 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3879 test -z "$as_dir" && as_dir
=.
3880 for ac_exec_ext
in '' $ac_executable_extensions; do
3881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3892 if test -n "$ac_ct_CXX"; then
3893 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3894 echo "${ECHO_T}$ac_ct_CXX" >&6
3896 echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6
3900 test -n "$ac_ct_CXX" && break
3902 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3908 # Provide some information about the compiler.
3909 echo "$as_me:$LINENO:" \
3910 "checking for C++ compiler version" >&5
3911 ac_compiler
=`set X $ac_compile; echo $2`
3912 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3913 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }
3917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3918 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }
3922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3923 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }
3928 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3929 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3930 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 cat >conftest.
$ac_ext <<_ACEOF
3936 cat confdefs.h
>>conftest.
$ac_ext
3937 cat >>conftest.
$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3951 rm -f conftest.
$ac_objext
3952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3953 (eval $ac_compile) 2>conftest.er1
3955 grep -v '^ *+' conftest.er1
>conftest.err
3957 cat conftest.err
>&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } &&
3960 { ac_try
='test -z "$ac_cxx_werror_flag"
3961 || test ! -s conftest.err'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; } &&
3967 { ac_try
='test -s conftest.$ac_objext'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; }; then
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3981 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3984 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3985 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3986 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3987 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3988 ac_save_CXXFLAGS
=$CXXFLAGS
3990 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3991 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3992 if test "${ac_cv_prog_cxx_g+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3995 cat >conftest.
$ac_ext <<_ACEOF
3998 cat confdefs.h
>>conftest.
$ac_ext
3999 cat >>conftest.
$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4010 rm -f conftest.
$ac_objext
4011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4012 (eval $ac_compile) 2>conftest.er1
4014 grep -v '^ *+' conftest.er1
>conftest.err
4016 cat conftest.err
>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } &&
4019 { ac_try
='test -z "$ac_cxx_werror_flag"
4020 || test ! -s conftest.err'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; } &&
4026 { ac_try
='test -s conftest.$ac_objext'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; }; then
4032 ac_cv_prog_cxx_g
=yes
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.
$ac_ext >&5
4039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4041 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4042 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4043 if test "$ac_test_CXXFLAGS" = set; then
4044 CXXFLAGS
=$ac_save_CXXFLAGS
4045 elif test $ac_cv_prog_cxx_g = yes; then
4046 if test "$GXX" = yes; then
4052 if test "$GXX" = yes; then
4058 for ac_declaration
in \
4060 'extern "C" void std::exit (int) throw (); using std::exit;' \
4061 'extern "C" void std::exit (int); using std::exit;' \
4062 'extern "C" void exit (int) throw ();' \
4063 'extern "C" void exit (int);' \
4066 cat >conftest.
$ac_ext <<_ACEOF
4069 cat confdefs.h
>>conftest.
$ac_ext
4070 cat >>conftest.
$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4082 rm -f conftest.
$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try
='test -z "$ac_cxx_werror_flag"
4092 || test ! -s conftest.err'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; } &&
4098 { ac_try
='test -s conftest.$ac_objext'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; }; then
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.
$ac_ext >&5
4111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4112 cat >conftest.
$ac_ext <<_ACEOF
4115 cat confdefs.h
>>conftest.
$ac_ext
4116 cat >>conftest.
$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4127 rm -f conftest.
$ac_objext
4128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4129 (eval $ac_compile) 2>conftest.er1
4131 grep -v '^ *+' conftest.er1
>conftest.err
4133 cat conftest.err
>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } &&
4136 { ac_try
='test -z "$ac_cxx_werror_flag"
4137 || test ! -s conftest.err'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; } &&
4143 { ac_try
='test -s conftest.$ac_objext'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; }; then
4151 echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.
$ac_ext >&5
4155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4158 if test -n "$ac_declaration"; then
4159 echo '#ifdef __cplusplus' >>confdefs.h
4160 echo $ac_declaration >>confdefs.h
4161 echo '#endif' >>confdefs.h
4165 ac_cpp
='$CPP $CPPFLAGS'
4166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4171 # We must set the default linker to the linker used by gcc for the correct
4172 # operation of libtool. If LD is not defined and we are using gcc, try to
4173 # set the LD default to the ld used by gcc.
4174 if test -z "$LD"; then
4175 if test "$GCC" = yes; then
4178 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4180 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4182 case $gcc_prog_ld in
4183 # Accept absolute paths.
4184 [\\/]* |
[A-Za-z
]:[\\/]*)
4185 LD
="$gcc_prog_ld" ;;
4193 if test -n "$ac_tool_prefix"; then
4194 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4195 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4196 echo "$as_me:$LINENO: checking for $ac_word" >&5
4197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4198 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 if test -n "$GNATBIND"; then
4202 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir
=.
4209 for ac_exec_ext
in '' $ac_executable_extensions; do
4210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 GNATBIND
=$ac_cv_prog_GNATBIND
4221 if test -n "$GNATBIND"; then
4222 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4223 echo "${ECHO_T}$GNATBIND" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4230 if test -z "$ac_cv_prog_GNATBIND"; then
4231 ac_ct_GNATBIND
=$GNATBIND
4232 # Extract the first word of "gnatbind", so it can be a program name with args.
4233 set dummy gnatbind
; ac_word
=$2
4234 echo "$as_me:$LINENO: checking for $ac_word" >&5
4235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4236 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 if test -n "$ac_ct_GNATBIND"; then
4240 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir
=.
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4259 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4260 if test -n "$ac_ct_GNATBIND"; then
4261 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4262 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4268 GNATBIND
=$ac_ct_GNATBIND
4270 GNATBIND
="$ac_cv_prog_GNATBIND"
4273 if test -n "$ac_tool_prefix"; then
4274 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4275 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4276 echo "$as_me:$LINENO: checking for $ac_word" >&5
4277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4278 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 if test -n "$GNATMAKE"; then
4282 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 test -z "$as_dir" && as_dir
=.
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4291 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 GNATMAKE
=$ac_cv_prog_GNATMAKE
4301 if test -n "$GNATMAKE"; then
4302 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4303 echo "${ECHO_T}$GNATMAKE" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4310 if test -z "$ac_cv_prog_GNATMAKE"; then
4311 ac_ct_GNATMAKE
=$GNATMAKE
4312 # Extract the first word of "gnatmake", so it can be a program name with args.
4313 set dummy gnatmake
; ac_word
=$2
4314 echo "$as_me:$LINENO: checking for $ac_word" >&5
4315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4316 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 if test -n "$ac_ct_GNATMAKE"; then
4320 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4339 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4340 if test -n "$ac_ct_GNATMAKE"; then
4341 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4342 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4348 GNATMAKE
=$ac_ct_GNATMAKE
4350 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4353 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4354 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4355 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 cat >conftest.adb
<<EOF
4359 procedure conftest is begin null; end conftest;
4361 acx_cv_cc_gcc_supports_ada
=no
4362 # There is a bug in old released versions of GCC which causes the
4363 # driver to exit successfully when the appropriate language module
4364 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4365 # Therefore we must check for the error message as well as an
4366 # unsuccessful exit.
4367 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4368 # given a .adb file, but produce no object file. So we must check
4369 # if an object file was really produced to guard against this.
4370 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4371 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4372 acx_cv_cc_gcc_supports_ada
=yes
4376 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4377 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4379 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4385 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4386 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4387 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4393 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4394 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4397 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4400 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4401 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4404 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4410 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4411 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4412 do_compare
="$gcc_cv_prog_cmp_skip"
4416 # Check for GMP and MPFR
4417 gmplibs
="-lmpfr -lgmp"
4421 # Specify a location for mpfr
4422 # check for this first so it ends up on the link line before gmp.
4424 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4425 if test "${with_mpfr_dir+set}" = set; then
4426 withval
="$with_mpfr_dir"
4427 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4428 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4429 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4430 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4431 { (exit 1); exit 1; }; }
4435 # Check whether --with-mpfr or --without-mpfr was given.
4436 if test "${with_mpfr+set}" = set; then
4437 withval
="$with_mpfr"
4441 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4442 if test "${with_mpfr_include+set}" = set; then
4443 withval
="$with_mpfr_include"
4447 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4448 if test "${with_mpfr_lib+set}" = set; then
4449 withval
="$with_mpfr_lib"
4453 if test "x$with_mpfr" != x
; then
4454 gmplibs
="-L$with_mpfr/lib $gmplibs"
4455 gmpinc
="-I$with_mpfr/include"
4457 if test "x$with_mpfr_include" != x
; then
4458 gmpinc
="-I$with_mpfr_include"
4460 if test "x$with_mpfr_lib" != x
; then
4461 gmplibs
="-L$with_mpfr_lib $gmplibs"
4463 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4464 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4465 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4466 # Do not test the mpfr version. Assume that it is sufficient, since
4467 # it is in the source tree, and the library has not been built yet
4468 # but it would be included on the link line in the version check below
4469 # hence making the test fail.
4473 # Specify a location for gmp
4475 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4476 if test "${with_gmp_dir+set}" = set; then
4477 withval
="$with_gmp_dir"
4478 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4479 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4480 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4481 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4482 { (exit 1); exit 1; }; }
4486 # Check whether --with-gmp or --without-gmp was given.
4487 if test "${with_gmp+set}" = set; then
4492 # Check whether --with-gmp_include or --without-gmp_include was given.
4493 if test "${with_gmp_include+set}" = set; then
4494 withval
="$with_gmp_include"
4498 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4499 if test "${with_gmp_lib+set}" = set; then
4500 withval
="$with_gmp_lib"
4505 if test "x$with_gmp" != x
; then
4506 gmplibs
="-L$with_gmp/lib $gmplibs"
4507 gmpinc
="-I$with_gmp/include $gmpinc"
4509 if test "x$with_gmp_include" != x
; then
4510 gmpinc
="-I$with_gmp_include $gmpinc"
4512 if test "x$with_gmp_lib" != x
; then
4513 gmplibs
="-L$with_gmp_lib $gmplibs"
4515 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4516 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4517 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4518 # Do not test the gmp version. Assume that it is sufficient, since
4519 # it is in the source tree, and the library has not been built yet
4520 # but it would be included on the link line in the version check below
4521 # hence making the test fail.
4525 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4527 saved_CFLAGS
="$CFLAGS"
4528 CFLAGS
="$CFLAGS $gmpinc"
4529 # Check GMP actually works
4530 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4531 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4533 cat >conftest.
$ac_ext <<_ACEOF
4536 cat confdefs.h
>>conftest.
$ac_ext
4537 cat >>conftest.
$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4544 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4552 rm -f conftest.
$ac_objext
4553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4554 (eval $ac_compile) 2>conftest.er1
4556 grep -v '^ *+' conftest.er1
>conftest.err
4558 cat conftest.err
>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } &&
4561 { ac_try
='test -z "$ac_c_werror_flag"
4562 || test ! -s conftest.err'
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; } &&
4568 { ac_try
='test -s conftest.$ac_objext'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; }; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.
$ac_ext >&5
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; have_gmp
=no
4583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4585 if test x
"$have_gmp" = xyes
; then
4587 LIBS
="$LIBS $gmplibs"
4588 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4589 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4590 cat >conftest.
$ac_ext <<_ACEOF
4593 cat confdefs.h
>>conftest.
$ac_ext
4594 cat >>conftest.
$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4602 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4610 mpfr_atan2 (n, n, x, GMP_RNDN);
4611 mpfr_erfc (n, x, GMP_RNDN);
4612 mpfr_subnormalize (x, t, GMP_RNDN);
4618 rm -f conftest.
$ac_objext conftest
$ac_exeext
4619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4620 (eval $ac_link) 2>conftest.er1
4622 grep -v '^ *+' conftest.er1
>conftest.err
4624 cat conftest.err
>&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); } &&
4627 { ac_try
='test -z "$ac_c_werror_flag"
4628 || test ! -s conftest.err'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; } &&
4634 { ac_try
='test -s conftest$ac_exeext'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; }; then
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4652 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4655 mpfr_t n; mpfr_init(n);
4661 rm -f conftest.
$ac_objext conftest
$ac_exeext
4662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4663 (eval $ac_link) 2>conftest.er1
4665 grep -v '^ *+' conftest.er1
>conftest.err
4667 cat conftest.err
>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } &&
4670 { ac_try
='test -z "$ac_c_werror_flag"
4671 || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try
='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4689 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4690 echo "${ECHO_T}buggy but acceptable" >&6
4692 rm -f conftest.err conftest.
$ac_objext \
4693 conftest
$ac_exeext conftest.
$ac_ext
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4698 echo "$as_me:$LINENO: result: no" >&5
4699 echo "${ECHO_T}no" >&6; have_gmp
=no
4701 rm -f conftest.err conftest.
$ac_objext \
4702 conftest
$ac_exeext conftest.
$ac_ext
4705 CFLAGS
="$saved_CFLAGS"
4707 if test x
$have_gmp != xyes
; then
4708 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4709 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4710 Copies of these libraries' source code can be found at their respective
4711 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4712 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4713 If you obtained GMP and/or MPFR from a vendor distribution package, make
4714 sure that you have installed both the libraries and the header files.
4715 They may be located in separate packages." >&5
4716 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4717 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4718 Copies of these libraries' source code can be found at their respective
4719 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4720 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4721 If you obtained GMP and/or MPFR from a vendor distribution package, make
4722 sure that you have installed both the libraries and the header files.
4723 They may be located in separate packages." >&2;}
4724 { (exit 1); exit 1; }; }
4728 # Flags needed for both GMP and/or MPFR
4732 # By default, C is the only stage 1 language.
4733 stage1_languages
=,c
,
4735 # Figure out what language subdirectories are present.
4736 # Look if the user specified --enable-languages="..."; if not, use
4737 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4739 # NB: embedded tabs in this IF block -- do not untabify
4740 if test -d ${srcdir}/gcc
; then
4741 if test x
"${enable_languages+set}" != xset
; then
4742 if test x
"${LANGUAGES+set}" = xset
; then
4743 enable_languages
="${LANGUAGES}"
4744 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4746 enable_languages
=all
4749 if test x
"${enable_languages}" = x ||
4750 test x
"${enable_languages}" = xyes
;
4752 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4756 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4758 # 'f95' is the old name for the 'fortran' language. We issue a warning
4759 # and make the substitution.
4760 case ,${enable_languages}, in
4762 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4763 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4767 # First scan to see if an enabled language requires some other language.
4768 # We assume that a given config-lang.in will list all the language
4769 # front ends it requires, even if some are required indirectly.
4770 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4771 case ${lang_frag} in
4773 # The odd quoting in the next line works around
4774 # an apparent bug in bash 1.12 on linux.
4775 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4777 # From the config-lang.in, get $language, $lang_requires
4781 for other
in ${lang_requires} ; do
4782 case ,${enable_languages}, in
4786 echo " \`$other' language required by \`$language'; enabling" 1>&2
4787 enable_languages
="${enable_languages},${other}"
4795 new_enable_languages
=,c
,
4796 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4797 potential_languages
=,c
,
4799 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4800 case ${lang_frag} in
4802 # The odd quoting in the next line works around
4803 # an apparent bug in bash 1.12 on linux.
4804 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4806 # From the config-lang.in, get $language, $target_libs,
4807 # $lang_dirs, $boot_language, and $build_by_default
4813 build_by_default
=yes
4815 if test x
${language} = x
; then
4816 echo "${lang_frag} doesn't set \$language." 1>&2
4820 case ,${enable_languages}, in
4822 # Language was explicitly selected; include it.
4826 # 'all' was selected, select it if it is a default language
4827 add_this_lang
=${build_by_default}
4834 # Disable languages that need other directories if these aren't available.
4835 for i
in $subdir_requires; do
4836 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4837 case ,${enable_languages}, in
4839 # Specifically requested language; tell them.
4840 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4841 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4842 { (exit 1); exit 1; }; }
4846 add_this_lang
=unsupported
4851 # Disable Ada if no preexisting GNAT is available.
4852 case ,${enable_languages},:${language}:${have_gnat} in
4853 *,${language},*:ada
:no
)
4854 # Specifically requested language; tell them.
4855 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4856 echo "$as_me: error: GNAT is required to build $language" >&2;}
4857 { (exit 1); exit 1; }; }
4861 add_this_lang
=unsupported
4865 # Disable a language that is unsupported by the target.
4866 case " $unsupported_languages " in
4868 add_this_lang
=unsupported
4872 case $add_this_lang in
4874 # Remove language-dependent dirs.
4875 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4878 # Remove language-dependent dirs; still show language as supported.
4879 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4880 potential_languages
="${potential_languages}${language},"
4883 new_enable_languages
="${new_enable_languages}${language},"
4884 potential_languages
="${potential_languages}${language},"
4885 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4886 case ${boot_language} in
4888 # Add to (comma-separated) list of stage 1 languages.
4889 stage1_languages
="${stage1_languages}${language},"
4898 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4899 if test "${enable_stage1_languages+set}" = set; then
4900 enableval
="$enable_stage1_languages"
4901 case ,${enable_stage1_languages}, in
4903 # Set it to something that will have no effect in the loop below
4904 enable_stage1_languages
=c
;;
4906 enable_stage1_languages
=`echo $new_enable_languages | \
4907 sed -e "s/^,//" -e "s/,$//" ` ;;
4909 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4910 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4913 # Add "good" languages from enable_stage1_languages to stage1_languages,
4914 # while "bad" languages go in missing_languages. Leave no duplicates.
4915 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4916 case $potential_languages in
4918 case $stage1_languages in
4920 *) stage1_languages
="$stage1_languages$i," ;;
4923 case $missing_languages in
4925 *) missing_languages
="$missing_languages$i," ;;
4931 # Remove leading/trailing commas that were added for simplicity
4932 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4933 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4934 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4935 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4937 if test "x$missing_languages" != x
; then
4938 { { echo "$as_me:$LINENO: error:
4939 The following requested languages could not be built: ${missing_languages}
4940 Supported languages are: ${potential_languages}" >&5
4941 echo "$as_me: error:
4942 The following requested languages could not be built: ${missing_languages}
4943 Supported languages are: ${potential_languages}" >&2;}
4944 { (exit 1); exit 1; }; }
4946 if test "x$new_enable_languages" != "x$enable_languages"; then
4947 echo The following languages will be built
: ${new_enable_languages}
4948 enable_languages
="$new_enable_languages"
4952 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4955 # Handle --disable-<component> generically.
4956 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4957 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4958 varname
=`echo $dirname | sed -e s/+/_/g`
4959 if eval test x\
${enable_${varname}} "=" xno
; then
4960 noconfigdirs
="$noconfigdirs $dir"
4964 # Check for Boehm's garbage collector
4965 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4966 if test "${enable_objc_gc+set}" = set; then
4967 enableval
="$enable_objc_gc"
4968 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4969 *,objc
,*:*:yes:*target-boehm-gc
*)
4970 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4971 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4972 { (exit 1); exit 1; }; }
4977 # Make sure we only build Boehm's garbage collector if required.
4978 case ,${enable_languages},:${enable_objc_gc} in
4980 # Keep target-boehm-gc if requested for Objective-C.
4983 # Otherwise remove target-boehm-gc depending on target-libjava.
4984 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4985 noconfigdirs
="$noconfigdirs target-boehm-gc"
4990 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4991 # $build_configdirs and $target_configdirs.
4992 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4995 for dir
in .
$skipdirs $noconfigdirs ; do
4996 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4997 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4998 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4999 if test -r $srcdir/$dirname/configure
; then
5000 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5003 notsupp
="$notsupp $dir"
5007 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5008 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5009 if test -r $srcdir/$dirname/configure
; then
5010 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5013 notsupp
="$notsupp $dir"
5017 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5018 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5019 if test -r $srcdir/$dirname/configure
; then
5020 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5023 notsupp
="$notsupp $dir"
5029 # Sometimes the tools are distributed with libiberty but with no other
5030 # libraries. In that case, we don't want to build target-libiberty.
5031 # Don't let libgcc imply libiberty either.
5032 if test -n "${target_configdirs}" ; then
5035 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5036 if test "$i" = "libgcc"; then
5037 libgcc
=target-libgcc
5038 elif test "$i" != "libiberty" ; then
5039 if test -r $srcdir/$i/configure
; then
5045 if test -z "${others}" ; then
5046 target_configdirs
=$libgcc
5050 # Quietly strip out all directories which aren't configurable in this tree.
5051 # This relies on all configurable subdirectories being autoconfiscated, which
5053 build_configdirs_all
="$build_configdirs"
5055 for i
in ${build_configdirs_all} ; do
5056 j
=`echo $i | sed -e s/build-//g`
5057 if test -f ${srcdir}/$j/configure
; then
5058 build_configdirs
="${build_configdirs} $i"
5062 configdirs_all
="$configdirs"
5064 for i
in ${configdirs_all} ; do
5065 if test -f ${srcdir}/$i/configure
; then
5066 configdirs
="${configdirs} $i"
5070 target_configdirs_all
="$target_configdirs"
5072 for i
in ${target_configdirs_all} ; do
5073 j
=`echo $i | sed -e s/target-//g`
5074 if test -f ${srcdir}/$j/configure
; then
5075 target_configdirs
="${target_configdirs} $i"
5079 # Produce a warning message for the subdirs we can't configure.
5080 # This isn't especially interesting in the Cygnus tree, but in the individual
5081 # FSF releases, it's important to let people know when their machine isn't
5082 # supported by the one or two programs in a package.
5084 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5085 # If $appdirs is non-empty, at least one of those directories must still
5086 # be configured, or we error out. (E.g., if the gas release supports a
5087 # specified target in some subdirs but not the gas subdir, we shouldn't
5088 # pretend that all is well.)
5089 if test -n "$appdirs" ; then
5090 for dir
in $appdirs ; do
5091 if test -r $dir/Makefile.
in ; then
5092 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5096 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5102 if test -n "$appdirs" ; then
5103 echo "*** This configuration is not supported by this package." 1>&2
5107 # Okay, some application will build, or we don't care to check. Still
5108 # notify of subdirs not getting built.
5109 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5110 echo " ${notsupp}" 1>&2
5111 echo " (Any other directories should still work fine.)" 1>&2
5119 # To find our prefix, in gcc_cv_tool_prefix.
5121 # The user is always right.
5122 if test "${PATH_SEPARATOR+set}" != set; then
5123 echo "#! /bin/sh" >conf$$.sh
5124 echo "exit 0" >>conf$$.sh
5126 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5136 if test "x$exec_prefix" = xNONE
; then
5137 if test "x$prefix" = xNONE
; then
5138 gcc_cv_tool_prefix
=$ac_default_prefix
5140 gcc_cv_tool_prefix
=$prefix
5143 gcc_cv_tool_prefix
=$exec_prefix
5146 # If there is no compiler in the tree, use the PATH only. In any
5147 # case, if there is no compiler in the tree nobody should use
5148 # AS_FOR_TARGET and LD_FOR_TARGET.
5149 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5150 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5151 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5152 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5153 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5154 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5155 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5156 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5161 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5162 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5170 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5171 if test "${with_build_sysroot+set}" = set; then
5172 withval
="$with_build_sysroot"
5173 if test x
"$withval" != x
; then
5174 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5177 SYSROOT_CFLAGS_FOR_TARGET
=
5182 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5183 if test "${with_debug_prefix_map+set}" = set; then
5184 withval
="$with_debug_prefix_map"
5185 if test x
"$withval" != x
; then
5186 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5187 for debug_map
in $withval; do
5188 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5192 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5196 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5197 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5198 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5199 # We want to ensure that TARGET libraries (which we know are built with
5200 # gcc) are built with "-O2 -g", so include those options when setting
5201 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5202 if test "x$CFLAGS_FOR_TARGET" = x
; then
5203 CFLAGS_FOR_TARGET
=$CFLAGS
5206 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5209 *" -g "* |
*" -g3 "*) ;;
5210 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5215 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5216 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5217 case " $CXXFLAGS " in
5219 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5221 case " $CXXFLAGS " in
5222 *" -g "* |
*" -g3 "*) ;;
5223 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5228 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5229 # the named directory are copied to $(tooldir)/sys-include.
5230 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5231 if test x
${is_cross_compiler} = xno
; then
5232 echo 1>&2 '***' --with-headers is only supported when cross compiling
5235 if test x
"${with_headers}" != xyes
; then
5236 x
=${gcc_cv_tool_prefix}
5237 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5241 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5242 # the name directories are copied to $(tooldir)/lib. Multiple directories
5244 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5245 if test x
${is_cross_compiler} = xno
; then
5246 echo 1>&2 '***' --with-libs is only supported when cross compiling
5249 if test x
"${with_libs}" != xyes
; then
5250 # Copy the libraries in reverse order, so that files in the first named
5251 # library override files in subsequent libraries.
5252 x
=${gcc_cv_tool_prefix}
5253 for l
in ${with_libs}; do
5254 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5259 # Set with_gnu_as and with_gnu_ld as appropriate.
5261 # This is done by determining whether or not the appropriate directory
5262 # is available, and by checking whether or not specific configurations
5263 # have requested that this magic not happen.
5265 # The command line options always override the explicit settings in
5266 # configure.in, and the settings in configure.in override this magic.
5268 # If the default for a toolchain is to use GNU as and ld, and you don't
5269 # want to do that, then you should use the --without-gnu-as and
5270 # --without-gnu-ld options for the configure script.
5272 if test x
${use_gnu_as} = x
&&
5273 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5275 extra_host_args
="$extra_host_args --with-gnu-as"
5278 if test x
${use_gnu_ld} = x
&&
5279 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5281 extra_host_args
="$extra_host_args --with-gnu-ld"
5284 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5285 # can detect this case.
5287 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5289 extra_host_args
="$extra_host_args --with-newlib"
5292 # Handle ${copy_dirs}
5293 set fnord
${copy_dirs}
5295 while test $# != 0 ; do
5296 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5299 echo Copying
$1 to
$2
5301 # Use the install script to create the directory and all required
5302 # parent directories.
5303 if test -d $2 ; then
5307 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5310 # Copy the directory, assuming we have tar.
5311 # FIXME: Should we use B in the second tar? Not all systems support it.
5312 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5314 # It is the responsibility of the user to correctly adjust all
5315 # symlinks. If somebody can figure out how to handle them correctly
5316 # here, feel free to add the code.
5323 # Determine a target-dependent exec_prefix that the installed
5324 # gcc will search in. Keep this list sorted by triplet, with
5325 # the *-*-osname triplets last.
5329 md_exec_prefix
=/gnu
/lib
/gcc-lib
5331 i
[34567]86-pc-msdosdjgpp*)
5332 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5334 i
[34567]86-*-sco3.2v5
*)
5335 if test $with_gnu_as = yes; then
5336 md_exec_prefix
=/usr
/gnu
/bin
5338 md_exec_prefix
=/usr
/ccs
/bin
/elf
5343 powerpc-
*-chorusos* | \
5344 powerpc
*-*-eabi* | \
5345 powerpc
*-*-sysv* | \
5346 powerpc
*-*-kaos* | \
5348 md_exec_prefix
=/usr
/ccs
/bin
5353 md_exec_prefix
=/usr
/ccs
/bin
5368 md_exec_prefix
=/usr
/ccs
/bin
5372 extra_arflags_for_target
=
5373 extra_nmflags_for_target
=
5374 extra_ranlibflags_for_target
=
5375 target_makefile_frag
=/dev
/null
5378 target_makefile_frag
="config/mt-mep"
5381 target_makefile_frag
="config/mt-spu"
5384 target_makefile_frag
="config/mt-sde"
5386 mipsisa
*-*-elfoabi*)
5387 target_makefile_frag
="config/mt-mips-elfoabi"
5390 target_makefile_frag
="config/mt-netware"
5392 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5393 target_makefile_frag
="config/mt-gnu"
5395 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5396 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5397 # commands to handle both 32-bit and 64-bit objects. These flags are
5398 # harmless if we're using GNU nm or ar.
5399 extra_arflags_for_target
=" -X32_64"
5400 extra_nmflags_for_target
=" -B -X32_64"
5403 # ranlib from Darwin requires the -c flag to look at common symbols.
5404 extra_ranlibflags_for_target
=" -c"
5406 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5407 target_makefile_frag
="config/mt-wince"
5411 alphaieee_frag
=/dev
/null
5414 # This just makes sure to use the -mieee option to build target libs.
5415 # This should probably be set individually by each library.
5416 alphaieee_frag
="config/mt-alphaieee"
5420 # If --enable-target-optspace always use -Os instead of -O2 to build
5421 # the target libraries, similarly if it is not specified, use -Os
5422 # on selected platforms.
5423 ospace_frag
=/dev
/null
5424 case "${enable_target_optspace}:${target}" in
5426 ospace_frag
="config/mt-ospace"
5429 ospace_frag
="config/mt-d30v"
5431 :m32r-
* |
:d10v-
* |
:fr30-
*)
5432 ospace_frag
="config/mt-ospace"
5437 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5441 # Default to using --with-stabs for certain targets.
5442 if test x
${with_stabs} = x
; then
5446 mips
*-*-* | alpha
*-*-osf*)
5448 extra_host_args
="${extra_host_args} --with-stabs"
5453 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5454 # them automatically.
5457 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5461 # Some systems (e.g., one of the i386-aix systems the gas testers are
5462 # using) don't handle "\$" correctly, so don't use it here.
5463 tooldir
='${exec_prefix}'/${target_noncanonical}
5464 build_tooldir
=${tooldir}
5466 # Create a .gdbinit file which runs the one in srcdir
5467 # and tells GDB to look there for source files.
5469 if test -r ${srcdir}/.gdbinit
; then
5472 *) cat > .
/.gdbinit
<<EOF
5476 source ${srcdir}/.gdbinit
5482 # Make sure that the compiler is able to generate an executable. If it
5483 # can't, we are probably in trouble. We don't care whether we can run the
5484 # executable--we might be using a cross compiler--we only care whether it
5485 # can be created. At this point the main configure script has set CC.
5487 echo "int main () { return 0; }" > conftest.c
5488 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5489 if test $?
= 0 ; then
5490 if test -s conftest ||
test -s conftest.exe
; then
5496 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5497 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5504 # The Solaris /usr/ucb/cc compiler does not appear to work.
5506 sparc-sun-solaris2
*)
5507 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5508 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5510 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5511 if test -d /opt
/cygnus
/bin
; then
5512 if test "$could_use" = "" ; then
5513 could_use
="/opt/cygnus/bin"
5515 could_use
="$could_use or /opt/cygnus/bin"
5518 if test "$could_use" = "" ; then
5519 echo "Warning: compilation may fail because you're using"
5520 echo "/usr/ucb/cc. You should change your PATH or CC "
5521 echo "variable and rerun configure."
5523 echo "Warning: compilation may fail because you're using"
5524 echo "/usr/ucb/cc, when you should use the C compiler from"
5525 echo "$could_use. You should change your"
5526 echo "PATH or CC variable and rerun configure."
5533 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5534 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5535 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5538 # Record target_configdirs and the configure arguments for target and
5539 # build configuration in Makefile.
5540 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5541 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5543 # Determine whether gdb needs tk/tcl or not.
5544 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5545 # and in that case we want gdb to be built without tk. Ugh!
5546 # In fact I believe gdb is the *only* package directly dependent on tk,
5547 # so we should be able to put the 'maybe's in unconditionally and
5548 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5549 # 100% sure that that's safe though.
5551 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5552 case "$enable_gdbtk" in
5556 GDB_TK
="${gdb_tk}" ;;
5558 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5559 # distro. Eventually someone will fix this and move Insight, nee
5560 # gdbtk to a separate directory.
5561 if test -d ${srcdir}/gdb
/gdbtk
; then
5568 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5569 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5571 # Strip out unwanted targets.
5573 # While at that, we remove Makefiles if we were started for recursive
5574 # configuration, so that the top-level Makefile reconfigures them,
5575 # like we used to do when configure itself was recursive.
5577 # Loop over modules. $extrasub must be used with care, limiting as
5578 # much as possible the usage of range addresses. That's because autoconf
5579 # splits the sed script to overcome limits in the number of commands,
5580 # and relying on carefully-timed sed passes may turn out to be very hard
5581 # to maintain later. In this particular case, you just have to be careful
5582 # not to nest @if/@endif pairs, because configure will not warn you at all.
5584 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5585 if test "${enable_bootstrap+set}" = set; then
5586 enableval
="$enable_bootstrap"
5589 enable_bootstrap
=default
5592 # Issue errors and warnings for invalid/strange bootstrap combinations.
5593 case "$configdirs" in
5594 *gcc
*) have_compiler
=yes ;;
5595 *) have_compiler
=no
;;
5598 case "$have_compiler:$host:$target:$enable_bootstrap" in
5601 # Default behavior. Enable bootstrap if we have a compiler
5602 # and we are in a native configuration.
5603 yes:$build:$build:default
)
5604 enable_bootstrap
=yes ;;
5607 enable_bootstrap
=no
;;
5609 # We have a compiler and we are in a native configuration, bootstrap is ok
5610 yes:$build:$build:yes)
5613 # Other configurations, but we have a compiler. Assume the user knows
5616 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5617 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5620 # No compiler: if they passed --enable-bootstrap explicitly, fail
5622 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5623 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5624 { (exit 1); exit 1; }; } ;;
5626 # Fail if wrong command line
5628 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5629 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5630 { (exit 1); exit 1; }; }
5634 # Adjust the toplevel makefile according to whether bootstrap was selected.
5635 case "$enable_bootstrap" in
5637 bootstrap_suffix
=bootstrap
;;
5639 bootstrap_suffix
=no-bootstrap
;;
5642 for module
in ${build_configdirs} ; do
5643 if test -z "${no_recursion}" \
5644 && test -f ${build_subdir}/${module}/Makefile
; then
5645 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5646 rm -f ${build_subdir}/${module}/Makefile
5649 /^@if build-$module\$/d
5650 /^@endif build-$module\$/d
5651 /^@if build-$module-$bootstrap_suffix\$/d
5652 /^@endif build-$module-$bootstrap_suffix\$/d"
5654 for module
in ${configdirs} ; do
5655 if test -z "${no_recursion}"; then
5656 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5657 if test -f ${file}; then
5658 echo 1>&2 "*** removing ${file} to force reconfigure"
5665 /^@endif $module\$/d
5666 /^@if $module-$bootstrap_suffix\$/d
5667 /^@endif $module-$bootstrap_suffix\$/d"
5669 for module
in ${target_configdirs} ; do
5670 if test -z "${no_recursion}" \
5671 && test -f ${target_subdir}/${module}/Makefile
; then
5672 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5673 rm -f ${target_subdir}/${module}/Makefile
5676 /^@if target-$module\$/d
5677 /^@endif target-$module\$/d
5678 /^@if target-$module-$bootstrap_suffix\$/d
5679 /^@endif target-$module-$bootstrap_suffix\$/d"
5683 /^@if /,/^@endif /d"
5685 # Create the serialization dependencies. This uses a temporary file.
5687 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5688 if test "${enable_serial_configure+set}" = set; then
5689 enableval
="$enable_serial_configure"
5693 case ${enable_serial_configure} in
5695 enable_serial_build_configure
=yes
5696 enable_serial_host_configure
=yes
5697 enable_serial_target_configure
=yes
5701 # These force 'configure's to be done one at a time, to avoid problems
5702 # with contention over a shared config.cache.
5704 echo '# serdep.tmp' > serdep.tmp
5706 test "x${enable_serial_build_configure}" = xyes
&&
5707 for item
in ${build_configdirs} ; do
5710 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5715 test "x${enable_serial_host_configure}" = xyes
&&
5716 for item
in ${configdirs} ; do
5719 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5724 test "x${enable_serial_target_configure}" = xyes
&&
5725 for item
in ${target_configdirs} ; do
5728 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5732 serialization_dependencies
=serdep.tmp
5735 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5736 # target, nonopt, and variable assignments. These are the ones we
5737 # might not want to pass down to subconfigures. Also strip
5738 # program-prefix, program-suffix, and program-transform-name, so that
5739 # we can pass down a consistent program-transform-name.
5743 eval "set -- $ac_configure_args"
5746 if test X
"$skip_next" = X
"yes"; then
5750 if test X
"$keep_next" = X
"yes"; then
5753 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5755 baseargs
="$baseargs '$ac_arg'"
5760 # Handle separated arguments. Based on the logic generated by
5763 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5764 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5765 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5766 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5792 -program-prefix* | \
5793 -program-suffix* | \
5794 -program-transform-name* )
5795 skip_next
=$separate_arg
5799 # An option. Add it.
5802 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5804 baseargs
="$baseargs '$ac_arg'"
5805 keep_next
=$separate_arg
5808 # Either a variable assignment, or a nonopt (triplet). Don't
5809 # pass it down; let the Makefile handle this.
5814 # Remove the initial space we just introduced and, as these will be
5815 # expanded by make, quote '$'.
5816 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5818 # Add in --program-transform-name, after --program-prefix and
5819 # --program-suffix have been applied to it. Autoconf has already
5820 # doubled dollar signs and backslashes in program_transform_name; we want
5821 # the backslashes un-doubled, and then the entire thing wrapped in single
5822 # quotes, because this will be expanded first by make and then by the shell.
5823 # Also, because we want to override the logic in subdir configure scripts to
5824 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5825 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5826 ${program_transform_name}
5828 gcc_transform_name
=`cat conftestsed.out`
5829 rm -f conftestsed.out
5830 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5831 if test "$silent" = yes; then
5832 baseargs
="$baseargs --silent"
5835 # For the build-side libraries, we just need to pretend we're native,
5836 # and not use the same cache file. Multilibs are neither needed nor
5838 build_configargs
="--cache-file=../config.cache ${baseargs}"
5840 # For host modules, accept cache file option, or specification as blank.
5841 case "${cache_file}" in
5843 cache_file_option
="" ;;
5844 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5845 cache_file_option
="--cache-file=${cache_file}" ;;
5847 cache_file_option
="--cache-file=../${cache_file}" ;;
5850 # Host dirs don't like to share a cache file either, horribly enough.
5851 # This seems to be due to autoconf 2.5x stupidity.
5852 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5854 target_configargs
=${baseargs}
5856 # Passing a --with-cross-host argument lets the target libraries know
5857 # whether they are being built with a cross-compiler or being built
5858 # native. However, it would be better to use other mechanisms to make the
5859 # sorts of decisions they want to make on this basis. Please consider
5860 # this option to be deprecated. FIXME.
5861 if test x
${is_cross_compiler} = xyes
; then
5862 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5865 # Default to --enable-multilib.
5866 if test x
${enable_multilib} = x
; then
5867 target_configargs
="--enable-multilib ${target_configargs}"
5870 # Pass --with-newlib if appropriate. Note that target_configdirs has
5871 # changed from the earlier setting of with_newlib.
5872 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5873 target_configargs
="--with-newlib ${target_configargs}"
5876 # Different target subdirs use different values of certain variables
5877 # (notably CXX). Worse, multilibs use *lots* of different values.
5878 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5879 # it doesn't automatically accept command-line overrides of them.
5880 # This means it's not safe for target subdirs to share a cache file,
5881 # which is disgusting, but there you have it. Hopefully this can be
5882 # fixed in future. It's still worthwhile to use a cache file for each
5883 # directory. I think.
5885 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5886 # We need to pass --target, as newer autoconf's requires consistency
5887 # for target_alias and gcc doesn't manage it consistently.
5888 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5891 case " $target_configdirs " in
5893 case " $target_configargs " in
5894 *" --with-newlib "*)
5897 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' ;;
5900 # If we're not building GCC, don't discard standard headers.
5901 if test -d ${srcdir}/gcc
; then
5902 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5904 if test "${build}" != "${host}"; then
5905 # On Canadian crosses, CC_FOR_TARGET will have already been set
5906 # by `configure', so we won't have an opportunity to add -Bgcc/
5907 # to it. This is right: we don't want to search that directory
5908 # for binaries, but we want the header files in there, so add
5910 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5912 # Someone might think of using the pre-installed headers on
5913 # Canadian crosses, in case the installed compiler is not fully
5914 # compatible with the compiler being built. In this case, it
5915 # would be better to flag an error than risking having
5916 # incompatible object files being constructed. We can't
5917 # guarantee that an error will be flagged, but let's hope the
5918 # compiler will do it, when presented with incompatible header
5923 case "${target}-${is_cross_compiler}" in
5924 i
[3456789]86-*-linux*-no)
5925 # Here host == target, so we don't need to build gcc,
5926 # so we don't want to discard standard headers.
5927 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5930 # If we're building newlib, use its generic headers last, but search
5931 # for any libc-related directories first (so make it the last -B
5933 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5935 # If we're building libgloss, find the startup file, simulator library
5936 # and linker script.
5937 case " $target_configdirs " in
5939 # Look for startup file, simulator library and maybe linker script.
5940 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
5941 # Look for libnosys.a in case the target needs it.
5942 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5943 # Most targets have the linker script in the source directory.
5944 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
5955 # Can't be handled as Cygwin above since Mingw does not use newlib.
5956 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' ;;
5959 # Allow the user to override the flags for
5960 # our build compiler if desired.
5961 if test x
"${build}" = x
"${host}" ; then
5962 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5963 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
5964 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
5967 # On Canadian crosses, we'll be searching the right directories for
5968 # the previously-installed cross compiler, so don't bother to add
5969 # flags for directories within the install tree of the compiler
5970 # being built; programs in there won't even run.
5971 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5972 # Search for pre-installed headers if nothing else fits.
5973 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5976 if test "x
${use_gnu_ld}" = x &&
5977 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5978 # Arrange for us to find uninstalled linker scripts.
5979 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5982 # Search for other target-specific linker scripts and such.
5985 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5989 # Makefile fragments.
5990 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5992 eval fragval=\$$frag
5993 if test $fragval != /dev/null; then
5994 eval $frag=${srcdir}/$fragval
6002 # Miscellanea: directories, flags, etc.
6010 # Build module lists & subconfigure args.
6014 # Host module lists & subconfigure args.
6018 # Target module lists & subconfigure args.
6040 # Generate default definitions for YACC, M4, LEX and other programs that run
6041 # on the build machine. These are used if the Makefile can't locate these
6042 # programs in objdir.
6043 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6045 for ac_prog in 'bison -y' byacc yacc
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6050 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6051 if test "${ac_cv_prog_YACC+set}" = set; then
6052 echo $ECHO_N "(cached
) $ECHO_C" >&6
6054 if test -n "$YACC"; then
6055 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_YACC="$ac_prog"
6065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6073 YACC=$ac_cv_prog_YACC
6074 if test -n "$YACC"; then
6075 echo "$as_me:$LINENO: result
: $YACC" >&5
6076 echo "${ECHO_T}$YACC" >&6
6078 echo "$as_me:$LINENO: result
: no
" >&5
6079 echo "${ECHO_T}no
" >&6
6082 test -n "$YACC" && break
6084 test -n "$YACC" || YACC="$MISSING bison
-y"
6086 case " $build_configdirs " in
6087 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6088 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6091 for ac_prog in bison
6093 # Extract the first word of "$ac_prog", so it can be a program name with args.
6094 set dummy $ac_prog; ac_word=$2
6095 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6096 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6097 if test "${ac_cv_prog_BISON+set}" = set; then
6098 echo $ECHO_N "(cached
) $ECHO_C" >&6
6100 if test -n "$BISON"; then
6101 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_BISON="$ac_prog"
6111 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6119 BISON=$ac_cv_prog_BISON
6120 if test -n "$BISON"; then
6121 echo "$as_me:$LINENO: result
: $BISON" >&5
6122 echo "${ECHO_T}$BISON" >&6
6124 echo "$as_me:$LINENO: result
: no
" >&5
6125 echo "${ECHO_T}no
" >&6
6128 test -n "$BISON" && break
6130 test -n "$BISON" || BISON="$MISSING bison
"
6132 case " $build_configdirs " in
6133 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6136 for ac_prog in gm4 gnum4 m4
6138 # Extract the first word of "$ac_prog", so it can be a program name with args.
6139 set dummy $ac_prog; ac_word=$2
6140 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6141 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6142 if test "${ac_cv_prog_M4+set}" = set; then
6143 echo $ECHO_N "(cached
) $ECHO_C" >&6
6145 if test -n "$M4"; then
6146 ac_cv_prog_M4="$M4" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_M4="$ac_prog"
6156 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6165 if test -n "$M4"; then
6166 echo "$as_me:$LINENO: result
: $M4" >&5
6167 echo "${ECHO_T}$M4" >&6
6169 echo "$as_me:$LINENO: result
: no
" >&5
6170 echo "${ECHO_T}no
" >&6
6173 test -n "$M4" && break
6175 test -n "$M4" || M4="$MISSING m4"
6177 case " $build_configdirs " in
6178 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6181 for ac_prog in flex lex
6183 # Extract the first word of "$ac_prog", so it can be a program name with args.
6184 set dummy $ac_prog; ac_word=$2
6185 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6186 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6187 if test "${ac_cv_prog_LEX+set}" = set; then
6188 echo $ECHO_N "(cached
) $ECHO_C" >&6
6190 if test -n "$LEX"; then
6191 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_LEX="$ac_prog"
6201 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6210 if test -n "$LEX"; then
6211 echo "$as_me:$LINENO: result
: $LEX" >&5
6212 echo "${ECHO_T}$LEX" >&6
6214 echo "$as_me:$LINENO: result
: no
" >&5
6215 echo "${ECHO_T}no
" >&6
6218 test -n "$LEX" && break
6220 test -n "$LEX" || LEX="$MISSING flex
"
6222 case " $build_configdirs " in
6223 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6224 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6229 # Extract the first word of "$ac_prog", so it can be a program name with args.
6230 set dummy $ac_prog; ac_word=$2
6231 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6232 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6233 if test "${ac_cv_prog_FLEX+set}" = set; then
6234 echo $ECHO_N "(cached
) $ECHO_C" >&6
6236 if test -n "$FLEX"; then
6237 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 test -z "$as_dir" && as_dir=.
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6246 ac_cv_prog_FLEX="$ac_prog"
6247 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6255 FLEX=$ac_cv_prog_FLEX
6256 if test -n "$FLEX"; then
6257 echo "$as_me:$LINENO: result
: $FLEX" >&5
6258 echo "${ECHO_T}$FLEX" >&6
6260 echo "$as_me:$LINENO: result
: no
" >&5
6261 echo "${ECHO_T}no
" >&6
6264 test -n "$FLEX" && break
6266 test -n "$FLEX" || FLEX="$MISSING flex
"
6268 case " $build_configdirs " in
6269 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6272 for ac_prog in makeinfo
6274 # Extract the first word of "$ac_prog", so it can be a program name with args.
6275 set dummy $ac_prog; ac_word=$2
6276 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6277 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6278 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6279 echo $ECHO_N "(cached
) $ECHO_C" >&6
6281 if test -n "$MAKEINFO"; then
6282 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_MAKEINFO="$ac_prog"
6292 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6300 MAKEINFO=$ac_cv_prog_MAKEINFO
6301 if test -n "$MAKEINFO"; then
6302 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6303 echo "${ECHO_T}$MAKEINFO" >&6
6305 echo "$as_me:$LINENO: result
: no
" >&5
6306 echo "${ECHO_T}no
" >&6
6309 test -n "$MAKEINFO" && break
6311 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6313 case " $build_configdirs " in
6314 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6317 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6318 # higher, else we use the "missing
" dummy.
6319 if ${MAKEINFO} --version \
6320 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6323 MAKEINFO="$MISSING makeinfo
"
6329 # FIXME: expect and dejagnu may become build tools?
6331 for ac_prog in expect
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_EXPECT+set}" = set; then
6338 echo $ECHO_N "(cached
) $ECHO_C" >&6
6340 if test -n "$EXPECT"; then
6341 ac_cv_prog_EXPECT="$EXPECT" # 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_EXPECT="$ac_prog"
6351 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6359 EXPECT=$ac_cv_prog_EXPECT
6360 if test -n "$EXPECT"; then
6361 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6362 echo "${ECHO_T}$EXPECT" >&6
6364 echo "$as_me:$LINENO: result
: no
" >&5
6365 echo "${ECHO_T}no
" >&6
6368 test -n "$EXPECT" && break
6370 test -n "$EXPECT" || EXPECT="expect
"
6372 case " $configdirs " in
6374 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6378 for ac_prog in runtest
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy $ac_prog; ac_word=$2
6382 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6383 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6384 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6385 echo $ECHO_N "(cached
) $ECHO_C" >&6
6387 if test -n "$RUNTEST"; then
6388 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_RUNTEST="$ac_prog"
6398 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6406 RUNTEST=$ac_cv_prog_RUNTEST
6407 if test -n "$RUNTEST"; then
6408 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6409 echo "${ECHO_T}$RUNTEST" >&6
6411 echo "$as_me:$LINENO: result
: no
" >&5
6412 echo "${ECHO_T}no
" >&6
6415 test -n "$RUNTEST" && break
6417 test -n "$RUNTEST" || RUNTEST="runtest
"
6419 case " $configdirs " in
6421 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6428 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6429 ncn_target_tool_prefix=
6430 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6434 if test -n "$AR"; then
6436 elif test -n "$ac_cv_prog_AR"; then
6440 if test -n "$ac_cv_prog_AR"; then
6441 for ncn_progname in ar; do
6442 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6443 set dummy ${ncn_progname}; ac_word=$2
6444 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6445 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6446 if test "${ac_cv_prog_AR+set}" = set; then
6447 echo $ECHO_N "(cached
) $ECHO_C" >&6
6449 if test -n "$AR"; then
6450 ac_cv_prog_AR="$AR" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_AR="${ncn_progname}"
6460 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6469 if test -n "$AR"; then
6470 echo "$as_me:$LINENO: result
: $AR" >&5
6471 echo "${ECHO_T}$AR" >&6
6473 echo "$as_me:$LINENO: result
: no
" >&5
6474 echo "${ECHO_T}no
" >&6
6480 for ncn_progname in ar; do
6481 if test -n "$ncn_tool_prefix"; then
6482 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6483 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6484 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6485 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6486 if test "${ac_cv_prog_AR+set}" = set; then
6487 echo $ECHO_N "(cached
) $ECHO_C" >&6
6489 if test -n "$AR"; then
6490 ac_cv_prog_AR="$AR" # Let the user override the test.
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6500 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6509 if test -n "$AR"; then
6510 echo "$as_me:$LINENO: result
: $AR" >&5
6511 echo "${ECHO_T}$AR" >&6
6513 echo "$as_me:$LINENO: result
: no
" >&5
6514 echo "${ECHO_T}no
" >&6
6518 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6519 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6520 set dummy ${ncn_progname}; ac_word=$2
6521 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6522 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6523 if test "${ac_cv_prog_AR+set}" = set; then
6524 echo $ECHO_N "(cached
) $ECHO_C" >&6
6526 if test -n "$AR"; then
6527 ac_cv_prog_AR="$AR" # Let the user override the test.
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_AR="${ncn_progname}"
6537 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6546 if test -n "$AR"; then
6547 echo "$as_me:$LINENO: result
: $AR" >&5
6548 echo "${ECHO_T}$AR" >&6
6550 echo "$as_me:$LINENO: result
: no
" >&5
6551 echo "${ECHO_T}no
" >&6
6555 test -n "$ac_cv_prog_AR" && break
6558 if test -z "$ac_cv_prog_AR" ; then
6560 if test $build = $host ; then
6563 AR="${ncn_tool_prefix}$2"
6569 if test -n "$AS"; then
6571 elif test -n "$ac_cv_prog_AS"; then
6575 if test -n "$ac_cv_prog_AS"; then
6576 for ncn_progname in as; do
6577 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6578 set dummy ${ncn_progname}; ac_word=$2
6579 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6580 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6581 if test "${ac_cv_prog_AS+set}" = set; then
6582 echo $ECHO_N "(cached
) $ECHO_C" >&6
6584 if test -n "$AS"; then
6585 ac_cv_prog_AS="$AS" # Let the user override the test.
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_AS="${ncn_progname}"
6595 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6604 if test -n "$AS"; then
6605 echo "$as_me:$LINENO: result
: $AS" >&5
6606 echo "${ECHO_T}$AS" >&6
6608 echo "$as_me:$LINENO: result
: no
" >&5
6609 echo "${ECHO_T}no
" >&6
6615 for ncn_progname in as; do
6616 if test -n "$ncn_tool_prefix"; then
6617 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6618 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6619 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6620 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6621 if test "${ac_cv_prog_AS+set}" = set; then
6622 echo $ECHO_N "(cached
) $ECHO_C" >&6
6624 if test -n "$AS"; then
6625 ac_cv_prog_AS="$AS" # Let the user override the test.
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6635 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6644 if test -n "$AS"; then
6645 echo "$as_me:$LINENO: result
: $AS" >&5
6646 echo "${ECHO_T}$AS" >&6
6648 echo "$as_me:$LINENO: result
: no
" >&5
6649 echo "${ECHO_T}no
" >&6
6653 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6655 set dummy ${ncn_progname}; ac_word=$2
6656 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6658 if test "${ac_cv_prog_AS+set}" = set; then
6659 echo $ECHO_N "(cached
) $ECHO_C" >&6
6661 if test -n "$AS"; then
6662 ac_cv_prog_AS="$AS" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_AS="${ncn_progname}"
6672 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6681 if test -n "$AS"; then
6682 echo "$as_me:$LINENO: result
: $AS" >&5
6683 echo "${ECHO_T}$AS" >&6
6685 echo "$as_me:$LINENO: result
: no
" >&5
6686 echo "${ECHO_T}no
" >&6
6690 test -n "$ac_cv_prog_AS" && break
6693 if test -z "$ac_cv_prog_AS" ; then
6695 if test $build = $host ; then
6698 AS="${ncn_tool_prefix}$2"
6704 if test -n "$DLLTOOL"; then
6705 ac_cv_prog_DLLTOOL=$DLLTOOL
6706 elif test -n "$ac_cv_prog_DLLTOOL"; then
6707 DLLTOOL=$ac_cv_prog_DLLTOOL
6710 if test -n "$ac_cv_prog_DLLTOOL"; then
6711 for ncn_progname in dlltool; do
6712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6713 set dummy ${ncn_progname}; ac_word=$2
6714 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6715 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6716 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6717 echo $ECHO_N "(cached
) $ECHO_C" >&6
6719 if test -n "$DLLTOOL"; then
6720 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_DLLTOOL="${ncn_progname}"
6730 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6738 DLLTOOL=$ac_cv_prog_DLLTOOL
6739 if test -n "$DLLTOOL"; then
6740 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6741 echo "${ECHO_T}$DLLTOOL" >&6
6743 echo "$as_me:$LINENO: result
: no
" >&5
6744 echo "${ECHO_T}no
" >&6
6750 for ncn_progname in dlltool; do
6751 if test -n "$ncn_tool_prefix"; then
6752 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6753 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6754 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6755 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6756 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6757 echo $ECHO_N "(cached
) $ECHO_C" >&6
6759 if test -n "$DLLTOOL"; then
6760 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6770 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6778 DLLTOOL=$ac_cv_prog_DLLTOOL
6779 if test -n "$DLLTOOL"; then
6780 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6781 echo "${ECHO_T}$DLLTOOL" >&6
6783 echo "$as_me:$LINENO: result
: no
" >&5
6784 echo "${ECHO_T}no
" >&6
6788 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6790 set dummy ${ncn_progname}; ac_word=$2
6791 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6792 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6793 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6794 echo $ECHO_N "(cached
) $ECHO_C" >&6
6796 if test -n "$DLLTOOL"; then
6797 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_DLLTOOL="${ncn_progname}"
6807 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6815 DLLTOOL=$ac_cv_prog_DLLTOOL
6816 if test -n "$DLLTOOL"; then
6817 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6818 echo "${ECHO_T}$DLLTOOL" >&6
6820 echo "$as_me:$LINENO: result
: no
" >&5
6821 echo "${ECHO_T}no
" >&6
6825 test -n "$ac_cv_prog_DLLTOOL" && break
6828 if test -z "$ac_cv_prog_DLLTOOL" ; then
6830 if test $build = $host ; then
6833 DLLTOOL="${ncn_tool_prefix}$2"
6839 if test -n "$LD"; then
6841 elif test -n "$ac_cv_prog_LD"; then
6845 if test -n "$ac_cv_prog_LD"; then
6846 for ncn_progname in ld; do
6847 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6848 set dummy ${ncn_progname}; ac_word=$2
6849 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6850 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6851 if test "${ac_cv_prog_LD+set}" = set; then
6852 echo $ECHO_N "(cached
) $ECHO_C" >&6
6854 if test -n "$LD"; then
6855 ac_cv_prog_LD="$LD" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_LD="${ncn_progname}"
6865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6874 if test -n "$LD"; then
6875 echo "$as_me:$LINENO: result
: $LD" >&5
6876 echo "${ECHO_T}$LD" >&6
6878 echo "$as_me:$LINENO: result
: no
" >&5
6879 echo "${ECHO_T}no
" >&6
6885 for ncn_progname in ld; do
6886 if test -n "$ncn_tool_prefix"; then
6887 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6888 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6889 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6891 if test "${ac_cv_prog_LD+set}" = set; then
6892 echo $ECHO_N "(cached
) $ECHO_C" >&6
6894 if test -n "$LD"; then
6895 ac_cv_prog_LD="$LD" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6914 if test -n "$LD"; then
6915 echo "$as_me:$LINENO: result
: $LD" >&5
6916 echo "${ECHO_T}$LD" >&6
6918 echo "$as_me:$LINENO: result
: no
" >&5
6919 echo "${ECHO_T}no
" >&6
6923 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6924 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6925 set dummy ${ncn_progname}; ac_word=$2
6926 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6927 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6928 if test "${ac_cv_prog_LD+set}" = set; then
6929 echo $ECHO_N "(cached
) $ECHO_C" >&6
6931 if test -n "$LD"; then
6932 ac_cv_prog_LD="$LD" # Let the user override the test.
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir=.
6939 for ac_exec_ext in '' $ac_executable_extensions; do
6940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6941 ac_cv_prog_LD="${ncn_progname}"
6942 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6951 if test -n "$LD"; then
6952 echo "$as_me:$LINENO: result
: $LD" >&5
6953 echo "${ECHO_T}$LD" >&6
6955 echo "$as_me:$LINENO: result
: no
" >&5
6956 echo "${ECHO_T}no
" >&6
6960 test -n "$ac_cv_prog_LD" && break
6963 if test -z "$ac_cv_prog_LD" ; then
6965 if test $build = $host ; then
6968 LD="${ncn_tool_prefix}$2"
6974 if test -n "$LIPO"; then
6975 ac_cv_prog_LIPO=$LIPO
6976 elif test -n "$ac_cv_prog_LIPO"; then
6977 LIPO=$ac_cv_prog_LIPO
6980 if test -n "$ac_cv_prog_LIPO"; then
6981 for ncn_progname in lipo; do
6982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6983 set dummy ${ncn_progname}; ac_word=$2
6984 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6985 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6986 if test "${ac_cv_prog_LIPO+set}" = set; then
6987 echo $ECHO_N "(cached
) $ECHO_C" >&6
6989 if test -n "$LIPO"; then
6990 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6999 ac_cv_prog_LIPO="${ncn_progname}"
7000 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7008 LIPO=$ac_cv_prog_LIPO
7009 if test -n "$LIPO"; then
7010 echo "$as_me:$LINENO: result
: $LIPO" >&5
7011 echo "${ECHO_T}$LIPO" >&6
7013 echo "$as_me:$LINENO: result
: no
" >&5
7014 echo "${ECHO_T}no
" >&6
7020 for ncn_progname in lipo; do
7021 if test -n "$ncn_tool_prefix"; then
7022 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7023 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7024 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7025 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7026 if test "${ac_cv_prog_LIPO+set}" = set; then
7027 echo $ECHO_N "(cached
) $ECHO_C" >&6
7029 if test -n "$LIPO"; then
7030 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7040 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7048 LIPO=$ac_cv_prog_LIPO
7049 if test -n "$LIPO"; then
7050 echo "$as_me:$LINENO: result
: $LIPO" >&5
7051 echo "${ECHO_T}$LIPO" >&6
7053 echo "$as_me:$LINENO: result
: no
" >&5
7054 echo "${ECHO_T}no
" >&6
7058 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7060 set dummy ${ncn_progname}; ac_word=$2
7061 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7062 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7063 if test "${ac_cv_prog_LIPO+set}" = set; then
7064 echo $ECHO_N "(cached
) $ECHO_C" >&6
7066 if test -n "$LIPO"; then
7067 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_LIPO="${ncn_progname}"
7077 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7085 LIPO=$ac_cv_prog_LIPO
7086 if test -n "$LIPO"; then
7087 echo "$as_me:$LINENO: result
: $LIPO" >&5
7088 echo "${ECHO_T}$LIPO" >&6
7090 echo "$as_me:$LINENO: result
: no
" >&5
7091 echo "${ECHO_T}no
" >&6
7095 test -n "$ac_cv_prog_LIPO" && break
7098 if test -z "$ac_cv_prog_LIPO" ; then
7100 if test $build = $host ; then
7103 LIPO="${ncn_tool_prefix}$2"
7109 if test -n "$NM"; then
7111 elif test -n "$ac_cv_prog_NM"; then
7115 if test -n "$ac_cv_prog_NM"; then
7116 for ncn_progname in nm; do
7117 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7118 set dummy ${ncn_progname}; ac_word=$2
7119 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7120 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7121 if test "${ac_cv_prog_NM+set}" = set; then
7122 echo $ECHO_N "(cached
) $ECHO_C" >&6
7124 if test -n "$NM"; then
7125 ac_cv_prog_NM="$NM" # Let the user override the test.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_NM="${ncn_progname}"
7135 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7144 if test -n "$NM"; then
7145 echo "$as_me:$LINENO: result
: $NM" >&5
7146 echo "${ECHO_T}$NM" >&6
7148 echo "$as_me:$LINENO: result
: no
" >&5
7149 echo "${ECHO_T}no
" >&6
7155 for ncn_progname in nm; do
7156 if test -n "$ncn_tool_prefix"; then
7157 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7158 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7159 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7160 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7161 if test "${ac_cv_prog_NM+set}" = set; then
7162 echo $ECHO_N "(cached
) $ECHO_C" >&6
7164 if test -n "$NM"; then
7165 ac_cv_prog_NM="$NM" # Let the user override the test.
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 test -z "$as_dir" && as_dir=.
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7175 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7184 if test -n "$NM"; then
7185 echo "$as_me:$LINENO: result
: $NM" >&5
7186 echo "${ECHO_T}$NM" >&6
7188 echo "$as_me:$LINENO: result
: no
" >&5
7189 echo "${ECHO_T}no
" >&6
7193 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7195 set dummy ${ncn_progname}; ac_word=$2
7196 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7198 if test "${ac_cv_prog_NM+set}" = set; then
7199 echo $ECHO_N "(cached
) $ECHO_C" >&6
7201 if test -n "$NM"; then
7202 ac_cv_prog_NM="$NM" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_NM="${ncn_progname}"
7212 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7221 if test -n "$NM"; then
7222 echo "$as_me:$LINENO: result
: $NM" >&5
7223 echo "${ECHO_T}$NM" >&6
7225 echo "$as_me:$LINENO: result
: no
" >&5
7226 echo "${ECHO_T}no
" >&6
7230 test -n "$ac_cv_prog_NM" && break
7233 if test -z "$ac_cv_prog_NM" ; then
7235 if test $build = $host ; then
7238 NM="${ncn_tool_prefix}$2"
7244 if test -n "$RANLIB"; then
7245 ac_cv_prog_RANLIB=$RANLIB
7246 elif test -n "$ac_cv_prog_RANLIB"; then
7247 RANLIB=$ac_cv_prog_RANLIB
7250 if test -n "$ac_cv_prog_RANLIB"; then
7251 for ncn_progname in ranlib; do
7252 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7253 set dummy ${ncn_progname}; ac_word=$2
7254 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7255 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7256 if test "${ac_cv_prog_RANLIB+set}" = set; then
7257 echo $ECHO_N "(cached
) $ECHO_C" >&6
7259 if test -n "$RANLIB"; then
7260 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7269 ac_cv_prog_RANLIB="${ncn_progname}"
7270 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7278 RANLIB=$ac_cv_prog_RANLIB
7279 if test -n "$RANLIB"; then
7280 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7281 echo "${ECHO_T}$RANLIB" >&6
7283 echo "$as_me:$LINENO: result
: no
" >&5
7284 echo "${ECHO_T}no
" >&6
7290 for ncn_progname in ranlib; do
7291 if test -n "$ncn_tool_prefix"; then
7292 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7293 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7294 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7295 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7296 if test "${ac_cv_prog_RANLIB+set}" = set; then
7297 echo $ECHO_N "(cached
) $ECHO_C" >&6
7299 if test -n "$RANLIB"; then
7300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir=.
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7309 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7318 RANLIB=$ac_cv_prog_RANLIB
7319 if test -n "$RANLIB"; then
7320 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7321 echo "${ECHO_T}$RANLIB" >&6
7323 echo "$as_me:$LINENO: result
: no
" >&5
7324 echo "${ECHO_T}no
" >&6
7328 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7329 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7330 set dummy ${ncn_progname}; ac_word=$2
7331 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7332 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7333 if test "${ac_cv_prog_RANLIB+set}" = set; then
7334 echo $ECHO_N "(cached
) $ECHO_C" >&6
7336 if test -n "$RANLIB"; then
7337 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346 ac_cv_prog_RANLIB="${ncn_progname}"
7347 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7355 RANLIB=$ac_cv_prog_RANLIB
7356 if test -n "$RANLIB"; then
7357 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7358 echo "${ECHO_T}$RANLIB" >&6
7360 echo "$as_me:$LINENO: result
: no
" >&5
7361 echo "${ECHO_T}no
" >&6
7365 test -n "$ac_cv_prog_RANLIB" && break
7368 if test -z "$ac_cv_prog_RANLIB" ; then
7374 if test -n "$STRIP"; then
7375 ac_cv_prog_STRIP=$STRIP
7376 elif test -n "$ac_cv_prog_STRIP"; then
7377 STRIP=$ac_cv_prog_STRIP
7380 if test -n "$ac_cv_prog_STRIP"; then
7381 for ncn_progname in strip; do
7382 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7383 set dummy ${ncn_progname}; ac_word=$2
7384 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7385 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7386 if test "${ac_cv_prog_STRIP+set}" = set; then
7387 echo $ECHO_N "(cached
) $ECHO_C" >&6
7389 if test -n "$STRIP"; then
7390 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_STRIP="${ncn_progname}"
7400 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7408 STRIP=$ac_cv_prog_STRIP
7409 if test -n "$STRIP"; then
7410 echo "$as_me:$LINENO: result
: $STRIP" >&5
7411 echo "${ECHO_T}$STRIP" >&6
7413 echo "$as_me:$LINENO: result
: no
" >&5
7414 echo "${ECHO_T}no
" >&6
7420 for ncn_progname in strip; do
7421 if test -n "$ncn_tool_prefix"; then
7422 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7423 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7424 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7425 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7426 if test "${ac_cv_prog_STRIP+set}" = set; then
7427 echo $ECHO_N "(cached
) $ECHO_C" >&6
7429 if test -n "$STRIP"; then
7430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7440 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7448 STRIP=$ac_cv_prog_STRIP
7449 if test -n "$STRIP"; then
7450 echo "$as_me:$LINENO: result
: $STRIP" >&5
7451 echo "${ECHO_T}$STRIP" >&6
7453 echo "$as_me:$LINENO: result
: no
" >&5
7454 echo "${ECHO_T}no
" >&6
7458 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7460 set dummy ${ncn_progname}; ac_word=$2
7461 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7463 if test "${ac_cv_prog_STRIP+set}" = set; then
7464 echo $ECHO_N "(cached
) $ECHO_C" >&6
7466 if test -n "$STRIP"; then
7467 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_STRIP="${ncn_progname}"
7477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7485 STRIP=$ac_cv_prog_STRIP
7486 if test -n "$STRIP"; then
7487 echo "$as_me:$LINENO: result
: $STRIP" >&5
7488 echo "${ECHO_T}$STRIP" >&6
7490 echo "$as_me:$LINENO: result
: no
" >&5
7491 echo "${ECHO_T}no
" >&6
7495 test -n "$ac_cv_prog_STRIP" && break
7498 if test -z "$ac_cv_prog_STRIP" ; then
7504 if test -n "$WINDRES"; then
7505 ac_cv_prog_WINDRES=$WINDRES
7506 elif test -n "$ac_cv_prog_WINDRES"; then
7507 WINDRES=$ac_cv_prog_WINDRES
7510 if test -n "$ac_cv_prog_WINDRES"; then
7511 for ncn_progname in windres; do
7512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7513 set dummy ${ncn_progname}; ac_word=$2
7514 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7515 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7516 if test "${ac_cv_prog_WINDRES+set}" = set; then
7517 echo $ECHO_N "(cached
) $ECHO_C" >&6
7519 if test -n "$WINDRES"; then
7520 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir=.
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7529 ac_cv_prog_WINDRES="${ncn_progname}"
7530 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7538 WINDRES=$ac_cv_prog_WINDRES
7539 if test -n "$WINDRES"; then
7540 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7541 echo "${ECHO_T}$WINDRES" >&6
7543 echo "$as_me:$LINENO: result
: no
" >&5
7544 echo "${ECHO_T}no
" >&6
7550 for ncn_progname in windres; do
7551 if test -n "$ncn_tool_prefix"; then
7552 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7553 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7554 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7555 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7556 if test "${ac_cv_prog_WINDRES+set}" = set; then
7557 echo $ECHO_N "(cached
) $ECHO_C" >&6
7559 if test -n "$WINDRES"; then
7560 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 test -z "$as_dir" && as_dir=.
7567 for ac_exec_ext in '' $ac_executable_extensions; do
7568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7569 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7570 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7578 WINDRES=$ac_cv_prog_WINDRES
7579 if test -n "$WINDRES"; then
7580 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7581 echo "${ECHO_T}$WINDRES" >&6
7583 echo "$as_me:$LINENO: result
: no
" >&5
7584 echo "${ECHO_T}no
" >&6
7588 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7589 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7590 set dummy ${ncn_progname}; ac_word=$2
7591 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7592 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7593 if test "${ac_cv_prog_WINDRES+set}" = set; then
7594 echo $ECHO_N "(cached
) $ECHO_C" >&6
7596 if test -n "$WINDRES"; then
7597 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_WINDRES="${ncn_progname}"
7607 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7615 WINDRES=$ac_cv_prog_WINDRES
7616 if test -n "$WINDRES"; then
7617 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7618 echo "${ECHO_T}$WINDRES" >&6
7620 echo "$as_me:$LINENO: result
: no
" >&5
7621 echo "${ECHO_T}no
" >&6
7625 test -n "$ac_cv_prog_WINDRES" && break
7628 if test -z "$ac_cv_prog_WINDRES" ; then
7630 if test $build = $host ; then
7633 WINDRES="${ncn_tool_prefix}$2"
7639 if test -n "$WINDMC"; then
7640 ac_cv_prog_WINDMC=$WINDMC
7641 elif test -n "$ac_cv_prog_WINDMC"; then
7642 WINDMC=$ac_cv_prog_WINDMC
7645 if test -n "$ac_cv_prog_WINDMC"; then
7646 for ncn_progname in windmc; do
7647 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7648 set dummy ${ncn_progname}; ac_word=$2
7649 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7650 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7651 if test "${ac_cv_prog_WINDMC+set}" = set; then
7652 echo $ECHO_N "(cached
) $ECHO_C" >&6
7654 if test -n "$WINDMC"; then
7655 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664 ac_cv_prog_WINDMC="${ncn_progname}"
7665 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7673 WINDMC=$ac_cv_prog_WINDMC
7674 if test -n "$WINDMC"; then
7675 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7676 echo "${ECHO_T}$WINDMC" >&6
7678 echo "$as_me:$LINENO: result
: no
" >&5
7679 echo "${ECHO_T}no
" >&6
7685 for ncn_progname in windmc; do
7686 if test -n "$ncn_tool_prefix"; then
7687 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7688 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7689 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7690 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7691 if test "${ac_cv_prog_WINDMC+set}" = set; then
7692 echo $ECHO_N "(cached
) $ECHO_C" >&6
7694 if test -n "$WINDMC"; then
7695 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir=.
7702 for ac_exec_ext in '' $ac_executable_extensions; do
7703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7704 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7705 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7713 WINDMC=$ac_cv_prog_WINDMC
7714 if test -n "$WINDMC"; then
7715 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7716 echo "${ECHO_T}$WINDMC" >&6
7718 echo "$as_me:$LINENO: result
: no
" >&5
7719 echo "${ECHO_T}no
" >&6
7723 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7725 set dummy ${ncn_progname}; ac_word=$2
7726 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7727 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7728 if test "${ac_cv_prog_WINDMC+set}" = set; then
7729 echo $ECHO_N "(cached
) $ECHO_C" >&6
7731 if test -n "$WINDMC"; then
7732 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir=.
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_WINDMC="${ncn_progname}"
7742 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7750 WINDMC=$ac_cv_prog_WINDMC
7751 if test -n "$WINDMC"; then
7752 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7753 echo "${ECHO_T}$WINDMC" >&6
7755 echo "$as_me:$LINENO: result
: no
" >&5
7756 echo "${ECHO_T}no
" >&6
7760 test -n "$ac_cv_prog_WINDMC" && break
7763 if test -z "$ac_cv_prog_WINDMC" ; then
7765 if test $build = $host ; then
7768 WINDMC="${ncn_tool_prefix}$2"
7774 if test -n "$OBJCOPY"; then
7775 ac_cv_prog_OBJCOPY=$OBJCOPY
7776 elif test -n "$ac_cv_prog_OBJCOPY"; then
7777 OBJCOPY=$ac_cv_prog_OBJCOPY
7780 if test -n "$ac_cv_prog_OBJCOPY"; then
7781 for ncn_progname in objcopy; do
7782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7783 set dummy ${ncn_progname}; ac_word=$2
7784 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7785 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7786 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7787 echo $ECHO_N "(cached
) $ECHO_C" >&6
7789 if test -n "$OBJCOPY"; then
7790 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_prog_OBJCOPY="${ncn_progname}"
7800 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7808 OBJCOPY=$ac_cv_prog_OBJCOPY
7809 if test -n "$OBJCOPY"; then
7810 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7811 echo "${ECHO_T}$OBJCOPY" >&6
7813 echo "$as_me:$LINENO: result
: no
" >&5
7814 echo "${ECHO_T}no
" >&6
7820 for ncn_progname in objcopy; do
7821 if test -n "$ncn_tool_prefix"; then
7822 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7823 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7824 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7825 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7826 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7827 echo $ECHO_N "(cached
) $ECHO_C" >&6
7829 if test -n "$OBJCOPY"; then
7830 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7840 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7848 OBJCOPY=$ac_cv_prog_OBJCOPY
7849 if test -n "$OBJCOPY"; then
7850 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7851 echo "${ECHO_T}$OBJCOPY" >&6
7853 echo "$as_me:$LINENO: result
: no
" >&5
7854 echo "${ECHO_T}no
" >&6
7858 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7859 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7860 set dummy ${ncn_progname}; ac_word=$2
7861 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7862 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7863 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7864 echo $ECHO_N "(cached
) $ECHO_C" >&6
7866 if test -n "$OBJCOPY"; then
7867 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_OBJCOPY="${ncn_progname}"
7877 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 OBJCOPY=$ac_cv_prog_OBJCOPY
7886 if test -n "$OBJCOPY"; then
7887 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7888 echo "${ECHO_T}$OBJCOPY" >&6
7890 echo "$as_me:$LINENO: result
: no
" >&5
7891 echo "${ECHO_T}no
" >&6
7895 test -n "$ac_cv_prog_OBJCOPY" && break
7898 if test -z "$ac_cv_prog_OBJCOPY" ; then
7900 if test $build = $host ; then
7903 OBJCOPY="${ncn_tool_prefix}$2"
7909 if test -n "$OBJDUMP"; then
7910 ac_cv_prog_OBJDUMP=$OBJDUMP
7911 elif test -n "$ac_cv_prog_OBJDUMP"; then
7912 OBJDUMP=$ac_cv_prog_OBJDUMP
7915 if test -n "$ac_cv_prog_OBJDUMP"; then
7916 for ncn_progname in objdump; do
7917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7918 set dummy ${ncn_progname}; ac_word=$2
7919 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7920 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7921 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7922 echo $ECHO_N "(cached
) $ECHO_C" >&6
7924 if test -n "$OBJDUMP"; then
7925 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_OBJDUMP="${ncn_progname}"
7935 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7943 OBJDUMP=$ac_cv_prog_OBJDUMP
7944 if test -n "$OBJDUMP"; then
7945 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7946 echo "${ECHO_T}$OBJDUMP" >&6
7948 echo "$as_me:$LINENO: result
: no
" >&5
7949 echo "${ECHO_T}no
" >&6
7955 for ncn_progname in objdump; do
7956 if test -n "$ncn_tool_prefix"; then
7957 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7958 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7959 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7960 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7961 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7962 echo $ECHO_N "(cached
) $ECHO_C" >&6
7964 if test -n "$OBJDUMP"; then
7965 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7975 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7983 OBJDUMP=$ac_cv_prog_OBJDUMP
7984 if test -n "$OBJDUMP"; then
7985 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7986 echo "${ECHO_T}$OBJDUMP" >&6
7988 echo "$as_me:$LINENO: result
: no
" >&5
7989 echo "${ECHO_T}no
" >&6
7993 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7995 set dummy ${ncn_progname}; ac_word=$2
7996 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7997 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7998 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7999 echo $ECHO_N "(cached
) $ECHO_C" >&6
8001 if test -n "$OBJDUMP"; then
8002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 test -z "$as_dir" && as_dir=.
8009 for ac_exec_ext in '' $ac_executable_extensions; do
8010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8011 ac_cv_prog_OBJDUMP="${ncn_progname}"
8012 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8020 OBJDUMP=$ac_cv_prog_OBJDUMP
8021 if test -n "$OBJDUMP"; then
8022 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8023 echo "${ECHO_T}$OBJDUMP" >&6
8025 echo "$as_me:$LINENO: result
: no
" >&5
8026 echo "${ECHO_T}no
" >&6
8030 test -n "$ac_cv_prog_OBJDUMP" && break
8033 if test -z "$ac_cv_prog_OBJDUMP" ; then
8035 if test $build = $host ; then
8038 OBJDUMP="${ncn_tool_prefix}$2"
8049 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8050 if test "${with_build_time_tools+set}" = set; then
8051 withval="$with_build_time_tools"
8055 with_build_time_tools=
8056 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8057 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8061 with_build_time_tools=
8066 if test -n "$CC_FOR_TARGET"; then
8067 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8068 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8069 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8072 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8073 for ncn_progname in cc gcc; do
8074 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8075 set dummy ${ncn_progname}; ac_word=$2
8076 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8077 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8078 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8079 echo $ECHO_N "(cached
) $ECHO_C" >&6
8081 if test -n "$CC_FOR_TARGET"; then
8082 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8092 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8100 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8101 if test -n "$CC_FOR_TARGET"; then
8102 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8103 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8105 echo "$as_me:$LINENO: result
: no
" >&5
8106 echo "${ECHO_T}no
" >&6
8112 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8113 for ncn_progname in cc gcc; do
8114 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8115 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8116 if test -x $with_build_time_tools/${ncn_progname}; then
8117 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8118 echo "$as_me:$LINENO: result
: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8122 echo "$as_me:$LINENO: result
: no
" >&5
8123 echo "${ECHO_T}no
" >&6
8128 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8129 for ncn_progname in cc gcc; do
8130 if test -n "$ncn_target_tool_prefix"; then
8131 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8132 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8133 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8134 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8135 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8136 echo $ECHO_N "(cached
) $ECHO_C" >&6
8138 if test -n "$CC_FOR_TARGET"; then
8139 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8148 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8149 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8158 if test -n "$CC_FOR_TARGET"; then
8159 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8160 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8162 echo "$as_me:$LINENO: result
: no
" >&5
8163 echo "${ECHO_T}no
" >&6
8167 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8169 set dummy ${ncn_progname}; ac_word=$2
8170 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8171 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8172 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8173 echo $ECHO_N "(cached
) $ECHO_C" >&6
8175 if test -n "$CC_FOR_TARGET"; then
8176 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8185 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8186 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8194 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8195 if test -n "$CC_FOR_TARGET"; then
8196 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8197 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8199 echo "$as_me:$LINENO: result
: no
" >&5
8200 echo "${ECHO_T}no
" >&6
8204 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8208 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8210 if test $build = $target ; then
8213 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8216 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8221 if test -n "$CXX_FOR_TARGET"; then
8222 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8223 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8224 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8227 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8228 for ncn_progname in c++ g++ cxx gxx; do
8229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8230 set dummy ${ncn_progname}; ac_word=$2
8231 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8232 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8233 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8234 echo $ECHO_N "(cached
) $ECHO_C" >&6
8236 if test -n "$CXX_FOR_TARGET"; then
8237 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8247 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8255 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8256 if test -n "$CXX_FOR_TARGET"; then
8257 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8258 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8260 echo "$as_me:$LINENO: result
: no
" >&5
8261 echo "${ECHO_T}no
" >&6
8267 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8268 for ncn_progname in c++ g++ cxx gxx; do
8269 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8270 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8271 if test -x $with_build_time_tools/${ncn_progname}; then
8272 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8273 echo "$as_me:$LINENO: result
: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8277 echo "$as_me:$LINENO: result
: no
" >&5
8278 echo "${ECHO_T}no
" >&6
8283 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8284 for ncn_progname in c++ g++ cxx gxx; do
8285 if test -n "$ncn_target_tool_prefix"; then
8286 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8287 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8288 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8289 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8290 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8291 echo $ECHO_N "(cached
) $ECHO_C" >&6
8293 if test -n "$CXX_FOR_TARGET"; then
8294 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8303 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8304 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8312 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8313 if test -n "$CXX_FOR_TARGET"; then
8314 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8315 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8317 echo "$as_me:$LINENO: result
: no
" >&5
8318 echo "${ECHO_T}no
" >&6
8322 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8323 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8324 set dummy ${ncn_progname}; ac_word=$2
8325 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8326 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8327 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8328 echo $ECHO_N "(cached
) $ECHO_C" >&6
8330 if test -n "$CXX_FOR_TARGET"; then
8331 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8337 test -z "$as_dir" && as_dir=.
8338 for ac_exec_ext in '' $ac_executable_extensions; do
8339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8340 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8341 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8349 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8350 if test -n "$CXX_FOR_TARGET"; then
8351 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8352 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8354 echo "$as_me:$LINENO: result
: no
" >&5
8355 echo "${ECHO_T}no
" >&6
8359 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8363 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8364 set dummy c++ g++ cxx gxx
8365 if test $build = $target ; then
8368 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8371 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8376 if test -n "$GCC_FOR_TARGET"; then
8377 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8378 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8379 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8382 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8383 for ncn_progname in gcc; do
8384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8385 set dummy ${ncn_progname}; ac_word=$2
8386 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8388 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8389 echo $ECHO_N "(cached
) $ECHO_C" >&6
8391 if test -n "$GCC_FOR_TARGET"; then
8392 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8411 if test -n "$GCC_FOR_TARGET"; then
8412 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8413 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8415 echo "$as_me:$LINENO: result
: no
" >&5
8416 echo "${ECHO_T}no
" >&6
8422 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8423 for ncn_progname in gcc; do
8424 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8425 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8426 if test -x $with_build_time_tools/${ncn_progname}; then
8427 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8428 echo "$as_me:$LINENO: result
: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8432 echo "$as_me:$LINENO: result
: no
" >&5
8433 echo "${ECHO_T}no
" >&6
8438 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8439 for ncn_progname in gcc; do
8440 if test -n "$ncn_target_tool_prefix"; then
8441 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8442 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8443 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8444 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8445 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8446 echo $ECHO_N "(cached
) $ECHO_C" >&6
8448 if test -n "$GCC_FOR_TARGET"; then
8449 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8458 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8467 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8468 if test -n "$GCC_FOR_TARGET"; then
8469 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8470 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8472 echo "$as_me:$LINENO: result
: no
" >&5
8473 echo "${ECHO_T}no
" >&6
8477 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8479 set dummy ${ncn_progname}; ac_word=$2
8480 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8481 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8482 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8483 echo $ECHO_N "(cached
) $ECHO_C" >&6
8485 if test -n "$GCC_FOR_TARGET"; then
8486 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir=.
8493 for ac_exec_ext in '' $ac_executable_extensions; do
8494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8495 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8496 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8504 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8505 if test -n "$GCC_FOR_TARGET"; then
8506 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8507 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8509 echo "$as_me:$LINENO: result
: no
" >&5
8510 echo "${ECHO_T}no
" >&6
8514 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8518 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8519 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8521 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8526 if test -n "$GCJ_FOR_TARGET"; then
8527 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8528 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8529 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8532 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8533 for ncn_progname in gcj; do
8534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8535 set dummy ${ncn_progname}; ac_word=$2
8536 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8537 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8538 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8539 echo $ECHO_N "(cached
) $ECHO_C" >&6
8541 if test -n "$GCJ_FOR_TARGET"; then
8542 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir=.
8549 for ac_exec_ext in '' $ac_executable_extensions; do
8550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8551 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8552 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8560 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8561 if test -n "$GCJ_FOR_TARGET"; then
8562 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8563 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8565 echo "$as_me:$LINENO: result
: no
" >&5
8566 echo "${ECHO_T}no
" >&6
8572 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8573 for ncn_progname in gcj; do
8574 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8575 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8576 if test -x $with_build_time_tools/${ncn_progname}; then
8577 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8578 echo "$as_me:$LINENO: result
: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8582 echo "$as_me:$LINENO: result
: no
" >&5
8583 echo "${ECHO_T}no
" >&6
8588 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8589 for ncn_progname in gcj; do
8590 if test -n "$ncn_target_tool_prefix"; then
8591 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8592 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8593 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8594 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8595 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8596 echo $ECHO_N "(cached
) $ECHO_C" >&6
8598 if test -n "$GCJ_FOR_TARGET"; then
8599 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir=.
8606 for ac_exec_ext in '' $ac_executable_extensions; do
8607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8608 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8609 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8617 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8618 if test -n "$GCJ_FOR_TARGET"; then
8619 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8620 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8622 echo "$as_me:$LINENO: result
: no
" >&5
8623 echo "${ECHO_T}no
" >&6
8627 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8629 set dummy ${ncn_progname}; ac_word=$2
8630 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8631 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8632 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8633 echo $ECHO_N "(cached
) $ECHO_C" >&6
8635 if test -n "$GCJ_FOR_TARGET"; then
8636 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642 test -z "$as_dir" && as_dir=.
8643 for ac_exec_ext in '' $ac_executable_extensions; do
8644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8645 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8646 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8654 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8655 if test -n "$GCJ_FOR_TARGET"; then
8656 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8657 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8659 echo "$as_me:$LINENO: result
: no
" >&5
8660 echo "${ECHO_T}no
" >&6
8664 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8668 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8670 if test $build = $target ; then
8673 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8676 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8681 if test -n "$GFORTRAN_FOR_TARGET"; then
8682 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8683 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8684 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8687 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8688 for ncn_progname in gfortran; do
8689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8690 set dummy ${ncn_progname}; ac_word=$2
8691 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8692 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8693 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8694 echo $ECHO_N "(cached
) $ECHO_C" >&6
8696 if test -n "$GFORTRAN_FOR_TARGET"; then
8697 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8703 test -z "$as_dir" && as_dir=.
8704 for ac_exec_ext in '' $ac_executable_extensions; do
8705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8706 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8707 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8715 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8716 if test -n "$GFORTRAN_FOR_TARGET"; then
8717 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8718 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8720 echo "$as_me:$LINENO: result
: no
" >&5
8721 echo "${ECHO_T}no
" >&6
8727 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8728 for ncn_progname in gfortran; do
8729 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8730 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8731 if test -x $with_build_time_tools/${ncn_progname}; then
8732 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8733 echo "$as_me:$LINENO: result
: yes" >&5
8734 echo "${ECHO_T}yes" >&6
8737 echo "$as_me:$LINENO: result
: no
" >&5
8738 echo "${ECHO_T}no
" >&6
8743 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8744 for ncn_progname in gfortran; do
8745 if test -n "$ncn_target_tool_prefix"; then
8746 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8747 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8748 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8749 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8750 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8751 echo $ECHO_N "(cached
) $ECHO_C" >&6
8753 if test -n "$GFORTRAN_FOR_TARGET"; then
8754 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8760 test -z "$as_dir" && as_dir=.
8761 for ac_exec_ext in '' $ac_executable_extensions; do
8762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8763 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8764 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8772 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8773 if test -n "$GFORTRAN_FOR_TARGET"; then
8774 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8775 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8777 echo "$as_me:$LINENO: result
: no
" >&5
8778 echo "${ECHO_T}no
" >&6
8782 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8783 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8784 set dummy ${ncn_progname}; ac_word=$2
8785 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8786 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8787 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8788 echo $ECHO_N "(cached
) $ECHO_C" >&6
8790 if test -n "$GFORTRAN_FOR_TARGET"; then
8791 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8797 test -z "$as_dir" && as_dir=.
8798 for ac_exec_ext in '' $ac_executable_extensions; do
8799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8800 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8801 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8809 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8810 if test -n "$GFORTRAN_FOR_TARGET"; then
8811 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8812 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8814 echo "$as_me:$LINENO: result
: no
" >&5
8815 echo "${ECHO_T}no
" >&6
8819 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8823 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8825 if test $build = $target ; then
8826 GFORTRAN_FOR_TARGET="$2"
8828 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8831 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8836 cat > conftest.c << \EOF
8841 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8842 have_gcc_for_target=yes
8844 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8845 have_gcc_for_target=no
8852 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8853 if test -n "$with_build_time_tools"; then
8854 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8855 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8856 if test -x $with_build_time_tools/ar; then
8857 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8858 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8859 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8860 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8862 echo "$as_me:$LINENO: result
: no
" >&5
8863 echo "${ECHO_T}no
" >&6
8865 elif test $build != $host && test $have_gcc_for_target = yes; then
8866 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8867 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8868 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8871 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8872 # Extract the first word of "ar", so it can be a program name with args.
8873 set dummy ar; ac_word=$2
8874 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8875 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8876 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8877 echo $ECHO_N "(cached
) $ECHO_C" >&6
8879 case $AR_FOR_TARGET in
8881 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 for as_dir in $gcc_cv_tool_dirs
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8891 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8892 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8901 AR_FOR_TARGET=$ac_cv_path_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
8912 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8915 if test -n "$AR_FOR_TARGET"; then
8916 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8917 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8918 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8921 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8922 for ncn_progname in ar; do
8923 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8924 set dummy ${ncn_progname}; ac_word=$2
8925 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8926 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8927 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8928 echo $ECHO_N "(cached
) $ECHO_C" >&6
8930 if test -n "$AR_FOR_TARGET"; then
8931 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937 test -z "$as_dir" && as_dir=.
8938 for ac_exec_ext in '' $ac_executable_extensions; do
8939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8940 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8941 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8949 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8950 if test -n "$AR_FOR_TARGET"; then
8951 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8952 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8954 echo "$as_me:$LINENO: result
: no
" >&5
8955 echo "${ECHO_T}no
" >&6
8961 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8962 for ncn_progname in ar; do
8963 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8964 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8965 if test -x $with_build_time_tools/${ncn_progname}; then
8966 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8967 echo "$as_me:$LINENO: result
: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8971 echo "$as_me:$LINENO: result
: no
" >&5
8972 echo "${ECHO_T}no
" >&6
8977 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8978 for ncn_progname in ar; do
8979 if test -n "$ncn_target_tool_prefix"; then
8980 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8981 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8982 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8983 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8984 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8985 echo $ECHO_N "(cached
) $ECHO_C" >&6
8987 if test -n "$AR_FOR_TARGET"; then
8988 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8997 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8998 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9006 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9007 if test -n "$AR_FOR_TARGET"; then
9008 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9009 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9011 echo "$as_me:$LINENO: result
: no
" >&5
9012 echo "${ECHO_T}no
" >&6
9016 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9017 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9018 set dummy ${ncn_progname}; ac_word=$2
9019 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9021 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9022 echo $ECHO_N "(cached
) $ECHO_C" >&6
9024 if test -n "$AR_FOR_TARGET"; then
9025 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9031 test -z "$as_dir" && as_dir=.
9032 for ac_exec_ext in '' $ac_executable_extensions; do
9033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9034 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9043 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9044 if test -n "$AR_FOR_TARGET"; then
9045 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9046 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9048 echo "$as_me:$LINENO: result
: no
" >&5
9049 echo "${ECHO_T}no
" >&6
9053 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9057 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9059 if test $build = $target ; then
9062 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9065 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9069 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9075 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9076 if test -n "$with_build_time_tools"; then
9077 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9078 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9079 if test -x $with_build_time_tools/as; then
9080 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9081 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9082 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9083 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9085 echo "$as_me:$LINENO: result
: no
" >&5
9086 echo "${ECHO_T}no
" >&6
9088 elif test $build != $host && test $have_gcc_for_target = yes; then
9089 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9090 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9091 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9094 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9095 # Extract the first word of "as
", so it can be a program name with args.
9096 set dummy as; ac_word=$2
9097 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9098 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9099 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9100 echo $ECHO_N "(cached
) $ECHO_C" >&6
9102 case $AS_FOR_TARGET in
9104 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9108 for as_dir in $gcc_cv_tool_dirs
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9114 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9115 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 AS_FOR_TARGET=$ac_cv_path_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
9135 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9138 if test -n "$AS_FOR_TARGET"; then
9139 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9140 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9141 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9144 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9145 for ncn_progname in as; do
9146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9147 set dummy ${ncn_progname}; ac_word=$2
9148 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9149 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9150 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9151 echo $ECHO_N "(cached
) $ECHO_C" >&6
9153 if test -n "$AS_FOR_TARGET"; then
9154 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9160 test -z "$as_dir" && as_dir=.
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9163 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9164 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9172 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9173 if test -n "$AS_FOR_TARGET"; then
9174 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9175 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9177 echo "$as_me:$LINENO: result
: no
" >&5
9178 echo "${ECHO_T}no
" >&6
9184 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9185 for ncn_progname in as; do
9186 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9187 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9188 if test -x $with_build_time_tools/${ncn_progname}; then
9189 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9190 echo "$as_me:$LINENO: result
: yes" >&5
9191 echo "${ECHO_T}yes" >&6
9194 echo "$as_me:$LINENO: result
: no
" >&5
9195 echo "${ECHO_T}no
" >&6
9200 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9201 for ncn_progname in as; do
9202 if test -n "$ncn_target_tool_prefix"; then
9203 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9204 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9205 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9206 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9207 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9208 echo $ECHO_N "(cached
) $ECHO_C" >&6
9210 if test -n "$AS_FOR_TARGET"; then
9211 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9217 test -z "$as_dir" && as_dir=.
9218 for ac_exec_ext in '' $ac_executable_extensions; do
9219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9220 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9221 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9229 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9230 if test -n "$AS_FOR_TARGET"; then
9231 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9232 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9234 echo "$as_me:$LINENO: result
: no
" >&5
9235 echo "${ECHO_T}no
" >&6
9239 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9241 set dummy ${ncn_progname}; ac_word=$2
9242 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9243 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9244 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9245 echo $ECHO_N "(cached
) $ECHO_C" >&6
9247 if test -n "$AS_FOR_TARGET"; then
9248 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9257 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9258 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9266 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9267 if test -n "$AS_FOR_TARGET"; then
9268 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9269 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9271 echo "$as_me:$LINENO: result
: no
" >&5
9272 echo "${ECHO_T}no
" >&6
9276 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9280 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9282 if test $build = $target ; then
9285 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9288 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9292 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9298 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9299 if test -n "$with_build_time_tools"; then
9300 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9301 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9302 if test -x $with_build_time_tools/dlltool; then
9303 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9304 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9305 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9306 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9308 echo "$as_me:$LINENO: result
: no
" >&5
9309 echo "${ECHO_T}no
" >&6
9311 elif test $build != $host && test $have_gcc_for_target = yes; then
9312 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9313 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9314 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9317 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9318 # Extract the first word of "dlltool
", so it can be a program name with args.
9319 set dummy dlltool; ac_word=$2
9320 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9322 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9323 echo $ECHO_N "(cached
) $ECHO_C" >&6
9325 case $DLLTOOL_FOR_TARGET in
9327 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 for as_dir in $gcc_cv_tool_dirs
9334 test -z "$as_dir" && as_dir=.
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9337 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9347 DLLTOOL_FOR_TARGET=$ac_cv_path_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
9358 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9361 if test -n "$DLLTOOL_FOR_TARGET"; then
9362 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9363 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9364 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9367 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9368 for ncn_progname in dlltool; do
9369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9370 set dummy ${ncn_progname}; ac_word=$2
9371 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9372 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9373 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9374 echo $ECHO_N "(cached
) $ECHO_C" >&6
9376 if test -n "$DLLTOOL_FOR_TARGET"; then
9377 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9383 test -z "$as_dir" && as_dir=.
9384 for ac_exec_ext in '' $ac_executable_extensions; do
9385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9386 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9387 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9395 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9396 if test -n "$DLLTOOL_FOR_TARGET"; then
9397 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9398 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9400 echo "$as_me:$LINENO: result
: no
" >&5
9401 echo "${ECHO_T}no
" >&6
9407 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9408 for ncn_progname in dlltool; do
9409 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9410 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9411 if test -x $with_build_time_tools/${ncn_progname}; then
9412 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9413 echo "$as_me:$LINENO: result
: yes" >&5
9414 echo "${ECHO_T}yes" >&6
9417 echo "$as_me:$LINENO: result
: no
" >&5
9418 echo "${ECHO_T}no
" >&6
9423 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9424 for ncn_progname in dlltool; do
9425 if test -n "$ncn_target_tool_prefix"; then
9426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9428 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9429 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9430 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9431 echo $ECHO_N "(cached
) $ECHO_C" >&6
9433 if test -n "$DLLTOOL_FOR_TARGET"; then
9434 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir=.
9441 for ac_exec_ext in '' $ac_executable_extensions; do
9442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9443 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9444 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9452 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9453 if test -n "$DLLTOOL_FOR_TARGET"; then
9454 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9455 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9457 echo "$as_me:$LINENO: result
: no
" >&5
9458 echo "${ECHO_T}no
" >&6
9462 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9463 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9464 set dummy ${ncn_progname}; ac_word=$2
9465 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9466 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9467 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9468 echo $ECHO_N "(cached
) $ECHO_C" >&6
9470 if test -n "$DLLTOOL_FOR_TARGET"; then
9471 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9477 test -z "$as_dir" && as_dir=.
9478 for ac_exec_ext in '' $ac_executable_extensions; do
9479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9480 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9481 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9489 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9490 if test -n "$DLLTOOL_FOR_TARGET"; then
9491 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9492 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9494 echo "$as_me:$LINENO: result
: no
" >&5
9495 echo "${ECHO_T}no
" >&6
9499 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9503 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9505 if test $build = $target ; then
9506 DLLTOOL_FOR_TARGET="$2"
9508 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9511 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9515 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9521 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9522 if test -n "$with_build_time_tools"; then
9523 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9524 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9525 if test -x $with_build_time_tools/ld; then
9526 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9527 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9528 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9529 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9531 echo "$as_me:$LINENO: result
: no
" >&5
9532 echo "${ECHO_T}no
" >&6
9534 elif test $build != $host && test $have_gcc_for_target = yes; then
9535 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9536 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9537 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9540 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9541 # Extract the first word of "ld
", so it can be a program name with args.
9542 set dummy ld; ac_word=$2
9543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9545 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9546 echo $ECHO_N "(cached
) $ECHO_C" >&6
9548 case $LD_FOR_TARGET in
9550 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9554 for as_dir in $gcc_cv_tool_dirs
9557 test -z "$as_dir" && as_dir=.
9558 for ac_exec_ext in '' $ac_executable_extensions; do
9559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9560 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9561 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9570 LD_FOR_TARGET=$ac_cv_path_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
9581 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9584 if test -n "$LD_FOR_TARGET"; then
9585 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9586 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9587 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9590 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9591 for ncn_progname in ld; do
9592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9593 set dummy ${ncn_progname}; ac_word=$2
9594 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9595 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9596 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9597 echo $ECHO_N "(cached
) $ECHO_C" >&6
9599 if test -n "$LD_FOR_TARGET"; then
9600 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9606 test -z "$as_dir" && as_dir=.
9607 for ac_exec_ext in '' $ac_executable_extensions; do
9608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9609 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9610 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9618 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9619 if test -n "$LD_FOR_TARGET"; then
9620 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9621 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9623 echo "$as_me:$LINENO: result
: no
" >&5
9624 echo "${ECHO_T}no
" >&6
9630 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9631 for ncn_progname in ld; do
9632 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9633 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9634 if test -x $with_build_time_tools/${ncn_progname}; then
9635 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9636 echo "$as_me:$LINENO: result
: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9640 echo "$as_me:$LINENO: result
: no
" >&5
9641 echo "${ECHO_T}no
" >&6
9646 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9647 for ncn_progname in ld; do
9648 if test -n "$ncn_target_tool_prefix"; then
9649 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9650 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9651 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9652 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9653 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9654 echo $ECHO_N "(cached
) $ECHO_C" >&6
9656 if test -n "$LD_FOR_TARGET"; then
9657 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9663 test -z "$as_dir" && as_dir=.
9664 for ac_exec_ext in '' $ac_executable_extensions; do
9665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9666 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9667 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9675 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9676 if test -n "$LD_FOR_TARGET"; then
9677 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9678 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9680 echo "$as_me:$LINENO: result
: no
" >&5
9681 echo "${ECHO_T}no
" >&6
9685 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9687 set dummy ${ncn_progname}; ac_word=$2
9688 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9689 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9690 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9691 echo $ECHO_N "(cached
) $ECHO_C" >&6
9693 if test -n "$LD_FOR_TARGET"; then
9694 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir=.
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9703 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9704 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9712 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9713 if test -n "$LD_FOR_TARGET"; then
9714 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9715 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9717 echo "$as_me:$LINENO: result
: no
" >&5
9718 echo "${ECHO_T}no
" >&6
9722 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9726 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9728 if test $build = $target ; then
9731 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9734 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9738 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9744 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9745 if test -n "$with_build_time_tools"; then
9746 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9747 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9748 if test -x $with_build_time_tools/lipo; then
9749 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9750 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9751 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9752 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9754 echo "$as_me:$LINENO: result
: no
" >&5
9755 echo "${ECHO_T}no
" >&6
9757 elif test $build != $host && test $have_gcc_for_target = yes; then
9758 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9759 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9760 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9763 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9764 # Extract the first word of "lipo
", so it can be a program name with args.
9765 set dummy lipo; ac_word=$2
9766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9768 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9769 echo $ECHO_N "(cached
) $ECHO_C" >&6
9771 case $LIPO_FOR_TARGET in
9773 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 for as_dir in $gcc_cv_tool_dirs
9780 test -z "$as_dir" && as_dir=.
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9784 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9793 LIPO_FOR_TARGET=$ac_cv_path_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
9804 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9807 if test -n "$LIPO_FOR_TARGET"; then
9808 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9809 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9810 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9813 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9814 for ncn_progname in lipo; do
9815 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9816 set dummy ${ncn_progname}; ac_word=$2
9817 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9818 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9819 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9820 echo $ECHO_N "(cached
) $ECHO_C" >&6
9822 if test -n "$LIPO_FOR_TARGET"; then
9823 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9829 test -z "$as_dir" && as_dir=.
9830 for ac_exec_ext in '' $ac_executable_extensions; do
9831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9832 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9833 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9841 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9842 if test -n "$LIPO_FOR_TARGET"; then
9843 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9844 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9846 echo "$as_me:$LINENO: result
: no
" >&5
9847 echo "${ECHO_T}no
" >&6
9853 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9854 for ncn_progname in lipo; do
9855 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9856 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9857 if test -x $with_build_time_tools/${ncn_progname}; then
9858 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9859 echo "$as_me:$LINENO: result
: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9863 echo "$as_me:$LINENO: result
: no
" >&5
9864 echo "${ECHO_T}no
" >&6
9869 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9870 for ncn_progname in lipo; do
9871 if test -n "$ncn_target_tool_prefix"; then
9872 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9873 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9874 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9875 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9876 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9877 echo $ECHO_N "(cached
) $ECHO_C" >&6
9879 if test -n "$LIPO_FOR_TARGET"; then
9880 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 test -z "$as_dir" && as_dir=.
9887 for ac_exec_ext in '' $ac_executable_extensions; do
9888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9889 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9890 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9898 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9899 if test -n "$LIPO_FOR_TARGET"; then
9900 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9901 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9903 echo "$as_me:$LINENO: result
: no
" >&5
9904 echo "${ECHO_T}no
" >&6
9908 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9910 set dummy ${ncn_progname}; ac_word=$2
9911 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9912 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9913 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9914 echo $ECHO_N "(cached
) $ECHO_C" >&6
9916 if test -n "$LIPO_FOR_TARGET"; then
9917 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 test -z "$as_dir" && as_dir=.
9924 for ac_exec_ext in '' $ac_executable_extensions; do
9925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9927 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9935 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9936 if test -n "$LIPO_FOR_TARGET"; then
9937 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9938 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9940 echo "$as_me:$LINENO: result
: no
" >&5
9941 echo "${ECHO_T}no
" >&6
9945 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9949 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9951 if test $build = $target ; then
9952 LIPO_FOR_TARGET="$2"
9954 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9957 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9961 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9967 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9968 if test -n "$with_build_time_tools"; then
9969 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9970 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9971 if test -x $with_build_time_tools/nm; then
9972 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9973 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9974 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9975 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9977 echo "$as_me:$LINENO: result
: no
" >&5
9978 echo "${ECHO_T}no
" >&6
9980 elif test $build != $host && test $have_gcc_for_target = yes; then
9981 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9982 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
9983 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9986 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9987 # Extract the first word of "nm
", so it can be a program name with args.
9988 set dummy nm; ac_word=$2
9989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9991 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9992 echo $ECHO_N "(cached
) $ECHO_C" >&6
9994 case $NM_FOR_TARGET in
9996 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10000 for as_dir in $gcc_cv_tool_dirs
10003 test -z "$as_dir" && as_dir=.
10004 for ac_exec_ext in '' $ac_executable_extensions; do
10005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10006 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10016 NM_FOR_TARGET=$ac_cv_path_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
10027 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10030 if test -n "$NM_FOR_TARGET"; then
10031 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10032 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10033 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10036 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10037 for ncn_progname in nm; do
10038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10039 set dummy ${ncn_progname}; ac_word=$2
10040 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10041 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10042 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10043 echo $ECHO_N "(cached
) $ECHO_C" >&6
10045 if test -n "$NM_FOR_TARGET"; then
10046 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10049 for as_dir in $PATH
10052 test -z "$as_dir" && as_dir=.
10053 for ac_exec_ext in '' $ac_executable_extensions; do
10054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10055 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10056 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10064 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10065 if test -n "$NM_FOR_TARGET"; then
10066 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10067 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10069 echo "$as_me:$LINENO: result
: no
" >&5
10070 echo "${ECHO_T}no
" >&6
10076 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10077 for ncn_progname in nm; do
10078 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10079 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10080 if test -x $with_build_time_tools/${ncn_progname}; then
10081 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10082 echo "$as_me:$LINENO: result
: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result
: no
" >&5
10087 echo "${ECHO_T}no
" >&6
10092 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10093 for ncn_progname in nm; do
10094 if test -n "$ncn_target_tool_prefix"; then
10095 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10096 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10097 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10098 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10099 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10100 echo $ECHO_N "(cached
) $ECHO_C" >&6
10102 if test -n "$NM_FOR_TARGET"; then
10103 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10106 for as_dir in $PATH
10109 test -z "$as_dir" && as_dir=.
10110 for ac_exec_ext in '' $ac_executable_extensions; do
10111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10113 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10121 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10122 if test -n "$NM_FOR_TARGET"; then
10123 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10124 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10126 echo "$as_me:$LINENO: result
: no
" >&5
10127 echo "${ECHO_T}no
" >&6
10131 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10132 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10133 set dummy ${ncn_progname}; ac_word=$2
10134 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10135 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10136 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10137 echo $ECHO_N "(cached
) $ECHO_C" >&6
10139 if test -n "$NM_FOR_TARGET"; then
10140 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10143 for as_dir in $PATH
10146 test -z "$as_dir" && as_dir=.
10147 for ac_exec_ext in '' $ac_executable_extensions; do
10148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10149 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10150 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10158 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10159 if test -n "$NM_FOR_TARGET"; then
10160 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10161 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10163 echo "$as_me:$LINENO: result
: no
" >&5
10164 echo "${ECHO_T}no
" >&6
10168 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10172 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10174 if test $build = $target ; then
10177 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10180 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10184 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10190 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10191 if test -n "$with_build_time_tools"; then
10192 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10193 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10194 if test -x $with_build_time_tools/objdump; then
10195 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10196 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10197 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10198 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10200 echo "$as_me:$LINENO: result
: no
" >&5
10201 echo "${ECHO_T}no
" >&6
10203 elif test $build != $host && test $have_gcc_for_target = yes; then
10204 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10205 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10206 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10209 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10210 # Extract the first word of "objdump
", so it can be a program name with args.
10211 set dummy objdump; ac_word=$2
10212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10214 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10215 echo $ECHO_N "(cached
) $ECHO_C" >&6
10217 case $OBJDUMP_FOR_TARGET in
10219 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10223 for as_dir in $gcc_cv_tool_dirs
10226 test -z "$as_dir" && as_dir=.
10227 for ac_exec_ext in '' $ac_executable_extensions; do
10228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10229 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10230 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10239 OBJDUMP_FOR_TARGET=$ac_cv_path_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
10250 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10253 if test -n "$OBJDUMP_FOR_TARGET"; then
10254 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10255 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10256 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10259 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10260 for ncn_progname in objdump; do
10261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10262 set dummy ${ncn_progname}; ac_word=$2
10263 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10265 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10266 echo $ECHO_N "(cached
) $ECHO_C" >&6
10268 if test -n "$OBJDUMP_FOR_TARGET"; then
10269 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10272 for as_dir in $PATH
10275 test -z "$as_dir" && as_dir=.
10276 for ac_exec_ext in '' $ac_executable_extensions; do
10277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10278 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10287 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10288 if test -n "$OBJDUMP_FOR_TARGET"; then
10289 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10290 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10292 echo "$as_me:$LINENO: result
: no
" >&5
10293 echo "${ECHO_T}no
" >&6
10299 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10300 for ncn_progname in objdump; do
10301 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10302 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10303 if test -x $with_build_time_tools/${ncn_progname}; then
10304 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10305 echo "$as_me:$LINENO: result
: yes" >&5
10306 echo "${ECHO_T}yes" >&6
10309 echo "$as_me:$LINENO: result
: no
" >&5
10310 echo "${ECHO_T}no
" >&6
10315 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10316 for ncn_progname in objdump; do
10317 if test -n "$ncn_target_tool_prefix"; then
10318 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10319 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10320 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10322 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10323 echo $ECHO_N "(cached
) $ECHO_C" >&6
10325 if test -n "$OBJDUMP_FOR_TARGET"; then
10326 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10329 for as_dir in $PATH
10332 test -z "$as_dir" && as_dir=.
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10336 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10344 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10345 if test -n "$OBJDUMP_FOR_TARGET"; then
10346 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10347 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10349 echo "$as_me:$LINENO: result
: no
" >&5
10350 echo "${ECHO_T}no
" >&6
10354 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10356 set dummy ${ncn_progname}; ac_word=$2
10357 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10359 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10360 echo $ECHO_N "(cached
) $ECHO_C" >&6
10362 if test -n "$OBJDUMP_FOR_TARGET"; then
10363 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10381 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10382 if test -n "$OBJDUMP_FOR_TARGET"; then
10383 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10384 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10386 echo "$as_me:$LINENO: result
: no
" >&5
10387 echo "${ECHO_T}no
" >&6
10391 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10395 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10397 if test $build = $target ; then
10398 OBJDUMP_FOR_TARGET="$2"
10400 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10403 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10407 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10413 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10414 if test -n "$with_build_time_tools"; then
10415 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10416 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10417 if test -x $with_build_time_tools/ranlib; then
10418 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10419 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10420 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10421 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10423 echo "$as_me:$LINENO: result
: no
" >&5
10424 echo "${ECHO_T}no
" >&6
10426 elif test $build != $host && test $have_gcc_for_target = yes; then
10427 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10428 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10429 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10432 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10433 # Extract the first word of "ranlib
", so it can be a program name with args.
10434 set dummy ranlib; ac_word=$2
10435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10437 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10438 echo $ECHO_N "(cached
) $ECHO_C" >&6
10440 case $RANLIB_FOR_TARGET in
10442 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $gcc_cv_tool_dirs
10449 test -z "$as_dir" && as_dir=.
10450 for ac_exec_ext in '' $ac_executable_extensions; do
10451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10462 RANLIB_FOR_TARGET=$ac_cv_path_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
10473 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10476 if test -n "$RANLIB_FOR_TARGET"; then
10477 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10478 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10479 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10482 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10483 for ncn_progname in ranlib; do
10484 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10485 set dummy ${ncn_progname}; ac_word=$2
10486 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10487 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10488 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10489 echo $ECHO_N "(cached
) $ECHO_C" >&6
10491 if test -n "$RANLIB_FOR_TARGET"; then
10492 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in $PATH
10498 test -z "$as_dir" && as_dir=.
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10502 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10510 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10511 if test -n "$RANLIB_FOR_TARGET"; then
10512 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10513 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10515 echo "$as_me:$LINENO: result
: no
" >&5
10516 echo "${ECHO_T}no
" >&6
10522 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10523 for ncn_progname in ranlib; do
10524 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10525 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10526 if test -x $with_build_time_tools/${ncn_progname}; then
10527 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10528 echo "$as_me:$LINENO: result
: yes" >&5
10529 echo "${ECHO_T}yes" >&6
10532 echo "$as_me:$LINENO: result
: no
" >&5
10533 echo "${ECHO_T}no
" >&6
10538 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10539 for ncn_progname in ranlib; do
10540 if test -n "$ncn_target_tool_prefix"; then
10541 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10542 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10545 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10546 echo $ECHO_N "(cached
) $ECHO_C" >&6
10548 if test -n "$RANLIB_FOR_TARGET"; then
10549 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10552 for as_dir in $PATH
10555 test -z "$as_dir" && as_dir=.
10556 for ac_exec_ext in '' $ac_executable_extensions; do
10557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10558 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10559 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10567 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10568 if test -n "$RANLIB_FOR_TARGET"; then
10569 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10570 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10572 echo "$as_me:$LINENO: result
: no
" >&5
10573 echo "${ECHO_T}no
" >&6
10577 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10579 set dummy ${ncn_progname}; ac_word=$2
10580 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10581 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10582 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10583 echo $ECHO_N "(cached
) $ECHO_C" >&6
10585 if test -n "$RANLIB_FOR_TARGET"; then
10586 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10589 for as_dir in $PATH
10592 test -z "$as_dir" && as_dir=.
10593 for ac_exec_ext in '' $ac_executable_extensions; do
10594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10595 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10596 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10604 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10605 if test -n "$RANLIB_FOR_TARGET"; then
10606 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10607 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10609 echo "$as_me:$LINENO: result
: no
" >&5
10610 echo "${ECHO_T}no
" >&6
10614 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10618 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10620 if test $build = $target ; then
10621 RANLIB_FOR_TARGET="$2"
10623 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10626 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10630 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10636 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10637 if test -n "$with_build_time_tools"; then
10638 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10639 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10640 if test -x $with_build_time_tools/strip; then
10641 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10642 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10643 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10644 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10646 echo "$as_me:$LINENO: result
: no
" >&5
10647 echo "${ECHO_T}no
" >&6
10649 elif test $build != $host && test $have_gcc_for_target = yes; then
10650 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10651 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10652 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10655 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10656 # Extract the first word of "strip
", so it can be a program name with args.
10657 set dummy strip; ac_word=$2
10658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10660 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10661 echo $ECHO_N "(cached
) $ECHO_C" >&6
10663 case $STRIP_FOR_TARGET in
10665 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $gcc_cv_tool_dirs
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10676 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10685 STRIP_FOR_TARGET=$ac_cv_path_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
10696 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10699 if test -n "$STRIP_FOR_TARGET"; then
10700 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10701 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10702 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10705 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10706 for ncn_progname in strip; do
10707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10708 set dummy ${ncn_progname}; ac_word=$2
10709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10711 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10712 echo $ECHO_N "(cached
) $ECHO_C" >&6
10714 if test -n "$STRIP_FOR_TARGET"; then
10715 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $PATH
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10733 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10734 if test -n "$STRIP_FOR_TARGET"; then
10735 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10736 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10738 echo "$as_me:$LINENO: result
: no
" >&5
10739 echo "${ECHO_T}no
" >&6
10745 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10746 for ncn_progname in strip; do
10747 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10748 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10749 if test -x $with_build_time_tools/${ncn_progname}; then
10750 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10751 echo "$as_me:$LINENO: result
: yes" >&5
10752 echo "${ECHO_T}yes" >&6
10755 echo "$as_me:$LINENO: result
: no
" >&5
10756 echo "${ECHO_T}no
" >&6
10761 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10762 for ncn_progname in strip; do
10763 if test -n "$ncn_target_tool_prefix"; then
10764 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10765 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10768 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10769 echo $ECHO_N "(cached
) $ECHO_C" >&6
10771 if test -n "$STRIP_FOR_TARGET"; then
10772 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10778 test -z "$as_dir" && as_dir=.
10779 for ac_exec_ext in '' $ac_executable_extensions; do
10780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10781 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10782 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10790 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10791 if test -n "$STRIP_FOR_TARGET"; then
10792 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10793 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10795 echo "$as_me:$LINENO: result
: no
" >&5
10796 echo "${ECHO_T}no
" >&6
10800 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10801 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10802 set dummy ${ncn_progname}; ac_word=$2
10803 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10804 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10805 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10806 echo $ECHO_N "(cached
) $ECHO_C" >&6
10808 if test -n "$STRIP_FOR_TARGET"; then
10809 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10812 for as_dir in $PATH
10815 test -z "$as_dir" && as_dir=.
10816 for ac_exec_ext in '' $ac_executable_extensions; do
10817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10818 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10819 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10827 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10828 if test -n "$STRIP_FOR_TARGET"; then
10829 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10830 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10832 echo "$as_me:$LINENO: result
: no
" >&5
10833 echo "${ECHO_T}no
" >&6
10837 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10841 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10843 if test $build = $target ; then
10844 STRIP_FOR_TARGET="$2"
10846 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10849 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10853 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10859 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10860 if test -n "$with_build_time_tools"; then
10861 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10862 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10863 if test -x $with_build_time_tools/windres; then
10864 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10865 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10866 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10867 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10869 echo "$as_me:$LINENO: result
: no
" >&5
10870 echo "${ECHO_T}no
" >&6
10872 elif test $build != $host && test $have_gcc_for_target = yes; then
10873 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10874 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10875 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10878 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10879 # Extract the first word of "windres
", so it can be a program name with args.
10880 set dummy windres; ac_word=$2
10881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10883 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10884 echo $ECHO_N "(cached
) $ECHO_C" >&6
10886 case $WINDRES_FOR_TARGET in
10888 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10892 for as_dir in $gcc_cv_tool_dirs
10895 test -z "$as_dir" && as_dir=.
10896 for ac_exec_ext in '' $ac_executable_extensions; do
10897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10898 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10908 WINDRES_FOR_TARGET=$ac_cv_path_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
10919 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10922 if test -n "$WINDRES_FOR_TARGET"; then
10923 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10924 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10925 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10928 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10929 for ncn_progname in windres; do
10930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10931 set dummy ${ncn_progname}; ac_word=$2
10932 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10934 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10935 echo $ECHO_N "(cached
) $ECHO_C" >&6
10937 if test -n "$WINDRES_FOR_TARGET"; then
10938 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10941 for as_dir in $PATH
10944 test -z "$as_dir" && as_dir=.
10945 for ac_exec_ext in '' $ac_executable_extensions; do
10946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10947 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10948 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10956 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10957 if test -n "$WINDRES_FOR_TARGET"; then
10958 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10959 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10961 echo "$as_me:$LINENO: result
: no
" >&5
10962 echo "${ECHO_T}no
" >&6
10968 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10969 for ncn_progname in windres; do
10970 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10971 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10972 if test -x $with_build_time_tools/${ncn_progname}; then
10973 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10974 echo "$as_me:$LINENO: result
: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10978 echo "$as_me:$LINENO: result
: no
" >&5
10979 echo "${ECHO_T}no
" >&6
10984 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10985 for ncn_progname in windres; do
10986 if test -n "$ncn_target_tool_prefix"; then
10987 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10988 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10991 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10992 echo $ECHO_N "(cached
) $ECHO_C" >&6
10994 if test -n "$WINDRES_FOR_TARGET"; then
10995 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11005 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11013 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11014 if test -n "$WINDRES_FOR_TARGET"; then
11015 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11016 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11018 echo "$as_me:$LINENO: result
: no
" >&5
11019 echo "${ECHO_T}no
" >&6
11023 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11024 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11025 set dummy ${ncn_progname}; ac_word=$2
11026 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11027 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11028 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11029 echo $ECHO_N "(cached
) $ECHO_C" >&6
11031 if test -n "$WINDRES_FOR_TARGET"; then
11032 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11035 for as_dir in $PATH
11038 test -z "$as_dir" && as_dir=.
11039 for ac_exec_ext in '' $ac_executable_extensions; do
11040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11041 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11042 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11050 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11051 if test -n "$WINDRES_FOR_TARGET"; then
11052 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11053 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11055 echo "$as_me:$LINENO: result
: no
" >&5
11056 echo "${ECHO_T}no
" >&6
11060 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11064 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11066 if test $build = $target ; then
11067 WINDRES_FOR_TARGET="$2"
11069 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11072 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11076 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11082 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11083 if test -n "$with_build_time_tools"; then
11084 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11085 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11086 if test -x $with_build_time_tools/windmc; then
11087 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11088 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11089 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11090 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11092 echo "$as_me:$LINENO: result
: no
" >&5
11093 echo "${ECHO_T}no
" >&6
11095 elif test $build != $host && test $have_gcc_for_target = yes; then
11096 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11097 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11098 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11101 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11102 # Extract the first word of "windmc
", so it can be a program name with args.
11103 set dummy windmc; ac_word=$2
11104 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11105 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11106 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11107 echo $ECHO_N "(cached
) $ECHO_C" >&6
11109 case $WINDMC_FOR_TARGET in
11111 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11115 for as_dir in $gcc_cv_tool_dirs
11118 test -z "$as_dir" && as_dir=.
11119 for ac_exec_ext in '' $ac_executable_extensions; do
11120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11121 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11122 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11131 WINDMC_FOR_TARGET=$ac_cv_path_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
11142 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11145 if test -n "$WINDMC_FOR_TARGET"; then
11146 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11147 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11148 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11151 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11152 for ncn_progname in windmc; do
11153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11154 set dummy ${ncn_progname}; ac_word=$2
11155 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11157 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11158 echo $ECHO_N "(cached
) $ECHO_C" >&6
11160 if test -n "$WINDMC_FOR_TARGET"; then
11161 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11164 for as_dir in $PATH
11167 test -z "$as_dir" && as_dir=.
11168 for ac_exec_ext in '' $ac_executable_extensions; do
11169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11170 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11179 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11180 if test -n "$WINDMC_FOR_TARGET"; then
11181 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11182 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11184 echo "$as_me:$LINENO: result
: no
" >&5
11185 echo "${ECHO_T}no
" >&6
11191 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11192 for ncn_progname in windmc; do
11193 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11194 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11195 if test -x $with_build_time_tools/${ncn_progname}; then
11196 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11197 echo "$as_me:$LINENO: result
: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11201 echo "$as_me:$LINENO: result
: no
" >&5
11202 echo "${ECHO_T}no
" >&6
11207 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11208 for ncn_progname in windmc; do
11209 if test -n "$ncn_target_tool_prefix"; then
11210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11214 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11215 echo $ECHO_N "(cached
) $ECHO_C" >&6
11217 if test -n "$WINDMC_FOR_TARGET"; then
11218 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11221 for as_dir in $PATH
11224 test -z "$as_dir" && as_dir=.
11225 for ac_exec_ext in '' $ac_executable_extensions; do
11226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11227 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11228 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11236 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11237 if test -n "$WINDMC_FOR_TARGET"; then
11238 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11239 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11241 echo "$as_me:$LINENO: result
: no
" >&5
11242 echo "${ECHO_T}no
" >&6
11246 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11248 set dummy ${ncn_progname}; ac_word=$2
11249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11251 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11252 echo $ECHO_N "(cached
) $ECHO_C" >&6
11254 if test -n "$WINDMC_FOR_TARGET"; then
11255 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11258 for as_dir in $PATH
11261 test -z "$as_dir" && as_dir=.
11262 for ac_exec_ext in '' $ac_executable_extensions; do
11263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11273 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11274 if test -n "$WINDMC_FOR_TARGET"; then
11275 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11276 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11278 echo "$as_me:$LINENO: result
: no
" >&5
11279 echo "${ECHO_T}no
" >&6
11283 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11287 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11289 if test $build = $target ; then
11290 WINDMC_FOR_TARGET="$2"
11292 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11295 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11299 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11303 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11305 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11306 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11307 if test "x
${build}" != "x
${host}" ; then
11308 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11309 # We already found the complete path
11310 ac_dir=`dirname $AR_FOR_TARGET`
11311 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11312 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11314 # Canadian cross, just use what we found
11315 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11316 echo "${ECHO_T}pre-installed
" >&6
11320 case " ${configdirs} " in
11325 if test $ok = yes; then
11326 # An in-tree tool is available and we can use it
11327 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11328 echo "$as_me:$LINENO: result
: just compiled
" >&5
11329 echo "${ECHO_T}just compiled
" >&6
11330 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11331 # We already found the complete path
11332 ac_dir=`dirname $AR_FOR_TARGET`
11333 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11334 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11335 elif test "x
$target" = "x
$host"; then
11336 # We can use an host tool
11337 AR_FOR_TARGET='$(AR)'
11338 echo "$as_me:$LINENO: result
: host tool
" >&5
11339 echo "${ECHO_T}host tool
" >&6
11341 # We need a cross tool
11342 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11343 echo "${ECHO_T}pre-installed
" >&6
11347 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11348 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11349 if test "x
${build}" != "x
${host}" ; then
11350 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11351 # We already found the complete path
11352 ac_dir=`dirname $AS_FOR_TARGET`
11353 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11354 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11356 # Canadian cross, just use what we found
11357 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11358 echo "${ECHO_T}pre-installed
" >&6
11362 case " ${configdirs} " in
11367 if test $ok = yes; then
11368 # An in-tree tool is available and we can use it
11369 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11370 echo "$as_me:$LINENO: result
: just compiled
" >&5
11371 echo "${ECHO_T}just compiled
" >&6
11372 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11373 # We already found the complete path
11374 ac_dir=`dirname $AS_FOR_TARGET`
11375 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11376 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11377 elif test "x
$target" = "x
$host"; then
11378 # We can use an host tool
11379 AS_FOR_TARGET='$(AS)'
11380 echo "$as_me:$LINENO: result
: host tool
" >&5
11381 echo "${ECHO_T}host tool
" >&6
11383 # We need a cross tool
11384 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11385 echo "${ECHO_T}pre-installed
" >&6
11389 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11390 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11391 if test "x
${build}" != "x
${host}" ; then
11392 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11393 # We already found the complete path
11394 ac_dir=`dirname $CC_FOR_TARGET`
11395 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11396 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11398 # Canadian cross, just use what we found
11399 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11400 echo "${ECHO_T}pre-installed
" >&6
11404 case " ${configdirs} " in
11409 if test $ok = yes; then
11410 # An in-tree tool is available and we can use it
11411 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11412 echo "$as_me:$LINENO: result
: just compiled
" >&5
11413 echo "${ECHO_T}just compiled
" >&6
11414 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11415 # We already found the complete path
11416 ac_dir=`dirname $CC_FOR_TARGET`
11417 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11418 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11419 elif test "x
$target" = "x
$host"; then
11420 # We can use an host tool
11421 CC_FOR_TARGET='$(CC)'
11422 echo "$as_me:$LINENO: result
: host tool
" >&5
11423 echo "${ECHO_T}host tool
" >&6
11425 # We need a cross tool
11426 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11427 echo "${ECHO_T}pre-installed
" >&6
11431 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11432 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11433 if test "x
${build}" != "x
${host}" ; then
11434 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11435 # We already found the complete path
11436 ac_dir=`dirname $CXX_FOR_TARGET`
11437 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11438 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11440 # Canadian cross, just use what we found
11441 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11442 echo "${ECHO_T}pre-installed
" >&6
11446 case " ${configdirs} " in
11450 case ,${enable_languages}, in
11454 if test $ok = yes; then
11455 # An in-tree tool is available and we can use it
11456 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'
11457 echo "$as_me:$LINENO: result
: just compiled
" >&5
11458 echo "${ECHO_T}just compiled
" >&6
11459 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11460 # We already found the complete path
11461 ac_dir=`dirname $CXX_FOR_TARGET`
11462 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11463 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11464 elif test "x
$target" = "x
$host"; then
11465 # We can use an host tool
11466 CXX_FOR_TARGET='$(CXX)'
11467 echo "$as_me:$LINENO: result
: host tool
" >&5
11468 echo "${ECHO_T}host tool
" >&6
11470 # We need a cross tool
11471 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11472 echo "${ECHO_T}pre-installed
" >&6
11476 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11477 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11478 if test "x
${build}" != "x
${host}" ; then
11479 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11480 # We already found the complete path
11481 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11482 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11483 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11485 # Canadian cross, just use what we found
11486 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11487 echo "${ECHO_T}pre-installed
" >&6
11491 case " ${configdirs} " in
11495 case ,${enable_languages}, in
11499 if test $ok = yes; then
11500 # An in-tree tool is available and we can use it
11501 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'
11502 echo "$as_me:$LINENO: result
: just compiled
" >&5
11503 echo "${ECHO_T}just compiled
" >&6
11504 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11505 # We already found the complete path
11506 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11507 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11508 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11509 elif test "x
$target" = "x
$host"; then
11510 # We can use an host tool
11511 RAW_CXX_FOR_TARGET='$(CXX)'
11512 echo "$as_me:$LINENO: result
: host tool
" >&5
11513 echo "${ECHO_T}host tool
" >&6
11515 # We need a cross tool
11516 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11517 echo "${ECHO_T}pre-installed
" >&6
11521 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11522 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11523 if test "x
${build}" != "x
${host}" ; then
11524 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11525 # We already found the complete path
11526 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11527 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11528 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11530 # Canadian cross, just use what we found
11531 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11532 echo "${ECHO_T}pre-installed
" >&6
11536 case " ${configdirs} " in
11541 if test $ok = yes; then
11542 # An in-tree tool is available and we can use it
11543 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11544 echo "$as_me:$LINENO: result
: just compiled
" >&5
11545 echo "${ECHO_T}just compiled
" >&6
11546 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11547 # We already found the complete path
11548 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11549 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11550 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11551 elif test "x
$target" = "x
$host"; then
11552 # We can use an host tool
11553 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11554 echo "$as_me:$LINENO: result
: host tool
" >&5
11555 echo "${ECHO_T}host tool
" >&6
11557 # We need a cross tool
11558 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11559 echo "${ECHO_T}pre-installed
" >&6
11563 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11564 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11565 if test "x
${build}" != "x
${host}" ; then
11566 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11567 # We already found the complete path
11568 ac_dir=`dirname $GCC_FOR_TARGET`
11569 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11570 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11572 # Canadian cross, just use what we found
11573 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11574 echo "${ECHO_T}pre-installed
" >&6
11578 case " ${configdirs} " in
11583 if test $ok = yes; then
11584 # An in-tree tool is available and we can use it
11585 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11586 echo "$as_me:$LINENO: result
: just compiled
" >&5
11587 echo "${ECHO_T}just compiled
" >&6
11588 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11589 # We already found the complete path
11590 ac_dir=`dirname $GCC_FOR_TARGET`
11591 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11592 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11593 elif test "x
$target" = "x
$host"; then
11594 # We can use an host tool
11595 GCC_FOR_TARGET='$()'
11596 echo "$as_me:$LINENO: result
: host tool
" >&5
11597 echo "${ECHO_T}host tool
" >&6
11599 # We need a cross tool
11600 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11601 echo "${ECHO_T}pre-installed
" >&6
11605 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11606 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11607 if test "x
${build}" != "x
${host}" ; then
11608 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11609 # We already found the complete path
11610 ac_dir=`dirname $GCJ_FOR_TARGET`
11611 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11612 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11614 # Canadian cross, just use what we found
11615 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11616 echo "${ECHO_T}pre-installed
" >&6
11620 case " ${configdirs} " in
11624 case ,${enable_languages}, in
11628 if test $ok = yes; then
11629 # An in-tree tool is available and we can use it
11630 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11631 echo "$as_me:$LINENO: result
: just compiled
" >&5
11632 echo "${ECHO_T}just compiled
" >&6
11633 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11634 # We already found the complete path
11635 ac_dir=`dirname $GCJ_FOR_TARGET`
11636 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11637 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11638 elif test "x
$target" = "x
$host"; then
11639 # We can use an host tool
11640 GCJ_FOR_TARGET='$(GCJ)'
11641 echo "$as_me:$LINENO: result
: host tool
" >&5
11642 echo "${ECHO_T}host tool
" >&6
11644 # We need a cross tool
11645 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11646 echo "${ECHO_T}pre-installed
" >&6
11650 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11651 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11652 if test "x
${build}" != "x
${host}" ; then
11653 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11654 # We already found the complete path
11655 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11656 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11657 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11659 # Canadian cross, just use what we found
11660 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11661 echo "${ECHO_T}pre-installed
" >&6
11665 case " ${configdirs} " in
11669 case ,${enable_languages}, in
11673 if test $ok = yes; then
11674 # An in-tree tool is available and we can use it
11675 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11676 echo "$as_me:$LINENO: result
: just compiled
" >&5
11677 echo "${ECHO_T}just compiled
" >&6
11678 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11679 # We already found the complete path
11680 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11681 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11682 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11683 elif test "x
$target" = "x
$host"; then
11684 # We can use an host tool
11685 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11686 echo "$as_me:$LINENO: result
: host tool
" >&5
11687 echo "${ECHO_T}host tool
" >&6
11689 # We need a cross tool
11690 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11691 echo "${ECHO_T}pre-installed
" >&6
11695 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11696 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11697 if test "x
${build}" != "x
${host}" ; then
11698 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11699 # We already found the complete path
11700 ac_dir=`dirname $LD_FOR_TARGET`
11701 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11702 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11704 # Canadian cross, just use what we found
11705 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11706 echo "${ECHO_T}pre-installed
" >&6
11710 case " ${configdirs} " in
11715 if test $ok = yes; then
11716 # An in-tree tool is available and we can use it
11717 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11718 echo "$as_me:$LINENO: result
: just compiled
" >&5
11719 echo "${ECHO_T}just compiled
" >&6
11720 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11721 # We already found the complete path
11722 ac_dir=`dirname $LD_FOR_TARGET`
11723 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11724 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11725 elif test "x
$target" = "x
$host"; then
11726 # We can use an host tool
11727 LD_FOR_TARGET='$(LD)'
11728 echo "$as_me:$LINENO: result
: host tool
" >&5
11729 echo "${ECHO_T}host tool
" >&6
11731 # We need a cross tool
11732 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11733 echo "${ECHO_T}pre-installed
" >&6
11737 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11738 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11739 if test "x
${build}" != "x
${host}" ; then
11740 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11741 # We already found the complete path
11742 ac_dir=`dirname $LIPO_FOR_TARGET`
11743 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11744 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11746 # Canadian cross, just use what we found
11747 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11748 echo "${ECHO_T}pre-installed
" >&6
11751 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11752 # We already found the complete path
11753 ac_dir=`dirname $LIPO_FOR_TARGET`
11754 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11755 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11756 elif test "x
$target" = "x
$host"; then
11757 # We can use an host tool
11758 LIPO_FOR_TARGET='$(LIPO)'
11759 echo "$as_me:$LINENO: result
: host tool
" >&5
11760 echo "${ECHO_T}host tool
" >&6
11762 # We need a cross tool
11763 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11764 echo "${ECHO_T}pre-installed
" >&6
11768 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11769 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11770 if test "x
${build}" != "x
${host}" ; then
11771 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11772 # We already found the complete path
11773 ac_dir=`dirname $NM_FOR_TARGET`
11774 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11775 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11777 # Canadian cross, just use what we found
11778 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11779 echo "${ECHO_T}pre-installed
" >&6
11783 case " ${configdirs} " in
11788 if test $ok = yes; then
11789 # An in-tree tool is available and we can use it
11790 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11791 echo "$as_me:$LINENO: result
: just compiled
" >&5
11792 echo "${ECHO_T}just compiled
" >&6
11793 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11794 # We already found the complete path
11795 ac_dir=`dirname $NM_FOR_TARGET`
11796 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11797 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11798 elif test "x
$target" = "x
$host"; then
11799 # We can use an host tool
11800 NM_FOR_TARGET='$(NM)'
11801 echo "$as_me:$LINENO: result
: host tool
" >&5
11802 echo "${ECHO_T}host tool
" >&6
11804 # We need a cross tool
11805 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11806 echo "${ECHO_T}pre-installed
" >&6
11810 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11811 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11812 if test "x
${build}" != "x
${host}" ; then
11813 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11814 # We already found the complete path
11815 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11816 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11817 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11819 # Canadian cross, just use what we found
11820 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11821 echo "${ECHO_T}pre-installed
" >&6
11825 case " ${configdirs} " in
11830 if test $ok = yes; then
11831 # An in-tree tool is available and we can use it
11832 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11833 echo "$as_me:$LINENO: result
: just compiled
" >&5
11834 echo "${ECHO_T}just compiled
" >&6
11835 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11836 # We already found the complete path
11837 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11838 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11839 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11840 elif test "x
$target" = "x
$host"; then
11841 # We can use an host tool
11842 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11843 echo "$as_me:$LINENO: result
: host tool
" >&5
11844 echo "${ECHO_T}host tool
" >&6
11846 # We need a cross tool
11847 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11848 echo "${ECHO_T}pre-installed
" >&6
11852 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11853 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11854 if test "x
${build}" != "x
${host}" ; then
11855 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11856 # We already found the complete path
11857 ac_dir=`dirname $RANLIB_FOR_TARGET`
11858 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11859 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11861 # Canadian cross, just use what we found
11862 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11863 echo "${ECHO_T}pre-installed
" >&6
11867 case " ${configdirs} " in
11872 if test $ok = yes; then
11873 # An in-tree tool is available and we can use it
11874 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11875 echo "$as_me:$LINENO: result
: just compiled
" >&5
11876 echo "${ECHO_T}just compiled
" >&6
11877 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11878 # We already found the complete path
11879 ac_dir=`dirname $RANLIB_FOR_TARGET`
11880 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11881 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11882 elif test "x
$target" = "x
$host"; then
11883 # We can use an host tool
11884 RANLIB_FOR_TARGET='$(RANLIB)'
11885 echo "$as_me:$LINENO: result
: host tool
" >&5
11886 echo "${ECHO_T}host tool
" >&6
11888 # We need a cross tool
11889 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11890 echo "${ECHO_T}pre-installed
" >&6
11894 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11895 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11896 if test "x
${build}" != "x
${host}" ; then
11897 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11898 # We already found the complete path
11899 ac_dir=`dirname $STRIP_FOR_TARGET`
11900 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11901 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11903 # Canadian cross, just use what we found
11904 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11905 echo "${ECHO_T}pre-installed
" >&6
11909 case " ${configdirs} " in
11914 if test $ok = yes; then
11915 # An in-tree tool is available and we can use it
11916 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11917 echo "$as_me:$LINENO: result
: just compiled
" >&5
11918 echo "${ECHO_T}just compiled
" >&6
11919 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11920 # We already found the complete path
11921 ac_dir=`dirname $STRIP_FOR_TARGET`
11922 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11923 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11924 elif test "x
$target" = "x
$host"; then
11925 # We can use an host tool
11926 STRIP_FOR_TARGET='$(STRIP)'
11927 echo "$as_me:$LINENO: result
: host tool
" >&5
11928 echo "${ECHO_T}host tool
" >&6
11930 # We need a cross tool
11931 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11932 echo "${ECHO_T}pre-installed
" >&6
11936 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11937 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11938 if test "x
${build}" != "x
${host}" ; then
11939 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11940 # We already found the complete path
11941 ac_dir=`dirname $WINDRES_FOR_TARGET`
11942 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11943 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11945 # Canadian cross, just use what we found
11946 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11947 echo "${ECHO_T}pre-installed
" >&6
11951 case " ${configdirs} " in
11956 if test $ok = yes; then
11957 # An in-tree tool is available and we can use it
11958 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11959 echo "$as_me:$LINENO: result
: just compiled
" >&5
11960 echo "${ECHO_T}just compiled
" >&6
11961 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11962 # We already found the complete path
11963 ac_dir=`dirname $WINDRES_FOR_TARGET`
11964 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11965 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11966 elif test "x
$target" = "x
$host"; then
11967 # We can use an host tool
11968 WINDRES_FOR_TARGET='$(WINDRES)'
11969 echo "$as_me:$LINENO: result
: host tool
" >&5
11970 echo "${ECHO_T}host tool
" >&6
11972 # We need a cross tool
11973 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11974 echo "${ECHO_T}pre-installed
" >&6
11978 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
11979 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
11980 if test "x
${build}" != "x
${host}" ; then
11981 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
11982 # We already found the complete path
11983 ac_dir=`dirname $WINDMC_FOR_TARGET`
11984 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11985 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11987 # Canadian cross, just use what we found
11988 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11989 echo "${ECHO_T}pre-installed
" >&6
11993 case " ${configdirs} " in
11998 if test $ok = yes; then
11999 # An in-tree tool is available and we can use it
12000 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12001 echo "$as_me:$LINENO: result
: just compiled
" >&5
12002 echo "${ECHO_T}just compiled
" >&6
12003 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12004 # We already found the complete path
12005 ac_dir=`dirname $WINDMC_FOR_TARGET`
12006 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12007 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12008 elif test "x
$target" = "x
$host"; then
12009 # We can use an host tool
12010 WINDMC_FOR_TARGET='$(WINDMC)'
12011 echo "$as_me:$LINENO: result
: host tool
" >&5
12012 echo "${ECHO_T}host tool
" >&6
12014 # We need a cross tool
12015 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12016 echo "${ECHO_T}pre-installed
" >&6
12024 # Certain tools may need extra flags.
12025 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12026 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12027 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12029 # When building target libraries, except in a Canadian cross, we use
12030 # the same toolchain as the compiler we just built.
12031 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12032 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12033 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12034 if test $host = $build; then
12035 case " $configdirs " in
12037 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12038 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12039 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12048 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12049 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12050 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12051 if test "${enable_maintainer_mode+set}" = set; then
12052 enableval="$enable_maintainer_mode"
12053 USE_MAINTAINER_MODE=$enableval
12055 USE_MAINTAINER_MODE=no
12057 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12058 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12061 if test "$USE_MAINTAINER_MODE" = yes; then
12062 MAINTAINER_MODE_TRUE=
12063 MAINTAINER_MODE_FALSE='#'
12065 MAINTAINER_MODE_TRUE='#'
12066 MAINTAINER_MODE_FALSE=
12068 MAINT=$MAINTAINER_MODE_TRUE
12070 # ---------------------
12071 # GCC bootstrap support
12072 # ---------------------
12074 # Stage specific cflags for build.
12079 yes) stage1_cflags="-g -Wa,-J" ;;
12080 *) stage1_cflags="-g -J" ;;
12084 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12085 if test "$GCC" = yes; then
12086 saved_CFLAGS="$CFLAGS"
12088 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12089 CFLAGS="$CFLAGS -fkeep-inline-functions"
12090 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12091 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12092 cat >conftest.$ac_ext <<_ACEOF
12095 cat confdefs.h >>conftest.$ac_ext
12096 cat >>conftest.$ac_ext <<_ACEOF
12097 /* end confdefs.h. */
12099 #if (__GNUC__ < 3) \
12100 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12101 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12102 #error http://gcc.gnu.org/PR29382
12113 rm -f conftest.$ac_objext
12114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12115 (eval $ac_compile) 2>conftest.er1
12117 grep -v '^ *+' conftest.er1 >conftest.err
12119 cat conftest.err >&5
12120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try='test -z "$ac_c_werror_flag"
12123 || test ! -s conftest.err'
12124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5
12127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12128 (exit $ac_status); }; } &&
12129 { ac_try='test -s conftest.$ac_objext'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12134 (exit $ac_status); }; }; then
12135 echo "$as_me:$LINENO: result
: yes" >&5
12136 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12138 echo "$as_me: failed program was
:" >&5
12139 sed 's/^/| /' conftest.$ac_ext >&5
12141 echo "$as_me:$LINENO: result
: no
" >&5
12142 echo "${ECHO_T}no
" >&6
12144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12146 CFLAGS="$saved_CFLAGS"
12151 # Enable --enable-checking in stage1 of the compiler.
12152 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12153 if test "${enable_stage1_checking+set}" = set; then
12154 enableval="$enable_stage1_checking"
12155 stage1_checking=--enable-checking=${enable_stage1_checking}
12157 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12158 stage1_checking=--enable-checking=yes,types
12160 stage1_checking=--enable-checking=$enable_checking,types
12165 # Enable -Werror in bootstrap stage2 and later.
12166 # Check whether --enable-werror or --disable-werror was given.
12167 if test "${enable_werror+set}" = set; then
12168 enableval="$enable_werror"
12171 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12177 case ${enable_werror} in
12178 yes) stage2_werror_flag="--enable-werror-always" ;;
12179 *) stage2_werror_flag="" ;;
12183 # Flags needed to enable html installing and building
12185 # Check whether --with-datarootdir or --without-datarootdir was given.
12186 if test "${with_datarootdir+set}" = set; then
12187 withval="$with_datarootdir"
12188 datarootdir="\
${prefix}/${withval}"
12190 datarootdir="\
${prefix}/share
"
12194 # Check whether --with-docdir or --without-docdir was given.
12195 if test "${with_docdir+set}" = set; then
12196 withval="$with_docdir"
12197 docdir="\
${prefix}/${withval}"
12199 docdir="\
${datarootdir}/doc
"
12203 # Check whether --with-pdfdir or --without-pdfdir was given.
12204 if test "${with_pdfdir+set}" = set; then
12205 withval="$with_pdfdir"
12206 pdfdir="\
${prefix}/${withval}"
12208 pdfdir="\
${docdir}"
12212 # Check whether --with-htmldir or --without-htmldir was given.
12213 if test "${with_htmldir+set}" = set; then
12214 withval="$with_htmldir"
12215 htmldir="\
${prefix}/${withval}"
12217 htmldir="\
${docdir}"
12225 ac_config_files="$ac_config_files Makefile
"
12226 cat >confcache <<\_ACEOF
12227 # This file is a shell script that caches the results of configure
12228 # tests run on this system so they can be shared between configure
12229 # scripts and configure runs, see configure's option --config-cache.
12230 # It is not useful on other systems. If it contains results you don't
12231 # want to keep, you may remove or edit it.
12233 # config.status only pays attention to the cache file if you give it
12234 # the --recheck option to rerun configure.
12236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12238 # following values.
12242 # The following way of writing the cache mishandles newlines in values,
12243 # but we know of no workaround that is simple, portable, and efficient.
12244 # So, don't put newlines in cache variables' values.
12245 # Ultrix sh set writes to stderr and can't be redirected directly,
12246 # and sets the high bit in the cache file unless we assign to the vars.
12249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12251 # `set' does not quote correctly, so add quotes (double-quote
12252 # substitution turns \\\\ into \\, and sed turns \\ into \).
12255 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12258 # `set' quotes correctly as required by POSIX, so do not add quotes.
12260 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12269 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12271 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12272 if test -w $cache_file; then
12273 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12274 cat confcache >$cache_file
12276 echo "not updating unwritable cache
$cache_file"
12281 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12282 # Let make expand exec_prefix.
12283 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12285 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12286 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12287 # trailing colons and then remove the whole line if VPATH becomes empty
12288 # (actually we leave an empty line to preserve line numbers).
12289 if test "x
$srcdir" = x.; then
12290 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12291 s/:*\$(srcdir):*/:/;
12292 s/:*\${srcdir}:*/:/;
12294 s/^\([^=]*=[ ]*\):*/\1/;
12300 # Transform confdefs.h into DEFS.
12301 # Protect against shell expansion while executing Makefile rules.
12302 # Protect against Makefile macro expansion.
12304 # If the first sed substitution is executed (which looks for macros that
12305 # take arguments), then we branch to the quote section. Otherwise,
12306 # look for a macro that doesn't take arguments.
12307 cat >confdef2opt.sed <<\_ACEOF
12310 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12312 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12316 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12322 # We use echo to avoid assuming a particular line-breaking character.
12323 # The extra dot is to prevent the shell from consuming trailing
12324 # line-breaks from the sub-command output. A line-break within
12325 # single-quotes doesn't work because, if this script is created in a
12326 # platform that uses two characters for line-breaks (e.g., DOS), tr
12328 ac_LF_and_DOT
=`echo; echo .`
12329 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12330 rm -f confdef2opt.
sed
12335 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12336 # 1. Remove the extension, and $U if already installed.
12337 ac_i
=`echo "$ac_i" |
12338 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12340 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12341 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12343 LIBOBJS
=$ac_libobjs
12345 LTLIBOBJS
=$ac_ltlibobjs
12349 : ${CONFIG_STATUS=./config.status}
12350 ac_clean_files_save
=$ac_clean_files
12351 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12352 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12353 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12354 cat >$CONFIG_STATUS <<_ACEOF
12356 # Generated by $as_me.
12357 # Run this file to recreate the current configuration.
12358 # Compiler output produced by configure, useful for debugging
12359 # configure, is in config.log if it exists.
12362 ac_cs_recheck=false
12364 SHELL=\${CONFIG_SHELL-$SHELL}
12367 cat >>$CONFIG_STATUS <<\_ACEOF
12368 ## --------------------- ##
12369 ## M4sh Initialization. ##
12370 ## --------------------- ##
12372 # Be Bourne compatible
12373 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12376 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12377 # is contrary to our usage. Disable this feature.
12378 alias -g '${1+"$@"}'='"$@"'
12379 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12382 DUALCASE
=1; export DUALCASE
# for MKS sh
12384 # Support unset when possible.
12385 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12392 # Work around bugs in pre-3.0 UWIN ksh.
12393 $as_unset ENV MAIL MAILPATH
12400 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12401 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12402 LC_TELEPHONE LC_TIME
12404 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12405 eval $as_var=C
; export $as_var
12411 # Required to use basename.
12412 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12418 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12419 as_basename
=basename
12425 # Name of the executable.
12426 as_me
=`$as_basename "$0" ||
12427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12428 X"$0" : 'X\(//\)$' \| \
12429 X"$0" : 'X\(/\)$' \| \
12430 . : '\(.\)' 2>/dev/null ||
12432 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12433 /^X\/\(\/\/\)$/{ s//\1/; q; }
12434 /^X\/\(\/\).*/{ s//\1/; q; }
12438 # PATH needs CR, and LINENO needs CR and PATH.
12439 # Avoid depending upon Character Ranges.
12440 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12441 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12442 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12443 as_cr_digits
='0123456789'
12444 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12446 # The user is always right.
12447 if test "${PATH_SEPARATOR+set}" != set; then
12448 echo "#! /bin/sh" >conf$$.sh
12449 echo "exit 0" >>conf$$.sh
12451 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12460 as_lineno_1
=$LINENO
12461 as_lineno_2
=$LINENO
12462 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12463 test "x$as_lineno_1" != "x$as_lineno_2" &&
12464 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12465 # Find who we are. Look in the path if we contain no path at all
12468 *[\\/]* ) as_myself
=$0 ;;
12469 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12470 for as_dir
in $PATH
12473 test -z "$as_dir" && as_dir
=.
12474 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12479 # We did not find ourselves, most probably we were run as `sh COMMAND'
12480 # in which case we are not to be found in the path.
12481 if test "x$as_myself" = x
; then
12484 if test ! -f "$as_myself"; then
12485 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12486 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12487 { (exit 1); exit 1; }; }
12489 case $CONFIG_SHELL in
12491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12492 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12495 test -z "$as_dir" && as_dir
=.
12496 for as_base
in sh bash ksh sh5
; do
12499 if ("$as_dir/$as_base" -c '
12500 as_lineno_1=$LINENO
12501 as_lineno_2=$LINENO
12502 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12503 test "x$as_lineno_1" != "x$as_lineno_2" &&
12504 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12505 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12506 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12507 CONFIG_SHELL
=$as_dir/$as_base
12508 export CONFIG_SHELL
12509 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12517 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12518 # uniformly replaced by the line number. The first 'sed' inserts a
12519 # line-number line before each line; the second 'sed' does the real
12520 # work. The second script uses 'N' to pair each line-number line
12521 # with the numbered line, and appends trailing '-' during
12522 # substitution so that $LINENO is not a special case at line end.
12523 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12524 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12525 sed '=' <$as_myself |
12530 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12533 s,^['$as_cr_digits']*\n,,
12534 ' >$as_me.lineno
&&
12535 chmod +x
$as_me.lineno ||
12536 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12537 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12538 { (exit 1); exit 1; }; }
12540 # Don't try to exec as it changes $[0], causing all sort of problems
12541 # (the dirname of $[0] is not the place where we might find the
12542 # original and so on. Autoconf is especially sensible to this).
12544 # Exit status is that of the last command.
12549 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12550 *c
*,-n*) ECHO_N
= ECHO_C
='
12552 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12553 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12556 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12562 rm -f conf$$ conf$$.exe conf$$.
file
12564 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12565 # We could just check for DJGPP; but this test a) works b) is more generic
12566 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12567 if test -f conf$$.exe
; then
12568 # Don't use ln at all; we don't have any links
12573 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12578 rm -f conf$$ conf$$.exe conf$$.
file
12580 if mkdir
-p .
2>/dev
/null
; then
12583 test -d .
/-p && rmdir .
/-p
12587 as_executable_p
="test -f"
12589 # Sed expression to map a string onto a valid CPP name.
12590 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12592 # Sed expression to map a string onto a valid variable name.
12593 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12597 # We need space, tab and new line, in precisely that order.
12607 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12608 # report actual input values of CONFIG_FILES etc. instead of their
12609 # values after options handling. Logging --version etc. is OK.
12613 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12614 ## Running $as_me. ##
12619 This file was extended by $as_me, which was
12620 generated by GNU Autoconf 2.59. Invocation command line was
12622 CONFIG_FILES = $CONFIG_FILES
12623 CONFIG_HEADERS = $CONFIG_HEADERS
12624 CONFIG_LINKS = $CONFIG_LINKS
12625 CONFIG_COMMANDS = $CONFIG_COMMANDS
12629 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12633 # Files that config.status was made for.
12634 if test -n "$ac_config_files"; then
12635 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12638 if test -n "$ac_config_headers"; then
12639 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12642 if test -n "$ac_config_links"; then
12643 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12646 if test -n "$ac_config_commands"; then
12647 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12650 cat >>$CONFIG_STATUS <<\_ACEOF
12653 \`$as_me' instantiates files from templates according to the
12654 current configuration.
12656 Usage: $0 [OPTIONS] [FILE]...
12658 -h, --help print this help, then exit
12659 -V, --version print version number, then exit
12660 -q, --quiet do not print progress messages
12661 -d, --debug don't remove temporary files
12662 --recheck update $as_me by reconfiguring in the same conditions
12663 --file=FILE[:TEMPLATE]
12664 instantiate the configuration file FILE
12666 Configuration files:
12669 Report bugs to <bug-autoconf@gnu.org>."
12672 cat >>$CONFIG_STATUS <<_ACEOF
12675 configured by $0, generated by GNU Autoconf 2.59,
12676 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12678 Copyright (C) 2003 Free Software Foundation, Inc.
12679 This config.status script is free software; the Free Software Foundation
12680 gives unlimited permission to copy, distribute and modify it."
12685 cat >>$CONFIG_STATUS <<\_ACEOF
12686 # If no file are specified by the user, then we need to provide default
12687 # value. By we need to know if files were specified by the user.
12693 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12694 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12702 *) # This is not an option, so the user has probably given explicit
12705 ac_need_defaults
=false
;;
12709 # Handling of the options.
12711 cat >>$CONFIG_STATUS <<\_ACEOF
12712 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12714 --version |
--vers* |
-V )
12715 echo "$ac_cs_version"; exit 0 ;;
12717 # Conflict between --help and --header
12718 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12719 Try \`$0 --help' for more information." >&5
12720 echo "$as_me: error: ambiguous option: $1
12721 Try \`$0 --help' for more information." >&2;}
12722 { (exit 1); exit 1; }; };;
12723 --help |
--hel |
-h )
12724 echo "$ac_cs_usage"; exit 0 ;;
12725 --debug |
--d* |
-d )
12727 --file |
--fil |
--fi |
--f )
12729 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12730 ac_need_defaults
=false
;;
12731 --header |
--heade |
--head |
--hea )
12733 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12734 ac_need_defaults
=false
;;
12735 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12736 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12739 # This is an error.
12740 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12741 Try \`$0 --help' for more information." >&5
12742 echo "$as_me: error: unrecognized option: $1
12743 Try \`$0 --help' for more information." >&2;}
12744 { (exit 1); exit 1; }; } ;;
12746 *) ac_config_targets
="$ac_config_targets $1" ;;
12752 ac_configure_extra_args
=
12754 if $ac_cs_silent; then
12756 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12760 cat >>$CONFIG_STATUS <<_ACEOF
12761 if \$ac_cs_recheck; then
12762 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12763 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12772 cat >>$CONFIG_STATUS <<\_ACEOF
12773 for ac_config_target
in $ac_config_targets
12775 case "$ac_config_target" in
12776 # Handling of arguments.
12777 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12778 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12779 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12780 { (exit 1); exit 1; }; };;
12784 # If the user did not use the arguments to specify the items to instantiate,
12785 # then the envvar interface is used. Set only those that are not.
12786 # We use the long form for the default assignment because of an extremely
12787 # bizarre bug on SunOS 4.1.3.
12788 if $ac_need_defaults; then
12789 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12792 # Have a temporary directory for convenience. Make it in the build tree
12793 # simply because there is no reason to put it here, and in addition,
12794 # creating and moving files from /tmp can sometimes cause problems.
12795 # Create a temporary directory, and hook for its removal unless debugging.
12798 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12799 trap '{ (exit 1); exit 1; }' 1 2 13 15
12802 # Create a (secure) tmp directory for tmp files.
12805 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12806 test -n "$tmp" && test -d "$tmp"
12809 tmp
=.
/confstat$$
-$RANDOM
12810 (umask 077 && mkdir
$tmp)
12813 echo "$me: cannot create a temporary directory in ." >&2
12814 { (exit 1); exit 1; }
12819 cat >>$CONFIG_STATUS <<_ACEOF
12822 # CONFIG_FILES section.
12825 # No need to generate the scripts if there are no CONFIG_FILES.
12826 # This happens for instance when ./config.status config.h
12827 if test -n "\$CONFIG_FILES"; then
12828 # Protect against being on the right side of a sed subst in config.status.
12829 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12830 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12831 s,@SHELL@,$SHELL,;t t
12832 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12833 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12834 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12835 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12836 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12837 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12838 s,@exec_prefix@,$exec_prefix,;t t
12839 s,@prefix@,$prefix,;t t
12840 s,@program_transform_name@,$program_transform_name,;t t
12841 s,@bindir@,$bindir,;t t
12842 s,@sbindir@,$sbindir,;t t
12843 s,@libexecdir@,$libexecdir,;t t
12844 s,@datadir@,$datadir,;t t
12845 s,@sysconfdir@,$sysconfdir,;t t
12846 s,@sharedstatedir@,$sharedstatedir,;t t
12847 s,@localstatedir@,$localstatedir,;t t
12848 s,@libdir@,$libdir,;t t
12849 s,@includedir@,$includedir,;t t
12850 s,@oldincludedir@,$oldincludedir,;t t
12851 s,@infodir@,$infodir,;t t
12852 s,@mandir@,$mandir,;t t
12853 s,@build_alias@,$build_alias,;t t
12854 s,@host_alias@,$host_alias,;t t
12855 s,@target_alias@,$target_alias,;t t
12856 s,@DEFS@,$DEFS,;t t
12857 s,@ECHO_C@,$ECHO_C,;t t
12858 s,@ECHO_N@,$ECHO_N,;t t
12859 s,@ECHO_T@,$ECHO_T,;t t
12860 s,@LIBS@,$LIBS,;t t
12861 s,@build@,$build,;t t
12862 s,@build_cpu@,$build_cpu,;t t
12863 s,@build_vendor@,$build_vendor,;t t
12864 s,@build_os@,$build_os,;t t
12865 s,@build_noncanonical@,$build_noncanonical,;t t
12866 s,@host_noncanonical@,$host_noncanonical,;t t
12867 s,@target_noncanonical@,$target_noncanonical,;t t
12868 s,@host@,$host,;t t
12869 s,@host_cpu@,$host_cpu,;t t
12870 s,@host_vendor@,$host_vendor,;t t
12871 s,@host_os@,$host_os,;t t
12872 s,@target@,$target,;t t
12873 s,@target_cpu@,$target_cpu,;t t
12874 s,@target_vendor@,$target_vendor,;t t
12875 s,@target_os@,$target_os,;t t
12876 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12877 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12878 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12880 s,@LN_S@,$LN_S,;t t
12881 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12882 s,@build_libsubdir@,$build_libsubdir,;t t
12883 s,@build_subdir@,$build_subdir,;t t
12884 s,@host_subdir@,$host_subdir,;t t
12885 s,@target_subdir@,$target_subdir,;t t
12887 s,@CFLAGS@,$CFLAGS,;t t
12888 s,@LDFLAGS@,$LDFLAGS,;t t
12889 s,@CPPFLAGS@,$CPPFLAGS,;t t
12890 s,@ac_ct_CC@,$ac_ct_CC,;t t
12891 s,@EXEEXT@,$EXEEXT,;t t
12892 s,@OBJEXT@,$OBJEXT,;t t
12894 s,@CXXFLAGS@,$CXXFLAGS,;t t
12895 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12896 s,@GNATBIND@,$GNATBIND,;t t
12897 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12898 s,@GNATMAKE@,$GNATMAKE,;t t
12899 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12900 s,@do_compare@,$do_compare,;t t
12901 s,@gmplibs@,$gmplibs,;t t
12902 s,@gmpinc@,$gmpinc,;t t
12903 s,@stage1_languages@,$stage1_languages,;t t
12904 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12905 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12906 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
12907 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
12908 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12909 s,@tooldir@,$tooldir,;t t
12910 s,@build_tooldir@,$build_tooldir,;t t
12911 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12912 s,@GDB_TK@,$GDB_TK,;t t
12913 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12914 s,@build_configargs@,$build_configargs,;t t
12915 s,@build_configdirs@,$build_configdirs,;t t
12916 s,@host_configargs@,$host_configargs,;t t
12917 s,@configdirs@,$configdirs,;t t
12918 s,@target_configargs@,$target_configargs,;t t
12919 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12920 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
12921 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12922 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12923 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
12924 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
12925 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
12926 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
12927 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
12928 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
12929 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
12930 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
12931 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
12932 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
12933 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
12934 s,@config_shell@,$config_shell,;t t
12935 s,@YACC@,$YACC,;t t
12936 s,@BISON@,$BISON,;t t
12939 s,@FLEX@,$FLEX,;t t
12940 s,@MAKEINFO@,$MAKEINFO,;t t
12941 s,@EXPECT@,$EXPECT,;t t
12942 s,@RUNTEST@,$RUNTEST,;t t
12945 s,@DLLTOOL@,$DLLTOOL,;t t
12947 s,@LIPO@,$LIPO,;t t
12949 s,@RANLIB@,$RANLIB,;t t
12950 s,@STRIP@,$STRIP,;t t
12951 s,@WINDRES@,$WINDRES,;t t
12952 s,@WINDMC@,$WINDMC,;t t
12953 s,@OBJCOPY@,$OBJCOPY,;t t
12954 s,@OBJDUMP@,$OBJDUMP,;t t
12955 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12956 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12957 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12958 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12959 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12960 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12961 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12962 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12963 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12964 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12965 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12966 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12967 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12968 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12969 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12970 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
12971 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12972 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12973 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12974 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12975 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12976 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12977 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12978 s,@MAINT@,$MAINT,;t t
12979 s,@stage1_cflags@,$stage1_cflags,;t t
12980 s,@stage1_checking@,$stage1_checking,;t t
12981 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12982 s,@datarootdir@,$datarootdir,;t t
12983 s,@docdir@,$docdir,;t t
12984 s,@pdfdir@,$pdfdir,;t t
12985 s,@htmldir@,$htmldir,;t t
12986 s,@LIBOBJS@,$LIBOBJS,;t t
12987 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12988 /@serialization_dependencies@/r $serialization_dependencies
12989 s,@serialization_dependencies@,,;t t
12990 /@host_makefile_frag@/r $host_makefile_frag
12991 s,@host_makefile_frag@,,;t t
12992 /@target_makefile_frag@/r $target_makefile_frag
12993 s,@target_makefile_frag@,,;t t
12994 /@alphaieee_frag@/r $alphaieee_frag
12995 s,@alphaieee_frag@,,;t t
12996 /@ospace_frag@/r $ospace_frag
12997 s,@ospace_frag@,,;t t
13002 cat >>$CONFIG_STATUS <<\_ACEOF
13003 # Split the substitutions into bite-sized pieces for seds with
13004 # small command number limits, like on Digital OSF/1 and HP-UX.
13005 ac_max_sed_lines
=48
13006 ac_sed_frag
=1 # Number of current file.
13007 ac_beg
=1 # First line for current file.
13008 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13011 while $ac_more_lines; do
13012 if test $ac_beg -gt 1; then
13013 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13015 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13017 if test ! -s $tmp/subs.frag
; then
13018 ac_more_lines
=false
13020 # The purpose of the label and of the branching condition is to
13021 # speed up the sed processing (if there are no `@' at all, there
13022 # is no need to browse any of the substitutions).
13023 # These are the two extra sed commands mentioned above.
13025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13026 if test -z "$ac_sed_cmds"; then
13027 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13029 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13031 ac_sed_frag
=`expr $ac_sed_frag + 1`
13033 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13036 if test -z "$ac_sed_cmds"; then
13039 fi # test -n "$CONFIG_FILES"
13042 cat >>$CONFIG_STATUS <<\_ACEOF
13043 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13044 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13046 - |
*:- |
*:-:* ) # input from stdin
13048 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13049 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13050 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13051 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13052 * ) ac_file_in
=$ac_file.
in ;;
13055 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13056 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13058 X"$ac_file" : 'X\(//\)[^/]' \| \
13059 X"$ac_file" : 'X\(//\)$' \| \
13060 X"$ac_file" : 'X\(/\)' \| \
13061 . : '\(.\)' 2>/dev/null ||
13063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13065 /^X\(\/\/\)$/{ s//\1/; q; }
13066 /^X\(\/\).*/{ s//\1/; q; }
13068 { if $as_mkdir_p; then
13073 while test ! -d "$as_dir"; do
13074 as_dirs
="$as_dir $as_dirs"
13075 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13077 X"$as_dir" : 'X\(//\)[^/]' \| \
13078 X"$as_dir" : 'X\(//\)$' \| \
13079 X"$as_dir" : 'X\(/\)' \| \
13080 . : '\(.\)' 2>/dev/null ||
13082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13084 /^X\(\/\/\)$/{ s//\1/; q; }
13085 /^X\(\/\).*/{ s//\1/; q; }
13088 test ! -n "$as_dirs" || mkdir
$as_dirs
13089 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13090 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13091 { (exit 1); exit 1; }; }; }
13095 if test "$ac_dir" != .
; then
13096 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13097 # A "../" for each directory in $ac_dir_suffix.
13098 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13100 ac_dir_suffix
= ac_top_builddir
=
13104 .
) # No --srcdir option. We are building in place.
13106 if test -z "$ac_top_builddir"; then
13109 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13111 [\\/]* | ?
:[\\/]* ) # Absolute path.
13112 ac_srcdir
=$srcdir$ac_dir_suffix;
13113 ac_top_srcdir
=$srcdir ;;
13114 *) # Relative path.
13115 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13116 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13119 # Do not use `cd foo && pwd` to compute absolute paths, because
13120 # the directories may not exist.
13122 .
) ac_abs_builddir
="$ac_dir";;
13125 .
) ac_abs_builddir
=`pwd`;;
13126 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13127 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13130 case $ac_abs_builddir in
13131 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13133 case ${ac_top_builddir}.
in
13134 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13135 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13136 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13139 case $ac_abs_builddir in
13140 .
) ac_abs_srcdir
=$ac_srcdir;;
13143 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13144 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13145 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13148 case $ac_abs_builddir in
13149 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13151 case $ac_top_srcdir in
13152 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13153 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13154 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13160 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13161 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13164 if test x
"$ac_file" != x-
; then
13165 { echo "$as_me:$LINENO: creating $ac_file" >&5
13166 echo "$as_me: creating $ac_file" >&6;}
13169 # Let's still pretend it is `configure' which instantiates (i.e., don't
13170 # use $as_me), people would be surprised to read:
13171 # /* config.h. Generated by config.status. */
13172 if test x
"$ac_file" = x-
; then
13175 configure_input
="$ac_file. "
13177 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13178 sed 's,.*/,,'` by configure."
13180 # First look for the input files in the build tree, otherwise in the
13182 ac_file_inputs
=`IFS=:
13183 for f in $ac_file_in; do
13185 -) echo $tmp/stdin ;;
13187 # Absolute (can't be DOS-style, as IFS=:)
13188 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13189 echo "$as_me: error: cannot find input file: $f" >&2;}
13190 { (exit 1); exit 1; }; }
13193 if test -f "$f"; then
13196 elif test -f "$srcdir/$f"; then
13201 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13202 echo "$as_me: error: cannot find input file: $f" >&2;}
13203 { (exit 1); exit 1; }; }
13206 done` ||
{ (exit 1); exit 1; }
13208 cat >>$CONFIG_STATUS <<_ACEOF
13212 cat >>$CONFIG_STATUS <<\_ACEOF
13214 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13215 s
,@configure_input@
,$configure_input,;t t
13216 s
,@srcdir@
,$ac_srcdir,;t t
13217 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13218 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13219 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13220 s
,@builddir@
,$ac_builddir,;t t
13221 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13222 s
,@top_builddir@
,$ac_top_builddir,;t t
13223 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13224 s
,@INSTALL@
,$ac_INSTALL,;t t
13225 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13227 if test x"$ac_file" != x-; then
13228 mv $tmp/out $ac_file
13237 cat >>$CONFIG_STATUS <<\_ACEOF
13239 { (exit 0); exit 0; }
13241 chmod +x $CONFIG_STATUS
13242 ac_clean_files=$ac_clean_files_save
13245 # configure is writing to config.log, and then calls config.status.
13246 # config.status does its own redirection, appending to config.log.
13247 # Unfortunately, on DOS this fails, as config.log is still kept open
13248 # by configure, so config.status won't be able to write to it; its
13249 # output is simply discarded. So we exec the FD to /dev/null,
13250 # effectively closing config.log, so it can be properly (re)opened and
13251 # appended to by config.status. When coming back to configure, we
13252 # need to make the FD available again.
13253 if test "$no_create" != yes; then
13255 ac_config_status_args=
13256 test "$silent" = yes &&
13257 ac_config_status_args="$ac_config_status_args --quiet"
13259 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13261 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13262 # would make configure fail if this is the last instruction.
13263 $ac_cs_success || { (exit 1); exit 1; }