2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc extra_mpfr_configure_flags 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 --disable-ppl-version-check disable check
for PPL version
939 --disable-cloog-version-check disable check
for CLooG version
940 --enable-stage1-languages[=all
] choose additional languages to build during
941 stage1. Mostly useful
for compiler development.
942 --enable-objc-gc enable use of Boehm
's garbage collector with the
943 GNU Objective-C runtime
944 --enable-bootstrap enable bootstrapping [yes if native build]
945 --enable-serial-[{host,target,build}-]configure
946 force sequential configuration of
947 sub-packages for the host, target or build
948 machine, or all sub-packages
949 --enable-maintainer-mode enable make rules and dependencies not useful
950 (and sometimes confusing) to the casual installer
951 --enable-stage1-checking[=all] choose additional checking for stage1
953 --enable-werror enable -Werror in bootstrap stage2 and later
956 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
957 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
958 --with-build-libsubdir=DIR Directory where to find libraries for build system
959 --with-mpfr-dir=PATH this option has been REMOVED
960 --with-mpfr=PATH specify prefix directory for installed MPFR package.
961 Equivalent to --with-mpfr-include=PATH/include
962 plus --with-mpfr-lib=PATH/lib
963 --with-mpfr-include=PATH
964 specify directory for installed MPFR include files
965 --with-mpfr-lib=PATH specify directory for the installed MPFR library
966 --with-gmp-dir=PATH this option has been REMOVED
967 --with-gmp=PATH specify prefix directory for the installed GMP package.
968 Equivalent to --with-gmp-include=PATH/include
969 plus --with-gmp-lib=PATH/lib
970 --with-gmp-include=PATH specify directory for installed GMP include files
971 --with-gmp-lib=PATH specify directory for the installed GMP library
972 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
973 when linking with PPL
974 --with-ppl=PATH Specify prefix directory for the installed PPL package
975 Equivalent to --with-ppl-include=PATH/include
976 plus --with-ppl-lib=PATH/lib
977 --with-ppl-include=PATH Specify directory for installed PPL include files
978 --with-ppl-lib=PATH Specify the directory for the installed PPL library
979 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
980 Equivalent to --with-cloog-include=PATH/include
981 plus --with-cloog-lib=PATH/lib
982 --with-cloog-include=PATH Specify directory for installed CLooG include files
983 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
984 --with-build-sysroot=SYSROOT
985 use sysroot as the system root during the build
986 --with-debug-prefix-map='A
=B C
=D ...
'
987 map A to B, C to D ... in debug information
988 --with-build-time-tools=PATH
989 use given path to find target tools during the build
990 --with-datarootdir use datarootdir as the data root directory.
991 --with-docdir install documentation in this directory.
992 --with-pdfdir install pdf in this directory.
993 --with-htmldir install html in this directory.
995 Some influential environment variables:
996 CC C compiler command
997 CFLAGS C compiler flags
998 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
999 nonstandard directory <lib dir>
1000 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1001 headers in a nonstandard directory <include dir>
1002 CXX C++ compiler command
1003 CXXFLAGS C++ compiler flags
1006 DLLTOOL DLLTOOL for the host
1008 LIPO LIPO for the host
1010 RANLIB RANLIB for the host
1011 STRIP STRIP for the host
1012 WINDRES WINDRES for the host
1013 WINDMC WINDMC for the host
1014 OBJCOPY OBJCOPY for the host
1015 OBJDUMP OBJDUMP for the host
1025 GFORTRAN for the target
1031 DLLTOOL for the target
1039 OBJDUMP for the target
1041 RANLIB for the target
1043 STRIP for the target
1045 WINDRES for the target
1047 WINDMC for the target
1049 Use these variables to override the choices made by `configure' or to
help
1050 it to
find libraries and programs with nonstandard names
/locations.
1055 if test "$ac_init_help" = "recursive"; then
1056 # If there are subdirs, report their specific --help.
1058 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1059 test -d $ac_dir ||
continue
1062 if test "$ac_dir" != .
; then
1063 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1064 # A "../" for each directory in $ac_dir_suffix.
1065 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1067 ac_dir_suffix
= ac_top_builddir
=
1071 .
) # No --srcdir option. We are building in place.
1073 if test -z "$ac_top_builddir"; then
1076 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1078 [\\/]* | ?
:[\\/]* ) # Absolute path.
1079 ac_srcdir
=$srcdir$ac_dir_suffix;
1080 ac_top_srcdir
=$srcdir ;;
1082 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1083 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1086 # Do not use `cd foo && pwd` to compute absolute paths, because
1087 # the directories may not exist.
1089 .
) ac_abs_builddir
="$ac_dir";;
1092 .
) ac_abs_builddir
=`pwd`;;
1093 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1094 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1097 case $ac_abs_builddir in
1098 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1100 case ${ac_top_builddir}.
in
1101 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1102 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1103 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1106 case $ac_abs_builddir in
1107 .
) ac_abs_srcdir
=$ac_srcdir;;
1110 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1111 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1112 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1115 case $ac_abs_builddir in
1116 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1118 case $ac_top_srcdir in
1119 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1120 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1121 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu
; then
1129 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1130 elif test -f $ac_srcdir/configure
; then
1132 $SHELL $ac_srcdir/configure
--help=recursive
1133 elif test -f $ac_srcdir/configure.ac ||
1134 test -f $ac_srcdir/configure.
in; then
1136 $ac_configure --help
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1144 test -n "$ac_init_help" && exit 0
1145 if $ac_init_version; then
1148 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1149 This configure
script is free software
; the Free Software Foundation
1150 gives unlimited permission to copy
, distribute and modify it.
1156 This file contains any messages produced by compilers while
1157 running configure, to aid debugging if configure makes a mistake.
1159 It was created by $as_me, which was
1160 generated by GNU Autoconf 2.59. Invocation command line was
1171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1183 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1194 test -z "$as_dir" && as_dir
=.
1195 echo "PATH: $as_dir"
1210 # Keep a trace of the command line.
1211 # Strip out --no-create and --no-recursion so they do not pile up.
1212 # Strip out --silent because we don't want to record it for future runs.
1213 # Also quote any args containing shell meta-characters.
1214 # Make two passes to allow for proper duplicate-argument suppression.
1219 ac_must_keep_next
=false
1225 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1227 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1233 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1235 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1236 if test $ac_must_keep_next = true
; then
1237 ac_must_keep_next
=false
# Got value, back to normal.
1240 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1241 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1242 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1243 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1244 case "$ac_configure_args0 " in
1245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1248 -* ) ac_must_keep_next
=true
;;
1251 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1252 # Get rid of the leading space.
1258 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1259 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1261 # When interrupted or exit'd, cleanup temporary files, and complete
1262 # config.log. We remove comments because anyway the quotes in there
1263 # would cause problems or look ugly.
1264 # WARNING: Be sure not to use single quotes in there, as some shells,
1265 # such as our DU 5.0 friend, will then `close' the trap.
1266 trap 'exit_status=$?
1267 # Save into config.log some information that might help in debugging.
1272 ## ---------------- ##
1273 ## Cache variables. ##
1274 ## ---------------- ##
1277 # The following way of writing the cache mishandles newlines in values,
1280 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1283 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1295 ## ----------------- ##
1296 ## Output variables. ##
1297 ## ----------------- ##
1300 for ac_var in $ac_subst_vars
1302 eval ac_val=$`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -n "$ac_subst_files"; then
1314 for ac_var in $ac_subst_files
1316 eval ac_val=$`echo $ac_var`
1317 echo "$ac_var='"'"'$ac_val'"'"'"
1322 if test -s confdefs.h; then
1329 sed "/^$/d" confdefs.h | sort
1332 test "$ac_signal" != 0 &&
1333 echo "$as_me: caught signal $ac_signal"
1334 echo "$as_me: exit $exit_status"
1336 rm -f core *.core &&
1337 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1340 for ac_signal
in 1 2 13 15; do
1341 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1346 rm -rf conftest
* confdefs.h
1347 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1350 # Predefined preprocessor variables.
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_NAME "$PACKAGE_NAME"
1357 cat >>confdefs.h
<<_ACEOF
1358 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362 cat >>confdefs.h
<<_ACEOF
1363 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1367 cat >>confdefs.h
<<_ACEOF
1368 #define PACKAGE_STRING "$PACKAGE_STRING"
1372 cat >>confdefs.h
<<_ACEOF
1373 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377 # Let the site file select an alternate cache file if it wants to.
1378 # Prefer explicitly selected file to automatically selected ones.
1379 if test -z "$CONFIG_SITE"; then
1380 if test "x$prefix" != xNONE
; then
1381 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1383 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1386 for ac_site_file
in $CONFIG_SITE; do
1387 if test -r "$ac_site_file"; then
1388 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1389 echo "$as_me: loading site script $ac_site_file" >&6;}
1390 sed 's/^/| /' "$ac_site_file" >&5
1395 if test -r "$cache_file"; then
1396 # Some versions of bash will fail to source /dev/null (special
1397 # files actually), so we avoid doing that.
1398 if test -f "$cache_file"; then
1399 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1400 echo "$as_me: loading cache $cache_file" >&6;}
1402 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1403 *) . .
/$cache_file;;
1407 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1408 echo "$as_me: creating cache $cache_file" >&6;}
1412 # Check that the precious variables saved in the cache have kept the same
1414 ac_cache_corrupted
=false
1415 for ac_var
in `(set) 2>&1 |
1416 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1417 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1418 eval ac_new_set
=\
$ac_env_${ac_var}_set
1419 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1420 eval ac_new_val
="\$ac_env_${ac_var}_value"
1421 case $ac_old_set,$ac_new_set in
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1425 ac_cache_corrupted
=: ;;
1427 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1429 ac_cache_corrupted
=: ;;
1432 if test "x$ac_old_val" != "x$ac_new_val"; then
1433 # differences in whitespace do not lead to failure.
1434 ac_old_val_w
=`echo x $ac_old_val`
1435 ac_new_val_w
=`echo x $ac_new_val`
1436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1437 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1438 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1439 ac_cache_corrupted
=:
1441 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1442 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1443 eval $ac_var=\
$ac_old_val
1445 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1446 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1447 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1448 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1451 # Pass precious variables to config.status.
1452 if test "$ac_new_set" = set; then
1454 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1455 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1456 *) ac_arg
=$ac_var=$ac_new_val ;;
1458 case " $ac_configure_args " in
1459 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1460 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1464 if $ac_cache_corrupted; then
1465 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1466 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1467 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1468 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1469 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1470 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1471 { (exit 1); exit 1; }; }
1475 ac_cpp
='$CPP $CPPFLAGS'
1476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1504 # if PWD already has a value, it is probably wrong.
1505 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1507 # Export original configure arguments for use by sub-configures.
1508 # Quote arguments with shell meta charatcers.
1509 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1510 set -- "$progname" "$@"
1514 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1515 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1516 # if the argument is of the form -foo=baz, quote the baz part only
1517 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1520 # Add the quoted argument to the list.
1521 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1523 if test "$silent" = yes; then
1524 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1526 # Remove the initial space we just introduced and, as these will be
1527 # expanded by make, quote '$'.
1528 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1531 # Find the build, host, and target systems.
1533 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1534 if test -f $ac_dir/install-sh
; then
1536 ac_install_sh
="$ac_aux_dir/install-sh -c"
1538 elif test -f $ac_dir/install.sh
; then
1540 ac_install_sh
="$ac_aux_dir/install.sh -c"
1542 elif test -f $ac_dir/shtool
; then
1544 ac_install_sh
="$ac_aux_dir/shtool install -c"
1548 if test -z "$ac_aux_dir"; then
1549 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1550 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1551 { (exit 1); exit 1; }; }
1553 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1554 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1555 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1557 # Make sure we can run config.sub.
1558 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1559 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: checking build system type" >&5
1564 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565 if test "${ac_cv_build+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_build_alias
=$build_alias
1569 test -z "$ac_cv_build_alias" &&
1570 ac_cv_build_alias
=`$ac_config_guess`
1571 test -z "$ac_cv_build_alias" &&
1572 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574 { (exit 1); exit 1; }; }
1575 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582 echo "${ECHO_T}$ac_cv_build" >&6
1584 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 case ${build_alias} in
1590 "") build_noncanonical
=${build} ;;
1591 *) build_noncanonical
=${build_alias} ;;
1596 case ${host_alias} in
1597 "") host_noncanonical
=${build_noncanonical} ;;
1598 *) host_noncanonical
=${host_alias} ;;
1603 case ${target_alias} in
1604 "") target_noncanonical
=${host_noncanonical} ;;
1605 *) target_noncanonical
=${target_alias} ;;
1611 test "$host_noncanonical" = "$target_noncanonical" &&
1612 test "$program_prefix$program_suffix$program_transform_name" = \
1614 program_transform_name
=s
,y
,y
,
1616 echo "$as_me:$LINENO: checking host system type" >&5
1617 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1618 if test "${ac_cv_host+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_host_alias
=$host_alias
1622 test -z "$ac_cv_host_alias" &&
1623 ac_cv_host_alias
=$ac_cv_build_alias
1624 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1630 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1631 echo "${ECHO_T}$ac_cv_host" >&6
1633 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638 echo "$as_me:$LINENO: checking target system type" >&5
1639 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1640 if test "${ac_cv_target+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 ac_cv_target_alias
=$target_alias
1644 test "x$ac_cv_target_alias" = "x" &&
1645 ac_cv_target_alias
=$ac_cv_host_alias
1646 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1647 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1648 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1649 { (exit 1); exit 1; }; }
1652 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1653 echo "${ECHO_T}$ac_cv_target" >&6
1654 target
=$ac_cv_target
1655 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1656 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1657 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1660 # The aliases save the names the user supplied, while $host etc.
1661 # will get canonicalized.
1662 test -n "$target_alias" &&
1663 test "$program_prefix$program_suffix$program_transform_name" = \
1665 program_prefix
=${target_alias}-
1666 test "$program_prefix" != NONE
&&
1667 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1668 # Use a double $ so make ignores it.
1669 test "$program_suffix" != NONE
&&
1670 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1671 # Double any \ or $. echo might interpret backslashes.
1672 # By default was `s,x,x', remove it if useless.
1673 cat <<\_ACEOF
>conftest.
sed
1674 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1676 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1681 # Get 'install' or 'install-sh' and its variants.
1682 # Find a good install program. We prefer a C program (faster),
1683 # so one script is as good as another. But avoid the broken or
1684 # incompatible versions:
1685 # SysV /etc/install, /usr/sbin/install
1686 # SunOS /usr/etc/install
1687 # IRIX /sbin/install
1689 # AmigaOS /C/install, which installs bootblocks on floppy discs
1690 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1691 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1692 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1693 # OS/2's system install, which has a completely different semantic
1694 # ./install, which can be erroneously created by make from ./install.sh.
1695 # Reject install programs that cannot install multiple files.
1696 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1697 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1698 if test -z "$INSTALL"; then
1699 if test "${ac_cv_path_install+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir
=.
1707 # Account for people who put trailing slashes in PATH elements.
1709 .
/ | .
// |
/cC
/* | \
1710 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1711 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1714 # OSF1 and SCO ODT 3.0 have their own names for install.
1715 # Don't use installbsd from OSF since it installs stuff as root
1717 for ac_prog
in ginstall scoinst
install; do
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1720 if test $ac_prog = install &&
1721 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1722 # AIX install. It has an incompatible calling convention.
1724 elif test $ac_prog = install &&
1725 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1726 # program-specific install script used by HP pwplus--don't use.
1729 rm -rf conftest.one conftest.two conftest.dir
1730 echo one
> conftest.one
1731 echo two
> conftest.two
1733 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1734 test -s conftest.one
&& test -s conftest.two
&&
1735 test -s conftest.dir
/conftest.one
&&
1736 test -s conftest.dir
/conftest.two
1738 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1749 rm -rf conftest.one conftest.two conftest.dir
1752 if test "${ac_cv_path_install+set}" = set; then
1753 INSTALL
=$ac_cv_path_install
1755 # As a last resort, use the slow shell script. Don't cache a
1756 # value for INSTALL within a source directory, because that will
1757 # break other packages using the cache if that directory is
1758 # removed, or if the value is a relative name.
1759 INSTALL
=$ac_install_sh
1762 echo "$as_me:$LINENO: result: $INSTALL" >&5
1763 echo "${ECHO_T}$INSTALL" >&6
1765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766 # It thinks the first close brace ends the variable substitution.
1767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1771 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1773 echo "$as_me:$LINENO: checking whether ln works" >&5
1774 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1775 if test "${acx_cv_prog_LN+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 rm -f conftestdata_t
1779 echo >conftestdata_f
1780 if ln conftestdata_f conftestdata_t
2>/dev
/null
1786 rm -f conftestdata_f conftestdata_t
1789 if test $acx_cv_prog_LN = no
; then
1791 echo "$as_me:$LINENO: result: no, using $LN" >&5
1792 echo "${ECHO_T}no, using $LN" >&6
1794 LN
="$acx_cv_prog_LN"
1795 echo "$as_me:$LINENO: result: yes" >&5
1796 echo "${ECHO_T}yes" >&6
1799 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1800 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1802 if test "$LN_S" = "ln -s"; then
1803 echo "$as_me:$LINENO: result: yes" >&5
1804 echo "${ECHO_T}yes" >&6
1806 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1807 echo "${ECHO_T}no, using $LN_S" >&6
1811 ### we might need to use some other shell than /bin/sh for running subshells
1812 ### If we are on Windows, search for the shell. This will permit people
1813 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1814 ### without also having to set CONFIG_SHELL. This code will work when
1815 ### using bash, which sets OSTYPE.
1818 if test x
${CONFIG_SHELL} = x
; then
1819 if test ! -f /bin
/sh
; then
1820 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1821 CONFIG_SHELL
=${SHELL}
1824 for prog
in sh sh.exe bash bash.exe
; do
1825 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1826 for dir
in $PATH; do
1827 test -z "$dir" && dir
=.
1828 if test -f $dir/$prog; then
1829 CONFIG_SHELL
=$dir/$prog
1835 test -n "${CONFIG_SHELL}" && break
1843 config_shell
=${CONFIG_SHELL-/bin/sh}
1845 moveifchange
=${srcdir}/move-if-change
1847 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1849 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1851 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1852 INSTALL
="${srcpwd}/install-sh -c"
1855 # Set srcdir to "." if that's what it is.
1856 # This is important for multilib support.
1858 if test "${pwd}" = "${srcpwd}" ; then
1866 ### To add a new directory to the tree, first choose whether it is a target
1867 ### or a host dependent tool. Then put it into the appropriate list
1868 ### (library or tools, host or target), doing a dependency sort.
1870 # Subdirs will be configured in the order listed in build_configdirs,
1871 # configdirs, or target_configdirs; see the serialization section below.
1873 # Dependency sorting is only needed when *configuration* must be done in
1874 # a particular order. In all cases a dependency should be specified in
1875 # the Makefile, whether or not it's implicitly specified here.
1877 # Double entries in build_configdirs, configdirs, or target_configdirs may
1878 # cause circular dependencies and break everything horribly.
1880 # these library is used by various programs built for the build
1883 build_libs
="build-libiberty"
1885 # these tools are built for the build environment
1886 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1888 # these libraries are used by various programs built for the host environment
1890 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog libiconv"
1892 # these tools are built for the host environment
1893 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1894 # know that we are building the simulator.
1895 # binutils, gas and ld appear in that order because it makes sense to run
1896 # "make check" in that particular order.
1897 # If --enable-gold is used, "gold" will replace "ld".
1898 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"
1900 # libgcj represents the runtime libraries only used by gcj.
1901 libgcj
="target-libffi \
1906 # these libraries are built for the target environment, and are built after
1907 # the host libraries and the host tools (which may be a cross compiler)
1909 target_libraries
="target-libgcc \
1914 target-libstdc++-v3 \
1917 target-libgfortran \
1923 # these tools are built using the target libraries, and are intended to
1924 # run only in the target environment
1926 # note: any program that *uses* libraries that are in the "target_libraries"
1927 # list belongs in this list. those programs are also very likely
1928 # candidates for the "native_only" list which follows
1930 target_tools
="target-examples target-groff target-gperf target-rda"
1932 ################################################################################
1934 ## All tools belong in one of the four categories, and are assigned above
1935 ## We assign ${configdirs} this way to remove all embedded newlines. This
1936 ## is important because configure will choke if they ever get through.
1937 ## ${configdirs} is directories we build using the host tools.
1938 ## ${target_configdirs} is directories we build using the target tools.
1939 configdirs
=`echo ${host_libs} ${host_tools}`
1940 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1941 build_configdirs
=`echo ${build_libs} ${build_tools}`
1945 ################################################################################
1947 srcname
="gnu development package"
1949 # This gets set non-empty for some net releases of packages.
1952 # Define is_cross_compiler to save on calls to 'test'.
1954 if test x
"${host}" = x
"${target}" ; then
1955 is_cross_compiler
=no
1957 is_cross_compiler
=yes
1960 # Find the build and target subdir names.
1962 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1963 # have matching libraries, they should use host libraries: Makefile.tpl
1964 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1965 # However, they still use the build modules, because the corresponding
1966 # host modules (e.g. bison) are only built for the host when bootstrap
1968 # - build_subdir is where we find build modules, and never changes.
1969 # - build_libsubdir is where we find build libraries, and can be overridden.
1971 # Prefix 'build-' so this never conflicts with target_subdir.
1972 build_subdir
="build-${build_noncanonical}"
1974 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1975 if test "${with_build_libsubdir+set}" = set; then
1976 withval
="$with_build_libsubdir"
1977 build_libsubdir
="$withval"
1979 build_libsubdir
="$build_subdir"
1981 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1982 if ( test $srcdir = .
&& test -d gcc
) \
1983 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1984 host_subdir
="host-${host_noncanonical}"
1989 target_subdir
=${target_noncanonical}
1992 # Skipdirs are removed silently.
1994 # Noconfigdirs are removed loudly.
1998 # Make sure we don't let GNU ld be added if we didn't want it.
1999 if test x
$with_gnu_ld = xno
; then
2001 noconfigdirs
="$noconfigdirs ld gold"
2005 # Make sure we don't let GNU as be added if we didn't want it.
2006 if test x
$with_gnu_as = xno
; then
2008 noconfigdirs
="$noconfigdirs gas"
2011 # some tools are so dependent upon X11 that if we're not building with X,
2012 # it's not even worth trying to configure, much less build, that tool.
2015 yes |
"") ;; # the default value for this tree is that X11 is available
2017 skipdirs
="${skipdirs} tk itcl libgui"
2018 # We won't be able to build gdbtk without X.
2021 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2024 # Some tools are only suitable for building in a "native" situation.
2025 # Remove these if host!=target.
2026 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"
2028 # Similarly, some are only suitable for cross toolchains.
2029 # Remove these if host=target.
2030 cross_only
="target-libgloss target-newlib target-opcodes"
2032 case $is_cross_compiler in
2033 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2034 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2037 # If both --with-headers and --with-libs are specified, default to
2039 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2040 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2041 if test x
"${with_newlib}" = x
; then
2046 # Recognize --with-newlib/--without-newlib.
2047 case ${with_newlib} in
2048 no
) skipdirs
="${skipdirs} target-newlib" ;;
2049 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2052 # Handle --enable-gold.
2054 # Check whether --enable-gold or --disable-gold was given.
2055 if test "${enable_gold+set}" = set; then
2056 enableval
="$enable_gold"
2057 ENABLE_GOLD
=$enableval
2061 if test "${ENABLE_GOLD}" = "yes"; then
2062 # Check for ELF target.
2065 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2066 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2067 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2069 *-*-linux*aout
* |
*-*-linux*oldld
*)
2077 if test "$is_elf" = "yes"; then
2078 # Check for target supported by gold.
2080 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-*)
2081 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2087 # Configure extra directories which are host specific
2091 configdirs
="$configdirs libtermcap" ;;
2094 # A target can indicate whether a language isn't supported for some reason.
2095 # Only spaces may be used in this macro; not newlines or tabs.
2096 unsupported_languages
=
2098 # Remove more programs from consideration, based on the host or
2099 # target this usually means that a port of the program doesn't
2104 noconfigdirs
="$noconfigdirs byacc"
2106 i
[3456789]86-*-vsta)
2107 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2109 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2110 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2113 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2115 i
[3456789]86-*-mingw32*)
2116 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2117 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2119 i
[3456789]86-*-beos*)
2120 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2123 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2126 noconfigdirs
="$noconfigdirs rcs"
2129 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2132 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2137 # Check whether --enable-libada or --disable-libada was given.
2138 if test "${enable_libada+set}" = set; then
2139 enableval
="$enable_libada"
2140 ENABLE_LIBADA
=$enableval
2144 if test "${ENABLE_LIBADA}" != "yes" ; then
2145 noconfigdirs
="$noconfigdirs gnattools"
2148 # Check whether --enable-libssp or --disable-libssp was given.
2149 if test "${enable_libssp+set}" = set; then
2150 enableval
="$enable_libssp"
2151 ENABLE_LIBSSP
=$enableval
2156 # Save it here so that, even in case of --enable-libgcj, if the Java
2157 # front-end isn't enabled, we still get libgcj disabled.
2158 libgcj_saved
=$libgcj
2159 case $enable_libgcj in
2161 # If we reset it here, it won't get added to noconfigdirs in the
2162 # target-specific build rules, so it will be forcibly enabled
2163 # (unless the Java language itself isn't enabled).
2167 # Make sure we get it printed in the list of not supported target libs.
2168 noconfigdirs
="$noconfigdirs ${libgcj}"
2173 # Disable libmudflap on some systems.
2174 if test x
$enable_libmudflap = x
; then
2176 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2177 # Enable libmudflap by default in GNU and friends.
2180 # Enable libmudflap by default in FreeBSD.
2183 # Disable it by default everywhere else.
2184 noconfigdirs
="$noconfigdirs target-libmudflap"
2189 # Disable libgomp on non POSIX hosted systems.
2190 if test x
$enable_libgomp = x
; then
2191 # Enable libgomp by default on hosted POSIX systems.
2193 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2195 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2197 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2199 *-*-darwin* |
*-*-aix*)
2202 noconfigdirs
="$noconfigdirs target-libgomp"
2207 # Default libgloss CPU subdirectory.
2208 libgloss_dir
="$target_cpu"
2212 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2215 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2216 noconfigdirs
="$noconfigdirs sim target-rda"
2218 i
[3456789]86-*-darwin* | x86_64-
*-darwin[912]*)
2219 noconfigdirs
="$noconfigdirs ld gas gprof"
2220 noconfigdirs
="$noconfigdirs sim target-rda"
2223 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2224 noconfigdirs
="$noconfigdirs sim target-rda"
2225 noconfigdirs
="$noconfigdirs ${libgcj}"
2227 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2228 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2231 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2232 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2233 && test -f /usr
/local
/include
/gmp.h
; then
2237 # Skip some stuff that's unsupported on some FreeBSD configurations.
2242 noconfigdirs
="$noconfigdirs ${libgcj}"
2247 # Remove unsupported stuff on all kaOS configurations.
2248 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2249 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2250 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2251 noconfigdirs
="$noconfigdirs target-libgloss"
2254 # Skip some stuff on all NetBSD configurations.
2255 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2257 # Skip some stuff that's unsupported on some NetBSD configurations.
2259 i
*86-*-netbsdelf*) ;;
2260 arm
*-*-netbsdelf*) ;;
2262 noconfigdirs
="$noconfigdirs ${libgcj}"
2267 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2270 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2272 # The tpf target doesn't support gdb yet.
2274 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2277 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2280 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2283 # ld works, but does not support shared libraries.
2284 # newlib is not 64 bit ready. I'm not sure about fileutils.
2285 # gas doesn't generate exception information.
2286 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2289 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2292 # newlib is not 64 bit ready
2293 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2296 # newlib is not 64 bit ready
2297 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2300 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2303 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2305 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2306 noconfigdirs
="$noconfigdirs ${libgcj}"
2307 noconfigdirs
="$noconfigdirs target-examples"
2308 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2309 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2310 noconfigdirs
="$noconfigdirs expect dejagnu"
2311 # the C++ libraries don't build on top of CE's C libraries
2312 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2313 noconfigdirs
="$noconfigdirs target-newlib"
2315 *-*-cygwin*) ;; # keep gdb and readline
2316 *) noconfigdirs
="$noconfigdirs gdb readline"
2322 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2326 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2327 noconfigdirs
="$noconfigdirs ${libgcj}"
2330 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2331 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2334 arm
*-*-linux-gnueabi)
2335 noconfigdirs
="$noconfigdirs target-qthreads"
2336 case ${with_newlib} in
2337 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2342 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2346 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2349 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2352 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2355 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2358 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2361 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2364 noconfigdirs
="$noconfigdirs gdb"
2365 if test x
${is_cross_compiler} != xno
; then
2366 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2369 c4x-
*-* | tic4x-
*-*)
2370 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2372 c54x
*-*-* | tic54x-
*-*)
2373 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2376 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2378 cris-
*-* | crisv32-
*-*)
2379 unsupported_languages
="$unsupported_languages java"
2382 unsupported_languages
="$unsupported_languages fortran"
2383 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2385 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2387 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2389 unsupported_languages
="$unsupported_languages fortran"
2390 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2395 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2398 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2401 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2403 ep9312-
*-elf | ep9312-
*-coff)
2407 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2410 noconfigdirs
="$noconfigdirs ${libgcj}"
2413 noconfigdirs
="$noconfigdirs ${libgcj}"
2414 noconfigdirs
="$noconfigdirs gprof"
2417 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2420 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2422 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2424 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2425 # In this case, it's because the hppa64-linux target is for
2426 # the kernel only at this point and has no libc, and thus no
2427 # headers, crt*.o, etc., all of which are needed by these.
2428 noconfigdirs
="$noconfigdirs target-zlib"
2430 parisc
*-*-linux* | hppa
*-*-linux*)
2434 hppa
*-*-openbsd* | \
2436 noconfigdirs
="$noconfigdirs ${libgcj}"
2439 noconfigdirs
="$noconfigdirs ld shellutils"
2445 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2446 # build on HP-UX 10.20.
2447 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2450 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2453 # No gdb support yet.
2454 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2457 # No gdb or ld support yet.
2458 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2461 # No gdb or ld support yet.
2462 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
2466 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2467 noconfigdirs
="$noconfigdirs ${libgcj}"
2470 i
[3456789]86-*-linux*)
2471 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2472 # not build java stuff by default.
2475 noconfigdirs
="$noconfigdirs ${libgcj}";;
2478 # This section makes it possible to build newlib natively on linux.
2479 # If we are using a cross compiler then don't configure newlib.
2480 if test x
${is_cross_compiler} != xno
; then
2481 noconfigdirs
="$noconfigdirs target-newlib"
2483 noconfigdirs
="$noconfigdirs target-libgloss"
2484 # If we are not using a cross compiler, do configure newlib.
2485 # Note however, that newlib will only be configured in this situation
2486 # if the --with-newlib option has been given, because otherwise
2487 # 'target-newlib' will appear in skipdirs.
2489 i
[3456789]86-*-mingw32*)
2490 target_configdirs
="$target_configdirs target-winsup"
2491 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2494 target_configdirs
="$target_configdirs target-winsup"
2495 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2498 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2499 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2500 # always build newlib if winsup directory is present.
2501 if test -d "$srcdir/winsup/cygwin"; then
2502 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2503 elif test -d "$srcdir/newlib"; then
2504 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2507 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2508 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2511 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2513 i
[3456789]86-*-sco3.2v5
*)
2514 # The linker does not yet know about weak symbols in COFF,
2515 # and is not configured to handle mixed ELF and COFF.
2516 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2518 i
[3456789]86-*-sco*)
2519 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2521 i
[3456789]86-*-solaris2*)
2522 noconfigdirs
="$noconfigdirs target-libgloss"
2524 i
[3456789]86-*-sysv4*)
2525 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2527 i
[3456789]86-*-beos*)
2528 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2530 i
[3456789]86-*-rdos*)
2531 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2534 noconfigdirs
="$noconfigdirs ${libgcj}"
2536 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2537 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2538 libgloss_dir
=m68hc11
2541 noconfigdirs
="$noconfigdirs ${libgcj}"
2544 noconfigdirs
="$noconfigdirs ${libgcj}"
2546 m68
*-*-* | fido-
*-*)
2550 # The EPOC C++ environment does not support exceptions or rtti,
2551 # and so building libstdc++-v3 tends not to always work.
2552 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2555 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2556 unsupported_languages
="$unsupported_languages fortran java"
2559 noconfigdirs
="$noconfigdirs ${libgcj}"
2562 noconfigdirs
="$noconfigdirs ${libgcj}"
2565 noconfigdirs
="$noconfigdirs sim"
2568 # copied from rs6000-*-* entry
2569 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2571 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2572 target_configdirs
="$target_configdirs target-winsup"
2573 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2574 # always build newlib.
2575 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2577 # This is temporary until we can link against shared libraries
2578 powerpcle-
*-solaris*)
2579 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2583 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2586 noconfigdirs
="$noconfigdirs ${libgcj}"
2589 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2593 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2596 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2599 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2602 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2605 skipdirs
="$skipdirs target-libiberty"
2606 noconfigdirs
="$noconfigdirs ${libgcj}"
2607 if test x
$with_newlib = xyes
; then
2608 noconfigdirs
="$noconfigdirs gprof"
2613 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2616 # Linking libjava exceeds command-line length limits on at least
2617 # IRIX 6.2, but not on IRIX 6.5.
2618 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2619 # <oldham@codesourcery.com>
2620 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2623 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2629 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2633 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2637 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2638 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2639 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2640 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2642 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2644 sparclet-
*-aout* | sparc86x-
*-*)
2648 noconfigdirs
="$noconfigdirs ${libgcj}"
2651 noconfigdirs
="$noconfigdirs ${libgcj}"
2655 noconfigdirs
="$noconfigdirs ${libgcj}"
2659 noconfigdirs
="$noconfigdirs ${libgcj}"
2660 if test x
${is_cross_compiler} != xno
; then
2661 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2666 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2667 noconfigdirs
="$noconfigdirs ${libgcj}"
2669 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2672 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2675 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2678 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2681 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2684 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2687 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2690 noconfigdirs
="$noconfigdirs ${libgcj}"
2693 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2695 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2702 noconfigdirs
="$noconfigdirs ${libgcj}"
2706 # If we aren't building newlib, then don't build libgloss, since libgloss
2707 # depends upon some newlib header files.
2708 case "${noconfigdirs}" in
2709 *target-libgloss
*) ;;
2710 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2713 # Work in distributions that contain no compiler tools, like Autoconf.
2715 host_makefile_frag
=/dev
/null
2716 if test -d ${srcdir}/config
; then
2719 # Avoid "too much defining" errors from HPUX compiler.
2720 tentative_cc
="cc -Wp,-H256000"
2721 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2722 # If it's HP/UX ar, this should be harmless.
2726 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2729 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2730 # chokes on bfd, the compiler won't let you assign integers to enums, and
2731 # other problems. Defining CC to gcc is a questionable way to say "don't use
2732 # the apollo compiler" (the preferred version of GCC could be called cc,
2733 # or whatever), but I'm not sure leaving CC as cc is any better...
2734 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2735 # Used to have BISON=yacc.
2739 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2742 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2743 tentative_cc
="cc -Xa"
2744 host_makefile_frag
="config/mh-cxux"
2746 m88k-motorola-sysv
*)
2749 tentative_cc
="cc -Wf,-XNg1000"
2750 host_makefile_frag
="config/mh-decstation"
2753 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2754 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2755 host_makefile_frag
="config/mh-necv4"
2758 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2759 # environment. Also bump switch table size so that cp-parse will
2760 # compile. Bump string length limit so linker builds.
2761 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2764 host_makefile_frag
="config/mh-sysv4"
2767 # This is for a MIPS running RISC/os 4.52C.
2769 # This is needed for GDB, but needs to be in the top-level make because
2770 # if a library is compiled with the bsd headers and gets linked with the
2771 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2772 # a different size).
2773 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2774 # known except to select the sysv environment. Could we use /proc instead?
2775 # These "sysv environments" and "bsd environments" often end up being a pain.
2777 # This is not part of CFLAGS because perhaps not all C compilers have this
2779 tentative_cc
="cc -systype sysv"
2784 i
[3456789]86-*-sysv5*)
2785 host_makefile_frag
="config/mh-sysv5"
2787 i
[3456789]86-*-dgux*)
2788 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2789 host_makefile_frag
="config/mh-dgux386"
2791 i
[3456789]86-ncr-sysv4.3
*)
2792 # The MetaWare compiler will generate a copyright message unless you
2793 # turn it off by adding the -Hnocopyr flag.
2794 tentative_cc
="cc -Hnocopyr"
2796 i
[3456789]86-ncr-sysv4*)
2797 # for an NCR 3000 (i486/SVR4) system.
2798 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2799 # This compiler not only emits obnoxious copyright messages every time
2800 # you run it, but it chokes and dies on a whole bunch of GNU source
2801 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2802 tentative_cc
="/usr/ccs/ATT/cc"
2803 host_makefile_frag
="config/mh-ncr3000"
2805 i
[3456789]86-*-sco3.2v5
*)
2807 i
[3456789]86-*-sco*)
2808 # The native C compiler botches some simple uses of const. Unfortunately,
2809 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2810 tentative_cc
="cc -Dconst="
2811 host_makefile_frag
="config/mh-sco"
2813 i
[3456789]86-*-udk*)
2814 host_makefile_frag
="config/mh-sysv5"
2816 i
[3456789]86-*-solaris2*)
2817 host_makefile_frag
="config/mh-sysv4"
2819 i
[3456789]86-*-msdosdjgpp*)
2820 host_makefile_frag
="config/mh-djgpp"
2824 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2825 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2826 echo a
>cygwin-cat-check
2827 if test `cat cygwin-cat-check` == a
; then
2829 echo "$as_me:$LINENO: result: yes" >&5
2830 echo "${ECHO_T}yes" >&6
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2835 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2836 Please either mount the build directory in binary mode or run the following
2837 commands before running any configure script:
2841 echo "$as_me: error: The cat command does not ignore carriage return characters.
2842 Please either mount the build directory in binary mode or run the following
2843 commands before running any configure script:
2847 { (exit 1); exit 1; }; }
2850 host_makefile_frag
="config/mh-cygwin"
2853 host_makefile_frag
="config/mh-mingw"
2856 host_makefile_frag
="config/mh-interix"
2859 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2863 host_makefile_frag
="config/mh-solaris"
2866 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2867 # without overflowing the jump tables (-J says to use a 32 bit table)
2868 tentative_cc
="cc -J"
2871 tentative_cc
="cc -Wp,-H256000"
2872 host_makefile_frag
="config/mh-pa-hpux10"
2874 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2875 tentative_cc
="cc -Wp,-H256000"
2876 host_makefile_frag
="config/mh-pa"
2879 host_makefile_frag
="config/mh-pa"
2881 *-hp-hpux* |
*-*-hiux*)
2882 tentative_cc
="cc -Wp,-H256000"
2885 # /bin/cc is less than useful for our purposes. Always use GCC
2886 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2887 host_makefile_frag
="config/mh-lynxrs6k"
2890 host_makefile_frag
="config/mh-ppc-darwin"
2893 host_makefile_frag
="config/mh-ppc-aix"
2896 host_makefile_frag
="config/mh-ppc-aix"
2899 # /bin/cc is less than useful for our purposes. Always use GCC
2900 tentative_cc
="/bin/gcc"
2903 host_makefile_frag
="config/mh-sysv4"
2905 # This is placed last to prevent interfering with the cases above.
2907 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2908 host_makefile_frag
="config/mh-x86omitfp"
2913 # If we aren't going to be using gcc, see if we can extract a definition
2914 # of CC from the fragment.
2915 # Actually, use the 'pre-extracted' version above.
2916 if test -z "${CC}" && test "${build}" = "${host}" ; then
2917 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2919 for dir
in $PATH; do
2920 test -z "$dir" && dir
=.
2921 if test -f $dir/gcc
; then
2927 if test -z "${found}" && test -n "${tentative_cc}" ; then
2932 if test "${build}" != "${host}" ; then
2933 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2934 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2935 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2936 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2937 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2938 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2939 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2940 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2941 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2942 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2943 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2944 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2946 AR_FOR_BUILD
="\$(AR)"
2947 AS_FOR_BUILD
="\$(AS)"
2948 CC_FOR_BUILD
="\$(CC)"
2949 CXX_FOR_BUILD
="\$(CXX)"
2950 GCJ_FOR_BUILD
="\$(GCJ)"
2951 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2952 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2953 LD_FOR_BUILD
="\$(LD)"
2954 NM_FOR_BUILD
="\$(NM)"
2955 RANLIB_FOR_BUILD
="\$(RANLIB)"
2956 WINDRES_FOR_BUILD
="\$(WINDRES)"
2957 WINDMC_FOR_BUILD
="\$(WINDMC)"
2961 ac_cpp
='$CPP $CPPFLAGS'
2962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2965 if test -n "$ac_tool_prefix"; then
2966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2967 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2968 echo "$as_me:$LINENO: checking for $ac_word" >&5
2969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2970 if test "${ac_cv_prog_CC+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC
="$CC" # Let the user override the test.
2976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir
=.
2981 for ac_exec_ext
in '' $ac_executable_extensions; do
2982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 if test -n "$CC"; then
2994 echo "$as_me:$LINENO: result: $CC" >&5
2995 echo "${ECHO_T}$CC" >&6
2997 echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6
3002 if test -z "$ac_cv_prog_CC"; then
3004 # Extract the first word of "gcc", so it can be a program name with args.
3005 set dummy gcc
; ac_word
=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 if test -n "$ac_ct_CC"; then
3012 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir
=.
3019 for ac_exec_ext
in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 ac_cv_prog_ac_ct_CC
="gcc"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3031 if test -n "$ac_ct_CC"; then
3032 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3033 echo "${ECHO_T}$ac_ct_CC" >&6
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3044 if test -z "$CC"; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3047 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_CC+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC
="$CC" # Let the user override the test.
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 for ac_exec_ext
in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test -n "$CC"; then
3074 echo "$as_me:$LINENO: result: $CC" >&5
3075 echo "${ECHO_T}$CC" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3082 if test -z "$ac_cv_prog_CC"; then
3084 # Extract the first word of "cc", so it can be a program name with args.
3085 set dummy cc
; ac_word
=$2
3086 echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 if test -n "$ac_ct_CC"; then
3092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_ac_ct_CC
="cc"
3102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3111 if test -n "$ac_ct_CC"; then
3112 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3113 echo "${ECHO_T}$ac_ct_CC" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3125 if test -z "$CC"; then
3126 # Extract the first word of "cc", so it can be a program name with args.
3127 set dummy cc
; ac_word
=$2
3128 echo "$as_me:$LINENO: checking for $ac_word" >&5
3129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3130 if test "${ac_cv_prog_CC+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 if test -n "$CC"; then
3134 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3145 ac_prog_rejected
=yes
3149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test $ac_prog_rejected = yes; then
3156 # We found a bogon in the path, so make sure we never use it.
3157 set dummy
$ac_cv_prog_CC
3159 if test $# != 0; then
3160 # We chose a different compiler from the bogus one.
3161 # However, it has the same basename, so the bogon will be chosen
3162 # first if we set CC to just the basename; use the full file name.
3164 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3170 if test -n "$CC"; then
3171 echo "$as_me:$LINENO: result: $CC" >&5
3172 echo "${ECHO_T}$CC" >&6
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3185 echo "$as_me:$LINENO: checking for $ac_word" >&5
3186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3187 if test "${ac_cv_prog_CC+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC
="$CC" # Let the user override the test.
3193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir
=.
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 if test -n "$CC"; then
3211 echo "$as_me:$LINENO: result: $CC" >&5
3212 echo "${ECHO_T}$CC" >&6
3214 echo "$as_me:$LINENO: result: no" >&5
3215 echo "${ECHO_T}no" >&6
3218 test -n "$CC" && break
3221 if test -z "$CC"; then
3225 # Extract the first word of "$ac_prog", so it can be a program name with args.
3226 set dummy
$ac_prog; ac_word
=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -n "$ac_ct_CC"; then
3233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir
=.
3240 for ac_exec_ext
in '' $ac_executable_extensions; do
3241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242 ac_cv_prog_ac_ct_CC
="$ac_prog"
3243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3254 echo "${ECHO_T}$ac_ct_CC" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3260 test -n "$ac_ct_CC" && break
3269 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3270 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3272 See \`config.log' for more details." >&5
3273 echo "$as_me: error: no acceptable C compiler found in \$PATH
3274 See \`config.log' for more details." >&2;}
3275 { (exit 1); exit 1; }; }; }
3277 # Provide some information about the compiler.
3278 echo "$as_me:$LINENO:" \
3279 "checking for C compiler version" >&5
3280 ac_compiler
=`set X $ac_compile; echo $2`
3281 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3282 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }
3286 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3287 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }
3291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3292 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }
3297 cat >conftest.
$ac_ext <<_ACEOF
3300 cat confdefs.h
>>conftest.
$ac_ext
3301 cat >>conftest.
$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3312 ac_clean_files_save
=$ac_clean_files
3313 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3314 # Try to create an executable without -o first, disregard a.out.
3315 # It will help us diagnose broken compilers, and finding out an intuition
3317 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3318 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3319 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3320 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3321 (eval $ac_link_default) 2>&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; then
3325 # Find the output, starting from the most likely. This scheme is
3326 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3329 # Be careful to initialize this variable, since it used to be cached.
3330 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3332 # b.out is created by i960 compilers.
3333 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3335 test -f "$ac_file" ||
continue
3337 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3340 # This is the source file.
3343 # We found the default executable, but exeext='' is most
3347 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 # FIXME: I believe we export ac_cv_exeext for Libtool,
3349 # but it would be cool to find out if it's true. Does anybody
3350 # maintain Libtool? --akim.
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.
$ac_ext >&5
3361 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3362 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3364 See \`config.log' for more details." >&5
3365 echo "$as_me: error: C compiler cannot create executables
3366 See \`config.log' for more details." >&2;}
3367 { (exit 77); exit 77; }; }; }
3370 ac_exeext
=$ac_cv_exeext
3371 echo "$as_me:$LINENO: result: $ac_file" >&5
3372 echo "${ECHO_T}$ac_file" >&6
3374 # Check the compiler produces executables we can run. If not, either
3375 # the compiler is broken, or we cross compile.
3376 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3377 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3378 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3379 # If not cross compiling, check that we can run a simple program.
3380 if test "$cross_compiling" != yes; then
3381 if { ac_try
='./$ac_file'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3389 if test "$cross_compiling" = maybe
; then
3392 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3393 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3395 If you meant to cross compile, use \`--host'.
3396 See \`config.log' for more details." >&5
3397 echo "$as_me: error: cannot run C compiled programs.
3398 If you meant to cross compile, use \`--host'.
3399 See \`config.log' for more details." >&2;}
3400 { (exit 1); exit 1; }; }; }
3404 echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6
3407 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3408 ac_clean_files
=$ac_clean_files_save
3409 # Check the compiler produces executables we can run. If not, either
3410 # the compiler is broken, or we cross compile.
3411 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3412 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3413 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3414 echo "${ECHO_T}$cross_compiling" >&6
3416 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3417 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3419 (eval $ac_link) 2>&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; then
3423 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3424 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3425 # work properly (i.e., refer to `conftest.exe'), while it won't with
3427 for ac_file
in conftest.exe conftest conftest.
*; do
3428 test -f "$ac_file" ||
continue
3430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3431 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3439 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3441 See \`config.log' for more details." >&5
3442 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3443 See \`config.log' for more details." >&2;}
3444 { (exit 1); exit 1; }; }; }
3447 rm -f conftest
$ac_cv_exeext
3448 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3449 echo "${ECHO_T}$ac_cv_exeext" >&6
3451 rm -f conftest.
$ac_ext
3452 EXEEXT
=$ac_cv_exeext
3454 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3455 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3456 if test "${ac_cv_objext+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.o conftest.obj
3475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3476 (eval $ac_compile) 2>&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; then
3480 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3482 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3483 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.
$ac_ext >&5
3491 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3492 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3494 See \`config.log' for more details." >&5
3495 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3496 See \`config.log' for more details." >&2;}
3497 { (exit 1); exit 1; }; }; }
3500 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3502 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3503 echo "${ECHO_T}$ac_cv_objext" >&6
3504 OBJEXT
=$ac_cv_objext
3506 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3507 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3508 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 cat >conftest.
$ac_ext <<_ACEOF
3514 cat confdefs.h
>>conftest.
$ac_ext
3515 cat >>conftest.
$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3529 rm -f conftest.
$ac_objext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3531 (eval $ac_compile) 2>conftest.er1
3533 grep -v '^ *+' conftest.er1
>conftest.err
3535 cat conftest.err
>&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try
='test -z "$ac_c_werror_flag"
3539 || test ! -s conftest.err'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; } &&
3545 { ac_try
='test -s conftest.$ac_objext'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; }; then
3553 echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.
$ac_ext >&5
3558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3559 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3562 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3563 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3564 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3565 ac_test_CFLAGS
=${CFLAGS+set}
3566 ac_save_CFLAGS
=$CFLAGS
3568 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3569 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3570 if test "${ac_cv_prog_cc_g+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 cat >conftest.
$ac_ext <<_ACEOF
3576 cat confdefs.h
>>conftest.
$ac_ext
3577 cat >>conftest.
$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3588 rm -f conftest.
$ac_objext
3589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3590 (eval $ac_compile) 2>conftest.er1
3592 grep -v '^ *+' conftest.er1
>conftest.err
3594 cat conftest.err
>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } &&
3597 { ac_try
='test -z "$ac_c_werror_flag"
3598 || test ! -s conftest.err'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; } &&
3604 { ac_try
='test -s conftest.$ac_objext'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; }; then
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.
$ac_ext >&5
3617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3620 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3621 if test "$ac_test_CFLAGS" = set; then
3622 CFLAGS
=$ac_save_CFLAGS
3623 elif test $ac_cv_prog_cc_g = yes; then
3624 if test "$GCC" = yes; then
3630 if test "$GCC" = yes; then
3636 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3637 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3638 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 ac_cv_prog_cc_stdc
=no
3643 cat >conftest.
$ac_ext <<_ACEOF
3646 cat confdefs.h
>>conftest.
$ac_ext
3647 cat >>conftest.
$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3651 #include <sys/types.h>
3652 #include <sys/stat.h>
3653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3654 struct buf { int x; };
3655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3656 static char *e (p, i)
3662 static char *f (char * (*g) (char **, int), char **p, ...)
3667 s = g (p, va_arg (v,int));
3672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3673 function prototypes and stuff, but not '\xHH' hex character constants.
3674 These don't provoke an error unfortunately, instead are silently treated
3675 as 'x'. The following induces an error, until -std1 is added to get
3676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3677 array size at least. It's necessary to write '\x00'==0 to get something
3678 that's true only with -std1. */
3679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3681 int test (int i, double x);
3682 struct s1 {int (*f) (int a);};
3683 struct s2 {int (*f) (double a);};
3684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3695 # Don't try gcc -ansi; that turns off useful extensions and
3696 # breaks some systems' header files.
3697 # AIX -qlanglvl=ansi
3698 # Ultrix and OSF/1 -std1
3699 # HP-UX 10.20 and later -Ae
3700 # HP-UX older versions -Aa -D_HPUX_SOURCE
3701 # SVR4 -Xc -D__EXTENSIONS__
3702 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3704 CC
="$ac_save_CC $ac_arg"
3705 rm -f conftest.
$ac_objext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3707 (eval $ac_compile) 2>conftest.er1
3709 grep -v '^ *+' conftest.er1
>conftest.err
3711 cat conftest.err
>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try
='test -z "$ac_c_werror_flag"
3715 || test ! -s conftest.err'
3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }; } &&
3721 { ac_try
='test -s conftest.$ac_objext'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; }; then
3727 ac_cv_prog_cc_stdc
=$ac_arg
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.
$ac_ext >&5
3734 rm -f conftest.err conftest.
$ac_objext
3736 rm -f conftest.
$ac_ext conftest.
$ac_objext
3741 case "x$ac_cv_prog_cc_stdc" in
3743 echo "$as_me:$LINENO: result: none needed" >&5
3744 echo "${ECHO_T}none needed" >&6 ;;
3746 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3747 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3748 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3751 # Some people use a C++ compiler to compile C. Since we use `exit',
3752 # in C++ we need to declare it. In case someone uses the same compiler
3753 # for both compiling C and C++ we need to have the C++ compiler decide
3754 # the declaration of exit, since it's the most demanding environment.
3755 cat >conftest.
$ac_ext <<_ACEOF
3760 rm -f conftest.
$ac_objext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3762 (eval $ac_compile) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1
>conftest.err
3766 cat conftest.err
>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try
='test -z "$ac_c_werror_flag"
3770 || test ! -s conftest.err'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; } &&
3776 { ac_try
='test -s conftest.$ac_objext'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; }; then
3782 for ac_declaration
in \
3784 'extern "C" void std::exit (int) throw (); using std::exit;' \
3785 'extern "C" void std::exit (int); using std::exit;' \
3786 'extern "C" void exit (int) throw ();' \
3787 'extern "C" void exit (int);' \
3790 cat >conftest.
$ac_ext <<_ACEOF
3793 cat confdefs.h
>>conftest.
$ac_ext
3794 cat >>conftest.
$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3806 rm -f conftest.
$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3810 grep -v '^ *+' conftest.er1
>conftest.err
3812 cat conftest.err
>&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try
='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try
='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.
$ac_ext >&5
3835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3836 cat >conftest.
$ac_ext <<_ACEOF
3839 cat confdefs.h
>>conftest.
$ac_ext
3840 cat >>conftest.
$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3851 rm -f conftest.
$ac_objext
3852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3853 (eval $ac_compile) 2>conftest.er1
3855 grep -v '^ *+' conftest.er1
>conftest.err
3857 cat conftest.err
>&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } &&
3860 { ac_try
='test -z "$ac_c_werror_flag"
3861 || test ! -s conftest.err'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; } &&
3867 { ac_try
='test -s conftest.$ac_objext'
3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; }; then
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.
$ac_ext >&5
3879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3882 if test -n "$ac_declaration"; then
3883 echo '#ifdef __cplusplus' >>confdefs.h
3884 echo $ac_declaration >>confdefs.h
3885 echo '#endif' >>confdefs.h
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.
$ac_ext >&5
3893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3895 ac_cpp
='$CPP $CPPFLAGS'
3896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3901 ac_cpp
='$CXXCPP $CPPFLAGS'
3902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3905 if test -n "$ac_tool_prefix"; then
3906 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3909 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3910 echo "$as_me:$LINENO: checking for $ac_word" >&5
3911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3912 if test "${ac_cv_prog_CXX+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 if test -n "$CXX"; then
3916 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3925 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 if test -n "$CXX"; then
3936 echo "$as_me:$LINENO: result: $CXX" >&5
3937 echo "${ECHO_T}$CXX" >&6
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3943 test -n "$CXX" && break
3946 if test -z "$CXX"; then
3948 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3950 # Extract the first word of "$ac_prog", so it can be a program name with args.
3951 set dummy
$ac_prog; ac_word
=$2
3952 echo "$as_me:$LINENO: checking for $ac_word" >&5
3953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3954 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 if test -n "$ac_ct_CXX"; then
3958 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir
=.
3965 for ac_exec_ext
in '' $ac_executable_extensions; do
3966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3976 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3977 if test -n "$ac_ct_CXX"; then
3978 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3979 echo "${ECHO_T}$ac_ct_CXX" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3985 test -n "$ac_ct_CXX" && break
3987 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3993 # Provide some information about the compiler.
3994 echo "$as_me:$LINENO:" \
3995 "checking for C++ compiler version" >&5
3996 ac_compiler
=`set X $ac_compile; echo $2`
3997 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3998 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }
4002 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4003 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); }
4007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4008 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }
4013 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4014 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4015 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 cat >conftest.
$ac_ext <<_ACEOF
4021 cat confdefs.h
>>conftest.
$ac_ext
4022 cat >>conftest.
$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4036 rm -f conftest.
$ac_objext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1
>conftest.err
4042 cat conftest.err
>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try
='test -z "$ac_cxx_werror_flag"
4046 || test ! -s conftest.err'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; } &&
4052 { ac_try
='test -s conftest.$ac_objext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4069 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4070 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4071 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4072 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4073 ac_save_CXXFLAGS
=$CXXFLAGS
4075 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4076 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4077 if test "${ac_cv_prog_cxx_g+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 cat >conftest.
$ac_ext <<_ACEOF
4083 cat confdefs.h
>>conftest.
$ac_ext
4084 cat >>conftest.
$ac_ext <<_ACEOF
4085 /* end confdefs.h. */
4095 rm -f conftest.
$ac_objext
4096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4097 (eval $ac_compile) 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try
='test -z "$ac_cxx_werror_flag"
4105 || test ! -s conftest.err'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; } &&
4111 { ac_try
='test -s conftest.$ac_objext'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; }; then
4117 ac_cv_prog_cxx_g
=yes
4119 echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.
$ac_ext >&5
4124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4126 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4127 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4128 if test "$ac_test_CXXFLAGS" = set; then
4129 CXXFLAGS
=$ac_save_CXXFLAGS
4130 elif test $ac_cv_prog_cxx_g = yes; then
4131 if test "$GXX" = yes; then
4137 if test "$GXX" = yes; then
4143 for ac_declaration
in \
4145 'extern "C" void std::exit (int) throw (); using std::exit;' \
4146 'extern "C" void std::exit (int); using std::exit;' \
4147 'extern "C" void exit (int) throw ();' \
4148 'extern "C" void exit (int);' \
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4167 rm -f conftest.
$ac_objext
4168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4169 (eval $ac_compile) 2>conftest.er1
4171 grep -v '^ *+' conftest.er1
>conftest.err
4173 cat conftest.err
>&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } &&
4176 { ac_try
='test -z "$ac_cxx_werror_flag"
4177 || test ! -s conftest.err'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; } &&
4183 { ac_try
='test -s conftest.$ac_objext'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4191 echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.
$ac_ext >&5
4196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4197 cat >conftest.
$ac_ext <<_ACEOF
4200 cat confdefs.h
>>conftest.
$ac_ext
4201 cat >>conftest.
$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4212 rm -f conftest.
$ac_objext
4213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4214 (eval $ac_compile) 2>conftest.er1
4216 grep -v '^ *+' conftest.er1
>conftest.err
4218 cat conftest.err
>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } &&
4221 { ac_try
='test -z "$ac_cxx_werror_flag"
4222 || test ! -s conftest.err'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try
='test -s conftest.$ac_objext'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; }; then
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.
$ac_ext >&5
4240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4243 if test -n "$ac_declaration"; then
4244 echo '#ifdef __cplusplus' >>confdefs.h
4245 echo $ac_declaration >>confdefs.h
4246 echo '#endif' >>confdefs.h
4250 ac_cpp
='$CPP $CPPFLAGS'
4251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4256 # We must set the default linker to the linker used by gcc for the correct
4257 # operation of libtool. If LD is not defined and we are using gcc, try to
4258 # set the LD default to the ld used by gcc.
4259 if test -z "$LD"; then
4260 if test "$GCC" = yes; then
4263 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4265 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4267 case $gcc_prog_ld in
4268 # Accept absolute paths.
4269 [\\/]* |
[A-Za-z
]:[\\/]*)
4270 LD
="$gcc_prog_ld" ;;
4278 if test -n "$ac_tool_prefix"; then
4279 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4280 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4281 echo "$as_me:$LINENO: checking for $ac_word" >&5
4282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4283 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 if test -n "$GNATBIND"; then
4287 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 test -z "$as_dir" && as_dir
=.
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 GNATBIND
=$ac_cv_prog_GNATBIND
4306 if test -n "$GNATBIND"; then
4307 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4308 echo "${ECHO_T}$GNATBIND" >&6
4310 echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4315 if test -z "$ac_cv_prog_GNATBIND"; then
4316 ac_ct_GNATBIND
=$GNATBIND
4317 # Extract the first word of "gnatbind", so it can be a program name with args.
4318 set dummy gnatbind
; ac_word
=$2
4319 echo "$as_me:$LINENO: checking for $ac_word" >&5
4320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4321 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 if test -n "$ac_ct_GNATBIND"; then
4325 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4331 test -z "$as_dir" && as_dir
=.
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4334 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4344 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4345 if test -n "$ac_ct_GNATBIND"; then
4346 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4347 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4353 GNATBIND
=$ac_ct_GNATBIND
4355 GNATBIND
="$ac_cv_prog_GNATBIND"
4358 if test -n "$ac_tool_prefix"; then
4359 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4360 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4361 echo "$as_me:$LINENO: checking for $ac_word" >&5
4362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4363 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 if test -n "$GNATMAKE"; then
4367 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 GNATMAKE
=$ac_cv_prog_GNATMAKE
4386 if test -n "$GNATMAKE"; then
4387 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4388 echo "${ECHO_T}$GNATMAKE" >&6
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4395 if test -z "$ac_cv_prog_GNATMAKE"; then
4396 ac_ct_GNATMAKE
=$GNATMAKE
4397 # Extract the first word of "gnatmake", so it can be a program name with args.
4398 set dummy gnatmake
; ac_word
=$2
4399 echo "$as_me:$LINENO: checking for $ac_word" >&5
4400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4401 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if test -n "$ac_ct_GNATMAKE"; then
4405 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir
=.
4412 for ac_exec_ext
in '' $ac_executable_extensions; do
4413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4424 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4425 if test -n "$ac_ct_GNATMAKE"; then
4426 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4427 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4433 GNATMAKE
=$ac_ct_GNATMAKE
4435 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4438 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4439 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4440 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.adb
<<EOF
4444 procedure conftest is begin null; end conftest;
4446 acx_cv_cc_gcc_supports_ada
=no
4447 # There is a bug in old released versions of GCC which causes the
4448 # driver to exit successfully when the appropriate language module
4449 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4450 # Therefore we must check for the error message as well as an
4451 # unsuccessful exit.
4452 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4453 # given a .adb file, but produce no object file. So we must check
4454 # if an object file was really produced to guard against this.
4455 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4456 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4457 acx_cv_cc_gcc_supports_ada
=yes
4461 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4462 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4464 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4470 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4471 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4472 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4478 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4479 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4482 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4485 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4486 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4489 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4495 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4496 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4497 do_compare
="$gcc_cv_prog_cmp_skip"
4501 # Check for GMP and MPFR
4502 gmplibs
="-lmpfr -lgmp"
4506 # Specify a location for mpfr
4507 # check for this first so it ends up on the link line before gmp.
4509 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4510 if test "${with_mpfr_dir+set}" = set; then
4511 withval
="$with_mpfr_dir"
4512 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4513 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4514 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4515 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4516 { (exit 1); exit 1; }; }
4520 # Check whether --with-mpfr or --without-mpfr was given.
4521 if test "${with_mpfr+set}" = set; then
4522 withval
="$with_mpfr"
4526 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4527 if test "${with_mpfr_include+set}" = set; then
4528 withval
="$with_mpfr_include"
4532 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4533 if test "${with_mpfr_lib+set}" = set; then
4534 withval
="$with_mpfr_lib"
4538 if test "x$with_mpfr" != x
; then
4539 gmplibs
="-L$with_mpfr/lib $gmplibs"
4540 gmpinc
="-I$with_mpfr/include"
4542 if test "x$with_mpfr_include" != x
; then
4543 gmpinc
="-I$with_mpfr_include"
4545 if test "x$with_mpfr_lib" != x
; then
4546 gmplibs
="-L$with_mpfr_lib $gmplibs"
4548 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4549 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4550 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4551 # Do not test the mpfr version. Assume that it is sufficient, since
4552 # it is in the source tree, and the library has not been built yet
4553 # but it would be included on the link line in the version check below
4554 # hence making the test fail.
4558 # Specify a location for gmp
4560 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4561 if test "${with_gmp_dir+set}" = set; then
4562 withval
="$with_gmp_dir"
4563 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4564 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4565 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4566 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4567 { (exit 1); exit 1; }; }
4571 # Check whether --with-gmp or --without-gmp was given.
4572 if test "${with_gmp+set}" = set; then
4577 # Check whether --with-gmp_include or --without-gmp_include was given.
4578 if test "${with_gmp_include+set}" = set; then
4579 withval
="$with_gmp_include"
4583 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4584 if test "${with_gmp_lib+set}" = set; then
4585 withval
="$with_gmp_lib"
4590 if test "x$with_gmp" != x
; then
4591 gmplibs
="-L$with_gmp/lib $gmplibs"
4592 gmpinc
="-I$with_gmp/include $gmpinc"
4594 if test "x$with_gmp_include" != x
; then
4595 gmpinc
="-I$with_gmp_include $gmpinc"
4597 if test "x$with_gmp_lib" != x
; then
4598 gmplibs
="-L$with_gmp_lib $gmplibs"
4600 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4601 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4602 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4603 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
4604 # Do not test the gmp version. Assume that it is sufficient, since
4605 # it is in the source tree, and the library has not been built yet
4606 # but it would be included on the link line in the version check below
4607 # hence making the test fail.
4611 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4613 saved_CFLAGS
="$CFLAGS"
4614 CFLAGS
="$CFLAGS $gmpinc"
4615 # Check GMP actually works
4616 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4617 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4619 cat >conftest.
$ac_ext <<_ACEOF
4622 cat confdefs.h
>>conftest.
$ac_ext
4623 cat >>conftest.
$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4630 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
4638 rm -f conftest.
$ac_objext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4640 (eval $ac_compile) 2>conftest.er1
4642 grep -v '^ *+' conftest.er1
>conftest.err
4644 cat conftest.err
>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try
='test -z "$ac_c_werror_flag"
4648 || test ! -s conftest.err'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try
='test -s conftest.$ac_objext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6; have_gmp
=no
4669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 if test x
"$have_gmp" = xyes
; then
4673 LIBS
="$LIBS $gmplibs"
4674 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4675 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4688 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4696 mpfr_atan2 (n, n, x, GMP_RNDN);
4697 mpfr_erfc (n, x, GMP_RNDN);
4698 mpfr_subnormalize (x, t, GMP_RNDN);
4704 rm -f conftest.
$ac_objext conftest
$ac_exeext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4706 (eval $ac_link) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1
>conftest.err
4710 cat conftest.err
>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try
='test -z "$ac_c_werror_flag"
4714 || test ! -s conftest.err'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; } &&
4720 { ac_try
='test -s conftest$ac_exeext'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4726 cat >conftest.
$ac_ext <<_ACEOF
4729 cat confdefs.h
>>conftest.
$ac_ext
4730 cat >>conftest.
$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4738 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4741 mpfr_t n; mpfr_init(n);
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4749 (eval $ac_link) 2>conftest.er1
4751 grep -v '^ *+' conftest.er1
>conftest.err
4753 cat conftest.err
>&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try
='test -z "$ac_c_werror_flag"
4757 || test ! -s conftest.err'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; } &&
4763 { ac_try
='test -s conftest$ac_exeext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.
$ac_ext >&5
4775 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4776 echo "${ECHO_T}buggy but acceptable" >&6
4778 rm -f conftest.err conftest.
$ac_objext \
4779 conftest
$ac_exeext conftest.
$ac_ext
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6; have_gmp
=no
4787 rm -f conftest.err conftest.
$ac_objext \
4788 conftest
$ac_exeext conftest.
$ac_ext
4791 CFLAGS
="$saved_CFLAGS"
4793 if test x
$have_gmp != xyes
; then
4794 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4795 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4796 Copies of these libraries' source code can be found at their respective
4797 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4798 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4799 If you obtained GMP and/or MPFR from a vendor distribution package, make
4800 sure that you have installed both the libraries and the header files.
4801 They may be located in separate packages." >&5
4802 echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4803 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4804 Copies of these libraries' source code can be found at their respective
4805 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4806 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4807 If you obtained GMP and/or MPFR from a vendor distribution package, make
4808 sure that you have installed both the libraries and the header files.
4809 They may be located in separate packages." >&2;}
4810 { (exit 1); exit 1; }; }
4814 # Flags needed for both GMP and/or MPFR
4819 # Allow host libstdc++ to be specified for static linking with PPL.
4821 # Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
4822 if test "${with_host_libstdcxx+set}" = set; then
4823 withval
="$with_host_libstdcxx"
4827 case $with_host_libstdcxx in
4829 { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
4830 echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
4831 { (exit 1); exit 1; }; }
4837 ppl_minor_version
=10
4838 ppllibs
=" -lppl_c -lppl -lgmpxx $with_host_libstdcxx "
4842 # Check whether --with-ppl or --without-ppl was given.
4843 if test "${with_ppl+set}" = set; then
4850 # Check whether --with-ppl_include or --without-ppl_include was given.
4851 if test "${with_ppl_include+set}" = set; then
4852 withval
="$with_ppl_include"
4856 # Check whether --with-ppl_lib or --without-ppl_lib was given.
4857 if test "${with_ppl_lib+set}" = set; then
4858 withval
="$with_ppl_lib"
4867 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
4868 pplinc
="-I$with_ppl/include $pplinc"
4869 LIBS
="$ppllibs $LIBS"
4872 if test "x$with_ppl_include" != x
; then
4873 pplinc
="-I$with_ppl_include $pplinc"
4875 if test "x$with_ppl_lib" != x
; then
4876 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
4877 LIBS
="$ppllibs $LIBS"
4879 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
4880 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '"$with_host_libstdcxx "
4881 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4882 LIBS
="$ppllibs $LIBS"
4885 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4886 if test "${enable_ppl_version_check+set}" = set; then
4887 enableval
="$enable_ppl_version_check"
4888 ENABLE_PPL_CHECK
=$enableval
4890 ENABLE_PPL_CHECK
=yes
4893 if test "${ENABLE_PPL_CHECK}" = "yes"; then
4894 saved_CFLAGS
="$CFLAGS"
4895 CFLAGS
="$CFLAGS $pplinc $gmpinc"
4896 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4897 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4909 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
4917 rm -f conftest.
$ac_objext
4918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try
='test -z "$ac_c_werror_flag"
4927 || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try
='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
4948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 CFLAGS
="$saved_CFLAGS"
4952 # Flags needed for PPL
4958 clooglibs
=" -lcloog "
4959 clooginc
=" -DCLOOG_PPL_BACKEND "
4962 # Check whether --with-cloog or --without-cloog was given.
4963 if test "${with_cloog+set}" = set; then
4964 withval
="$with_cloog"
4970 # Check whether --with-cloog_include or --without-cloog_include was given.
4971 if test "${with_cloog_include+set}" = set; then
4972 withval
="$with_cloog_include"
4976 # Check whether --with-cloog_lib or --without-cloog_lib was given.
4977 if test "${with_cloog_lib+set}" = set; then
4978 withval
="$with_cloog_lib"
4988 clooglibs
="-L$with_cloog/lib -lcloog"
4989 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
4990 LIBS
="$clooglibs $LIBS"
4993 if test "x$with_cloog_include" != x
; then
4994 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
4996 if test "x$with_cloog_lib" != x
; then
4997 clooglibs
="-L$with_cloog_lib -lcloog"
4998 LIBS
="$clooglibs $LIBS"
5000 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5001 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5002 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5003 LIBS
="$clooglibs $LIBS"
5006 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5007 if test "${enable_cloog_version_check+set}" = set; then
5008 enableval
="$enable_cloog_version_check"
5009 ENABLE_CLOOG_CHECK
=$enableval
5011 ENABLE_CLOOG_CHECK
=yes
5014 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5015 saved_CFLAGS
="$CFLAGS"
5016 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5017 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5018 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5025 #include "cloog/cloog.h"
5030 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5038 rm -f conftest.
$ac_objext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1
>conftest.err
5044 cat conftest.err
>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try
='test -z "$ac_c_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try
='test -s conftest.$ac_objext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.
$ac_ext >&5
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5070 CFLAGS
="$saved_CFLAGS"
5073 # Flags needed for CLOOG
5078 # By default, C is the only stage 1 language.
5079 stage1_languages
=,c
,
5081 # Figure out what language subdirectories are present.
5082 # Look if the user specified --enable-languages="..."; if not, use
5083 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5085 # NB: embedded tabs in this IF block -- do not untabify
5086 if test -d ${srcdir}/gcc
; then
5087 if test x
"${enable_languages+set}" != xset
; then
5088 if test x
"${LANGUAGES+set}" = xset
; then
5089 enable_languages
="${LANGUAGES}"
5090 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5092 enable_languages
=all
5095 if test x
"${enable_languages}" = x ||
5096 test x
"${enable_languages}" = xyes
;
5098 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5102 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5104 # 'f95' is the old name for the 'fortran' language. We issue a warning
5105 # and make the substitution.
5106 case ,${enable_languages}, in
5108 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5109 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5113 # First scan to see if an enabled language requires some other language.
5114 # We assume that a given config-lang.in will list all the language
5115 # front ends it requires, even if some are required indirectly.
5116 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5117 case ${lang_frag} in
5119 # The odd quoting in the next line works around
5120 # an apparent bug in bash 1.12 on linux.
5121 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5123 # From the config-lang.in, get $language, $lang_requires
5127 for other
in ${lang_requires} ; do
5128 case ,${enable_languages}, in
5132 echo " \`$other' language required by \`$language'; enabling" 1>&2
5133 enable_languages
="${enable_languages},${other}"
5141 new_enable_languages
=,c
,
5142 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5143 potential_languages
=,c
,
5145 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5146 case ${lang_frag} in
5148 # The odd quoting in the next line works around
5149 # an apparent bug in bash 1.12 on linux.
5150 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5152 # From the config-lang.in, get $language, $target_libs,
5153 # $lang_dirs, $boot_language, and $build_by_default
5159 build_by_default
=yes
5161 if test x
${language} = x
; then
5162 echo "${lang_frag} doesn't set \$language." 1>&2
5166 case ,${enable_languages}, in
5168 # Language was explicitly selected; include it.
5172 # 'all' was selected, select it if it is a default language
5173 add_this_lang
=${build_by_default}
5180 # Disable languages that need other directories if these aren't available.
5181 for i
in $subdir_requires; do
5182 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5183 case ,${enable_languages}, in
5185 # Specifically requested language; tell them.
5186 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5187 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5188 { (exit 1); exit 1; }; }
5192 add_this_lang
=unsupported
5197 # Disable Ada if no preexisting GNAT is available.
5198 case ,${enable_languages},:${language}:${have_gnat} in
5199 *,${language},*:ada
:no
)
5200 # Specifically requested language; tell them.
5201 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5202 echo "$as_me: error: GNAT is required to build $language" >&2;}
5203 { (exit 1); exit 1; }; }
5207 add_this_lang
=unsupported
5211 # Disable a language that is unsupported by the target.
5212 case " $unsupported_languages " in
5214 add_this_lang
=unsupported
5218 case $add_this_lang in
5220 # Remove language-dependent dirs.
5221 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5224 # Remove language-dependent dirs; still show language as supported.
5225 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5226 potential_languages
="${potential_languages}${language},"
5229 new_enable_languages
="${new_enable_languages}${language},"
5230 potential_languages
="${potential_languages}${language},"
5231 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5232 case ${boot_language} in
5234 # Add to (comma-separated) list of stage 1 languages.
5235 stage1_languages
="${stage1_languages}${language},"
5244 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5245 if test "${enable_stage1_languages+set}" = set; then
5246 enableval
="$enable_stage1_languages"
5247 case ,${enable_stage1_languages}, in
5249 # Set it to something that will have no effect in the loop below
5250 enable_stage1_languages
=c
;;
5252 enable_stage1_languages
=`echo $new_enable_languages | \
5253 sed -e "s/^,//" -e "s/,$//" ` ;;
5255 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5256 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5259 # Add "good" languages from enable_stage1_languages to stage1_languages,
5260 # while "bad" languages go in missing_languages. Leave no duplicates.
5261 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5262 case $potential_languages in
5264 case $stage1_languages in
5266 *) stage1_languages
="$stage1_languages$i," ;;
5269 case $missing_languages in
5271 *) missing_languages
="$missing_languages$i," ;;
5277 # Remove leading/trailing commas that were added for simplicity
5278 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5279 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5280 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5281 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5283 if test "x$missing_languages" != x
; then
5284 { { echo "$as_me:$LINENO: error:
5285 The following requested languages could not be built: ${missing_languages}
5286 Supported languages are: ${potential_languages}" >&5
5287 echo "$as_me: error:
5288 The following requested languages could not be built: ${missing_languages}
5289 Supported languages are: ${potential_languages}" >&2;}
5290 { (exit 1); exit 1; }; }
5292 if test "x$new_enable_languages" != "x$enable_languages"; then
5293 echo The following languages will be built
: ${new_enable_languages}
5294 enable_languages
="$new_enable_languages"
5298 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5301 # Handle --disable-<component> generically.
5302 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5303 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5304 varname
=`echo $dirname | sed -e s/+/_/g`
5305 if eval test x\
${enable_${varname}} "=" xno
; then
5306 noconfigdirs
="$noconfigdirs $dir"
5310 # Check for Boehm's garbage collector
5311 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5312 if test "${enable_objc_gc+set}" = set; then
5313 enableval
="$enable_objc_gc"
5314 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5315 *,objc
,*:*:yes:*target-boehm-gc
*)
5316 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5317 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5318 { (exit 1); exit 1; }; }
5323 # Make sure we only build Boehm's garbage collector if required.
5324 case ,${enable_languages},:${enable_objc_gc} in
5326 # Keep target-boehm-gc if requested for Objective-C.
5329 # Otherwise remove target-boehm-gc depending on target-libjava.
5330 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5331 noconfigdirs
="$noconfigdirs target-boehm-gc"
5336 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5337 # $build_configdirs and $target_configdirs.
5338 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5341 for dir
in .
$skipdirs $noconfigdirs ; do
5342 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5343 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5344 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5345 if test -r $srcdir/$dirname/configure
; then
5346 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5349 notsupp
="$notsupp $dir"
5353 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5354 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5355 if test -r $srcdir/$dirname/configure
; then
5356 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5359 notsupp
="$notsupp $dir"
5363 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5364 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5365 if test -r $srcdir/$dirname/configure
; then
5366 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5369 notsupp
="$notsupp $dir"
5375 # Sometimes the tools are distributed with libiberty but with no other
5376 # libraries. In that case, we don't want to build target-libiberty.
5377 # Don't let libgcc imply libiberty either.
5378 if test -n "${target_configdirs}" ; then
5381 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5382 if test "$i" = "libgcc"; then
5383 libgcc
=target-libgcc
5384 elif test "$i" != "libiberty" ; then
5385 if test -r $srcdir/$i/configure
; then
5391 if test -z "${others}" ; then
5392 target_configdirs
=$libgcc
5396 # Quietly strip out all directories which aren't configurable in this tree.
5397 # This relies on all configurable subdirectories being autoconfiscated, which
5399 build_configdirs_all
="$build_configdirs"
5401 for i
in ${build_configdirs_all} ; do
5402 j
=`echo $i | sed -e s/build-//g`
5403 if test -f ${srcdir}/$j/configure
; then
5404 build_configdirs
="${build_configdirs} $i"
5408 configdirs_all
="$configdirs"
5410 for i
in ${configdirs_all} ; do
5411 if test -f ${srcdir}/$i/configure
; then
5412 configdirs
="${configdirs} $i"
5416 target_configdirs_all
="$target_configdirs"
5418 for i
in ${target_configdirs_all} ; do
5419 j
=`echo $i | sed -e s/target-//g`
5420 if test -f ${srcdir}/$j/configure
; then
5421 target_configdirs
="${target_configdirs} $i"
5425 # Produce a warning message for the subdirs we can't configure.
5426 # This isn't especially interesting in the Cygnus tree, but in the individual
5427 # FSF releases, it's important to let people know when their machine isn't
5428 # supported by the one or two programs in a package.
5430 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5431 # If $appdirs is non-empty, at least one of those directories must still
5432 # be configured, or we error out. (E.g., if the gas release supports a
5433 # specified target in some subdirs but not the gas subdir, we shouldn't
5434 # pretend that all is well.)
5435 if test -n "$appdirs" ; then
5436 for dir
in $appdirs ; do
5437 if test -r $dir/Makefile.
in ; then
5438 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5442 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5448 if test -n "$appdirs" ; then
5449 echo "*** This configuration is not supported by this package." 1>&2
5453 # Okay, some application will build, or we don't care to check. Still
5454 # notify of subdirs not getting built.
5455 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5456 echo " ${notsupp}" 1>&2
5457 echo " (Any other directories should still work fine.)" 1>&2
5465 # To find our prefix, in gcc_cv_tool_prefix.
5467 # The user is always right.
5468 if test "${PATH_SEPARATOR+set}" != set; then
5469 echo "#! /bin/sh" >conf$$.sh
5470 echo "exit 0" >>conf$$.sh
5472 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5482 if test "x$exec_prefix" = xNONE
; then
5483 if test "x$prefix" = xNONE
; then
5484 gcc_cv_tool_prefix
=$ac_default_prefix
5486 gcc_cv_tool_prefix
=$prefix
5489 gcc_cv_tool_prefix
=$exec_prefix
5492 # If there is no compiler in the tree, use the PATH only. In any
5493 # case, if there is no compiler in the tree nobody should use
5494 # AS_FOR_TARGET and LD_FOR_TARGET.
5495 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5496 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5497 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5498 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5499 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5500 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5501 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5502 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5507 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5508 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5516 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5517 if test "${with_build_sysroot+set}" = set; then
5518 withval
="$with_build_sysroot"
5519 if test x
"$withval" != x
; then
5520 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5523 SYSROOT_CFLAGS_FOR_TARGET
=
5528 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5529 if test "${with_debug_prefix_map+set}" = set; then
5530 withval
="$with_debug_prefix_map"
5531 if test x
"$withval" != x
; then
5532 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5533 for debug_map
in $withval; do
5534 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5538 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5542 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5543 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5544 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5545 # We want to ensure that TARGET libraries (which we know are built with
5546 # gcc) are built with "-O2 -g", so include those options when setting
5547 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5548 if test "x$CFLAGS_FOR_TARGET" = x
; then
5549 CFLAGS_FOR_TARGET
=$CFLAGS
5552 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5555 *" -g "* |
*" -g3 "*) ;;
5556 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5561 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5562 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5563 case " $CXXFLAGS " in
5565 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5567 case " $CXXFLAGS " in
5568 *" -g "* |
*" -g3 "*) ;;
5569 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5574 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5575 # the named directory are copied to $(tooldir)/sys-include.
5576 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5577 if test x
${is_cross_compiler} = xno
; then
5578 echo 1>&2 '***' --with-headers is only supported when cross compiling
5581 if test x
"${with_headers}" != xyes
; then
5582 x
=${gcc_cv_tool_prefix}
5583 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5587 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5588 # the name directories are copied to $(tooldir)/lib. Multiple directories
5590 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5591 if test x
${is_cross_compiler} = xno
; then
5592 echo 1>&2 '***' --with-libs is only supported when cross compiling
5595 if test x
"${with_libs}" != xyes
; then
5596 # Copy the libraries in reverse order, so that files in the first named
5597 # library override files in subsequent libraries.
5598 x
=${gcc_cv_tool_prefix}
5599 for l
in ${with_libs}; do
5600 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5605 # Set with_gnu_as and with_gnu_ld as appropriate.
5607 # This is done by determining whether or not the appropriate directory
5608 # is available, and by checking whether or not specific configurations
5609 # have requested that this magic not happen.
5611 # The command line options always override the explicit settings in
5612 # configure.in, and the settings in configure.in override this magic.
5614 # If the default for a toolchain is to use GNU as and ld, and you don't
5615 # want to do that, then you should use the --without-gnu-as and
5616 # --without-gnu-ld options for the configure script.
5618 if test x
${use_gnu_as} = x
&&
5619 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5621 extra_host_args
="$extra_host_args --with-gnu-as"
5624 if test x
${use_gnu_ld} = x
&&
5625 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5627 extra_host_args
="$extra_host_args --with-gnu-ld"
5630 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5631 # can detect this case.
5633 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5635 extra_host_args
="$extra_host_args --with-newlib"
5638 # Handle ${copy_dirs}
5639 set fnord
${copy_dirs}
5641 while test $# != 0 ; do
5642 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5645 echo Copying
$1 to
$2
5647 # Use the install script to create the directory and all required
5648 # parent directories.
5649 if test -d $2 ; then
5653 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5656 # Copy the directory, assuming we have tar.
5657 # FIXME: Should we use B in the second tar? Not all systems support it.
5658 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5660 # It is the responsibility of the user to correctly adjust all
5661 # symlinks. If somebody can figure out how to handle them correctly
5662 # here, feel free to add the code.
5669 # Determine a target-dependent exec_prefix that the installed
5670 # gcc will search in. Keep this list sorted by triplet, with
5671 # the *-*-osname triplets last.
5675 md_exec_prefix
=/gnu
/lib
/gcc-lib
5677 i
[34567]86-pc-msdosdjgpp*)
5678 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5680 i
[34567]86-*-sco3.2v5
*)
5681 if test $with_gnu_as = yes; then
5682 md_exec_prefix
=/usr
/gnu
/bin
5684 md_exec_prefix
=/usr
/ccs
/bin
/elf
5689 powerpc-
*-chorusos* | \
5690 powerpc
*-*-eabi* | \
5691 powerpc
*-*-sysv* | \
5692 powerpc
*-*-kaos* | \
5694 md_exec_prefix
=/usr
/ccs
/bin
5699 md_exec_prefix
=/usr
/ccs
/bin
5714 md_exec_prefix
=/usr
/ccs
/bin
5718 extra_arflags_for_target
=
5719 extra_nmflags_for_target
=
5720 extra_ranlibflags_for_target
=
5721 target_makefile_frag
=/dev
/null
5724 target_makefile_frag
="config/mt-mep"
5727 target_makefile_frag
="config/mt-spu"
5730 target_makefile_frag
="config/mt-sde"
5732 mipsisa
*-*-elfoabi*)
5733 target_makefile_frag
="config/mt-mips-elfoabi"
5735 mips
*-*-*linux
* | mips
*-*-gnu*)
5736 target_makefile_frag
="config/mt-mips-gnu"
5739 target_makefile_frag
="config/mt-netware"
5741 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
5742 target_makefile_frag
="config/mt-gnu"
5744 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5745 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5746 # commands to handle both 32-bit and 64-bit objects. These flags are
5747 # harmless if we're using GNU nm or ar.
5748 extra_arflags_for_target
=" -X32_64"
5749 extra_nmflags_for_target
=" -B -X32_64"
5752 # ranlib from Darwin requires the -c flag to look at common symbols.
5753 extra_ranlibflags_for_target
=" -c"
5755 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5756 target_makefile_frag
="config/mt-wince"
5760 alphaieee_frag
=/dev
/null
5763 # This just makes sure to use the -mieee option to build target libs.
5764 # This should probably be set individually by each library.
5765 alphaieee_frag
="config/mt-alphaieee"
5769 # If --enable-target-optspace always use -Os instead of -O2 to build
5770 # the target libraries, similarly if it is not specified, use -Os
5771 # on selected platforms.
5772 ospace_frag
=/dev
/null
5773 case "${enable_target_optspace}:${target}" in
5775 ospace_frag
="config/mt-ospace"
5778 ospace_frag
="config/mt-d30v"
5780 :m32r-
* |
:d10v-
* |
:fr30-
*)
5781 ospace_frag
="config/mt-ospace"
5786 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5790 # Default to using --with-stabs for certain targets.
5791 if test x
${with_stabs} = x
; then
5795 mips
*-*-* | alpha
*-*-osf*)
5797 extra_host_args
="${extra_host_args} --with-stabs"
5802 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5803 # them automatically.
5806 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5810 # Some systems (e.g., one of the i386-aix systems the gas testers are
5811 # using) don't handle "\$" correctly, so don't use it here.
5812 tooldir
='${exec_prefix}'/${target_noncanonical}
5813 build_tooldir
=${tooldir}
5815 # Create a .gdbinit file which runs the one in srcdir
5816 # and tells GDB to look there for source files.
5818 if test -r ${srcdir}/.gdbinit
; then
5821 *) cat > .
/.gdbinit
<<EOF
5825 source ${srcdir}/.gdbinit
5831 # Make sure that the compiler is able to generate an executable. If it
5832 # can't, we are probably in trouble. We don't care whether we can run the
5833 # executable--we might be using a cross compiler--we only care whether it
5834 # can be created. At this point the main configure script has set CC.
5836 echo "int main () { return 0; }" > conftest.c
5837 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5838 if test $?
= 0 ; then
5839 if test -s conftest ||
test -s conftest.exe
; then
5845 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5846 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5853 # The Solaris /usr/ucb/cc compiler does not appear to work.
5855 sparc-sun-solaris2
*)
5856 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5857 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5859 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5860 if test -d /opt
/cygnus
/bin
; then
5861 if test "$could_use" = "" ; then
5862 could_use
="/opt/cygnus/bin"
5864 could_use
="$could_use or /opt/cygnus/bin"
5867 if test "$could_use" = "" ; then
5868 echo "Warning: compilation may fail because you're using"
5869 echo "/usr/ucb/cc. You should change your PATH or CC "
5870 echo "variable and rerun configure."
5872 echo "Warning: compilation may fail because you're using"
5873 echo "/usr/ucb/cc, when you should use the C compiler from"
5874 echo "$could_use. You should change your"
5875 echo "PATH or CC variable and rerun configure."
5881 # Decide which environment variable is used to find dynamic libraries.
5883 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5884 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5885 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5886 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5889 # On systems where the dynamic library environment variable is PATH,
5890 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5891 # built executables to PATH.
5892 if test "$RPATH_ENVVAR" = PATH
; then
5893 GCC_SHLIB_SUBDIR
=/shlib
5898 # Record target_configdirs and the configure arguments for target and
5899 # build configuration in Makefile.
5900 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5901 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5903 # Determine whether gdb needs tk/tcl or not.
5904 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5905 # and in that case we want gdb to be built without tk. Ugh!
5906 # In fact I believe gdb is the *only* package directly dependent on tk,
5907 # so we should be able to put the 'maybe's in unconditionally and
5908 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5909 # 100% sure that that's safe though.
5911 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5912 case "$enable_gdbtk" in
5916 GDB_TK
="${gdb_tk}" ;;
5918 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5919 # distro. Eventually someone will fix this and move Insight, nee
5920 # gdbtk to a separate directory.
5921 if test -d ${srcdir}/gdb
/gdbtk
; then
5928 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5929 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5931 # Strip out unwanted targets.
5933 # While at that, we remove Makefiles if we were started for recursive
5934 # configuration, so that the top-level Makefile reconfigures them,
5935 # like we used to do when configure itself was recursive.
5937 # Loop over modules. $extrasub must be used with care, limiting as
5938 # much as possible the usage of range addresses. That's because autoconf
5939 # splits the sed script to overcome limits in the number of commands,
5940 # and relying on carefully-timed sed passes may turn out to be very hard
5941 # to maintain later. In this particular case, you just have to be careful
5942 # not to nest @if/@endif pairs, because configure will not warn you at all.
5944 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5945 if test "${enable_bootstrap+set}" = set; then
5946 enableval
="$enable_bootstrap"
5949 enable_bootstrap
=default
5952 # Issue errors and warnings for invalid/strange bootstrap combinations.
5953 case "$configdirs" in
5954 *gcc
*) have_compiler
=yes ;;
5955 *) have_compiler
=no
;;
5958 case "$have_compiler:$host:$target:$enable_bootstrap" in
5961 # Default behavior. Enable bootstrap if we have a compiler
5962 # and we are in a native configuration.
5963 yes:$build:$build:default
)
5964 enable_bootstrap
=yes ;;
5967 enable_bootstrap
=no
;;
5969 # We have a compiler and we are in a native configuration, bootstrap is ok
5970 yes:$build:$build:yes)
5973 # Other configurations, but we have a compiler. Assume the user knows
5976 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5977 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5980 # No compiler: if they passed --enable-bootstrap explicitly, fail
5982 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5983 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5984 { (exit 1); exit 1; }; } ;;
5986 # Fail if wrong command line
5988 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5989 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5990 { (exit 1); exit 1; }; }
5994 # Adjust the toplevel makefile according to whether bootstrap was selected.
5995 case "$enable_bootstrap" in
5997 bootstrap_suffix
=bootstrap
;;
5999 bootstrap_suffix
=no-bootstrap
;;
6002 for module
in ${build_configdirs} ; do
6003 if test -z "${no_recursion}" \
6004 && test -f ${build_subdir}/${module}/Makefile
; then
6005 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6006 rm -f ${build_subdir}/${module}/Makefile
6009 /^@if build-$module\$/d
6010 /^@endif build-$module\$/d
6011 /^@if build-$module-$bootstrap_suffix\$/d
6012 /^@endif build-$module-$bootstrap_suffix\$/d"
6014 for module
in ${configdirs} ; do
6015 if test -z "${no_recursion}"; then
6016 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6017 if test -f ${file}; then
6018 echo 1>&2 "*** removing ${file} to force reconfigure"
6025 /^@endif $module\$/d
6026 /^@if $module-$bootstrap_suffix\$/d
6027 /^@endif $module-$bootstrap_suffix\$/d"
6029 for module
in ${target_configdirs} ; do
6030 if test -z "${no_recursion}" \
6031 && test -f ${target_subdir}/${module}/Makefile
; then
6032 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6033 rm -f ${target_subdir}/${module}/Makefile
6036 /^@if target-$module\$/d
6037 /^@endif target-$module\$/d
6038 /^@if target-$module-$bootstrap_suffix\$/d
6039 /^@endif target-$module-$bootstrap_suffix\$/d"
6043 /^@if /,/^@endif /d"
6045 # Create the serialization dependencies. This uses a temporary file.
6047 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6048 if test "${enable_serial_configure+set}" = set; then
6049 enableval
="$enable_serial_configure"
6053 case ${enable_serial_configure} in
6055 enable_serial_build_configure
=yes
6056 enable_serial_host_configure
=yes
6057 enable_serial_target_configure
=yes
6061 # These force 'configure's to be done one at a time, to avoid problems
6062 # with contention over a shared config.cache.
6064 echo '# serdep.tmp' > serdep.tmp
6066 test "x${enable_serial_build_configure}" = xyes
&&
6067 for item
in ${build_configdirs} ; do
6070 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6075 test "x${enable_serial_host_configure}" = xyes
&&
6076 for item
in ${configdirs} ; do
6079 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6084 test "x${enable_serial_target_configure}" = xyes
&&
6085 for item
in ${target_configdirs} ; do
6088 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6092 serialization_dependencies
=serdep.tmp
6095 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6096 # target, nonopt, and variable assignments. These are the ones we
6097 # might not want to pass down to subconfigures. Also strip
6098 # program-prefix, program-suffix, and program-transform-name, so that
6099 # we can pass down a consistent program-transform-name.
6103 eval "set -- $ac_configure_args"
6106 if test X
"$skip_next" = X
"yes"; then
6110 if test X
"$keep_next" = X
"yes"; then
6113 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6115 baseargs
="$baseargs '$ac_arg'"
6120 # Handle separated arguments. Based on the logic generated by
6123 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6124 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6125 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6126 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6152 -program-prefix* | \
6153 -program-suffix* | \
6154 -program-transform-name* )
6155 skip_next
=$separate_arg
6159 # An option. Add it.
6162 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6164 baseargs
="$baseargs '$ac_arg'"
6165 keep_next
=$separate_arg
6168 # Either a variable assignment, or a nonopt (triplet). Don't
6169 # pass it down; let the Makefile handle this.
6174 # Remove the initial space we just introduced and, as these will be
6175 # expanded by make, quote '$'.
6176 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6178 # Add in --program-transform-name, after --program-prefix and
6179 # --program-suffix have been applied to it. Autoconf has already
6180 # doubled dollar signs and backslashes in program_transform_name; we want
6181 # the backslashes un-doubled, and then the entire thing wrapped in single
6182 # quotes, because this will be expanded first by make and then by the shell.
6183 # Also, because we want to override the logic in subdir configure scripts to
6184 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6185 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6186 ${program_transform_name}
6188 gcc_transform_name
=`cat conftestsed.out`
6189 rm -f conftestsed.out
6190 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6191 if test "$silent" = yes; then
6192 baseargs
="$baseargs --silent"
6195 # For the build-side libraries, we just need to pretend we're native,
6196 # and not use the same cache file. Multilibs are neither needed nor
6198 build_configargs
="--cache-file=../config.cache ${baseargs}"
6200 # For host modules, accept cache file option, or specification as blank.
6201 case "${cache_file}" in
6203 cache_file_option
="" ;;
6204 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6205 cache_file_option
="--cache-file=${cache_file}" ;;
6207 cache_file_option
="--cache-file=../${cache_file}" ;;
6210 # Host dirs don't like to share a cache file either, horribly enough.
6211 # This seems to be due to autoconf 2.5x stupidity.
6212 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6214 target_configargs
=${baseargs}
6216 # Passing a --with-cross-host argument lets the target libraries know
6217 # whether they are being built with a cross-compiler or being built
6218 # native. However, it would be better to use other mechanisms to make the
6219 # sorts of decisions they want to make on this basis. Please consider
6220 # this option to be deprecated. FIXME.
6221 if test x
${is_cross_compiler} = xyes
; then
6222 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6225 # Default to --enable-multilib.
6226 if test x
${enable_multilib} = x
; then
6227 target_configargs
="--enable-multilib ${target_configargs}"
6230 # Pass --with-newlib if appropriate. Note that target_configdirs has
6231 # changed from the earlier setting of with_newlib.
6232 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6233 target_configargs
="--with-newlib ${target_configargs}"
6236 # Different target subdirs use different values of certain variables
6237 # (notably CXX). Worse, multilibs use *lots* of different values.
6238 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6239 # it doesn't automatically accept command-line overrides of them.
6240 # This means it's not safe for target subdirs to share a cache file,
6241 # which is disgusting, but there you have it. Hopefully this can be
6242 # fixed in future. It's still worthwhile to use a cache file for each
6243 # directory. I think.
6245 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6246 # We need to pass --target, as newer autoconf's requires consistency
6247 # for target_alias and gcc doesn't manage it consistently.
6248 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6251 case " $target_configdirs " in
6253 case " $target_configargs " in
6254 *" --with-newlib "*)
6257 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' ;;
6260 # If we're not building GCC, don't discard standard headers.
6261 if test -d ${srcdir}/gcc
; then
6262 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6264 if test "${build}" != "${host}"; then
6265 # On Canadian crosses, CC_FOR_TARGET will have already been set
6266 # by `configure', so we won't have an opportunity to add -Bgcc/
6267 # to it. This is right: we don't want to search that directory
6268 # for binaries, but we want the header files in there, so add
6270 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6272 # Someone might think of using the pre-installed headers on
6273 # Canadian crosses, in case the installed compiler is not fully
6274 # compatible with the compiler being built. In this case, it
6275 # would be better to flag an error than risking having
6276 # incompatible object files being constructed. We can't
6277 # guarantee that an error will be flagged, but let's hope the
6278 # compiler will do it, when presented with incompatible header
6283 case "${target}-${is_cross_compiler}" in
6284 i
[3456789]86-*-linux*-no)
6285 # Here host == target, so we don't need to build gcc,
6286 # so we don't want to discard standard headers.
6287 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6290 # If we're building newlib, use its generic headers last, but search
6291 # for any libc-related directories first (so make it the last -B
6293 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6295 # If we're building libgloss, find the startup file, simulator library
6296 # and linker script.
6297 case " $target_configdirs " in
6299 # Look for startup file, simulator library and maybe linker script.
6300 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6301 # Look for libnosys.a in case the target needs it.
6302 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6303 # Most targets have the linker script in the source directory.
6304 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6315 # Can't be handled as Cygwin above since Mingw does not use newlib.
6316 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' ;;
6319 # Allow the user to override the flags for
6320 # our build compiler if desired.
6321 if test x
"${build}" = x
"${host}" ; then
6322 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6323 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6324 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6327 # On Canadian crosses, we'll be searching the right directories for
6328 # the previously-installed cross compiler, so don't bother to add
6329 # flags for directories within the install tree of the compiler
6330 # being built; programs in there won't even run.
6331 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6332 # Search for pre-installed headers if nothing else fits.
6333 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6336 if test "x
${use_gnu_ld}" = x &&
6337 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6338 # Arrange for us to find uninstalled linker scripts.
6339 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6342 # Search for other target-specific linker scripts and such.
6345 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6349 # Makefile fragments.
6350 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6352 eval fragval=\$$frag
6353 if test $fragval != /dev/null; then
6354 eval $frag=${srcdir}/$fragval
6362 # Miscellanea: directories, flags, etc.
6371 # Build module lists & subconfigure args.
6375 # Host module lists & subconfigure args.
6379 # Target module lists & subconfigure args.
6401 # Generate default definitions for YACC, M4, LEX and other programs that run
6402 # on the build machine. These are used if the Makefile can't locate these
6403 # programs in objdir.
6404 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6406 for ac_prog in 'bison -y' byacc yacc
6408 # Extract the first word of "$ac_prog", so it can be a program name with args.
6409 set dummy $ac_prog; ac_word=$2
6410 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6411 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6412 if test "${ac_cv_prog_YACC+set}" = set; then
6413 echo $ECHO_N "(cached
) $ECHO_C" >&6
6415 if test -n "$YACC"; then
6416 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_YACC="$ac_prog"
6426 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6434 YACC=$ac_cv_prog_YACC
6435 if test -n "$YACC"; then
6436 echo "$as_me:$LINENO: result
: $YACC" >&5
6437 echo "${ECHO_T}$YACC" >&6
6439 echo "$as_me:$LINENO: result
: no
" >&5
6440 echo "${ECHO_T}no
" >&6
6443 test -n "$YACC" && break
6445 test -n "$YACC" || YACC="$MISSING bison
-y"
6447 case " $build_configdirs " in
6448 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6449 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6452 for ac_prog in bison
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy $ac_prog; ac_word=$2
6456 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6457 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6458 if test "${ac_cv_prog_BISON+set}" = set; then
6459 echo $ECHO_N "(cached
) $ECHO_C" >&6
6461 if test -n "$BISON"; then
6462 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_BISON="$ac_prog"
6472 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6480 BISON=$ac_cv_prog_BISON
6481 if test -n "$BISON"; then
6482 echo "$as_me:$LINENO: result
: $BISON" >&5
6483 echo "${ECHO_T}$BISON" >&6
6485 echo "$as_me:$LINENO: result
: no
" >&5
6486 echo "${ECHO_T}no
" >&6
6489 test -n "$BISON" && break
6491 test -n "$BISON" || BISON="$MISSING bison
"
6493 case " $build_configdirs " in
6494 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6497 for ac_prog in gm4 gnum4 m4
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6503 if test "${ac_cv_prog_M4+set}" = set; then
6504 echo $ECHO_N "(cached
) $ECHO_C" >&6
6506 if test -n "$M4"; then
6507 ac_cv_prog_M4="$M4" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516 ac_cv_prog_M4="$ac_prog"
6517 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6526 if test -n "$M4"; then
6527 echo "$as_me:$LINENO: result
: $M4" >&5
6528 echo "${ECHO_T}$M4" >&6
6530 echo "$as_me:$LINENO: result
: no
" >&5
6531 echo "${ECHO_T}no
" >&6
6534 test -n "$M4" && break
6536 test -n "$M4" || M4="$MISSING m4"
6538 case " $build_configdirs " in
6539 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6542 for ac_prog in flex lex
6544 # Extract the first word of "$ac_prog", so it can be a program name with args.
6545 set dummy $ac_prog; ac_word=$2
6546 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6548 if test "${ac_cv_prog_LEX+set}" = set; then
6549 echo $ECHO_N "(cached
) $ECHO_C" >&6
6551 if test -n "$LEX"; then
6552 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_LEX="$ac_prog"
6562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6571 if test -n "$LEX"; then
6572 echo "$as_me:$LINENO: result
: $LEX" >&5
6573 echo "${ECHO_T}$LEX" >&6
6575 echo "$as_me:$LINENO: result
: no
" >&5
6576 echo "${ECHO_T}no
" >&6
6579 test -n "$LEX" && break
6581 test -n "$LEX" || LEX="$MISSING flex
"
6583 case " $build_configdirs " in
6584 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6585 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6590 # Extract the first word of "$ac_prog", so it can be a program name with args.
6591 set dummy $ac_prog; ac_word=$2
6592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6594 if test "${ac_cv_prog_FLEX+set}" = set; then
6595 echo $ECHO_N "(cached
) $ECHO_C" >&6
6597 if test -n "$FLEX"; then
6598 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_FLEX="$ac_prog"
6608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6616 FLEX=$ac_cv_prog_FLEX
6617 if test -n "$FLEX"; then
6618 echo "$as_me:$LINENO: result
: $FLEX" >&5
6619 echo "${ECHO_T}$FLEX" >&6
6621 echo "$as_me:$LINENO: result
: no
" >&5
6622 echo "${ECHO_T}no
" >&6
6625 test -n "$FLEX" && break
6627 test -n "$FLEX" || FLEX="$MISSING flex
"
6629 case " $build_configdirs " in
6630 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6633 for ac_prog in makeinfo
6635 # Extract the first word of "$ac_prog", so it can be a program name with args.
6636 set dummy $ac_prog; ac_word=$2
6637 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6638 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6639 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6640 echo $ECHO_N "(cached
) $ECHO_C" >&6
6642 if test -n "$MAKEINFO"; then
6643 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_MAKEINFO="$ac_prog"
6653 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6661 MAKEINFO=$ac_cv_prog_MAKEINFO
6662 if test -n "$MAKEINFO"; then
6663 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6664 echo "${ECHO_T}$MAKEINFO" >&6
6666 echo "$as_me:$LINENO: result
: no
" >&5
6667 echo "${ECHO_T}no
" >&6
6670 test -n "$MAKEINFO" && break
6672 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6674 case " $build_configdirs " in
6675 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6678 # For an installed makeinfo, we require it to be from texinfo 4.7 or
6679 # higher, else we use the "missing
" dummy.
6680 if ${MAKEINFO} --version \
6681 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6684 MAKEINFO="$MISSING makeinfo
"
6690 # FIXME: expect and dejagnu may become build tools?
6692 for ac_prog in expect
6694 # Extract the first word of "$ac_prog", so it can be a program name with args.
6695 set dummy $ac_prog; ac_word=$2
6696 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6697 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6698 if test "${ac_cv_prog_EXPECT+set}" = set; then
6699 echo $ECHO_N "(cached
) $ECHO_C" >&6
6701 if test -n "$EXPECT"; then
6702 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_EXPECT="$ac_prog"
6712 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6720 EXPECT=$ac_cv_prog_EXPECT
6721 if test -n "$EXPECT"; then
6722 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6723 echo "${ECHO_T}$EXPECT" >&6
6725 echo "$as_me:$LINENO: result
: no
" >&5
6726 echo "${ECHO_T}no
" >&6
6729 test -n "$EXPECT" && break
6731 test -n "$EXPECT" || EXPECT="expect
"
6733 case " $configdirs " in
6735 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6739 for ac_prog in runtest
6741 # Extract the first word of "$ac_prog", so it can be a program name with args.
6742 set dummy $ac_prog; ac_word=$2
6743 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6744 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6745 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6746 echo $ECHO_N "(cached
) $ECHO_C" >&6
6748 if test -n "$RUNTEST"; then
6749 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_RUNTEST="$ac_prog"
6759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6767 RUNTEST=$ac_cv_prog_RUNTEST
6768 if test -n "$RUNTEST"; then
6769 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6770 echo "${ECHO_T}$RUNTEST" >&6
6772 echo "$as_me:$LINENO: result
: no
" >&5
6773 echo "${ECHO_T}no
" >&6
6776 test -n "$RUNTEST" && break
6778 test -n "$RUNTEST" || RUNTEST="runtest
"
6780 case " $configdirs " in
6782 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6789 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6790 ncn_target_tool_prefix=
6791 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6795 if test -n "$AR"; then
6797 elif test -n "$ac_cv_prog_AR"; then
6801 if test -n "$ac_cv_prog_AR"; then
6802 for ncn_progname in ar; do
6803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6804 set dummy ${ncn_progname}; ac_word=$2
6805 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6806 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6807 if test "${ac_cv_prog_AR+set}" = set; then
6808 echo $ECHO_N "(cached
) $ECHO_C" >&6
6810 if test -n "$AR"; then
6811 ac_cv_prog_AR="$AR" # Let the user override the test.
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir=.
6818 for ac_exec_ext in '' $ac_executable_extensions; do
6819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820 ac_cv_prog_AR="${ncn_progname}"
6821 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6830 if test -n "$AR"; then
6831 echo "$as_me:$LINENO: result
: $AR" >&5
6832 echo "${ECHO_T}$AR" >&6
6834 echo "$as_me:$LINENO: result
: no
" >&5
6835 echo "${ECHO_T}no
" >&6
6841 for ncn_progname in ar; do
6842 if test -n "$ncn_tool_prefix"; then
6843 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6844 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6845 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6847 if test "${ac_cv_prog_AR+set}" = set; then
6848 echo $ECHO_N "(cached
) $ECHO_C" >&6
6850 if test -n "$AR"; then
6851 ac_cv_prog_AR="$AR" # Let the user override the test.
6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir=.
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6870 if test -n "$AR"; then
6871 echo "$as_me:$LINENO: result
: $AR" >&5
6872 echo "${ECHO_T}$AR" >&6
6874 echo "$as_me:$LINENO: result
: no
" >&5
6875 echo "${ECHO_T}no
" >&6
6879 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6880 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6881 set dummy ${ncn_progname}; ac_word=$2
6882 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6883 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6884 if test "${ac_cv_prog_AR+set}" = set; then
6885 echo $ECHO_N "(cached
) $ECHO_C" >&6
6887 if test -n "$AR"; then
6888 ac_cv_prog_AR="$AR" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_AR="${ncn_progname}"
6898 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6907 if test -n "$AR"; then
6908 echo "$as_me:$LINENO: result
: $AR" >&5
6909 echo "${ECHO_T}$AR" >&6
6911 echo "$as_me:$LINENO: result
: no
" >&5
6912 echo "${ECHO_T}no
" >&6
6916 test -n "$ac_cv_prog_AR" && break
6919 if test -z "$ac_cv_prog_AR" ; then
6921 if test $build = $host ; then
6924 AR="${ncn_tool_prefix}$2"
6930 if test -n "$AS"; then
6932 elif test -n "$ac_cv_prog_AS"; then
6936 if test -n "$ac_cv_prog_AS"; then
6937 for ncn_progname in as; do
6938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6939 set dummy ${ncn_progname}; ac_word=$2
6940 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6941 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6942 if test "${ac_cv_prog_AS+set}" = set; then
6943 echo $ECHO_N "(cached
) $ECHO_C" >&6
6945 if test -n "$AS"; then
6946 ac_cv_prog_AS="$AS" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_prog_AS="${ncn_progname}"
6956 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6965 if test -n "$AS"; then
6966 echo "$as_me:$LINENO: result
: $AS" >&5
6967 echo "${ECHO_T}$AS" >&6
6969 echo "$as_me:$LINENO: result
: no
" >&5
6970 echo "${ECHO_T}no
" >&6
6976 for ncn_progname in as; do
6977 if test -n "$ncn_tool_prefix"; then
6978 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6979 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6980 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6981 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6982 if test "${ac_cv_prog_AS+set}" = set; then
6983 echo $ECHO_N "(cached
) $ECHO_C" >&6
6985 if test -n "$AS"; then
6986 ac_cv_prog_AS="$AS" # Let the user override the test.
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir=.
6993 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6996 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7005 if test -n "$AS"; then
7006 echo "$as_me:$LINENO: result
: $AS" >&5
7007 echo "${ECHO_T}$AS" >&6
7009 echo "$as_me:$LINENO: result
: no
" >&5
7010 echo "${ECHO_T}no
" >&6
7014 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7016 set dummy ${ncn_progname}; ac_word=$2
7017 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7019 if test "${ac_cv_prog_AS+set}" = set; then
7020 echo $ECHO_N "(cached
) $ECHO_C" >&6
7022 if test -n "$AS"; then
7023 ac_cv_prog_AS="$AS" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_AS="${ncn_progname}"
7033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7042 if test -n "$AS"; then
7043 echo "$as_me:$LINENO: result
: $AS" >&5
7044 echo "${ECHO_T}$AS" >&6
7046 echo "$as_me:$LINENO: result
: no
" >&5
7047 echo "${ECHO_T}no
" >&6
7051 test -n "$ac_cv_prog_AS" && break
7054 if test -z "$ac_cv_prog_AS" ; then
7056 if test $build = $host ; then
7059 AS="${ncn_tool_prefix}$2"
7065 if test -n "$DLLTOOL"; then
7066 ac_cv_prog_DLLTOOL=$DLLTOOL
7067 elif test -n "$ac_cv_prog_DLLTOOL"; then
7068 DLLTOOL=$ac_cv_prog_DLLTOOL
7071 if test -n "$ac_cv_prog_DLLTOOL"; then
7072 for ncn_progname in dlltool; do
7073 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7074 set dummy ${ncn_progname}; ac_word=$2
7075 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7076 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7077 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7078 echo $ECHO_N "(cached
) $ECHO_C" >&6
7080 if test -n "$DLLTOOL"; then
7081 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_DLLTOOL="${ncn_progname}"
7091 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7099 DLLTOOL=$ac_cv_prog_DLLTOOL
7100 if test -n "$DLLTOOL"; then
7101 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7102 echo "${ECHO_T}$DLLTOOL" >&6
7104 echo "$as_me:$LINENO: result
: no
" >&5
7105 echo "${ECHO_T}no
" >&6
7111 for ncn_progname in dlltool; do
7112 if test -n "$ncn_tool_prefix"; then
7113 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7114 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7115 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7117 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7118 echo $ECHO_N "(cached
) $ECHO_C" >&6
7120 if test -n "$DLLTOOL"; then
7121 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7131 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7139 DLLTOOL=$ac_cv_prog_DLLTOOL
7140 if test -n "$DLLTOOL"; then
7141 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7142 echo "${ECHO_T}$DLLTOOL" >&6
7144 echo "$as_me:$LINENO: result
: no
" >&5
7145 echo "${ECHO_T}no
" >&6
7149 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7150 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7151 set dummy ${ncn_progname}; ac_word=$2
7152 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7153 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7154 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7155 echo $ECHO_N "(cached
) $ECHO_C" >&6
7157 if test -n "$DLLTOOL"; then
7158 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_DLLTOOL="${ncn_progname}"
7168 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7176 DLLTOOL=$ac_cv_prog_DLLTOOL
7177 if test -n "$DLLTOOL"; then
7178 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7179 echo "${ECHO_T}$DLLTOOL" >&6
7181 echo "$as_me:$LINENO: result
: no
" >&5
7182 echo "${ECHO_T}no
" >&6
7186 test -n "$ac_cv_prog_DLLTOOL" && break
7189 if test -z "$ac_cv_prog_DLLTOOL" ; then
7191 if test $build = $host ; then
7194 DLLTOOL="${ncn_tool_prefix}$2"
7200 if test -n "$LD"; then
7202 elif test -n "$ac_cv_prog_LD"; then
7206 if test -n "$ac_cv_prog_LD"; then
7207 for ncn_progname in ld; do
7208 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7209 set dummy ${ncn_progname}; ac_word=$2
7210 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7211 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7212 if test "${ac_cv_prog_LD+set}" = set; then
7213 echo $ECHO_N "(cached
) $ECHO_C" >&6
7215 if test -n "$LD"; then
7216 ac_cv_prog_LD="$LD" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_LD="${ncn_progname}"
7226 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7235 if test -n "$LD"; then
7236 echo "$as_me:$LINENO: result
: $LD" >&5
7237 echo "${ECHO_T}$LD" >&6
7239 echo "$as_me:$LINENO: result
: no
" >&5
7240 echo "${ECHO_T}no
" >&6
7246 for ncn_progname in ld; do
7247 if test -n "$ncn_tool_prefix"; then
7248 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7249 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7250 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7251 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7252 if test "${ac_cv_prog_LD+set}" = set; then
7253 echo $ECHO_N "(cached
) $ECHO_C" >&6
7255 if test -n "$LD"; then
7256 ac_cv_prog_LD="$LD" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7266 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7275 if test -n "$LD"; then
7276 echo "$as_me:$LINENO: result
: $LD" >&5
7277 echo "${ECHO_T}$LD" >&6
7279 echo "$as_me:$LINENO: result
: no
" >&5
7280 echo "${ECHO_T}no
" >&6
7284 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7286 set dummy ${ncn_progname}; ac_word=$2
7287 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7288 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7289 if test "${ac_cv_prog_LD+set}" = set; then
7290 echo $ECHO_N "(cached
) $ECHO_C" >&6
7292 if test -n "$LD"; then
7293 ac_cv_prog_LD="$LD" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_LD="${ncn_progname}"
7303 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7312 if test -n "$LD"; then
7313 echo "$as_me:$LINENO: result
: $LD" >&5
7314 echo "${ECHO_T}$LD" >&6
7316 echo "$as_me:$LINENO: result
: no
" >&5
7317 echo "${ECHO_T}no
" >&6
7321 test -n "$ac_cv_prog_LD" && break
7324 if test -z "$ac_cv_prog_LD" ; then
7326 if test $build = $host ; then
7329 LD="${ncn_tool_prefix}$2"
7335 if test -n "$LIPO"; then
7336 ac_cv_prog_LIPO=$LIPO
7337 elif test -n "$ac_cv_prog_LIPO"; then
7338 LIPO=$ac_cv_prog_LIPO
7341 if test -n "$ac_cv_prog_LIPO"; then
7342 for ncn_progname in lipo; do
7343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7344 set dummy ${ncn_progname}; ac_word=$2
7345 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7347 if test "${ac_cv_prog_LIPO+set}" = set; then
7348 echo $ECHO_N "(cached
) $ECHO_C" >&6
7350 if test -n "$LIPO"; then
7351 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_LIPO="${ncn_progname}"
7361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7369 LIPO=$ac_cv_prog_LIPO
7370 if test -n "$LIPO"; then
7371 echo "$as_me:$LINENO: result
: $LIPO" >&5
7372 echo "${ECHO_T}$LIPO" >&6
7374 echo "$as_me:$LINENO: result
: no
" >&5
7375 echo "${ECHO_T}no
" >&6
7381 for ncn_progname in lipo; do
7382 if test -n "$ncn_tool_prefix"; then
7383 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7384 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7385 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7387 if test "${ac_cv_prog_LIPO+set}" = set; then
7388 echo $ECHO_N "(cached
) $ECHO_C" >&6
7390 if test -n "$LIPO"; then
7391 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 LIPO=$ac_cv_prog_LIPO
7410 if test -n "$LIPO"; then
7411 echo "$as_me:$LINENO: result
: $LIPO" >&5
7412 echo "${ECHO_T}$LIPO" >&6
7414 echo "$as_me:$LINENO: result
: no
" >&5
7415 echo "${ECHO_T}no
" >&6
7419 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7421 set dummy ${ncn_progname}; ac_word=$2
7422 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7423 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7424 if test "${ac_cv_prog_LIPO+set}" = set; then
7425 echo $ECHO_N "(cached
) $ECHO_C" >&6
7427 if test -n "$LIPO"; then
7428 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_LIPO="${ncn_progname}"
7438 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 LIPO=$ac_cv_prog_LIPO
7447 if test -n "$LIPO"; then
7448 echo "$as_me:$LINENO: result
: $LIPO" >&5
7449 echo "${ECHO_T}$LIPO" >&6
7451 echo "$as_me:$LINENO: result
: no
" >&5
7452 echo "${ECHO_T}no
" >&6
7456 test -n "$ac_cv_prog_LIPO" && break
7459 if test -z "$ac_cv_prog_LIPO" ; then
7461 if test $build = $host ; then
7464 LIPO="${ncn_tool_prefix}$2"
7470 if test -n "$NM"; then
7472 elif test -n "$ac_cv_prog_NM"; then
7476 if test -n "$ac_cv_prog_NM"; then
7477 for ncn_progname in nm; do
7478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7479 set dummy ${ncn_progname}; ac_word=$2
7480 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7481 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7482 if test "${ac_cv_prog_NM+set}" = set; then
7483 echo $ECHO_N "(cached
) $ECHO_C" >&6
7485 if test -n "$NM"; then
7486 ac_cv_prog_NM="$NM" # Let the user override the test.
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_NM="${ncn_progname}"
7496 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7505 if test -n "$NM"; then
7506 echo "$as_me:$LINENO: result
: $NM" >&5
7507 echo "${ECHO_T}$NM" >&6
7509 echo "$as_me:$LINENO: result
: no
" >&5
7510 echo "${ECHO_T}no
" >&6
7516 for ncn_progname in nm; do
7517 if test -n "$ncn_tool_prefix"; then
7518 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7519 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7520 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7521 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7522 if test "${ac_cv_prog_NM+set}" = set; then
7523 echo $ECHO_N "(cached
) $ECHO_C" >&6
7525 if test -n "$NM"; then
7526 ac_cv_prog_NM="$NM" # Let the user override the test.
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7536 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7545 if test -n "$NM"; then
7546 echo "$as_me:$LINENO: result
: $NM" >&5
7547 echo "${ECHO_T}$NM" >&6
7549 echo "$as_me:$LINENO: result
: no
" >&5
7550 echo "${ECHO_T}no
" >&6
7554 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7556 set dummy ${ncn_progname}; ac_word=$2
7557 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7558 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7559 if test "${ac_cv_prog_NM+set}" = set; then
7560 echo $ECHO_N "(cached
) $ECHO_C" >&6
7562 if test -n "$NM"; then
7563 ac_cv_prog_NM="$NM" # Let the user override the test.
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572 ac_cv_prog_NM="${ncn_progname}"
7573 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7582 if test -n "$NM"; then
7583 echo "$as_me:$LINENO: result
: $NM" >&5
7584 echo "${ECHO_T}$NM" >&6
7586 echo "$as_me:$LINENO: result
: no
" >&5
7587 echo "${ECHO_T}no
" >&6
7591 test -n "$ac_cv_prog_NM" && break
7594 if test -z "$ac_cv_prog_NM" ; then
7596 if test $build = $host ; then
7599 NM="${ncn_tool_prefix}$2"
7605 if test -n "$RANLIB"; then
7606 ac_cv_prog_RANLIB=$RANLIB
7607 elif test -n "$ac_cv_prog_RANLIB"; then
7608 RANLIB=$ac_cv_prog_RANLIB
7611 if test -n "$ac_cv_prog_RANLIB"; then
7612 for ncn_progname in ranlib; do
7613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7614 set dummy ${ncn_progname}; ac_word=$2
7615 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7616 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7617 if test "${ac_cv_prog_RANLIB+set}" = set; then
7618 echo $ECHO_N "(cached
) $ECHO_C" >&6
7620 if test -n "$RANLIB"; then
7621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627 test -z "$as_dir" && as_dir=.
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7630 ac_cv_prog_RANLIB="${ncn_progname}"
7631 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7639 RANLIB=$ac_cv_prog_RANLIB
7640 if test -n "$RANLIB"; then
7641 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7642 echo "${ECHO_T}$RANLIB" >&6
7644 echo "$as_me:$LINENO: result
: no
" >&5
7645 echo "${ECHO_T}no
" >&6
7651 for ncn_progname in ranlib; do
7652 if test -n "$ncn_tool_prefix"; then
7653 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7654 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7655 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7656 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7657 if test "${ac_cv_prog_RANLIB+set}" = set; then
7658 echo $ECHO_N "(cached
) $ECHO_C" >&6
7660 if test -n "$RANLIB"; then
7661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir=.
7668 for ac_exec_ext in '' $ac_executable_extensions; do
7669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7671 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7679 RANLIB=$ac_cv_prog_RANLIB
7680 if test -n "$RANLIB"; then
7681 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7682 echo "${ECHO_T}$RANLIB" >&6
7684 echo "$as_me:$LINENO: result
: no
" >&5
7685 echo "${ECHO_T}no
" >&6
7689 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7691 set dummy ${ncn_progname}; ac_word=$2
7692 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7693 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7694 if test "${ac_cv_prog_RANLIB+set}" = set; then
7695 echo $ECHO_N "(cached
) $ECHO_C" >&6
7697 if test -n "$RANLIB"; then
7698 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir=.
7705 for ac_exec_ext in '' $ac_executable_extensions; do
7706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_prog_RANLIB="${ncn_progname}"
7708 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7716 RANLIB=$ac_cv_prog_RANLIB
7717 if test -n "$RANLIB"; then
7718 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7719 echo "${ECHO_T}$RANLIB" >&6
7721 echo "$as_me:$LINENO: result
: no
" >&5
7722 echo "${ECHO_T}no
" >&6
7726 test -n "$ac_cv_prog_RANLIB" && break
7729 if test -z "$ac_cv_prog_RANLIB" ; then
7735 if test -n "$STRIP"; then
7736 ac_cv_prog_STRIP=$STRIP
7737 elif test -n "$ac_cv_prog_STRIP"; then
7738 STRIP=$ac_cv_prog_STRIP
7741 if test -n "$ac_cv_prog_STRIP"; then
7742 for ncn_progname in strip; do
7743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7744 set dummy ${ncn_progname}; ac_word=$2
7745 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7746 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7747 if test "${ac_cv_prog_STRIP+set}" = set; then
7748 echo $ECHO_N "(cached
) $ECHO_C" >&6
7750 if test -n "$STRIP"; then
7751 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7760 ac_cv_prog_STRIP="${ncn_progname}"
7761 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7769 STRIP=$ac_cv_prog_STRIP
7770 if test -n "$STRIP"; then
7771 echo "$as_me:$LINENO: result
: $STRIP" >&5
7772 echo "${ECHO_T}$STRIP" >&6
7774 echo "$as_me:$LINENO: result
: no
" >&5
7775 echo "${ECHO_T}no
" >&6
7781 for ncn_progname in strip; do
7782 if test -n "$ncn_tool_prefix"; then
7783 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7784 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7785 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7786 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7787 if test "${ac_cv_prog_STRIP+set}" = set; then
7788 echo $ECHO_N "(cached
) $ECHO_C" >&6
7790 if test -n "$STRIP"; then
7791 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir=.
7798 for ac_exec_ext in '' $ac_executable_extensions; do
7799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7800 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7801 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7809 STRIP=$ac_cv_prog_STRIP
7810 if test -n "$STRIP"; then
7811 echo "$as_me:$LINENO: result
: $STRIP" >&5
7812 echo "${ECHO_T}$STRIP" >&6
7814 echo "$as_me:$LINENO: result
: no
" >&5
7815 echo "${ECHO_T}no
" >&6
7819 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7821 set dummy ${ncn_progname}; ac_word=$2
7822 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7823 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7824 if test "${ac_cv_prog_STRIP+set}" = set; then
7825 echo $ECHO_N "(cached
) $ECHO_C" >&6
7827 if test -n "$STRIP"; then
7828 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_STRIP="${ncn_progname}"
7838 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7846 STRIP=$ac_cv_prog_STRIP
7847 if test -n "$STRIP"; then
7848 echo "$as_me:$LINENO: result
: $STRIP" >&5
7849 echo "${ECHO_T}$STRIP" >&6
7851 echo "$as_me:$LINENO: result
: no
" >&5
7852 echo "${ECHO_T}no
" >&6
7856 test -n "$ac_cv_prog_STRIP" && break
7859 if test -z "$ac_cv_prog_STRIP" ; then
7865 if test -n "$WINDRES"; then
7866 ac_cv_prog_WINDRES=$WINDRES
7867 elif test -n "$ac_cv_prog_WINDRES"; then
7868 WINDRES=$ac_cv_prog_WINDRES
7871 if test -n "$ac_cv_prog_WINDRES"; then
7872 for ncn_progname in windres; do
7873 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7874 set dummy ${ncn_progname}; ac_word=$2
7875 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7876 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7877 if test "${ac_cv_prog_WINDRES+set}" = set; then
7878 echo $ECHO_N "(cached
) $ECHO_C" >&6
7880 if test -n "$WINDRES"; then
7881 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_WINDRES="${ncn_progname}"
7891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 WINDRES=$ac_cv_prog_WINDRES
7900 if test -n "$WINDRES"; then
7901 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7902 echo "${ECHO_T}$WINDRES" >&6
7904 echo "$as_me:$LINENO: result
: no
" >&5
7905 echo "${ECHO_T}no
" >&6
7911 for ncn_progname in windres; do
7912 if test -n "$ncn_tool_prefix"; then
7913 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7914 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7915 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7917 if test "${ac_cv_prog_WINDRES+set}" = set; then
7918 echo $ECHO_N "(cached
) $ECHO_C" >&6
7920 if test -n "$WINDRES"; then
7921 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7931 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 WINDRES=$ac_cv_prog_WINDRES
7940 if test -n "$WINDRES"; then
7941 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7942 echo "${ECHO_T}$WINDRES" >&6
7944 echo "$as_me:$LINENO: result
: no
" >&5
7945 echo "${ECHO_T}no
" >&6
7949 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7951 set dummy ${ncn_progname}; ac_word=$2
7952 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7954 if test "${ac_cv_prog_WINDRES+set}" = set; then
7955 echo $ECHO_N "(cached
) $ECHO_C" >&6
7957 if test -n "$WINDRES"; then
7958 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 test -z "$as_dir" && as_dir=.
7965 for ac_exec_ext in '' $ac_executable_extensions; do
7966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_prog_WINDRES="${ncn_progname}"
7968 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7976 WINDRES=$ac_cv_prog_WINDRES
7977 if test -n "$WINDRES"; then
7978 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7979 echo "${ECHO_T}$WINDRES" >&6
7981 echo "$as_me:$LINENO: result
: no
" >&5
7982 echo "${ECHO_T}no
" >&6
7986 test -n "$ac_cv_prog_WINDRES" && break
7989 if test -z "$ac_cv_prog_WINDRES" ; then
7991 if test $build = $host ; then
7994 WINDRES="${ncn_tool_prefix}$2"
8000 if test -n "$WINDMC"; then
8001 ac_cv_prog_WINDMC=$WINDMC
8002 elif test -n "$ac_cv_prog_WINDMC"; then
8003 WINDMC=$ac_cv_prog_WINDMC
8006 if test -n "$ac_cv_prog_WINDMC"; then
8007 for ncn_progname in windmc; do
8008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8009 set dummy ${ncn_progname}; ac_word=$2
8010 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8012 if test "${ac_cv_prog_WINDMC+set}" = set; then
8013 echo $ECHO_N "(cached
) $ECHO_C" >&6
8015 if test -n "$WINDMC"; then
8016 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_WINDMC="${ncn_progname}"
8026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8034 WINDMC=$ac_cv_prog_WINDMC
8035 if test -n "$WINDMC"; then
8036 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8037 echo "${ECHO_T}$WINDMC" >&6
8039 echo "$as_me:$LINENO: result
: no
" >&5
8040 echo "${ECHO_T}no
" >&6
8046 for ncn_progname in windmc; do
8047 if test -n "$ncn_tool_prefix"; then
8048 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8049 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8052 if test "${ac_cv_prog_WINDMC+set}" = set; then
8053 echo $ECHO_N "(cached
) $ECHO_C" >&6
8055 if test -n "$WINDMC"; then
8056 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8074 WINDMC=$ac_cv_prog_WINDMC
8075 if test -n "$WINDMC"; then
8076 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8077 echo "${ECHO_T}$WINDMC" >&6
8079 echo "$as_me:$LINENO: result
: no
" >&5
8080 echo "${ECHO_T}no
" >&6
8084 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8086 set dummy ${ncn_progname}; ac_word=$2
8087 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8088 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8089 if test "${ac_cv_prog_WINDMC+set}" = set; then
8090 echo $ECHO_N "(cached
) $ECHO_C" >&6
8092 if test -n "$WINDMC"; then
8093 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_WINDMC="${ncn_progname}"
8103 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8111 WINDMC=$ac_cv_prog_WINDMC
8112 if test -n "$WINDMC"; then
8113 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8114 echo "${ECHO_T}$WINDMC" >&6
8116 echo "$as_me:$LINENO: result
: no
" >&5
8117 echo "${ECHO_T}no
" >&6
8121 test -n "$ac_cv_prog_WINDMC" && break
8124 if test -z "$ac_cv_prog_WINDMC" ; then
8126 if test $build = $host ; then
8129 WINDMC="${ncn_tool_prefix}$2"
8135 if test -n "$OBJCOPY"; then
8136 ac_cv_prog_OBJCOPY=$OBJCOPY
8137 elif test -n "$ac_cv_prog_OBJCOPY"; then
8138 OBJCOPY=$ac_cv_prog_OBJCOPY
8141 if test -n "$ac_cv_prog_OBJCOPY"; then
8142 for ncn_progname in objcopy; do
8143 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8144 set dummy ${ncn_progname}; ac_word=$2
8145 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8146 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8147 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8148 echo $ECHO_N "(cached
) $ECHO_C" >&6
8150 if test -n "$OBJCOPY"; then
8151 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 test -z "$as_dir" && as_dir=.
8158 for ac_exec_ext in '' $ac_executable_extensions; do
8159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8160 ac_cv_prog_OBJCOPY="${ncn_progname}"
8161 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8169 OBJCOPY=$ac_cv_prog_OBJCOPY
8170 if test -n "$OBJCOPY"; then
8171 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8172 echo "${ECHO_T}$OBJCOPY" >&6
8174 echo "$as_me:$LINENO: result
: no
" >&5
8175 echo "${ECHO_T}no
" >&6
8181 for ncn_progname in objcopy; do
8182 if test -n "$ncn_tool_prefix"; then
8183 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8184 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8185 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8186 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8187 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8188 echo $ECHO_N "(cached
) $ECHO_C" >&6
8190 if test -n "$OBJCOPY"; then
8191 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 test -z "$as_dir" && as_dir=.
8198 for ac_exec_ext in '' $ac_executable_extensions; do
8199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8201 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8209 OBJCOPY=$ac_cv_prog_OBJCOPY
8210 if test -n "$OBJCOPY"; then
8211 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8212 echo "${ECHO_T}$OBJCOPY" >&6
8214 echo "$as_me:$LINENO: result
: no
" >&5
8215 echo "${ECHO_T}no
" >&6
8219 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8220 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8221 set dummy ${ncn_progname}; ac_word=$2
8222 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8223 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8224 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8225 echo $ECHO_N "(cached
) $ECHO_C" >&6
8227 if test -n "$OBJCOPY"; then
8228 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8237 ac_cv_prog_OBJCOPY="${ncn_progname}"
8238 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8246 OBJCOPY=$ac_cv_prog_OBJCOPY
8247 if test -n "$OBJCOPY"; then
8248 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8249 echo "${ECHO_T}$OBJCOPY" >&6
8251 echo "$as_me:$LINENO: result
: no
" >&5
8252 echo "${ECHO_T}no
" >&6
8256 test -n "$ac_cv_prog_OBJCOPY" && break
8259 if test -z "$ac_cv_prog_OBJCOPY" ; then
8261 if test $build = $host ; then
8264 OBJCOPY="${ncn_tool_prefix}$2"
8270 if test -n "$OBJDUMP"; then
8271 ac_cv_prog_OBJDUMP=$OBJDUMP
8272 elif test -n "$ac_cv_prog_OBJDUMP"; then
8273 OBJDUMP=$ac_cv_prog_OBJDUMP
8276 if test -n "$ac_cv_prog_OBJDUMP"; then
8277 for ncn_progname in objdump; do
8278 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8279 set dummy ${ncn_progname}; ac_word=$2
8280 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8282 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8283 echo $ECHO_N "(cached
) $ECHO_C" >&6
8285 if test -n "$OBJDUMP"; then
8286 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8292 test -z "$as_dir" && as_dir=.
8293 for ac_exec_ext in '' $ac_executable_extensions; do
8294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8295 ac_cv_prog_OBJDUMP="${ncn_progname}"
8296 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8304 OBJDUMP=$ac_cv_prog_OBJDUMP
8305 if test -n "$OBJDUMP"; then
8306 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8307 echo "${ECHO_T}$OBJDUMP" >&6
8309 echo "$as_me:$LINENO: result
: no
" >&5
8310 echo "${ECHO_T}no
" >&6
8316 for ncn_progname in objdump; do
8317 if test -n "$ncn_tool_prefix"; then
8318 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8319 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8320 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8322 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8323 echo $ECHO_N "(cached
) $ECHO_C" >&6
8325 if test -n "$OBJDUMP"; then
8326 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8332 test -z "$as_dir" && as_dir=.
8333 for ac_exec_ext in '' $ac_executable_extensions; do
8334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8335 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8336 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8344 OBJDUMP=$ac_cv_prog_OBJDUMP
8345 if test -n "$OBJDUMP"; then
8346 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8347 echo "${ECHO_T}$OBJDUMP" >&6
8349 echo "$as_me:$LINENO: result
: no
" >&5
8350 echo "${ECHO_T}no
" >&6
8354 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8356 set dummy ${ncn_progname}; ac_word=$2
8357 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8359 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8360 echo $ECHO_N "(cached
) $ECHO_C" >&6
8362 if test -n "$OBJDUMP"; then
8363 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_OBJDUMP="${ncn_progname}"
8373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8381 OBJDUMP=$ac_cv_prog_OBJDUMP
8382 if test -n "$OBJDUMP"; then
8383 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8384 echo "${ECHO_T}$OBJDUMP" >&6
8386 echo "$as_me:$LINENO: result
: no
" >&5
8387 echo "${ECHO_T}no
" >&6
8391 test -n "$ac_cv_prog_OBJDUMP" && break
8394 if test -z "$ac_cv_prog_OBJDUMP" ; then
8396 if test $build = $host ; then
8399 OBJDUMP="${ncn_tool_prefix}$2"
8410 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8411 if test "${with_build_time_tools+set}" = set; then
8412 withval="$with_build_time_tools"
8416 with_build_time_tools=
8417 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8418 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8422 with_build_time_tools=
8427 if test -n "$CC_FOR_TARGET"; then
8428 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8429 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8430 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8433 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8434 for ncn_progname in cc gcc; do
8435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8436 set dummy ${ncn_progname}; ac_word=$2
8437 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8438 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8439 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8440 echo $ECHO_N "(cached
) $ECHO_C" >&6
8442 if test -n "$CC_FOR_TARGET"; then
8443 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir=.
8450 for ac_exec_ext in '' $ac_executable_extensions; do
8451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8452 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8461 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8462 if test -n "$CC_FOR_TARGET"; then
8463 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8464 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8466 echo "$as_me:$LINENO: result
: no
" >&5
8467 echo "${ECHO_T}no
" >&6
8473 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8474 for ncn_progname in cc gcc; do
8475 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8476 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8477 if test -x $with_build_time_tools/${ncn_progname}; then
8478 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8479 echo "$as_me:$LINENO: result
: yes" >&5
8480 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result
: no
" >&5
8484 echo "${ECHO_T}no
" >&6
8489 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8490 for ncn_progname in cc gcc; do
8491 if test -n "$ncn_target_tool_prefix"; then
8492 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8493 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8494 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8495 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8496 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8497 echo $ECHO_N "(cached
) $ECHO_C" >&6
8499 if test -n "$CC_FOR_TARGET"; then
8500 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8506 test -z "$as_dir" && as_dir=.
8507 for ac_exec_ext in '' $ac_executable_extensions; do
8508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8509 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8510 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8518 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8519 if test -n "$CC_FOR_TARGET"; then
8520 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8521 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8523 echo "$as_me:$LINENO: result
: no
" >&5
8524 echo "${ECHO_T}no
" >&6
8528 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8530 set dummy ${ncn_progname}; ac_word=$2
8531 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8532 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8533 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8534 echo $ECHO_N "(cached
) $ECHO_C" >&6
8536 if test -n "$CC_FOR_TARGET"; then
8537 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8547 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8555 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8556 if test -n "$CC_FOR_TARGET"; then
8557 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8558 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8560 echo "$as_me:$LINENO: result
: no
" >&5
8561 echo "${ECHO_T}no
" >&6
8565 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8569 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8571 if test $build = $target ; then
8574 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8577 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8582 if test -n "$CXX_FOR_TARGET"; then
8583 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8584 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8585 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8588 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8589 for ncn_progname in c++ g++ cxx gxx; do
8590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8591 set dummy ${ncn_progname}; ac_word=$2
8592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8594 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8595 echo $ECHO_N "(cached
) $ECHO_C" >&6
8597 if test -n "$CXX_FOR_TARGET"; then
8598 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir=.
8605 for ac_exec_ext in '' $ac_executable_extensions; do
8606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8607 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8616 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8617 if test -n "$CXX_FOR_TARGET"; then
8618 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8619 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8621 echo "$as_me:$LINENO: result
: no
" >&5
8622 echo "${ECHO_T}no
" >&6
8628 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8629 for ncn_progname in c++ g++ cxx gxx; do
8630 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8631 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8632 if test -x $with_build_time_tools/${ncn_progname}; then
8633 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8634 echo "$as_me:$LINENO: result
: yes" >&5
8635 echo "${ECHO_T}yes" >&6
8638 echo "$as_me:$LINENO: result
: no
" >&5
8639 echo "${ECHO_T}no
" >&6
8644 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8645 for ncn_progname in c++ g++ cxx gxx; do
8646 if test -n "$ncn_target_tool_prefix"; then
8647 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8648 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8649 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8650 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8651 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8652 echo $ECHO_N "(cached
) $ECHO_C" >&6
8654 if test -n "$CXX_FOR_TARGET"; then
8655 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8664 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8665 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8673 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8674 if test -n "$CXX_FOR_TARGET"; then
8675 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8676 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8678 echo "$as_me:$LINENO: result
: no
" >&5
8679 echo "${ECHO_T}no
" >&6
8683 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8685 set dummy ${ncn_progname}; ac_word=$2
8686 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8687 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8688 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8689 echo $ECHO_N "(cached
) $ECHO_C" >&6
8691 if test -n "$CXX_FOR_TARGET"; then
8692 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8701 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8702 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8710 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8711 if test -n "$CXX_FOR_TARGET"; then
8712 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8713 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8715 echo "$as_me:$LINENO: result
: no
" >&5
8716 echo "${ECHO_T}no
" >&6
8720 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8724 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8725 set dummy c++ g++ cxx gxx
8726 if test $build = $target ; then
8729 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8732 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8737 if test -n "$GCC_FOR_TARGET"; then
8738 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8739 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8740 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8743 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8744 for ncn_progname in gcc; do
8745 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8746 set dummy ${ncn_progname}; ac_word=$2
8747 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8748 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8749 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8750 echo $ECHO_N "(cached
) $ECHO_C" >&6
8752 if test -n "$GCC_FOR_TARGET"; then
8753 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8759 test -z "$as_dir" && as_dir=.
8760 for ac_exec_ext in '' $ac_executable_extensions; do
8761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8762 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8763 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8771 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8772 if test -n "$GCC_FOR_TARGET"; then
8773 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8774 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8776 echo "$as_me:$LINENO: result
: no
" >&5
8777 echo "${ECHO_T}no
" >&6
8783 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8784 for ncn_progname in gcc; do
8785 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8786 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8787 if test -x $with_build_time_tools/${ncn_progname}; then
8788 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8789 echo "$as_me:$LINENO: result
: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8793 echo "$as_me:$LINENO: result
: no
" >&5
8794 echo "${ECHO_T}no
" >&6
8799 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8800 for ncn_progname in gcc; do
8801 if test -n "$ncn_target_tool_prefix"; then
8802 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8803 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8804 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8805 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8806 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8807 echo $ECHO_N "(cached
) $ECHO_C" >&6
8809 if test -n "$GCC_FOR_TARGET"; then
8810 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8828 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8829 if test -n "$GCC_FOR_TARGET"; then
8830 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8831 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8833 echo "$as_me:$LINENO: result
: no
" >&5
8834 echo "${ECHO_T}no
" >&6
8838 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8840 set dummy ${ncn_progname}; ac_word=$2
8841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8843 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8844 echo $ECHO_N "(cached
) $ECHO_C" >&6
8846 if test -n "$GCC_FOR_TARGET"; then
8847 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8865 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8866 if test -n "$GCC_FOR_TARGET"; then
8867 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8868 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8870 echo "$as_me:$LINENO: result
: no
" >&5
8871 echo "${ECHO_T}no
" >&6
8875 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8879 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8880 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8882 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8887 if test -n "$GCJ_FOR_TARGET"; then
8888 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8889 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8890 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8893 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8894 for ncn_progname in gcj; do
8895 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8896 set dummy ${ncn_progname}; ac_word=$2
8897 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8899 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8900 echo $ECHO_N "(cached
) $ECHO_C" >&6
8902 if test -n "$GCJ_FOR_TARGET"; then
8903 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8913 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8921 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8922 if test -n "$GCJ_FOR_TARGET"; then
8923 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8924 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8926 echo "$as_me:$LINENO: result
: no
" >&5
8927 echo "${ECHO_T}no
" >&6
8933 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8934 for ncn_progname in gcj; do
8935 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8936 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8937 if test -x $with_build_time_tools/${ncn_progname}; then
8938 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8939 echo "$as_me:$LINENO: result
: yes" >&5
8940 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result
: no
" >&5
8944 echo "${ECHO_T}no
" >&6
8949 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8950 for ncn_progname in gcj; do
8951 if test -n "$ncn_target_tool_prefix"; then
8952 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8953 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8954 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8955 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8956 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8957 echo $ECHO_N "(cached
) $ECHO_C" >&6
8959 if test -n "$GCJ_FOR_TARGET"; then
8960 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8966 test -z "$as_dir" && as_dir=.
8967 for ac_exec_ext in '' $ac_executable_extensions; do
8968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8969 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8970 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8978 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8979 if test -n "$GCJ_FOR_TARGET"; then
8980 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8981 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8983 echo "$as_me:$LINENO: result
: no
" >&5
8984 echo "${ECHO_T}no
" >&6
8988 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8990 set dummy ${ncn_progname}; ac_word=$2
8991 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8992 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8993 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8994 echo $ECHO_N "(cached
) $ECHO_C" >&6
8996 if test -n "$GCJ_FOR_TARGET"; then
8997 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9006 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9015 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9016 if test -n "$GCJ_FOR_TARGET"; then
9017 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9018 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9020 echo "$as_me:$LINENO: result
: no
" >&5
9021 echo "${ECHO_T}no
" >&6
9025 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9029 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9031 if test $build = $target ; then
9034 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9037 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9042 if test -n "$GFORTRAN_FOR_TARGET"; then
9043 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9044 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9045 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9048 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9049 for ncn_progname in gfortran; do
9050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9051 set dummy ${ncn_progname}; ac_word=$2
9052 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9053 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9054 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9055 echo $ECHO_N "(cached
) $ECHO_C" >&6
9057 if test -n "$GFORTRAN_FOR_TARGET"; then
9058 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9064 test -z "$as_dir" && as_dir=.
9065 for ac_exec_ext in '' $ac_executable_extensions; do
9066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9067 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9068 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9076 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9077 if test -n "$GFORTRAN_FOR_TARGET"; then
9078 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9079 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9081 echo "$as_me:$LINENO: result
: no
" >&5
9082 echo "${ECHO_T}no
" >&6
9088 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9089 for ncn_progname in gfortran; do
9090 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9091 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9092 if test -x $with_build_time_tools/${ncn_progname}; then
9093 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9094 echo "$as_me:$LINENO: result
: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result
: no
" >&5
9099 echo "${ECHO_T}no
" >&6
9104 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9105 for ncn_progname in gfortran; do
9106 if test -n "$ncn_target_tool_prefix"; then
9107 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9108 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9109 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9110 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9111 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9112 echo $ECHO_N "(cached
) $ECHO_C" >&6
9114 if test -n "$GFORTRAN_FOR_TARGET"; then
9115 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9121 test -z "$as_dir" && as_dir=.
9122 for ac_exec_ext in '' $ac_executable_extensions; do
9123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9124 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9125 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9133 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9134 if test -n "$GFORTRAN_FOR_TARGET"; then
9135 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9136 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9138 echo "$as_me:$LINENO: result
: no
" >&5
9139 echo "${ECHO_T}no
" >&6
9143 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9145 set dummy ${ncn_progname}; ac_word=$2
9146 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9147 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9148 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9149 echo $ECHO_N "(cached
) $ECHO_C" >&6
9151 if test -n "$GFORTRAN_FOR_TARGET"; then
9152 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 test -z "$as_dir" && as_dir=.
9159 for ac_exec_ext in '' $ac_executable_extensions; do
9160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9161 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9162 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9170 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9171 if test -n "$GFORTRAN_FOR_TARGET"; then
9172 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9173 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9175 echo "$as_me:$LINENO: result
: no
" >&5
9176 echo "${ECHO_T}no
" >&6
9180 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9184 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9186 if test $build = $target ; then
9187 GFORTRAN_FOR_TARGET="$2"
9189 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9192 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9197 cat > conftest.c << \EOF
9202 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9203 have_gcc_for_target=yes
9205 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9206 have_gcc_for_target=no
9213 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9214 if test -n "$with_build_time_tools"; then
9215 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9216 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9217 if test -x $with_build_time_tools/ar; then
9218 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9219 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9220 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9221 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9223 echo "$as_me:$LINENO: result
: no
" >&5
9224 echo "${ECHO_T}no
" >&6
9226 elif test $build != $host && test $have_gcc_for_target = yes; then
9227 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9228 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9229 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9232 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9233 # Extract the first word of "ar", so it can be a program name with args.
9234 set dummy ar; ac_word=$2
9235 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9236 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9237 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9238 echo $ECHO_N "(cached
) $ECHO_C" >&6
9240 case $AR_FOR_TARGET in
9242 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 for as_dir in $gcc_cv_tool_dirs
9249 test -z "$as_dir" && as_dir=.
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9252 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9262 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9264 if test -n "$AR_FOR_TARGET"; then
9265 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9266 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9268 echo "$as_me:$LINENO: result
: no
" >&5
9269 echo "${ECHO_T}no
" >&6
9273 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9276 if test -n "$AR_FOR_TARGET"; then
9277 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9278 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9279 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9282 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9283 for ncn_progname in ar; do
9284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9285 set dummy ${ncn_progname}; ac_word=$2
9286 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9287 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9288 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9289 echo $ECHO_N "(cached
) $ECHO_C" >&6
9291 if test -n "$AR_FOR_TARGET"; then
9292 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir=.
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9301 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9302 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9310 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9311 if test -n "$AR_FOR_TARGET"; then
9312 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9313 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9315 echo "$as_me:$LINENO: result
: no
" >&5
9316 echo "${ECHO_T}no
" >&6
9322 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9323 for ncn_progname in ar; do
9324 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9325 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9326 if test -x $with_build_time_tools/${ncn_progname}; then
9327 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9328 echo "$as_me:$LINENO: result
: yes" >&5
9329 echo "${ECHO_T}yes" >&6
9332 echo "$as_me:$LINENO: result
: no
" >&5
9333 echo "${ECHO_T}no
" >&6
9338 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9339 for ncn_progname in ar; do
9340 if test -n "$ncn_target_tool_prefix"; then
9341 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9342 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9343 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9344 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9345 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9346 echo $ECHO_N "(cached
) $ECHO_C" >&6
9348 if test -n "$AR_FOR_TARGET"; then
9349 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9355 test -z "$as_dir" && as_dir=.
9356 for ac_exec_ext in '' $ac_executable_extensions; do
9357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9358 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9359 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9367 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9368 if test -n "$AR_FOR_TARGET"; then
9369 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9370 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9372 echo "$as_me:$LINENO: result
: no
" >&5
9373 echo "${ECHO_T}no
" >&6
9377 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9378 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9379 set dummy ${ncn_progname}; ac_word=$2
9380 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9381 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9382 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9383 echo $ECHO_N "(cached
) $ECHO_C" >&6
9385 if test -n "$AR_FOR_TARGET"; then
9386 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9395 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9396 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9404 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9405 if test -n "$AR_FOR_TARGET"; then
9406 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9407 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9409 echo "$as_me:$LINENO: result
: no
" >&5
9410 echo "${ECHO_T}no
" >&6
9414 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9418 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9420 if test $build = $target ; then
9423 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9426 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9430 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9436 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9437 if test -n "$with_build_time_tools"; then
9438 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9439 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9440 if test -x $with_build_time_tools/as; then
9441 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9442 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9443 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9444 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9446 echo "$as_me:$LINENO: result
: no
" >&5
9447 echo "${ECHO_T}no
" >&6
9449 elif test $build != $host && test $have_gcc_for_target = yes; then
9450 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9451 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9452 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9455 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9456 # Extract the first word of "as
", so it can be a program name with args.
9457 set dummy as; ac_word=$2
9458 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9459 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9460 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9461 echo $ECHO_N "(cached
) $ECHO_C" >&6
9463 case $AS_FOR_TARGET in
9465 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9469 for as_dir in $gcc_cv_tool_dirs
9472 test -z "$as_dir" && as_dir=.
9473 for ac_exec_ext in '' $ac_executable_extensions; do
9474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9475 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9476 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9485 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9487 if test -n "$AS_FOR_TARGET"; then
9488 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9489 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9491 echo "$as_me:$LINENO: result
: no
" >&5
9492 echo "${ECHO_T}no
" >&6
9496 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9499 if test -n "$AS_FOR_TARGET"; then
9500 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9501 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9502 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9505 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9506 for ncn_progname in as; do
9507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9508 set dummy ${ncn_progname}; ac_word=$2
9509 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9510 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9511 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9512 echo $ECHO_N "(cached
) $ECHO_C" >&6
9514 if test -n "$AS_FOR_TARGET"; then
9515 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9521 test -z "$as_dir" && as_dir=.
9522 for ac_exec_ext in '' $ac_executable_extensions; do
9523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9524 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9525 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9533 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9534 if test -n "$AS_FOR_TARGET"; then
9535 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9536 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9538 echo "$as_me:$LINENO: result
: no
" >&5
9539 echo "${ECHO_T}no
" >&6
9545 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9546 for ncn_progname in as; do
9547 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9548 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9549 if test -x $with_build_time_tools/${ncn_progname}; then
9550 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9551 echo "$as_me:$LINENO: result
: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9555 echo "$as_me:$LINENO: result
: no
" >&5
9556 echo "${ECHO_T}no
" >&6
9561 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9562 for ncn_progname in as; do
9563 if test -n "$ncn_target_tool_prefix"; then
9564 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9565 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9566 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9567 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9568 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9569 echo $ECHO_N "(cached
) $ECHO_C" >&6
9571 if test -n "$AS_FOR_TARGET"; then
9572 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9578 test -z "$as_dir" && as_dir=.
9579 for ac_exec_ext in '' $ac_executable_extensions; do
9580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9581 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9582 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9590 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9591 if test -n "$AS_FOR_TARGET"; then
9592 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9593 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9595 echo "$as_me:$LINENO: result
: no
" >&5
9596 echo "${ECHO_T}no
" >&6
9600 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9602 set dummy ${ncn_progname}; ac_word=$2
9603 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9604 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9605 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9606 echo $ECHO_N "(cached
) $ECHO_C" >&6
9608 if test -n "$AS_FOR_TARGET"; then
9609 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 test -z "$as_dir" && as_dir=.
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9618 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9619 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9627 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9628 if test -n "$AS_FOR_TARGET"; then
9629 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9630 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9632 echo "$as_me:$LINENO: result
: no
" >&5
9633 echo "${ECHO_T}no
" >&6
9637 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9641 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9643 if test $build = $target ; then
9646 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9649 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9653 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9659 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9660 if test -n "$with_build_time_tools"; then
9661 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9662 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9663 if test -x $with_build_time_tools/dlltool; then
9664 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9665 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9666 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9667 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9669 echo "$as_me:$LINENO: result
: no
" >&5
9670 echo "${ECHO_T}no
" >&6
9672 elif test $build != $host && test $have_gcc_for_target = yes; then
9673 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9674 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9675 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9678 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9679 # Extract the first word of "dlltool
", so it can be a program name with args.
9680 set dummy dlltool; ac_word=$2
9681 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9682 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9683 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9684 echo $ECHO_N "(cached
) $ECHO_C" >&6
9686 case $DLLTOOL_FOR_TARGET in
9688 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 for as_dir in $gcc_cv_tool_dirs
9695 test -z "$as_dir" && as_dir=.
9696 for ac_exec_ext in '' $ac_executable_extensions; do
9697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9698 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9699 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9708 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9710 if test -n "$DLLTOOL_FOR_TARGET"; then
9711 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9712 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9714 echo "$as_me:$LINENO: result
: no
" >&5
9715 echo "${ECHO_T}no
" >&6
9719 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9722 if test -n "$DLLTOOL_FOR_TARGET"; then
9723 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9724 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9725 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9728 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9729 for ncn_progname in dlltool; do
9730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9731 set dummy ${ncn_progname}; ac_word=$2
9732 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9733 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9734 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9735 echo $ECHO_N "(cached
) $ECHO_C" >&6
9737 if test -n "$DLLTOOL_FOR_TARGET"; then
9738 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir=.
9745 for ac_exec_ext in '' $ac_executable_extensions; do
9746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9747 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9748 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9756 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9757 if test -n "$DLLTOOL_FOR_TARGET"; then
9758 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9759 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9761 echo "$as_me:$LINENO: result
: no
" >&5
9762 echo "${ECHO_T}no
" >&6
9768 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9769 for ncn_progname in dlltool; do
9770 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9771 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9772 if test -x $with_build_time_tools/${ncn_progname}; then
9773 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9774 echo "$as_me:$LINENO: result
: yes" >&5
9775 echo "${ECHO_T}yes" >&6
9778 echo "$as_me:$LINENO: result
: no
" >&5
9779 echo "${ECHO_T}no
" >&6
9784 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9785 for ncn_progname in dlltool; do
9786 if test -n "$ncn_target_tool_prefix"; then
9787 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9788 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9789 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9790 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9791 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9792 echo $ECHO_N "(cached
) $ECHO_C" >&6
9794 if test -n "$DLLTOOL_FOR_TARGET"; then
9795 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9801 test -z "$as_dir" && as_dir=.
9802 for ac_exec_ext in '' $ac_executable_extensions; do
9803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9804 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9805 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9813 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9814 if test -n "$DLLTOOL_FOR_TARGET"; then
9815 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9816 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9818 echo "$as_me:$LINENO: result
: no
" >&5
9819 echo "${ECHO_T}no
" >&6
9823 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9825 set dummy ${ncn_progname}; ac_word=$2
9826 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9827 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9828 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9829 echo $ECHO_N "(cached
) $ECHO_C" >&6
9831 if test -n "$DLLTOOL_FOR_TARGET"; then
9832 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9841 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9842 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9850 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9851 if test -n "$DLLTOOL_FOR_TARGET"; then
9852 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9853 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9855 echo "$as_me:$LINENO: result
: no
" >&5
9856 echo "${ECHO_T}no
" >&6
9860 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9864 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9866 if test $build = $target ; then
9867 DLLTOOL_FOR_TARGET="$2"
9869 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9872 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9876 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9882 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9883 if test -n "$with_build_time_tools"; then
9884 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9885 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9886 if test -x $with_build_time_tools/ld; then
9887 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9888 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9889 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9890 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9892 echo "$as_me:$LINENO: result
: no
" >&5
9893 echo "${ECHO_T}no
" >&6
9895 elif test $build != $host && test $have_gcc_for_target = yes; then
9896 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9897 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9898 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9901 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9902 # Extract the first word of "ld
", so it can be a program name with args.
9903 set dummy ld; ac_word=$2
9904 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9905 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9906 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9907 echo $ECHO_N "(cached
) $ECHO_C" >&6
9909 case $LD_FOR_TARGET in
9911 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915 for as_dir in $gcc_cv_tool_dirs
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9922 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9931 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9933 if test -n "$LD_FOR_TARGET"; then
9934 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9935 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9937 echo "$as_me:$LINENO: result
: no
" >&5
9938 echo "${ECHO_T}no
" >&6
9942 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9945 if test -n "$LD_FOR_TARGET"; then
9946 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9947 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9948 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9951 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9952 for ncn_progname in ld; do
9953 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9954 set dummy ${ncn_progname}; ac_word=$2
9955 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9956 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9957 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9958 echo $ECHO_N "(cached
) $ECHO_C" >&6
9960 if test -n "$LD_FOR_TARGET"; then
9961 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir=.
9968 for ac_exec_ext in '' $ac_executable_extensions; do
9969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9970 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9971 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9979 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9980 if test -n "$LD_FOR_TARGET"; then
9981 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9982 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9984 echo "$as_me:$LINENO: result
: no
" >&5
9985 echo "${ECHO_T}no
" >&6
9991 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9992 for ncn_progname in ld; do
9993 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9994 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9995 if test -x $with_build_time_tools/${ncn_progname}; then
9996 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9997 echo "$as_me:$LINENO: result
: yes" >&5
9998 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result
: no
" >&5
10002 echo "${ECHO_T}no
" >&6
10007 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10008 for ncn_progname in ld; do
10009 if test -n "$ncn_target_tool_prefix"; then
10010 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10011 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10012 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10013 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10014 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10015 echo $ECHO_N "(cached
) $ECHO_C" >&6
10017 if test -n "$LD_FOR_TARGET"; then
10018 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10036 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10037 if test -n "$LD_FOR_TARGET"; then
10038 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10039 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10041 echo "$as_me:$LINENO: result
: no
" >&5
10042 echo "${ECHO_T}no
" >&6
10046 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10048 set dummy ${ncn_progname}; ac_word=$2
10049 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10050 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10051 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10052 echo $ECHO_N "(cached
) $ECHO_C" >&6
10054 if test -n "$LD_FOR_TARGET"; then
10055 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058 for as_dir in $PATH
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10073 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10074 if test -n "$LD_FOR_TARGET"; then
10075 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10076 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10078 echo "$as_me:$LINENO: result
: no
" >&5
10079 echo "${ECHO_T}no
" >&6
10083 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10087 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10089 if test $build = $target ; then
10092 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10095 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10099 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10105 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10106 if test -n "$with_build_time_tools"; then
10107 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10108 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10109 if test -x $with_build_time_tools/lipo; then
10110 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10111 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10112 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10113 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10115 echo "$as_me:$LINENO: result
: no
" >&5
10116 echo "${ECHO_T}no
" >&6
10118 elif test $build != $host && test $have_gcc_for_target = yes; then
10119 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10120 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10121 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10124 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10125 # Extract the first word of "lipo
", so it can be a program name with args.
10126 set dummy lipo; ac_word=$2
10127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10129 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10130 echo $ECHO_N "(cached
) $ECHO_C" >&6
10132 case $LIPO_FOR_TARGET in
10134 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10138 for as_dir in $gcc_cv_tool_dirs
10141 test -z "$as_dir" && as_dir=.
10142 for ac_exec_ext in '' $ac_executable_extensions; do
10143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10154 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10156 if test -n "$LIPO_FOR_TARGET"; then
10157 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10158 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10160 echo "$as_me:$LINENO: result
: no
" >&5
10161 echo "${ECHO_T}no
" >&6
10165 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10168 if test -n "$LIPO_FOR_TARGET"; then
10169 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10170 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10171 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10174 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10175 for ncn_progname in lipo; do
10176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10177 set dummy ${ncn_progname}; ac_word=$2
10178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10180 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10181 echo $ECHO_N "(cached
) $ECHO_C" >&6
10183 if test -n "$LIPO_FOR_TARGET"; then
10184 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187 for as_dir in $PATH
10190 test -z "$as_dir" && as_dir=.
10191 for ac_exec_ext in '' $ac_executable_extensions; do
10192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10202 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10203 if test -n "$LIPO_FOR_TARGET"; then
10204 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10205 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10207 echo "$as_me:$LINENO: result
: no
" >&5
10208 echo "${ECHO_T}no
" >&6
10214 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10215 for ncn_progname in lipo; do
10216 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10217 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10218 if test -x $with_build_time_tools/${ncn_progname}; then
10219 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10220 echo "$as_me:$LINENO: result
: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10224 echo "$as_me:$LINENO: result
: no
" >&5
10225 echo "${ECHO_T}no
" >&6
10230 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10231 for ncn_progname in lipo; do
10232 if test -n "$ncn_target_tool_prefix"; then
10233 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10234 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10235 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10236 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10237 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10238 echo $ECHO_N "(cached
) $ECHO_C" >&6
10240 if test -n "$LIPO_FOR_TARGET"; then
10241 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10244 for as_dir in $PATH
10247 test -z "$as_dir" && as_dir=.
10248 for ac_exec_ext in '' $ac_executable_extensions; do
10249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10250 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10251 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10259 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10260 if test -n "$LIPO_FOR_TARGET"; then
10261 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10262 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10264 echo "$as_me:$LINENO: result
: no
" >&5
10265 echo "${ECHO_T}no
" >&6
10269 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10271 set dummy ${ncn_progname}; ac_word=$2
10272 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10273 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10274 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10275 echo $ECHO_N "(cached
) $ECHO_C" >&6
10277 if test -n "$LIPO_FOR_TARGET"; then
10278 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10281 for as_dir in $PATH
10284 test -z "$as_dir" && as_dir=.
10285 for ac_exec_ext in '' $ac_executable_extensions; do
10286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10287 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10288 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10296 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10297 if test -n "$LIPO_FOR_TARGET"; then
10298 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10299 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10301 echo "$as_me:$LINENO: result
: no
" >&5
10302 echo "${ECHO_T}no
" >&6
10306 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10310 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10312 if test $build = $target ; then
10313 LIPO_FOR_TARGET="$2"
10315 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10318 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10322 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10328 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10329 if test -n "$with_build_time_tools"; then
10330 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10331 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10332 if test -x $with_build_time_tools/nm; then
10333 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10334 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10335 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10336 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10338 echo "$as_me:$LINENO: result
: no
" >&5
10339 echo "${ECHO_T}no
" >&6
10341 elif test $build != $host && test $have_gcc_for_target = yes; then
10342 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10343 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10344 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10347 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10348 # Extract the first word of "nm
", so it can be a program name with args.
10349 set dummy nm; ac_word=$2
10350 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10351 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10352 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10353 echo $ECHO_N "(cached
) $ECHO_C" >&6
10355 case $NM_FOR_TARGET in
10357 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $gcc_cv_tool_dirs
10364 test -z "$as_dir" && as_dir=.
10365 for ac_exec_ext in '' $ac_executable_extensions; do
10366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10367 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10377 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10379 if test -n "$NM_FOR_TARGET"; then
10380 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10381 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10383 echo "$as_me:$LINENO: result
: no
" >&5
10384 echo "${ECHO_T}no
" >&6
10388 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10391 if test -n "$NM_FOR_TARGET"; then
10392 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10393 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10394 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10397 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10398 for ncn_progname in nm; do
10399 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10400 set dummy ${ncn_progname}; ac_word=$2
10401 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10402 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10403 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10404 echo $ECHO_N "(cached
) $ECHO_C" >&6
10406 if test -n "$NM_FOR_TARGET"; then
10407 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10417 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10426 if test -n "$NM_FOR_TARGET"; then
10427 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10428 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10430 echo "$as_me:$LINENO: result
: no
" >&5
10431 echo "${ECHO_T}no
" >&6
10437 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10438 for ncn_progname in nm; do
10439 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10440 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10441 if test -x $with_build_time_tools/${ncn_progname}; then
10442 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10443 echo "$as_me:$LINENO: result
: yes" >&5
10444 echo "${ECHO_T}yes" >&6
10447 echo "$as_me:$LINENO: result
: no
" >&5
10448 echo "${ECHO_T}no
" >&6
10453 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10454 for ncn_progname in nm; do
10455 if test -n "$ncn_target_tool_prefix"; then
10456 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10457 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10458 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10459 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10460 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10461 echo $ECHO_N "(cached
) $ECHO_C" >&6
10463 if test -n "$NM_FOR_TARGET"; then
10464 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10474 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10482 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10483 if test -n "$NM_FOR_TARGET"; then
10484 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10485 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10487 echo "$as_me:$LINENO: result
: no
" >&5
10488 echo "${ECHO_T}no
" >&6
10492 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10494 set dummy ${ncn_progname}; ac_word=$2
10495 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10496 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10497 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10498 echo $ECHO_N "(cached
) $ECHO_C" >&6
10500 if test -n "$NM_FOR_TARGET"; then
10501 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10504 for as_dir in $PATH
10507 test -z "$as_dir" && as_dir=.
10508 for ac_exec_ext in '' $ac_executable_extensions; do
10509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10510 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10511 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10519 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10520 if test -n "$NM_FOR_TARGET"; then
10521 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10522 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10524 echo "$as_me:$LINENO: result
: no
" >&5
10525 echo "${ECHO_T}no
" >&6
10529 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10533 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10535 if test $build = $target ; then
10538 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10541 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10545 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10551 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10552 if test -n "$with_build_time_tools"; then
10553 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10554 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10555 if test -x $with_build_time_tools/objdump; then
10556 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10557 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10558 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10559 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10561 echo "$as_me:$LINENO: result
: no
" >&5
10562 echo "${ECHO_T}no
" >&6
10564 elif test $build != $host && test $have_gcc_for_target = yes; then
10565 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10566 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10567 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10570 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10571 # Extract the first word of "objdump
", so it can be a program name with args.
10572 set dummy objdump; ac_word=$2
10573 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10574 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10575 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10576 echo $ECHO_N "(cached
) $ECHO_C" >&6
10578 case $OBJDUMP_FOR_TARGET in
10580 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10584 for as_dir in $gcc_cv_tool_dirs
10587 test -z "$as_dir" && as_dir=.
10588 for ac_exec_ext in '' $ac_executable_extensions; do
10589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10590 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10591 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10600 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10602 if test -n "$OBJDUMP_FOR_TARGET"; then
10603 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10604 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10606 echo "$as_me:$LINENO: result
: no
" >&5
10607 echo "${ECHO_T}no
" >&6
10611 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10614 if test -n "$OBJDUMP_FOR_TARGET"; then
10615 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10616 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10617 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10620 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10621 for ncn_progname in objdump; do
10622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10623 set dummy ${ncn_progname}; ac_word=$2
10624 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10625 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10626 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10627 echo $ECHO_N "(cached
) $ECHO_C" >&6
10629 if test -n "$OBJDUMP_FOR_TARGET"; then
10630 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10633 for as_dir in $PATH
10636 test -z "$as_dir" && as_dir=.
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10640 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10648 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10649 if test -n "$OBJDUMP_FOR_TARGET"; then
10650 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10651 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10653 echo "$as_me:$LINENO: result
: no
" >&5
10654 echo "${ECHO_T}no
" >&6
10660 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10661 for ncn_progname in objdump; do
10662 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10663 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10664 if test -x $with_build_time_tools/${ncn_progname}; then
10665 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10666 echo "$as_me:$LINENO: result
: yes" >&5
10667 echo "${ECHO_T}yes" >&6
10670 echo "$as_me:$LINENO: result
: no
" >&5
10671 echo "${ECHO_T}no
" >&6
10676 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10677 for ncn_progname in objdump; do
10678 if test -n "$ncn_target_tool_prefix"; then
10679 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10680 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10681 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10682 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10683 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10684 echo $ECHO_N "(cached
) $ECHO_C" >&6
10686 if test -n "$OBJDUMP_FOR_TARGET"; then
10687 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10690 for as_dir in $PATH
10693 test -z "$as_dir" && as_dir=.
10694 for ac_exec_ext in '' $ac_executable_extensions; do
10695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10696 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10697 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10705 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10706 if test -n "$OBJDUMP_FOR_TARGET"; then
10707 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10708 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10710 echo "$as_me:$LINENO: result
: no
" >&5
10711 echo "${ECHO_T}no
" >&6
10715 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10717 set dummy ${ncn_progname}; ac_word=$2
10718 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10719 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10720 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10721 echo $ECHO_N "(cached
) $ECHO_C" >&6
10723 if test -n "$OBJDUMP_FOR_TARGET"; then
10724 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10727 for as_dir in $PATH
10730 test -z "$as_dir" && as_dir=.
10731 for ac_exec_ext in '' $ac_executable_extensions; do
10732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10733 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10734 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10742 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10743 if test -n "$OBJDUMP_FOR_TARGET"; then
10744 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10745 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10747 echo "$as_me:$LINENO: result
: no
" >&5
10748 echo "${ECHO_T}no
" >&6
10752 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10756 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10758 if test $build = $target ; then
10759 OBJDUMP_FOR_TARGET="$2"
10761 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10764 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10768 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10774 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10775 if test -n "$with_build_time_tools"; then
10776 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10777 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10778 if test -x $with_build_time_tools/ranlib; then
10779 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10780 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10781 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10782 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10784 echo "$as_me:$LINENO: result
: no
" >&5
10785 echo "${ECHO_T}no
" >&6
10787 elif test $build != $host && test $have_gcc_for_target = yes; then
10788 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10789 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10790 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10793 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10794 # Extract the first word of "ranlib
", so it can be a program name with args.
10795 set dummy ranlib; ac_word=$2
10796 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10797 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10798 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10799 echo $ECHO_N "(cached
) $ECHO_C" >&6
10801 case $RANLIB_FOR_TARGET in
10803 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10807 for as_dir in $gcc_cv_tool_dirs
10810 test -z "$as_dir" && as_dir=.
10811 for ac_exec_ext in '' $ac_executable_extensions; do
10812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10813 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10823 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10825 if test -n "$RANLIB_FOR_TARGET"; then
10826 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10827 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10829 echo "$as_me:$LINENO: result
: no
" >&5
10830 echo "${ECHO_T}no
" >&6
10834 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10837 if test -n "$RANLIB_FOR_TARGET"; then
10838 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10839 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10840 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10843 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10844 for ncn_progname in ranlib; do
10845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10846 set dummy ${ncn_progname}; ac_word=$2
10847 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10848 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10849 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10850 echo $ECHO_N "(cached
) $ECHO_C" >&6
10852 if test -n "$RANLIB_FOR_TARGET"; then
10853 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10856 for as_dir in $PATH
10859 test -z "$as_dir" && as_dir=.
10860 for ac_exec_ext in '' $ac_executable_extensions; do
10861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10862 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10871 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10872 if test -n "$RANLIB_FOR_TARGET"; then
10873 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10874 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10876 echo "$as_me:$LINENO: result
: no
" >&5
10877 echo "${ECHO_T}no
" >&6
10883 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10884 for ncn_progname in ranlib; do
10885 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10886 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10887 if test -x $with_build_time_tools/${ncn_progname}; then
10888 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10889 echo "$as_me:$LINENO: result
: yes" >&5
10890 echo "${ECHO_T}yes" >&6
10893 echo "$as_me:$LINENO: result
: no
" >&5
10894 echo "${ECHO_T}no
" >&6
10899 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10900 for ncn_progname in ranlib; do
10901 if test -n "$ncn_target_tool_prefix"; then
10902 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10903 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10904 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10905 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10906 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10907 echo $ECHO_N "(cached
) $ECHO_C" >&6
10909 if test -n "$RANLIB_FOR_TARGET"; then
10910 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in $PATH
10916 test -z "$as_dir" && as_dir=.
10917 for ac_exec_ext in '' $ac_executable_extensions; do
10918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10919 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10920 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10928 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10929 if test -n "$RANLIB_FOR_TARGET"; then
10930 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10931 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10933 echo "$as_me:$LINENO: result
: no
" >&5
10934 echo "${ECHO_T}no
" >&6
10938 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10939 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10940 set dummy ${ncn_progname}; ac_word=$2
10941 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10942 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10943 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10944 echo $ECHO_N "(cached
) $ECHO_C" >&6
10946 if test -n "$RANLIB_FOR_TARGET"; then
10947 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10957 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10965 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10966 if test -n "$RANLIB_FOR_TARGET"; then
10967 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10968 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10970 echo "$as_me:$LINENO: result
: no
" >&5
10971 echo "${ECHO_T}no
" >&6
10975 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10979 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10981 if test $build = $target ; then
10982 RANLIB_FOR_TARGET="$2"
10984 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10987 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10991 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10997 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10998 if test -n "$with_build_time_tools"; then
10999 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
11000 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
11001 if test -x $with_build_time_tools/strip; then
11002 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11003 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11004 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11005 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
11007 echo "$as_me:$LINENO: result
: no
" >&5
11008 echo "${ECHO_T}no
" >&6
11010 elif test $build != $host && test $have_gcc_for_target = yes; then
11011 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11012 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11013 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11016 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11017 # Extract the first word of "strip
", so it can be a program name with args.
11018 set dummy strip; ac_word=$2
11019 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11021 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11022 echo $ECHO_N "(cached
) $ECHO_C" >&6
11024 case $STRIP_FOR_TARGET in
11026 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11030 for as_dir in $gcc_cv_tool_dirs
11033 test -z "$as_dir" && as_dir=.
11034 for ac_exec_ext in '' $ac_executable_extensions; do
11035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11036 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11037 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11046 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11048 if test -n "$STRIP_FOR_TARGET"; then
11049 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11050 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11052 echo "$as_me:$LINENO: result
: no
" >&5
11053 echo "${ECHO_T}no
" >&6
11057 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11060 if test -n "$STRIP_FOR_TARGET"; then
11061 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11062 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11063 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11066 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11067 for ncn_progname in strip; do
11068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11069 set dummy ${ncn_progname}; ac_word=$2
11070 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11071 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11072 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11073 echo $ECHO_N "(cached
) $ECHO_C" >&6
11075 if test -n "$STRIP_FOR_TARGET"; then
11076 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11079 for as_dir in $PATH
11082 test -z "$as_dir" && as_dir=.
11083 for ac_exec_ext in '' $ac_executable_extensions; do
11084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11086 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11094 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11095 if test -n "$STRIP_FOR_TARGET"; then
11096 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11097 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11099 echo "$as_me:$LINENO: result
: no
" >&5
11100 echo "${ECHO_T}no
" >&6
11106 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11107 for ncn_progname in strip; do
11108 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11109 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11110 if test -x $with_build_time_tools/${ncn_progname}; then
11111 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11112 echo "$as_me:$LINENO: result
: yes" >&5
11113 echo "${ECHO_T}yes" >&6
11116 echo "$as_me:$LINENO: result
: no
" >&5
11117 echo "${ECHO_T}no
" >&6
11122 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11123 for ncn_progname in strip; do
11124 if test -n "$ncn_target_tool_prefix"; then
11125 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11126 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11129 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11130 echo $ECHO_N "(cached
) $ECHO_C" >&6
11132 if test -n "$STRIP_FOR_TARGET"; then
11133 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11136 for as_dir in $PATH
11139 test -z "$as_dir" && as_dir=.
11140 for ac_exec_ext in '' $ac_executable_extensions; do
11141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11142 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11151 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11152 if test -n "$STRIP_FOR_TARGET"; then
11153 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11154 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11156 echo "$as_me:$LINENO: result
: no
" >&5
11157 echo "${ECHO_T}no
" >&6
11161 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11163 set dummy ${ncn_progname}; ac_word=$2
11164 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11165 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11166 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11167 echo $ECHO_N "(cached
) $ECHO_C" >&6
11169 if test -n "$STRIP_FOR_TARGET"; then
11170 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11173 for as_dir in $PATH
11176 test -z "$as_dir" && as_dir=.
11177 for ac_exec_ext in '' $ac_executable_extensions; do
11178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11179 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11180 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11188 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11189 if test -n "$STRIP_FOR_TARGET"; then
11190 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11191 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11193 echo "$as_me:$LINENO: result
: no
" >&5
11194 echo "${ECHO_T}no
" >&6
11198 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11202 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11204 if test $build = $target ; then
11205 STRIP_FOR_TARGET="$2"
11207 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11210 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11214 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11220 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11221 if test -n "$with_build_time_tools"; then
11222 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11223 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11224 if test -x $with_build_time_tools/windres; then
11225 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11226 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11227 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11228 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11230 echo "$as_me:$LINENO: result
: no
" >&5
11231 echo "${ECHO_T}no
" >&6
11233 elif test $build != $host && test $have_gcc_for_target = yes; then
11234 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11235 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11236 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11239 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11240 # Extract the first word of "windres
", so it can be a program name with args.
11241 set dummy windres; ac_word=$2
11242 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11243 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11244 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11245 echo $ECHO_N "(cached
) $ECHO_C" >&6
11247 case $WINDRES_FOR_TARGET in
11249 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11253 for as_dir in $gcc_cv_tool_dirs
11256 test -z "$as_dir" && as_dir=.
11257 for ac_exec_ext in '' $ac_executable_extensions; do
11258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11259 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11260 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11269 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11271 if test -n "$WINDRES_FOR_TARGET"; then
11272 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11273 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11275 echo "$as_me:$LINENO: result
: no
" >&5
11276 echo "${ECHO_T}no
" >&6
11280 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11283 if test -n "$WINDRES_FOR_TARGET"; then
11284 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11285 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11286 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11289 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11290 for ncn_progname in windres; do
11291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11292 set dummy ${ncn_progname}; ac_word=$2
11293 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11294 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11295 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11296 echo $ECHO_N "(cached
) $ECHO_C" >&6
11298 if test -n "$WINDRES_FOR_TARGET"; then
11299 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11302 for as_dir in $PATH
11305 test -z "$as_dir" && as_dir=.
11306 for ac_exec_ext in '' $ac_executable_extensions; do
11307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11308 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11309 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11317 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11318 if test -n "$WINDRES_FOR_TARGET"; then
11319 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11320 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11322 echo "$as_me:$LINENO: result
: no
" >&5
11323 echo "${ECHO_T}no
" >&6
11329 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11330 for ncn_progname in windres; do
11331 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11332 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11333 if test -x $with_build_time_tools/${ncn_progname}; then
11334 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11335 echo "$as_me:$LINENO: result
: yes" >&5
11336 echo "${ECHO_T}yes" >&6
11339 echo "$as_me:$LINENO: result
: no
" >&5
11340 echo "${ECHO_T}no
" >&6
11345 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11346 for ncn_progname in windres; do
11347 if test -n "$ncn_target_tool_prefix"; then
11348 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11349 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11350 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11351 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11352 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11353 echo $ECHO_N "(cached
) $ECHO_C" >&6
11355 if test -n "$WINDRES_FOR_TARGET"; then
11356 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11359 for as_dir in $PATH
11362 test -z "$as_dir" && as_dir=.
11363 for ac_exec_ext in '' $ac_executable_extensions; do
11364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11365 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11366 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11374 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11375 if test -n "$WINDRES_FOR_TARGET"; then
11376 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11377 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11379 echo "$as_me:$LINENO: result
: no
" >&5
11380 echo "${ECHO_T}no
" >&6
11384 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11386 set dummy ${ncn_progname}; ac_word=$2
11387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11389 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11390 echo $ECHO_N "(cached
) $ECHO_C" >&6
11392 if test -n "$WINDRES_FOR_TARGET"; then
11393 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11399 test -z "$as_dir" && as_dir=.
11400 for ac_exec_ext in '' $ac_executable_extensions; do
11401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11411 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11412 if test -n "$WINDRES_FOR_TARGET"; then
11413 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11414 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11416 echo "$as_me:$LINENO: result
: no
" >&5
11417 echo "${ECHO_T}no
" >&6
11421 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11425 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11427 if test $build = $target ; then
11428 WINDRES_FOR_TARGET="$2"
11430 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11433 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11437 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11443 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11444 if test -n "$with_build_time_tools"; then
11445 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11446 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11447 if test -x $with_build_time_tools/windmc; then
11448 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11449 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11450 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11451 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11453 echo "$as_me:$LINENO: result
: no
" >&5
11454 echo "${ECHO_T}no
" >&6
11456 elif test $build != $host && test $have_gcc_for_target = yes; then
11457 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11458 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11459 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11462 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11463 # Extract the first word of "windmc
", so it can be a program name with args.
11464 set dummy windmc; ac_word=$2
11465 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11466 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11467 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11468 echo $ECHO_N "(cached
) $ECHO_C" >&6
11470 case $WINDMC_FOR_TARGET in
11472 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $gcc_cv_tool_dirs
11479 test -z "$as_dir" && as_dir=.
11480 for ac_exec_ext in '' $ac_executable_extensions; do
11481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11482 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11492 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11494 if test -n "$WINDMC_FOR_TARGET"; then
11495 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11496 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11498 echo "$as_me:$LINENO: result
: no
" >&5
11499 echo "${ECHO_T}no
" >&6
11503 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11506 if test -n "$WINDMC_FOR_TARGET"; then
11507 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11508 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11509 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11512 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11513 for ncn_progname in windmc; do
11514 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11515 set dummy ${ncn_progname}; ac_word=$2
11516 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11517 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11518 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11519 echo $ECHO_N "(cached
) $ECHO_C" >&6
11521 if test -n "$WINDMC_FOR_TARGET"; then
11522 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11525 for as_dir in $PATH
11528 test -z "$as_dir" && as_dir=.
11529 for ac_exec_ext in '' $ac_executable_extensions; do
11530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11540 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11541 if test -n "$WINDMC_FOR_TARGET"; then
11542 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11543 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11545 echo "$as_me:$LINENO: result
: no
" >&5
11546 echo "${ECHO_T}no
" >&6
11552 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11553 for ncn_progname in windmc; do
11554 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11555 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11556 if test -x $with_build_time_tools/${ncn_progname}; then
11557 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11558 echo "$as_me:$LINENO: result
: yes" >&5
11559 echo "${ECHO_T}yes" >&6
11562 echo "$as_me:$LINENO: result
: no
" >&5
11563 echo "${ECHO_T}no
" >&6
11568 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11569 for ncn_progname in windmc; do
11570 if test -n "$ncn_target_tool_prefix"; then
11571 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11572 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11573 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11574 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11575 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11576 echo $ECHO_N "(cached
) $ECHO_C" >&6
11578 if test -n "$WINDMC_FOR_TARGET"; then
11579 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11582 for as_dir in $PATH
11585 test -z "$as_dir" && as_dir=.
11586 for ac_exec_ext in '' $ac_executable_extensions; do
11587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11588 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11589 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11597 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11598 if test -n "$WINDMC_FOR_TARGET"; then
11599 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11600 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11602 echo "$as_me:$LINENO: result
: no
" >&5
11603 echo "${ECHO_T}no
" >&6
11607 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11608 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11609 set dummy ${ncn_progname}; ac_word=$2
11610 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11611 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11612 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11613 echo $ECHO_N "(cached
) $ECHO_C" >&6
11615 if test -n "$WINDMC_FOR_TARGET"; then
11616 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11619 for as_dir in $PATH
11622 test -z "$as_dir" && as_dir=.
11623 for ac_exec_ext in '' $ac_executable_extensions; do
11624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11625 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11626 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11634 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11635 if test -n "$WINDMC_FOR_TARGET"; then
11636 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11637 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11639 echo "$as_me:$LINENO: result
: no
" >&5
11640 echo "${ECHO_T}no
" >&6
11644 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11648 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11650 if test $build = $target ; then
11651 WINDMC_FOR_TARGET="$2"
11653 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11656 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11660 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11664 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11666 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11667 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11668 if test "x
${build}" != "x
${host}" ; then
11669 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11670 # We already found the complete path
11671 ac_dir=`dirname $AR_FOR_TARGET`
11672 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11673 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11675 # Canadian cross, just use what we found
11676 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11677 echo "${ECHO_T}pre-installed
" >&6
11681 case " ${configdirs} " in
11686 if test $ok = yes; then
11687 # An in-tree tool is available and we can use it
11688 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11689 echo "$as_me:$LINENO: result
: just compiled
" >&5
11690 echo "${ECHO_T}just compiled
" >&6
11691 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11692 # We already found the complete path
11693 ac_dir=`dirname $AR_FOR_TARGET`
11694 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11695 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11696 elif test "x
$target" = "x
$host"; then
11697 # We can use an host tool
11698 AR_FOR_TARGET='$(AR)'
11699 echo "$as_me:$LINENO: result
: host tool
" >&5
11700 echo "${ECHO_T}host tool
" >&6
11702 # We need a cross tool
11703 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11704 echo "${ECHO_T}pre-installed
" >&6
11708 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11709 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11710 if test "x
${build}" != "x
${host}" ; then
11711 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11712 # We already found the complete path
11713 ac_dir=`dirname $AS_FOR_TARGET`
11714 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11715 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11717 # Canadian cross, just use what we found
11718 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11719 echo "${ECHO_T}pre-installed
" >&6
11723 case " ${configdirs} " in
11728 if test $ok = yes; then
11729 # An in-tree tool is available and we can use it
11730 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11731 echo "$as_me:$LINENO: result
: just compiled
" >&5
11732 echo "${ECHO_T}just compiled
" >&6
11733 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11734 # We already found the complete path
11735 ac_dir=`dirname $AS_FOR_TARGET`
11736 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11737 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11738 elif test "x
$target" = "x
$host"; then
11739 # We can use an host tool
11740 AS_FOR_TARGET='$(AS)'
11741 echo "$as_me:$LINENO: result
: host tool
" >&5
11742 echo "${ECHO_T}host tool
" >&6
11744 # We need a cross tool
11745 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11746 echo "${ECHO_T}pre-installed
" >&6
11750 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11751 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11752 if test "x
${build}" != "x
${host}" ; then
11753 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11754 # We already found the complete path
11755 ac_dir=`dirname $CC_FOR_TARGET`
11756 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11757 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11759 # Canadian cross, just use what we found
11760 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11761 echo "${ECHO_T}pre-installed
" >&6
11765 case " ${configdirs} " in
11770 if test $ok = yes; then
11771 # An in-tree tool is available and we can use it
11772 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11773 echo "$as_me:$LINENO: result
: just compiled
" >&5
11774 echo "${ECHO_T}just compiled
" >&6
11775 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11776 # We already found the complete path
11777 ac_dir=`dirname $CC_FOR_TARGET`
11778 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11779 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11780 elif test "x
$target" = "x
$host"; then
11781 # We can use an host tool
11782 CC_FOR_TARGET='$(CC)'
11783 echo "$as_me:$LINENO: result
: host tool
" >&5
11784 echo "${ECHO_T}host tool
" >&6
11786 # We need a cross tool
11787 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11788 echo "${ECHO_T}pre-installed
" >&6
11792 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11793 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11794 if test "x
${build}" != "x
${host}" ; then
11795 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11796 # We already found the complete path
11797 ac_dir=`dirname $CXX_FOR_TARGET`
11798 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11799 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11801 # Canadian cross, just use what we found
11802 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11803 echo "${ECHO_T}pre-installed
" >&6
11807 case " ${configdirs} " in
11811 case ,${enable_languages}, in
11815 if test $ok = yes; then
11816 # An in-tree tool is available and we can use it
11817 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'
11818 echo "$as_me:$LINENO: result
: just compiled
" >&5
11819 echo "${ECHO_T}just compiled
" >&6
11820 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11821 # We already found the complete path
11822 ac_dir=`dirname $CXX_FOR_TARGET`
11823 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11824 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11825 elif test "x
$target" = "x
$host"; then
11826 # We can use an host tool
11827 CXX_FOR_TARGET='$(CXX)'
11828 echo "$as_me:$LINENO: result
: host tool
" >&5
11829 echo "${ECHO_T}host tool
" >&6
11831 # We need a cross tool
11832 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11833 echo "${ECHO_T}pre-installed
" >&6
11837 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11838 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11839 if test "x
${build}" != "x
${host}" ; then
11840 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11841 # We already found the complete path
11842 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11843 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11844 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11846 # Canadian cross, just use what we found
11847 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11848 echo "${ECHO_T}pre-installed
" >&6
11852 case " ${configdirs} " in
11856 case ,${enable_languages}, in
11860 if test $ok = yes; then
11861 # An in-tree tool is available and we can use it
11862 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'
11863 echo "$as_me:$LINENO: result
: just compiled
" >&5
11864 echo "${ECHO_T}just compiled
" >&6
11865 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11866 # We already found the complete path
11867 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11868 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11869 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11870 elif test "x
$target" = "x
$host"; then
11871 # We can use an host tool
11872 RAW_CXX_FOR_TARGET='$(CXX)'
11873 echo "$as_me:$LINENO: result
: host tool
" >&5
11874 echo "${ECHO_T}host tool
" >&6
11876 # We need a cross tool
11877 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11878 echo "${ECHO_T}pre-installed
" >&6
11882 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11883 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11884 if test "x
${build}" != "x
${host}" ; then
11885 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11886 # We already found the complete path
11887 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11888 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11889 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11891 # Canadian cross, just use what we found
11892 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11893 echo "${ECHO_T}pre-installed
" >&6
11897 case " ${configdirs} " in
11902 if test $ok = yes; then
11903 # An in-tree tool is available and we can use it
11904 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11905 echo "$as_me:$LINENO: result
: just compiled
" >&5
11906 echo "${ECHO_T}just compiled
" >&6
11907 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11908 # We already found the complete path
11909 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11910 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11911 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11912 elif test "x
$target" = "x
$host"; then
11913 # We can use an host tool
11914 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11915 echo "$as_me:$LINENO: result
: host tool
" >&5
11916 echo "${ECHO_T}host tool
" >&6
11918 # We need a cross tool
11919 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11920 echo "${ECHO_T}pre-installed
" >&6
11924 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11925 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11926 if test "x
${build}" != "x
${host}" ; then
11927 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11928 # We already found the complete path
11929 ac_dir=`dirname $GCC_FOR_TARGET`
11930 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11931 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11933 # Canadian cross, just use what we found
11934 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11935 echo "${ECHO_T}pre-installed
" >&6
11939 case " ${configdirs} " in
11944 if test $ok = yes; then
11945 # An in-tree tool is available and we can use it
11946 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11947 echo "$as_me:$LINENO: result
: just compiled
" >&5
11948 echo "${ECHO_T}just compiled
" >&6
11949 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11950 # We already found the complete path
11951 ac_dir=`dirname $GCC_FOR_TARGET`
11952 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11953 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11954 elif test "x
$target" = "x
$host"; then
11955 # We can use an host tool
11956 GCC_FOR_TARGET='$()'
11957 echo "$as_me:$LINENO: result
: host tool
" >&5
11958 echo "${ECHO_T}host tool
" >&6
11960 # We need a cross tool
11961 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11962 echo "${ECHO_T}pre-installed
" >&6
11966 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11967 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11968 if test "x
${build}" != "x
${host}" ; then
11969 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11970 # We already found the complete path
11971 ac_dir=`dirname $GCJ_FOR_TARGET`
11972 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11973 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11975 # Canadian cross, just use what we found
11976 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11977 echo "${ECHO_T}pre-installed
" >&6
11981 case " ${configdirs} " in
11985 case ,${enable_languages}, in
11989 if test $ok = yes; then
11990 # An in-tree tool is available and we can use it
11991 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11992 echo "$as_me:$LINENO: result
: just compiled
" >&5
11993 echo "${ECHO_T}just compiled
" >&6
11994 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11995 # We already found the complete path
11996 ac_dir=`dirname $GCJ_FOR_TARGET`
11997 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11998 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11999 elif test "x
$target" = "x
$host"; then
12000 # We can use an host tool
12001 GCJ_FOR_TARGET='$(GCJ)'
12002 echo "$as_me:$LINENO: result
: host tool
" >&5
12003 echo "${ECHO_T}host tool
" >&6
12005 # We need a cross tool
12006 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12007 echo "${ECHO_T}pre-installed
" >&6
12011 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12012 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
12013 if test "x
${build}" != "x
${host}" ; then
12014 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12015 # We already found the complete path
12016 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12017 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12018 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12020 # Canadian cross, just use what we found
12021 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12022 echo "${ECHO_T}pre-installed
" >&6
12026 case " ${configdirs} " in
12030 case ,${enable_languages}, in
12034 if test $ok = yes; then
12035 # An in-tree tool is available and we can use it
12036 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12037 echo "$as_me:$LINENO: result
: just compiled
" >&5
12038 echo "${ECHO_T}just compiled
" >&6
12039 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12040 # We already found the complete path
12041 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12042 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12043 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12044 elif test "x
$target" = "x
$host"; then
12045 # We can use an host tool
12046 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12047 echo "$as_me:$LINENO: result
: host tool
" >&5
12048 echo "${ECHO_T}host tool
" >&6
12050 # We need a cross tool
12051 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12052 echo "${ECHO_T}pre-installed
" >&6
12056 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12057 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12058 if test "x
${build}" != "x
${host}" ; then
12059 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12060 # We already found the complete path
12061 ac_dir=`dirname $LD_FOR_TARGET`
12062 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12063 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12065 # Canadian cross, just use what we found
12066 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12067 echo "${ECHO_T}pre-installed
" >&6
12071 case " ${configdirs} " in
12076 if test $ok = yes; then
12077 # An in-tree tool is available and we can use it
12078 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12079 echo "$as_me:$LINENO: result
: just compiled
" >&5
12080 echo "${ECHO_T}just compiled
" >&6
12081 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12082 # We already found the complete path
12083 ac_dir=`dirname $LD_FOR_TARGET`
12084 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12085 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12086 elif test "x
$target" = "x
$host"; then
12087 # We can use an host tool
12088 LD_FOR_TARGET='$(LD)'
12089 echo "$as_me:$LINENO: result
: host tool
" >&5
12090 echo "${ECHO_T}host tool
" >&6
12092 # We need a cross tool
12093 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12094 echo "${ECHO_T}pre-installed
" >&6
12098 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12099 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12100 if test "x
${build}" != "x
${host}" ; then
12101 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12102 # We already found the complete path
12103 ac_dir=`dirname $LIPO_FOR_TARGET`
12104 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12105 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12107 # Canadian cross, just use what we found
12108 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12109 echo "${ECHO_T}pre-installed
" >&6
12112 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12113 # We already found the complete path
12114 ac_dir=`dirname $LIPO_FOR_TARGET`
12115 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12116 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12117 elif test "x
$target" = "x
$host"; then
12118 # We can use an host tool
12119 LIPO_FOR_TARGET='$(LIPO)'
12120 echo "$as_me:$LINENO: result
: host tool
" >&5
12121 echo "${ECHO_T}host tool
" >&6
12123 # We need a cross tool
12124 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12125 echo "${ECHO_T}pre-installed
" >&6
12129 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12130 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12131 if test "x
${build}" != "x
${host}" ; then
12132 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12133 # We already found the complete path
12134 ac_dir=`dirname $NM_FOR_TARGET`
12135 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12136 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12138 # Canadian cross, just use what we found
12139 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12140 echo "${ECHO_T}pre-installed
" >&6
12144 case " ${configdirs} " in
12149 if test $ok = yes; then
12150 # An in-tree tool is available and we can use it
12151 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12152 echo "$as_me:$LINENO: result
: just compiled
" >&5
12153 echo "${ECHO_T}just compiled
" >&6
12154 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12155 # We already found the complete path
12156 ac_dir=`dirname $NM_FOR_TARGET`
12157 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12158 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12159 elif test "x
$target" = "x
$host"; then
12160 # We can use an host tool
12161 NM_FOR_TARGET='$(NM)'
12162 echo "$as_me:$LINENO: result
: host tool
" >&5
12163 echo "${ECHO_T}host tool
" >&6
12165 # We need a cross tool
12166 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12167 echo "${ECHO_T}pre-installed
" >&6
12171 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12172 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12173 if test "x
${build}" != "x
${host}" ; then
12174 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12175 # We already found the complete path
12176 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12177 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12178 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12180 # Canadian cross, just use what we found
12181 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12182 echo "${ECHO_T}pre-installed
" >&6
12186 case " ${configdirs} " in
12191 if test $ok = yes; then
12192 # An in-tree tool is available and we can use it
12193 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12194 echo "$as_me:$LINENO: result
: just compiled
" >&5
12195 echo "${ECHO_T}just compiled
" >&6
12196 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12197 # We already found the complete path
12198 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12199 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12200 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12201 elif test "x
$target" = "x
$host"; then
12202 # We can use an host tool
12203 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12204 echo "$as_me:$LINENO: result
: host tool
" >&5
12205 echo "${ECHO_T}host tool
" >&6
12207 # We need a cross tool
12208 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12209 echo "${ECHO_T}pre-installed
" >&6
12213 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12214 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12215 if test "x
${build}" != "x
${host}" ; then
12216 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12217 # We already found the complete path
12218 ac_dir=`dirname $RANLIB_FOR_TARGET`
12219 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12220 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12222 # Canadian cross, just use what we found
12223 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12224 echo "${ECHO_T}pre-installed
" >&6
12228 case " ${configdirs} " in
12233 if test $ok = yes; then
12234 # An in-tree tool is available and we can use it
12235 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12236 echo "$as_me:$LINENO: result
: just compiled
" >&5
12237 echo "${ECHO_T}just compiled
" >&6
12238 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12239 # We already found the complete path
12240 ac_dir=`dirname $RANLIB_FOR_TARGET`
12241 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12242 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12243 elif test "x
$target" = "x
$host"; then
12244 # We can use an host tool
12245 RANLIB_FOR_TARGET='$(RANLIB)'
12246 echo "$as_me:$LINENO: result
: host tool
" >&5
12247 echo "${ECHO_T}host tool
" >&6
12249 # We need a cross tool
12250 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12251 echo "${ECHO_T}pre-installed
" >&6
12255 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12256 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12257 if test "x
${build}" != "x
${host}" ; then
12258 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12259 # We already found the complete path
12260 ac_dir=`dirname $STRIP_FOR_TARGET`
12261 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12262 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12264 # Canadian cross, just use what we found
12265 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12266 echo "${ECHO_T}pre-installed
" >&6
12270 case " ${configdirs} " in
12275 if test $ok = yes; then
12276 # An in-tree tool is available and we can use it
12277 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12278 echo "$as_me:$LINENO: result
: just compiled
" >&5
12279 echo "${ECHO_T}just compiled
" >&6
12280 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12281 # We already found the complete path
12282 ac_dir=`dirname $STRIP_FOR_TARGET`
12283 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12284 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12285 elif test "x
$target" = "x
$host"; then
12286 # We can use an host tool
12287 STRIP_FOR_TARGET='$(STRIP)'
12288 echo "$as_me:$LINENO: result
: host tool
" >&5
12289 echo "${ECHO_T}host tool
" >&6
12291 # We need a cross tool
12292 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12293 echo "${ECHO_T}pre-installed
" >&6
12297 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12298 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12299 if test "x
${build}" != "x
${host}" ; then
12300 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12301 # We already found the complete path
12302 ac_dir=`dirname $WINDRES_FOR_TARGET`
12303 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12304 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12306 # Canadian cross, just use what we found
12307 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12308 echo "${ECHO_T}pre-installed
" >&6
12312 case " ${configdirs} " in
12317 if test $ok = yes; then
12318 # An in-tree tool is available and we can use it
12319 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12320 echo "$as_me:$LINENO: result
: just compiled
" >&5
12321 echo "${ECHO_T}just compiled
" >&6
12322 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12323 # We already found the complete path
12324 ac_dir=`dirname $WINDRES_FOR_TARGET`
12325 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12326 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12327 elif test "x
$target" = "x
$host"; then
12328 # We can use an host tool
12329 WINDRES_FOR_TARGET='$(WINDRES)'
12330 echo "$as_me:$LINENO: result
: host tool
" >&5
12331 echo "${ECHO_T}host tool
" >&6
12333 # We need a cross tool
12334 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12335 echo "${ECHO_T}pre-installed
" >&6
12339 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12340 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12341 if test "x
${build}" != "x
${host}" ; then
12342 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12343 # We already found the complete path
12344 ac_dir=`dirname $WINDMC_FOR_TARGET`
12345 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12346 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12348 # Canadian cross, just use what we found
12349 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12350 echo "${ECHO_T}pre-installed
" >&6
12354 case " ${configdirs} " in
12359 if test $ok = yes; then
12360 # An in-tree tool is available and we can use it
12361 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12362 echo "$as_me:$LINENO: result
: just compiled
" >&5
12363 echo "${ECHO_T}just compiled
" >&6
12364 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12365 # We already found the complete path
12366 ac_dir=`dirname $WINDMC_FOR_TARGET`
12367 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12368 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12369 elif test "x
$target" = "x
$host"; then
12370 # We can use an host tool
12371 WINDMC_FOR_TARGET='$(WINDMC)'
12372 echo "$as_me:$LINENO: result
: host tool
" >&5
12373 echo "${ECHO_T}host tool
" >&6
12375 # We need a cross tool
12376 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12377 echo "${ECHO_T}pre-installed
" >&6
12385 # Certain tools may need extra flags.
12386 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12387 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12388 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12390 # When building target libraries, except in a Canadian cross, we use
12391 # the same toolchain as the compiler we just built.
12392 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12393 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12394 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12395 if test $host = $build; then
12396 case " $configdirs " in
12398 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12399 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12400 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12409 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12410 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12411 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12412 if test "${enable_maintainer_mode+set}" = set; then
12413 enableval="$enable_maintainer_mode"
12414 USE_MAINTAINER_MODE=$enableval
12416 USE_MAINTAINER_MODE=no
12418 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12419 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12422 if test "$USE_MAINTAINER_MODE" = yes; then
12423 MAINTAINER_MODE_TRUE=
12424 MAINTAINER_MODE_FALSE='#'
12426 MAINTAINER_MODE_TRUE='#'
12427 MAINTAINER_MODE_FALSE=
12429 MAINT=$MAINTAINER_MODE_TRUE
12431 # ---------------------
12432 # GCC bootstrap support
12433 # ---------------------
12435 # Stage specific cflags for build.
12440 yes) stage1_cflags="-g -Wa,-J" ;;
12441 *) stage1_cflags="-g -J" ;;
12445 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12446 if test "$GCC" = yes; then
12447 saved_CFLAGS="$CFLAGS"
12449 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12450 CFLAGS="$CFLAGS -fkeep-inline-functions"
12451 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12452 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12453 cat >conftest.$ac_ext <<_ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12460 #if (__GNUC__ < 3) \
12461 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12462 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12463 #error http://gcc.gnu.org/PR29382
12474 rm -f conftest.$ac_objext
12475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12476 (eval $ac_compile) 2>conftest.er1
12478 grep -v '^ *+' conftest.er1 >conftest.err
12480 cat conftest.err >&5
12481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12482 (exit $ac_status); } &&
12483 { ac_try='test -z "$ac_c_werror_flag"
12484 || test ! -s conftest.err'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12489 (exit $ac_status); }; } &&
12490 { ac_try='test -s conftest.$ac_objext'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12495 (exit $ac_status); }; }; then
12496 echo "$as_me:$LINENO: result
: yes" >&5
12497 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12499 echo "$as_me: failed program was
:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 echo "$as_me:$LINENO: result
: no
" >&5
12503 echo "${ECHO_T}no
" >&6
12505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12507 CFLAGS="$saved_CFLAGS"
12512 # Enable --enable-checking in stage1 of the compiler.
12513 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12514 if test "${enable_stage1_checking+set}" = set; then
12515 enableval="$enable_stage1_checking"
12516 stage1_checking=--enable-checking=${enable_stage1_checking}
12518 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12519 stage1_checking=--enable-checking=yes,types
12521 stage1_checking=--enable-checking=$enable_checking,types
12526 # Enable -Werror in bootstrap stage2 and later.
12527 # Check whether --enable-werror or --disable-werror was given.
12528 if test "${enable_werror+set}" = set; then
12529 enableval="$enable_werror"
12532 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12538 case ${enable_werror} in
12539 yes) stage2_werror_flag="--enable-werror-always" ;;
12540 *) stage2_werror_flag="" ;;
12544 # Flags needed to enable html installing and building
12546 # Check whether --with-datarootdir or --without-datarootdir was given.
12547 if test "${with_datarootdir+set}" = set; then
12548 withval="$with_datarootdir"
12549 datarootdir="\
${prefix}/${withval}"
12551 datarootdir="\
${prefix}/share
"
12555 # Check whether --with-docdir or --without-docdir was given.
12556 if test "${with_docdir+set}" = set; then
12557 withval="$with_docdir"
12558 docdir="\
${prefix}/${withval}"
12560 docdir="\
${datarootdir}/doc
"
12564 # Check whether --with-pdfdir or --without-pdfdir was given.
12565 if test "${with_pdfdir+set}" = set; then
12566 withval="$with_pdfdir"
12567 pdfdir="\
${prefix}/${withval}"
12569 pdfdir="\
${docdir}"
12573 # Check whether --with-htmldir or --without-htmldir was given.
12574 if test "${with_htmldir+set}" = set; then
12575 withval="$with_htmldir"
12576 htmldir="\
${prefix}/${withval}"
12578 htmldir="\
${docdir}"
12586 ac_config_files="$ac_config_files Makefile
"
12587 cat >confcache <<\_ACEOF
12588 # This file is a shell script that caches the results of configure
12589 # tests run on this system so they can be shared between configure
12590 # scripts and configure runs, see configure's option --config-cache.
12591 # It is not useful on other systems. If it contains results you don't
12592 # want to keep, you may remove or edit it.
12594 # config.status only pays attention to the cache file if you give it
12595 # the --recheck option to rerun configure.
12597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12599 # following values.
12603 # The following way of writing the cache mishandles newlines in values,
12604 # but we know of no workaround that is simple, portable, and efficient.
12605 # So, don't put newlines in cache variables' values.
12606 # Ultrix sh set writes to stderr and can't be redirected directly,
12607 # and sets the high bit in the cache file unless we assign to the vars.
12610 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12612 # `set' does not quote correctly, so add quotes (double-quote
12613 # substitution turns \\\\ into \\, and sed turns \\ into \).
12616 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12619 # `set' quotes correctly as required by POSIX, so do not add quotes.
12621 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12630 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12632 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12633 if test -w $cache_file; then
12634 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12635 cat confcache >$cache_file
12637 echo "not updating unwritable cache
$cache_file"
12642 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12643 # Let make expand exec_prefix.
12644 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12648 # trailing colons and then remove the whole line if VPATH becomes empty
12649 # (actually we leave an empty line to preserve line numbers).
12650 if test "x
$srcdir" = x.; then
12651 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12652 s/:*\$(srcdir):*/:/;
12653 s/:*\${srcdir}:*/:/;
12655 s/^\([^=]*=[ ]*\):*/\1/;
12661 # Transform confdefs.h into DEFS.
12662 # Protect against shell expansion while executing Makefile rules.
12663 # Protect against Makefile macro expansion.
12665 # If the first sed substitution is executed (which looks for macros that
12666 # take arguments), then we branch to the quote section. Otherwise,
12667 # look for a macro that doesn't take arguments.
12668 cat >confdef2opt.sed <<\_ACEOF
12671 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12673 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12677 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12683 # We use echo to avoid assuming a particular line-breaking character.
12684 # The extra dot is to prevent the shell from consuming trailing
12685 # line-breaks from the sub-command output. A line-break within
12686 # single-quotes doesn't work because, if this script is created in a
12687 # platform that uses two characters for line-breaks (e.g., DOS), tr
12689 ac_LF_and_DOT
=`echo; echo .`
12690 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12691 rm -f confdef2opt.
sed
12696 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12697 # 1. Remove the extension, and $U if already installed.
12698 ac_i
=`echo "$ac_i" |
12699 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12701 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12702 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12704 LIBOBJS
=$ac_libobjs
12706 LTLIBOBJS
=$ac_ltlibobjs
12710 : ${CONFIG_STATUS=./config.status}
12711 ac_clean_files_save
=$ac_clean_files
12712 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12713 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12714 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12715 cat >$CONFIG_STATUS <<_ACEOF
12717 # Generated by $as_me.
12718 # Run this file to recreate the current configuration.
12719 # Compiler output produced by configure, useful for debugging
12720 # configure, is in config.log if it exists.
12723 ac_cs_recheck=false
12725 SHELL=\${CONFIG_SHELL-$SHELL}
12728 cat >>$CONFIG_STATUS <<\_ACEOF
12729 ## --------------------- ##
12730 ## M4sh Initialization. ##
12731 ## --------------------- ##
12733 # Be Bourne compatible
12734 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12737 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12738 # is contrary to our usage. Disable this feature.
12739 alias -g '${1+"$@"}'='"$@"'
12740 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12743 DUALCASE
=1; export DUALCASE
# for MKS sh
12745 # Support unset when possible.
12746 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12753 # Work around bugs in pre-3.0 UWIN ksh.
12754 $as_unset ENV MAIL MAILPATH
12761 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12762 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12763 LC_TELEPHONE LC_TIME
12765 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12766 eval $as_var=C
; export $as_var
12772 # Required to use basename.
12773 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12779 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12780 as_basename
=basename
12786 # Name of the executable.
12787 as_me
=`$as_basename "$0" ||
12788 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12789 X"$0" : 'X\(//\)$' \| \
12790 X"$0" : 'X\(/\)$' \| \
12791 . : '\(.\)' 2>/dev/null ||
12793 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12794 /^X\/\(\/\/\)$/{ s//\1/; q; }
12795 /^X\/\(\/\).*/{ s//\1/; q; }
12799 # PATH needs CR, and LINENO needs CR and PATH.
12800 # Avoid depending upon Character Ranges.
12801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12804 as_cr_digits
='0123456789'
12805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12807 # The user is always right.
12808 if test "${PATH_SEPARATOR+set}" != set; then
12809 echo "#! /bin/sh" >conf$$.sh
12810 echo "exit 0" >>conf$$.sh
12812 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12821 as_lineno_1
=$LINENO
12822 as_lineno_2
=$LINENO
12823 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12824 test "x$as_lineno_1" != "x$as_lineno_2" &&
12825 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12826 # Find who we are. Look in the path if we contain no path at all
12829 *[\\/]* ) as_myself
=$0 ;;
12830 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12831 for as_dir
in $PATH
12834 test -z "$as_dir" && as_dir
=.
12835 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12840 # We did not find ourselves, most probably we were run as `sh COMMAND'
12841 # in which case we are not to be found in the path.
12842 if test "x$as_myself" = x
; then
12845 if test ! -f "$as_myself"; then
12846 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12847 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12848 { (exit 1); exit 1; }; }
12850 case $CONFIG_SHELL in
12852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12853 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12856 test -z "$as_dir" && as_dir
=.
12857 for as_base
in sh bash ksh sh5
; do
12860 if ("$as_dir/$as_base" -c '
12861 as_lineno_1=$LINENO
12862 as_lineno_2=$LINENO
12863 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12864 test "x$as_lineno_1" != "x$as_lineno_2" &&
12865 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12866 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12867 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12868 CONFIG_SHELL
=$as_dir/$as_base
12869 export CONFIG_SHELL
12870 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12878 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12879 # uniformly replaced by the line number. The first 'sed' inserts a
12880 # line-number line before each line; the second 'sed' does the real
12881 # work. The second script uses 'N' to pair each line-number line
12882 # with the numbered line, and appends trailing '-' during
12883 # substitution so that $LINENO is not a special case at line end.
12884 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12885 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12886 sed '=' <$as_myself |
12891 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12894 s,^['$as_cr_digits']*\n,,
12895 ' >$as_me.lineno
&&
12896 chmod +x
$as_me.lineno ||
12897 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12898 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12899 { (exit 1); exit 1; }; }
12901 # Don't try to exec as it changes $[0], causing all sort of problems
12902 # (the dirname of $[0] is not the place where we might find the
12903 # original and so on. Autoconf is especially sensible to this).
12905 # Exit status is that of the last command.
12910 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12911 *c
*,-n*) ECHO_N
= ECHO_C
='
12913 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12914 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12917 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12923 rm -f conf$$ conf$$.exe conf$$.
file
12925 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12926 # We could just check for DJGPP; but this test a) works b) is more generic
12927 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12928 if test -f conf$$.exe
; then
12929 # Don't use ln at all; we don't have any links
12934 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12939 rm -f conf$$ conf$$.exe conf$$.
file
12941 if mkdir
-p .
2>/dev
/null
; then
12944 test -d .
/-p && rmdir .
/-p
12948 as_executable_p
="test -f"
12950 # Sed expression to map a string onto a valid CPP name.
12951 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12953 # Sed expression to map a string onto a valid variable name.
12954 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12958 # We need space, tab and new line, in precisely that order.
12968 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12969 # report actual input values of CONFIG_FILES etc. instead of their
12970 # values after options handling. Logging --version etc. is OK.
12974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12975 ## Running $as_me. ##
12980 This file was extended by $as_me, which was
12981 generated by GNU Autoconf 2.59. Invocation command line was
12983 CONFIG_FILES = $CONFIG_FILES
12984 CONFIG_HEADERS = $CONFIG_HEADERS
12985 CONFIG_LINKS = $CONFIG_LINKS
12986 CONFIG_COMMANDS = $CONFIG_COMMANDS
12990 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12994 # Files that config.status was made for.
12995 if test -n "$ac_config_files"; then
12996 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12999 if test -n "$ac_config_headers"; then
13000 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13003 if test -n "$ac_config_links"; then
13004 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13007 if test -n "$ac_config_commands"; then
13008 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13011 cat >>$CONFIG_STATUS <<\_ACEOF
13014 \`$as_me' instantiates files from templates according to the
13015 current configuration.
13017 Usage: $0 [OPTIONS] [FILE]...
13019 -h, --help print this help, then exit
13020 -V, --version print version number, then exit
13021 -q, --quiet do not print progress messages
13022 -d, --debug don't remove temporary files
13023 --recheck update $as_me by reconfiguring in the same conditions
13024 --file=FILE[:TEMPLATE]
13025 instantiate the configuration file FILE
13027 Configuration files:
13030 Report bugs to <bug-autoconf@gnu.org>."
13033 cat >>$CONFIG_STATUS <<_ACEOF
13036 configured by $0, generated by GNU Autoconf 2.59,
13037 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13039 Copyright (C) 2003 Free Software Foundation, Inc.
13040 This config.status script is free software; the Free Software Foundation
13041 gives unlimited permission to copy, distribute and modify it."
13046 cat >>$CONFIG_STATUS <<\_ACEOF
13047 # If no file are specified by the user, then we need to provide default
13048 # value. By we need to know if files were specified by the user.
13054 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13055 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13063 *) # This is not an option, so the user has probably given explicit
13066 ac_need_defaults
=false
;;
13070 # Handling of the options.
13072 cat >>$CONFIG_STATUS <<\_ACEOF
13073 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13075 --version |
--vers* |
-V )
13076 echo "$ac_cs_version"; exit 0 ;;
13078 # Conflict between --help and --header
13079 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13080 Try \`$0 --help' for more information." >&5
13081 echo "$as_me: error: ambiguous option: $1
13082 Try \`$0 --help' for more information." >&2;}
13083 { (exit 1); exit 1; }; };;
13084 --help |
--hel |
-h )
13085 echo "$ac_cs_usage"; exit 0 ;;
13086 --debug |
--d* |
-d )
13088 --file |
--fil |
--fi |
--f )
13090 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13091 ac_need_defaults
=false
;;
13092 --header |
--heade |
--head |
--hea )
13094 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13095 ac_need_defaults
=false
;;
13096 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13097 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13100 # This is an error.
13101 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13102 Try \`$0 --help' for more information." >&5
13103 echo "$as_me: error: unrecognized option: $1
13104 Try \`$0 --help' for more information." >&2;}
13105 { (exit 1); exit 1; }; } ;;
13107 *) ac_config_targets
="$ac_config_targets $1" ;;
13113 ac_configure_extra_args
=
13115 if $ac_cs_silent; then
13117 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13121 cat >>$CONFIG_STATUS <<_ACEOF
13122 if \$ac_cs_recheck; then
13123 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13124 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13133 cat >>$CONFIG_STATUS <<\_ACEOF
13134 for ac_config_target
in $ac_config_targets
13136 case "$ac_config_target" in
13137 # Handling of arguments.
13138 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13139 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13140 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13141 { (exit 1); exit 1; }; };;
13145 # If the user did not use the arguments to specify the items to instantiate,
13146 # then the envvar interface is used. Set only those that are not.
13147 # We use the long form for the default assignment because of an extremely
13148 # bizarre bug on SunOS 4.1.3.
13149 if $ac_need_defaults; then
13150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13153 # Have a temporary directory for convenience. Make it in the build tree
13154 # simply because there is no reason to put it here, and in addition,
13155 # creating and moving files from /tmp can sometimes cause problems.
13156 # Create a temporary directory, and hook for its removal unless debugging.
13159 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13160 trap '{ (exit 1); exit 1; }' 1 2 13 15
13163 # Create a (secure) tmp directory for tmp files.
13166 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13167 test -n "$tmp" && test -d "$tmp"
13170 tmp
=.
/confstat$$
-$RANDOM
13171 (umask 077 && mkdir
$tmp)
13174 echo "$me: cannot create a temporary directory in ." >&2
13175 { (exit 1); exit 1; }
13180 cat >>$CONFIG_STATUS <<_ACEOF
13183 # CONFIG_FILES section.
13186 # No need to generate the scripts if there are no CONFIG_FILES.
13187 # This happens for instance when ./config.status config.h
13188 if test -n "\$CONFIG_FILES"; then
13189 # Protect against being on the right side of a sed subst in config.status.
13190 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13191 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13192 s,@SHELL@,$SHELL,;t t
13193 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13194 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13195 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13196 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13197 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13198 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13199 s,@exec_prefix@,$exec_prefix,;t t
13200 s,@prefix@,$prefix,;t t
13201 s,@program_transform_name@,$program_transform_name,;t t
13202 s,@bindir@,$bindir,;t t
13203 s,@sbindir@,$sbindir,;t t
13204 s,@libexecdir@,$libexecdir,;t t
13205 s,@datadir@,$datadir,;t t
13206 s,@sysconfdir@,$sysconfdir,;t t
13207 s,@sharedstatedir@,$sharedstatedir,;t t
13208 s,@localstatedir@,$localstatedir,;t t
13209 s,@libdir@,$libdir,;t t
13210 s,@includedir@,$includedir,;t t
13211 s,@oldincludedir@,$oldincludedir,;t t
13212 s,@infodir@,$infodir,;t t
13213 s,@mandir@,$mandir,;t t
13214 s,@build_alias@,$build_alias,;t t
13215 s,@host_alias@,$host_alias,;t t
13216 s,@target_alias@,$target_alias,;t t
13217 s,@DEFS@,$DEFS,;t t
13218 s,@ECHO_C@,$ECHO_C,;t t
13219 s,@ECHO_N@,$ECHO_N,;t t
13220 s,@ECHO_T@,$ECHO_T,;t t
13221 s,@LIBS@,$LIBS,;t t
13222 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13223 s,@build@,$build,;t t
13224 s,@build_cpu@,$build_cpu,;t t
13225 s,@build_vendor@,$build_vendor,;t t
13226 s,@build_os@,$build_os,;t t
13227 s,@build_noncanonical@,$build_noncanonical,;t t
13228 s,@host_noncanonical@,$host_noncanonical,;t t
13229 s,@target_noncanonical@,$target_noncanonical,;t t
13230 s,@host@,$host,;t t
13231 s,@host_cpu@,$host_cpu,;t t
13232 s,@host_vendor@,$host_vendor,;t t
13233 s,@host_os@,$host_os,;t t
13234 s,@target@,$target,;t t
13235 s,@target_cpu@,$target_cpu,;t t
13236 s,@target_vendor@,$target_vendor,;t t
13237 s,@target_os@,$target_os,;t t
13238 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13239 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13240 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13242 s,@LN_S@,$LN_S,;t t
13243 s,@build_libsubdir@,$build_libsubdir,;t t
13244 s,@build_subdir@,$build_subdir,;t t
13245 s,@host_subdir@,$host_subdir,;t t
13246 s,@target_subdir@,$target_subdir,;t t
13248 s,@CFLAGS@,$CFLAGS,;t t
13249 s,@LDFLAGS@,$LDFLAGS,;t t
13250 s,@CPPFLAGS@,$CPPFLAGS,;t t
13251 s,@ac_ct_CC@,$ac_ct_CC,;t t
13252 s,@EXEEXT@,$EXEEXT,;t t
13253 s,@OBJEXT@,$OBJEXT,;t t
13255 s,@CXXFLAGS@,$CXXFLAGS,;t t
13256 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13257 s,@GNATBIND@,$GNATBIND,;t t
13258 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13259 s,@GNATMAKE@,$GNATMAKE,;t t
13260 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13261 s,@do_compare@,$do_compare,;t t
13262 s,@gmplibs@,$gmplibs,;t t
13263 s,@gmpinc@,$gmpinc,;t t
13264 s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
13265 s,@ppllibs@,$ppllibs,;t t
13266 s,@pplinc@,$pplinc,;t t
13267 s,@clooglibs@,$clooglibs,;t t
13268 s,@clooginc@,$clooginc,;t t
13269 s,@stage1_languages@,$stage1_languages,;t t
13270 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13271 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13272 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13273 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13274 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13275 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13276 s,@tooldir@,$tooldir,;t t
13277 s,@build_tooldir@,$build_tooldir,;t t
13278 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13279 s,@GDB_TK@,$GDB_TK,;t t
13280 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13281 s,@build_configargs@,$build_configargs,;t t
13282 s,@build_configdirs@,$build_configdirs,;t t
13283 s,@host_configargs@,$host_configargs,;t t
13284 s,@configdirs@,$configdirs,;t t
13285 s,@target_configargs@,$target_configargs,;t t
13286 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13287 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13288 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13289 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13290 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13291 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13292 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13293 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13294 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13295 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13296 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13297 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13298 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13299 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13300 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13301 s,@config_shell@,$config_shell,;t t
13302 s,@YACC@,$YACC,;t t
13303 s,@BISON@,$BISON,;t t
13306 s,@FLEX@,$FLEX,;t t
13307 s,@MAKEINFO@,$MAKEINFO,;t t
13308 s,@EXPECT@,$EXPECT,;t t
13309 s,@RUNTEST@,$RUNTEST,;t t
13312 s,@DLLTOOL@,$DLLTOOL,;t t
13314 s,@LIPO@,$LIPO,;t t
13316 s,@RANLIB@,$RANLIB,;t t
13317 s,@STRIP@,$STRIP,;t t
13318 s,@WINDRES@,$WINDRES,;t t
13319 s,@WINDMC@,$WINDMC,;t t
13320 s,@OBJCOPY@,$OBJCOPY,;t t
13321 s,@OBJDUMP@,$OBJDUMP,;t t
13322 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13323 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13324 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13325 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13326 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13327 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13328 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13329 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13330 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13331 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13332 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13333 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13334 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13335 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13336 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13337 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13338 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13339 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13340 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13341 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13342 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13343 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13344 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13345 s,@MAINT@,$MAINT,;t t
13346 s,@stage1_cflags@,$stage1_cflags,;t t
13347 s,@stage1_checking@,$stage1_checking,;t t
13348 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13349 s,@datarootdir@,$datarootdir,;t t
13350 s,@docdir@,$docdir,;t t
13351 s,@pdfdir@,$pdfdir,;t t
13352 s,@htmldir@,$htmldir,;t t
13353 s,@LIBOBJS@,$LIBOBJS,;t t
13354 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13355 /@serialization_dependencies@/r $serialization_dependencies
13356 s,@serialization_dependencies@,,;t t
13357 /@host_makefile_frag@/r $host_makefile_frag
13358 s,@host_makefile_frag@,,;t t
13359 /@target_makefile_frag@/r $target_makefile_frag
13360 s,@target_makefile_frag@,,;t t
13361 /@alphaieee_frag@/r $alphaieee_frag
13362 s,@alphaieee_frag@,,;t t
13363 /@ospace_frag@/r $ospace_frag
13364 s,@ospace_frag@,,;t t
13369 cat >>$CONFIG_STATUS <<\_ACEOF
13370 # Split the substitutions into bite-sized pieces for seds with
13371 # small command number limits, like on Digital OSF/1 and HP-UX.
13372 ac_max_sed_lines
=48
13373 ac_sed_frag
=1 # Number of current file.
13374 ac_beg
=1 # First line for current file.
13375 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13378 while $ac_more_lines; do
13379 if test $ac_beg -gt 1; then
13380 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13382 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13384 if test ! -s $tmp/subs.frag
; then
13385 ac_more_lines
=false
13387 # The purpose of the label and of the branching condition is to
13388 # speed up the sed processing (if there are no `@' at all, there
13389 # is no need to browse any of the substitutions).
13390 # These are the two extra sed commands mentioned above.
13392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13393 if test -z "$ac_sed_cmds"; then
13394 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13396 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13398 ac_sed_frag
=`expr $ac_sed_frag + 1`
13400 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13403 if test -z "$ac_sed_cmds"; then
13406 fi # test -n "$CONFIG_FILES"
13409 cat >>$CONFIG_STATUS <<\_ACEOF
13410 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13411 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13413 - |
*:- |
*:-:* ) # input from stdin
13415 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13416 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13417 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13418 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13419 * ) ac_file_in
=$ac_file.
in ;;
13422 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13423 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13425 X"$ac_file" : 'X\(//\)[^/]' \| \
13426 X"$ac_file" : 'X\(//\)$' \| \
13427 X"$ac_file" : 'X\(/\)' \| \
13428 . : '\(.\)' 2>/dev/null ||
13430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13432 /^X\(\/\/\)$/{ s//\1/; q; }
13433 /^X\(\/\).*/{ s//\1/; q; }
13435 { if $as_mkdir_p; then
13440 while test ! -d "$as_dir"; do
13441 as_dirs
="$as_dir $as_dirs"
13442 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13444 X"$as_dir" : 'X\(//\)[^/]' \| \
13445 X"$as_dir" : 'X\(//\)$' \| \
13446 X"$as_dir" : 'X\(/\)' \| \
13447 . : '\(.\)' 2>/dev/null ||
13449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13450 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13451 /^X\(\/\/\)$/{ s//\1/; q; }
13452 /^X\(\/\).*/{ s//\1/; q; }
13455 test ! -n "$as_dirs" || mkdir
$as_dirs
13456 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13457 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13458 { (exit 1); exit 1; }; }; }
13462 if test "$ac_dir" != .
; then
13463 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13464 # A "../" for each directory in $ac_dir_suffix.
13465 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13467 ac_dir_suffix
= ac_top_builddir
=
13471 .
) # No --srcdir option. We are building in place.
13473 if test -z "$ac_top_builddir"; then
13476 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13478 [\\/]* | ?
:[\\/]* ) # Absolute path.
13479 ac_srcdir
=$srcdir$ac_dir_suffix;
13480 ac_top_srcdir
=$srcdir ;;
13481 *) # Relative path.
13482 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13483 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13486 # Do not use `cd foo && pwd` to compute absolute paths, because
13487 # the directories may not exist.
13489 .
) ac_abs_builddir
="$ac_dir";;
13492 .
) ac_abs_builddir
=`pwd`;;
13493 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13494 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13497 case $ac_abs_builddir in
13498 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13500 case ${ac_top_builddir}.
in
13501 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13502 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13503 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13506 case $ac_abs_builddir in
13507 .
) ac_abs_srcdir
=$ac_srcdir;;
13510 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13511 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13512 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13515 case $ac_abs_builddir in
13516 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13518 case $ac_top_srcdir in
13519 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13520 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13521 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13527 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13528 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13531 if test x
"$ac_file" != x-
; then
13532 { echo "$as_me:$LINENO: creating $ac_file" >&5
13533 echo "$as_me: creating $ac_file" >&6;}
13536 # Let's still pretend it is `configure' which instantiates (i.e., don't
13537 # use $as_me), people would be surprised to read:
13538 # /* config.h. Generated by config.status. */
13539 if test x
"$ac_file" = x-
; then
13542 configure_input
="$ac_file. "
13544 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13545 sed 's,.*/,,'` by configure."
13547 # First look for the input files in the build tree, otherwise in the
13549 ac_file_inputs
=`IFS=:
13550 for f in $ac_file_in; do
13552 -) echo $tmp/stdin ;;
13554 # Absolute (can't be DOS-style, as IFS=:)
13555 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13556 echo "$as_me: error: cannot find input file: $f" >&2;}
13557 { (exit 1); exit 1; }; }
13560 if test -f "$f"; then
13563 elif test -f "$srcdir/$f"; then
13568 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13569 echo "$as_me: error: cannot find input file: $f" >&2;}
13570 { (exit 1); exit 1; }; }
13573 done` ||
{ (exit 1); exit 1; }
13575 cat >>$CONFIG_STATUS <<_ACEOF
13579 cat >>$CONFIG_STATUS <<\_ACEOF
13581 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13582 s
,@configure_input@
,$configure_input,;t t
13583 s
,@srcdir@
,$ac_srcdir,;t t
13584 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13585 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13586 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13587 s
,@builddir@
,$ac_builddir,;t t
13588 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13589 s
,@top_builddir@
,$ac_top_builddir,;t t
13590 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13591 s
,@INSTALL@
,$ac_INSTALL,;t t
13592 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13594 if test x"$ac_file" != x-; then
13595 mv $tmp/out $ac_file
13604 cat >>$CONFIG_STATUS <<\_ACEOF
13606 { (exit 0); exit 0; }
13608 chmod +x $CONFIG_STATUS
13609 ac_clean_files=$ac_clean_files_save
13612 # configure is writing to config.log, and then calls config.status.
13613 # config.status does its own redirection, appending to config.log.
13614 # Unfortunately, on DOS this fails, as config.log is still kept open
13615 # by configure, so config.status won't be able to write to it; its
13616 # output is simply discarded. So we exec the FD to /dev/null,
13617 # effectively closing config.log, so it can be properly (re)opened and
13618 # appended to by config.status. When coming back to configure, we
13619 # need to make the FD available again.
13620 if test "$no_create" != yes; then
13622 ac_config_status_args=
13623 test "$silent" = yes &&
13624 ac_config_status_args="$ac_config_status_args --quiet"
13626 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13628 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13629 # would make configure fail if this is the last instruction.
13630 $ac_cs_success || { (exit 1); exit 1; }