2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --enable-stage1-languages[=all
] choose additional languages to build during
939 stage1. Mostly useful
for compiler development.
940 --enable-objc-gc enable use of Boehm
's garbage collector with the
941 GNU Objective-C runtime
942 --enable-bootstrap enable bootstrapping [yes if native build]
943 --enable-serial-[{host,target,build}-]configure
944 force sequential configuration of
945 sub-packages for the host, target or build
946 machine, or all sub-packages
947 --enable-maintainer-mode enable make rules and dependencies not useful
948 (and sometimes confusing) to the casual installer
949 --enable-stage1-checking[=all] choose additional checking for stage1
951 --enable-werror enable -Werror in bootstrap stage2 and later
954 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
955 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
956 --with-build-libsubdir=DIR Directory where to find libraries for build system
957 --with-mpfr-dir=PATH this option has been REMOVED
958 --with-mpfr=PATH specify prefix directory for installed MPFR package.
959 Equivalent to --with-mpfr-include=PATH/include
960 plus --with-mpfr-lib=PATH/lib
961 --with-mpfr-include=PATH
962 specify directory for installed MPFR include files
963 --with-mpfr-lib=PATH specify directory for the installed MPFR library
964 --with-gmp-dir=PATH this option has been REMOVED
965 --with-gmp=PATH specify prefix directory for the installed GMP package.
966 Equivalent to --with-gmp-include=PATH/include
967 plus --with-gmp-lib=PATH/lib
968 --with-gmp-include=PATH specify directory for installed GMP include files
969 --with-gmp-lib=PATH specify directory for the installed GMP library
970 --with-ppl=PATH Specify prefix directory for the installed PPL package
971 Equivalent to --with-ppl-include=PATH/include
972 plus --with-ppl-lib=PATH/lib
973 --with-ppl-include=PATH Specify directory for installed PPL include files
974 --with-ppl-lib=PATH Specify the directory for the installed PPL library
975 --with-cloog=PATH Specify prefix directory for the installed CLOOG package
976 Equivalent to --with-cloog-include=PATH/include
977 plus --with-cloog-lib=PATH/lib
978 --with-cloog-include=PATH Specify directory for installed CLOOG include files
979 --with-cloog-lib=PATH Specify the directory for the installed CLOOG library
980 --with-build-sysroot=SYSROOT
981 use sysroot as the system root during the build
982 --with-debug-prefix-map='A
=B C
=D ...
'
983 map A to B, C to D ... in debug information
984 --with-build-time-tools=PATH
985 use given path to find target tools during the build
986 --with-datarootdir use datarootdir as the data root directory.
987 --with-docdir install documentation in this directory.
988 --with-pdfdir install pdf in this directory.
989 --with-htmldir install html in this directory.
991 Some influential environment variables:
992 CC C compiler command
993 CFLAGS C compiler flags
994 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
995 nonstandard directory <lib dir>
996 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
997 headers in a nonstandard directory <include dir>
998 CXX C++ compiler command
999 CXXFLAGS C++ compiler flags
1002 DLLTOOL DLLTOOL for the host
1004 LIPO LIPO for the host
1006 RANLIB RANLIB for the host
1007 STRIP STRIP for the host
1008 WINDRES WINDRES for the host
1009 WINDMC WINDMC for the host
1010 OBJCOPY OBJCOPY for the host
1011 OBJDUMP OBJDUMP for the host
1021 GFORTRAN for the target
1027 DLLTOOL for the target
1035 OBJDUMP for the target
1037 RANLIB for the target
1039 STRIP for the target
1041 WINDRES for the target
1043 WINDMC for the target
1045 Use these variables to override the choices made by `configure' or to
help
1046 it to
find libraries and programs with nonstandard names
/locations.
1051 if test "$ac_init_help" = "recursive"; then
1052 # If there are subdirs, report their specific --help.
1054 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1055 test -d $ac_dir ||
continue
1058 if test "$ac_dir" != .
; then
1059 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1060 # A "../" for each directory in $ac_dir_suffix.
1061 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1063 ac_dir_suffix
= ac_top_builddir
=
1067 .
) # No --srcdir option. We are building in place.
1069 if test -z "$ac_top_builddir"; then
1072 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1074 [\\/]* | ?
:[\\/]* ) # Absolute path.
1075 ac_srcdir
=$srcdir$ac_dir_suffix;
1076 ac_top_srcdir
=$srcdir ;;
1078 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1079 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1082 # Do not use `cd foo && pwd` to compute absolute paths, because
1083 # the directories may not exist.
1085 .
) ac_abs_builddir
="$ac_dir";;
1088 .
) ac_abs_builddir
=`pwd`;;
1089 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1090 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1093 case $ac_abs_builddir in
1094 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1096 case ${ac_top_builddir}.
in
1097 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1098 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1099 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1102 case $ac_abs_builddir in
1103 .
) ac_abs_srcdir
=$ac_srcdir;;
1106 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1107 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1108 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1111 case $ac_abs_builddir in
1112 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1114 case $ac_top_srcdir in
1115 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1116 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1117 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1122 # Check for guested configure; otherwise get Cygnus style configure.
1123 if test -f $ac_srcdir/configure.gnu
; then
1125 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1126 elif test -f $ac_srcdir/configure
; then
1128 $SHELL $ac_srcdir/configure
--help=recursive
1129 elif test -f $ac_srcdir/configure.ac ||
1130 test -f $ac_srcdir/configure.
in; then
1132 $ac_configure --help
1134 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1140 test -n "$ac_init_help" && exit 0
1141 if $ac_init_version; then
1144 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1145 This configure
script is free software
; the Free Software Foundation
1146 gives unlimited permission to copy
, distribute and modify it.
1152 This file contains any messages produced by compilers while
1153 running configure, to aid debugging if configure makes a mistake.
1155 It was created by $as_me, which was
1156 generated by GNU Autoconf 2.59. Invocation command line was
1167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1179 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1190 test -z "$as_dir" && as_dir
=.
1191 echo "PATH: $as_dir"
1206 # Keep a trace of the command line.
1207 # Strip out --no-create and --no-recursion so they do not pile up.
1208 # Strip out --silent because we don't want to record it for future runs.
1209 # Also quote any args containing shell meta-characters.
1210 # Make two passes to allow for proper duplicate-argument suppression.
1215 ac_must_keep_next
=false
1221 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1231 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true
; then
1233 ac_must_keep_next
=false
# Got value, back to normal.
1236 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1237 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1238 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1239 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 -* ) ac_must_keep_next
=true
;;
1247 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1254 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1255 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1257 # When interrupted or exit'd, cleanup temporary files, and complete
1258 # config.log. We remove comments because anyway the quotes in there
1259 # would cause problems or look ugly.
1260 # WARNING: Be sure not to use single quotes in there, as some shells,
1261 # such as our DU 5.0 friend, will then `close' the trap.
1262 trap 'exit_status=$?
1263 # Save into config.log some information that might help in debugging.
1268 ## ---------------- ##
1269 ## Cache variables. ##
1270 ## ---------------- ##
1273 # The following way of writing the cache mishandles newlines in values,
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1291 ## ----------------- ##
1292 ## Output variables. ##
1293 ## ----------------- ##
1296 for ac_var in $ac_subst_vars
1298 eval ac_val=$`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1303 if test -n "$ac_subst_files"; then
1310 for ac_var in $ac_subst_files
1312 eval ac_val=$`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1318 if test -s confdefs.h; then
1325 sed "/^$/d" confdefs.h | sort
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1332 rm -f core *.core &&
1333 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1336 for ac_signal
in 1 2 13 15; do
1337 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1342 rm -rf conftest
* confdefs.h
1343 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346 # Predefined preprocessor variables.
1348 cat >>confdefs.h
<<_ACEOF
1349 #define PACKAGE_NAME "$PACKAGE_NAME"
1353 cat >>confdefs.h
<<_ACEOF
1354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1358 cat >>confdefs.h
<<_ACEOF
1359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1363 cat >>confdefs.h
<<_ACEOF
1364 #define PACKAGE_STRING "$PACKAGE_STRING"
1368 cat >>confdefs.h
<<_ACEOF
1369 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1373 # Let the site file select an alternate cache file if it wants to.
1374 # Prefer explicitly selected file to automatically selected ones.
1375 if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE
; then
1377 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1379 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 for ac_site_file
in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385 echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's/^/| /' "$ac_site_file" >&5
1391 if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396 echo "$as_me: loading cache $cache_file" >&6;}
1398 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1399 *) . .
/$cache_file;;
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404 echo "$as_me: creating cache $cache_file" >&6;}
1408 # Check that the precious variables saved in the cache have kept the same
1410 ac_cache_corrupted
=false
1411 for ac_var
in `(set) 2>&1 |
1412 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1413 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1414 eval ac_new_set
=\
$ac_env_${ac_var}_set
1415 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val
="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1421 ac_cache_corrupted
=: ;;
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted
=: ;;
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 # differences in whitespace do not lead to failure.
1430 ac_old_val_w
=`echo x $ac_old_val`
1431 ac_new_val_w
=`echo x $ac_new_val`
1432 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1433 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1434 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1435 ac_cache_corrupted
=:
1437 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1438 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1439 eval $ac_var=\
$ac_old_val
1441 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1442 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1443 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1444 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1447 # Pass precious variables to config.status.
1448 if test "$ac_new_set" = set; then
1450 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1451 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1452 *) ac_arg
=$ac_var=$ac_new_val ;;
1454 case " $ac_configure_args " in
1455 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1456 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1460 if $ac_cache_corrupted; then
1461 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1462 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1463 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1464 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1465 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1466 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1467 { (exit 1); exit 1; }; }
1471 ac_cpp
='$CPP $CPPFLAGS'
1472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1500 # if PWD already has a value, it is probably wrong.
1501 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1503 # Export original configure arguments for use by sub-configures.
1504 # Quote arguments with shell meta charatcers.
1505 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1506 set -- "$progname" "$@"
1510 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1511 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1512 # if the argument is of the form -foo=baz, quote the baz part only
1513 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1516 # Add the quoted argument to the list.
1517 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1519 if test "$silent" = yes; then
1520 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1522 # Remove the initial space we just introduced and, as these will be
1523 # expanded by make, quote '$'.
1524 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1527 # Find the build, host, and target systems.
1529 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1530 if test -f $ac_dir/install-sh
; then
1532 ac_install_sh
="$ac_aux_dir/install-sh -c"
1534 elif test -f $ac_dir/install.sh
; then
1536 ac_install_sh
="$ac_aux_dir/install.sh -c"
1538 elif test -f $ac_dir/shtool
; then
1540 ac_install_sh
="$ac_aux_dir/shtool install -c"
1544 if test -z "$ac_aux_dir"; then
1545 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1546 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1547 { (exit 1); exit 1; }; }
1549 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1550 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1551 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1553 # Make sure we can run config.sub.
1554 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1555 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1556 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1557 { (exit 1); exit 1; }; }
1559 echo "$as_me:$LINENO: checking build system type" >&5
1560 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1561 if test "${ac_cv_build+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 ac_cv_build_alias
=$build_alias
1565 test -z "$ac_cv_build_alias" &&
1566 ac_cv_build_alias
=`$ac_config_guess`
1567 test -z "$ac_cv_build_alias" &&
1568 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1569 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1570 { (exit 1); exit 1; }; }
1571 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1572 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1573 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1574 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1578 echo "${ECHO_T}$ac_cv_build" >&6
1580 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1585 case ${build_alias} in
1586 "") build_noncanonical
=${build} ;;
1587 *) build_noncanonical
=${build_alias} ;;
1592 case ${host_alias} in
1593 "") host_noncanonical
=${build_noncanonical} ;;
1594 *) host_noncanonical
=${host_alias} ;;
1599 case ${target_alias} in
1600 "") target_noncanonical
=${host_noncanonical} ;;
1601 *) target_noncanonical
=${target_alias} ;;
1607 test "$host_noncanonical" = "$target_noncanonical" &&
1608 test "$program_prefix$program_suffix$program_transform_name" = \
1610 program_transform_name
=s
,y
,y
,
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 ac_cv_host_alias
=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias
=$ac_cv_build_alias
1620 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1629 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1630 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1631 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 ac_cv_target_alias
=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias
=$ac_cv_host_alias
1642 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target
=$ac_cv_target
1651 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1652 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1653 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1661 program_prefix
=${target_alias}-
1662 test "$program_prefix" != NONE
&&
1663 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1664 # Use a double $ so make ignores it.
1665 test "$program_suffix" != NONE
&&
1666 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1667 # Double any \ or $. echo might interpret backslashes.
1668 # By default was `s,x,x', remove it if useless.
1669 cat <<\_ACEOF
>conftest.
sed
1670 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1672 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1677 # Get 'install' or 'install-sh' and its variants.
1678 # Find a good install program. We prefer a C program (faster),
1679 # so one script is as good as another. But avoid the broken or
1680 # incompatible versions:
1681 # SysV /etc/install, /usr/sbin/install
1682 # SunOS /usr/etc/install
1683 # IRIX /sbin/install
1685 # AmigaOS /C/install, which installs bootblocks on floppy discs
1686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1689 # OS/2's system install, which has a completely different semantic
1690 # ./install, which can be erroneously created by make from ./install.sh.
1691 # Reject install programs that cannot install multiple files.
1692 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1693 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1694 if test -z "$INSTALL"; then
1695 if test "${ac_cv_path_install+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir
=.
1703 # Account for people who put trailing slashes in PATH elements.
1705 .
/ | .
// |
/cC
/* | \
1706 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1707 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1710 # OSF1 and SCO ODT 3.0 have their own names for install.
1711 # Don't use installbsd from OSF since it installs stuff as root
1713 for ac_prog
in ginstall scoinst
install; do
1714 for ac_exec_ext
in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1716 if test $ac_prog = install &&
1717 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1718 # AIX install. It has an incompatible calling convention.
1720 elif test $ac_prog = install &&
1721 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1722 # program-specific install script used by HP pwplus--don't use.
1725 rm -rf conftest.one conftest.two conftest.dir
1726 echo one
> conftest.one
1727 echo two
> conftest.two
1729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1730 test -s conftest.one
&& test -s conftest.two
&&
1731 test -s conftest.dir
/conftest.one
&&
1732 test -s conftest.dir
/conftest.two
1734 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1745 rm -rf conftest.one conftest.two conftest.dir
1748 if test "${ac_cv_path_install+set}" = set; then
1749 INSTALL
=$ac_cv_path_install
1751 # As a last resort, use the slow shell script. Don't cache a
1752 # value for INSTALL within a source directory, because that will
1753 # break other packages using the cache if that directory is
1754 # removed, or if the value is a relative name.
1755 INSTALL
=$ac_install_sh
1758 echo "$as_me:$LINENO: result: $INSTALL" >&5
1759 echo "${ECHO_T}$INSTALL" >&6
1761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1762 # It thinks the first close brace ends the variable substitution.
1763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1765 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1767 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1769 echo "$as_me:$LINENO: checking whether ln works" >&5
1770 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1771 if test "${acx_cv_prog_LN+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 rm -f conftestdata_t
1775 echo >conftestdata_f
1776 if ln conftestdata_f conftestdata_t
2>/dev
/null
1782 rm -f conftestdata_f conftestdata_t
1785 if test $acx_cv_prog_LN = no
; then
1787 echo "$as_me:$LINENO: result: no, using $LN" >&5
1788 echo "${ECHO_T}no, using $LN" >&6
1790 LN
="$acx_cv_prog_LN"
1791 echo "$as_me:$LINENO: result: yes" >&5
1792 echo "${ECHO_T}yes" >&6
1795 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1796 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1798 if test "$LN_S" = "ln -s"; then
1799 echo "$as_me:$LINENO: result: yes" >&5
1800 echo "${ECHO_T}yes" >&6
1802 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1803 echo "${ECHO_T}no, using $LN_S" >&6
1807 ### we might need to use some other shell than /bin/sh for running subshells
1808 ### If we are on Windows, search for the shell. This will permit people
1809 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1810 ### without also having to set CONFIG_SHELL. This code will work when
1811 ### using bash, which sets OSTYPE.
1814 if test x
${CONFIG_SHELL} = x
; then
1815 if test ! -f /bin
/sh
; then
1816 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1817 CONFIG_SHELL
=${SHELL}
1820 for prog
in sh sh.exe bash bash.exe
; do
1821 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1822 for dir
in $PATH; do
1823 test -z "$dir" && dir
=.
1824 if test -f $dir/$prog; then
1825 CONFIG_SHELL
=$dir/$prog
1831 test -n "${CONFIG_SHELL}" && break
1839 config_shell
=${CONFIG_SHELL-/bin/sh}
1841 moveifchange
=${srcdir}/move-if-change
1843 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1845 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1847 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1848 INSTALL
="${srcpwd}/install-sh -c"
1851 # Set srcdir to "." if that's what it is.
1852 # This is important for multilib support.
1854 if test "${pwd}" = "${srcpwd}" ; then
1862 ### To add a new directory to the tree, first choose whether it is a target
1863 ### or a host dependent tool. Then put it into the appropriate list
1864 ### (library or tools, host or target), doing a dependency sort.
1866 # Subdirs will be configured in the order listed in build_configdirs,
1867 # configdirs, or target_configdirs; see the serialization section below.
1869 # Dependency sorting is only needed when *configuration* must be done in
1870 # a particular order. In all cases a dependency should be specified in
1871 # the Makefile, whether or not it's implicitly specified here.
1873 # Double entries in build_configdirs, configdirs, or target_configdirs may
1874 # cause circular dependencies and break everything horribly.
1876 # these library is used by various programs built for the build
1879 build_libs
="build-libiberty"
1881 # these tools are built for the build environment
1882 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1884 # these libraries are used by various programs built for the host environment
1886 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog"
1888 # these tools are built for the host environment
1889 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1890 # know that we are building the simulator.
1891 # binutils, gas and ld appear in that order because it makes sense to run
1892 # "make check" in that particular order.
1893 # If --enable-gold is used, "gold" will replace "ld".
1894 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"
1896 # libgcj represents the runtime libraries only used by gcj.
1897 libgcj
="target-libffi \
1902 # these libraries are built for the target environment, and are built after
1903 # the host libraries and the host tools (which may be a cross compiler)
1905 target_libraries
="target-libgcc \
1910 target-libstdc++-v3 \
1913 target-libgfortran \
1919 # these tools are built using the target libraries, and are intended to
1920 # run only in the target environment
1922 # note: any program that *uses* libraries that are in the "target_libraries"
1923 # list belongs in this list. those programs are also very likely
1924 # candidates for the "native_only" list which follows
1926 target_tools
="target-examples target-groff target-gperf target-rda"
1928 ################################################################################
1930 ## All tools belong in one of the four categories, and are assigned above
1931 ## We assign ${configdirs} this way to remove all embedded newlines. This
1932 ## is important because configure will choke if they ever get through.
1933 ## ${configdirs} is directories we build using the host tools.
1934 ## ${target_configdirs} is directories we build using the target tools.
1935 configdirs
=`echo ${host_libs} ${host_tools}`
1936 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1937 build_configdirs
=`echo ${build_libs} ${build_tools}`
1941 ################################################################################
1943 srcname
="gnu development package"
1945 # This gets set non-empty for some net releases of packages.
1948 # Define is_cross_compiler to save on calls to 'test'.
1950 if test x
"${host}" = x
"${target}" ; then
1951 is_cross_compiler
=no
1953 is_cross_compiler
=yes
1956 # Find the build and target subdir names.
1958 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1959 # have matching libraries, they should use host libraries: Makefile.tpl
1960 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1961 # However, they still use the build modules, because the corresponding
1962 # host modules (e.g. bison) are only built for the host when bootstrap
1964 # - build_subdir is where we find build modules, and never changes.
1965 # - build_libsubdir is where we find build libraries, and can be overridden.
1967 # Prefix 'build-' so this never conflicts with target_subdir.
1968 build_subdir
="build-${build_noncanonical}"
1970 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1971 if test "${with_build_libsubdir+set}" = set; then
1972 withval
="$with_build_libsubdir"
1973 build_libsubdir
="$withval"
1975 build_libsubdir
="$build_subdir"
1977 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1978 if ( test $srcdir = .
&& test -d gcc
) \
1979 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1980 host_subdir
="host-${host_noncanonical}"
1985 target_subdir
=${target_noncanonical}
1988 # Skipdirs are removed silently.
1990 # Noconfigdirs are removed loudly.
1994 # Make sure we don't let GNU ld be added if we didn't want it.
1995 if test x
$with_gnu_ld = xno
; then
1997 noconfigdirs
="$noconfigdirs ld gold"
2001 # Make sure we don't let GNU as be added if we didn't want it.
2002 if test x
$with_gnu_as = xno
; then
2004 noconfigdirs
="$noconfigdirs gas"
2007 # some tools are so dependent upon X11 that if we're not building with X,
2008 # it's not even worth trying to configure, much less build, that tool.
2011 yes |
"") ;; # the default value for this tree is that X11 is available
2013 skipdirs
="${skipdirs} tk itcl libgui"
2014 # We won't be able to build gdbtk without X.
2017 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2020 # Some tools are only suitable for building in a "native" situation.
2021 # Remove these if host!=target.
2022 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"
2024 # Similarly, some are only suitable for cross toolchains.
2025 # Remove these if host=target.
2026 cross_only
="target-libgloss target-newlib target-opcodes"
2028 case $is_cross_compiler in
2029 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2030 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2033 # If both --with-headers and --with-libs are specified, default to
2035 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2036 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2037 if test x
"${with_newlib}" = x
; then
2042 # Recognize --with-newlib/--without-newlib.
2043 case ${with_newlib} in
2044 no
) skipdirs
="${skipdirs} target-newlib" ;;
2045 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2048 # Handle --enable-gold.
2050 # Check whether --enable-gold or --disable-gold was given.
2051 if test "${enable_gold+set}" = set; then
2052 enableval
="$enable_gold"
2053 ENABLE_GOLD
=$enableval
2057 if test "${ENABLE_GOLD}" = "yes"; then
2058 # Check for ELF target.
2061 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2062 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2063 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2065 *-*-linux*aout
* |
*-*-linux*oldld
*)
2073 if test "$is_elf" = "yes"; then
2074 # Check for target supported by gold.
2076 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-*)
2077 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2083 # Configure extra directories which are host specific
2087 configdirs
="$configdirs libtermcap" ;;
2090 # A target can indicate whether a language isn't supported for some reason.
2091 # Only spaces may be used in this macro; not newlines or tabs.
2092 unsupported_languages
=
2094 # Remove more programs from consideration, based on the host or
2095 # target this usually means that a port of the program doesn't
2100 noconfigdirs
="$noconfigdirs byacc"
2102 i
[3456789]86-*-vsta)
2103 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2105 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2106 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2109 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2111 i
[3456789]86-*-mingw32*)
2112 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2113 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2115 i
[3456789]86-*-beos*)
2116 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2119 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2122 noconfigdirs
="$noconfigdirs rcs"
2125 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2128 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2133 # Check whether --enable-libada or --disable-libada was given.
2134 if test "${enable_libada+set}" = set; then
2135 enableval
="$enable_libada"
2136 ENABLE_LIBADA
=$enableval
2140 if test "${ENABLE_LIBADA}" != "yes" ; then
2141 noconfigdirs
="$noconfigdirs gnattools"
2144 # Check whether --enable-libssp or --disable-libssp was given.
2145 if test "${enable_libssp+set}" = set; then
2146 enableval
="$enable_libssp"
2147 ENABLE_LIBSSP
=$enableval
2152 # Save it here so that, even in case of --enable-libgcj, if the Java
2153 # front-end isn't enabled, we still get libgcj disabled.
2154 libgcj_saved
=$libgcj
2155 case $enable_libgcj in
2157 # If we reset it here, it won't get added to noconfigdirs in the
2158 # target-specific build rules, so it will be forcibly enabled
2159 # (unless the Java language itself isn't enabled).
2163 # Make sure we get it printed in the list of not supported target libs.
2164 noconfigdirs
="$noconfigdirs ${libgcj}"
2169 # Disable libmudflap on some systems.
2170 if test x
$enable_libmudflap = x
; then
2172 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2173 # Enable libmudflap by default in GNU and friends.
2176 # Enable libmudflap by default in FreeBSD.
2179 # Disable it by default everywhere else.
2180 noconfigdirs
="$noconfigdirs target-libmudflap"
2185 # Disable libgomp on non POSIX hosted systems.
2186 if test x
$enable_libgomp = x
; then
2187 # Enable libgomp by default on hosted POSIX systems.
2189 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2191 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2193 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2195 *-*-darwin* |
*-*-aix*)
2198 noconfigdirs
="$noconfigdirs target-libgomp"
2203 # Default libgloss CPU subdirectory.
2204 libgloss_dir
="$target_cpu"
2208 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2210 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2211 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2212 noconfigdirs
="$noconfigdirs sim target-rda"
2215 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2216 noconfigdirs
="$noconfigdirs sim target-rda"
2217 noconfigdirs
="$noconfigdirs ${libgcj}"
2219 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2220 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2223 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2224 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2225 && test -f /usr
/local
/include
/gmp.h
; then
2229 # Skip some stuff that's unsupported on some FreeBSD configurations.
2234 noconfigdirs
="$noconfigdirs ${libgcj}"
2239 # Remove unsupported stuff on all kaOS configurations.
2240 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2241 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2242 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2243 noconfigdirs
="$noconfigdirs target-libgloss"
2246 # Skip some stuff on all NetBSD configurations.
2247 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2249 # Skip some stuff that's unsupported on some NetBSD configurations.
2251 i
*86-*-netbsdelf*) ;;
2252 arm
*-*-netbsdelf*) ;;
2254 noconfigdirs
="$noconfigdirs ${libgcj}"
2259 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2262 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2264 # The tpf target doesn't support gdb yet.
2266 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2269 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2272 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2275 # ld works, but does not support shared libraries.
2276 # newlib is not 64 bit ready. I'm not sure about fileutils.
2277 # gas doesn't generate exception information.
2278 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2281 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2284 # newlib is not 64 bit ready
2285 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2288 # newlib is not 64 bit ready
2289 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2292 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2295 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2297 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2298 noconfigdirs
="$noconfigdirs ${libgcj}"
2299 noconfigdirs
="$noconfigdirs target-examples"
2300 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2301 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2302 noconfigdirs
="$noconfigdirs expect dejagnu"
2303 # the C++ libraries don't build on top of CE's C libraries
2304 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2305 noconfigdirs
="$noconfigdirs target-newlib"
2307 *-*-cygwin*) ;; # keep gdb and readline
2308 *) noconfigdirs
="$noconfigdirs gdb readline"
2314 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2318 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2319 noconfigdirs
="$noconfigdirs ${libgcj}"
2322 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2323 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2326 arm
*-*-linux-gnueabi)
2327 noconfigdirs
="$noconfigdirs target-qthreads"
2328 case ${with_newlib} in
2329 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2334 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2338 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2341 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2344 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2347 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2350 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2353 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2356 noconfigdirs
="$noconfigdirs gdb"
2357 if test x
${is_cross_compiler} != xno
; then
2358 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2361 c4x-
*-* | tic4x-
*-*)
2362 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2364 c54x
*-*-* | tic54x-
*-*)
2365 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2368 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2370 cris-
*-* | crisv32-
*-*)
2371 unsupported_languages
="$unsupported_languages java"
2374 unsupported_languages
="$unsupported_languages fortran"
2375 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2377 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2379 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2381 unsupported_languages
="$unsupported_languages fortran"
2382 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2387 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2390 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2393 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2395 ep9312-
*-elf | ep9312-
*-coff)
2399 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2402 noconfigdirs
="$noconfigdirs ${libgcj}"
2405 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2408 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2410 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2412 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2413 # In this case, it's because the hppa64-linux target is for
2414 # the kernel only at this point and has no libc, and thus no
2415 # headers, crt*.o, etc., all of which are needed by these.
2416 noconfigdirs
="$noconfigdirs target-zlib"
2418 parisc
*-*-linux* | hppa
*-*-linux*)
2422 hppa
*-*-openbsd* | \
2424 noconfigdirs
="$noconfigdirs ${libgcj}"
2427 noconfigdirs
="$noconfigdirs ld shellutils"
2433 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2434 # build on HP-UX 10.20.
2435 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2438 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2441 # No gdb support yet.
2442 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2445 # No gdb or ld support yet.
2446 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2450 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2451 noconfigdirs
="$noconfigdirs ${libgcj}"
2454 i
[3456789]86-*-linux*)
2455 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2456 # not build java stuff by default.
2459 noconfigdirs
="$noconfigdirs ${libgcj}";;
2462 # This section makes it possible to build newlib natively on linux.
2463 # If we are using a cross compiler then don't configure newlib.
2464 if test x
${is_cross_compiler} != xno
; then
2465 noconfigdirs
="$noconfigdirs target-newlib"
2467 noconfigdirs
="$noconfigdirs target-libgloss"
2468 # If we are not using a cross compiler, do configure newlib.
2469 # Note however, that newlib will only be configured in this situation
2470 # if the --with-newlib option has been given, because otherwise
2471 # 'target-newlib' will appear in skipdirs.
2473 i
[3456789]86-*-mingw32*)
2474 target_configdirs
="$target_configdirs target-winsup"
2475 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2478 target_configdirs
="$target_configdirs target-winsup"
2479 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2482 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2483 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2484 # always build newlib if winsup directory is present.
2485 if test -d "$srcdir/winsup/cygwin"; then
2486 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2487 elif test -d "$srcdir/newlib"; then
2488 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2491 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2492 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2495 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2497 i
[3456789]86-*-sco3.2v5
*)
2498 # The linker does not yet know about weak symbols in COFF,
2499 # and is not configured to handle mixed ELF and COFF.
2500 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2502 i
[3456789]86-*-sco*)
2503 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2505 i
[3456789]86-*-solaris2*)
2506 noconfigdirs
="$noconfigdirs target-libgloss"
2508 i
[3456789]86-*-sysv4*)
2509 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2511 i
[3456789]86-*-beos*)
2512 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2514 i
[3456789]86-*-rdos*)
2515 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2518 noconfigdirs
="$noconfigdirs ${libgcj}"
2520 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2521 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2522 libgloss_dir
=m68hc11
2525 noconfigdirs
="$noconfigdirs ${libgcj}"
2528 noconfigdirs
="$noconfigdirs ${libgcj}"
2530 m68
*-*-* | fido-
*-*)
2534 # The EPOC C++ environment does not support exceptions or rtti,
2535 # and so building libstdc++-v3 tends not to always work.
2536 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2539 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2540 unsupported_languages
="$unsupported_languages fortran java"
2543 noconfigdirs
="$noconfigdirs ${libgcj}"
2546 noconfigdirs
="$noconfigdirs ${libgcj}"
2549 noconfigdirs
="$noconfigdirs sim"
2552 # copied from rs6000-*-* entry
2553 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2555 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2556 target_configdirs
="$target_configdirs target-winsup"
2557 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2558 # always build newlib.
2559 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2561 # This is temporary until we can link against shared libraries
2562 powerpcle-
*-solaris*)
2563 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2567 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2570 noconfigdirs
="$noconfigdirs ${libgcj}"
2573 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2577 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2580 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2583 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2586 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2589 skipdirs
="$skipdirs target-libiberty"
2590 noconfigdirs
="$noconfigdirs ${libgcj}"
2591 if test x
$with_newlib = xyes
; then
2592 noconfigdirs
="$noconfigdirs gprof"
2597 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2600 # Linking libjava exceeds command-line length limits on at least
2601 # IRIX 6.2, but not on IRIX 6.5.
2602 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2603 # <oldham@codesourcery.com>
2604 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2607 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2613 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2617 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2621 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2622 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2623 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2624 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2626 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2628 sparclet-
*-aout* | sparc86x-
*-*)
2632 noconfigdirs
="$noconfigdirs ${libgcj}"
2635 noconfigdirs
="$noconfigdirs ${libgcj}"
2639 noconfigdirs
="$noconfigdirs ${libgcj}"
2643 noconfigdirs
="$noconfigdirs ${libgcj}"
2644 if test x
${is_cross_compiler} != xno
; then
2645 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2650 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2651 noconfigdirs
="$noconfigdirs ${libgcj}"
2653 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2656 skipdirs
="target-libssp"
2659 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2662 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2665 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2668 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2671 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2674 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2677 noconfigdirs
="$noconfigdirs ${libgcj}"
2680 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2682 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2689 noconfigdirs
="$noconfigdirs ${libgcj}"
2693 # If we aren't building newlib, then don't build libgloss, since libgloss
2694 # depends upon some newlib header files.
2695 case "${noconfigdirs}" in
2696 *target-libgloss
*) ;;
2697 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2700 # Work in distributions that contain no compiler tools, like Autoconf.
2702 host_makefile_frag
=/dev
/null
2703 if test -d ${srcdir}/config
; then
2706 # Avoid "too much defining" errors from HPUX compiler.
2707 tentative_cc
="cc -Wp,-H256000"
2708 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2709 # If it's HP/UX ar, this should be harmless.
2713 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2716 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2717 # chokes on bfd, the compiler won't let you assign integers to enums, and
2718 # other problems. Defining CC to gcc is a questionable way to say "don't use
2719 # the apollo compiler" (the preferred version of GCC could be called cc,
2720 # or whatever), but I'm not sure leaving CC as cc is any better...
2721 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2722 # Used to have BISON=yacc.
2726 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2729 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2730 tentative_cc
="cc -Xa"
2731 host_makefile_frag
="config/mh-cxux"
2733 m88k-motorola-sysv
*)
2736 tentative_cc
="cc -Wf,-XNg1000"
2737 host_makefile_frag
="config/mh-decstation"
2740 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2741 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2742 host_makefile_frag
="config/mh-necv4"
2745 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2746 # environment. Also bump switch table size so that cp-parse will
2747 # compile. Bump string length limit so linker builds.
2748 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2751 host_makefile_frag
="config/mh-sysv4"
2754 # This is for a MIPS running RISC/os 4.52C.
2756 # This is needed for GDB, but needs to be in the top-level make because
2757 # if a library is compiled with the bsd headers and gets linked with the
2758 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2759 # a different size).
2760 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2761 # known except to select the sysv environment. Could we use /proc instead?
2762 # These "sysv environments" and "bsd environments" often end up being a pain.
2764 # This is not part of CFLAGS because perhaps not all C compilers have this
2766 tentative_cc
="cc -systype sysv"
2771 i
[3456789]86-*-sysv5*)
2772 host_makefile_frag
="config/mh-sysv5"
2774 i
[3456789]86-*-dgux*)
2775 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2776 host_makefile_frag
="config/mh-dgux386"
2778 i
[3456789]86-ncr-sysv4.3
*)
2779 # The MetaWare compiler will generate a copyright message unless you
2780 # turn it off by adding the -Hnocopyr flag.
2781 tentative_cc
="cc -Hnocopyr"
2783 i
[3456789]86-ncr-sysv4*)
2784 # for an NCR 3000 (i486/SVR4) system.
2785 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2786 # This compiler not only emits obnoxious copyright messages every time
2787 # you run it, but it chokes and dies on a whole bunch of GNU source
2788 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2789 tentative_cc
="/usr/ccs/ATT/cc"
2790 host_makefile_frag
="config/mh-ncr3000"
2792 i
[3456789]86-*-sco3.2v5
*)
2794 i
[3456789]86-*-sco*)
2795 # The native C compiler botches some simple uses of const. Unfortunately,
2796 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2797 tentative_cc
="cc -Dconst="
2798 host_makefile_frag
="config/mh-sco"
2800 i
[3456789]86-*-udk*)
2801 host_makefile_frag
="config/mh-sysv5"
2803 i
[3456789]86-*-solaris2*)
2804 host_makefile_frag
="config/mh-sysv4"
2806 i
[3456789]86-*-msdosdjgpp*)
2807 host_makefile_frag
="config/mh-djgpp"
2811 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2812 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2813 echo a
>cygwin-cat-check
2814 if test `cat cygwin-cat-check` == a
; then
2816 echo "$as_me:$LINENO: result: yes" >&5
2817 echo "${ECHO_T}yes" >&6
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2822 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2823 Please either mount the build directory in binary mode or run the following
2824 commands before running any configure script:
2828 echo "$as_me: error: The cat command does not ignore carriage return characters.
2829 Please either mount the build directory in binary mode or run the following
2830 commands before running any configure script:
2834 { (exit 1); exit 1; }; }
2837 host_makefile_frag
="config/mh-cygwin"
2840 host_makefile_frag
="config/mh-mingw"
2843 host_makefile_frag
="config/mh-interix"
2846 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2850 host_makefile_frag
="config/mh-solaris"
2853 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2854 # without overflowing the jump tables (-J says to use a 32 bit table)
2855 tentative_cc
="cc -J"
2858 tentative_cc
="cc -Wp,-H256000"
2859 host_makefile_frag
="config/mh-pa-hpux10"
2861 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2862 tentative_cc
="cc -Wp,-H256000"
2863 host_makefile_frag
="config/mh-pa"
2866 host_makefile_frag
="config/mh-pa"
2868 *-hp-hpux* |
*-*-hiux*)
2869 tentative_cc
="cc -Wp,-H256000"
2872 # /bin/cc is less than useful for our purposes. Always use GCC
2873 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2874 host_makefile_frag
="config/mh-lynxrs6k"
2877 host_makefile_frag
="config/mh-ppc-darwin"
2880 host_makefile_frag
="config/mh-ppc-aix"
2883 host_makefile_frag
="config/mh-ppc-aix"
2886 # /bin/cc is less than useful for our purposes. Always use GCC
2887 tentative_cc
="/bin/gcc"
2890 host_makefile_frag
="config/mh-sysv4"
2892 # This is placed last to prevent interfering with the cases above.
2894 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2895 host_makefile_frag
="config/mh-x86omitfp"
2900 # If we aren't going to be using gcc, see if we can extract a definition
2901 # of CC from the fragment.
2902 # Actually, use the 'pre-extracted' version above.
2903 if test -z "${CC}" && test "${build}" = "${host}" ; then
2904 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2906 for dir
in $PATH; do
2907 test -z "$dir" && dir
=.
2908 if test -f $dir/gcc
; then
2914 if test -z "${found}" && test -n "${tentative_cc}" ; then
2919 if test "${build}" != "${host}" ; then
2920 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2921 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2922 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2923 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2924 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2925 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2926 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2927 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2928 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2929 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2930 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2931 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2933 AR_FOR_BUILD
="\$(AR)"
2934 AS_FOR_BUILD
="\$(AS)"
2935 CC_FOR_BUILD
="\$(CC)"
2936 CXX_FOR_BUILD
="\$(CXX)"
2937 GCJ_FOR_BUILD
="\$(GCJ)"
2938 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2939 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2940 LD_FOR_BUILD
="\$(LD)"
2941 NM_FOR_BUILD
="\$(NM)"
2942 RANLIB_FOR_BUILD
="\$(RANLIB)"
2943 WINDRES_FOR_BUILD
="\$(WINDRES)"
2944 WINDMC_FOR_BUILD
="\$(WINDMC)"
2948 ac_cpp
='$CPP $CPPFLAGS'
2949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_CC+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC
="$CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test -n "$CC"; then
2981 echo "$as_me:$LINENO: result: $CC" >&5
2982 echo "${ECHO_T}$CC" >&6
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2989 if test -z "$ac_cv_prog_CC"; then
2991 # Extract the first word of "gcc", so it can be a program name with args.
2992 set dummy gcc
; ac_word
=$2
2993 echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_CC
="gcc"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3018 if test -n "$ac_ct_CC"; then
3019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3020 echo "${ECHO_T}$ac_ct_CC" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_CC+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC
="$CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 echo "$as_me:$LINENO: result: $CC" >&5
3062 echo "${ECHO_T}$CC" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3069 if test -z "$ac_cv_prog_CC"; then
3071 # Extract the first word of "cc", so it can be a program name with args.
3072 set dummy cc
; ac_word
=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC
="cc"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3098 if test -n "$ac_ct_CC"; then
3099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3100 echo "${ECHO_T}$ac_ct_CC" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3112 if test -z "$CC"; then
3113 # Extract the first word of "cc", so it can be a program name with args.
3114 set dummy cc
; ac_word
=$2
3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117 if test "${ac_cv_prog_CC+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC
="$CC" # Let the user override the test.
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3132 ac_prog_rejected
=yes
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 if test $ac_prog_rejected = yes; then
3143 # We found a bogon in the path, so make sure we never use it.
3144 set dummy
$ac_cv_prog_CC
3146 if test $# != 0; then
3147 # We chose a different compiler from the bogus one.
3148 # However, it has the same basename, so the bogon will be chosen
3149 # first if we set CC to just the basename; use the full file name.
3151 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3157 if test -n "$CC"; then
3158 echo "$as_me:$LINENO: result: $CC" >&5
3159 echo "${ECHO_T}$CC" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3166 if test -z "$CC"; then
3167 if test -n "$ac_tool_prefix"; then
3170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3172 echo "$as_me:$LINENO: checking for $ac_word" >&5
3173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3174 if test "${ac_cv_prog_CC+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 if test -n "$CC"; then
3178 ac_cv_prog_CC
="$CC" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 echo "$as_me:$LINENO: result: $CC" >&5
3199 echo "${ECHO_T}$CC" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3205 test -n "$CC" && break
3208 if test -z "$CC"; then
3212 # Extract the first word of "$ac_prog", so it can be a program name with args.
3213 set dummy
$ac_prog; ac_word
=$2
3214 echo "$as_me:$LINENO: checking for $ac_word" >&5
3215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 if test -n "$ac_ct_CC"; then
3220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_prog"
3230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3241 echo "${ECHO_T}$ac_ct_CC" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3247 test -n "$ac_ct_CC" && break
3256 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3257 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details." >&5
3260 echo "$as_me: error: no acceptable C compiler found in \$PATH
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }; }
3264 # Provide some information about the compiler.
3265 echo "$as_me:$LINENO:" \
3266 "checking for C compiler version" >&5
3267 ac_compiler
=`set X $ac_compile; echo $2`
3268 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3269 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }
3273 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3274 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); }
3278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3279 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }
3284 cat >conftest.
$ac_ext <<_ACEOF
3287 cat confdefs.h
>>conftest.
$ac_ext
3288 cat >>conftest.
$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3299 ac_clean_files_save
=$ac_clean_files
3300 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3301 # Try to create an executable without -o first, disregard a.out.
3302 # It will help us diagnose broken compilers, and finding out an intuition
3304 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3305 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3306 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3307 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3308 (eval $ac_link_default) 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; then
3312 # Find the output, starting from the most likely. This scheme is
3313 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3316 # Be careful to initialize this variable, since it used to be cached.
3317 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3319 # b.out is created by i960 compilers.
3320 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3322 test -f "$ac_file" ||
continue
3324 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3327 # This is the source file.
3330 # We found the default executable, but exeext='' is most
3334 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335 # FIXME: I believe we export ac_cv_exeext for Libtool,
3336 # but it would be cool to find out if it's true. Does anybody
3337 # maintain Libtool? --akim.
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3348 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3349 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3351 See \`config.log' for more details." >&5
3352 echo "$as_me: error: C compiler cannot create executables
3353 See \`config.log' for more details." >&2;}
3354 { (exit 77); exit 77; }; }; }
3357 ac_exeext
=$ac_cv_exeext
3358 echo "$as_me:$LINENO: result: $ac_file" >&5
3359 echo "${ECHO_T}$ac_file" >&6
3361 # Check the compiler produces executables we can run. If not, either
3362 # the compiler is broken, or we cross compile.
3363 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3364 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3365 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3366 # If not cross compiling, check that we can run a simple program.
3367 if test "$cross_compiling" != yes; then
3368 if { ac_try
='./$ac_file'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3376 if test "$cross_compiling" = maybe
; then
3379 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3380 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3382 If you meant to cross compile, use \`--host'.
3383 See \`config.log' for more details." >&5
3384 echo "$as_me: error: cannot run C compiled programs.
3385 If you meant to cross compile, use \`--host'.
3386 See \`config.log' for more details." >&2;}
3387 { (exit 1); exit 1; }; }; }
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3394 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3395 ac_clean_files
=$ac_clean_files_save
3396 # Check the compiler produces executables we can run. If not, either
3397 # the compiler is broken, or we cross compile.
3398 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3399 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3400 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3401 echo "${ECHO_T}$cross_compiling" >&6
3403 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3404 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3406 (eval $ac_link) 2>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; then
3410 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3411 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3412 # work properly (i.e., refer to `conftest.exe'), while it won't with
3414 for ac_file
in conftest.exe conftest conftest.
*; do
3415 test -f "$ac_file" ||
continue
3417 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3418 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3428 See \`config.log' for more details." >&5
3429 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3430 See \`config.log' for more details." >&2;}
3431 { (exit 1); exit 1; }; }; }
3434 rm -f conftest
$ac_cv_exeext
3435 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3436 echo "${ECHO_T}$ac_cv_exeext" >&6
3438 rm -f conftest.
$ac_ext
3439 EXEEXT
=$ac_cv_exeext
3441 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3442 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3443 if test "${ac_cv_objext+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.o conftest.obj
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; then
3467 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3469 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3470 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3479 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3481 See \`config.log' for more details." >&5
3482 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3483 See \`config.log' for more details." >&2;}
3484 { (exit 1); exit 1; }; }; }
3487 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3489 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3490 echo "${ECHO_T}$ac_cv_objext" >&6
3491 OBJEXT
=$ac_cv_objext
3493 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3494 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3516 rm -f conftest.
$ac_objext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3518 (eval $ac_compile) 2>conftest.er1
3520 grep -v '^ *+' conftest.er1
>conftest.err
3522 cat conftest.err
>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try
='test -z "$ac_c_werror_flag"
3526 || test ! -s conftest.err'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; } &&
3532 { ac_try
='test -s conftest.$ac_objext'
3533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.
$ac_ext >&5
3545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3549 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3550 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3551 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3552 ac_test_CFLAGS
=${CFLAGS+set}
3553 ac_save_CFLAGS
=$CFLAGS
3555 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3556 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3557 if test "${ac_cv_prog_cc_g+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag"
3585 || test ! -s conftest.err'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try
='test -s conftest.$ac_objext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3606 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3607 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS
=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3617 if test "$GCC" = yes; then
3623 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3624 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3625 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 ac_cv_prog_cc_stdc
=no
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3638 #include <sys/types.h>
3639 #include <sys/stat.h>
3640 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3641 struct buf { int x; };
3642 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3643 static char *e (p, i)
3649 static char *f (char * (*g) (char **, int), char **p, ...)
3654 s = g (p, va_arg (v,int));
3659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3660 function prototypes and stuff, but not '\xHH' hex character constants.
3661 These don't provoke an error unfortunately, instead are silently treated
3662 as 'x'. The following induces an error, until -std1 is added to get
3663 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3664 array size at least. It's necessary to write '\x00'==0 to get something
3665 that's true only with -std1. */
3666 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 # Don't try gcc -ansi; that turns off useful extensions and
3683 # breaks some systems' header files.
3684 # AIX -qlanglvl=ansi
3685 # Ultrix and OSF/1 -std1
3686 # HP-UX 10.20 and later -Ae
3687 # HP-UX older versions -Aa -D_HPUX_SOURCE
3688 # SVR4 -Xc -D__EXTENSIONS__
3689 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3691 CC
="$ac_save_CC $ac_arg"
3692 rm -f conftest.
$ac_objext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1
>conftest.err
3698 cat conftest.err
>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } &&
3701 { ac_try
='test -z "$ac_c_werror_flag"
3702 || test ! -s conftest.err'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; } &&
3708 { ac_try
='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_cv_prog_cc_stdc
=$ac_arg
3717 echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.
$ac_ext >&5
3721 rm -f conftest.err conftest.
$ac_objext
3723 rm -f conftest.
$ac_ext conftest.
$ac_objext
3728 case "x$ac_cv_prog_cc_stdc" in
3730 echo "$as_me:$LINENO: result: none needed" >&5
3731 echo "${ECHO_T}none needed" >&6 ;;
3733 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3734 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3735 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3738 # Some people use a C++ compiler to compile C. Since we use `exit',
3739 # in C++ we need to declare it. In case someone uses the same compiler
3740 # for both compiling C and C++ we need to have the C++ compiler decide
3741 # the declaration of exit, since it's the most demanding environment.
3742 cat >conftest.
$ac_ext <<_ACEOF
3747 rm -f conftest.
$ac_objext
3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3749 (eval $ac_compile) 2>conftest.er1
3751 grep -v '^ *+' conftest.er1
>conftest.err
3753 cat conftest.err
>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } &&
3756 { ac_try
='test -z "$ac_c_werror_flag"
3757 || test ! -s conftest.err'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; } &&
3763 { ac_try
='test -s conftest.$ac_objext'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then
3769 for ac_declaration
in \
3771 'extern "C" void std::exit (int) throw (); using std::exit;' \
3772 'extern "C" void std::exit (int); using std::exit;' \
3773 'extern "C" void exit (int) throw ();' \
3774 'extern "C" void exit (int);' \
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3793 rm -f conftest.
$ac_objext
3794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3795 (eval $ac_compile) 2>conftest.er1
3797 grep -v '^ *+' conftest.er1
>conftest.err
3799 cat conftest.err
>&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } &&
3802 { ac_try
='test -z "$ac_c_werror_flag"
3803 || test ! -s conftest.err'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; } &&
3809 { ac_try
='test -s conftest.$ac_objext'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; }; then
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.
$ac_ext >&5
3822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3838 rm -f conftest.
$ac_objext
3839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3840 (eval $ac_compile) 2>conftest.er1
3842 grep -v '^ *+' conftest.er1
>conftest.err
3844 cat conftest.err
>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } &&
3847 { ac_try
='test -z "$ac_c_werror_flag"
3848 || test ! -s conftest.err'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; } &&
3854 { ac_try
='test -s conftest.$ac_objext'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; }; then
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.
$ac_ext >&5
3866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3869 if test -n "$ac_declaration"; then
3870 echo '#ifdef __cplusplus' >>confdefs.h
3871 echo $ac_declaration >>confdefs.h
3872 echo '#endif' >>confdefs.h
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3882 ac_cpp
='$CPP $CPPFLAGS'
3883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 ac_cpp
='$CXXCPP $CPPFLAGS'
3889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3892 if test -n "$ac_tool_prefix"; then
3893 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3897 echo "$as_me:$LINENO: checking for $ac_word" >&5
3898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3899 if test "${ac_cv_prog_CXX+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if test -n "$CXX"; then
3903 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 if test -n "$CXX"; then
3923 echo "$as_me:$LINENO: result: $CXX" >&5
3924 echo "${ECHO_T}$CXX" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3930 test -n "$CXX" && break
3933 if test -z "$CXX"; then
3935 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3937 # Extract the first word of "$ac_prog", so it can be a program name with args.
3938 set dummy
$ac_prog; ac_word
=$2
3939 echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if test -n "$ac_ct_CXX"; then
3945 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir
=.
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3964 if test -n "$ac_ct_CXX"; then
3965 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3966 echo "${ECHO_T}$ac_ct_CXX" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3972 test -n "$ac_ct_CXX" && break
3974 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3980 # Provide some information about the compiler.
3981 echo "$as_me:$LINENO:" \
3982 "checking for C++ compiler version" >&5
3983 ac_compiler
=`set X $ac_compile; echo $2`
3984 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3985 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }
3989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3990 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }
3994 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3995 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }
4000 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4001 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4002 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_cxx_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4053 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4056 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4057 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4058 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4059 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4060 ac_save_CXXFLAGS
=$CXXFLAGS
4062 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4063 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4064 if test "${ac_cv_prog_cxx_g+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.
$ac_ext <<_ACEOF
4070 cat confdefs.h
>>conftest.
$ac_ext
4071 cat >>conftest.
$ac_ext <<_ACEOF
4072 /* 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
4104 ac_cv_prog_cxx_g
=yes
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
4113 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4114 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4115 if test "$ac_test_CXXFLAGS" = set; then
4116 CXXFLAGS
=$ac_save_CXXFLAGS
4117 elif test $ac_cv_prog_cxx_g = yes; then
4118 if test "$GXX" = yes; then
4124 if test "$GXX" = yes; then
4130 for ac_declaration
in \
4132 'extern "C" void std::exit (int) throw (); using std::exit;' \
4133 'extern "C" void std::exit (int); using std::exit;' \
4134 'extern "C" void exit (int) throw ();' \
4135 'extern "C" void exit (int);' \
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4154 rm -f conftest.
$ac_objext
4155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4156 (eval $ac_compile) 2>conftest.er1
4158 grep -v '^ *+' conftest.er1
>conftest.err
4160 cat conftest.err
>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } &&
4163 { ac_try
='test -z "$ac_cxx_werror_flag"
4164 || test ! -s conftest.err'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try
='test -s conftest.$ac_objext'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; }; then
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4199 rm -f conftest.
$ac_objext
4200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>conftest.er1
4203 grep -v '^ *+' conftest.er1
>conftest.err
4205 cat conftest.err
>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try
='test -z "$ac_cxx_werror_flag"
4209 || test ! -s conftest.err'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4230 if test -n "$ac_declaration"; then
4231 echo '#ifdef __cplusplus' >>confdefs.h
4232 echo $ac_declaration >>confdefs.h
4233 echo '#endif' >>confdefs.h
4237 ac_cpp
='$CPP $CPPFLAGS'
4238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4243 # We must set the default linker to the linker used by gcc for the correct
4244 # operation of libtool. If LD is not defined and we are using gcc, try to
4245 # set the LD default to the ld used by gcc.
4246 if test -z "$LD"; then
4247 if test "$GCC" = yes; then
4250 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4252 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4254 case $gcc_prog_ld in
4255 # Accept absolute paths.
4256 [\\/]* |
[A-Za-z
]:[\\/]*)
4257 LD
="$gcc_prog_ld" ;;
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4267 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if test -n "$GNATBIND"; then
4274 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 GNATBIND
=$ac_cv_prog_GNATBIND
4293 if test -n "$GNATBIND"; then
4294 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4295 echo "${ECHO_T}$GNATBIND" >&6
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4302 if test -z "$ac_cv_prog_GNATBIND"; then
4303 ac_ct_GNATBIND
=$GNATBIND
4304 # Extract the first word of "gnatbind", so it can be a program name with args.
4305 set dummy gnatbind
; ac_word
=$2
4306 echo "$as_me:$LINENO: checking for $ac_word" >&5
4307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4308 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 if test -n "$ac_ct_GNATBIND"; then
4312 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4331 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4332 if test -n "$ac_ct_GNATBIND"; then
4333 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4334 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4340 GNATBIND
=$ac_ct_GNATBIND
4342 GNATBIND
="$ac_cv_prog_GNATBIND"
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4347 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 if test -n "$GNATMAKE"; then
4354 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_exec_ext
in '' $ac_executable_extensions; do
4362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 GNATMAKE
=$ac_cv_prog_GNATMAKE
4373 if test -n "$GNATMAKE"; then
4374 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4375 echo "${ECHO_T}$GNATMAKE" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4382 if test -z "$ac_cv_prog_GNATMAKE"; then
4383 ac_ct_GNATMAKE
=$GNATMAKE
4384 # Extract the first word of "gnatmake", so it can be a program name with args.
4385 set dummy gnatmake
; ac_word
=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$ac_ct_GNATMAKE"; then
4392 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4411 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4412 if test -n "$ac_ct_GNATMAKE"; then
4413 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4414 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4420 GNATMAKE
=$ac_ct_GNATMAKE
4422 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4425 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4426 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4427 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 cat >conftest.adb
<<EOF
4431 procedure conftest is begin null; end conftest;
4433 acx_cv_cc_gcc_supports_ada
=no
4434 # There is a bug in old released versions of GCC which causes the
4435 # driver to exit successfully when the appropriate language module
4436 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4437 # Therefore we must check for the error message as well as an
4438 # unsuccessful exit.
4439 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4440 # given a .adb file, but produce no object file. So we must check
4441 # if an object file was really produced to guard against this.
4442 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4443 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4444 acx_cv_cc_gcc_supports_ada
=yes
4448 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4449 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4451 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4457 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4458 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4459 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4465 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4466 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4469 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4472 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4473 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4476 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4482 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4483 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4484 do_compare
="$gcc_cv_prog_cmp_skip"
4488 # Check for GMP and MPFR
4489 gmplibs
="-lmpfr -lgmp"
4493 # Specify a location for mpfr
4494 # check for this first so it ends up on the link line before gmp.
4496 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4497 if test "${with_mpfr_dir+set}" = set; then
4498 withval
="$with_mpfr_dir"
4499 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4500 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4501 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4502 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4503 { (exit 1); exit 1; }; }
4507 # Check whether --with-mpfr or --without-mpfr was given.
4508 if test "${with_mpfr+set}" = set; then
4509 withval
="$with_mpfr"
4513 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4514 if test "${with_mpfr_include+set}" = set; then
4515 withval
="$with_mpfr_include"
4519 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4520 if test "${with_mpfr_lib+set}" = set; then
4521 withval
="$with_mpfr_lib"
4525 if test "x$with_mpfr" != x
; then
4526 gmplibs
="-L$with_mpfr/lib $gmplibs"
4527 gmpinc
="-I$with_mpfr/include"
4529 if test "x$with_mpfr_include" != x
; then
4530 gmpinc
="-I$with_mpfr_include"
4532 if test "x$with_mpfr_lib" != x
; then
4533 gmplibs
="-L$with_mpfr_lib $gmplibs"
4535 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4536 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4537 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4538 # Do not test the mpfr version. Assume that it is sufficient, since
4539 # it is in the source tree, and the library has not been built yet
4540 # but it would be included on the link line in the version check below
4541 # hence making the test fail.
4545 # Specify a location for gmp
4547 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4548 if test "${with_gmp_dir+set}" = set; then
4549 withval
="$with_gmp_dir"
4550 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4551 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4552 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4553 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4554 { (exit 1); exit 1; }; }
4558 # Check whether --with-gmp or --without-gmp was given.
4559 if test "${with_gmp+set}" = set; then
4564 # Check whether --with-gmp_include or --without-gmp_include was given.
4565 if test "${with_gmp_include+set}" = set; then
4566 withval
="$with_gmp_include"
4570 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4571 if test "${with_gmp_lib+set}" = set; then
4572 withval
="$with_gmp_lib"
4577 if test "x$with_gmp" != x
; then
4578 gmplibs
="-L$with_gmp/lib $gmplibs"
4579 gmpinc
="-I$with_gmp/include $gmpinc"
4581 if test "x$with_gmp_include" != x
; then
4582 gmpinc
="-I$with_gmp_include $gmpinc"
4584 if test "x$with_gmp_lib" != x
; then
4585 gmplibs
="-L$with_gmp_lib $gmplibs"
4587 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4588 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4589 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4590 # Do not test the gmp version. Assume that it is sufficient, since
4591 # it is in the source tree, and the library has not been built yet
4592 # but it would be included on the link line in the version check below
4593 # hence making the test fail.
4597 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4599 saved_CFLAGS
="$CFLAGS"
4600 CFLAGS
="$CFLAGS $gmpinc"
4601 # Check GMP actually works
4602 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4603 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4616 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4624 rm -f conftest.
$ac_objext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4626 (eval $ac_compile) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try
='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try
='test -s conftest.$ac_objext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6; have_gmp
=no
4655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4657 if test x
"$have_gmp" = xyes
; then
4659 LIBS
="$LIBS $gmplibs"
4660 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4661 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4662 cat >conftest.
$ac_ext <<_ACEOF
4665 cat confdefs.h
>>conftest.
$ac_ext
4666 cat >>conftest.
$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4674 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4682 mpfr_atan2 (n, n, x, GMP_RNDN);
4683 mpfr_erfc (n, x, GMP_RNDN);
4684 mpfr_subnormalize (x, t, GMP_RNDN);
4690 rm -f conftest.
$ac_objext conftest
$ac_exeext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4692 (eval $ac_link) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try
='test -z "$ac_c_werror_flag"
4700 || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try
='test -s conftest$ac_exeext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4724 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4727 mpfr_t n; mpfr_init(n);
4733 rm -f conftest.
$ac_objext conftest
$ac_exeext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4735 (eval $ac_link) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_c_werror_flag"
4743 || test ! -s conftest.err'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest$ac_exeext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4762 echo "${ECHO_T}buggy but acceptable" >&6
4764 rm -f conftest.err conftest.
$ac_objext \
4765 conftest
$ac_exeext conftest.
$ac_ext
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6; have_gmp
=no
4773 rm -f conftest.err conftest.
$ac_objext \
4774 conftest
$ac_exeext conftest.
$ac_ext
4777 CFLAGS
="$saved_CFLAGS"
4779 if test x
$have_gmp != xyes
; then
4780 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4781 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4782 Copies of these libraries' source code can be found at their respective
4783 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4784 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4785 If you obtained GMP and/or MPFR from a vendor distribution package, make
4786 sure that you have installed both the libraries and the header files.
4787 They may be located in separate packages." >&5
4788 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4789 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4790 Copies of these libraries' source code can be found at their respective
4791 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4792 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4793 If you obtained GMP and/or MPFR from a vendor distribution package, make
4794 sure that you have installed both the libraries and the header files.
4795 They may be located in separate packages." >&2;}
4796 { (exit 1); exit 1; }; }
4800 # Flags needed for both GMP and/or MPFR
4807 ppl_minor_version
=10
4812 # Check whether --with-ppl or --without-ppl was given.
4813 if test "${with_ppl+set}" = set; then
4818 # Check whether --with-ppl_include or --without-ppl_include was given.
4819 if test "${with_ppl_include+set}" = set; then
4820 withval
="$with_ppl_include"
4824 # Check whether --with-ppl_lib or --without-ppl_lib was given.
4825 if test "${with_ppl_lib+set}" = set; then
4826 withval
="$with_ppl_lib"
4830 if test "x$with_ppl" != x
; then
4831 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
4832 pplinc
="-I$with_ppl/include $pplinc"
4833 LIBS
="$ppllibs $LIBS"
4835 if test "x$with_ppl_include" != x
; then
4836 pplinc
="-I$with_ppl_include $pplinc"
4838 if test "x$with_ppl_lib" != x
; then
4839 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
4840 LIBS
="$ppllibs $LIBS"
4842 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
4843 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
4844 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4845 LIBS
="$ppllibs $LIBS"
4848 # Flags needed for PPL
4858 # Check whether --with-cloog or --without-cloog was given.
4859 if test "${with_cloog+set}" = set; then
4860 withval
="$with_cloog"
4864 # Check whether --with-cloog_include or --without-cloog_include was given.
4865 if test "${with_cloog_include+set}" = set; then
4866 withval
="$with_cloog_include"
4870 # Check whether --with-cloog_lib or --without-cloog_lib was given.
4871 if test "${with_cloog_lib+set}" = set; then
4872 withval
="$with_cloog_lib"
4876 if test "x$with_cloog" != x
; then
4877 clooglibs
="-L$with_cloog/lib -lcloog"
4878 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
4879 LIBS
="$clooglibs $LIBS"
4881 if test "x$with_cloog_include" != x
; then
4882 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
4884 if test "x$with_cloog_lib" != x
; then
4885 clooglibs
="-L$with_cloog_lib -lcloog"
4886 LIBS
="$clooglibs $LIBS"
4888 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
4889 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
4890 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
4891 LIBS
="$clooglibs $LIBS"
4894 saved_CFLAGS
="$CFLAGS"
4895 CFLAGS
="$CFLAGS $pplinc $gmpinc"
4897 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4898 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4899 cat >conftest.
$ac_ext <<_ACEOF
4902 cat confdefs.h
>>conftest.
$ac_ext
4903 cat >>conftest.
$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4910 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
4918 rm -f conftest.
$ac_objext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 (eval $ac_compile) 2>conftest.er1
4922 grep -v '^ *+' conftest.er1
>conftest.err
4924 cat conftest.err
>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try
='test -z "$ac_c_werror_flag"
4928 || test ! -s conftest.err'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; } &&
4934 { ac_try
='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.
$ac_ext >&5
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
4949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4950 CFLAGS
="$saved_CFLAGS"
4952 saved_CFLAGS
="$CFLAGS"
4953 CFLAGS
="$CFLAGS $clooginc -DCLOOG_PPL_BACKEND $gmpinc $pplinc"
4955 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
4956 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
4957 cat >conftest.
$ac_ext <<_ACEOF
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4963 #include "cloog/cloog.h"
4968 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
4976 rm -f conftest.
$ac_objext
4977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4978 (eval $ac_compile) 2>conftest.er1
4980 grep -v '^ *+' conftest.er1
>conftest.err
4982 cat conftest.err
>&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } &&
4985 { ac_try
='test -z "$ac_c_werror_flag"
4986 || test ! -s conftest.err'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; } &&
4992 { ac_try
='test -s conftest.$ac_objext'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; }; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.
$ac_ext >&5
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5008 CFLAGS
="$saved_CFLAGS"
5010 # Flags needed for CLOOG
5015 # By default, C is the only stage 1 language.
5016 stage1_languages
=,c
,
5018 # Figure out what language subdirectories are present.
5019 # Look if the user specified --enable-languages="..."; if not, use
5020 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5022 # NB: embedded tabs in this IF block -- do not untabify
5023 if test -d ${srcdir}/gcc
; then
5024 if test x
"${enable_languages+set}" != xset
; then
5025 if test x
"${LANGUAGES+set}" = xset
; then
5026 enable_languages
="${LANGUAGES}"
5027 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5029 enable_languages
=all
5032 if test x
"${enable_languages}" = x ||
5033 test x
"${enable_languages}" = xyes
;
5035 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5039 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5041 # 'f95' is the old name for the 'fortran' language. We issue a warning
5042 # and make the substitution.
5043 case ,${enable_languages}, in
5045 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5046 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5050 # First scan to see if an enabled language requires some other language.
5051 # We assume that a given config-lang.in will list all the language
5052 # front ends it requires, even if some are required indirectly.
5053 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5054 case ${lang_frag} in
5056 # The odd quoting in the next line works around
5057 # an apparent bug in bash 1.12 on linux.
5058 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5060 # From the config-lang.in, get $language, $lang_requires
5064 for other
in ${lang_requires} ; do
5065 case ,${enable_languages}, in
5069 echo " \`$other' language required by \`$language'; enabling" 1>&2
5070 enable_languages
="${enable_languages},${other}"
5078 new_enable_languages
=,c
,
5079 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5080 potential_languages
=,c
,
5082 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5083 case ${lang_frag} in
5085 # The odd quoting in the next line works around
5086 # an apparent bug in bash 1.12 on linux.
5087 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5089 # From the config-lang.in, get $language, $target_libs,
5090 # $lang_dirs, $boot_language, and $build_by_default
5096 build_by_default
=yes
5098 if test x
${language} = x
; then
5099 echo "${lang_frag} doesn't set \$language." 1>&2
5103 case ,${enable_languages}, in
5105 # Language was explicitly selected; include it.
5109 # 'all' was selected, select it if it is a default language
5110 add_this_lang
=${build_by_default}
5117 # Disable languages that need other directories if these aren't available.
5118 for i
in $subdir_requires; do
5119 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5120 case ,${enable_languages}, in
5122 # Specifically requested language; tell them.
5123 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5124 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5125 { (exit 1); exit 1; }; }
5129 add_this_lang
=unsupported
5134 # Disable Ada if no preexisting GNAT is available.
5135 case ,${enable_languages},:${language}:${have_gnat} in
5136 *,${language},*:ada
:no
)
5137 # Specifically requested language; tell them.
5138 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5139 echo "$as_me: error: GNAT is required to build $language" >&2;}
5140 { (exit 1); exit 1; }; }
5144 add_this_lang
=unsupported
5148 # Disable a language that is unsupported by the target.
5149 case " $unsupported_languages " in
5151 add_this_lang
=unsupported
5155 case $add_this_lang in
5157 # Remove language-dependent dirs.
5158 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5161 # Remove language-dependent dirs; still show language as supported.
5162 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5163 potential_languages
="${potential_languages}${language},"
5166 new_enable_languages
="${new_enable_languages}${language},"
5167 potential_languages
="${potential_languages}${language},"
5168 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5169 case ${boot_language} in
5171 # Add to (comma-separated) list of stage 1 languages.
5172 stage1_languages
="${stage1_languages}${language},"
5181 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5182 if test "${enable_stage1_languages+set}" = set; then
5183 enableval
="$enable_stage1_languages"
5184 case ,${enable_stage1_languages}, in
5186 # Set it to something that will have no effect in the loop below
5187 enable_stage1_languages
=c
;;
5189 enable_stage1_languages
=`echo $new_enable_languages | \
5190 sed -e "s/^,//" -e "s/,$//" ` ;;
5192 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5193 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5196 # Add "good" languages from enable_stage1_languages to stage1_languages,
5197 # while "bad" languages go in missing_languages. Leave no duplicates.
5198 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5199 case $potential_languages in
5201 case $stage1_languages in
5203 *) stage1_languages
="$stage1_languages$i," ;;
5206 case $missing_languages in
5208 *) missing_languages
="$missing_languages$i," ;;
5214 # Remove leading/trailing commas that were added for simplicity
5215 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5216 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5217 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5218 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5220 if test "x$missing_languages" != x
; then
5221 { { echo "$as_me:$LINENO: error:
5222 The following requested languages could not be built: ${missing_languages}
5223 Supported languages are: ${potential_languages}" >&5
5224 echo "$as_me: error:
5225 The following requested languages could not be built: ${missing_languages}
5226 Supported languages are: ${potential_languages}" >&2;}
5227 { (exit 1); exit 1; }; }
5229 if test "x$new_enable_languages" != "x$enable_languages"; then
5230 echo The following languages will be built
: ${new_enable_languages}
5231 enable_languages
="$new_enable_languages"
5235 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5238 # Handle --disable-<component> generically.
5239 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5240 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5241 varname
=`echo $dirname | sed -e s/+/_/g`
5242 if eval test x\
${enable_${varname}} "=" xno
; then
5243 noconfigdirs
="$noconfigdirs $dir"
5247 # Check for Boehm's garbage collector
5248 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5249 if test "${enable_objc_gc+set}" = set; then
5250 enableval
="$enable_objc_gc"
5251 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5252 *,objc
,*:*:yes:*target-boehm-gc
*)
5253 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5254 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5255 { (exit 1); exit 1; }; }
5260 # Make sure we only build Boehm's garbage collector if required.
5261 case ,${enable_languages},:${enable_objc_gc} in
5263 # Keep target-boehm-gc if requested for Objective-C.
5266 # Otherwise remove target-boehm-gc depending on target-libjava.
5267 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5268 noconfigdirs
="$noconfigdirs target-boehm-gc"
5273 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5274 # $build_configdirs and $target_configdirs.
5275 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5278 for dir
in .
$skipdirs $noconfigdirs ; do
5279 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5280 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5281 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5282 if test -r $srcdir/$dirname/configure
; then
5283 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5286 notsupp
="$notsupp $dir"
5290 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5291 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5292 if test -r $srcdir/$dirname/configure
; then
5293 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5296 notsupp
="$notsupp $dir"
5300 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5301 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5302 if test -r $srcdir/$dirname/configure
; then
5303 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5306 notsupp
="$notsupp $dir"
5312 # Sometimes the tools are distributed with libiberty but with no other
5313 # libraries. In that case, we don't want to build target-libiberty.
5314 # Don't let libgcc imply libiberty either.
5315 if test -n "${target_configdirs}" ; then
5318 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5319 if test "$i" = "libgcc"; then
5320 libgcc
=target-libgcc
5321 elif test "$i" != "libiberty" ; then
5322 if test -r $srcdir/$i/configure
; then
5328 if test -z "${others}" ; then
5329 target_configdirs
=$libgcc
5333 # Quietly strip out all directories which aren't configurable in this tree.
5334 # This relies on all configurable subdirectories being autoconfiscated, which
5336 build_configdirs_all
="$build_configdirs"
5338 for i
in ${build_configdirs_all} ; do
5339 j
=`echo $i | sed -e s/build-//g`
5340 if test -f ${srcdir}/$j/configure
; then
5341 build_configdirs
="${build_configdirs} $i"
5345 configdirs_all
="$configdirs"
5347 for i
in ${configdirs_all} ; do
5348 if test -f ${srcdir}/$i/configure
; then
5349 configdirs
="${configdirs} $i"
5353 target_configdirs_all
="$target_configdirs"
5355 for i
in ${target_configdirs_all} ; do
5356 j
=`echo $i | sed -e s/target-//g`
5357 if test -f ${srcdir}/$j/configure
; then
5358 target_configdirs
="${target_configdirs} $i"
5362 # Produce a warning message for the subdirs we can't configure.
5363 # This isn't especially interesting in the Cygnus tree, but in the individual
5364 # FSF releases, it's important to let people know when their machine isn't
5365 # supported by the one or two programs in a package.
5367 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5368 # If $appdirs is non-empty, at least one of those directories must still
5369 # be configured, or we error out. (E.g., if the gas release supports a
5370 # specified target in some subdirs but not the gas subdir, we shouldn't
5371 # pretend that all is well.)
5372 if test -n "$appdirs" ; then
5373 for dir
in $appdirs ; do
5374 if test -r $dir/Makefile.
in ; then
5375 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5379 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5385 if test -n "$appdirs" ; then
5386 echo "*** This configuration is not supported by this package." 1>&2
5390 # Okay, some application will build, or we don't care to check. Still
5391 # notify of subdirs not getting built.
5392 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5393 echo " ${notsupp}" 1>&2
5394 echo " (Any other directories should still work fine.)" 1>&2
5402 # To find our prefix, in gcc_cv_tool_prefix.
5404 # The user is always right.
5405 if test "${PATH_SEPARATOR+set}" != set; then
5406 echo "#! /bin/sh" >conf$$.sh
5407 echo "exit 0" >>conf$$.sh
5409 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5419 if test "x$exec_prefix" = xNONE
; then
5420 if test "x$prefix" = xNONE
; then
5421 gcc_cv_tool_prefix
=$ac_default_prefix
5423 gcc_cv_tool_prefix
=$prefix
5426 gcc_cv_tool_prefix
=$exec_prefix
5429 # If there is no compiler in the tree, use the PATH only. In any
5430 # case, if there is no compiler in the tree nobody should use
5431 # AS_FOR_TARGET and LD_FOR_TARGET.
5432 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5433 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5434 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5435 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5436 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5437 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5438 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5439 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5444 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5445 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5453 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5454 if test "${with_build_sysroot+set}" = set; then
5455 withval
="$with_build_sysroot"
5456 if test x
"$withval" != x
; then
5457 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5460 SYSROOT_CFLAGS_FOR_TARGET
=
5465 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5466 if test "${with_debug_prefix_map+set}" = set; then
5467 withval
="$with_debug_prefix_map"
5468 if test x
"$withval" != x
; then
5469 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5470 for debug_map
in $withval; do
5471 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5475 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5479 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5480 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5481 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5482 # We want to ensure that TARGET libraries (which we know are built with
5483 # gcc) are built with "-O2 -g", so include those options when setting
5484 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5485 if test "x$CFLAGS_FOR_TARGET" = x
; then
5486 CFLAGS_FOR_TARGET
=$CFLAGS
5489 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5492 *" -g "* |
*" -g3 "*) ;;
5493 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5498 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5499 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5500 case " $CXXFLAGS " in
5502 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5504 case " $CXXFLAGS " in
5505 *" -g "* |
*" -g3 "*) ;;
5506 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5511 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5512 # the named directory are copied to $(tooldir)/sys-include.
5513 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5514 if test x
${is_cross_compiler} = xno
; then
5515 echo 1>&2 '***' --with-headers is only supported when cross compiling
5518 if test x
"${with_headers}" != xyes
; then
5519 x
=${gcc_cv_tool_prefix}
5520 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5524 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5525 # the name directories are copied to $(tooldir)/lib. Multiple directories
5527 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5528 if test x
${is_cross_compiler} = xno
; then
5529 echo 1>&2 '***' --with-libs is only supported when cross compiling
5532 if test x
"${with_libs}" != xyes
; then
5533 # Copy the libraries in reverse order, so that files in the first named
5534 # library override files in subsequent libraries.
5535 x
=${gcc_cv_tool_prefix}
5536 for l
in ${with_libs}; do
5537 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5542 # Set with_gnu_as and with_gnu_ld as appropriate.
5544 # This is done by determining whether or not the appropriate directory
5545 # is available, and by checking whether or not specific configurations
5546 # have requested that this magic not happen.
5548 # The command line options always override the explicit settings in
5549 # configure.in, and the settings in configure.in override this magic.
5551 # If the default for a toolchain is to use GNU as and ld, and you don't
5552 # want to do that, then you should use the --without-gnu-as and
5553 # --without-gnu-ld options for the configure script.
5555 if test x
${use_gnu_as} = x
&&
5556 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5558 extra_host_args
="$extra_host_args --with-gnu-as"
5561 if test x
${use_gnu_ld} = x
&&
5562 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5564 extra_host_args
="$extra_host_args --with-gnu-ld"
5567 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5568 # can detect this case.
5570 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5572 extra_host_args
="$extra_host_args --with-newlib"
5575 # Handle ${copy_dirs}
5576 set fnord
${copy_dirs}
5578 while test $# != 0 ; do
5579 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5582 echo Copying
$1 to
$2
5584 # Use the install script to create the directory and all required
5585 # parent directories.
5586 if test -d $2 ; then
5590 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5593 # Copy the directory, assuming we have tar.
5594 # FIXME: Should we use B in the second tar? Not all systems support it.
5595 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5597 # It is the responsibility of the user to correctly adjust all
5598 # symlinks. If somebody can figure out how to handle them correctly
5599 # here, feel free to add the code.
5606 # Determine a target-dependent exec_prefix that the installed
5607 # gcc will search in. Keep this list sorted by triplet, with
5608 # the *-*-osname triplets last.
5612 md_exec_prefix
=/gnu
/lib
/gcc-lib
5614 i
[34567]86-pc-msdosdjgpp*)
5615 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5617 i
[34567]86-*-sco3.2v5
*)
5618 if test $with_gnu_as = yes; then
5619 md_exec_prefix
=/usr
/gnu
/bin
5621 md_exec_prefix
=/usr
/ccs
/bin
/elf
5626 powerpc-
*-chorusos* | \
5627 powerpc
*-*-eabi* | \
5628 powerpc
*-*-sysv* | \
5629 powerpc
*-*-kaos* | \
5631 md_exec_prefix
=/usr
/ccs
/bin
5636 md_exec_prefix
=/usr
/ccs
/bin
5651 md_exec_prefix
=/usr
/ccs
/bin
5655 extra_arflags_for_target
=
5656 extra_nmflags_for_target
=
5657 extra_ranlibflags_for_target
=
5658 target_makefile_frag
=/dev
/null
5661 target_makefile_frag
="config/mt-mep"
5664 target_makefile_frag
="config/mt-spu"
5667 target_makefile_frag
="config/mt-sde"
5669 mipsisa
*-*-elfoabi*)
5670 target_makefile_frag
="config/mt-mips-elfoabi"
5672 mips
*-*-*linux
* | mips
*-*-gnu*)
5673 target_makefile_frag
="config/mt-mips-gnu"
5676 target_makefile_frag
="config/mt-netware"
5678 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5679 target_makefile_frag
="config/mt-gnu"
5681 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5682 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5683 # commands to handle both 32-bit and 64-bit objects. These flags are
5684 # harmless if we're using GNU nm or ar.
5685 extra_arflags_for_target
=" -X32_64"
5686 extra_nmflags_for_target
=" -B -X32_64"
5689 # ranlib from Darwin requires the -c flag to look at common symbols.
5690 extra_ranlibflags_for_target
=" -c"
5692 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5693 target_makefile_frag
="config/mt-wince"
5697 alphaieee_frag
=/dev
/null
5700 # This just makes sure to use the -mieee option to build target libs.
5701 # This should probably be set individually by each library.
5702 alphaieee_frag
="config/mt-alphaieee"
5706 # If --enable-target-optspace always use -Os instead of -O2 to build
5707 # the target libraries, similarly if it is not specified, use -Os
5708 # on selected platforms.
5709 ospace_frag
=/dev
/null
5710 case "${enable_target_optspace}:${target}" in
5712 ospace_frag
="config/mt-ospace"
5715 ospace_frag
="config/mt-d30v"
5717 :m32r-
* |
:d10v-
* |
:fr30-
*)
5718 ospace_frag
="config/mt-ospace"
5723 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5727 # Default to using --with-stabs for certain targets.
5728 if test x
${with_stabs} = x
; then
5732 mips
*-*-* | alpha
*-*-osf*)
5734 extra_host_args
="${extra_host_args} --with-stabs"
5739 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5740 # them automatically.
5743 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5747 # Some systems (e.g., one of the i386-aix systems the gas testers are
5748 # using) don't handle "\$" correctly, so don't use it here.
5749 tooldir
='${exec_prefix}'/${target_noncanonical}
5750 build_tooldir
=${tooldir}
5752 # Create a .gdbinit file which runs the one in srcdir
5753 # and tells GDB to look there for source files.
5755 if test -r ${srcdir}/.gdbinit
; then
5758 *) cat > .
/.gdbinit
<<EOF
5762 source ${srcdir}/.gdbinit
5768 # Make sure that the compiler is able to generate an executable. If it
5769 # can't, we are probably in trouble. We don't care whether we can run the
5770 # executable--we might be using a cross compiler--we only care whether it
5771 # can be created. At this point the main configure script has set CC.
5773 echo "int main () { return 0; }" > conftest.c
5774 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5775 if test $?
= 0 ; then
5776 if test -s conftest ||
test -s conftest.exe
; then
5782 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5783 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5790 # The Solaris /usr/ucb/cc compiler does not appear to work.
5792 sparc-sun-solaris2
*)
5793 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5794 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5796 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5797 if test -d /opt
/cygnus
/bin
; then
5798 if test "$could_use" = "" ; then
5799 could_use
="/opt/cygnus/bin"
5801 could_use
="$could_use or /opt/cygnus/bin"
5804 if test "$could_use" = "" ; then
5805 echo "Warning: compilation may fail because you're using"
5806 echo "/usr/ucb/cc. You should change your PATH or CC "
5807 echo "variable and rerun configure."
5809 echo "Warning: compilation may fail because you're using"
5810 echo "/usr/ucb/cc, when you should use the C compiler from"
5811 echo "$could_use. You should change your"
5812 echo "PATH or CC variable and rerun configure."
5818 # Decide which environment variable is used to find dynamic libraries.
5820 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5821 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5822 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5823 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5826 # On systems where the dynamic library environment variable is PATH,
5827 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5828 # built executables to PATH.
5829 if test "$RPATH_ENVVAR" = PATH
; then
5830 GCC_SHLIB_SUBDIR
=/shlib
5835 # Record target_configdirs and the configure arguments for target and
5836 # build configuration in Makefile.
5837 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5838 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5840 # Determine whether gdb needs tk/tcl or not.
5841 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5842 # and in that case we want gdb to be built without tk. Ugh!
5843 # In fact I believe gdb is the *only* package directly dependent on tk,
5844 # so we should be able to put the 'maybe's in unconditionally and
5845 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5846 # 100% sure that that's safe though.
5848 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5849 case "$enable_gdbtk" in
5853 GDB_TK
="${gdb_tk}" ;;
5855 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5856 # distro. Eventually someone will fix this and move Insight, nee
5857 # gdbtk to a separate directory.
5858 if test -d ${srcdir}/gdb
/gdbtk
; then
5865 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5866 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5868 # Strip out unwanted targets.
5870 # While at that, we remove Makefiles if we were started for recursive
5871 # configuration, so that the top-level Makefile reconfigures them,
5872 # like we used to do when configure itself was recursive.
5874 # Loop over modules. $extrasub must be used with care, limiting as
5875 # much as possible the usage of range addresses. That's because autoconf
5876 # splits the sed script to overcome limits in the number of commands,
5877 # and relying on carefully-timed sed passes may turn out to be very hard
5878 # to maintain later. In this particular case, you just have to be careful
5879 # not to nest @if/@endif pairs, because configure will not warn you at all.
5881 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5882 if test "${enable_bootstrap+set}" = set; then
5883 enableval
="$enable_bootstrap"
5886 enable_bootstrap
=default
5889 # Issue errors and warnings for invalid/strange bootstrap combinations.
5890 case "$configdirs" in
5891 *gcc
*) have_compiler
=yes ;;
5892 *) have_compiler
=no
;;
5895 case "$have_compiler:$host:$target:$enable_bootstrap" in
5898 # Default behavior. Enable bootstrap if we have a compiler
5899 # and we are in a native configuration.
5900 yes:$build:$build:default
)
5901 enable_bootstrap
=yes ;;
5904 enable_bootstrap
=no
;;
5906 # We have a compiler and we are in a native configuration, bootstrap is ok
5907 yes:$build:$build:yes)
5910 # Other configurations, but we have a compiler. Assume the user knows
5913 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5914 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5917 # No compiler: if they passed --enable-bootstrap explicitly, fail
5919 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5920 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5921 { (exit 1); exit 1; }; } ;;
5923 # Fail if wrong command line
5925 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5926 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5927 { (exit 1); exit 1; }; }
5931 # Adjust the toplevel makefile according to whether bootstrap was selected.
5932 case "$enable_bootstrap" in
5934 bootstrap_suffix
=bootstrap
;;
5936 bootstrap_suffix
=no-bootstrap
;;
5939 for module
in ${build_configdirs} ; do
5940 if test -z "${no_recursion}" \
5941 && test -f ${build_subdir}/${module}/Makefile
; then
5942 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5943 rm -f ${build_subdir}/${module}/Makefile
5946 /^@if build-$module\$/d
5947 /^@endif build-$module\$/d
5948 /^@if build-$module-$bootstrap_suffix\$/d
5949 /^@endif build-$module-$bootstrap_suffix\$/d"
5951 for module
in ${configdirs} ; do
5952 if test -z "${no_recursion}"; then
5953 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5954 if test -f ${file}; then
5955 echo 1>&2 "*** removing ${file} to force reconfigure"
5962 /^@endif $module\$/d
5963 /^@if $module-$bootstrap_suffix\$/d
5964 /^@endif $module-$bootstrap_suffix\$/d"
5966 for module
in ${target_configdirs} ; do
5967 if test -z "${no_recursion}" \
5968 && test -f ${target_subdir}/${module}/Makefile
; then
5969 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5970 rm -f ${target_subdir}/${module}/Makefile
5973 /^@if target-$module\$/d
5974 /^@endif target-$module\$/d
5975 /^@if target-$module-$bootstrap_suffix\$/d
5976 /^@endif target-$module-$bootstrap_suffix\$/d"
5980 /^@if /,/^@endif /d"
5982 # Create the serialization dependencies. This uses a temporary file.
5984 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5985 if test "${enable_serial_configure+set}" = set; then
5986 enableval
="$enable_serial_configure"
5990 case ${enable_serial_configure} in
5992 enable_serial_build_configure
=yes
5993 enable_serial_host_configure
=yes
5994 enable_serial_target_configure
=yes
5998 # These force 'configure's to be done one at a time, to avoid problems
5999 # with contention over a shared config.cache.
6001 echo '# serdep.tmp' > serdep.tmp
6003 test "x${enable_serial_build_configure}" = xyes
&&
6004 for item
in ${build_configdirs} ; do
6007 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6012 test "x${enable_serial_host_configure}" = xyes
&&
6013 for item
in ${configdirs} ; do
6016 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6021 test "x${enable_serial_target_configure}" = xyes
&&
6022 for item
in ${target_configdirs} ; do
6025 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6029 serialization_dependencies
=serdep.tmp
6032 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6033 # target, nonopt, and variable assignments. These are the ones we
6034 # might not want to pass down to subconfigures. Also strip
6035 # program-prefix, program-suffix, and program-transform-name, so that
6036 # we can pass down a consistent program-transform-name.
6040 eval "set -- $ac_configure_args"
6043 if test X
"$skip_next" = X
"yes"; then
6047 if test X
"$keep_next" = X
"yes"; then
6050 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6052 baseargs
="$baseargs '$ac_arg'"
6057 # Handle separated arguments. Based on the logic generated by
6060 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6061 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6062 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6063 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6089 -program-prefix* | \
6090 -program-suffix* | \
6091 -program-transform-name* )
6092 skip_next
=$separate_arg
6096 # An option. Add it.
6099 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6101 baseargs
="$baseargs '$ac_arg'"
6102 keep_next
=$separate_arg
6105 # Either a variable assignment, or a nonopt (triplet). Don't
6106 # pass it down; let the Makefile handle this.
6111 # Remove the initial space we just introduced and, as these will be
6112 # expanded by make, quote '$'.
6113 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6115 # Add in --program-transform-name, after --program-prefix and
6116 # --program-suffix have been applied to it. Autoconf has already
6117 # doubled dollar signs and backslashes in program_transform_name; we want
6118 # the backslashes un-doubled, and then the entire thing wrapped in single
6119 # quotes, because this will be expanded first by make and then by the shell.
6120 # Also, because we want to override the logic in subdir configure scripts to
6121 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6122 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6123 ${program_transform_name}
6125 gcc_transform_name
=`cat conftestsed.out`
6126 rm -f conftestsed.out
6127 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6128 if test "$silent" = yes; then
6129 baseargs
="$baseargs --silent"
6132 # For the build-side libraries, we just need to pretend we're native,
6133 # and not use the same cache file. Multilibs are neither needed nor
6135 build_configargs
="--cache-file=../config.cache ${baseargs}"
6137 # For host modules, accept cache file option, or specification as blank.
6138 case "${cache_file}" in
6140 cache_file_option
="" ;;
6141 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6142 cache_file_option
="--cache-file=${cache_file}" ;;
6144 cache_file_option
="--cache-file=../${cache_file}" ;;
6147 # Host dirs don't like to share a cache file either, horribly enough.
6148 # This seems to be due to autoconf 2.5x stupidity.
6149 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6151 target_configargs
=${baseargs}
6153 # Passing a --with-cross-host argument lets the target libraries know
6154 # whether they are being built with a cross-compiler or being built
6155 # native. However, it would be better to use other mechanisms to make the
6156 # sorts of decisions they want to make on this basis. Please consider
6157 # this option to be deprecated. FIXME.
6158 if test x
${is_cross_compiler} = xyes
; then
6159 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6162 # Default to --enable-multilib.
6163 if test x
${enable_multilib} = x
; then
6164 target_configargs
="--enable-multilib ${target_configargs}"
6167 # Pass --with-newlib if appropriate. Note that target_configdirs has
6168 # changed from the earlier setting of with_newlib.
6169 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6170 target_configargs
="--with-newlib ${target_configargs}"
6173 # Different target subdirs use different values of certain variables
6174 # (notably CXX). Worse, multilibs use *lots* of different values.
6175 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6176 # it doesn't automatically accept command-line overrides of them.
6177 # This means it's not safe for target subdirs to share a cache file,
6178 # which is disgusting, but there you have it. Hopefully this can be
6179 # fixed in future. It's still worthwhile to use a cache file for each
6180 # directory. I think.
6182 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6183 # We need to pass --target, as newer autoconf's requires consistency
6184 # for target_alias and gcc doesn't manage it consistently.
6185 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6188 case " $target_configdirs " in
6190 case " $target_configargs " in
6191 *" --with-newlib "*)
6194 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' ;;
6197 # If we're not building GCC, don't discard standard headers.
6198 if test -d ${srcdir}/gcc
; then
6199 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6201 if test "${build}" != "${host}"; then
6202 # On Canadian crosses, CC_FOR_TARGET will have already been set
6203 # by `configure', so we won't have an opportunity to add -Bgcc/
6204 # to it. This is right: we don't want to search that directory
6205 # for binaries, but we want the header files in there, so add
6207 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6209 # Someone might think of using the pre-installed headers on
6210 # Canadian crosses, in case the installed compiler is not fully
6211 # compatible with the compiler being built. In this case, it
6212 # would be better to flag an error than risking having
6213 # incompatible object files being constructed. We can't
6214 # guarantee that an error will be flagged, but let's hope the
6215 # compiler will do it, when presented with incompatible header
6220 case "${target}-${is_cross_compiler}" in
6221 i
[3456789]86-*-linux*-no)
6222 # Here host == target, so we don't need to build gcc,
6223 # so we don't want to discard standard headers.
6224 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6227 # If we're building newlib, use its generic headers last, but search
6228 # for any libc-related directories first (so make it the last -B
6230 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6232 # If we're building libgloss, find the startup file, simulator library
6233 # and linker script.
6234 case " $target_configdirs " in
6236 # Look for startup file, simulator library and maybe linker script.
6237 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6238 # Look for libnosys.a in case the target needs it.
6239 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6240 # Most targets have the linker script in the source directory.
6241 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6252 # Can't be handled as Cygwin above since Mingw does not use newlib.
6253 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' ;;
6256 # Allow the user to override the flags for
6257 # our build compiler if desired.
6258 if test x
"${build}" = x
"${host}" ; then
6259 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6260 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6261 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6264 # On Canadian crosses, we'll be searching the right directories for
6265 # the previously-installed cross compiler, so don't bother to add
6266 # flags for directories within the install tree of the compiler
6267 # being built; programs in there won't even run.
6268 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6269 # Search for pre-installed headers if nothing else fits.
6270 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6273 if test "x
${use_gnu_ld}" = x &&
6274 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6275 # Arrange for us to find uninstalled linker scripts.
6276 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6279 # Search for other target-specific linker scripts and such.
6282 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6286 # Makefile fragments.
6287 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6289 eval fragval=\$$frag
6290 if test $fragval != /dev/null; then
6291 eval $frag=${srcdir}/$fragval
6299 # Miscellanea: directories, flags, etc.
6308 # Build module lists & subconfigure args.
6312 # Host module lists & subconfigure args.
6316 # Target module lists & subconfigure args.
6338 # Generate default definitions for YACC, M4, LEX and other programs that run
6339 # on the build machine. These are used if the Makefile can't locate these
6340 # programs in objdir.
6341 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6343 for ac_prog in 'bison -y' byacc yacc
6345 # Extract the first word of "$ac_prog", so it can be a program name with args.
6346 set dummy $ac_prog; ac_word=$2
6347 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6348 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6349 if test "${ac_cv_prog_YACC+set}" = set; then
6350 echo $ECHO_N "(cached
) $ECHO_C" >&6
6352 if test -n "$YACC"; then
6353 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_YACC="$ac_prog"
6363 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6371 YACC=$ac_cv_prog_YACC
6372 if test -n "$YACC"; then
6373 echo "$as_me:$LINENO: result
: $YACC" >&5
6374 echo "${ECHO_T}$YACC" >&6
6376 echo "$as_me:$LINENO: result
: no
" >&5
6377 echo "${ECHO_T}no
" >&6
6380 test -n "$YACC" && break
6382 test -n "$YACC" || YACC="$MISSING bison
-y"
6384 case " $build_configdirs " in
6385 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6386 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6389 for ac_prog in bison
6391 # Extract the first word of "$ac_prog", so it can be a program name with args.
6392 set dummy $ac_prog; ac_word=$2
6393 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6394 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6395 if test "${ac_cv_prog_BISON+set}" = set; then
6396 echo $ECHO_N "(cached
) $ECHO_C" >&6
6398 if test -n "$BISON"; then
6399 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_BISON="$ac_prog"
6409 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6417 BISON=$ac_cv_prog_BISON
6418 if test -n "$BISON"; then
6419 echo "$as_me:$LINENO: result
: $BISON" >&5
6420 echo "${ECHO_T}$BISON" >&6
6422 echo "$as_me:$LINENO: result
: no
" >&5
6423 echo "${ECHO_T}no
" >&6
6426 test -n "$BISON" && break
6428 test -n "$BISON" || BISON="$MISSING bison
"
6430 case " $build_configdirs " in
6431 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6434 for ac_prog in gm4 gnum4 m4
6436 # Extract the first word of "$ac_prog", so it can be a program name with args.
6437 set dummy $ac_prog; ac_word=$2
6438 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6439 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6440 if test "${ac_cv_prog_M4+set}" = set; then
6441 echo $ECHO_N "(cached
) $ECHO_C" >&6
6443 if test -n "$M4"; then
6444 ac_cv_prog_M4="$M4" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_M4="$ac_prog"
6454 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6463 if test -n "$M4"; then
6464 echo "$as_me:$LINENO: result
: $M4" >&5
6465 echo "${ECHO_T}$M4" >&6
6467 echo "$as_me:$LINENO: result
: no
" >&5
6468 echo "${ECHO_T}no
" >&6
6471 test -n "$M4" && break
6473 test -n "$M4" || M4="$MISSING m4"
6475 case " $build_configdirs " in
6476 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6479 for ac_prog in flex lex
6481 # Extract the first word of "$ac_prog", so it can be a program name with args.
6482 set dummy $ac_prog; ac_word=$2
6483 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6484 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6485 if test "${ac_cv_prog_LEX+set}" = set; then
6486 echo $ECHO_N "(cached
) $ECHO_C" >&6
6488 if test -n "$LEX"; then
6489 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_LEX="$ac_prog"
6499 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6508 if test -n "$LEX"; then
6509 echo "$as_me:$LINENO: result
: $LEX" >&5
6510 echo "${ECHO_T}$LEX" >&6
6512 echo "$as_me:$LINENO: result
: no
" >&5
6513 echo "${ECHO_T}no
" >&6
6516 test -n "$LEX" && break
6518 test -n "$LEX" || LEX="$MISSING flex
"
6520 case " $build_configdirs " in
6521 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6522 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6527 # Extract the first word of "$ac_prog", so it can be a program name with args.
6528 set dummy $ac_prog; ac_word=$2
6529 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6530 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6531 if test "${ac_cv_prog_FLEX+set}" = set; then
6532 echo $ECHO_N "(cached
) $ECHO_C" >&6
6534 if test -n "$FLEX"; then
6535 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6544 ac_cv_prog_FLEX="$ac_prog"
6545 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6553 FLEX=$ac_cv_prog_FLEX
6554 if test -n "$FLEX"; then
6555 echo "$as_me:$LINENO: result
: $FLEX" >&5
6556 echo "${ECHO_T}$FLEX" >&6
6558 echo "$as_me:$LINENO: result
: no
" >&5
6559 echo "${ECHO_T}no
" >&6
6562 test -n "$FLEX" && break
6564 test -n "$FLEX" || FLEX="$MISSING flex
"
6566 case " $build_configdirs " in
6567 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6570 for ac_prog in makeinfo
6572 # Extract the first word of "$ac_prog", so it can be a program name with args.
6573 set dummy $ac_prog; ac_word=$2
6574 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6575 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6576 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6577 echo $ECHO_N "(cached
) $ECHO_C" >&6
6579 if test -n "$MAKEINFO"; then
6580 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_MAKEINFO="$ac_prog"
6590 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6598 MAKEINFO=$ac_cv_prog_MAKEINFO
6599 if test -n "$MAKEINFO"; then
6600 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6601 echo "${ECHO_T}$MAKEINFO" >&6
6603 echo "$as_me:$LINENO: result
: no
" >&5
6604 echo "${ECHO_T}no
" >&6
6607 test -n "$MAKEINFO" && break
6609 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6611 case " $build_configdirs " in
6612 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6615 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6616 # higher, else we use the "missing
" dummy.
6617 if ${MAKEINFO} --version \
6618 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6621 MAKEINFO="$MISSING makeinfo
"
6627 # FIXME: expect and dejagnu may become build tools?
6629 for ac_prog in expect
6631 # Extract the first word of "$ac_prog", so it can be a program name with args.
6632 set dummy $ac_prog; ac_word=$2
6633 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6634 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6635 if test "${ac_cv_prog_EXPECT+set}" = set; then
6636 echo $ECHO_N "(cached
) $ECHO_C" >&6
6638 if test -n "$EXPECT"; then
6639 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_EXPECT="$ac_prog"
6649 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6657 EXPECT=$ac_cv_prog_EXPECT
6658 if test -n "$EXPECT"; then
6659 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6660 echo "${ECHO_T}$EXPECT" >&6
6662 echo "$as_me:$LINENO: result
: no
" >&5
6663 echo "${ECHO_T}no
" >&6
6666 test -n "$EXPECT" && break
6668 test -n "$EXPECT" || EXPECT="expect
"
6670 case " $configdirs " in
6672 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6676 for ac_prog in runtest
6678 # Extract the first word of "$ac_prog", so it can be a program name with args.
6679 set dummy $ac_prog; ac_word=$2
6680 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6681 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6682 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6683 echo $ECHO_N "(cached
) $ECHO_C" >&6
6685 if test -n "$RUNTEST"; then
6686 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_RUNTEST="$ac_prog"
6696 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6704 RUNTEST=$ac_cv_prog_RUNTEST
6705 if test -n "$RUNTEST"; then
6706 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6707 echo "${ECHO_T}$RUNTEST" >&6
6709 echo "$as_me:$LINENO: result
: no
" >&5
6710 echo "${ECHO_T}no
" >&6
6713 test -n "$RUNTEST" && break
6715 test -n "$RUNTEST" || RUNTEST="runtest
"
6717 case " $configdirs " in
6719 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6726 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6727 ncn_target_tool_prefix=
6728 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6732 if test -n "$AR"; then
6734 elif test -n "$ac_cv_prog_AR"; then
6738 if test -n "$ac_cv_prog_AR"; then
6739 for ncn_progname in ar; do
6740 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6741 set dummy ${ncn_progname}; ac_word=$2
6742 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6743 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6744 if test "${ac_cv_prog_AR+set}" = set; then
6745 echo $ECHO_N "(cached
) $ECHO_C" >&6
6747 if test -n "$AR"; then
6748 ac_cv_prog_AR="$AR" # Let the user override the test.
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_AR="${ncn_progname}"
6758 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6767 if test -n "$AR"; then
6768 echo "$as_me:$LINENO: result
: $AR" >&5
6769 echo "${ECHO_T}$AR" >&6
6771 echo "$as_me:$LINENO: result
: no
" >&5
6772 echo "${ECHO_T}no
" >&6
6778 for ncn_progname in ar; do
6779 if test -n "$ncn_tool_prefix"; then
6780 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6781 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6782 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6783 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6784 if test "${ac_cv_prog_AR+set}" = set; then
6785 echo $ECHO_N "(cached
) $ECHO_C" >&6
6787 if test -n "$AR"; then
6788 ac_cv_prog_AR="$AR" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6798 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6807 if test -n "$AR"; then
6808 echo "$as_me:$LINENO: result
: $AR" >&5
6809 echo "${ECHO_T}$AR" >&6
6811 echo "$as_me:$LINENO: result
: no
" >&5
6812 echo "${ECHO_T}no
" >&6
6816 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6818 set dummy ${ncn_progname}; ac_word=$2
6819 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6820 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6821 if test "${ac_cv_prog_AR+set}" = set; then
6822 echo $ECHO_N "(cached
) $ECHO_C" >&6
6824 if test -n "$AR"; then
6825 ac_cv_prog_AR="$AR" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_AR="${ncn_progname}"
6835 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 if test -n "$AR"; then
6845 echo "$as_me:$LINENO: result
: $AR" >&5
6846 echo "${ECHO_T}$AR" >&6
6848 echo "$as_me:$LINENO: result
: no
" >&5
6849 echo "${ECHO_T}no
" >&6
6853 test -n "$ac_cv_prog_AR" && break
6856 if test -z "$ac_cv_prog_AR" ; then
6858 if test $build = $host ; then
6861 AR="${ncn_tool_prefix}$2"
6867 if test -n "$AS"; then
6869 elif test -n "$ac_cv_prog_AS"; then
6873 if test -n "$ac_cv_prog_AS"; then
6874 for ncn_progname in as; do
6875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6876 set dummy ${ncn_progname}; ac_word=$2
6877 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6878 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6879 if test "${ac_cv_prog_AS+set}" = set; then
6880 echo $ECHO_N "(cached
) $ECHO_C" >&6
6882 if test -n "$AS"; then
6883 ac_cv_prog_AS="$AS" # Let the user override the test.
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6892 ac_cv_prog_AS="${ncn_progname}"
6893 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6902 if test -n "$AS"; then
6903 echo "$as_me:$LINENO: result
: $AS" >&5
6904 echo "${ECHO_T}$AS" >&6
6906 echo "$as_me:$LINENO: result
: no
" >&5
6907 echo "${ECHO_T}no
" >&6
6913 for ncn_progname in as; do
6914 if test -n "$ncn_tool_prefix"; then
6915 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6916 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6917 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6918 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6919 if test "${ac_cv_prog_AS+set}" = set; then
6920 echo $ECHO_N "(cached
) $ECHO_C" >&6
6922 if test -n "$AS"; then
6923 ac_cv_prog_AS="$AS" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6942 if test -n "$AS"; then
6943 echo "$as_me:$LINENO: result
: $AS" >&5
6944 echo "${ECHO_T}$AS" >&6
6946 echo "$as_me:$LINENO: result
: no
" >&5
6947 echo "${ECHO_T}no
" >&6
6951 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6953 set dummy ${ncn_progname}; ac_word=$2
6954 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6955 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6956 if test "${ac_cv_prog_AS+set}" = set; then
6957 echo $ECHO_N "(cached
) $ECHO_C" >&6
6959 if test -n "$AS"; then
6960 ac_cv_prog_AS="$AS" # Let the user override the test.
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969 ac_cv_prog_AS="${ncn_progname}"
6970 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6979 if test -n "$AS"; then
6980 echo "$as_me:$LINENO: result
: $AS" >&5
6981 echo "${ECHO_T}$AS" >&6
6983 echo "$as_me:$LINENO: result
: no
" >&5
6984 echo "${ECHO_T}no
" >&6
6988 test -n "$ac_cv_prog_AS" && break
6991 if test -z "$ac_cv_prog_AS" ; then
6993 if test $build = $host ; then
6996 AS="${ncn_tool_prefix}$2"
7002 if test -n "$DLLTOOL"; then
7003 ac_cv_prog_DLLTOOL=$DLLTOOL
7004 elif test -n "$ac_cv_prog_DLLTOOL"; then
7005 DLLTOOL=$ac_cv_prog_DLLTOOL
7008 if test -n "$ac_cv_prog_DLLTOOL"; then
7009 for ncn_progname in dlltool; do
7010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7011 set dummy ${ncn_progname}; ac_word=$2
7012 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7013 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7014 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7015 echo $ECHO_N "(cached
) $ECHO_C" >&6
7017 if test -n "$DLLTOOL"; then
7018 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_DLLTOOL="${ncn_progname}"
7028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7036 DLLTOOL=$ac_cv_prog_DLLTOOL
7037 if test -n "$DLLTOOL"; then
7038 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7039 echo "${ECHO_T}$DLLTOOL" >&6
7041 echo "$as_me:$LINENO: result
: no
" >&5
7042 echo "${ECHO_T}no
" >&6
7048 for ncn_progname in dlltool; do
7049 if test -n "$ncn_tool_prefix"; then
7050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7051 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7052 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7053 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7054 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7055 echo $ECHO_N "(cached
) $ECHO_C" >&6
7057 if test -n "$DLLTOOL"; then
7058 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7068 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7076 DLLTOOL=$ac_cv_prog_DLLTOOL
7077 if test -n "$DLLTOOL"; then
7078 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7079 echo "${ECHO_T}$DLLTOOL" >&6
7081 echo "$as_me:$LINENO: result
: no
" >&5
7082 echo "${ECHO_T}no
" >&6
7086 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7088 set dummy ${ncn_progname}; ac_word=$2
7089 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7090 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7091 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7092 echo $ECHO_N "(cached
) $ECHO_C" >&6
7094 if test -n "$DLLTOOL"; then
7095 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir=.
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_DLLTOOL="${ncn_progname}"
7105 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7113 DLLTOOL=$ac_cv_prog_DLLTOOL
7114 if test -n "$DLLTOOL"; then
7115 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7116 echo "${ECHO_T}$DLLTOOL" >&6
7118 echo "$as_me:$LINENO: result
: no
" >&5
7119 echo "${ECHO_T}no
" >&6
7123 test -n "$ac_cv_prog_DLLTOOL" && break
7126 if test -z "$ac_cv_prog_DLLTOOL" ; then
7128 if test $build = $host ; then
7131 DLLTOOL="${ncn_tool_prefix}$2"
7137 if test -n "$LD"; then
7139 elif test -n "$ac_cv_prog_LD"; then
7143 if test -n "$ac_cv_prog_LD"; then
7144 for ncn_progname in ld; do
7145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7146 set dummy ${ncn_progname}; ac_word=$2
7147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7149 if test "${ac_cv_prog_LD+set}" = set; then
7150 echo $ECHO_N "(cached
) $ECHO_C" >&6
7152 if test -n "$LD"; then
7153 ac_cv_prog_LD="$LD" # Let the user override the test.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_LD="${ncn_progname}"
7163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7172 if test -n "$LD"; then
7173 echo "$as_me:$LINENO: result
: $LD" >&5
7174 echo "${ECHO_T}$LD" >&6
7176 echo "$as_me:$LINENO: result
: no
" >&5
7177 echo "${ECHO_T}no
" >&6
7183 for ncn_progname in ld; do
7184 if test -n "$ncn_tool_prefix"; then
7185 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7186 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7189 if test "${ac_cv_prog_LD+set}" = set; then
7190 echo $ECHO_N "(cached
) $ECHO_C" >&6
7192 if test -n "$LD"; then
7193 ac_cv_prog_LD="$LD" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7212 if test -n "$LD"; then
7213 echo "$as_me:$LINENO: result
: $LD" >&5
7214 echo "${ECHO_T}$LD" >&6
7216 echo "$as_me:$LINENO: result
: no
" >&5
7217 echo "${ECHO_T}no
" >&6
7221 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7223 set dummy ${ncn_progname}; ac_word=$2
7224 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7225 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7226 if test "${ac_cv_prog_LD+set}" = set; then
7227 echo $ECHO_N "(cached
) $ECHO_C" >&6
7229 if test -n "$LD"; then
7230 ac_cv_prog_LD="$LD" # Let the user override the test.
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir=.
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_LD="${ncn_progname}"
7240 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7249 if test -n "$LD"; then
7250 echo "$as_me:$LINENO: result
: $LD" >&5
7251 echo "${ECHO_T}$LD" >&6
7253 echo "$as_me:$LINENO: result
: no
" >&5
7254 echo "${ECHO_T}no
" >&6
7258 test -n "$ac_cv_prog_LD" && break
7261 if test -z "$ac_cv_prog_LD" ; then
7263 if test $build = $host ; then
7266 LD="${ncn_tool_prefix}$2"
7272 if test -n "$LIPO"; then
7273 ac_cv_prog_LIPO=$LIPO
7274 elif test -n "$ac_cv_prog_LIPO"; then
7275 LIPO=$ac_cv_prog_LIPO
7278 if test -n "$ac_cv_prog_LIPO"; then
7279 for ncn_progname in lipo; do
7280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7281 set dummy ${ncn_progname}; ac_word=$2
7282 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7283 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7284 if test "${ac_cv_prog_LIPO+set}" = set; then
7285 echo $ECHO_N "(cached
) $ECHO_C" >&6
7287 if test -n "$LIPO"; then
7288 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_prog_LIPO="${ncn_progname}"
7298 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7306 LIPO=$ac_cv_prog_LIPO
7307 if test -n "$LIPO"; then
7308 echo "$as_me:$LINENO: result
: $LIPO" >&5
7309 echo "${ECHO_T}$LIPO" >&6
7311 echo "$as_me:$LINENO: result
: no
" >&5
7312 echo "${ECHO_T}no
" >&6
7318 for ncn_progname in lipo; do
7319 if test -n "$ncn_tool_prefix"; then
7320 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7321 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7322 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7323 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7324 if test "${ac_cv_prog_LIPO+set}" = set; then
7325 echo $ECHO_N "(cached
) $ECHO_C" >&6
7327 if test -n "$LIPO"; then
7328 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7346 LIPO=$ac_cv_prog_LIPO
7347 if test -n "$LIPO"; then
7348 echo "$as_me:$LINENO: result
: $LIPO" >&5
7349 echo "${ECHO_T}$LIPO" >&6
7351 echo "$as_me:$LINENO: result
: no
" >&5
7352 echo "${ECHO_T}no
" >&6
7356 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7358 set dummy ${ncn_progname}; ac_word=$2
7359 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7361 if test "${ac_cv_prog_LIPO+set}" = set; then
7362 echo $ECHO_N "(cached
) $ECHO_C" >&6
7364 if test -n "$LIPO"; then
7365 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_LIPO="${ncn_progname}"
7375 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7383 LIPO=$ac_cv_prog_LIPO
7384 if test -n "$LIPO"; then
7385 echo "$as_me:$LINENO: result
: $LIPO" >&5
7386 echo "${ECHO_T}$LIPO" >&6
7388 echo "$as_me:$LINENO: result
: no
" >&5
7389 echo "${ECHO_T}no
" >&6
7393 test -n "$ac_cv_prog_LIPO" && break
7396 if test -z "$ac_cv_prog_LIPO" ; then
7398 if test $build = $host ; then
7401 LIPO="${ncn_tool_prefix}$2"
7407 if test -n "$NM"; then
7409 elif test -n "$ac_cv_prog_NM"; then
7413 if test -n "$ac_cv_prog_NM"; then
7414 for ncn_progname in nm; do
7415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7416 set dummy ${ncn_progname}; ac_word=$2
7417 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7418 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7419 if test "${ac_cv_prog_NM+set}" = set; then
7420 echo $ECHO_N "(cached
) $ECHO_C" >&6
7422 if test -n "$NM"; then
7423 ac_cv_prog_NM="$NM" # Let the user override the test.
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_NM="${ncn_progname}"
7433 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7442 if test -n "$NM"; then
7443 echo "$as_me:$LINENO: result
: $NM" >&5
7444 echo "${ECHO_T}$NM" >&6
7446 echo "$as_me:$LINENO: result
: no
" >&5
7447 echo "${ECHO_T}no
" >&6
7453 for ncn_progname in nm; do
7454 if test -n "$ncn_tool_prefix"; then
7455 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7456 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7457 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7459 if test "${ac_cv_prog_NM+set}" = set; then
7460 echo $ECHO_N "(cached
) $ECHO_C" >&6
7462 if test -n "$NM"; then
7463 ac_cv_prog_NM="$NM" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7482 if test -n "$NM"; then
7483 echo "$as_me:$LINENO: result
: $NM" >&5
7484 echo "${ECHO_T}$NM" >&6
7486 echo "$as_me:$LINENO: result
: no
" >&5
7487 echo "${ECHO_T}no
" >&6
7491 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7493 set dummy ${ncn_progname}; ac_word=$2
7494 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7495 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7496 if test "${ac_cv_prog_NM+set}" = set; then
7497 echo $ECHO_N "(cached
) $ECHO_C" >&6
7499 if test -n "$NM"; then
7500 ac_cv_prog_NM="$NM" # Let the user override the test.
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7509 ac_cv_prog_NM="${ncn_progname}"
7510 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7519 if test -n "$NM"; then
7520 echo "$as_me:$LINENO: result
: $NM" >&5
7521 echo "${ECHO_T}$NM" >&6
7523 echo "$as_me:$LINENO: result
: no
" >&5
7524 echo "${ECHO_T}no
" >&6
7528 test -n "$ac_cv_prog_NM" && break
7531 if test -z "$ac_cv_prog_NM" ; then
7533 if test $build = $host ; then
7536 NM="${ncn_tool_prefix}$2"
7542 if test -n "$RANLIB"; then
7543 ac_cv_prog_RANLIB=$RANLIB
7544 elif test -n "$ac_cv_prog_RANLIB"; then
7545 RANLIB=$ac_cv_prog_RANLIB
7548 if test -n "$ac_cv_prog_RANLIB"; then
7549 for ncn_progname in ranlib; do
7550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7551 set dummy ${ncn_progname}; ac_word=$2
7552 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7553 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7554 if test "${ac_cv_prog_RANLIB+set}" = set; then
7555 echo $ECHO_N "(cached
) $ECHO_C" >&6
7557 if test -n "$RANLIB"; then
7558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_RANLIB="${ncn_progname}"
7568 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7576 RANLIB=$ac_cv_prog_RANLIB
7577 if test -n "$RANLIB"; then
7578 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7579 echo "${ECHO_T}$RANLIB" >&6
7581 echo "$as_me:$LINENO: result
: no
" >&5
7582 echo "${ECHO_T}no
" >&6
7588 for ncn_progname in ranlib; do
7589 if test -n "$ncn_tool_prefix"; then
7590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7594 if test "${ac_cv_prog_RANLIB+set}" = set; then
7595 echo $ECHO_N "(cached
) $ECHO_C" >&6
7597 if test -n "$RANLIB"; then
7598 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7616 RANLIB=$ac_cv_prog_RANLIB
7617 if test -n "$RANLIB"; then
7618 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7619 echo "${ECHO_T}$RANLIB" >&6
7621 echo "$as_me:$LINENO: result
: no
" >&5
7622 echo "${ECHO_T}no
" >&6
7626 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7628 set dummy ${ncn_progname}; ac_word=$2
7629 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7631 if test "${ac_cv_prog_RANLIB+set}" = set; then
7632 echo $ECHO_N "(cached
) $ECHO_C" >&6
7634 if test -n "$RANLIB"; then
7635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_RANLIB="${ncn_progname}"
7645 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 RANLIB=$ac_cv_prog_RANLIB
7654 if test -n "$RANLIB"; then
7655 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7656 echo "${ECHO_T}$RANLIB" >&6
7658 echo "$as_me:$LINENO: result
: no
" >&5
7659 echo "${ECHO_T}no
" >&6
7663 test -n "$ac_cv_prog_RANLIB" && break
7666 if test -z "$ac_cv_prog_RANLIB" ; then
7672 if test -n "$STRIP"; then
7673 ac_cv_prog_STRIP=$STRIP
7674 elif test -n "$ac_cv_prog_STRIP"; then
7675 STRIP=$ac_cv_prog_STRIP
7678 if test -n "$ac_cv_prog_STRIP"; then
7679 for ncn_progname in strip; do
7680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7681 set dummy ${ncn_progname}; ac_word=$2
7682 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7683 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7684 if test "${ac_cv_prog_STRIP+set}" = set; then
7685 echo $ECHO_N "(cached
) $ECHO_C" >&6
7687 if test -n "$STRIP"; then
7688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_STRIP="${ncn_progname}"
7698 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7706 STRIP=$ac_cv_prog_STRIP
7707 if test -n "$STRIP"; then
7708 echo "$as_me:$LINENO: result
: $STRIP" >&5
7709 echo "${ECHO_T}$STRIP" >&6
7711 echo "$as_me:$LINENO: result
: no
" >&5
7712 echo "${ECHO_T}no
" >&6
7718 for ncn_progname in strip; do
7719 if test -n "$ncn_tool_prefix"; then
7720 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7721 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7722 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7723 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7724 if test "${ac_cv_prog_STRIP+set}" = set; then
7725 echo $ECHO_N "(cached
) $ECHO_C" >&6
7727 if test -n "$STRIP"; then
7728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7738 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7746 STRIP=$ac_cv_prog_STRIP
7747 if test -n "$STRIP"; then
7748 echo "$as_me:$LINENO: result
: $STRIP" >&5
7749 echo "${ECHO_T}$STRIP" >&6
7751 echo "$as_me:$LINENO: result
: no
" >&5
7752 echo "${ECHO_T}no
" >&6
7756 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7758 set dummy ${ncn_progname}; ac_word=$2
7759 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7760 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7761 if test "${ac_cv_prog_STRIP+set}" = set; then
7762 echo $ECHO_N "(cached
) $ECHO_C" >&6
7764 if test -n "$STRIP"; then
7765 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_STRIP="${ncn_progname}"
7775 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 STRIP=$ac_cv_prog_STRIP
7784 if test -n "$STRIP"; then
7785 echo "$as_me:$LINENO: result
: $STRIP" >&5
7786 echo "${ECHO_T}$STRIP" >&6
7788 echo "$as_me:$LINENO: result
: no
" >&5
7789 echo "${ECHO_T}no
" >&6
7793 test -n "$ac_cv_prog_STRIP" && break
7796 if test -z "$ac_cv_prog_STRIP" ; then
7802 if test -n "$WINDRES"; then
7803 ac_cv_prog_WINDRES=$WINDRES
7804 elif test -n "$ac_cv_prog_WINDRES"; then
7805 WINDRES=$ac_cv_prog_WINDRES
7808 if test -n "$ac_cv_prog_WINDRES"; then
7809 for ncn_progname in windres; do
7810 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7811 set dummy ${ncn_progname}; ac_word=$2
7812 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7813 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7814 if test "${ac_cv_prog_WINDRES+set}" = set; then
7815 echo $ECHO_N "(cached
) $ECHO_C" >&6
7817 if test -n "$WINDRES"; then
7818 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_WINDRES="${ncn_progname}"
7828 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7836 WINDRES=$ac_cv_prog_WINDRES
7837 if test -n "$WINDRES"; then
7838 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7839 echo "${ECHO_T}$WINDRES" >&6
7841 echo "$as_me:$LINENO: result
: no
" >&5
7842 echo "${ECHO_T}no
" >&6
7848 for ncn_progname in windres; do
7849 if test -n "$ncn_tool_prefix"; then
7850 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7851 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7852 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7853 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7854 if test "${ac_cv_prog_WINDRES+set}" = set; then
7855 echo $ECHO_N "(cached
) $ECHO_C" >&6
7857 if test -n "$WINDRES"; then
7858 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7868 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 WINDRES=$ac_cv_prog_WINDRES
7877 if test -n "$WINDRES"; then
7878 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7879 echo "${ECHO_T}$WINDRES" >&6
7881 echo "$as_me:$LINENO: result
: no
" >&5
7882 echo "${ECHO_T}no
" >&6
7886 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7888 set dummy ${ncn_progname}; ac_word=$2
7889 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7891 if test "${ac_cv_prog_WINDRES+set}" = set; then
7892 echo $ECHO_N "(cached
) $ECHO_C" >&6
7894 if test -n "$WINDRES"; then
7895 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_WINDRES="${ncn_progname}"
7905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7913 WINDRES=$ac_cv_prog_WINDRES
7914 if test -n "$WINDRES"; then
7915 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7916 echo "${ECHO_T}$WINDRES" >&6
7918 echo "$as_me:$LINENO: result
: no
" >&5
7919 echo "${ECHO_T}no
" >&6
7923 test -n "$ac_cv_prog_WINDRES" && break
7926 if test -z "$ac_cv_prog_WINDRES" ; then
7928 if test $build = $host ; then
7931 WINDRES="${ncn_tool_prefix}$2"
7937 if test -n "$WINDMC"; then
7938 ac_cv_prog_WINDMC=$WINDMC
7939 elif test -n "$ac_cv_prog_WINDMC"; then
7940 WINDMC=$ac_cv_prog_WINDMC
7943 if test -n "$ac_cv_prog_WINDMC"; then
7944 for ncn_progname in windmc; do
7945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7946 set dummy ${ncn_progname}; ac_word=$2
7947 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7948 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7949 if test "${ac_cv_prog_WINDMC+set}" = set; then
7950 echo $ECHO_N "(cached
) $ECHO_C" >&6
7952 if test -n "$WINDMC"; then
7953 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_WINDMC="${ncn_progname}"
7963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7971 WINDMC=$ac_cv_prog_WINDMC
7972 if test -n "$WINDMC"; then
7973 echo "$as_me:$LINENO: result
: $WINDMC" >&5
7974 echo "${ECHO_T}$WINDMC" >&6
7976 echo "$as_me:$LINENO: result
: no
" >&5
7977 echo "${ECHO_T}no
" >&6
7983 for ncn_progname in windmc; do
7984 if test -n "$ncn_tool_prefix"; then
7985 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7986 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7987 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7988 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7989 if test "${ac_cv_prog_WINDMC+set}" = set; then
7990 echo $ECHO_N "(cached
) $ECHO_C" >&6
7992 if test -n "$WINDMC"; then
7993 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8002 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8011 WINDMC=$ac_cv_prog_WINDMC
8012 if test -n "$WINDMC"; then
8013 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8014 echo "${ECHO_T}$WINDMC" >&6
8016 echo "$as_me:$LINENO: result
: no
" >&5
8017 echo "${ECHO_T}no
" >&6
8021 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8022 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8023 set dummy ${ncn_progname}; ac_word=$2
8024 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8025 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8026 if test "${ac_cv_prog_WINDMC+set}" = set; then
8027 echo $ECHO_N "(cached
) $ECHO_C" >&6
8029 if test -n "$WINDMC"; then
8030 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_WINDMC="${ncn_progname}"
8040 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8048 WINDMC=$ac_cv_prog_WINDMC
8049 if test -n "$WINDMC"; then
8050 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8051 echo "${ECHO_T}$WINDMC" >&6
8053 echo "$as_me:$LINENO: result
: no
" >&5
8054 echo "${ECHO_T}no
" >&6
8058 test -n "$ac_cv_prog_WINDMC" && break
8061 if test -z "$ac_cv_prog_WINDMC" ; then
8063 if test $build = $host ; then
8066 WINDMC="${ncn_tool_prefix}$2"
8072 if test -n "$OBJCOPY"; then
8073 ac_cv_prog_OBJCOPY=$OBJCOPY
8074 elif test -n "$ac_cv_prog_OBJCOPY"; then
8075 OBJCOPY=$ac_cv_prog_OBJCOPY
8078 if test -n "$ac_cv_prog_OBJCOPY"; then
8079 for ncn_progname in objcopy; do
8080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8081 set dummy ${ncn_progname}; ac_word=$2
8082 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8083 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8084 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8085 echo $ECHO_N "(cached
) $ECHO_C" >&6
8087 if test -n "$OBJCOPY"; then
8088 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094 test -z "$as_dir" && as_dir=.
8095 for ac_exec_ext in '' $ac_executable_extensions; do
8096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8097 ac_cv_prog_OBJCOPY="${ncn_progname}"
8098 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 OBJCOPY=$ac_cv_prog_OBJCOPY
8107 if test -n "$OBJCOPY"; then
8108 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8109 echo "${ECHO_T}$OBJCOPY" >&6
8111 echo "$as_me:$LINENO: result
: no
" >&5
8112 echo "${ECHO_T}no
" >&6
8118 for ncn_progname in objcopy; do
8119 if test -n "$ncn_tool_prefix"; then
8120 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8121 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8122 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8123 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8124 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8125 echo $ECHO_N "(cached
) $ECHO_C" >&6
8127 if test -n "$OBJCOPY"; then
8128 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8138 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8146 OBJCOPY=$ac_cv_prog_OBJCOPY
8147 if test -n "$OBJCOPY"; then
8148 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8149 echo "${ECHO_T}$OBJCOPY" >&6
8151 echo "$as_me:$LINENO: result
: no
" >&5
8152 echo "${ECHO_T}no
" >&6
8156 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8158 set dummy ${ncn_progname}; ac_word=$2
8159 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8160 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8161 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8162 echo $ECHO_N "(cached
) $ECHO_C" >&6
8164 if test -n "$OBJCOPY"; then
8165 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 test -z "$as_dir" && as_dir=.
8172 for ac_exec_ext in '' $ac_executable_extensions; do
8173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8174 ac_cv_prog_OBJCOPY="${ncn_progname}"
8175 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8183 OBJCOPY=$ac_cv_prog_OBJCOPY
8184 if test -n "$OBJCOPY"; then
8185 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8186 echo "${ECHO_T}$OBJCOPY" >&6
8188 echo "$as_me:$LINENO: result
: no
" >&5
8189 echo "${ECHO_T}no
" >&6
8193 test -n "$ac_cv_prog_OBJCOPY" && break
8196 if test -z "$ac_cv_prog_OBJCOPY" ; then
8198 if test $build = $host ; then
8201 OBJCOPY="${ncn_tool_prefix}$2"
8207 if test -n "$OBJDUMP"; then
8208 ac_cv_prog_OBJDUMP=$OBJDUMP
8209 elif test -n "$ac_cv_prog_OBJDUMP"; then
8210 OBJDUMP=$ac_cv_prog_OBJDUMP
8213 if test -n "$ac_cv_prog_OBJDUMP"; then
8214 for ncn_progname in objdump; do
8215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8216 set dummy ${ncn_progname}; ac_word=$2
8217 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8219 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8220 echo $ECHO_N "(cached
) $ECHO_C" >&6
8222 if test -n "$OBJDUMP"; then
8223 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8232 ac_cv_prog_OBJDUMP="${ncn_progname}"
8233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8241 OBJDUMP=$ac_cv_prog_OBJDUMP
8242 if test -n "$OBJDUMP"; then
8243 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8244 echo "${ECHO_T}$OBJDUMP" >&6
8246 echo "$as_me:$LINENO: result
: no
" >&5
8247 echo "${ECHO_T}no
" >&6
8253 for ncn_progname in objdump; do
8254 if test -n "$ncn_tool_prefix"; then
8255 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8256 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8257 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8259 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8260 echo $ECHO_N "(cached
) $ECHO_C" >&6
8262 if test -n "$OBJDUMP"; then
8263 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 OBJDUMP=$ac_cv_prog_OBJDUMP
8282 if test -n "$OBJDUMP"; then
8283 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8284 echo "${ECHO_T}$OBJDUMP" >&6
8286 echo "$as_me:$LINENO: result
: no
" >&5
8287 echo "${ECHO_T}no
" >&6
8291 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8293 set dummy ${ncn_progname}; ac_word=$2
8294 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8295 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8296 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8297 echo $ECHO_N "(cached
) $ECHO_C" >&6
8299 if test -n "$OBJDUMP"; then
8300 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8309 ac_cv_prog_OBJDUMP="${ncn_progname}"
8310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8318 OBJDUMP=$ac_cv_prog_OBJDUMP
8319 if test -n "$OBJDUMP"; then
8320 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8321 echo "${ECHO_T}$OBJDUMP" >&6
8323 echo "$as_me:$LINENO: result
: no
" >&5
8324 echo "${ECHO_T}no
" >&6
8328 test -n "$ac_cv_prog_OBJDUMP" && break
8331 if test -z "$ac_cv_prog_OBJDUMP" ; then
8333 if test $build = $host ; then
8336 OBJDUMP="${ncn_tool_prefix}$2"
8347 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8348 if test "${with_build_time_tools+set}" = set; then
8349 withval="$with_build_time_tools"
8353 with_build_time_tools=
8354 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8355 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8359 with_build_time_tools=
8364 if test -n "$CC_FOR_TARGET"; then
8365 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8366 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8367 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8370 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8371 for ncn_progname in cc gcc; do
8372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8373 set dummy ${ncn_progname}; ac_word=$2
8374 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8376 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8377 echo $ECHO_N "(cached
) $ECHO_C" >&6
8379 if test -n "$CC_FOR_TARGET"; then
8380 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8390 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8398 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8399 if test -n "$CC_FOR_TARGET"; then
8400 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8401 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8403 echo "$as_me:$LINENO: result
: no
" >&5
8404 echo "${ECHO_T}no
" >&6
8410 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8411 for ncn_progname in cc gcc; do
8412 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8413 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8414 if test -x $with_build_time_tools/${ncn_progname}; then
8415 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8416 echo "$as_me:$LINENO: result
: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8420 echo "$as_me:$LINENO: result
: no
" >&5
8421 echo "${ECHO_T}no
" >&6
8426 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8427 for ncn_progname in cc gcc; do
8428 if test -n "$ncn_target_tool_prefix"; then
8429 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8430 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8431 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8432 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8433 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8434 echo $ECHO_N "(cached
) $ECHO_C" >&6
8436 if test -n "$CC_FOR_TARGET"; then
8437 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir=.
8444 for ac_exec_ext in '' $ac_executable_extensions; do
8445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8446 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8447 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8455 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8456 if test -n "$CC_FOR_TARGET"; then
8457 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8458 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8460 echo "$as_me:$LINENO: result
: no
" >&5
8461 echo "${ECHO_T}no
" >&6
8465 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8467 set dummy ${ncn_progname}; ac_word=$2
8468 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8469 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8470 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8471 echo $ECHO_N "(cached
) $ECHO_C" >&6
8473 if test -n "$CC_FOR_TARGET"; then
8474 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8484 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8492 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8493 if test -n "$CC_FOR_TARGET"; then
8494 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8495 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8497 echo "$as_me:$LINENO: result
: no
" >&5
8498 echo "${ECHO_T}no
" >&6
8502 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8506 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8508 if test $build = $target ; then
8511 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8514 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8519 if test -n "$CXX_FOR_TARGET"; then
8520 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8521 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8522 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8525 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8526 for ncn_progname in c++ g++ cxx gxx; do
8527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8528 set dummy ${ncn_progname}; ac_word=$2
8529 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8530 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8531 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8532 echo $ECHO_N "(cached
) $ECHO_C" >&6
8534 if test -n "$CXX_FOR_TARGET"; then
8535 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8544 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8545 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8553 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8554 if test -n "$CXX_FOR_TARGET"; then
8555 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8556 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8558 echo "$as_me:$LINENO: result
: no
" >&5
8559 echo "${ECHO_T}no
" >&6
8565 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8566 for ncn_progname in c++ g++ cxx gxx; do
8567 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8568 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8569 if test -x $with_build_time_tools/${ncn_progname}; then
8570 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8571 echo "$as_me:$LINENO: result
: yes" >&5
8572 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result
: no
" >&5
8576 echo "${ECHO_T}no
" >&6
8581 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8582 for ncn_progname in c++ g++ cxx gxx; do
8583 if test -n "$ncn_target_tool_prefix"; then
8584 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8585 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8586 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8587 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8588 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8589 echo $ECHO_N "(cached
) $ECHO_C" >&6
8591 if test -n "$CXX_FOR_TARGET"; then
8592 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8601 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8611 if test -n "$CXX_FOR_TARGET"; then
8612 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8613 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8615 echo "$as_me:$LINENO: result
: no
" >&5
8616 echo "${ECHO_T}no
" >&6
8620 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8622 set dummy ${ncn_progname}; ac_word=$2
8623 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8624 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8625 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8626 echo $ECHO_N "(cached
) $ECHO_C" >&6
8628 if test -n "$CXX_FOR_TARGET"; then
8629 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8647 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8648 if test -n "$CXX_FOR_TARGET"; then
8649 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8650 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8652 echo "$as_me:$LINENO: result
: no
" >&5
8653 echo "${ECHO_T}no
" >&6
8657 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8661 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8662 set dummy c++ g++ cxx gxx
8663 if test $build = $target ; then
8666 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8669 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8674 if test -n "$GCC_FOR_TARGET"; then
8675 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8676 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8677 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8680 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8681 for ncn_progname in gcc; do
8682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8683 set dummy ${ncn_progname}; ac_word=$2
8684 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8685 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8686 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8687 echo $ECHO_N "(cached
) $ECHO_C" >&6
8689 if test -n "$GCC_FOR_TARGET"; then
8690 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8700 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8708 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8709 if test -n "$GCC_FOR_TARGET"; then
8710 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8711 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8713 echo "$as_me:$LINENO: result
: no
" >&5
8714 echo "${ECHO_T}no
" >&6
8720 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8721 for ncn_progname in gcc; do
8722 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8723 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8724 if test -x $with_build_time_tools/${ncn_progname}; then
8725 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8726 echo "$as_me:$LINENO: result
: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result
: no
" >&5
8731 echo "${ECHO_T}no
" >&6
8736 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8737 for ncn_progname in gcc; do
8738 if test -n "$ncn_target_tool_prefix"; then
8739 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8740 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8741 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8743 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8744 echo $ECHO_N "(cached
) $ECHO_C" >&6
8746 if test -n "$GCC_FOR_TARGET"; then
8747 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8753 test -z "$as_dir" && as_dir=.
8754 for ac_exec_ext in '' $ac_executable_extensions; do
8755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8757 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8765 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8766 if test -n "$GCC_FOR_TARGET"; then
8767 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8768 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8770 echo "$as_me:$LINENO: result
: no
" >&5
8771 echo "${ECHO_T}no
" >&6
8775 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8777 set dummy ${ncn_progname}; ac_word=$2
8778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8780 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8781 echo $ECHO_N "(cached
) $ECHO_C" >&6
8783 if test -n "$GCC_FOR_TARGET"; then
8784 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8794 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8802 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8803 if test -n "$GCC_FOR_TARGET"; then
8804 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8805 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8807 echo "$as_me:$LINENO: result
: no
" >&5
8808 echo "${ECHO_T}no
" >&6
8812 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8816 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8817 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8819 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8824 if test -n "$GCJ_FOR_TARGET"; then
8825 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8826 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8827 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8830 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8831 for ncn_progname in gcj; do
8832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8833 set dummy ${ncn_progname}; ac_word=$2
8834 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8835 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8836 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8837 echo $ECHO_N "(cached
) $ECHO_C" >&6
8839 if test -n "$GCJ_FOR_TARGET"; then
8840 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir=.
8847 for ac_exec_ext in '' $ac_executable_extensions; do
8848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8849 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8850 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8858 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8859 if test -n "$GCJ_FOR_TARGET"; then
8860 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8861 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8863 echo "$as_me:$LINENO: result
: no
" >&5
8864 echo "${ECHO_T}no
" >&6
8870 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8871 for ncn_progname in gcj; do
8872 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8873 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8874 if test -x $with_build_time_tools/${ncn_progname}; then
8875 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8876 echo "$as_me:$LINENO: result
: yes" >&5
8877 echo "${ECHO_T}yes" >&6
8880 echo "$as_me:$LINENO: result
: no
" >&5
8881 echo "${ECHO_T}no
" >&6
8886 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8887 for ncn_progname in gcj; do
8888 if test -n "$ncn_target_tool_prefix"; then
8889 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8890 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8891 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8892 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8893 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8894 echo $ECHO_N "(cached
) $ECHO_C" >&6
8896 if test -n "$GCJ_FOR_TARGET"; then
8897 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8907 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8915 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8916 if test -n "$GCJ_FOR_TARGET"; then
8917 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8918 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8920 echo "$as_me:$LINENO: result
: no
" >&5
8921 echo "${ECHO_T}no
" >&6
8925 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8927 set dummy ${ncn_progname}; ac_word=$2
8928 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8929 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8930 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8931 echo $ECHO_N "(cached
) $ECHO_C" >&6
8933 if test -n "$GCJ_FOR_TARGET"; then
8934 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir=.
8941 for ac_exec_ext in '' $ac_executable_extensions; do
8942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8943 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8944 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8952 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8953 if test -n "$GCJ_FOR_TARGET"; then
8954 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8955 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8957 echo "$as_me:$LINENO: result
: no
" >&5
8958 echo "${ECHO_T}no
" >&6
8962 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8966 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8968 if test $build = $target ; then
8971 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8974 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8979 if test -n "$GFORTRAN_FOR_TARGET"; then
8980 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8981 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8982 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8985 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8986 for ncn_progname in gfortran; do
8987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8988 set dummy ${ncn_progname}; ac_word=$2
8989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8991 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8992 echo $ECHO_N "(cached
) $ECHO_C" >&6
8994 if test -n "$GFORTRAN_FOR_TARGET"; then
8995 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir=.
9002 for ac_exec_ext in '' $ac_executable_extensions; do
9003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9004 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9005 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9013 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9014 if test -n "$GFORTRAN_FOR_TARGET"; then
9015 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9016 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9018 echo "$as_me:$LINENO: result
: no
" >&5
9019 echo "${ECHO_T}no
" >&6
9025 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9026 for ncn_progname in gfortran; do
9027 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9028 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9029 if test -x $with_build_time_tools/${ncn_progname}; then
9030 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9031 echo "$as_me:$LINENO: result
: yes" >&5
9032 echo "${ECHO_T}yes" >&6
9035 echo "$as_me:$LINENO: result
: no
" >&5
9036 echo "${ECHO_T}no
" >&6
9041 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9042 for ncn_progname in gfortran; do
9043 if test -n "$ncn_target_tool_prefix"; then
9044 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9045 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9046 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9047 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9048 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9049 echo $ECHO_N "(cached
) $ECHO_C" >&6
9051 if test -n "$GFORTRAN_FOR_TARGET"; then
9052 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9058 test -z "$as_dir" && as_dir=.
9059 for ac_exec_ext in '' $ac_executable_extensions; do
9060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9061 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9062 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9070 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9071 if test -n "$GFORTRAN_FOR_TARGET"; then
9072 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9073 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9075 echo "$as_me:$LINENO: result
: no
" >&5
9076 echo "${ECHO_T}no
" >&6
9080 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9082 set dummy ${ncn_progname}; ac_word=$2
9083 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9084 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9085 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9086 echo $ECHO_N "(cached
) $ECHO_C" >&6
9088 if test -n "$GFORTRAN_FOR_TARGET"; then
9089 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9098 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9099 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9107 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9108 if test -n "$GFORTRAN_FOR_TARGET"; then
9109 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9110 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9112 echo "$as_me:$LINENO: result
: no
" >&5
9113 echo "${ECHO_T}no
" >&6
9117 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9121 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9123 if test $build = $target ; then
9124 GFORTRAN_FOR_TARGET="$2"
9126 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9129 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9134 cat > conftest.c << \EOF
9139 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9140 have_gcc_for_target=yes
9142 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9143 have_gcc_for_target=no
9150 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9151 if test -n "$with_build_time_tools"; then
9152 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9153 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9154 if test -x $with_build_time_tools/ar; then
9155 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9156 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9157 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9158 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9160 echo "$as_me:$LINENO: result
: no
" >&5
9161 echo "${ECHO_T}no
" >&6
9163 elif test $build != $host && test $have_gcc_for_target = yes; then
9164 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9165 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9166 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9169 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9170 # Extract the first word of "ar", so it can be a program name with args.
9171 set dummy ar; ac_word=$2
9172 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9173 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9174 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9175 echo $ECHO_N "(cached
) $ECHO_C" >&6
9177 case $AR_FOR_TARGET in
9179 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9183 for as_dir in $gcc_cv_tool_dirs
9186 test -z "$as_dir" && as_dir=.
9187 for ac_exec_ext in '' $ac_executable_extensions; do
9188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9189 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9190 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9199 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9201 if test -n "$AR_FOR_TARGET"; then
9202 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9203 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9205 echo "$as_me:$LINENO: result
: no
" >&5
9206 echo "${ECHO_T}no
" >&6
9210 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9213 if test -n "$AR_FOR_TARGET"; then
9214 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9215 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9216 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9219 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9220 for ncn_progname in ar; do
9221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9222 set dummy ${ncn_progname}; ac_word=$2
9223 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9224 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9225 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9226 echo $ECHO_N "(cached
) $ECHO_C" >&6
9228 if test -n "$AR_FOR_TARGET"; then
9229 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235 test -z "$as_dir" && as_dir=.
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9239 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9247 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9248 if test -n "$AR_FOR_TARGET"; then
9249 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9250 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9252 echo "$as_me:$LINENO: result
: no
" >&5
9253 echo "${ECHO_T}no
" >&6
9259 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9260 for ncn_progname in ar; do
9261 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9262 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9263 if test -x $with_build_time_tools/${ncn_progname}; then
9264 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9265 echo "$as_me:$LINENO: result
: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9269 echo "$as_me:$LINENO: result
: no
" >&5
9270 echo "${ECHO_T}no
" >&6
9275 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9276 for ncn_progname in ar; do
9277 if test -n "$ncn_target_tool_prefix"; then
9278 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9279 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9280 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9282 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9283 echo $ECHO_N "(cached
) $ECHO_C" >&6
9285 if test -n "$AR_FOR_TARGET"; then
9286 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir=.
9293 for ac_exec_ext in '' $ac_executable_extensions; do
9294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9295 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9296 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9304 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9305 if test -n "$AR_FOR_TARGET"; then
9306 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9307 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9309 echo "$as_me:$LINENO: result
: no
" >&5
9310 echo "${ECHO_T}no
" >&6
9314 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9316 set dummy ${ncn_progname}; ac_word=$2
9317 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9318 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9319 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9320 echo $ECHO_N "(cached
) $ECHO_C" >&6
9322 if test -n "$AR_FOR_TARGET"; then
9323 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9329 test -z "$as_dir" && as_dir=.
9330 for ac_exec_ext in '' $ac_executable_extensions; do
9331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9332 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9341 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9342 if test -n "$AR_FOR_TARGET"; then
9343 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9344 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9346 echo "$as_me:$LINENO: result
: no
" >&5
9347 echo "${ECHO_T}no
" >&6
9351 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9355 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9357 if test $build = $target ; then
9360 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9363 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9367 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9373 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9374 if test -n "$with_build_time_tools"; then
9375 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9376 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9377 if test -x $with_build_time_tools/as; then
9378 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9379 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9380 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9381 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9383 echo "$as_me:$LINENO: result
: no
" >&5
9384 echo "${ECHO_T}no
" >&6
9386 elif test $build != $host && test $have_gcc_for_target = yes; then
9387 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9388 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9389 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9392 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9393 # Extract the first word of "as
", so it can be a program name with args.
9394 set dummy as; ac_word=$2
9395 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9396 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9397 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9398 echo $ECHO_N "(cached
) $ECHO_C" >&6
9400 case $AS_FOR_TARGET in
9402 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9406 for as_dir in $gcc_cv_tool_dirs
9409 test -z "$as_dir" && as_dir=.
9410 for ac_exec_ext in '' $ac_executable_extensions; do
9411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9412 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9413 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9422 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9424 if test -n "$AS_FOR_TARGET"; then
9425 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9426 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9428 echo "$as_me:$LINENO: result
: no
" >&5
9429 echo "${ECHO_T}no
" >&6
9433 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9436 if test -n "$AS_FOR_TARGET"; then
9437 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9438 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9439 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9442 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9443 for ncn_progname in as; do
9444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9445 set dummy ${ncn_progname}; ac_word=$2
9446 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9447 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9448 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9449 echo $ECHO_N "(cached
) $ECHO_C" >&6
9451 if test -n "$AS_FOR_TARGET"; then
9452 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9458 test -z "$as_dir" && as_dir=.
9459 for ac_exec_ext in '' $ac_executable_extensions; do
9460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9461 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9462 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9470 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9471 if test -n "$AS_FOR_TARGET"; then
9472 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9473 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9475 echo "$as_me:$LINENO: result
: no
" >&5
9476 echo "${ECHO_T}no
" >&6
9482 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9483 for ncn_progname in as; do
9484 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9485 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9486 if test -x $with_build_time_tools/${ncn_progname}; then
9487 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9488 echo "$as_me:$LINENO: result
: yes" >&5
9489 echo "${ECHO_T}yes" >&6
9492 echo "$as_me:$LINENO: result
: no
" >&5
9493 echo "${ECHO_T}no
" >&6
9498 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9499 for ncn_progname in as; do
9500 if test -n "$ncn_target_tool_prefix"; then
9501 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9502 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9503 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9504 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9505 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9506 echo $ECHO_N "(cached
) $ECHO_C" >&6
9508 if test -n "$AS_FOR_TARGET"; then
9509 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515 test -z "$as_dir" && as_dir=.
9516 for ac_exec_ext in '' $ac_executable_extensions; do
9517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9518 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9519 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9527 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9528 if test -n "$AS_FOR_TARGET"; then
9529 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9530 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9532 echo "$as_me:$LINENO: result
: no
" >&5
9533 echo "${ECHO_T}no
" >&6
9537 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9539 set dummy ${ncn_progname}; ac_word=$2
9540 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9541 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9542 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9543 echo $ECHO_N "(cached
) $ECHO_C" >&6
9545 if test -n "$AS_FOR_TARGET"; then
9546 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9556 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9564 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9565 if test -n "$AS_FOR_TARGET"; then
9566 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9567 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9569 echo "$as_me:$LINENO: result
: no
" >&5
9570 echo "${ECHO_T}no
" >&6
9574 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9578 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9580 if test $build = $target ; then
9583 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9586 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9590 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9596 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9597 if test -n "$with_build_time_tools"; then
9598 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9599 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9600 if test -x $with_build_time_tools/dlltool; then
9601 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9602 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9603 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9604 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9606 echo "$as_me:$LINENO: result
: no
" >&5
9607 echo "${ECHO_T}no
" >&6
9609 elif test $build != $host && test $have_gcc_for_target = yes; then
9610 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9611 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9612 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9615 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9616 # Extract the first word of "dlltool
", so it can be a program name with args.
9617 set dummy dlltool; ac_word=$2
9618 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9619 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9620 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9621 echo $ECHO_N "(cached
) $ECHO_C" >&6
9623 case $DLLTOOL_FOR_TARGET in
9625 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 for as_dir in $gcc_cv_tool_dirs
9632 test -z "$as_dir" && as_dir=.
9633 for ac_exec_ext in '' $ac_executable_extensions; do
9634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9635 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9636 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9645 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9647 if test -n "$DLLTOOL_FOR_TARGET"; then
9648 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9649 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9651 echo "$as_me:$LINENO: result
: no
" >&5
9652 echo "${ECHO_T}no
" >&6
9656 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9659 if test -n "$DLLTOOL_FOR_TARGET"; then
9660 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9661 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9662 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9665 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9666 for ncn_progname in dlltool; do
9667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9668 set dummy ${ncn_progname}; ac_word=$2
9669 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9671 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9672 echo $ECHO_N "(cached
) $ECHO_C" >&6
9674 if test -n "$DLLTOOL_FOR_TARGET"; then
9675 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9681 test -z "$as_dir" && as_dir=.
9682 for ac_exec_ext in '' $ac_executable_extensions; do
9683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9684 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9693 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9694 if test -n "$DLLTOOL_FOR_TARGET"; then
9695 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9696 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9698 echo "$as_me:$LINENO: result
: no
" >&5
9699 echo "${ECHO_T}no
" >&6
9705 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9706 for ncn_progname in dlltool; do
9707 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9708 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9709 if test -x $with_build_time_tools/${ncn_progname}; then
9710 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9711 echo "$as_me:$LINENO: result
: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result
: no
" >&5
9716 echo "${ECHO_T}no
" >&6
9721 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9722 for ncn_progname in dlltool; do
9723 if test -n "$ncn_target_tool_prefix"; then
9724 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9725 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9726 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9727 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9728 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9729 echo $ECHO_N "(cached
) $ECHO_C" >&6
9731 if test -n "$DLLTOOL_FOR_TARGET"; then
9732 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9741 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9742 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9750 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9751 if test -n "$DLLTOOL_FOR_TARGET"; then
9752 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9753 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9755 echo "$as_me:$LINENO: result
: no
" >&5
9756 echo "${ECHO_T}no
" >&6
9760 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9761 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9762 set dummy ${ncn_progname}; ac_word=$2
9763 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9764 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9765 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9766 echo $ECHO_N "(cached
) $ECHO_C" >&6
9768 if test -n "$DLLTOOL_FOR_TARGET"; then
9769 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir=.
9776 for ac_exec_ext in '' $ac_executable_extensions; do
9777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9778 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9779 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9787 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9788 if test -n "$DLLTOOL_FOR_TARGET"; then
9789 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9790 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9792 echo "$as_me:$LINENO: result
: no
" >&5
9793 echo "${ECHO_T}no
" >&6
9797 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9801 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9803 if test $build = $target ; then
9804 DLLTOOL_FOR_TARGET="$2"
9806 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9809 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9813 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9819 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9820 if test -n "$with_build_time_tools"; then
9821 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9822 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9823 if test -x $with_build_time_tools/ld; then
9824 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9825 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9826 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9827 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9829 echo "$as_me:$LINENO: result
: no
" >&5
9830 echo "${ECHO_T}no
" >&6
9832 elif test $build != $host && test $have_gcc_for_target = yes; then
9833 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9834 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9835 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9838 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9839 # Extract the first word of "ld
", so it can be a program name with args.
9840 set dummy ld; ac_word=$2
9841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9843 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9844 echo $ECHO_N "(cached
) $ECHO_C" >&6
9846 case $LD_FOR_TARGET in
9848 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9852 for as_dir in $gcc_cv_tool_dirs
9855 test -z "$as_dir" && as_dir=.
9856 for ac_exec_ext in '' $ac_executable_extensions; do
9857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9858 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9868 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9870 if test -n "$LD_FOR_TARGET"; then
9871 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9872 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9874 echo "$as_me:$LINENO: result
: no
" >&5
9875 echo "${ECHO_T}no
" >&6
9879 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9882 if test -n "$LD_FOR_TARGET"; then
9883 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9884 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9885 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9888 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9889 for ncn_progname in ld; do
9890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9891 set dummy ${ncn_progname}; ac_word=$2
9892 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9894 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9895 echo $ECHO_N "(cached
) $ECHO_C" >&6
9897 if test -n "$LD_FOR_TARGET"; then
9898 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir=.
9905 for ac_exec_ext in '' $ac_executable_extensions; do
9906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9907 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9916 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9917 if test -n "$LD_FOR_TARGET"; then
9918 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9919 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9921 echo "$as_me:$LINENO: result
: no
" >&5
9922 echo "${ECHO_T}no
" >&6
9928 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9929 for ncn_progname in ld; do
9930 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9931 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9932 if test -x $with_build_time_tools/${ncn_progname}; then
9933 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9934 echo "$as_me:$LINENO: result
: yes" >&5
9935 echo "${ECHO_T}yes" >&6
9938 echo "$as_me:$LINENO: result
: no
" >&5
9939 echo "${ECHO_T}no
" >&6
9944 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9945 for ncn_progname in ld; do
9946 if test -n "$ncn_target_tool_prefix"; then
9947 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9949 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9950 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9951 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9952 echo $ECHO_N "(cached
) $ECHO_C" >&6
9954 if test -n "$LD_FOR_TARGET"; then
9955 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9965 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9973 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9974 if test -n "$LD_FOR_TARGET"; then
9975 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9976 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9978 echo "$as_me:$LINENO: result
: no
" >&5
9979 echo "${ECHO_T}no
" >&6
9983 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9985 set dummy ${ncn_progname}; ac_word=$2
9986 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9987 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9988 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9989 echo $ECHO_N "(cached
) $ECHO_C" >&6
9991 if test -n "$LD_FOR_TARGET"; then
9992 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir=.
9999 for ac_exec_ext in '' $ac_executable_extensions; do
10000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10001 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10002 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10010 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10011 if test -n "$LD_FOR_TARGET"; then
10012 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10013 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10015 echo "$as_me:$LINENO: result
: no
" >&5
10016 echo "${ECHO_T}no
" >&6
10020 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10024 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10026 if test $build = $target ; then
10029 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10032 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10036 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10042 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10043 if test -n "$with_build_time_tools"; then
10044 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10045 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10046 if test -x $with_build_time_tools/lipo; then
10047 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10048 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10049 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10050 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10052 echo "$as_me:$LINENO: result
: no
" >&5
10053 echo "${ECHO_T}no
" >&6
10055 elif test $build != $host && test $have_gcc_for_target = yes; then
10056 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10057 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10058 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10061 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10062 # Extract the first word of "lipo
", so it can be a program name with args.
10063 set dummy lipo; ac_word=$2
10064 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10065 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10066 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10067 echo $ECHO_N "(cached
) $ECHO_C" >&6
10069 case $LIPO_FOR_TARGET in
10071 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $gcc_cv_tool_dirs
10078 test -z "$as_dir" && as_dir=.
10079 for ac_exec_ext in '' $ac_executable_extensions; do
10080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10081 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10082 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10091 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10093 if test -n "$LIPO_FOR_TARGET"; then
10094 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10095 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10097 echo "$as_me:$LINENO: result
: no
" >&5
10098 echo "${ECHO_T}no
" >&6
10102 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10105 if test -n "$LIPO_FOR_TARGET"; then
10106 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10107 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10108 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10111 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10112 for ncn_progname in lipo; do
10113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10114 set dummy ${ncn_progname}; ac_word=$2
10115 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10117 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10118 echo $ECHO_N "(cached
) $ECHO_C" >&6
10120 if test -n "$LIPO_FOR_TARGET"; then
10121 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10124 for as_dir in $PATH
10127 test -z "$as_dir" && as_dir=.
10128 for ac_exec_ext in '' $ac_executable_extensions; do
10129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10130 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10131 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10139 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10140 if test -n "$LIPO_FOR_TARGET"; then
10141 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10142 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10144 echo "$as_me:$LINENO: result
: no
" >&5
10145 echo "${ECHO_T}no
" >&6
10151 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10152 for ncn_progname in lipo; do
10153 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10154 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10155 if test -x $with_build_time_tools/${ncn_progname}; then
10156 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10157 echo "$as_me:$LINENO: result
: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10161 echo "$as_me:$LINENO: result
: no
" >&5
10162 echo "${ECHO_T}no
" >&6
10167 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10168 for ncn_progname in lipo; do
10169 if test -n "$ncn_target_tool_prefix"; then
10170 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10171 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10172 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10173 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10174 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10175 echo $ECHO_N "(cached
) $ECHO_C" >&6
10177 if test -n "$LIPO_FOR_TARGET"; then
10178 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181 for as_dir in $PATH
10184 test -z "$as_dir" && as_dir=.
10185 for ac_exec_ext in '' $ac_executable_extensions; do
10186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10187 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10188 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10196 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10197 if test -n "$LIPO_FOR_TARGET"; then
10198 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10199 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10201 echo "$as_me:$LINENO: result
: no
" >&5
10202 echo "${ECHO_T}no
" >&6
10206 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10208 set dummy ${ncn_progname}; ac_word=$2
10209 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10210 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10211 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10212 echo $ECHO_N "(cached
) $ECHO_C" >&6
10214 if test -n "$LIPO_FOR_TARGET"; then
10215 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10224 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10225 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10233 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10234 if test -n "$LIPO_FOR_TARGET"; then
10235 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10236 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10238 echo "$as_me:$LINENO: result
: no
" >&5
10239 echo "${ECHO_T}no
" >&6
10243 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10247 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10249 if test $build = $target ; then
10250 LIPO_FOR_TARGET="$2"
10252 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10255 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10259 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10265 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10266 if test -n "$with_build_time_tools"; then
10267 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10268 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10269 if test -x $with_build_time_tools/nm; then
10270 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10271 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10272 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10273 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10275 echo "$as_me:$LINENO: result
: no
" >&5
10276 echo "${ECHO_T}no
" >&6
10278 elif test $build != $host && test $have_gcc_for_target = yes; then
10279 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10280 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10281 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10284 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10285 # Extract the first word of "nm
", so it can be a program name with args.
10286 set dummy nm; ac_word=$2
10287 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10288 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10289 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10290 echo $ECHO_N "(cached
) $ECHO_C" >&6
10292 case $NM_FOR_TARGET in
10294 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10298 for as_dir in $gcc_cv_tool_dirs
10301 test -z "$as_dir" && as_dir=.
10302 for ac_exec_ext in '' $ac_executable_extensions; do
10303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10304 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10305 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10314 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10316 if test -n "$NM_FOR_TARGET"; then
10317 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10318 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10320 echo "$as_me:$LINENO: result
: no
" >&5
10321 echo "${ECHO_T}no
" >&6
10325 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10328 if test -n "$NM_FOR_TARGET"; then
10329 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10330 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10331 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10334 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10335 for ncn_progname in nm; do
10336 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10337 set dummy ${ncn_progname}; ac_word=$2
10338 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10339 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10340 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10341 echo $ECHO_N "(cached
) $ECHO_C" >&6
10343 if test -n "$NM_FOR_TARGET"; then
10344 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10347 for as_dir in $PATH
10350 test -z "$as_dir" && as_dir=.
10351 for ac_exec_ext in '' $ac_executable_extensions; do
10352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10353 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10354 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10362 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10363 if test -n "$NM_FOR_TARGET"; then
10364 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10365 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10367 echo "$as_me:$LINENO: result
: no
" >&5
10368 echo "${ECHO_T}no
" >&6
10374 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10375 for ncn_progname in nm; do
10376 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10377 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10378 if test -x $with_build_time_tools/${ncn_progname}; then
10379 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10380 echo "$as_me:$LINENO: result
: yes" >&5
10381 echo "${ECHO_T}yes" >&6
10384 echo "$as_me:$LINENO: result
: no
" >&5
10385 echo "${ECHO_T}no
" >&6
10390 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10391 for ncn_progname in nm; do
10392 if test -n "$ncn_target_tool_prefix"; then
10393 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10394 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10395 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10396 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10397 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10398 echo $ECHO_N "(cached
) $ECHO_C" >&6
10400 if test -n "$NM_FOR_TARGET"; then
10401 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10407 test -z "$as_dir" && as_dir=.
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10411 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10419 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10420 if test -n "$NM_FOR_TARGET"; then
10421 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10422 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10424 echo "$as_me:$LINENO: result
: no
" >&5
10425 echo "${ECHO_T}no
" >&6
10429 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10431 set dummy ${ncn_progname}; ac_word=$2
10432 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10433 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10434 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10435 echo $ECHO_N "(cached
) $ECHO_C" >&6
10437 if test -n "$NM_FOR_TARGET"; then
10438 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10444 test -z "$as_dir" && as_dir=.
10445 for ac_exec_ext in '' $ac_executable_extensions; do
10446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10447 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10448 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10456 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10457 if test -n "$NM_FOR_TARGET"; then
10458 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10459 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10461 echo "$as_me:$LINENO: result
: no
" >&5
10462 echo "${ECHO_T}no
" >&6
10466 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10470 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10472 if test $build = $target ; then
10475 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10478 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10482 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10488 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10489 if test -n "$with_build_time_tools"; then
10490 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10491 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10492 if test -x $with_build_time_tools/objdump; then
10493 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10494 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10495 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10496 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10498 echo "$as_me:$LINENO: result
: no
" >&5
10499 echo "${ECHO_T}no
" >&6
10501 elif test $build != $host && test $have_gcc_for_target = yes; then
10502 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10503 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10504 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10507 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10508 # Extract the first word of "objdump
", so it can be a program name with args.
10509 set dummy objdump; ac_word=$2
10510 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10511 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10512 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10513 echo $ECHO_N "(cached
) $ECHO_C" >&6
10515 case $OBJDUMP_FOR_TARGET in
10517 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10521 for as_dir in $gcc_cv_tool_dirs
10524 test -z "$as_dir" && as_dir=.
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10527 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10528 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10537 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10539 if test -n "$OBJDUMP_FOR_TARGET"; then
10540 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10541 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10543 echo "$as_me:$LINENO: result
: no
" >&5
10544 echo "${ECHO_T}no
" >&6
10548 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10551 if test -n "$OBJDUMP_FOR_TARGET"; then
10552 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10553 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10554 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10557 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10558 for ncn_progname in objdump; do
10559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10560 set dummy ${ncn_progname}; ac_word=$2
10561 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10562 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10563 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10564 echo $ECHO_N "(cached
) $ECHO_C" >&6
10566 if test -n "$OBJDUMP_FOR_TARGET"; then
10567 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10570 for as_dir in $PATH
10573 test -z "$as_dir" && as_dir=.
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10576 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10577 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10585 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10586 if test -n "$OBJDUMP_FOR_TARGET"; then
10587 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10588 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10590 echo "$as_me:$LINENO: result
: no
" >&5
10591 echo "${ECHO_T}no
" >&6
10597 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10598 for ncn_progname in objdump; do
10599 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10600 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10601 if test -x $with_build_time_tools/${ncn_progname}; then
10602 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10603 echo "$as_me:$LINENO: result
: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10607 echo "$as_me:$LINENO: result
: no
" >&5
10608 echo "${ECHO_T}no
" >&6
10613 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10614 for ncn_progname in objdump; do
10615 if test -n "$ncn_target_tool_prefix"; then
10616 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10617 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10618 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10619 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10620 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10621 echo $ECHO_N "(cached
) $ECHO_C" >&6
10623 if test -n "$OBJDUMP_FOR_TARGET"; then
10624 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10634 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10642 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10643 if test -n "$OBJDUMP_FOR_TARGET"; then
10644 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10645 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10647 echo "$as_me:$LINENO: result
: no
" >&5
10648 echo "${ECHO_T}no
" >&6
10652 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10654 set dummy ${ncn_progname}; ac_word=$2
10655 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10656 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10657 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10658 echo $ECHO_N "(cached
) $ECHO_C" >&6
10660 if test -n "$OBJDUMP_FOR_TARGET"; then
10661 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10664 for as_dir in $PATH
10667 test -z "$as_dir" && as_dir=.
10668 for ac_exec_ext in '' $ac_executable_extensions; do
10669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10670 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10671 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10679 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10680 if test -n "$OBJDUMP_FOR_TARGET"; then
10681 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10682 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10684 echo "$as_me:$LINENO: result
: no
" >&5
10685 echo "${ECHO_T}no
" >&6
10689 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10693 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10695 if test $build = $target ; then
10696 OBJDUMP_FOR_TARGET="$2"
10698 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10701 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10705 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10711 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10712 if test -n "$with_build_time_tools"; then
10713 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10714 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10715 if test -x $with_build_time_tools/ranlib; then
10716 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10717 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10718 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10719 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10721 echo "$as_me:$LINENO: result
: no
" >&5
10722 echo "${ECHO_T}no
" >&6
10724 elif test $build != $host && test $have_gcc_for_target = yes; then
10725 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10726 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10727 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10730 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10731 # Extract the first word of "ranlib
", so it can be a program name with args.
10732 set dummy ranlib; ac_word=$2
10733 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10734 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10735 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10736 echo $ECHO_N "(cached
) $ECHO_C" >&6
10738 case $RANLIB_FOR_TARGET in
10740 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10744 for as_dir in $gcc_cv_tool_dirs
10747 test -z "$as_dir" && as_dir=.
10748 for ac_exec_ext in '' $ac_executable_extensions; do
10749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10750 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10751 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10760 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10762 if test -n "$RANLIB_FOR_TARGET"; then
10763 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10764 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10766 echo "$as_me:$LINENO: result
: no
" >&5
10767 echo "${ECHO_T}no
" >&6
10771 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10774 if test -n "$RANLIB_FOR_TARGET"; then
10775 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10776 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10777 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10780 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10781 for ncn_progname in ranlib; do
10782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10783 set dummy ${ncn_progname}; ac_word=$2
10784 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10785 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10786 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10787 echo $ECHO_N "(cached
) $ECHO_C" >&6
10789 if test -n "$RANLIB_FOR_TARGET"; then
10790 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in $PATH
10796 test -z "$as_dir" && as_dir=.
10797 for ac_exec_ext in '' $ac_executable_extensions; do
10798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10799 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10800 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10808 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10809 if test -n "$RANLIB_FOR_TARGET"; then
10810 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10811 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10813 echo "$as_me:$LINENO: result
: no
" >&5
10814 echo "${ECHO_T}no
" >&6
10820 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10821 for ncn_progname in ranlib; do
10822 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10823 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10824 if test -x $with_build_time_tools/${ncn_progname}; then
10825 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10826 echo "$as_me:$LINENO: result
: yes" >&5
10827 echo "${ECHO_T}yes" >&6
10830 echo "$as_me:$LINENO: result
: no
" >&5
10831 echo "${ECHO_T}no
" >&6
10836 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10837 for ncn_progname in ranlib; do
10838 if test -n "$ncn_target_tool_prefix"; then
10839 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10840 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10843 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10844 echo $ECHO_N "(cached
) $ECHO_C" >&6
10846 if test -n "$RANLIB_FOR_TARGET"; then
10847 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10856 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10865 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10866 if test -n "$RANLIB_FOR_TARGET"; then
10867 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10868 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10870 echo "$as_me:$LINENO: result
: no
" >&5
10871 echo "${ECHO_T}no
" >&6
10875 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10877 set dummy ${ncn_progname}; ac_word=$2
10878 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10879 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10880 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10881 echo $ECHO_N "(cached
) $ECHO_C" >&6
10883 if test -n "$RANLIB_FOR_TARGET"; then
10884 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10887 for as_dir in $PATH
10890 test -z "$as_dir" && as_dir=.
10891 for ac_exec_ext in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10894 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10902 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10903 if test -n "$RANLIB_FOR_TARGET"; then
10904 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10905 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10907 echo "$as_me:$LINENO: result
: no
" >&5
10908 echo "${ECHO_T}no
" >&6
10912 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10916 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10918 if test $build = $target ; then
10919 RANLIB_FOR_TARGET="$2"
10921 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10924 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10928 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10934 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10935 if test -n "$with_build_time_tools"; then
10936 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10937 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10938 if test -x $with_build_time_tools/strip; then
10939 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10940 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10941 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10942 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10944 echo "$as_me:$LINENO: result
: no
" >&5
10945 echo "${ECHO_T}no
" >&6
10947 elif test $build != $host && test $have_gcc_for_target = yes; then
10948 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10949 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10950 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10953 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10954 # Extract the first word of "strip
", so it can be a program name with args.
10955 set dummy strip; ac_word=$2
10956 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10957 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10958 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10959 echo $ECHO_N "(cached
) $ECHO_C" >&6
10961 case $STRIP_FOR_TARGET in
10963 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10967 for as_dir in $gcc_cv_tool_dirs
10970 test -z "$as_dir" && as_dir=.
10971 for ac_exec_ext in '' $ac_executable_extensions; do
10972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10973 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10974 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10983 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10985 if test -n "$STRIP_FOR_TARGET"; then
10986 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10987 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10989 echo "$as_me:$LINENO: result
: no
" >&5
10990 echo "${ECHO_T}no
" >&6
10994 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10997 if test -n "$STRIP_FOR_TARGET"; then
10998 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10999 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11000 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11003 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11004 for ncn_progname in strip; do
11005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11006 set dummy ${ncn_progname}; ac_word=$2
11007 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11008 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11009 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11010 echo $ECHO_N "(cached
) $ECHO_C" >&6
11012 if test -n "$STRIP_FOR_TARGET"; then
11013 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11016 for as_dir in $PATH
11019 test -z "$as_dir" && as_dir=.
11020 for ac_exec_ext in '' $ac_executable_extensions; do
11021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11022 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11023 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11031 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11032 if test -n "$STRIP_FOR_TARGET"; then
11033 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11034 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11036 echo "$as_me:$LINENO: result
: no
" >&5
11037 echo "${ECHO_T}no
" >&6
11043 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11044 for ncn_progname in strip; do
11045 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11046 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11047 if test -x $with_build_time_tools/${ncn_progname}; then
11048 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11049 echo "$as_me:$LINENO: result
: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11053 echo "$as_me:$LINENO: result
: no
" >&5
11054 echo "${ECHO_T}no
" >&6
11059 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11060 for ncn_progname in strip; do
11061 if test -n "$ncn_target_tool_prefix"; then
11062 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11063 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11064 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11065 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11066 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11067 echo $ECHO_N "(cached
) $ECHO_C" >&6
11069 if test -n "$STRIP_FOR_TARGET"; then
11070 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11073 for as_dir in $PATH
11076 test -z "$as_dir" && as_dir=.
11077 for ac_exec_ext in '' $ac_executable_extensions; do
11078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11079 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11080 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11088 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11089 if test -n "$STRIP_FOR_TARGET"; then
11090 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11091 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11093 echo "$as_me:$LINENO: result
: no
" >&5
11094 echo "${ECHO_T}no
" >&6
11098 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11100 set dummy ${ncn_progname}; ac_word=$2
11101 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11102 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11103 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11104 echo $ECHO_N "(cached
) $ECHO_C" >&6
11106 if test -n "$STRIP_FOR_TARGET"; then
11107 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11110 for as_dir in $PATH
11113 test -z "$as_dir" && as_dir=.
11114 for ac_exec_ext in '' $ac_executable_extensions; do
11115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11116 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11117 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11125 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11126 if test -n "$STRIP_FOR_TARGET"; then
11127 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11128 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11130 echo "$as_me:$LINENO: result
: no
" >&5
11131 echo "${ECHO_T}no
" >&6
11135 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11139 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11141 if test $build = $target ; then
11142 STRIP_FOR_TARGET="$2"
11144 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11147 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11151 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11157 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11158 if test -n "$with_build_time_tools"; then
11159 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11160 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11161 if test -x $with_build_time_tools/windres; then
11162 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11163 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11164 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11165 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11167 echo "$as_me:$LINENO: result
: no
" >&5
11168 echo "${ECHO_T}no
" >&6
11170 elif test $build != $host && test $have_gcc_for_target = yes; then
11171 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11172 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11173 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11176 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11177 # Extract the first word of "windres
", so it can be a program name with args.
11178 set dummy windres; ac_word=$2
11179 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11180 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11181 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11182 echo $ECHO_N "(cached
) $ECHO_C" >&6
11184 case $WINDRES_FOR_TARGET in
11186 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11190 for as_dir in $gcc_cv_tool_dirs
11193 test -z "$as_dir" && as_dir=.
11194 for ac_exec_ext in '' $ac_executable_extensions; do
11195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11196 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11206 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11208 if test -n "$WINDRES_FOR_TARGET"; then
11209 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11210 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11212 echo "$as_me:$LINENO: result
: no
" >&5
11213 echo "${ECHO_T}no
" >&6
11217 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11220 if test -n "$WINDRES_FOR_TARGET"; then
11221 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11222 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11223 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11226 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11227 for ncn_progname in windres; do
11228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11229 set dummy ${ncn_progname}; ac_word=$2
11230 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11231 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11232 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11233 echo $ECHO_N "(cached
) $ECHO_C" >&6
11235 if test -n "$WINDRES_FOR_TARGET"; then
11236 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11239 for as_dir in $PATH
11242 test -z "$as_dir" && as_dir=.
11243 for ac_exec_ext in '' $ac_executable_extensions; do
11244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11245 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11246 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11254 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11255 if test -n "$WINDRES_FOR_TARGET"; then
11256 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11257 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11259 echo "$as_me:$LINENO: result
: no
" >&5
11260 echo "${ECHO_T}no
" >&6
11266 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11267 for ncn_progname in windres; do
11268 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11269 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11270 if test -x $with_build_time_tools/${ncn_progname}; then
11271 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11272 echo "$as_me:$LINENO: result
: yes" >&5
11273 echo "${ECHO_T}yes" >&6
11276 echo "$as_me:$LINENO: result
: no
" >&5
11277 echo "${ECHO_T}no
" >&6
11282 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11283 for ncn_progname in windres; do
11284 if test -n "$ncn_target_tool_prefix"; then
11285 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11286 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11287 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11288 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11289 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11290 echo $ECHO_N "(cached
) $ECHO_C" >&6
11292 if test -n "$WINDRES_FOR_TARGET"; then
11293 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11296 for as_dir in $PATH
11299 test -z "$as_dir" && as_dir=.
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11302 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11303 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11311 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11312 if test -n "$WINDRES_FOR_TARGET"; then
11313 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11314 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11316 echo "$as_me:$LINENO: result
: no
" >&5
11317 echo "${ECHO_T}no
" >&6
11321 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11322 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11323 set dummy ${ncn_progname}; ac_word=$2
11324 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11325 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11326 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11327 echo $ECHO_N "(cached
) $ECHO_C" >&6
11329 if test -n "$WINDRES_FOR_TARGET"; then
11330 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $PATH
11336 test -z "$as_dir" && as_dir=.
11337 for ac_exec_ext in '' $ac_executable_extensions; do
11338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11339 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11340 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11348 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11349 if test -n "$WINDRES_FOR_TARGET"; then
11350 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11351 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11353 echo "$as_me:$LINENO: result
: no
" >&5
11354 echo "${ECHO_T}no
" >&6
11358 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11362 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11364 if test $build = $target ; then
11365 WINDRES_FOR_TARGET="$2"
11367 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11370 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11374 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11380 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11381 if test -n "$with_build_time_tools"; then
11382 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11383 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11384 if test -x $with_build_time_tools/windmc; then
11385 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11386 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11387 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11388 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11390 echo "$as_me:$LINENO: result
: no
" >&5
11391 echo "${ECHO_T}no
" >&6
11393 elif test $build != $host && test $have_gcc_for_target = yes; then
11394 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11395 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11396 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11399 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11400 # Extract the first word of "windmc
", so it can be a program name with args.
11401 set dummy windmc; ac_word=$2
11402 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11403 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11404 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11405 echo $ECHO_N "(cached
) $ECHO_C" >&6
11407 case $WINDMC_FOR_TARGET in
11409 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11413 for as_dir in $gcc_cv_tool_dirs
11416 test -z "$as_dir" && as_dir=.
11417 for ac_exec_ext in '' $ac_executable_extensions; do
11418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11419 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11420 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11429 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11431 if test -n "$WINDMC_FOR_TARGET"; then
11432 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11433 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11435 echo "$as_me:$LINENO: result
: no
" >&5
11436 echo "${ECHO_T}no
" >&6
11440 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11443 if test -n "$WINDMC_FOR_TARGET"; then
11444 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11445 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11446 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11449 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11450 for ncn_progname in windmc; do
11451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11452 set dummy ${ncn_progname}; ac_word=$2
11453 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11454 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11455 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11456 echo $ECHO_N "(cached
) $ECHO_C" >&6
11458 if test -n "$WINDMC_FOR_TARGET"; then
11459 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 for as_dir in $PATH
11465 test -z "$as_dir" && as_dir=.
11466 for ac_exec_ext in '' $ac_executable_extensions; do
11467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11469 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11477 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11478 if test -n "$WINDMC_FOR_TARGET"; then
11479 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11480 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11482 echo "$as_me:$LINENO: result
: no
" >&5
11483 echo "${ECHO_T}no
" >&6
11489 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11490 for ncn_progname in windmc; do
11491 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11492 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11493 if test -x $with_build_time_tools/${ncn_progname}; then
11494 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11495 echo "$as_me:$LINENO: result
: yes" >&5
11496 echo "${ECHO_T}yes" >&6
11499 echo "$as_me:$LINENO: result
: no
" >&5
11500 echo "${ECHO_T}no
" >&6
11505 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11506 for ncn_progname in windmc; do
11507 if test -n "$ncn_target_tool_prefix"; then
11508 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11509 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11510 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11511 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11512 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11513 echo $ECHO_N "(cached
) $ECHO_C" >&6
11515 if test -n "$WINDMC_FOR_TARGET"; then
11516 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11519 for as_dir in $PATH
11522 test -z "$as_dir" && as_dir=.
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11525 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11526 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11534 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11535 if test -n "$WINDMC_FOR_TARGET"; then
11536 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11537 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11539 echo "$as_me:$LINENO: result
: no
" >&5
11540 echo "${ECHO_T}no
" >&6
11544 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11546 set dummy ${ncn_progname}; ac_word=$2
11547 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11548 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11549 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11550 echo $ECHO_N "(cached
) $ECHO_C" >&6
11552 if test -n "$WINDMC_FOR_TARGET"; then
11553 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556 for as_dir in $PATH
11559 test -z "$as_dir" && as_dir=.
11560 for ac_exec_ext in '' $ac_executable_extensions; do
11561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11562 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11563 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11571 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11572 if test -n "$WINDMC_FOR_TARGET"; then
11573 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11574 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11576 echo "$as_me:$LINENO: result
: no
" >&5
11577 echo "${ECHO_T}no
" >&6
11581 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11585 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11587 if test $build = $target ; then
11588 WINDMC_FOR_TARGET="$2"
11590 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11593 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11597 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11601 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11603 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11604 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11605 if test "x
${build}" != "x
${host}" ; then
11606 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11607 # We already found the complete path
11608 ac_dir=`dirname $AR_FOR_TARGET`
11609 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11610 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11612 # Canadian cross, just use what we found
11613 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11614 echo "${ECHO_T}pre-installed
" >&6
11618 case " ${configdirs} " in
11623 if test $ok = yes; then
11624 # An in-tree tool is available and we can use it
11625 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11626 echo "$as_me:$LINENO: result
: just compiled
" >&5
11627 echo "${ECHO_T}just compiled
" >&6
11628 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11629 # We already found the complete path
11630 ac_dir=`dirname $AR_FOR_TARGET`
11631 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11632 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11633 elif test "x
$target" = "x
$host"; then
11634 # We can use an host tool
11635 AR_FOR_TARGET='$(AR)'
11636 echo "$as_me:$LINENO: result
: host tool
" >&5
11637 echo "${ECHO_T}host tool
" >&6
11639 # We need a cross tool
11640 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11641 echo "${ECHO_T}pre-installed
" >&6
11645 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11646 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11647 if test "x
${build}" != "x
${host}" ; then
11648 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11649 # We already found the complete path
11650 ac_dir=`dirname $AS_FOR_TARGET`
11651 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11652 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11654 # Canadian cross, just use what we found
11655 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11656 echo "${ECHO_T}pre-installed
" >&6
11660 case " ${configdirs} " in
11665 if test $ok = yes; then
11666 # An in-tree tool is available and we can use it
11667 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11668 echo "$as_me:$LINENO: result
: just compiled
" >&5
11669 echo "${ECHO_T}just compiled
" >&6
11670 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11671 # We already found the complete path
11672 ac_dir=`dirname $AS_FOR_TARGET`
11673 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11674 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11675 elif test "x
$target" = "x
$host"; then
11676 # We can use an host tool
11677 AS_FOR_TARGET='$(AS)'
11678 echo "$as_me:$LINENO: result
: host tool
" >&5
11679 echo "${ECHO_T}host tool
" >&6
11681 # We need a cross tool
11682 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11683 echo "${ECHO_T}pre-installed
" >&6
11687 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11688 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11689 if test "x
${build}" != "x
${host}" ; then
11690 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11691 # We already found the complete path
11692 ac_dir=`dirname $CC_FOR_TARGET`
11693 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11694 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11696 # Canadian cross, just use what we found
11697 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11698 echo "${ECHO_T}pre-installed
" >&6
11702 case " ${configdirs} " in
11707 if test $ok = yes; then
11708 # An in-tree tool is available and we can use it
11709 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11710 echo "$as_me:$LINENO: result
: just compiled
" >&5
11711 echo "${ECHO_T}just compiled
" >&6
11712 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11713 # We already found the complete path
11714 ac_dir=`dirname $CC_FOR_TARGET`
11715 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11716 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11717 elif test "x
$target" = "x
$host"; then
11718 # We can use an host tool
11719 CC_FOR_TARGET='$(CC)'
11720 echo "$as_me:$LINENO: result
: host tool
" >&5
11721 echo "${ECHO_T}host tool
" >&6
11723 # We need a cross tool
11724 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11725 echo "${ECHO_T}pre-installed
" >&6
11729 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11730 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11731 if test "x
${build}" != "x
${host}" ; then
11732 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11733 # We already found the complete path
11734 ac_dir=`dirname $CXX_FOR_TARGET`
11735 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11736 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11738 # Canadian cross, just use what we found
11739 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11740 echo "${ECHO_T}pre-installed
" >&6
11744 case " ${configdirs} " in
11748 case ,${enable_languages}, in
11752 if test $ok = yes; then
11753 # An in-tree tool is available and we can use it
11754 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'
11755 echo "$as_me:$LINENO: result
: just compiled
" >&5
11756 echo "${ECHO_T}just compiled
" >&6
11757 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11758 # We already found the complete path
11759 ac_dir=`dirname $CXX_FOR_TARGET`
11760 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11761 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11762 elif test "x
$target" = "x
$host"; then
11763 # We can use an host tool
11764 CXX_FOR_TARGET='$(CXX)'
11765 echo "$as_me:$LINENO: result
: host tool
" >&5
11766 echo "${ECHO_T}host tool
" >&6
11768 # We need a cross tool
11769 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11770 echo "${ECHO_T}pre-installed
" >&6
11774 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11775 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11776 if test "x
${build}" != "x
${host}" ; then
11777 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11778 # We already found the complete path
11779 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11780 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11781 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11783 # Canadian cross, just use what we found
11784 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11785 echo "${ECHO_T}pre-installed
" >&6
11789 case " ${configdirs} " in
11793 case ,${enable_languages}, in
11797 if test $ok = yes; then
11798 # An in-tree tool is available and we can use it
11799 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'
11800 echo "$as_me:$LINENO: result
: just compiled
" >&5
11801 echo "${ECHO_T}just compiled
" >&6
11802 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11803 # We already found the complete path
11804 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11805 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11806 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11807 elif test "x
$target" = "x
$host"; then
11808 # We can use an host tool
11809 RAW_CXX_FOR_TARGET='$(CXX)'
11810 echo "$as_me:$LINENO: result
: host tool
" >&5
11811 echo "${ECHO_T}host tool
" >&6
11813 # We need a cross tool
11814 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11815 echo "${ECHO_T}pre-installed
" >&6
11819 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11820 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11821 if test "x
${build}" != "x
${host}" ; then
11822 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11823 # We already found the complete path
11824 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11825 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11826 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11828 # Canadian cross, just use what we found
11829 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11830 echo "${ECHO_T}pre-installed
" >&6
11834 case " ${configdirs} " in
11839 if test $ok = yes; then
11840 # An in-tree tool is available and we can use it
11841 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11842 echo "$as_me:$LINENO: result
: just compiled
" >&5
11843 echo "${ECHO_T}just compiled
" >&6
11844 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11845 # We already found the complete path
11846 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11847 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11848 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11849 elif test "x
$target" = "x
$host"; then
11850 # We can use an host tool
11851 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11852 echo "$as_me:$LINENO: result
: host tool
" >&5
11853 echo "${ECHO_T}host tool
" >&6
11855 # We need a cross tool
11856 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11857 echo "${ECHO_T}pre-installed
" >&6
11861 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11862 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11863 if test "x
${build}" != "x
${host}" ; then
11864 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11865 # We already found the complete path
11866 ac_dir=`dirname $GCC_FOR_TARGET`
11867 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11868 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11870 # Canadian cross, just use what we found
11871 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11872 echo "${ECHO_T}pre-installed
" >&6
11876 case " ${configdirs} " in
11881 if test $ok = yes; then
11882 # An in-tree tool is available and we can use it
11883 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11884 echo "$as_me:$LINENO: result
: just compiled
" >&5
11885 echo "${ECHO_T}just compiled
" >&6
11886 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11887 # We already found the complete path
11888 ac_dir=`dirname $GCC_FOR_TARGET`
11889 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11890 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11891 elif test "x
$target" = "x
$host"; then
11892 # We can use an host tool
11893 GCC_FOR_TARGET='$()'
11894 echo "$as_me:$LINENO: result
: host tool
" >&5
11895 echo "${ECHO_T}host tool
" >&6
11897 # We need a cross tool
11898 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11899 echo "${ECHO_T}pre-installed
" >&6
11903 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11904 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11905 if test "x
${build}" != "x
${host}" ; then
11906 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11907 # We already found the complete path
11908 ac_dir=`dirname $GCJ_FOR_TARGET`
11909 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11910 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11912 # Canadian cross, just use what we found
11913 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11914 echo "${ECHO_T}pre-installed
" >&6
11918 case " ${configdirs} " in
11922 case ,${enable_languages}, in
11926 if test $ok = yes; then
11927 # An in-tree tool is available and we can use it
11928 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11929 echo "$as_me:$LINENO: result
: just compiled
" >&5
11930 echo "${ECHO_T}just compiled
" >&6
11931 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11932 # We already found the complete path
11933 ac_dir=`dirname $GCJ_FOR_TARGET`
11934 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11935 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11936 elif test "x
$target" = "x
$host"; then
11937 # We can use an host tool
11938 GCJ_FOR_TARGET='$(GCJ)'
11939 echo "$as_me:$LINENO: result
: host tool
" >&5
11940 echo "${ECHO_T}host tool
" >&6
11942 # We need a cross tool
11943 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11944 echo "${ECHO_T}pre-installed
" >&6
11948 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11949 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11950 if test "x
${build}" != "x
${host}" ; then
11951 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11952 # We already found the complete path
11953 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11954 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11955 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11957 # Canadian cross, just use what we found
11958 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11959 echo "${ECHO_T}pre-installed
" >&6
11963 case " ${configdirs} " in
11967 case ,${enable_languages}, in
11971 if test $ok = yes; then
11972 # An in-tree tool is available and we can use it
11973 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11974 echo "$as_me:$LINENO: result
: just compiled
" >&5
11975 echo "${ECHO_T}just compiled
" >&6
11976 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11977 # We already found the complete path
11978 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11979 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11980 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11981 elif test "x
$target" = "x
$host"; then
11982 # We can use an host tool
11983 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11984 echo "$as_me:$LINENO: result
: host tool
" >&5
11985 echo "${ECHO_T}host tool
" >&6
11987 # We need a cross tool
11988 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11989 echo "${ECHO_T}pre-installed
" >&6
11993 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11994 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11995 if test "x
${build}" != "x
${host}" ; then
11996 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11997 # We already found the complete path
11998 ac_dir=`dirname $LD_FOR_TARGET`
11999 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12000 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12002 # Canadian cross, just use what we found
12003 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12004 echo "${ECHO_T}pre-installed
" >&6
12008 case " ${configdirs} " in
12013 if test $ok = yes; then
12014 # An in-tree tool is available and we can use it
12015 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12016 echo "$as_me:$LINENO: result
: just compiled
" >&5
12017 echo "${ECHO_T}just compiled
" >&6
12018 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12019 # We already found the complete path
12020 ac_dir=`dirname $LD_FOR_TARGET`
12021 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12022 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12023 elif test "x
$target" = "x
$host"; then
12024 # We can use an host tool
12025 LD_FOR_TARGET='$(LD)'
12026 echo "$as_me:$LINENO: result
: host tool
" >&5
12027 echo "${ECHO_T}host tool
" >&6
12029 # We need a cross tool
12030 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12031 echo "${ECHO_T}pre-installed
" >&6
12035 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12036 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12037 if test "x
${build}" != "x
${host}" ; then
12038 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12039 # We already found the complete path
12040 ac_dir=`dirname $LIPO_FOR_TARGET`
12041 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12042 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12044 # Canadian cross, just use what we found
12045 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12046 echo "${ECHO_T}pre-installed
" >&6
12049 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12050 # We already found the complete path
12051 ac_dir=`dirname $LIPO_FOR_TARGET`
12052 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12053 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12054 elif test "x
$target" = "x
$host"; then
12055 # We can use an host tool
12056 LIPO_FOR_TARGET='$(LIPO)'
12057 echo "$as_me:$LINENO: result
: host tool
" >&5
12058 echo "${ECHO_T}host tool
" >&6
12060 # We need a cross tool
12061 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12062 echo "${ECHO_T}pre-installed
" >&6
12066 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12067 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12068 if test "x
${build}" != "x
${host}" ; then
12069 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12070 # We already found the complete path
12071 ac_dir=`dirname $NM_FOR_TARGET`
12072 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12073 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12075 # Canadian cross, just use what we found
12076 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12077 echo "${ECHO_T}pre-installed
" >&6
12081 case " ${configdirs} " in
12086 if test $ok = yes; then
12087 # An in-tree tool is available and we can use it
12088 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12089 echo "$as_me:$LINENO: result
: just compiled
" >&5
12090 echo "${ECHO_T}just compiled
" >&6
12091 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12092 # We already found the complete path
12093 ac_dir=`dirname $NM_FOR_TARGET`
12094 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12095 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12096 elif test "x
$target" = "x
$host"; then
12097 # We can use an host tool
12098 NM_FOR_TARGET='$(NM)'
12099 echo "$as_me:$LINENO: result
: host tool
" >&5
12100 echo "${ECHO_T}host tool
" >&6
12102 # We need a cross tool
12103 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12104 echo "${ECHO_T}pre-installed
" >&6
12108 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12109 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12110 if test "x
${build}" != "x
${host}" ; then
12111 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12112 # We already found the complete path
12113 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12114 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12115 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12117 # Canadian cross, just use what we found
12118 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12119 echo "${ECHO_T}pre-installed
" >&6
12123 case " ${configdirs} " in
12128 if test $ok = yes; then
12129 # An in-tree tool is available and we can use it
12130 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12131 echo "$as_me:$LINENO: result
: just compiled
" >&5
12132 echo "${ECHO_T}just compiled
" >&6
12133 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12134 # We already found the complete path
12135 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12136 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12137 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12138 elif test "x
$target" = "x
$host"; then
12139 # We can use an host tool
12140 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12141 echo "$as_me:$LINENO: result
: host tool
" >&5
12142 echo "${ECHO_T}host tool
" >&6
12144 # We need a cross tool
12145 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12146 echo "${ECHO_T}pre-installed
" >&6
12150 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12151 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12152 if test "x
${build}" != "x
${host}" ; then
12153 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12154 # We already found the complete path
12155 ac_dir=`dirname $RANLIB_FOR_TARGET`
12156 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12157 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12159 # Canadian cross, just use what we found
12160 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12161 echo "${ECHO_T}pre-installed
" >&6
12165 case " ${configdirs} " in
12170 if test $ok = yes; then
12171 # An in-tree tool is available and we can use it
12172 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12173 echo "$as_me:$LINENO: result
: just compiled
" >&5
12174 echo "${ECHO_T}just compiled
" >&6
12175 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12176 # We already found the complete path
12177 ac_dir=`dirname $RANLIB_FOR_TARGET`
12178 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12179 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12180 elif test "x
$target" = "x
$host"; then
12181 # We can use an host tool
12182 RANLIB_FOR_TARGET='$(RANLIB)'
12183 echo "$as_me:$LINENO: result
: host tool
" >&5
12184 echo "${ECHO_T}host tool
" >&6
12186 # We need a cross tool
12187 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12188 echo "${ECHO_T}pre-installed
" >&6
12192 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12193 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12194 if test "x
${build}" != "x
${host}" ; then
12195 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12196 # We already found the complete path
12197 ac_dir=`dirname $STRIP_FOR_TARGET`
12198 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12199 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12201 # Canadian cross, just use what we found
12202 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12203 echo "${ECHO_T}pre-installed
" >&6
12207 case " ${configdirs} " in
12212 if test $ok = yes; then
12213 # An in-tree tool is available and we can use it
12214 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12215 echo "$as_me:$LINENO: result
: just compiled
" >&5
12216 echo "${ECHO_T}just compiled
" >&6
12217 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12218 # We already found the complete path
12219 ac_dir=`dirname $STRIP_FOR_TARGET`
12220 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12221 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12222 elif test "x
$target" = "x
$host"; then
12223 # We can use an host tool
12224 STRIP_FOR_TARGET='$(STRIP)'
12225 echo "$as_me:$LINENO: result
: host tool
" >&5
12226 echo "${ECHO_T}host tool
" >&6
12228 # We need a cross tool
12229 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12230 echo "${ECHO_T}pre-installed
" >&6
12234 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12235 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12236 if test "x
${build}" != "x
${host}" ; then
12237 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12238 # We already found the complete path
12239 ac_dir=`dirname $WINDRES_FOR_TARGET`
12240 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12241 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12243 # Canadian cross, just use what we found
12244 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12245 echo "${ECHO_T}pre-installed
" >&6
12249 case " ${configdirs} " in
12254 if test $ok = yes; then
12255 # An in-tree tool is available and we can use it
12256 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12257 echo "$as_me:$LINENO: result
: just compiled
" >&5
12258 echo "${ECHO_T}just compiled
" >&6
12259 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12260 # We already found the complete path
12261 ac_dir=`dirname $WINDRES_FOR_TARGET`
12262 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12263 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12264 elif test "x
$target" = "x
$host"; then
12265 # We can use an host tool
12266 WINDRES_FOR_TARGET='$(WINDRES)'
12267 echo "$as_me:$LINENO: result
: host tool
" >&5
12268 echo "${ECHO_T}host tool
" >&6
12270 # We need a cross tool
12271 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12272 echo "${ECHO_T}pre-installed
" >&6
12276 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12277 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12278 if test "x
${build}" != "x
${host}" ; then
12279 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12280 # We already found the complete path
12281 ac_dir=`dirname $WINDMC_FOR_TARGET`
12282 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12283 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12285 # Canadian cross, just use what we found
12286 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12287 echo "${ECHO_T}pre-installed
" >&6
12291 case " ${configdirs} " in
12296 if test $ok = yes; then
12297 # An in-tree tool is available and we can use it
12298 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12299 echo "$as_me:$LINENO: result
: just compiled
" >&5
12300 echo "${ECHO_T}just compiled
" >&6
12301 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12302 # We already found the complete path
12303 ac_dir=`dirname $WINDMC_FOR_TARGET`
12304 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12305 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12306 elif test "x
$target" = "x
$host"; then
12307 # We can use an host tool
12308 WINDMC_FOR_TARGET='$(WINDMC)'
12309 echo "$as_me:$LINENO: result
: host tool
" >&5
12310 echo "${ECHO_T}host tool
" >&6
12312 # We need a cross tool
12313 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12314 echo "${ECHO_T}pre-installed
" >&6
12322 # Certain tools may need extra flags.
12323 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12324 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12325 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12327 # When building target libraries, except in a Canadian cross, we use
12328 # the same toolchain as the compiler we just built.
12329 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12330 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12331 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12332 if test $host = $build; then
12333 case " $configdirs " in
12335 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12336 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12337 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12346 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12347 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12348 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12349 if test "${enable_maintainer_mode+set}" = set; then
12350 enableval="$enable_maintainer_mode"
12351 USE_MAINTAINER_MODE=$enableval
12353 USE_MAINTAINER_MODE=no
12355 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12356 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12359 if test "$USE_MAINTAINER_MODE" = yes; then
12360 MAINTAINER_MODE_TRUE=
12361 MAINTAINER_MODE_FALSE='#'
12363 MAINTAINER_MODE_TRUE='#'
12364 MAINTAINER_MODE_FALSE=
12366 MAINT=$MAINTAINER_MODE_TRUE
12368 # ---------------------
12369 # GCC bootstrap support
12370 # ---------------------
12372 # Stage specific cflags for build.
12377 yes) stage1_cflags="-g -Wa,-J" ;;
12378 *) stage1_cflags="-g -J" ;;
12382 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12383 if test "$GCC" = yes; then
12384 saved_CFLAGS="$CFLAGS"
12386 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12387 CFLAGS="$CFLAGS -fkeep-inline-functions"
12388 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12389 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12390 cat >conftest.$ac_ext <<_ACEOF
12393 cat confdefs.h >>conftest.$ac_ext
12394 cat >>conftest.$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12397 #if (__GNUC__ < 3) \
12398 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12399 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12400 #error http://gcc.gnu.org/PR29382
12411 rm -f conftest.$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1 >conftest.err
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try='test -z "$ac_c_werror_flag"
12421 || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try='test -s conftest.$ac_objext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 echo "$as_me:$LINENO: result
: yes" >&5
12434 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12436 echo "$as_me: failed program was
:" >&5
12437 sed 's/^/| /' conftest.$ac_ext >&5
12439 echo "$as_me:$LINENO: result
: no
" >&5
12440 echo "${ECHO_T}no
" >&6
12442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12444 CFLAGS="$saved_CFLAGS"
12449 # Enable --enable-checking in stage1 of the compiler.
12450 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12451 if test "${enable_stage1_checking+set}" = set; then
12452 enableval="$enable_stage1_checking"
12453 stage1_checking=--enable-checking=${enable_stage1_checking}
12455 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12456 stage1_checking=--enable-checking=yes,types
12458 stage1_checking=--enable-checking=$enable_checking,types
12463 # Enable -Werror in bootstrap stage2 and later.
12464 # Check whether --enable-werror or --disable-werror was given.
12465 if test "${enable_werror+set}" = set; then
12466 enableval="$enable_werror"
12469 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12475 case ${enable_werror} in
12476 yes) stage2_werror_flag="--enable-werror-always" ;;
12477 *) stage2_werror_flag="" ;;
12481 # Flags needed to enable html installing and building
12483 # Check whether --with-datarootdir or --without-datarootdir was given.
12484 if test "${with_datarootdir+set}" = set; then
12485 withval="$with_datarootdir"
12486 datarootdir="\
${prefix}/${withval}"
12488 datarootdir="\
${prefix}/share
"
12492 # Check whether --with-docdir or --without-docdir was given.
12493 if test "${with_docdir+set}" = set; then
12494 withval="$with_docdir"
12495 docdir="\
${prefix}/${withval}"
12497 docdir="\
${datarootdir}/doc
"
12501 # Check whether --with-pdfdir or --without-pdfdir was given.
12502 if test "${with_pdfdir+set}" = set; then
12503 withval="$with_pdfdir"
12504 pdfdir="\
${prefix}/${withval}"
12506 pdfdir="\
${docdir}"
12510 # Check whether --with-htmldir or --without-htmldir was given.
12511 if test "${with_htmldir+set}" = set; then
12512 withval="$with_htmldir"
12513 htmldir="\
${prefix}/${withval}"
12515 htmldir="\
${docdir}"
12523 ac_config_files="$ac_config_files Makefile
"
12524 cat >confcache <<\_ACEOF
12525 # This file is a shell script that caches the results of configure
12526 # tests run on this system so they can be shared between configure
12527 # scripts and configure runs, see configure's option --config-cache.
12528 # It is not useful on other systems. If it contains results you don't
12529 # want to keep, you may remove or edit it.
12531 # config.status only pays attention to the cache file if you give it
12532 # the --recheck option to rerun configure.
12534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12536 # following values.
12540 # The following way of writing the cache mishandles newlines in values,
12541 # but we know of no workaround that is simple, portable, and efficient.
12542 # So, don't put newlines in cache variables' values.
12543 # Ultrix sh set writes to stderr and can't be redirected directly,
12544 # and sets the high bit in the cache file unless we assign to the vars.
12547 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12549 # `set' does not quote correctly, so add quotes (double-quote
12550 # substitution turns \\\\ into \\, and sed turns \\ into \).
12553 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12556 # `set' quotes correctly as required by POSIX, so do not add quotes.
12558 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12567 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12569 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12570 if test -w $cache_file; then
12571 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12572 cat confcache >$cache_file
12574 echo "not updating unwritable cache
$cache_file"
12579 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12580 # Let make expand exec_prefix.
12581 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12583 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12584 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12585 # trailing colons and then remove the whole line if VPATH becomes empty
12586 # (actually we leave an empty line to preserve line numbers).
12587 if test "x
$srcdir" = x.; then
12588 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12589 s/:*\$(srcdir):*/:/;
12590 s/:*\${srcdir}:*/:/;
12592 s/^\([^=]*=[ ]*\):*/\1/;
12598 # Transform confdefs.h into DEFS.
12599 # Protect against shell expansion while executing Makefile rules.
12600 # Protect against Makefile macro expansion.
12602 # If the first sed substitution is executed (which looks for macros that
12603 # take arguments), then we branch to the quote section. Otherwise,
12604 # look for a macro that doesn't take arguments.
12605 cat >confdef2opt.sed <<\_ACEOF
12608 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12610 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12614 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12620 # We use echo to avoid assuming a particular line-breaking character.
12621 # The extra dot is to prevent the shell from consuming trailing
12622 # line-breaks from the sub-command output. A line-break within
12623 # single-quotes doesn't work because, if this script is created in a
12624 # platform that uses two characters for line-breaks (e.g., DOS), tr
12626 ac_LF_and_DOT
=`echo; echo .`
12627 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12628 rm -f confdef2opt.
sed
12633 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12634 # 1. Remove the extension, and $U if already installed.
12635 ac_i
=`echo "$ac_i" |
12636 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12638 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12639 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12641 LIBOBJS
=$ac_libobjs
12643 LTLIBOBJS
=$ac_ltlibobjs
12647 : ${CONFIG_STATUS=./config.status}
12648 ac_clean_files_save
=$ac_clean_files
12649 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12650 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12651 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12652 cat >$CONFIG_STATUS <<_ACEOF
12654 # Generated by $as_me.
12655 # Run this file to recreate the current configuration.
12656 # Compiler output produced by configure, useful for debugging
12657 # configure, is in config.log if it exists.
12660 ac_cs_recheck=false
12662 SHELL=\${CONFIG_SHELL-$SHELL}
12665 cat >>$CONFIG_STATUS <<\_ACEOF
12666 ## --------------------- ##
12667 ## M4sh Initialization. ##
12668 ## --------------------- ##
12670 # Be Bourne compatible
12671 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12674 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12675 # is contrary to our usage. Disable this feature.
12676 alias -g '${1+"$@"}'='"$@"'
12677 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12680 DUALCASE
=1; export DUALCASE
# for MKS sh
12682 # Support unset when possible.
12683 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12690 # Work around bugs in pre-3.0 UWIN ksh.
12691 $as_unset ENV MAIL MAILPATH
12698 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12699 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12700 LC_TELEPHONE LC_TIME
12702 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12703 eval $as_var=C
; export $as_var
12709 # Required to use basename.
12710 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12716 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12717 as_basename
=basename
12723 # Name of the executable.
12724 as_me
=`$as_basename "$0" ||
12725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12726 X"$0" : 'X\(//\)$' \| \
12727 X"$0" : 'X\(/\)$' \| \
12728 . : '\(.\)' 2>/dev/null ||
12730 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12731 /^X\/\(\/\/\)$/{ s//\1/; q; }
12732 /^X\/\(\/\).*/{ s//\1/; q; }
12736 # PATH needs CR, and LINENO needs CR and PATH.
12737 # Avoid depending upon Character Ranges.
12738 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12739 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12740 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12741 as_cr_digits
='0123456789'
12742 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12744 # The user is always right.
12745 if test "${PATH_SEPARATOR+set}" != set; then
12746 echo "#! /bin/sh" >conf$$.sh
12747 echo "exit 0" >>conf$$.sh
12749 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12758 as_lineno_1
=$LINENO
12759 as_lineno_2
=$LINENO
12760 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12761 test "x$as_lineno_1" != "x$as_lineno_2" &&
12762 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12763 # Find who we are. Look in the path if we contain no path at all
12766 *[\\/]* ) as_myself
=$0 ;;
12767 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12768 for as_dir
in $PATH
12771 test -z "$as_dir" && as_dir
=.
12772 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12777 # We did not find ourselves, most probably we were run as `sh COMMAND'
12778 # in which case we are not to be found in the path.
12779 if test "x$as_myself" = x
; then
12782 if test ! -f "$as_myself"; then
12783 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12784 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12785 { (exit 1); exit 1; }; }
12787 case $CONFIG_SHELL in
12789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12790 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12793 test -z "$as_dir" && as_dir
=.
12794 for as_base
in sh bash ksh sh5
; do
12797 if ("$as_dir/$as_base" -c '
12798 as_lineno_1=$LINENO
12799 as_lineno_2=$LINENO
12800 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12801 test "x$as_lineno_1" != "x$as_lineno_2" &&
12802 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12803 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12804 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12805 CONFIG_SHELL
=$as_dir/$as_base
12806 export CONFIG_SHELL
12807 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12815 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12816 # uniformly replaced by the line number. The first 'sed' inserts a
12817 # line-number line before each line; the second 'sed' does the real
12818 # work. The second script uses 'N' to pair each line-number line
12819 # with the numbered line, and appends trailing '-' during
12820 # substitution so that $LINENO is not a special case at line end.
12821 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12822 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12823 sed '=' <$as_myself |
12828 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12831 s,^['$as_cr_digits']*\n,,
12832 ' >$as_me.lineno
&&
12833 chmod +x
$as_me.lineno ||
12834 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12835 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12836 { (exit 1); exit 1; }; }
12838 # Don't try to exec as it changes $[0], causing all sort of problems
12839 # (the dirname of $[0] is not the place where we might find the
12840 # original and so on. Autoconf is especially sensible to this).
12842 # Exit status is that of the last command.
12847 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12848 *c
*,-n*) ECHO_N
= ECHO_C
='
12850 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12851 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12854 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12860 rm -f conf$$ conf$$.exe conf$$.
file
12862 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12863 # We could just check for DJGPP; but this test a) works b) is more generic
12864 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12865 if test -f conf$$.exe
; then
12866 # Don't use ln at all; we don't have any links
12871 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12876 rm -f conf$$ conf$$.exe conf$$.
file
12878 if mkdir
-p .
2>/dev
/null
; then
12881 test -d .
/-p && rmdir .
/-p
12885 as_executable_p
="test -f"
12887 # Sed expression to map a string onto a valid CPP name.
12888 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12890 # Sed expression to map a string onto a valid variable name.
12891 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12895 # We need space, tab and new line, in precisely that order.
12905 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12906 # report actual input values of CONFIG_FILES etc. instead of their
12907 # values after options handling. Logging --version etc. is OK.
12911 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12912 ## Running $as_me. ##
12917 This file was extended by $as_me, which was
12918 generated by GNU Autoconf 2.59. Invocation command line was
12920 CONFIG_FILES = $CONFIG_FILES
12921 CONFIG_HEADERS = $CONFIG_HEADERS
12922 CONFIG_LINKS = $CONFIG_LINKS
12923 CONFIG_COMMANDS = $CONFIG_COMMANDS
12927 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12931 # Files that config.status was made for.
12932 if test -n "$ac_config_files"; then
12933 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12936 if test -n "$ac_config_headers"; then
12937 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12940 if test -n "$ac_config_links"; then
12941 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12944 if test -n "$ac_config_commands"; then
12945 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12948 cat >>$CONFIG_STATUS <<\_ACEOF
12951 \`$as_me' instantiates files from templates according to the
12952 current configuration.
12954 Usage: $0 [OPTIONS] [FILE]...
12956 -h, --help print this help, then exit
12957 -V, --version print version number, then exit
12958 -q, --quiet do not print progress messages
12959 -d, --debug don't remove temporary files
12960 --recheck update $as_me by reconfiguring in the same conditions
12961 --file=FILE[:TEMPLATE]
12962 instantiate the configuration file FILE
12964 Configuration files:
12967 Report bugs to <bug-autoconf@gnu.org>."
12970 cat >>$CONFIG_STATUS <<_ACEOF
12973 configured by $0, generated by GNU Autoconf 2.59,
12974 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12976 Copyright (C) 2003 Free Software Foundation, Inc.
12977 This config.status script is free software; the Free Software Foundation
12978 gives unlimited permission to copy, distribute and modify it."
12983 cat >>$CONFIG_STATUS <<\_ACEOF
12984 # If no file are specified by the user, then we need to provide default
12985 # value. By we need to know if files were specified by the user.
12991 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12992 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13000 *) # This is not an option, so the user has probably given explicit
13003 ac_need_defaults
=false
;;
13007 # Handling of the options.
13009 cat >>$CONFIG_STATUS <<\_ACEOF
13010 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13012 --version |
--vers* |
-V )
13013 echo "$ac_cs_version"; exit 0 ;;
13015 # Conflict between --help and --header
13016 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13017 Try \`$0 --help' for more information." >&5
13018 echo "$as_me: error: ambiguous option: $1
13019 Try \`$0 --help' for more information." >&2;}
13020 { (exit 1); exit 1; }; };;
13021 --help |
--hel |
-h )
13022 echo "$ac_cs_usage"; exit 0 ;;
13023 --debug |
--d* |
-d )
13025 --file |
--fil |
--fi |
--f )
13027 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13028 ac_need_defaults
=false
;;
13029 --header |
--heade |
--head |
--hea )
13031 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13032 ac_need_defaults
=false
;;
13033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13034 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13037 # This is an error.
13038 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13039 Try \`$0 --help' for more information." >&5
13040 echo "$as_me: error: unrecognized option: $1
13041 Try \`$0 --help' for more information." >&2;}
13042 { (exit 1); exit 1; }; } ;;
13044 *) ac_config_targets
="$ac_config_targets $1" ;;
13050 ac_configure_extra_args
=
13052 if $ac_cs_silent; then
13054 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13058 cat >>$CONFIG_STATUS <<_ACEOF
13059 if \$ac_cs_recheck; then
13060 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13061 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13070 cat >>$CONFIG_STATUS <<\_ACEOF
13071 for ac_config_target
in $ac_config_targets
13073 case "$ac_config_target" in
13074 # Handling of arguments.
13075 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13076 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13077 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13078 { (exit 1); exit 1; }; };;
13082 # If the user did not use the arguments to specify the items to instantiate,
13083 # then the envvar interface is used. Set only those that are not.
13084 # We use the long form for the default assignment because of an extremely
13085 # bizarre bug on SunOS 4.1.3.
13086 if $ac_need_defaults; then
13087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13090 # Have a temporary directory for convenience. Make it in the build tree
13091 # simply because there is no reason to put it here, and in addition,
13092 # creating and moving files from /tmp can sometimes cause problems.
13093 # Create a temporary directory, and hook for its removal unless debugging.
13096 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13097 trap '{ (exit 1); exit 1; }' 1 2 13 15
13100 # Create a (secure) tmp directory for tmp files.
13103 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13104 test -n "$tmp" && test -d "$tmp"
13107 tmp
=.
/confstat$$
-$RANDOM
13108 (umask 077 && mkdir
$tmp)
13111 echo "$me: cannot create a temporary directory in ." >&2
13112 { (exit 1); exit 1; }
13117 cat >>$CONFIG_STATUS <<_ACEOF
13120 # CONFIG_FILES section.
13123 # No need to generate the scripts if there are no CONFIG_FILES.
13124 # This happens for instance when ./config.status config.h
13125 if test -n "\$CONFIG_FILES"; then
13126 # Protect against being on the right side of a sed subst in config.status.
13127 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13128 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13129 s,@SHELL@,$SHELL,;t t
13130 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13131 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13132 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13133 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13134 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13135 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13136 s,@exec_prefix@,$exec_prefix,;t t
13137 s,@prefix@,$prefix,;t t
13138 s,@program_transform_name@,$program_transform_name,;t t
13139 s,@bindir@,$bindir,;t t
13140 s,@sbindir@,$sbindir,;t t
13141 s,@libexecdir@,$libexecdir,;t t
13142 s,@datadir@,$datadir,;t t
13143 s,@sysconfdir@,$sysconfdir,;t t
13144 s,@sharedstatedir@,$sharedstatedir,;t t
13145 s,@localstatedir@,$localstatedir,;t t
13146 s,@libdir@,$libdir,;t t
13147 s,@includedir@,$includedir,;t t
13148 s,@oldincludedir@,$oldincludedir,;t t
13149 s,@infodir@,$infodir,;t t
13150 s,@mandir@,$mandir,;t t
13151 s,@build_alias@,$build_alias,;t t
13152 s,@host_alias@,$host_alias,;t t
13153 s,@target_alias@,$target_alias,;t t
13154 s,@DEFS@,$DEFS,;t t
13155 s,@ECHO_C@,$ECHO_C,;t t
13156 s,@ECHO_N@,$ECHO_N,;t t
13157 s,@ECHO_T@,$ECHO_T,;t t
13158 s,@LIBS@,$LIBS,;t t
13159 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13160 s,@build@,$build,;t t
13161 s,@build_cpu@,$build_cpu,;t t
13162 s,@build_vendor@,$build_vendor,;t t
13163 s,@build_os@,$build_os,;t t
13164 s,@build_noncanonical@,$build_noncanonical,;t t
13165 s,@host_noncanonical@,$host_noncanonical,;t t
13166 s,@target_noncanonical@,$target_noncanonical,;t t
13167 s,@host@,$host,;t t
13168 s,@host_cpu@,$host_cpu,;t t
13169 s,@host_vendor@,$host_vendor,;t t
13170 s,@host_os@,$host_os,;t t
13171 s,@target@,$target,;t t
13172 s,@target_cpu@,$target_cpu,;t t
13173 s,@target_vendor@,$target_vendor,;t t
13174 s,@target_os@,$target_os,;t t
13175 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13176 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13177 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13179 s,@LN_S@,$LN_S,;t t
13180 s,@build_libsubdir@,$build_libsubdir,;t t
13181 s,@build_subdir@,$build_subdir,;t t
13182 s,@host_subdir@,$host_subdir,;t t
13183 s,@target_subdir@,$target_subdir,;t t
13185 s,@CFLAGS@,$CFLAGS,;t t
13186 s,@LDFLAGS@,$LDFLAGS,;t t
13187 s,@CPPFLAGS@,$CPPFLAGS,;t t
13188 s,@ac_ct_CC@,$ac_ct_CC,;t t
13189 s,@EXEEXT@,$EXEEXT,;t t
13190 s,@OBJEXT@,$OBJEXT,;t t
13192 s,@CXXFLAGS@,$CXXFLAGS,;t t
13193 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13194 s,@GNATBIND@,$GNATBIND,;t t
13195 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13196 s,@GNATMAKE@,$GNATMAKE,;t t
13197 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13198 s,@do_compare@,$do_compare,;t t
13199 s,@gmplibs@,$gmplibs,;t t
13200 s,@gmpinc@,$gmpinc,;t t
13201 s,@ppllibs@,$ppllibs,;t t
13202 s,@pplinc@,$pplinc,;t t
13203 s,@clooglibs@,$clooglibs,;t t
13204 s,@clooginc@,$clooginc,;t t
13205 s,@stage1_languages@,$stage1_languages,;t t
13206 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13207 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13208 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13209 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13210 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13211 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13212 s,@tooldir@,$tooldir,;t t
13213 s,@build_tooldir@,$build_tooldir,;t t
13214 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13215 s,@GDB_TK@,$GDB_TK,;t t
13216 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13217 s,@build_configargs@,$build_configargs,;t t
13218 s,@build_configdirs@,$build_configdirs,;t t
13219 s,@host_configargs@,$host_configargs,;t t
13220 s,@configdirs@,$configdirs,;t t
13221 s,@target_configargs@,$target_configargs,;t t
13222 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13223 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13224 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13225 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13226 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13227 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13228 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13229 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13230 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13231 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13232 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13233 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13234 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13235 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13236 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13237 s,@config_shell@,$config_shell,;t t
13238 s,@YACC@,$YACC,;t t
13239 s,@BISON@,$BISON,;t t
13242 s,@FLEX@,$FLEX,;t t
13243 s,@MAKEINFO@,$MAKEINFO,;t t
13244 s,@EXPECT@,$EXPECT,;t t
13245 s,@RUNTEST@,$RUNTEST,;t t
13248 s,@DLLTOOL@,$DLLTOOL,;t t
13250 s,@LIPO@,$LIPO,;t t
13252 s,@RANLIB@,$RANLIB,;t t
13253 s,@STRIP@,$STRIP,;t t
13254 s,@WINDRES@,$WINDRES,;t t
13255 s,@WINDMC@,$WINDMC,;t t
13256 s,@OBJCOPY@,$OBJCOPY,;t t
13257 s,@OBJDUMP@,$OBJDUMP,;t t
13258 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13259 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13260 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13261 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13262 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13263 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13264 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13265 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13266 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13267 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13268 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13269 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13270 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13271 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13272 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13273 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13274 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13275 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13276 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13277 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13278 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13279 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13280 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13281 s,@MAINT@,$MAINT,;t t
13282 s,@stage1_cflags@,$stage1_cflags,;t t
13283 s,@stage1_checking@,$stage1_checking,;t t
13284 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13285 s,@datarootdir@,$datarootdir,;t t
13286 s,@docdir@,$docdir,;t t
13287 s,@pdfdir@,$pdfdir,;t t
13288 s,@htmldir@,$htmldir,;t t
13289 s,@LIBOBJS@,$LIBOBJS,;t t
13290 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13291 /@serialization_dependencies@/r $serialization_dependencies
13292 s,@serialization_dependencies@,,;t t
13293 /@host_makefile_frag@/r $host_makefile_frag
13294 s,@host_makefile_frag@,,;t t
13295 /@target_makefile_frag@/r $target_makefile_frag
13296 s,@target_makefile_frag@,,;t t
13297 /@alphaieee_frag@/r $alphaieee_frag
13298 s,@alphaieee_frag@,,;t t
13299 /@ospace_frag@/r $ospace_frag
13300 s,@ospace_frag@,,;t t
13305 cat >>$CONFIG_STATUS <<\_ACEOF
13306 # Split the substitutions into bite-sized pieces for seds with
13307 # small command number limits, like on Digital OSF/1 and HP-UX.
13308 ac_max_sed_lines
=48
13309 ac_sed_frag
=1 # Number of current file.
13310 ac_beg
=1 # First line for current file.
13311 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13314 while $ac_more_lines; do
13315 if test $ac_beg -gt 1; then
13316 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13318 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13320 if test ! -s $tmp/subs.frag
; then
13321 ac_more_lines
=false
13323 # The purpose of the label and of the branching condition is to
13324 # speed up the sed processing (if there are no `@' at all, there
13325 # is no need to browse any of the substitutions).
13326 # These are the two extra sed commands mentioned above.
13328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13329 if test -z "$ac_sed_cmds"; then
13330 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13332 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13334 ac_sed_frag
=`expr $ac_sed_frag + 1`
13336 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13339 if test -z "$ac_sed_cmds"; then
13342 fi # test -n "$CONFIG_FILES"
13345 cat >>$CONFIG_STATUS <<\_ACEOF
13346 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13347 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13349 - |
*:- |
*:-:* ) # input from stdin
13351 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13352 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13353 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13354 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13355 * ) ac_file_in
=$ac_file.
in ;;
13358 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13359 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13360 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13361 X"$ac_file" : 'X\(//\)[^/]' \| \
13362 X"$ac_file" : 'X\(//\)$' \| \
13363 X"$ac_file" : 'X\(/\)' \| \
13364 . : '\(.\)' 2>/dev/null ||
13366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13368 /^X\(\/\/\)$/{ s//\1/; q; }
13369 /^X\(\/\).*/{ s//\1/; q; }
13371 { if $as_mkdir_p; then
13376 while test ! -d "$as_dir"; do
13377 as_dirs
="$as_dir $as_dirs"
13378 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13380 X"$as_dir" : 'X\(//\)[^/]' \| \
13381 X"$as_dir" : 'X\(//\)$' \| \
13382 X"$as_dir" : 'X\(/\)' \| \
13383 . : '\(.\)' 2>/dev/null ||
13385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13387 /^X\(\/\/\)$/{ s//\1/; q; }
13388 /^X\(\/\).*/{ s//\1/; q; }
13391 test ! -n "$as_dirs" || mkdir
$as_dirs
13392 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13393 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13394 { (exit 1); exit 1; }; }; }
13398 if test "$ac_dir" != .
; then
13399 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13400 # A "../" for each directory in $ac_dir_suffix.
13401 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13403 ac_dir_suffix
= ac_top_builddir
=
13407 .
) # No --srcdir option. We are building in place.
13409 if test -z "$ac_top_builddir"; then
13412 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13414 [\\/]* | ?
:[\\/]* ) # Absolute path.
13415 ac_srcdir
=$srcdir$ac_dir_suffix;
13416 ac_top_srcdir
=$srcdir ;;
13417 *) # Relative path.
13418 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13419 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13422 # Do not use `cd foo && pwd` to compute absolute paths, because
13423 # the directories may not exist.
13425 .
) ac_abs_builddir
="$ac_dir";;
13428 .
) ac_abs_builddir
=`pwd`;;
13429 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13430 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13433 case $ac_abs_builddir in
13434 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13436 case ${ac_top_builddir}.
in
13437 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13438 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13439 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13442 case $ac_abs_builddir in
13443 .
) ac_abs_srcdir
=$ac_srcdir;;
13446 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13447 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13448 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13451 case $ac_abs_builddir in
13452 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13454 case $ac_top_srcdir in
13455 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13456 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13457 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13463 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13464 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13467 if test x
"$ac_file" != x-
; then
13468 { echo "$as_me:$LINENO: creating $ac_file" >&5
13469 echo "$as_me: creating $ac_file" >&6;}
13472 # Let's still pretend it is `configure' which instantiates (i.e., don't
13473 # use $as_me), people would be surprised to read:
13474 # /* config.h. Generated by config.status. */
13475 if test x
"$ac_file" = x-
; then
13478 configure_input
="$ac_file. "
13480 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13481 sed 's,.*/,,'` by configure."
13483 # First look for the input files in the build tree, otherwise in the
13485 ac_file_inputs
=`IFS=:
13486 for f in $ac_file_in; do
13488 -) echo $tmp/stdin ;;
13490 # Absolute (can't be DOS-style, as IFS=:)
13491 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13492 echo "$as_me: error: cannot find input file: $f" >&2;}
13493 { (exit 1); exit 1; }; }
13496 if test -f "$f"; then
13499 elif test -f "$srcdir/$f"; then
13504 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13505 echo "$as_me: error: cannot find input file: $f" >&2;}
13506 { (exit 1); exit 1; }; }
13509 done` ||
{ (exit 1); exit 1; }
13511 cat >>$CONFIG_STATUS <<_ACEOF
13515 cat >>$CONFIG_STATUS <<\_ACEOF
13517 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13518 s
,@configure_input@
,$configure_input,;t t
13519 s
,@srcdir@
,$ac_srcdir,;t t
13520 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13521 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13522 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13523 s
,@builddir@
,$ac_builddir,;t t
13524 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13525 s
,@top_builddir@
,$ac_top_builddir,;t t
13526 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13527 s
,@INSTALL@
,$ac_INSTALL,;t t
13528 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13530 if test x"$ac_file" != x-; then
13531 mv $tmp/out $ac_file
13540 cat >>$CONFIG_STATUS <<\_ACEOF
13542 { (exit 0); exit 0; }
13544 chmod +x $CONFIG_STATUS
13545 ac_clean_files=$ac_clean_files_save
13548 # configure is writing to config.log, and then calls config.status.
13549 # config.status does its own redirection, appending to config.log.
13550 # Unfortunately, on DOS this fails, as config.log is still kept open
13551 # by configure, so config.status won't be able to write to it; its
13552 # output is simply discarded. So we exec the FD to /dev/null,
13553 # effectively closing config.log, so it can be properly (re)opened and
13554 # appended to by config.status. When coming back to configure, we
13555 # need to make the FD available again.
13556 if test "$no_create" != yes; then
13558 ac_config_status_args=
13559 test "$silent" = yes &&
13560 ac_config_status_args="$ac_config_status_args --quiet"
13562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13565 # would make configure fail if this is the last instruction.
13566 $ac_cs_success || { (exit 1); exit 1; }