2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --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-ppl=PATH Specify prefix directory for the installed PPL package
973 Equivalent to --with-ppl-include=PATH/include
974 plus --with-ppl-lib=PATH/lib
975 --with-ppl-include=PATH Specify directory for installed PPL include files
976 --with-ppl-lib=PATH Specify the directory for the installed PPL library
977 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
978 Equivalent to --with-cloog-include=PATH/include
979 plus --with-cloog-lib=PATH/lib
980 --with-cloog-include=PATH Specify directory for installed CLooG include files
981 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
982 --with-cloog-polylib=PATH Specify prefix directory for the installed CLooG-PolyLib package
983 --with-build-sysroot=SYSROOT
984 use sysroot as the system root during the build
985 --with-debug-prefix-map='A
=B C
=D ...
'
986 map A to B, C to D ... in debug information
987 --with-build-time-tools=PATH
988 use given path to find target tools during the build
989 --with-datarootdir use datarootdir as the data root directory.
990 --with-docdir install documentation in this directory.
991 --with-pdfdir install pdf in this directory.
992 --with-htmldir install html in this directory.
994 Some influential environment variables:
995 CC C compiler command
996 CFLAGS C compiler flags
997 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
998 nonstandard directory <lib dir>
999 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1000 headers in a nonstandard directory <include dir>
1001 CXX C++ compiler command
1002 CXXFLAGS C++ compiler flags
1005 DLLTOOL DLLTOOL for the host
1007 LIPO LIPO for the host
1009 RANLIB RANLIB for the host
1010 STRIP STRIP for the host
1011 WINDRES WINDRES for the host
1012 WINDMC WINDMC for the host
1013 OBJCOPY OBJCOPY for the host
1014 OBJDUMP OBJDUMP for the host
1024 GFORTRAN for the target
1030 DLLTOOL for the target
1038 OBJDUMP for the target
1040 RANLIB for the target
1042 STRIP for the target
1044 WINDRES for the target
1046 WINDMC for the target
1048 Use these variables to override the choices made by `configure' or to
help
1049 it to
find libraries and programs with nonstandard names
/locations.
1054 if test "$ac_init_help" = "recursive"; then
1055 # If there are subdirs, report their specific --help.
1057 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1058 test -d $ac_dir ||
continue
1061 if test "$ac_dir" != .
; then
1062 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1063 # A "../" for each directory in $ac_dir_suffix.
1064 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1066 ac_dir_suffix
= ac_top_builddir
=
1070 .
) # No --srcdir option. We are building in place.
1072 if test -z "$ac_top_builddir"; then
1075 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1077 [\\/]* | ?
:[\\/]* ) # Absolute path.
1078 ac_srcdir
=$srcdir$ac_dir_suffix;
1079 ac_top_srcdir
=$srcdir ;;
1081 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1082 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1085 # Do not use `cd foo && pwd` to compute absolute paths, because
1086 # the directories may not exist.
1088 .
) ac_abs_builddir
="$ac_dir";;
1091 .
) ac_abs_builddir
=`pwd`;;
1092 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1093 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1096 case $ac_abs_builddir in
1097 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1099 case ${ac_top_builddir}.
in
1100 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1101 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1102 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1105 case $ac_abs_builddir in
1106 .
) ac_abs_srcdir
=$ac_srcdir;;
1109 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1110 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1111 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1114 case $ac_abs_builddir in
1115 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1117 case $ac_top_srcdir in
1118 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1119 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1120 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1125 # Check for guested configure; otherwise get Cygnus style configure.
1126 if test -f $ac_srcdir/configure.gnu
; then
1128 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1129 elif test -f $ac_srcdir/configure
; then
1131 $SHELL $ac_srcdir/configure
--help=recursive
1132 elif test -f $ac_srcdir/configure.ac ||
1133 test -f $ac_srcdir/configure.
in; then
1135 $ac_configure --help
1137 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1143 test -n "$ac_init_help" && exit 0
1144 if $ac_init_version; then
1147 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1148 This configure
script is free software
; the Free Software Foundation
1149 gives unlimited permission to copy
, distribute and modify it.
1155 This file contains any messages produced by compilers while
1156 running configure, to aid debugging if configure makes a mistake.
1158 It was created by $as_me, which was
1159 generated by GNU Autoconf 2.59. Invocation command line was
1170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1182 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1193 test -z "$as_dir" && as_dir
=.
1194 echo "PATH: $as_dir"
1209 # Keep a trace of the command line.
1210 # Strip out --no-create and --no-recursion so they do not pile up.
1211 # Strip out --silent because we don't want to record it for future runs.
1212 # Also quote any args containing shell meta-characters.
1213 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_must_keep_next
=false
1224 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1228 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1229 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1234 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1235 if test $ac_must_keep_next = true
; then
1236 ac_must_keep_next
=false
# Got value, back to normal.
1239 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1240 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1241 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1242 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1243 case "$ac_configure_args0 " in
1244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1247 -* ) ac_must_keep_next
=true
;;
1250 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1251 # Get rid of the leading space.
1257 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1258 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1260 # When interrupted or exit'd, cleanup temporary files, and complete
1261 # config.log. We remove comments because anyway the quotes in there
1262 # would cause problems or look ugly.
1263 # WARNING: Be sure not to use single quotes in there, as some shells,
1264 # such as our DU 5.0 friend, will then `close' the trap.
1265 trap 'exit_status=$?
1266 # Save into config.log some information that might help in debugging.
1271 ## ---------------- ##
1272 ## Cache variables. ##
1273 ## ---------------- ##
1276 # The following way of writing the cache mishandles newlines in values,
1279 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1282 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1294 ## ----------------- ##
1295 ## Output variables. ##
1296 ## ----------------- ##
1299 for ac_var in $ac_subst_vars
1301 eval ac_val=$`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -n "$ac_subst_files"; then
1313 for ac_var in $ac_subst_files
1315 eval ac_val=$`echo $ac_var`
1316 echo "$ac_var='"'"'$ac_val'"'"'"
1321 if test -s confdefs.h; then
1328 sed "/^$/d" confdefs.h | sort
1331 test "$ac_signal" != 0 &&
1332 echo "$as_me: caught signal $ac_signal"
1333 echo "$as_me: exit $exit_status"
1335 rm -f core *.core &&
1336 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1339 for ac_signal
in 1 2 13 15; do
1340 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 rm -rf conftest
* confdefs.h
1346 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1349 # Predefined preprocessor variables.
1351 cat >>confdefs.h
<<_ACEOF
1352 #define PACKAGE_NAME "$PACKAGE_NAME"
1356 cat >>confdefs.h
<<_ACEOF
1357 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1361 cat >>confdefs.h
<<_ACEOF
1362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1366 cat >>confdefs.h
<<_ACEOF
1367 #define PACKAGE_STRING "$PACKAGE_STRING"
1371 cat >>confdefs.h
<<_ACEOF
1372 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1376 # Let the site file select an alternate cache file if it wants to.
1377 # Prefer explicitly selected file to automatically selected ones.
1378 if test -z "$CONFIG_SITE"; then
1379 if test "x$prefix" != xNONE
; then
1380 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1382 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1385 for ac_site_file
in $CONFIG_SITE; do
1386 if test -r "$ac_site_file"; then
1387 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1388 echo "$as_me: loading site script $ac_site_file" >&6;}
1389 sed 's/^/| /' "$ac_site_file" >&5
1394 if test -r "$cache_file"; then
1395 # Some versions of bash will fail to source /dev/null (special
1396 # files actually), so we avoid doing that.
1397 if test -f "$cache_file"; then
1398 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1399 echo "$as_me: loading cache $cache_file" >&6;}
1401 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1402 *) . .
/$cache_file;;
1406 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1407 echo "$as_me: creating cache $cache_file" >&6;}
1411 # Check that the precious variables saved in the cache have kept the same
1413 ac_cache_corrupted
=false
1414 for ac_var
in `(set) 2>&1 |
1415 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1416 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1417 eval ac_new_set
=\
$ac_env_${ac_var}_set
1418 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1419 eval ac_new_val
="\$ac_env_${ac_var}_value"
1420 case $ac_old_set,$ac_new_set in
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1424 ac_cache_corrupted
=: ;;
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1428 ac_cache_corrupted
=: ;;
1431 if test "x$ac_old_val" != "x$ac_new_val"; then
1432 # differences in whitespace do not lead to failure.
1433 ac_old_val_w
=`echo x $ac_old_val`
1434 ac_new_val_w
=`echo x $ac_new_val`
1435 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 ac_cache_corrupted
=:
1440 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1441 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1442 eval $ac_var=\
$ac_old_val
1444 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1445 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1446 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1447 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1453 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg
=$ac_var=$ac_new_val ;;
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1465 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1469 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp
='$CPP $CPPFLAGS'
1475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1503 # if PWD already has a value, it is probably wrong.
1504 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1506 # Export original configure arguments for use by sub-configures.
1507 # Quote arguments with shell meta charatcers.
1508 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1509 set -- "$progname" "$@"
1513 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1514 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1515 # if the argument is of the form -foo=baz, quote the baz part only
1516 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1519 # Add the quoted argument to the list.
1520 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1522 if test "$silent" = yes; then
1523 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1525 # Remove the initial space we just introduced and, as these will be
1526 # expanded by make, quote '$'.
1527 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1530 # Find the build, host, and target systems.
1532 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1533 if test -f $ac_dir/install-sh
; then
1535 ac_install_sh
="$ac_aux_dir/install-sh -c"
1537 elif test -f $ac_dir/install.sh
; then
1539 ac_install_sh
="$ac_aux_dir/install.sh -c"
1541 elif test -f $ac_dir/shtool
; then
1543 ac_install_sh
="$ac_aux_dir/shtool install -c"
1547 if test -z "$ac_aux_dir"; then
1548 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1549 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1550 { (exit 1); exit 1; }; }
1552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1554 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556 # Make sure we can run config.sub.
1557 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1558 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1559 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1560 { (exit 1); exit 1; }; }
1562 echo "$as_me:$LINENO: checking build system type" >&5
1563 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1564 if test "${ac_cv_build+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 ac_cv_build_alias
=$build_alias
1568 test -z "$ac_cv_build_alias" &&
1569 ac_cv_build_alias
=`$ac_config_guess`
1570 test -z "$ac_cv_build_alias" &&
1571 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1572 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1573 { (exit 1); exit 1; }; }
1574 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1581 echo "${ECHO_T}$ac_cv_build" >&6
1583 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 case ${build_alias} in
1589 "") build_noncanonical
=${build} ;;
1590 *) build_noncanonical
=${build_alias} ;;
1595 case ${host_alias} in
1596 "") host_noncanonical
=${build_noncanonical} ;;
1597 *) host_noncanonical
=${host_alias} ;;
1602 case ${target_alias} in
1603 "") target_noncanonical
=${host_noncanonical} ;;
1604 *) target_noncanonical
=${target_alias} ;;
1610 test "$host_noncanonical" = "$target_noncanonical" &&
1611 test "$program_prefix$program_suffix$program_transform_name" = \
1613 program_transform_name
=s
,y
,y
,
1615 echo "$as_me:$LINENO: checking host system type" >&5
1616 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1617 if test "${ac_cv_host+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 ac_cv_host_alias
=$host_alias
1621 test -z "$ac_cv_host_alias" &&
1622 ac_cv_host_alias
=$ac_cv_build_alias
1623 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1624 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1625 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1626 { (exit 1); exit 1; }; }
1629 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1630 echo "${ECHO_T}$ac_cv_host" >&6
1632 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1633 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1634 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1637 echo "$as_me:$LINENO: checking target system type" >&5
1638 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1639 if test "${ac_cv_target+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 ac_cv_target_alias
=$target_alias
1643 test "x$ac_cv_target_alias" = "x" &&
1644 ac_cv_target_alias
=$ac_cv_host_alias
1645 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1646 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1647 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1648 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1652 echo "${ECHO_T}$ac_cv_target" >&6
1653 target
=$ac_cv_target
1654 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1655 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1656 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1659 # The aliases save the names the user supplied, while $host etc.
1660 # will get canonicalized.
1661 test -n "$target_alias" &&
1662 test "$program_prefix$program_suffix$program_transform_name" = \
1664 program_prefix
=${target_alias}-
1665 test "$program_prefix" != NONE
&&
1666 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1667 # Use a double $ so make ignores it.
1668 test "$program_suffix" != NONE
&&
1669 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1670 # Double any \ or $. echo might interpret backslashes.
1671 # By default was `s,x,x', remove it if useless.
1672 cat <<\_ACEOF
>conftest.
sed
1673 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1675 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1680 # Get 'install' or 'install-sh' and its variants.
1681 # Find a good install program. We prefer a C program (faster),
1682 # so one script is as good as another. But avoid the broken or
1683 # incompatible versions:
1684 # SysV /etc/install, /usr/sbin/install
1685 # SunOS /usr/etc/install
1686 # IRIX /sbin/install
1688 # AmigaOS /C/install, which installs bootblocks on floppy discs
1689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1692 # OS/2's system install, which has a completely different semantic
1693 # ./install, which can be erroneously created by make from ./install.sh.
1694 # Reject install programs that cannot install multiple files.
1695 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1696 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1697 if test -z "$INSTALL"; then
1698 if test "${ac_cv_path_install+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 # Account for people who put trailing slashes in PATH elements.
1708 .
/ | .
// |
/cC
/* | \
1709 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1710 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1713 # OSF1 and SCO ODT 3.0 have their own names for install.
1714 # Don't use installbsd from OSF since it installs stuff as root
1716 for ac_prog
in ginstall scoinst
install; do
1717 for ac_exec_ext
in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1719 if test $ac_prog = install &&
1720 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1721 # AIX install. It has an incompatible calling convention.
1723 elif test $ac_prog = install &&
1724 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1725 # program-specific install script used by HP pwplus--don't use.
1728 rm -rf conftest.one conftest.two conftest.dir
1729 echo one
> conftest.one
1730 echo two
> conftest.two
1732 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1733 test -s conftest.one
&& test -s conftest.two
&&
1734 test -s conftest.dir
/conftest.one
&&
1735 test -s conftest.dir
/conftest.two
1737 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1748 rm -rf conftest.one conftest.two conftest.dir
1751 if test "${ac_cv_path_install+set}" = set; then
1752 INSTALL
=$ac_cv_path_install
1754 # As a last resort, use the slow shell script. Don't cache a
1755 # value for INSTALL within a source directory, because that will
1756 # break other packages using the cache if that directory is
1757 # removed, or if the value is a relative name.
1758 INSTALL
=$ac_install_sh
1761 echo "$as_me:$LINENO: result: $INSTALL" >&5
1762 echo "${ECHO_T}$INSTALL" >&6
1764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1765 # It thinks the first close brace ends the variable substitution.
1766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1770 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1772 echo "$as_me:$LINENO: checking whether ln works" >&5
1773 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1774 if test "${acx_cv_prog_LN+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 rm -f conftestdata_t
1778 echo >conftestdata_f
1779 if ln conftestdata_f conftestdata_t
2>/dev
/null
1785 rm -f conftestdata_f conftestdata_t
1788 if test $acx_cv_prog_LN = no
; then
1790 echo "$as_me:$LINENO: result: no, using $LN" >&5
1791 echo "${ECHO_T}no, using $LN" >&6
1793 LN
="$acx_cv_prog_LN"
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1798 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1799 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1801 if test "$LN_S" = "ln -s"; then
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1805 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1806 echo "${ECHO_T}no, using $LN_S" >&6
1810 ### we might need to use some other shell than /bin/sh for running subshells
1811 ### If we are on Windows, search for the shell. This will permit people
1812 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1813 ### without also having to set CONFIG_SHELL. This code will work when
1814 ### using bash, which sets OSTYPE.
1817 if test x
${CONFIG_SHELL} = x
; then
1818 if test ! -f /bin
/sh
; then
1819 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1820 CONFIG_SHELL
=${SHELL}
1823 for prog
in sh sh.exe bash bash.exe
; do
1824 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1825 for dir
in $PATH; do
1826 test -z "$dir" && dir
=.
1827 if test -f $dir/$prog; then
1828 CONFIG_SHELL
=$dir/$prog
1834 test -n "${CONFIG_SHELL}" && break
1842 config_shell
=${CONFIG_SHELL-/bin/sh}
1844 moveifchange
=${srcdir}/move-if-change
1846 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1848 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1850 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1851 INSTALL
="${srcpwd}/install-sh -c"
1854 # Set srcdir to "." if that's what it is.
1855 # This is important for multilib support.
1857 if test "${pwd}" = "${srcpwd}" ; then
1865 ### To add a new directory to the tree, first choose whether it is a target
1866 ### or a host dependent tool. Then put it into the appropriate list
1867 ### (library or tools, host or target), doing a dependency sort.
1869 # Subdirs will be configured in the order listed in build_configdirs,
1870 # configdirs, or target_configdirs; see the serialization section below.
1872 # Dependency sorting is only needed when *configuration* must be done in
1873 # a particular order. In all cases a dependency should be specified in
1874 # the Makefile, whether or not it's implicitly specified here.
1876 # Double entries in build_configdirs, configdirs, or target_configdirs may
1877 # cause circular dependencies and break everything horribly.
1879 # these library is used by various programs built for the build
1882 build_libs
="build-libiberty"
1884 # these tools are built for the build environment
1885 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1887 # these libraries are used by various programs built for the host environment
1889 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog"
1891 # these tools are built for the host environment
1892 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1893 # know that we are building the simulator.
1894 # binutils, gas and ld appear in that order because it makes sense to run
1895 # "make check" in that particular order.
1896 # If --enable-gold is used, "gold" will replace "ld".
1897 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"
1899 # libgcj represents the runtime libraries only used by gcj.
1900 libgcj
="target-libffi \
1905 # these libraries are built for the target environment, and are built after
1906 # the host libraries and the host tools (which may be a cross compiler)
1908 target_libraries
="target-libgcc \
1913 target-libstdc++-v3 \
1916 target-libgfortran \
1922 # these tools are built using the target libraries, and are intended to
1923 # run only in the target environment
1925 # note: any program that *uses* libraries that are in the "target_libraries"
1926 # list belongs in this list. those programs are also very likely
1927 # candidates for the "native_only" list which follows
1929 target_tools
="target-examples target-groff target-gperf target-rda"
1931 ################################################################################
1933 ## All tools belong in one of the four categories, and are assigned above
1934 ## We assign ${configdirs} this way to remove all embedded newlines. This
1935 ## is important because configure will choke if they ever get through.
1936 ## ${configdirs} is directories we build using the host tools.
1937 ## ${target_configdirs} is directories we build using the target tools.
1938 configdirs
=`echo ${host_libs} ${host_tools}`
1939 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1940 build_configdirs
=`echo ${build_libs} ${build_tools}`
1944 ################################################################################
1946 srcname
="gnu development package"
1948 # This gets set non-empty for some net releases of packages.
1951 # Define is_cross_compiler to save on calls to 'test'.
1953 if test x
"${host}" = x
"${target}" ; then
1954 is_cross_compiler
=no
1956 is_cross_compiler
=yes
1959 # Find the build and target subdir names.
1961 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1962 # have matching libraries, they should use host libraries: Makefile.tpl
1963 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1964 # However, they still use the build modules, because the corresponding
1965 # host modules (e.g. bison) are only built for the host when bootstrap
1967 # - build_subdir is where we find build modules, and never changes.
1968 # - build_libsubdir is where we find build libraries, and can be overridden.
1970 # Prefix 'build-' so this never conflicts with target_subdir.
1971 build_subdir
="build-${build_noncanonical}"
1973 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1974 if test "${with_build_libsubdir+set}" = set; then
1975 withval
="$with_build_libsubdir"
1976 build_libsubdir
="$withval"
1978 build_libsubdir
="$build_subdir"
1980 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1981 if ( test $srcdir = .
&& test -d gcc
) \
1982 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1983 host_subdir
="host-${host_noncanonical}"
1988 target_subdir
=${target_noncanonical}
1991 # Skipdirs are removed silently.
1993 # Noconfigdirs are removed loudly.
1997 # Make sure we don't let GNU ld be added if we didn't want it.
1998 if test x
$with_gnu_ld = xno
; then
2000 noconfigdirs
="$noconfigdirs ld gold"
2004 # Make sure we don't let GNU as be added if we didn't want it.
2005 if test x
$with_gnu_as = xno
; then
2007 noconfigdirs
="$noconfigdirs gas"
2010 # some tools are so dependent upon X11 that if we're not building with X,
2011 # it's not even worth trying to configure, much less build, that tool.
2014 yes |
"") ;; # the default value for this tree is that X11 is available
2016 skipdirs
="${skipdirs} tk itcl libgui"
2017 # We won't be able to build gdbtk without X.
2020 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2023 # Some tools are only suitable for building in a "native" situation.
2024 # Remove these if host!=target.
2025 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"
2027 # Similarly, some are only suitable for cross toolchains.
2028 # Remove these if host=target.
2029 cross_only
="target-libgloss target-newlib target-opcodes"
2031 case $is_cross_compiler in
2032 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2033 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2036 # If both --with-headers and --with-libs are specified, default to
2038 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2039 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2040 if test x
"${with_newlib}" = x
; then
2045 # Recognize --with-newlib/--without-newlib.
2046 case ${with_newlib} in
2047 no
) skipdirs
="${skipdirs} target-newlib" ;;
2048 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2051 # Handle --enable-gold.
2053 # Check whether --enable-gold or --disable-gold was given.
2054 if test "${enable_gold+set}" = set; then
2055 enableval
="$enable_gold"
2056 ENABLE_GOLD
=$enableval
2060 if test "${ENABLE_GOLD}" = "yes"; then
2061 # Check for ELF target.
2064 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2065 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2066 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2068 *-*-linux*aout
* |
*-*-linux*oldld
*)
2076 if test "$is_elf" = "yes"; then
2077 # Check for target supported by gold.
2079 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-*)
2080 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2086 # Configure extra directories which are host specific
2090 configdirs
="$configdirs libtermcap" ;;
2093 # A target can indicate whether a language isn't supported for some reason.
2094 # Only spaces may be used in this macro; not newlines or tabs.
2095 unsupported_languages
=
2097 # Remove more programs from consideration, based on the host or
2098 # target this usually means that a port of the program doesn't
2103 noconfigdirs
="$noconfigdirs byacc"
2105 i
[3456789]86-*-vsta)
2106 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2108 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2109 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2112 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2114 i
[3456789]86-*-mingw32*)
2115 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2116 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2118 i
[3456789]86-*-beos*)
2119 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2122 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2125 noconfigdirs
="$noconfigdirs rcs"
2128 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2131 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2136 # Check whether --enable-libada or --disable-libada was given.
2137 if test "${enable_libada+set}" = set; then
2138 enableval
="$enable_libada"
2139 ENABLE_LIBADA
=$enableval
2143 if test "${ENABLE_LIBADA}" != "yes" ; then
2144 noconfigdirs
="$noconfigdirs gnattools"
2147 # Check whether --enable-libssp or --disable-libssp was given.
2148 if test "${enable_libssp+set}" = set; then
2149 enableval
="$enable_libssp"
2150 ENABLE_LIBSSP
=$enableval
2155 # Save it here so that, even in case of --enable-libgcj, if the Java
2156 # front-end isn't enabled, we still get libgcj disabled.
2157 libgcj_saved
=$libgcj
2158 case $enable_libgcj in
2160 # If we reset it here, it won't get added to noconfigdirs in the
2161 # target-specific build rules, so it will be forcibly enabled
2162 # (unless the Java language itself isn't enabled).
2166 # Make sure we get it printed in the list of not supported target libs.
2167 noconfigdirs
="$noconfigdirs ${libgcj}"
2172 # Disable libmudflap on some systems.
2173 if test x
$enable_libmudflap = x
; then
2175 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2176 # Enable libmudflap by default in GNU and friends.
2179 # Enable libmudflap by default in FreeBSD.
2182 # Disable it by default everywhere else.
2183 noconfigdirs
="$noconfigdirs target-libmudflap"
2188 # Disable libgomp on non POSIX hosted systems.
2189 if test x
$enable_libgomp = x
; then
2190 # Enable libgomp by default on hosted POSIX systems.
2192 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2194 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2196 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2198 *-*-darwin* |
*-*-aix*)
2201 noconfigdirs
="$noconfigdirs target-libgomp"
2206 # Default libgloss CPU subdirectory.
2207 libgloss_dir
="$target_cpu"
2211 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2213 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2214 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2215 noconfigdirs
="$noconfigdirs sim target-rda"
2218 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2219 noconfigdirs
="$noconfigdirs sim target-rda"
2220 noconfigdirs
="$noconfigdirs ${libgcj}"
2222 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2223 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2226 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2227 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2228 && test -f /usr
/local
/include
/gmp.h
; then
2232 # Skip some stuff that's unsupported on some FreeBSD configurations.
2237 noconfigdirs
="$noconfigdirs ${libgcj}"
2242 # Remove unsupported stuff on all kaOS configurations.
2243 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2244 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2245 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2246 noconfigdirs
="$noconfigdirs target-libgloss"
2249 # Skip some stuff on all NetBSD configurations.
2250 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2252 # Skip some stuff that's unsupported on some NetBSD configurations.
2254 i
*86-*-netbsdelf*) ;;
2255 arm
*-*-netbsdelf*) ;;
2257 noconfigdirs
="$noconfigdirs ${libgcj}"
2262 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2265 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2267 # The tpf target doesn't support gdb yet.
2269 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2272 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2275 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2278 # ld works, but does not support shared libraries.
2279 # newlib is not 64 bit ready. I'm not sure about fileutils.
2280 # gas doesn't generate exception information.
2281 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2284 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2287 # newlib is not 64 bit ready
2288 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2291 # newlib is not 64 bit ready
2292 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2295 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2298 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2300 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2301 noconfigdirs
="$noconfigdirs ${libgcj}"
2302 noconfigdirs
="$noconfigdirs target-examples"
2303 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2304 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2305 noconfigdirs
="$noconfigdirs expect dejagnu"
2306 # the C++ libraries don't build on top of CE's C libraries
2307 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2308 noconfigdirs
="$noconfigdirs target-newlib"
2310 *-*-cygwin*) ;; # keep gdb and readline
2311 *) noconfigdirs
="$noconfigdirs gdb readline"
2317 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2321 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2322 noconfigdirs
="$noconfigdirs ${libgcj}"
2325 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2326 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2329 arm
*-*-linux-gnueabi)
2330 noconfigdirs
="$noconfigdirs target-qthreads"
2331 case ${with_newlib} in
2332 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2337 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2341 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2344 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2347 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2350 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2353 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2356 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2359 noconfigdirs
="$noconfigdirs gdb"
2360 if test x
${is_cross_compiler} != xno
; then
2361 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2364 c4x-
*-* | tic4x-
*-*)
2365 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2367 c54x
*-*-* | tic54x-
*-*)
2368 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2371 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2373 cris-
*-* | crisv32-
*-*)
2374 unsupported_languages
="$unsupported_languages java"
2377 unsupported_languages
="$unsupported_languages fortran"
2378 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2380 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2382 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2384 unsupported_languages
="$unsupported_languages fortran"
2385 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2390 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2393 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2396 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2398 ep9312-
*-elf | ep9312-
*-coff)
2402 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2405 noconfigdirs
="$noconfigdirs ${libgcj}"
2408 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2411 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2413 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2415 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2416 # In this case, it's because the hppa64-linux target is for
2417 # the kernel only at this point and has no libc, and thus no
2418 # headers, crt*.o, etc., all of which are needed by these.
2419 noconfigdirs
="$noconfigdirs target-zlib"
2421 parisc
*-*-linux* | hppa
*-*-linux*)
2425 hppa
*-*-openbsd* | \
2427 noconfigdirs
="$noconfigdirs ${libgcj}"
2430 noconfigdirs
="$noconfigdirs ld shellutils"
2436 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2437 # build on HP-UX 10.20.
2438 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2441 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2444 # No gdb support yet.
2445 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2448 # No gdb or ld support yet.
2449 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2453 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2454 noconfigdirs
="$noconfigdirs ${libgcj}"
2457 i
[3456789]86-*-linux*)
2458 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2459 # not build java stuff by default.
2462 noconfigdirs
="$noconfigdirs ${libgcj}";;
2465 # This section makes it possible to build newlib natively on linux.
2466 # If we are using a cross compiler then don't configure newlib.
2467 if test x
${is_cross_compiler} != xno
; then
2468 noconfigdirs
="$noconfigdirs target-newlib"
2470 noconfigdirs
="$noconfigdirs target-libgloss"
2471 # If we are not using a cross compiler, do configure newlib.
2472 # Note however, that newlib will only be configured in this situation
2473 # if the --with-newlib option has been given, because otherwise
2474 # 'target-newlib' will appear in skipdirs.
2476 i
[3456789]86-*-mingw32*)
2477 target_configdirs
="$target_configdirs target-winsup"
2478 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2481 target_configdirs
="$target_configdirs target-winsup"
2482 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2485 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2486 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2487 # always build newlib if winsup directory is present.
2488 if test -d "$srcdir/winsup/cygwin"; then
2489 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2490 elif test -d "$srcdir/newlib"; then
2491 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2494 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2495 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2498 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2500 i
[3456789]86-*-sco3.2v5
*)
2501 # The linker does not yet know about weak symbols in COFF,
2502 # and is not configured to handle mixed ELF and COFF.
2503 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2505 i
[3456789]86-*-sco*)
2506 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2508 i
[3456789]86-*-solaris2*)
2509 noconfigdirs
="$noconfigdirs target-libgloss"
2511 i
[3456789]86-*-sysv4*)
2512 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2514 i
[3456789]86-*-beos*)
2515 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2517 i
[3456789]86-*-rdos*)
2518 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2521 noconfigdirs
="$noconfigdirs ${libgcj}"
2523 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2524 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2525 libgloss_dir
=m68hc11
2528 noconfigdirs
="$noconfigdirs ${libgcj}"
2531 noconfigdirs
="$noconfigdirs ${libgcj}"
2533 m68
*-*-* | fido-
*-*)
2537 # The EPOC C++ environment does not support exceptions or rtti,
2538 # and so building libstdc++-v3 tends not to always work.
2539 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2542 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2543 unsupported_languages
="$unsupported_languages fortran java"
2546 noconfigdirs
="$noconfigdirs ${libgcj}"
2549 noconfigdirs
="$noconfigdirs ${libgcj}"
2552 noconfigdirs
="$noconfigdirs sim"
2555 # copied from rs6000-*-* entry
2556 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2558 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2559 target_configdirs
="$target_configdirs target-winsup"
2560 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2561 # always build newlib.
2562 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2564 # This is temporary until we can link against shared libraries
2565 powerpcle-
*-solaris*)
2566 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2570 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2573 noconfigdirs
="$noconfigdirs ${libgcj}"
2576 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2580 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2583 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2586 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2589 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2592 skipdirs
="$skipdirs target-libiberty"
2593 noconfigdirs
="$noconfigdirs ${libgcj}"
2594 if test x
$with_newlib = xyes
; then
2595 noconfigdirs
="$noconfigdirs gprof"
2600 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2603 # Linking libjava exceeds command-line length limits on at least
2604 # IRIX 6.2, but not on IRIX 6.5.
2605 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2606 # <oldham@codesourcery.com>
2607 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2610 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2616 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2620 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2624 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2625 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2626 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2627 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2629 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2631 sparclet-
*-aout* | sparc86x-
*-*)
2635 noconfigdirs
="$noconfigdirs ${libgcj}"
2638 noconfigdirs
="$noconfigdirs ${libgcj}"
2642 noconfigdirs
="$noconfigdirs ${libgcj}"
2646 noconfigdirs
="$noconfigdirs ${libgcj}"
2647 if test x
${is_cross_compiler} != xno
; then
2648 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2653 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2654 noconfigdirs
="$noconfigdirs ${libgcj}"
2656 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2659 skipdirs
="target-libssp"
2662 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2665 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2668 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2671 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2674 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2680 noconfigdirs
="$noconfigdirs ${libgcj}"
2683 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2685 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2692 noconfigdirs
="$noconfigdirs ${libgcj}"
2696 # If we aren't building newlib, then don't build libgloss, since libgloss
2697 # depends upon some newlib header files.
2698 case "${noconfigdirs}" in
2699 *target-libgloss
*) ;;
2700 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2703 # Work in distributions that contain no compiler tools, like Autoconf.
2705 host_makefile_frag
=/dev
/null
2706 if test -d ${srcdir}/config
; then
2709 # Avoid "too much defining" errors from HPUX compiler.
2710 tentative_cc
="cc -Wp,-H256000"
2711 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2712 # If it's HP/UX ar, this should be harmless.
2716 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2719 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2720 # chokes on bfd, the compiler won't let you assign integers to enums, and
2721 # other problems. Defining CC to gcc is a questionable way to say "don't use
2722 # the apollo compiler" (the preferred version of GCC could be called cc,
2723 # or whatever), but I'm not sure leaving CC as cc is any better...
2724 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2725 # Used to have BISON=yacc.
2729 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2732 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2733 tentative_cc
="cc -Xa"
2734 host_makefile_frag
="config/mh-cxux"
2736 m88k-motorola-sysv
*)
2739 tentative_cc
="cc -Wf,-XNg1000"
2740 host_makefile_frag
="config/mh-decstation"
2743 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2744 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2745 host_makefile_frag
="config/mh-necv4"
2748 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2749 # environment. Also bump switch table size so that cp-parse will
2750 # compile. Bump string length limit so linker builds.
2751 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2754 host_makefile_frag
="config/mh-sysv4"
2757 # This is for a MIPS running RISC/os 4.52C.
2759 # This is needed for GDB, but needs to be in the top-level make because
2760 # if a library is compiled with the bsd headers and gets linked with the
2761 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2762 # a different size).
2763 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2764 # known except to select the sysv environment. Could we use /proc instead?
2765 # These "sysv environments" and "bsd environments" often end up being a pain.
2767 # This is not part of CFLAGS because perhaps not all C compilers have this
2769 tentative_cc
="cc -systype sysv"
2774 i
[3456789]86-*-sysv5*)
2775 host_makefile_frag
="config/mh-sysv5"
2777 i
[3456789]86-*-dgux*)
2778 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2779 host_makefile_frag
="config/mh-dgux386"
2781 i
[3456789]86-ncr-sysv4.3
*)
2782 # The MetaWare compiler will generate a copyright message unless you
2783 # turn it off by adding the -Hnocopyr flag.
2784 tentative_cc
="cc -Hnocopyr"
2786 i
[3456789]86-ncr-sysv4*)
2787 # for an NCR 3000 (i486/SVR4) system.
2788 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2789 # This compiler not only emits obnoxious copyright messages every time
2790 # you run it, but it chokes and dies on a whole bunch of GNU source
2791 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2792 tentative_cc
="/usr/ccs/ATT/cc"
2793 host_makefile_frag
="config/mh-ncr3000"
2795 i
[3456789]86-*-sco3.2v5
*)
2797 i
[3456789]86-*-sco*)
2798 # The native C compiler botches some simple uses of const. Unfortunately,
2799 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2800 tentative_cc
="cc -Dconst="
2801 host_makefile_frag
="config/mh-sco"
2803 i
[3456789]86-*-udk*)
2804 host_makefile_frag
="config/mh-sysv5"
2806 i
[3456789]86-*-solaris2*)
2807 host_makefile_frag
="config/mh-sysv4"
2809 i
[3456789]86-*-msdosdjgpp*)
2810 host_makefile_frag
="config/mh-djgpp"
2814 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2815 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2816 echo a
>cygwin-cat-check
2817 if test `cat cygwin-cat-check` == a
; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2825 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2826 Please either mount the build directory in binary mode or run the following
2827 commands before running any configure script:
2831 echo "$as_me: error: The cat command does not ignore carriage return characters.
2832 Please either mount the build directory in binary mode or run the following
2833 commands before running any configure script:
2837 { (exit 1); exit 1; }; }
2840 host_makefile_frag
="config/mh-cygwin"
2843 host_makefile_frag
="config/mh-mingw"
2846 host_makefile_frag
="config/mh-interix"
2849 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2853 host_makefile_frag
="config/mh-solaris"
2856 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2857 # without overflowing the jump tables (-J says to use a 32 bit table)
2858 tentative_cc
="cc -J"
2861 tentative_cc
="cc -Wp,-H256000"
2862 host_makefile_frag
="config/mh-pa-hpux10"
2864 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2865 tentative_cc
="cc -Wp,-H256000"
2866 host_makefile_frag
="config/mh-pa"
2869 host_makefile_frag
="config/mh-pa"
2871 *-hp-hpux* |
*-*-hiux*)
2872 tentative_cc
="cc -Wp,-H256000"
2875 # /bin/cc is less than useful for our purposes. Always use GCC
2876 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2877 host_makefile_frag
="config/mh-lynxrs6k"
2880 host_makefile_frag
="config/mh-ppc-darwin"
2883 host_makefile_frag
="config/mh-ppc-aix"
2886 host_makefile_frag
="config/mh-ppc-aix"
2889 # /bin/cc is less than useful for our purposes. Always use GCC
2890 tentative_cc
="/bin/gcc"
2893 host_makefile_frag
="config/mh-sysv4"
2895 # This is placed last to prevent interfering with the cases above.
2897 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2898 host_makefile_frag
="config/mh-x86omitfp"
2903 # If we aren't going to be using gcc, see if we can extract a definition
2904 # of CC from the fragment.
2905 # Actually, use the 'pre-extracted' version above.
2906 if test -z "${CC}" && test "${build}" = "${host}" ; then
2907 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2909 for dir
in $PATH; do
2910 test -z "$dir" && dir
=.
2911 if test -f $dir/gcc
; then
2917 if test -z "${found}" && test -n "${tentative_cc}" ; then
2922 if test "${build}" != "${host}" ; then
2923 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2924 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2925 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2926 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2927 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2928 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2929 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2930 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2931 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2932 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2933 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2934 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2936 AR_FOR_BUILD
="\$(AR)"
2937 AS_FOR_BUILD
="\$(AS)"
2938 CC_FOR_BUILD
="\$(CC)"
2939 CXX_FOR_BUILD
="\$(CXX)"
2940 GCJ_FOR_BUILD
="\$(GCJ)"
2941 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2942 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2943 LD_FOR_BUILD
="\$(LD)"
2944 NM_FOR_BUILD
="\$(NM)"
2945 RANLIB_FOR_BUILD
="\$(RANLIB)"
2946 WINDRES_FOR_BUILD
="\$(WINDRES)"
2947 WINDMC_FOR_BUILD
="\$(WINDMC)"
2951 ac_cpp
='$CPP $CPPFLAGS'
2952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2955 if test -n "$ac_tool_prefix"; then
2956 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2957 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2958 echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2960 if test "${ac_cv_prog_CC+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC
="$CC" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CC"; then
2984 echo "$as_me:$LINENO: result: $CC" >&5
2985 echo "${ECHO_T}$CC" >&6
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2992 if test -z "$ac_cv_prog_CC"; then
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc
; ac_word
=$2
2996 echo "$as_me:$LINENO: checking for $ac_word" >&5
2997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_ac_ct_CC
="gcc"
3012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3021 if test -n "$ac_ct_CC"; then
3022 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3023 echo "${ECHO_T}$ac_ct_CC" >&6
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3034 if test -z "$CC"; then
3035 if test -n "$ac_tool_prefix"; then
3036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3037 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_CC+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC
="$CC" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test -n "$CC"; then
3064 echo "$as_me:$LINENO: result: $CC" >&5
3065 echo "${ECHO_T}$CC" >&6
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3072 if test -z "$ac_cv_prog_CC"; then
3074 # Extract the first word of "cc", so it can be a program name with args.
3075 set dummy cc
; ac_word
=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$ac_ct_CC"; then
3082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_CC
="cc"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3101 if test -n "$ac_ct_CC"; then
3102 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3103 echo "${ECHO_T}$ac_ct_CC" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3115 if test -z "$CC"; then
3116 # Extract the first word of "cc", so it can be a program name with args.
3117 set dummy cc
; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_CC+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$CC"; then
3124 ac_cv_prog_CC
="$CC" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3135 ac_prog_rejected
=yes
3139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test $ac_prog_rejected = yes; then
3146 # We found a bogon in the path, so make sure we never use it.
3147 set dummy
$ac_cv_prog_CC
3149 if test $# != 0; then
3150 # We chose a different compiler from the bogus one.
3151 # However, it has the same basename, so the bogon will be chosen
3152 # first if we set CC to just the basename; use the full file name.
3154 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3160 if test -n "$CC"; then
3161 echo "$as_me:$LINENO: result: $CC" >&5
3162 echo "${ECHO_T}$CC" >&6
3164 echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6
3169 if test -z "$CC"; then
3170 if test -n "$ac_tool_prefix"; then
3173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3175 echo "$as_me:$LINENO: checking for $ac_word" >&5
3176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3177 if test "${ac_cv_prog_CC+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 if test -n "$CC"; then
3181 ac_cv_prog_CC
="$CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 if test -n "$CC"; then
3201 echo "$as_me:$LINENO: result: $CC" >&5
3202 echo "${ECHO_T}$CC" >&6
3204 echo "$as_me:$LINENO: result: no" >&5
3205 echo "${ECHO_T}no" >&6
3208 test -n "$CC" && break
3211 if test -z "$CC"; then
3215 # Extract the first word of "$ac_prog", so it can be a program name with args.
3216 set dummy
$ac_prog; ac_word
=$2
3217 echo "$as_me:$LINENO: checking for $ac_word" >&5
3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir
=.
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC
="$ac_prog"
3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3242 if test -n "$ac_ct_CC"; then
3243 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3244 echo "${ECHO_T}$ac_ct_CC" >&6
3246 echo "$as_me:$LINENO: result: no" >&5
3247 echo "${ECHO_T}no" >&6
3250 test -n "$ac_ct_CC" && break
3259 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3260 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3262 See \`config.log' for more details." >&5
3263 echo "$as_me: error: no acceptable C compiler found in \$PATH
3264 See \`config.log' for more details." >&2;}
3265 { (exit 1); exit 1; }; }; }
3267 # Provide some information about the compiler.
3268 echo "$as_me:$LINENO:" \
3269 "checking for C compiler version" >&5
3270 ac_compiler
=`set X $ac_compile; echo $2`
3271 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3272 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }
3276 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3277 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }
3281 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3282 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3302 ac_clean_files_save
=$ac_clean_files
3303 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3304 # Try to create an executable without -o first, disregard a.out.
3305 # It will help us diagnose broken compilers, and finding out an intuition
3307 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3308 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3309 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3310 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3311 (eval $ac_link_default) 2>&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; then
3315 # Find the output, starting from the most likely. This scheme is
3316 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3319 # Be careful to initialize this variable, since it used to be cached.
3320 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3322 # b.out is created by i960 compilers.
3323 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3325 test -f "$ac_file" ||
continue
3327 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3330 # This is the source file.
3333 # We found the default executable, but exeext='' is most
3337 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338 # FIXME: I believe we export ac_cv_exeext for Libtool,
3339 # but it would be cool to find out if it's true. Does anybody
3340 # maintain Libtool? --akim.
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.
$ac_ext >&5
3351 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3352 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3354 See \`config.log' for more details." >&5
3355 echo "$as_me: error: C compiler cannot create executables
3356 See \`config.log' for more details." >&2;}
3357 { (exit 77); exit 77; }; }; }
3360 ac_exeext
=$ac_cv_exeext
3361 echo "$as_me:$LINENO: result: $ac_file" >&5
3362 echo "${ECHO_T}$ac_file" >&6
3364 # Check the compiler produces executables we can run. If not, either
3365 # the compiler is broken, or we cross compile.
3366 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3369 # If not cross compiling, check that we can run a simple program.
3370 if test "$cross_compiling" != yes; then
3371 if { ac_try
='./$ac_file'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3379 if test "$cross_compiling" = maybe
; then
3382 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3383 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3385 If you meant to cross compile, use \`--host'.
3386 See \`config.log' for more details." >&5
3387 echo "$as_me: error: cannot run C compiled programs.
3388 If you meant to cross compile, use \`--host'.
3389 See \`config.log' for more details." >&2;}
3390 { (exit 1); exit 1; }; }; }
3394 echo "$as_me:$LINENO: result: yes" >&5
3395 echo "${ECHO_T}yes" >&6
3397 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3398 ac_clean_files
=$ac_clean_files_save
3399 # Check the compiler produces executables we can run. If not, either
3400 # the compiler is broken, or we cross compile.
3401 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3402 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3403 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3404 echo "${ECHO_T}$cross_compiling" >&6
3406 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3407 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3409 (eval $ac_link) 2>&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; then
3413 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3414 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3415 # work properly (i.e., refer to `conftest.exe'), while it won't with
3417 for ac_file
in conftest.exe conftest conftest.
*; do
3418 test -f "$ac_file" ||
continue
3420 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3421 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3428 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3429 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details." >&5
3432 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3433 See \`config.log' for more details." >&2;}
3434 { (exit 1); exit 1; }; }; }
3437 rm -f conftest
$ac_cv_exeext
3438 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3439 echo "${ECHO_T}$ac_cv_exeext" >&6
3441 rm -f conftest.
$ac_ext
3442 EXEEXT
=$ac_cv_exeext
3444 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3445 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3446 if test "${ac_cv_objext+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3464 rm -f conftest.o conftest.obj
3465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3466 (eval $ac_compile) 2>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; then
3470 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3472 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3473 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.
$ac_ext >&5
3481 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3482 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3484 See \`config.log' for more details." >&5
3485 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3486 See \`config.log' for more details." >&2;}
3487 { (exit 1); exit 1; }; }; }
3490 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3492 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3493 echo "${ECHO_T}$ac_cv_objext" >&6
3494 OBJEXT
=$ac_cv_objext
3496 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3497 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3498 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3519 rm -f conftest.
$ac_objext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3521 (eval $ac_compile) 2>conftest.er1
3523 grep -v '^ *+' conftest.er1
>conftest.err
3525 cat conftest.err
>&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try
='test -z "$ac_c_werror_flag"
3529 || test ! -s conftest.err'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; } &&
3535 { ac_try
='test -s conftest.$ac_objext'
3536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); }; }; then
3543 echo "$as_me: failed program was:" >&5
3544 sed 's/^/| /' conftest.
$ac_ext >&5
3548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3549 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3552 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3553 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3554 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3555 ac_test_CFLAGS
=${CFLAGS+set}
3556 ac_save_CFLAGS
=$CFLAGS
3558 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3559 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3560 if test "${ac_cv_prog_cc_g+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 cat >conftest.
$ac_ext <<_ACEOF
3566 cat confdefs.h
>>conftest.
$ac_ext
3567 cat >>conftest.
$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3578 rm -f conftest.
$ac_objext
3579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3580 (eval $ac_compile) 2>conftest.er1
3582 grep -v '^ *+' conftest.er1
>conftest.err
3584 cat conftest.err
>&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } &&
3587 { ac_try
='test -z "$ac_c_werror_flag"
3588 || test ! -s conftest.err'
3589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }; } &&
3594 { ac_try
='test -s conftest.$ac_objext'
3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; }; then
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.
$ac_ext >&5
3607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3609 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3610 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS
=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3620 if test "$GCC" = yes; then
3626 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3627 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3628 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 ac_cv_prog_cc_stdc
=no
3633 cat >conftest.
$ac_ext <<_ACEOF
3636 cat confdefs.h
>>conftest.
$ac_ext
3637 cat >>conftest.
$ac_ext <<_ACEOF
3638 /* end confdefs.h. */
3641 #include <sys/types.h>
3642 #include <sys/stat.h>
3643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3644 struct buf { int x; };
3645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3646 static char *e (p, i)
3652 static char *f (char * (*g) (char **, int), char **p, ...)
3657 s = g (p, va_arg (v,int));
3662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3663 function prototypes and stuff, but not '\xHH' hex character constants.
3664 These don't provoke an error unfortunately, instead are silently treated
3665 as 'x'. The following induces an error, until -std1 is added to get
3666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3667 array size at least. It's necessary to write '\x00'==0 to get something
3668 that's true only with -std1. */
3669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3671 int test (int i, double x);
3672 struct s1 {int (*f) (int a);};
3673 struct s2 {int (*f) (double a);};
3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3685 # Don't try gcc -ansi; that turns off useful extensions and
3686 # breaks some systems' header files.
3687 # AIX -qlanglvl=ansi
3688 # Ultrix and OSF/1 -std1
3689 # HP-UX 10.20 and later -Ae
3690 # HP-UX older versions -Aa -D_HPUX_SOURCE
3691 # SVR4 -Xc -D__EXTENSIONS__
3692 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3694 CC
="$ac_save_CC $ac_arg"
3695 rm -f conftest.
$ac_objext
3696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3697 (eval $ac_compile) 2>conftest.er1
3699 grep -v '^ *+' conftest.er1
>conftest.err
3701 cat conftest.err
>&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } &&
3704 { ac_try
='test -z "$ac_c_werror_flag"
3705 || test ! -s conftest.err'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; } &&
3711 { ac_try
='test -s conftest.$ac_objext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 ac_cv_prog_cc_stdc
=$ac_arg
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.
$ac_ext >&5
3724 rm -f conftest.err conftest.
$ac_objext
3726 rm -f conftest.
$ac_ext conftest.
$ac_objext
3731 case "x$ac_cv_prog_cc_stdc" in
3733 echo "$as_me:$LINENO: result: none needed" >&5
3734 echo "${ECHO_T}none needed" >&6 ;;
3736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3737 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3738 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3741 # Some people use a C++ compiler to compile C. Since we use `exit',
3742 # in C++ we need to declare it. In case someone uses the same compiler
3743 # for both compiling C and C++ we need to have the C++ compiler decide
3744 # the declaration of exit, since it's the most demanding environment.
3745 cat >conftest.
$ac_ext <<_ACEOF
3750 rm -f conftest.
$ac_objext
3751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3752 (eval $ac_compile) 2>conftest.er1
3754 grep -v '^ *+' conftest.er1
>conftest.err
3756 cat conftest.err
>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } &&
3759 { ac_try
='test -z "$ac_c_werror_flag"
3760 || test ! -s conftest.err'
3761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }; } &&
3766 { ac_try
='test -s conftest.$ac_objext'
3767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); }; }; then
3772 for ac_declaration
in \
3774 'extern "C" void std::exit (int) throw (); using std::exit;' \
3775 'extern "C" void std::exit (int); using std::exit;' \
3776 'extern "C" void exit (int) throw ();' \
3777 'extern "C" void exit (int);' \
3780 cat >conftest.
$ac_ext <<_ACEOF
3783 cat confdefs.h
>>conftest.
$ac_ext
3784 cat >>conftest.
$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3796 rm -f conftest.
$ac_objext
3797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3798 (eval $ac_compile) 2>conftest.er1
3800 grep -v '^ *+' conftest.er1
>conftest.err
3802 cat conftest.err
>&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } &&
3805 { ac_try
='test -z "$ac_c_werror_flag"
3806 || test ! -s conftest.err'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; } &&
3812 { ac_try
='test -s conftest.$ac_objext'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; }; then
3820 echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.
$ac_ext >&5
3825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3841 rm -f conftest.
$ac_objext
3842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3843 (eval $ac_compile) 2>conftest.er1
3845 grep -v '^ *+' conftest.er1
>conftest.err
3847 cat conftest.err
>&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } &&
3850 { ac_try
='test -z "$ac_c_werror_flag"
3851 || test ! -s conftest.err'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; } &&
3857 { ac_try
='test -s conftest.$ac_objext'
3858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); }; }; then
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.
$ac_ext >&5
3869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 if test -n "$ac_declaration"; then
3873 echo '#ifdef __cplusplus' >>confdefs.h
3874 echo $ac_declaration >>confdefs.h
3875 echo '#endif' >>confdefs.h
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.
$ac_ext >&5
3883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3885 ac_cpp
='$CPP $CPPFLAGS'
3886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3891 ac_cpp
='$CXXCPP $CPPFLAGS'
3892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3895 if test -n "$ac_tool_prefix"; then
3896 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3899 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3900 echo "$as_me:$LINENO: checking for $ac_word" >&5
3901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3902 if test "${ac_cv_prog_CXX+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if test -n "$CXX"; then
3906 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 if test -n "$CXX"; then
3926 echo "$as_me:$LINENO: result: $CXX" >&5
3927 echo "${ECHO_T}$CXX" >&6
3929 echo "$as_me:$LINENO: result: no" >&5
3930 echo "${ECHO_T}no" >&6
3933 test -n "$CXX" && break
3936 if test -z "$CXX"; then
3938 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3940 # Extract the first word of "$ac_prog", so it can be a program name with args.
3941 set dummy
$ac_prog; ac_word
=$2
3942 echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if test -n "$ac_ct_CXX"; then
3948 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3967 if test -n "$ac_ct_CXX"; then
3968 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3969 echo "${ECHO_T}$ac_ct_CXX" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3975 test -n "$ac_ct_CXX" && break
3977 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3983 # Provide some information about the compiler.
3984 echo "$as_me:$LINENO:" \
3985 "checking for C++ compiler version" >&5
3986 ac_compiler
=`set X $ac_compile; echo $2`
3987 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3988 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }
3992 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3993 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }
3997 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3998 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }
4003 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4004 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4026 rm -f conftest.
$ac_objext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4028 (eval $ac_compile) 2>conftest.er1
4030 grep -v '^ *+' conftest.er1
>conftest.err
4032 cat conftest.err
>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } &&
4035 { ac_try
='test -z "$ac_cxx_werror_flag"
4036 || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try
='test -s conftest.$ac_objext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.
$ac_ext >&5
4055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4056 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4059 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4060 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4061 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4062 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4063 ac_save_CXXFLAGS
=$CXXFLAGS
4065 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4066 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4067 if test "${ac_cv_prog_cxx_g+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 cat >conftest.
$ac_ext <<_ACEOF
4073 cat confdefs.h
>>conftest.
$ac_ext
4074 cat >>conftest.
$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4085 rm -f conftest.
$ac_objext
4086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4087 (eval $ac_compile) 2>conftest.er1
4089 grep -v '^ *+' conftest.er1
>conftest.err
4091 cat conftest.err
>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } &&
4094 { ac_try
='test -z "$ac_cxx_werror_flag"
4095 || test ! -s conftest.err'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; } &&
4101 { ac_try
='test -s conftest.$ac_objext'
4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4107 ac_cv_prog_cxx_g
=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4116 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4117 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4118 if test "$ac_test_CXXFLAGS" = set; then
4119 CXXFLAGS
=$ac_save_CXXFLAGS
4120 elif test $ac_cv_prog_cxx_g = yes; then
4121 if test "$GXX" = yes; then
4127 if test "$GXX" = yes; then
4133 for ac_declaration
in \
4135 'extern "C" void std::exit (int) throw (); using std::exit;' \
4136 'extern "C" void std::exit (int); using std::exit;' \
4137 'extern "C" void exit (int) throw ();' \
4138 'extern "C" void exit (int);' \
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4157 rm -f conftest.
$ac_objext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4159 (eval $ac_compile) 2>conftest.er1
4161 grep -v '^ *+' conftest.er1
>conftest.err
4163 cat conftest.err
>&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try
='test -z "$ac_cxx_werror_flag"
4167 || test ! -s conftest.err'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; } &&
4173 { ac_try
='test -s conftest.$ac_objext'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.
$ac_ext >&5
4186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.
$ac_objext
4203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4204 (eval $ac_compile) 2>conftest.er1
4206 grep -v '^ *+' conftest.er1
>conftest.err
4208 cat conftest.err
>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try
='test -z "$ac_cxx_werror_flag"
4212 || test ! -s conftest.err'
4213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }; } &&
4218 { ac_try
='test -s conftest.$ac_objext'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; }; then
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4233 if test -n "$ac_declaration"; then
4234 echo '#ifdef __cplusplus' >>confdefs.h
4235 echo $ac_declaration >>confdefs.h
4236 echo '#endif' >>confdefs.h
4240 ac_cpp
='$CPP $CPPFLAGS'
4241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4246 # We must set the default linker to the linker used by gcc for the correct
4247 # operation of libtool. If LD is not defined and we are using gcc, try to
4248 # set the LD default to the ld used by gcc.
4249 if test -z "$LD"; then
4250 if test "$GCC" = yes; then
4253 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4255 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4257 case $gcc_prog_ld in
4258 # Accept absolute paths.
4259 [\\/]* |
[A-Za-z
]:[\\/]*)
4260 LD
="$gcc_prog_ld" ;;
4268 if test -n "$ac_tool_prefix"; then
4269 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4270 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4271 echo "$as_me:$LINENO: checking for $ac_word" >&5
4272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4273 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 if test -n "$GNATBIND"; then
4277 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 GNATBIND
=$ac_cv_prog_GNATBIND
4296 if test -n "$GNATBIND"; then
4297 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4298 echo "${ECHO_T}$GNATBIND" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4305 if test -z "$ac_cv_prog_GNATBIND"; then
4306 ac_ct_GNATBIND
=$GNATBIND
4307 # Extract the first word of "gnatbind", so it can be a program name with args.
4308 set dummy gnatbind
; ac_word
=$2
4309 echo "$as_me:$LINENO: checking for $ac_word" >&5
4310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4311 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 if test -n "$ac_ct_GNATBIND"; then
4315 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4334 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4335 if test -n "$ac_ct_GNATBIND"; then
4336 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4337 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4339 echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6
4343 GNATBIND
=$ac_ct_GNATBIND
4345 GNATBIND
="$ac_cv_prog_GNATBIND"
4348 if test -n "$ac_tool_prefix"; then
4349 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4350 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4351 echo "$as_me:$LINENO: checking for $ac_word" >&5
4352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4353 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 if test -n "$GNATMAKE"; then
4357 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 GNATMAKE
=$ac_cv_prog_GNATMAKE
4376 if test -n "$GNATMAKE"; then
4377 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4378 echo "${ECHO_T}$GNATMAKE" >&6
4380 echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6
4385 if test -z "$ac_cv_prog_GNATMAKE"; then
4386 ac_ct_GNATMAKE
=$GNATMAKE
4387 # Extract the first word of "gnatmake", so it can be a program name with args.
4388 set dummy gnatmake
; ac_word
=$2
4389 echo "$as_me:$LINENO: checking for $ac_word" >&5
4390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4391 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test -n "$ac_ct_GNATMAKE"; then
4395 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4414 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4415 if test -n "$ac_ct_GNATMAKE"; then
4416 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4417 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4423 GNATMAKE
=$ac_ct_GNATMAKE
4425 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4428 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4429 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4430 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 cat >conftest.adb
<<EOF
4434 procedure conftest is begin null; end conftest;
4436 acx_cv_cc_gcc_supports_ada
=no
4437 # There is a bug in old released versions of GCC which causes the
4438 # driver to exit successfully when the appropriate language module
4439 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4440 # Therefore we must check for the error message as well as an
4441 # unsuccessful exit.
4442 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4443 # given a .adb file, but produce no object file. So we must check
4444 # if an object file was really produced to guard against this.
4445 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4446 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4447 acx_cv_cc_gcc_supports_ada
=yes
4451 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4452 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4454 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4460 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4461 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4462 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4468 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4469 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4472 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4475 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4476 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4479 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4485 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4486 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4487 do_compare
="$gcc_cv_prog_cmp_skip"
4491 # Check for GMP and MPFR
4492 gmplibs
="-lmpfr -lgmp"
4496 # Specify a location for mpfr
4497 # check for this first so it ends up on the link line before gmp.
4499 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4500 if test "${with_mpfr_dir+set}" = set; then
4501 withval
="$with_mpfr_dir"
4502 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4503 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4504 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4505 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4506 { (exit 1); exit 1; }; }
4510 # Check whether --with-mpfr or --without-mpfr was given.
4511 if test "${with_mpfr+set}" = set; then
4512 withval
="$with_mpfr"
4516 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4517 if test "${with_mpfr_include+set}" = set; then
4518 withval
="$with_mpfr_include"
4522 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4523 if test "${with_mpfr_lib+set}" = set; then
4524 withval
="$with_mpfr_lib"
4528 if test "x$with_mpfr" != x
; then
4529 gmplibs
="-L$with_mpfr/lib $gmplibs"
4530 gmpinc
="-I$with_mpfr/include"
4532 if test "x$with_mpfr_include" != x
; then
4533 gmpinc
="-I$with_mpfr_include"
4535 if test "x$with_mpfr_lib" != x
; then
4536 gmplibs
="-L$with_mpfr_lib $gmplibs"
4538 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4539 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4540 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4541 # Do not test the mpfr version. Assume that it is sufficient, since
4542 # it is in the source tree, and the library has not been built yet
4543 # but it would be included on the link line in the version check below
4544 # hence making the test fail.
4548 # Specify a location for gmp
4550 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4551 if test "${with_gmp_dir+set}" = set; then
4552 withval
="$with_gmp_dir"
4553 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4554 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4555 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4556 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4557 { (exit 1); exit 1; }; }
4561 # Check whether --with-gmp or --without-gmp was given.
4562 if test "${with_gmp+set}" = set; then
4567 # Check whether --with-gmp_include or --without-gmp_include was given.
4568 if test "${with_gmp_include+set}" = set; then
4569 withval
="$with_gmp_include"
4573 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4574 if test "${with_gmp_lib+set}" = set; then
4575 withval
="$with_gmp_lib"
4580 if test "x$with_gmp" != x
; then
4581 gmplibs
="-L$with_gmp/lib $gmplibs"
4582 gmpinc
="-I$with_gmp/include $gmpinc"
4584 if test "x$with_gmp_include" != x
; then
4585 gmpinc
="-I$with_gmp_include $gmpinc"
4587 if test "x$with_gmp_lib" != x
; then
4588 gmplibs
="-L$with_gmp_lib $gmplibs"
4590 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4591 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4592 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4593 # Do not test the gmp version. Assume that it is sufficient, since
4594 # it is in the source tree, and the library has not been built yet
4595 # but it would be included on the link line in the version check below
4596 # hence making the test fail.
4600 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4602 saved_CFLAGS
="$CFLAGS"
4603 CFLAGS
="$CFLAGS $gmpinc"
4604 # Check GMP actually works
4605 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4606 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4608 cat >conftest.
$ac_ext <<_ACEOF
4611 cat confdefs.h
>>conftest.
$ac_ext
4612 cat >>conftest.
$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4619 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4627 rm -f conftest.
$ac_objext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4629 (eval $ac_compile) 2>conftest.er1
4631 grep -v '^ *+' conftest.er1
>conftest.err
4633 cat conftest.err
>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -z "$ac_c_werror_flag"
4637 || test ! -s conftest.err'
4638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }; } &&
4643 { ac_try
='test -s conftest.$ac_objext'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; }; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6; have_gmp
=no
4658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4660 if test x
"$have_gmp" = xyes
; then
4662 LIBS
="$LIBS $gmplibs"
4663 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4664 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4665 cat >conftest.
$ac_ext <<_ACEOF
4668 cat confdefs.h
>>conftest.
$ac_ext
4669 cat >>conftest.
$ac_ext <<_ACEOF
4670 /* end confdefs.h. */
4677 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4685 mpfr_atan2 (n, n, x, GMP_RNDN);
4686 mpfr_erfc (n, x, GMP_RNDN);
4687 mpfr_subnormalize (x, t, GMP_RNDN);
4693 rm -f conftest.
$ac_objext conftest
$ac_exeext
4694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4695 (eval $ac_link) 2>conftest.er1
4697 grep -v '^ *+' conftest.er1
>conftest.err
4699 cat conftest.err
>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } &&
4702 { ac_try
='test -z "$ac_c_werror_flag"
4703 || test ! -s conftest.err'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; } &&
4709 { ac_try
='test -s conftest$ac_exeext'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; }; then
4715 cat >conftest.
$ac_ext <<_ACEOF
4718 cat confdefs.h
>>conftest.
$ac_ext
4719 cat >>conftest.
$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4727 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4730 mpfr_t n; mpfr_init(n);
4736 rm -f conftest.
$ac_objext conftest
$ac_exeext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4738 (eval $ac_link) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest$ac_exeext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4764 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4765 echo "${ECHO_T}buggy but acceptable" >&6
4767 rm -f conftest.err conftest.
$ac_objext \
4768 conftest
$ac_exeext conftest.
$ac_ext
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.
$ac_ext >&5
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6; have_gmp
=no
4776 rm -f conftest.err conftest.
$ac_objext \
4777 conftest
$ac_exeext conftest.
$ac_ext
4780 CFLAGS
="$saved_CFLAGS"
4782 if test x
$have_gmp != xyes
; then
4783 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4784 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4785 Copies of these libraries' source code can be found at their respective
4786 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4787 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4788 If you obtained GMP and/or MPFR from a vendor distribution package, make
4789 sure that you have installed both the libraries and the header files.
4790 They may be located in separate packages." >&5
4791 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4792 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4793 Copies of these libraries' source code can be found at their respective
4794 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4795 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4796 If you obtained GMP and/or MPFR from a vendor distribution package, make
4797 sure that you have installed both the libraries and the header files.
4798 They may be located in separate packages." >&2;}
4799 { (exit 1); exit 1; }; }
4803 # Flags needed for both GMP and/or MPFR
4810 ppl_minor_version
=10
4815 # Check whether --with-ppl or --without-ppl was given.
4816 if test "${with_ppl+set}" = set; then
4821 # Check whether --with-ppl_include or --without-ppl_include was given.
4822 if test "${with_ppl_include+set}" = set; then
4823 withval
="$with_ppl_include"
4827 # Check whether --with-ppl_lib or --without-ppl_lib was given.
4828 if test "${with_ppl_lib+set}" = set; then
4829 withval
="$with_ppl_lib"
4833 if test "x$with_ppl" != x
; then
4834 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
4835 pplinc
="-I$with_ppl/include $pplinc"
4836 LIBS
="$ppllibs $LIBS"
4838 if test "x$with_ppl_include" != x
; then
4839 pplinc
="-I$with_ppl_include $pplinc"
4841 if test "x$with_ppl_lib" != x
; then
4842 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
4843 LIBS
="$ppllibs $LIBS"
4845 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
4846 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
4847 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4848 LIBS
="$ppllibs $LIBS"
4851 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4852 if test "${enable_ppl_version_check+set}" = set; then
4853 enableval
="$enable_ppl_version_check"
4854 ENABLE_PPL_CHECK
=$enableval
4856 ENABLE_PPL_CHECK
=yes
4859 if test "${ENABLE_PPL_CHECK}" = "yes"; then
4860 saved_CFLAGS
="$CFLAGS"
4861 CFLAGS
="$CFLAGS $pplinc $gmpinc"
4862 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4863 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4875 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
4883 rm -f conftest.
$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>conftest.er1
4887 grep -v '^ *+' conftest.er1
>conftest.err
4889 cat conftest.err
>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try
='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try
='test -s conftest.$ac_objext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
4914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 CFLAGS
="$saved_CFLAGS"
4918 # Flags needed for PPL
4924 clooglibs
=" -lcloog "
4925 clooginc
=" -DCLOOG_PPL_BACKEND "
4928 # Check whether --with-cloog or --without-cloog was given.
4929 if test "${with_cloog+set}" = set; then
4930 withval
="$with_cloog"
4934 # Check whether --with-cloog_include or --without-cloog_include was given.
4935 if test "${with_cloog_include+set}" = set; then
4936 withval
="$with_cloog_include"
4940 # Check whether --with-cloog_lib or --without-cloog_lib was given.
4941 if test "${with_cloog_lib+set}" = set; then
4942 withval
="$with_cloog_lib"
4946 # Check whether --with-cloog-polylib or --without-cloog-polylib was given.
4947 if test "${with_cloog_polylib+set}" = set; then
4948 withval
="$with_cloog_polylib"
4952 if test "x$with_cloog" != x
; then
4953 clooglibs
="-L$with_cloog/lib -lcloog"
4954 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
4955 LIBS
="$clooglibs $LIBS"
4957 if test "x$with_cloog_polylib" != x
; then
4958 clooglibs
="-L$with_cloog/lib -lcloog"
4959 clooginc
="-I$with_cloog/include "
4960 LIBS
="$clooglibs $LIBS"
4962 if test "x$with_cloog_include" != x
; then
4963 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
4965 if test "x$with_cloog_lib" != x
; then
4966 clooglibs
="-L$with_cloog_lib -lcloog"
4967 LIBS
="$clooglibs $LIBS"
4969 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
4970 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
4971 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
4972 LIBS
="$clooglibs $LIBS"
4975 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
4976 if test "${enable_cloog_version_check+set}" = set; then
4977 enableval
="$enable_cloog_version_check"
4978 ENABLE_CLOOG_CHECK
=$enableval
4980 ENABLE_CLOOG_CHECK
=yes
4983 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
4984 saved_CFLAGS
="$CFLAGS"
4985 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
4986 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
4987 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
4988 cat >conftest.
$ac_ext <<_ACEOF
4991 cat confdefs.h
>>conftest.
$ac_ext
4992 cat >>conftest.
$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4994 #include "cloog/cloog.h"
4999 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5007 rm -f conftest.
$ac_objext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>conftest.er1
5011 grep -v '^ *+' conftest.er1
>conftest.err
5013 cat conftest.err
>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } &&
5016 { ac_try
='test -z "$ac_c_werror_flag"
5017 || test ! -s conftest.err'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; } &&
5023 { ac_try
='test -s conftest.$ac_objext'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; }; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 CFLAGS
="$saved_CFLAGS"
5042 # Flags needed for CLOOG
5047 # By default, C is the only stage 1 language.
5048 stage1_languages
=,c
,
5050 # Figure out what language subdirectories are present.
5051 # Look if the user specified --enable-languages="..."; if not, use
5052 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5054 # NB: embedded tabs in this IF block -- do not untabify
5055 if test -d ${srcdir}/gcc
; then
5056 if test x
"${enable_languages+set}" != xset
; then
5057 if test x
"${LANGUAGES+set}" = xset
; then
5058 enable_languages
="${LANGUAGES}"
5059 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5061 enable_languages
=all
5064 if test x
"${enable_languages}" = x ||
5065 test x
"${enable_languages}" = xyes
;
5067 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5071 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5073 # 'f95' is the old name for the 'fortran' language. We issue a warning
5074 # and make the substitution.
5075 case ,${enable_languages}, in
5077 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5078 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5082 # First scan to see if an enabled language requires some other language.
5083 # We assume that a given config-lang.in will list all the language
5084 # front ends it requires, even if some are required indirectly.
5085 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5086 case ${lang_frag} in
5088 # The odd quoting in the next line works around
5089 # an apparent bug in bash 1.12 on linux.
5090 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5092 # From the config-lang.in, get $language, $lang_requires
5096 for other
in ${lang_requires} ; do
5097 case ,${enable_languages}, in
5101 echo " \`$other' language required by \`$language'; enabling" 1>&2
5102 enable_languages
="${enable_languages},${other}"
5110 new_enable_languages
=,c
,
5111 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5112 potential_languages
=,c
,
5114 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5115 case ${lang_frag} in
5117 # The odd quoting in the next line works around
5118 # an apparent bug in bash 1.12 on linux.
5119 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5121 # From the config-lang.in, get $language, $target_libs,
5122 # $lang_dirs, $boot_language, and $build_by_default
5128 build_by_default
=yes
5130 if test x
${language} = x
; then
5131 echo "${lang_frag} doesn't set \$language." 1>&2
5135 case ,${enable_languages}, in
5137 # Language was explicitly selected; include it.
5141 # 'all' was selected, select it if it is a default language
5142 add_this_lang
=${build_by_default}
5149 # Disable languages that need other directories if these aren't available.
5150 for i
in $subdir_requires; do
5151 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5152 case ,${enable_languages}, in
5154 # Specifically requested language; tell them.
5155 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5156 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5157 { (exit 1); exit 1; }; }
5161 add_this_lang
=unsupported
5166 # Disable Ada if no preexisting GNAT is available.
5167 case ,${enable_languages},:${language}:${have_gnat} in
5168 *,${language},*:ada
:no
)
5169 # Specifically requested language; tell them.
5170 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5171 echo "$as_me: error: GNAT is required to build $language" >&2;}
5172 { (exit 1); exit 1; }; }
5176 add_this_lang
=unsupported
5180 # Disable a language that is unsupported by the target.
5181 case " $unsupported_languages " in
5183 add_this_lang
=unsupported
5187 case $add_this_lang in
5189 # Remove language-dependent dirs.
5190 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5193 # Remove language-dependent dirs; still show language as supported.
5194 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5195 potential_languages
="${potential_languages}${language},"
5198 new_enable_languages
="${new_enable_languages}${language},"
5199 potential_languages
="${potential_languages}${language},"
5200 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5201 case ${boot_language} in
5203 # Add to (comma-separated) list of stage 1 languages.
5204 stage1_languages
="${stage1_languages}${language},"
5213 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5214 if test "${enable_stage1_languages+set}" = set; then
5215 enableval
="$enable_stage1_languages"
5216 case ,${enable_stage1_languages}, in
5218 # Set it to something that will have no effect in the loop below
5219 enable_stage1_languages
=c
;;
5221 enable_stage1_languages
=`echo $new_enable_languages | \
5222 sed -e "s/^,//" -e "s/,$//" ` ;;
5224 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5225 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5228 # Add "good" languages from enable_stage1_languages to stage1_languages,
5229 # while "bad" languages go in missing_languages. Leave no duplicates.
5230 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5231 case $potential_languages in
5233 case $stage1_languages in
5235 *) stage1_languages
="$stage1_languages$i," ;;
5238 case $missing_languages in
5240 *) missing_languages
="$missing_languages$i," ;;
5246 # Remove leading/trailing commas that were added for simplicity
5247 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5248 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5249 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5250 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5252 if test "x$missing_languages" != x
; then
5253 { { echo "$as_me:$LINENO: error:
5254 The following requested languages could not be built: ${missing_languages}
5255 Supported languages are: ${potential_languages}" >&5
5256 echo "$as_me: error:
5257 The following requested languages could not be built: ${missing_languages}
5258 Supported languages are: ${potential_languages}" >&2;}
5259 { (exit 1); exit 1; }; }
5261 if test "x$new_enable_languages" != "x$enable_languages"; then
5262 echo The following languages will be built
: ${new_enable_languages}
5263 enable_languages
="$new_enable_languages"
5267 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5270 # Handle --disable-<component> generically.
5271 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5272 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5273 varname
=`echo $dirname | sed -e s/+/_/g`
5274 if eval test x\
${enable_${varname}} "=" xno
; then
5275 noconfigdirs
="$noconfigdirs $dir"
5279 # Check for Boehm's garbage collector
5280 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5281 if test "${enable_objc_gc+set}" = set; then
5282 enableval
="$enable_objc_gc"
5283 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5284 *,objc
,*:*:yes:*target-boehm-gc
*)
5285 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5286 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5287 { (exit 1); exit 1; }; }
5292 # Make sure we only build Boehm's garbage collector if required.
5293 case ,${enable_languages},:${enable_objc_gc} in
5295 # Keep target-boehm-gc if requested for Objective-C.
5298 # Otherwise remove target-boehm-gc depending on target-libjava.
5299 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5300 noconfigdirs
="$noconfigdirs target-boehm-gc"
5305 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5306 # $build_configdirs and $target_configdirs.
5307 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5310 for dir
in .
$skipdirs $noconfigdirs ; do
5311 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5312 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5313 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5314 if test -r $srcdir/$dirname/configure
; then
5315 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5318 notsupp
="$notsupp $dir"
5322 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5323 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5324 if test -r $srcdir/$dirname/configure
; then
5325 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5328 notsupp
="$notsupp $dir"
5332 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5333 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5334 if test -r $srcdir/$dirname/configure
; then
5335 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5338 notsupp
="$notsupp $dir"
5344 # Sometimes the tools are distributed with libiberty but with no other
5345 # libraries. In that case, we don't want to build target-libiberty.
5346 # Don't let libgcc imply libiberty either.
5347 if test -n "${target_configdirs}" ; then
5350 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5351 if test "$i" = "libgcc"; then
5352 libgcc
=target-libgcc
5353 elif test "$i" != "libiberty" ; then
5354 if test -r $srcdir/$i/configure
; then
5360 if test -z "${others}" ; then
5361 target_configdirs
=$libgcc
5365 # Quietly strip out all directories which aren't configurable in this tree.
5366 # This relies on all configurable subdirectories being autoconfiscated, which
5368 build_configdirs_all
="$build_configdirs"
5370 for i
in ${build_configdirs_all} ; do
5371 j
=`echo $i | sed -e s/build-//g`
5372 if test -f ${srcdir}/$j/configure
; then
5373 build_configdirs
="${build_configdirs} $i"
5377 configdirs_all
="$configdirs"
5379 for i
in ${configdirs_all} ; do
5380 if test -f ${srcdir}/$i/configure
; then
5381 configdirs
="${configdirs} $i"
5385 target_configdirs_all
="$target_configdirs"
5387 for i
in ${target_configdirs_all} ; do
5388 j
=`echo $i | sed -e s/target-//g`
5389 if test -f ${srcdir}/$j/configure
; then
5390 target_configdirs
="${target_configdirs} $i"
5394 # Produce a warning message for the subdirs we can't configure.
5395 # This isn't especially interesting in the Cygnus tree, but in the individual
5396 # FSF releases, it's important to let people know when their machine isn't
5397 # supported by the one or two programs in a package.
5399 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5400 # If $appdirs is non-empty, at least one of those directories must still
5401 # be configured, or we error out. (E.g., if the gas release supports a
5402 # specified target in some subdirs but not the gas subdir, we shouldn't
5403 # pretend that all is well.)
5404 if test -n "$appdirs" ; then
5405 for dir
in $appdirs ; do
5406 if test -r $dir/Makefile.
in ; then
5407 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5411 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5417 if test -n "$appdirs" ; then
5418 echo "*** This configuration is not supported by this package." 1>&2
5422 # Okay, some application will build, or we don't care to check. Still
5423 # notify of subdirs not getting built.
5424 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5425 echo " ${notsupp}" 1>&2
5426 echo " (Any other directories should still work fine.)" 1>&2
5434 # To find our prefix, in gcc_cv_tool_prefix.
5436 # The user is always right.
5437 if test "${PATH_SEPARATOR+set}" != set; then
5438 echo "#! /bin/sh" >conf$$.sh
5439 echo "exit 0" >>conf$$.sh
5441 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5451 if test "x$exec_prefix" = xNONE
; then
5452 if test "x$prefix" = xNONE
; then
5453 gcc_cv_tool_prefix
=$ac_default_prefix
5455 gcc_cv_tool_prefix
=$prefix
5458 gcc_cv_tool_prefix
=$exec_prefix
5461 # If there is no compiler in the tree, use the PATH only. In any
5462 # case, if there is no compiler in the tree nobody should use
5463 # AS_FOR_TARGET and LD_FOR_TARGET.
5464 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5465 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5466 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5467 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5468 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5469 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5470 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5471 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5476 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5477 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5485 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5486 if test "${with_build_sysroot+set}" = set; then
5487 withval
="$with_build_sysroot"
5488 if test x
"$withval" != x
; then
5489 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5492 SYSROOT_CFLAGS_FOR_TARGET
=
5497 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5498 if test "${with_debug_prefix_map+set}" = set; then
5499 withval
="$with_debug_prefix_map"
5500 if test x
"$withval" != x
; then
5501 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5502 for debug_map
in $withval; do
5503 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5507 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5511 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5512 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5513 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5514 # We want to ensure that TARGET libraries (which we know are built with
5515 # gcc) are built with "-O2 -g", so include those options when setting
5516 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5517 if test "x$CFLAGS_FOR_TARGET" = x
; then
5518 CFLAGS_FOR_TARGET
=$CFLAGS
5521 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5524 *" -g "* |
*" -g3 "*) ;;
5525 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5530 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5531 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5532 case " $CXXFLAGS " in
5534 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5536 case " $CXXFLAGS " in
5537 *" -g "* |
*" -g3 "*) ;;
5538 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5543 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5544 # the named directory are copied to $(tooldir)/sys-include.
5545 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5546 if test x
${is_cross_compiler} = xno
; then
5547 echo 1>&2 '***' --with-headers is only supported when cross compiling
5550 if test x
"${with_headers}" != xyes
; then
5551 x
=${gcc_cv_tool_prefix}
5552 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5556 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5557 # the name directories are copied to $(tooldir)/lib. Multiple directories
5559 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5560 if test x
${is_cross_compiler} = xno
; then
5561 echo 1>&2 '***' --with-libs is only supported when cross compiling
5564 if test x
"${with_libs}" != xyes
; then
5565 # Copy the libraries in reverse order, so that files in the first named
5566 # library override files in subsequent libraries.
5567 x
=${gcc_cv_tool_prefix}
5568 for l
in ${with_libs}; do
5569 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5574 # Set with_gnu_as and with_gnu_ld as appropriate.
5576 # This is done by determining whether or not the appropriate directory
5577 # is available, and by checking whether or not specific configurations
5578 # have requested that this magic not happen.
5580 # The command line options always override the explicit settings in
5581 # configure.in, and the settings in configure.in override this magic.
5583 # If the default for a toolchain is to use GNU as and ld, and you don't
5584 # want to do that, then you should use the --without-gnu-as and
5585 # --without-gnu-ld options for the configure script.
5587 if test x
${use_gnu_as} = x
&&
5588 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5590 extra_host_args
="$extra_host_args --with-gnu-as"
5593 if test x
${use_gnu_ld} = x
&&
5594 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5596 extra_host_args
="$extra_host_args --with-gnu-ld"
5599 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5600 # can detect this case.
5602 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5604 extra_host_args
="$extra_host_args --with-newlib"
5607 # Handle ${copy_dirs}
5608 set fnord
${copy_dirs}
5610 while test $# != 0 ; do
5611 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5614 echo Copying
$1 to
$2
5616 # Use the install script to create the directory and all required
5617 # parent directories.
5618 if test -d $2 ; then
5622 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5625 # Copy the directory, assuming we have tar.
5626 # FIXME: Should we use B in the second tar? Not all systems support it.
5627 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5629 # It is the responsibility of the user to correctly adjust all
5630 # symlinks. If somebody can figure out how to handle them correctly
5631 # here, feel free to add the code.
5638 # Determine a target-dependent exec_prefix that the installed
5639 # gcc will search in. Keep this list sorted by triplet, with
5640 # the *-*-osname triplets last.
5644 md_exec_prefix
=/gnu
/lib
/gcc-lib
5646 i
[34567]86-pc-msdosdjgpp*)
5647 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5649 i
[34567]86-*-sco3.2v5
*)
5650 if test $with_gnu_as = yes; then
5651 md_exec_prefix
=/usr
/gnu
/bin
5653 md_exec_prefix
=/usr
/ccs
/bin
/elf
5658 powerpc-
*-chorusos* | \
5659 powerpc
*-*-eabi* | \
5660 powerpc
*-*-sysv* | \
5661 powerpc
*-*-kaos* | \
5663 md_exec_prefix
=/usr
/ccs
/bin
5668 md_exec_prefix
=/usr
/ccs
/bin
5683 md_exec_prefix
=/usr
/ccs
/bin
5687 extra_arflags_for_target
=
5688 extra_nmflags_for_target
=
5689 extra_ranlibflags_for_target
=
5690 target_makefile_frag
=/dev
/null
5693 target_makefile_frag
="config/mt-mep"
5696 target_makefile_frag
="config/mt-spu"
5699 target_makefile_frag
="config/mt-sde"
5701 mipsisa
*-*-elfoabi*)
5702 target_makefile_frag
="config/mt-mips-elfoabi"
5704 mips
*-*-*linux
* | mips
*-*-gnu*)
5705 target_makefile_frag
="config/mt-mips-gnu"
5708 target_makefile_frag
="config/mt-netware"
5710 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5711 target_makefile_frag
="config/mt-gnu"
5713 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5714 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5715 # commands to handle both 32-bit and 64-bit objects. These flags are
5716 # harmless if we're using GNU nm or ar.
5717 extra_arflags_for_target
=" -X32_64"
5718 extra_nmflags_for_target
=" -B -X32_64"
5721 # ranlib from Darwin requires the -c flag to look at common symbols.
5722 extra_ranlibflags_for_target
=" -c"
5724 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5725 target_makefile_frag
="config/mt-wince"
5729 alphaieee_frag
=/dev
/null
5732 # This just makes sure to use the -mieee option to build target libs.
5733 # This should probably be set individually by each library.
5734 alphaieee_frag
="config/mt-alphaieee"
5738 # If --enable-target-optspace always use -Os instead of -O2 to build
5739 # the target libraries, similarly if it is not specified, use -Os
5740 # on selected platforms.
5741 ospace_frag
=/dev
/null
5742 case "${enable_target_optspace}:${target}" in
5744 ospace_frag
="config/mt-ospace"
5747 ospace_frag
="config/mt-d30v"
5749 :m32r-
* |
:d10v-
* |
:fr30-
*)
5750 ospace_frag
="config/mt-ospace"
5755 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5759 # Default to using --with-stabs for certain targets.
5760 if test x
${with_stabs} = x
; then
5764 mips
*-*-* | alpha
*-*-osf*)
5766 extra_host_args
="${extra_host_args} --with-stabs"
5771 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5772 # them automatically.
5775 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5779 # Some systems (e.g., one of the i386-aix systems the gas testers are
5780 # using) don't handle "\$" correctly, so don't use it here.
5781 tooldir
='${exec_prefix}'/${target_noncanonical}
5782 build_tooldir
=${tooldir}
5784 # Create a .gdbinit file which runs the one in srcdir
5785 # and tells GDB to look there for source files.
5787 if test -r ${srcdir}/.gdbinit
; then
5790 *) cat > .
/.gdbinit
<<EOF
5794 source ${srcdir}/.gdbinit
5800 # Make sure that the compiler is able to generate an executable. If it
5801 # can't, we are probably in trouble. We don't care whether we can run the
5802 # executable--we might be using a cross compiler--we only care whether it
5803 # can be created. At this point the main configure script has set CC.
5805 echo "int main () { return 0; }" > conftest.c
5806 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5807 if test $?
= 0 ; then
5808 if test -s conftest ||
test -s conftest.exe
; then
5814 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5815 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5822 # The Solaris /usr/ucb/cc compiler does not appear to work.
5824 sparc-sun-solaris2
*)
5825 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5826 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5828 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5829 if test -d /opt
/cygnus
/bin
; then
5830 if test "$could_use" = "" ; then
5831 could_use
="/opt/cygnus/bin"
5833 could_use
="$could_use or /opt/cygnus/bin"
5836 if test "$could_use" = "" ; then
5837 echo "Warning: compilation may fail because you're using"
5838 echo "/usr/ucb/cc. You should change your PATH or CC "
5839 echo "variable and rerun configure."
5841 echo "Warning: compilation may fail because you're using"
5842 echo "/usr/ucb/cc, when you should use the C compiler from"
5843 echo "$could_use. You should change your"
5844 echo "PATH or CC variable and rerun configure."
5850 # Decide which environment variable is used to find dynamic libraries.
5852 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5853 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5854 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5855 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5858 # On systems where the dynamic library environment variable is PATH,
5859 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5860 # built executables to PATH.
5861 if test "$RPATH_ENVVAR" = PATH
; then
5862 GCC_SHLIB_SUBDIR
=/shlib
5867 # Record target_configdirs and the configure arguments for target and
5868 # build configuration in Makefile.
5869 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5870 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5872 # Determine whether gdb needs tk/tcl or not.
5873 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5874 # and in that case we want gdb to be built without tk. Ugh!
5875 # In fact I believe gdb is the *only* package directly dependent on tk,
5876 # so we should be able to put the 'maybe's in unconditionally and
5877 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5878 # 100% sure that that's safe though.
5880 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5881 case "$enable_gdbtk" in
5885 GDB_TK
="${gdb_tk}" ;;
5887 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5888 # distro. Eventually someone will fix this and move Insight, nee
5889 # gdbtk to a separate directory.
5890 if test -d ${srcdir}/gdb
/gdbtk
; then
5897 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5898 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5900 # Strip out unwanted targets.
5902 # While at that, we remove Makefiles if we were started for recursive
5903 # configuration, so that the top-level Makefile reconfigures them,
5904 # like we used to do when configure itself was recursive.
5906 # Loop over modules. $extrasub must be used with care, limiting as
5907 # much as possible the usage of range addresses. That's because autoconf
5908 # splits the sed script to overcome limits in the number of commands,
5909 # and relying on carefully-timed sed passes may turn out to be very hard
5910 # to maintain later. In this particular case, you just have to be careful
5911 # not to nest @if/@endif pairs, because configure will not warn you at all.
5913 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5914 if test "${enable_bootstrap+set}" = set; then
5915 enableval
="$enable_bootstrap"
5918 enable_bootstrap
=default
5921 # Issue errors and warnings for invalid/strange bootstrap combinations.
5922 case "$configdirs" in
5923 *gcc
*) have_compiler
=yes ;;
5924 *) have_compiler
=no
;;
5927 case "$have_compiler:$host:$target:$enable_bootstrap" in
5930 # Default behavior. Enable bootstrap if we have a compiler
5931 # and we are in a native configuration.
5932 yes:$build:$build:default
)
5933 enable_bootstrap
=yes ;;
5936 enable_bootstrap
=no
;;
5938 # We have a compiler and we are in a native configuration, bootstrap is ok
5939 yes:$build:$build:yes)
5942 # Other configurations, but we have a compiler. Assume the user knows
5945 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5946 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5949 # No compiler: if they passed --enable-bootstrap explicitly, fail
5951 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5952 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5953 { (exit 1); exit 1; }; } ;;
5955 # Fail if wrong command line
5957 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5958 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5959 { (exit 1); exit 1; }; }
5963 # Adjust the toplevel makefile according to whether bootstrap was selected.
5964 case "$enable_bootstrap" in
5966 bootstrap_suffix
=bootstrap
;;
5968 bootstrap_suffix
=no-bootstrap
;;
5971 for module
in ${build_configdirs} ; do
5972 if test -z "${no_recursion}" \
5973 && test -f ${build_subdir}/${module}/Makefile
; then
5974 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5975 rm -f ${build_subdir}/${module}/Makefile
5978 /^@if build-$module\$/d
5979 /^@endif build-$module\$/d
5980 /^@if build-$module-$bootstrap_suffix\$/d
5981 /^@endif build-$module-$bootstrap_suffix\$/d"
5983 for module
in ${configdirs} ; do
5984 if test -z "${no_recursion}"; then
5985 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5986 if test -f ${file}; then
5987 echo 1>&2 "*** removing ${file} to force reconfigure"
5994 /^@endif $module\$/d
5995 /^@if $module-$bootstrap_suffix\$/d
5996 /^@endif $module-$bootstrap_suffix\$/d"
5998 for module
in ${target_configdirs} ; do
5999 if test -z "${no_recursion}" \
6000 && test -f ${target_subdir}/${module}/Makefile
; then
6001 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6002 rm -f ${target_subdir}/${module}/Makefile
6005 /^@if target-$module\$/d
6006 /^@endif target-$module\$/d
6007 /^@if target-$module-$bootstrap_suffix\$/d
6008 /^@endif target-$module-$bootstrap_suffix\$/d"
6012 /^@if /,/^@endif /d"
6014 # Create the serialization dependencies. This uses a temporary file.
6016 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6017 if test "${enable_serial_configure+set}" = set; then
6018 enableval
="$enable_serial_configure"
6022 case ${enable_serial_configure} in
6024 enable_serial_build_configure
=yes
6025 enable_serial_host_configure
=yes
6026 enable_serial_target_configure
=yes
6030 # These force 'configure's to be done one at a time, to avoid problems
6031 # with contention over a shared config.cache.
6033 echo '# serdep.tmp' > serdep.tmp
6035 test "x${enable_serial_build_configure}" = xyes
&&
6036 for item
in ${build_configdirs} ; do
6039 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6044 test "x${enable_serial_host_configure}" = xyes
&&
6045 for item
in ${configdirs} ; do
6048 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6053 test "x${enable_serial_target_configure}" = xyes
&&
6054 for item
in ${target_configdirs} ; do
6057 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6061 serialization_dependencies
=serdep.tmp
6064 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6065 # target, nonopt, and variable assignments. These are the ones we
6066 # might not want to pass down to subconfigures. Also strip
6067 # program-prefix, program-suffix, and program-transform-name, so that
6068 # we can pass down a consistent program-transform-name.
6072 eval "set -- $ac_configure_args"
6075 if test X
"$skip_next" = X
"yes"; then
6079 if test X
"$keep_next" = X
"yes"; then
6082 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6084 baseargs
="$baseargs '$ac_arg'"
6089 # Handle separated arguments. Based on the logic generated by
6092 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6093 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6094 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6095 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6121 -program-prefix* | \
6122 -program-suffix* | \
6123 -program-transform-name* )
6124 skip_next
=$separate_arg
6128 # An option. Add it.
6131 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6133 baseargs
="$baseargs '$ac_arg'"
6134 keep_next
=$separate_arg
6137 # Either a variable assignment, or a nonopt (triplet). Don't
6138 # pass it down; let the Makefile handle this.
6143 # Remove the initial space we just introduced and, as these will be
6144 # expanded by make, quote '$'.
6145 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6147 # Add in --program-transform-name, after --program-prefix and
6148 # --program-suffix have been applied to it. Autoconf has already
6149 # doubled dollar signs and backslashes in program_transform_name; we want
6150 # the backslashes un-doubled, and then the entire thing wrapped in single
6151 # quotes, because this will be expanded first by make and then by the shell.
6152 # Also, because we want to override the logic in subdir configure scripts to
6153 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6154 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6155 ${program_transform_name}
6157 gcc_transform_name
=`cat conftestsed.out`
6158 rm -f conftestsed.out
6159 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6160 if test "$silent" = yes; then
6161 baseargs
="$baseargs --silent"
6164 # For the build-side libraries, we just need to pretend we're native,
6165 # and not use the same cache file. Multilibs are neither needed nor
6167 build_configargs
="--cache-file=../config.cache ${baseargs}"
6169 # For host modules, accept cache file option, or specification as blank.
6170 case "${cache_file}" in
6172 cache_file_option
="" ;;
6173 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6174 cache_file_option
="--cache-file=${cache_file}" ;;
6176 cache_file_option
="--cache-file=../${cache_file}" ;;
6179 # Host dirs don't like to share a cache file either, horribly enough.
6180 # This seems to be due to autoconf 2.5x stupidity.
6181 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6183 target_configargs
=${baseargs}
6185 # Passing a --with-cross-host argument lets the target libraries know
6186 # whether they are being built with a cross-compiler or being built
6187 # native. However, it would be better to use other mechanisms to make the
6188 # sorts of decisions they want to make on this basis. Please consider
6189 # this option to be deprecated. FIXME.
6190 if test x
${is_cross_compiler} = xyes
; then
6191 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6194 # Default to --enable-multilib.
6195 if test x
${enable_multilib} = x
; then
6196 target_configargs
="--enable-multilib ${target_configargs}"
6199 # Pass --with-newlib if appropriate. Note that target_configdirs has
6200 # changed from the earlier setting of with_newlib.
6201 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6202 target_configargs
="--with-newlib ${target_configargs}"
6205 # Different target subdirs use different values of certain variables
6206 # (notably CXX). Worse, multilibs use *lots* of different values.
6207 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6208 # it doesn't automatically accept command-line overrides of them.
6209 # This means it's not safe for target subdirs to share a cache file,
6210 # which is disgusting, but there you have it. Hopefully this can be
6211 # fixed in future. It's still worthwhile to use a cache file for each
6212 # directory. I think.
6214 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6215 # We need to pass --target, as newer autoconf's requires consistency
6216 # for target_alias and gcc doesn't manage it consistently.
6217 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6220 case " $target_configdirs " in
6222 case " $target_configargs " in
6223 *" --with-newlib "*)
6226 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' ;;
6229 # If we're not building GCC, don't discard standard headers.
6230 if test -d ${srcdir}/gcc
; then
6231 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6233 if test "${build}" != "${host}"; then
6234 # On Canadian crosses, CC_FOR_TARGET will have already been set
6235 # by `configure', so we won't have an opportunity to add -Bgcc/
6236 # to it. This is right: we don't want to search that directory
6237 # for binaries, but we want the header files in there, so add
6239 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6241 # Someone might think of using the pre-installed headers on
6242 # Canadian crosses, in case the installed compiler is not fully
6243 # compatible with the compiler being built. In this case, it
6244 # would be better to flag an error than risking having
6245 # incompatible object files being constructed. We can't
6246 # guarantee that an error will be flagged, but let's hope the
6247 # compiler will do it, when presented with incompatible header
6252 case "${target}-${is_cross_compiler}" in
6253 i
[3456789]86-*-linux*-no)
6254 # Here host == target, so we don't need to build gcc,
6255 # so we don't want to discard standard headers.
6256 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6259 # If we're building newlib, use its generic headers last, but search
6260 # for any libc-related directories first (so make it the last -B
6262 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6264 # If we're building libgloss, find the startup file, simulator library
6265 # and linker script.
6266 case " $target_configdirs " in
6268 # Look for startup file, simulator library and maybe linker script.
6269 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6270 # Look for libnosys.a in case the target needs it.
6271 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6272 # Most targets have the linker script in the source directory.
6273 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6284 # Can't be handled as Cygwin above since Mingw does not use newlib.
6285 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' ;;
6288 # Allow the user to override the flags for
6289 # our build compiler if desired.
6290 if test x
"${build}" = x
"${host}" ; then
6291 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6292 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6293 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6296 # On Canadian crosses, we'll be searching the right directories for
6297 # the previously-installed cross compiler, so don't bother to add
6298 # flags for directories within the install tree of the compiler
6299 # being built; programs in there won't even run.
6300 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6301 # Search for pre-installed headers if nothing else fits.
6302 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6305 if test "x
${use_gnu_ld}" = x &&
6306 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6307 # Arrange for us to find uninstalled linker scripts.
6308 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6311 # Search for other target-specific linker scripts and such.
6314 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6318 # Makefile fragments.
6319 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6321 eval fragval=\$$frag
6322 if test $fragval != /dev/null; then
6323 eval $frag=${srcdir}/$fragval
6331 # Miscellanea: directories, flags, etc.
6340 # Build module lists & subconfigure args.
6344 # Host module lists & subconfigure args.
6348 # Target module lists & subconfigure args.
6370 # Generate default definitions for YACC, M4, LEX and other programs that run
6371 # on the build machine. These are used if the Makefile can't locate these
6372 # programs in objdir.
6373 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6375 for ac_prog in 'bison -y' byacc yacc
6377 # Extract the first word of "$ac_prog", so it can be a program name with args.
6378 set dummy $ac_prog; ac_word=$2
6379 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6380 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6381 if test "${ac_cv_prog_YACC+set}" = set; then
6382 echo $ECHO_N "(cached
) $ECHO_C" >&6
6384 if test -n "$YACC"; then
6385 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_prog_YACC="$ac_prog"
6395 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6403 YACC=$ac_cv_prog_YACC
6404 if test -n "$YACC"; then
6405 echo "$as_me:$LINENO: result
: $YACC" >&5
6406 echo "${ECHO_T}$YACC" >&6
6408 echo "$as_me:$LINENO: result
: no
" >&5
6409 echo "${ECHO_T}no
" >&6
6412 test -n "$YACC" && break
6414 test -n "$YACC" || YACC="$MISSING bison
-y"
6416 case " $build_configdirs " in
6417 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6418 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6421 for ac_prog in bison
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6426 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6427 if test "${ac_cv_prog_BISON+set}" = set; then
6428 echo $ECHO_N "(cached
) $ECHO_C" >&6
6430 if test -n "$BISON"; then
6431 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_BISON="$ac_prog"
6441 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6449 BISON=$ac_cv_prog_BISON
6450 if test -n "$BISON"; then
6451 echo "$as_me:$LINENO: result
: $BISON" >&5
6452 echo "${ECHO_T}$BISON" >&6
6454 echo "$as_me:$LINENO: result
: no
" >&5
6455 echo "${ECHO_T}no
" >&6
6458 test -n "$BISON" && break
6460 test -n "$BISON" || BISON="$MISSING bison
"
6462 case " $build_configdirs " in
6463 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6466 for ac_prog in gm4 gnum4 m4
6468 # Extract the first word of "$ac_prog", so it can be a program name with args.
6469 set dummy $ac_prog; ac_word=$2
6470 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6471 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6472 if test "${ac_cv_prog_M4+set}" = set; then
6473 echo $ECHO_N "(cached
) $ECHO_C" >&6
6475 if test -n "$M4"; then
6476 ac_cv_prog_M4="$M4" # Let the user override the test.
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_M4="$ac_prog"
6486 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6495 if test -n "$M4"; then
6496 echo "$as_me:$LINENO: result
: $M4" >&5
6497 echo "${ECHO_T}$M4" >&6
6499 echo "$as_me:$LINENO: result
: no
" >&5
6500 echo "${ECHO_T}no
" >&6
6503 test -n "$M4" && break
6505 test -n "$M4" || M4="$MISSING m4"
6507 case " $build_configdirs " in
6508 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6511 for ac_prog in flex lex
6513 # Extract the first word of "$ac_prog", so it can be a program name with args.
6514 set dummy $ac_prog; ac_word=$2
6515 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6517 if test "${ac_cv_prog_LEX+set}" = set; then
6518 echo $ECHO_N "(cached
) $ECHO_C" >&6
6520 if test -n "$LEX"; then
6521 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_LEX="$ac_prog"
6531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6540 if test -n "$LEX"; then
6541 echo "$as_me:$LINENO: result
: $LEX" >&5
6542 echo "${ECHO_T}$LEX" >&6
6544 echo "$as_me:$LINENO: result
: no
" >&5
6545 echo "${ECHO_T}no
" >&6
6548 test -n "$LEX" && break
6550 test -n "$LEX" || LEX="$MISSING flex
"
6552 case " $build_configdirs " in
6553 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6554 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6559 # Extract the first word of "$ac_prog", so it can be a program name with args.
6560 set dummy $ac_prog; ac_word=$2
6561 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6562 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6563 if test "${ac_cv_prog_FLEX+set}" = set; then
6564 echo $ECHO_N "(cached
) $ECHO_C" >&6
6566 if test -n "$FLEX"; then
6567 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_FLEX="$ac_prog"
6577 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6585 FLEX=$ac_cv_prog_FLEX
6586 if test -n "$FLEX"; then
6587 echo "$as_me:$LINENO: result
: $FLEX" >&5
6588 echo "${ECHO_T}$FLEX" >&6
6590 echo "$as_me:$LINENO: result
: no
" >&5
6591 echo "${ECHO_T}no
" >&6
6594 test -n "$FLEX" && break
6596 test -n "$FLEX" || FLEX="$MISSING flex
"
6598 case " $build_configdirs " in
6599 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6602 for ac_prog in makeinfo
6604 # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6608 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6609 echo $ECHO_N "(cached
) $ECHO_C" >&6
6611 if test -n "$MAKEINFO"; then
6612 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_MAKEINFO="$ac_prog"
6622 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6630 MAKEINFO=$ac_cv_prog_MAKEINFO
6631 if test -n "$MAKEINFO"; then
6632 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6633 echo "${ECHO_T}$MAKEINFO" >&6
6635 echo "$as_me:$LINENO: result
: no
" >&5
6636 echo "${ECHO_T}no
" >&6
6639 test -n "$MAKEINFO" && break
6641 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6643 case " $build_configdirs " in
6644 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6647 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6648 # higher, else we use the "missing
" dummy.
6649 if ${MAKEINFO} --version \
6650 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6653 MAKEINFO="$MISSING makeinfo
"
6659 # FIXME: expect and dejagnu may become build tools?
6661 for ac_prog in expect
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy $ac_prog; ac_word=$2
6665 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6666 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6667 if test "${ac_cv_prog_EXPECT+set}" = set; then
6668 echo $ECHO_N "(cached
) $ECHO_C" >&6
6670 if test -n "$EXPECT"; then
6671 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_EXPECT="$ac_prog"
6681 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6689 EXPECT=$ac_cv_prog_EXPECT
6690 if test -n "$EXPECT"; then
6691 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6692 echo "${ECHO_T}$EXPECT" >&6
6694 echo "$as_me:$LINENO: result
: no
" >&5
6695 echo "${ECHO_T}no
" >&6
6698 test -n "$EXPECT" && break
6700 test -n "$EXPECT" || EXPECT="expect
"
6702 case " $configdirs " in
6704 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6708 for ac_prog in runtest
6710 # Extract the first word of "$ac_prog", so it can be a program name with args.
6711 set dummy $ac_prog; ac_word=$2
6712 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6713 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6714 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6715 echo $ECHO_N "(cached
) $ECHO_C" >&6
6717 if test -n "$RUNTEST"; then
6718 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_RUNTEST="$ac_prog"
6728 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6736 RUNTEST=$ac_cv_prog_RUNTEST
6737 if test -n "$RUNTEST"; then
6738 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6739 echo "${ECHO_T}$RUNTEST" >&6
6741 echo "$as_me:$LINENO: result
: no
" >&5
6742 echo "${ECHO_T}no
" >&6
6745 test -n "$RUNTEST" && break
6747 test -n "$RUNTEST" || RUNTEST="runtest
"
6749 case " $configdirs " in
6751 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6758 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6759 ncn_target_tool_prefix=
6760 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6764 if test -n "$AR"; then
6766 elif test -n "$ac_cv_prog_AR"; then
6770 if test -n "$ac_cv_prog_AR"; then
6771 for ncn_progname in ar; do
6772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6773 set dummy ${ncn_progname}; ac_word=$2
6774 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6775 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6776 if test "${ac_cv_prog_AR+set}" = set; then
6777 echo $ECHO_N "(cached
) $ECHO_C" >&6
6779 if test -n "$AR"; then
6780 ac_cv_prog_AR="$AR" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_AR="${ncn_progname}"
6790 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6799 if test -n "$AR"; then
6800 echo "$as_me:$LINENO: result
: $AR" >&5
6801 echo "${ECHO_T}$AR" >&6
6803 echo "$as_me:$LINENO: result
: no
" >&5
6804 echo "${ECHO_T}no
" >&6
6810 for ncn_progname in ar; do
6811 if test -n "$ncn_tool_prefix"; then
6812 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6813 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6814 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6815 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6816 if test "${ac_cv_prog_AR+set}" = set; then
6817 echo $ECHO_N "(cached
) $ECHO_C" >&6
6819 if test -n "$AR"; then
6820 ac_cv_prog_AR="$AR" # Let the user override the test.
6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir=.
6827 for ac_exec_ext in '' $ac_executable_extensions; do
6828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6829 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6830 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6839 if test -n "$AR"; then
6840 echo "$as_me:$LINENO: result
: $AR" >&5
6841 echo "${ECHO_T}$AR" >&6
6843 echo "$as_me:$LINENO: result
: no
" >&5
6844 echo "${ECHO_T}no
" >&6
6848 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6849 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6850 set dummy ${ncn_progname}; ac_word=$2
6851 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6852 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6853 if test "${ac_cv_prog_AR+set}" = set; then
6854 echo $ECHO_N "(cached
) $ECHO_C" >&6
6856 if test -n "$AR"; then
6857 ac_cv_prog_AR="$AR" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6866 ac_cv_prog_AR="${ncn_progname}"
6867 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6876 if test -n "$AR"; then
6877 echo "$as_me:$LINENO: result
: $AR" >&5
6878 echo "${ECHO_T}$AR" >&6
6880 echo "$as_me:$LINENO: result
: no
" >&5
6881 echo "${ECHO_T}no
" >&6
6885 test -n "$ac_cv_prog_AR" && break
6888 if test -z "$ac_cv_prog_AR" ; then
6890 if test $build = $host ; then
6893 AR="${ncn_tool_prefix}$2"
6899 if test -n "$AS"; then
6901 elif test -n "$ac_cv_prog_AS"; then
6905 if test -n "$ac_cv_prog_AS"; then
6906 for ncn_progname in as; do
6907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6908 set dummy ${ncn_progname}; ac_word=$2
6909 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6910 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6911 if test "${ac_cv_prog_AS+set}" = set; then
6912 echo $ECHO_N "(cached
) $ECHO_C" >&6
6914 if test -n "$AS"; then
6915 ac_cv_prog_AS="$AS" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_AS="${ncn_progname}"
6925 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6934 if test -n "$AS"; then
6935 echo "$as_me:$LINENO: result
: $AS" >&5
6936 echo "${ECHO_T}$AS" >&6
6938 echo "$as_me:$LINENO: result
: no
" >&5
6939 echo "${ECHO_T}no
" >&6
6945 for ncn_progname in as; do
6946 if test -n "$ncn_tool_prefix"; then
6947 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6948 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6949 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6950 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6951 if test "${ac_cv_prog_AS+set}" = set; then
6952 echo $ECHO_N "(cached
) $ECHO_C" >&6
6954 if test -n "$AS"; then
6955 ac_cv_prog_AS="$AS" # Let the user override the test.
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir=.
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6964 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6965 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6974 if test -n "$AS"; then
6975 echo "$as_me:$LINENO: result
: $AS" >&5
6976 echo "${ECHO_T}$AS" >&6
6978 echo "$as_me:$LINENO: result
: no
" >&5
6979 echo "${ECHO_T}no
" >&6
6983 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6985 set dummy ${ncn_progname}; ac_word=$2
6986 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6987 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6988 if test "${ac_cv_prog_AS+set}" = set; then
6989 echo $ECHO_N "(cached
) $ECHO_C" >&6
6991 if test -n "$AS"; then
6992 ac_cv_prog_AS="$AS" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_AS="${ncn_progname}"
7002 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 if test -n "$AS"; then
7012 echo "$as_me:$LINENO: result
: $AS" >&5
7013 echo "${ECHO_T}$AS" >&6
7015 echo "$as_me:$LINENO: result
: no
" >&5
7016 echo "${ECHO_T}no
" >&6
7020 test -n "$ac_cv_prog_AS" && break
7023 if test -z "$ac_cv_prog_AS" ; then
7025 if test $build = $host ; then
7028 AS="${ncn_tool_prefix}$2"
7034 if test -n "$DLLTOOL"; then
7035 ac_cv_prog_DLLTOOL=$DLLTOOL
7036 elif test -n "$ac_cv_prog_DLLTOOL"; then
7037 DLLTOOL=$ac_cv_prog_DLLTOOL
7040 if test -n "$ac_cv_prog_DLLTOOL"; then
7041 for ncn_progname in dlltool; do
7042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7043 set dummy ${ncn_progname}; ac_word=$2
7044 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7045 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7046 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7047 echo $ECHO_N "(cached
) $ECHO_C" >&6
7049 if test -n "$DLLTOOL"; then
7050 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059 ac_cv_prog_DLLTOOL="${ncn_progname}"
7060 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7068 DLLTOOL=$ac_cv_prog_DLLTOOL
7069 if test -n "$DLLTOOL"; then
7070 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7071 echo "${ECHO_T}$DLLTOOL" >&6
7073 echo "$as_me:$LINENO: result
: no
" >&5
7074 echo "${ECHO_T}no
" >&6
7080 for ncn_progname in dlltool; do
7081 if test -n "$ncn_tool_prefix"; then
7082 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7083 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7084 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7086 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7087 echo $ECHO_N "(cached
) $ECHO_C" >&6
7089 if test -n "$DLLTOOL"; then
7090 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7099 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7108 DLLTOOL=$ac_cv_prog_DLLTOOL
7109 if test -n "$DLLTOOL"; then
7110 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7111 echo "${ECHO_T}$DLLTOOL" >&6
7113 echo "$as_me:$LINENO: result
: no
" >&5
7114 echo "${ECHO_T}no
" >&6
7118 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7119 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7120 set dummy ${ncn_progname}; ac_word=$2
7121 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7122 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7123 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7124 echo $ECHO_N "(cached
) $ECHO_C" >&6
7126 if test -n "$DLLTOOL"; then
7127 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_DLLTOOL="${ncn_progname}"
7137 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 DLLTOOL=$ac_cv_prog_DLLTOOL
7146 if test -n "$DLLTOOL"; then
7147 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7148 echo "${ECHO_T}$DLLTOOL" >&6
7150 echo "$as_me:$LINENO: result
: no
" >&5
7151 echo "${ECHO_T}no
" >&6
7155 test -n "$ac_cv_prog_DLLTOOL" && break
7158 if test -z "$ac_cv_prog_DLLTOOL" ; then
7160 if test $build = $host ; then
7163 DLLTOOL="${ncn_tool_prefix}$2"
7169 if test -n "$LD"; then
7171 elif test -n "$ac_cv_prog_LD"; then
7175 if test -n "$ac_cv_prog_LD"; then
7176 for ncn_progname in ld; do
7177 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7178 set dummy ${ncn_progname}; ac_word=$2
7179 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7180 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7181 if test "${ac_cv_prog_LD+set}" = set; then
7182 echo $ECHO_N "(cached
) $ECHO_C" >&6
7184 if test -n "$LD"; then
7185 ac_cv_prog_LD="$LD" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_LD="${ncn_progname}"
7195 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 if test -n "$LD"; then
7205 echo "$as_me:$LINENO: result
: $LD" >&5
7206 echo "${ECHO_T}$LD" >&6
7208 echo "$as_me:$LINENO: result
: no
" >&5
7209 echo "${ECHO_T}no
" >&6
7215 for ncn_progname in ld; do
7216 if test -n "$ncn_tool_prefix"; then
7217 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7218 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7219 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7221 if test "${ac_cv_prog_LD+set}" = set; then
7222 echo $ECHO_N "(cached
) $ECHO_C" >&6
7224 if test -n "$LD"; then
7225 ac_cv_prog_LD="$LD" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7244 if test -n "$LD"; then
7245 echo "$as_me:$LINENO: result
: $LD" >&5
7246 echo "${ECHO_T}$LD" >&6
7248 echo "$as_me:$LINENO: result
: no
" >&5
7249 echo "${ECHO_T}no
" >&6
7253 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7255 set dummy ${ncn_progname}; ac_word=$2
7256 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7257 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7258 if test "${ac_cv_prog_LD+set}" = set; then
7259 echo $ECHO_N "(cached
) $ECHO_C" >&6
7261 if test -n "$LD"; then
7262 ac_cv_prog_LD="$LD" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_LD="${ncn_progname}"
7272 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 if test -n "$LD"; then
7282 echo "$as_me:$LINENO: result
: $LD" >&5
7283 echo "${ECHO_T}$LD" >&6
7285 echo "$as_me:$LINENO: result
: no
" >&5
7286 echo "${ECHO_T}no
" >&6
7290 test -n "$ac_cv_prog_LD" && break
7293 if test -z "$ac_cv_prog_LD" ; then
7295 if test $build = $host ; then
7298 LD="${ncn_tool_prefix}$2"
7304 if test -n "$LIPO"; then
7305 ac_cv_prog_LIPO=$LIPO
7306 elif test -n "$ac_cv_prog_LIPO"; then
7307 LIPO=$ac_cv_prog_LIPO
7310 if test -n "$ac_cv_prog_LIPO"; then
7311 for ncn_progname in lipo; do
7312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7313 set dummy ${ncn_progname}; ac_word=$2
7314 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7315 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7316 if test "${ac_cv_prog_LIPO+set}" = set; then
7317 echo $ECHO_N "(cached
) $ECHO_C" >&6
7319 if test -n "$LIPO"; then
7320 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_LIPO="${ncn_progname}"
7330 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7338 LIPO=$ac_cv_prog_LIPO
7339 if test -n "$LIPO"; then
7340 echo "$as_me:$LINENO: result
: $LIPO" >&5
7341 echo "${ECHO_T}$LIPO" >&6
7343 echo "$as_me:$LINENO: result
: no
" >&5
7344 echo "${ECHO_T}no
" >&6
7350 for ncn_progname in lipo; do
7351 if test -n "$ncn_tool_prefix"; then
7352 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7353 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7354 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7355 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7356 if test "${ac_cv_prog_LIPO+set}" = set; then
7357 echo $ECHO_N "(cached
) $ECHO_C" >&6
7359 if test -n "$LIPO"; then
7360 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7370 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7378 LIPO=$ac_cv_prog_LIPO
7379 if test -n "$LIPO"; then
7380 echo "$as_me:$LINENO: result
: $LIPO" >&5
7381 echo "${ECHO_T}$LIPO" >&6
7383 echo "$as_me:$LINENO: result
: no
" >&5
7384 echo "${ECHO_T}no
" >&6
7388 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7390 set dummy ${ncn_progname}; ac_word=$2
7391 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7392 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7393 if test "${ac_cv_prog_LIPO+set}" = set; then
7394 echo $ECHO_N "(cached
) $ECHO_C" >&6
7396 if test -n "$LIPO"; then
7397 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_LIPO="${ncn_progname}"
7407 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7415 LIPO=$ac_cv_prog_LIPO
7416 if test -n "$LIPO"; then
7417 echo "$as_me:$LINENO: result
: $LIPO" >&5
7418 echo "${ECHO_T}$LIPO" >&6
7420 echo "$as_me:$LINENO: result
: no
" >&5
7421 echo "${ECHO_T}no
" >&6
7425 test -n "$ac_cv_prog_LIPO" && break
7428 if test -z "$ac_cv_prog_LIPO" ; then
7430 if test $build = $host ; then
7433 LIPO="${ncn_tool_prefix}$2"
7439 if test -n "$NM"; then
7441 elif test -n "$ac_cv_prog_NM"; then
7445 if test -n "$ac_cv_prog_NM"; then
7446 for ncn_progname in nm; do
7447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7448 set dummy ${ncn_progname}; ac_word=$2
7449 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7450 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7451 if test "${ac_cv_prog_NM+set}" = set; then
7452 echo $ECHO_N "(cached
) $ECHO_C" >&6
7454 if test -n "$NM"; then
7455 ac_cv_prog_NM="$NM" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_NM="${ncn_progname}"
7465 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7474 if test -n "$NM"; then
7475 echo "$as_me:$LINENO: result
: $NM" >&5
7476 echo "${ECHO_T}$NM" >&6
7478 echo "$as_me:$LINENO: result
: no
" >&5
7479 echo "${ECHO_T}no
" >&6
7485 for ncn_progname in nm; do
7486 if test -n "$ncn_tool_prefix"; then
7487 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7488 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7489 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7490 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7491 if test "${ac_cv_prog_NM+set}" = set; then
7492 echo $ECHO_N "(cached
) $ECHO_C" >&6
7494 if test -n "$NM"; then
7495 ac_cv_prog_NM="$NM" # Let the user override the test.
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7505 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7514 if test -n "$NM"; then
7515 echo "$as_me:$LINENO: result
: $NM" >&5
7516 echo "${ECHO_T}$NM" >&6
7518 echo "$as_me:$LINENO: result
: no
" >&5
7519 echo "${ECHO_T}no
" >&6
7523 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7524 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7525 set dummy ${ncn_progname}; ac_word=$2
7526 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7527 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7528 if test "${ac_cv_prog_NM+set}" = set; then
7529 echo $ECHO_N "(cached
) $ECHO_C" >&6
7531 if test -n "$NM"; then
7532 ac_cv_prog_NM="$NM" # Let the user override the test.
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7541 ac_cv_prog_NM="${ncn_progname}"
7542 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7551 if test -n "$NM"; then
7552 echo "$as_me:$LINENO: result
: $NM" >&5
7553 echo "${ECHO_T}$NM" >&6
7555 echo "$as_me:$LINENO: result
: no
" >&5
7556 echo "${ECHO_T}no
" >&6
7560 test -n "$ac_cv_prog_NM" && break
7563 if test -z "$ac_cv_prog_NM" ; then
7565 if test $build = $host ; then
7568 NM="${ncn_tool_prefix}$2"
7574 if test -n "$RANLIB"; then
7575 ac_cv_prog_RANLIB=$RANLIB
7576 elif test -n "$ac_cv_prog_RANLIB"; then
7577 RANLIB=$ac_cv_prog_RANLIB
7580 if test -n "$ac_cv_prog_RANLIB"; then
7581 for ncn_progname in ranlib; do
7582 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7583 set dummy ${ncn_progname}; ac_word=$2
7584 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7585 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7586 if test "${ac_cv_prog_RANLIB+set}" = set; then
7587 echo $ECHO_N "(cached
) $ECHO_C" >&6
7589 if test -n "$RANLIB"; then
7590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_RANLIB="${ncn_progname}"
7600 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7608 RANLIB=$ac_cv_prog_RANLIB
7609 if test -n "$RANLIB"; then
7610 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7611 echo "${ECHO_T}$RANLIB" >&6
7613 echo "$as_me:$LINENO: result
: no
" >&5
7614 echo "${ECHO_T}no
" >&6
7620 for ncn_progname in ranlib; do
7621 if test -n "$ncn_tool_prefix"; then
7622 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7623 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7624 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7625 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7626 if test "${ac_cv_prog_RANLIB+set}" = set; then
7627 echo $ECHO_N "(cached
) $ECHO_C" >&6
7629 if test -n "$RANLIB"; then
7630 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7640 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7648 RANLIB=$ac_cv_prog_RANLIB
7649 if test -n "$RANLIB"; then
7650 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7651 echo "${ECHO_T}$RANLIB" >&6
7653 echo "$as_me:$LINENO: result
: no
" >&5
7654 echo "${ECHO_T}no
" >&6
7658 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7659 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7660 set dummy ${ncn_progname}; ac_word=$2
7661 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7662 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7663 if test "${ac_cv_prog_RANLIB+set}" = set; then
7664 echo $ECHO_N "(cached
) $ECHO_C" >&6
7666 if test -n "$RANLIB"; then
7667 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 test -z "$as_dir" && as_dir=.
7674 for ac_exec_ext in '' $ac_executable_extensions; do
7675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676 ac_cv_prog_RANLIB="${ncn_progname}"
7677 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7685 RANLIB=$ac_cv_prog_RANLIB
7686 if test -n "$RANLIB"; then
7687 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7688 echo "${ECHO_T}$RANLIB" >&6
7690 echo "$as_me:$LINENO: result
: no
" >&5
7691 echo "${ECHO_T}no
" >&6
7695 test -n "$ac_cv_prog_RANLIB" && break
7698 if test -z "$ac_cv_prog_RANLIB" ; then
7704 if test -n "$STRIP"; then
7705 ac_cv_prog_STRIP=$STRIP
7706 elif test -n "$ac_cv_prog_STRIP"; then
7707 STRIP=$ac_cv_prog_STRIP
7710 if test -n "$ac_cv_prog_STRIP"; then
7711 for ncn_progname in strip; do
7712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7713 set dummy ${ncn_progname}; ac_word=$2
7714 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7715 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7716 if test "${ac_cv_prog_STRIP+set}" = set; then
7717 echo $ECHO_N "(cached
) $ECHO_C" >&6
7719 if test -n "$STRIP"; then
7720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 test -z "$as_dir" && as_dir=.
7727 for ac_exec_ext in '' $ac_executable_extensions; do
7728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7729 ac_cv_prog_STRIP="${ncn_progname}"
7730 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7738 STRIP=$ac_cv_prog_STRIP
7739 if test -n "$STRIP"; then
7740 echo "$as_me:$LINENO: result
: $STRIP" >&5
7741 echo "${ECHO_T}$STRIP" >&6
7743 echo "$as_me:$LINENO: result
: no
" >&5
7744 echo "${ECHO_T}no
" >&6
7750 for ncn_progname in strip; do
7751 if test -n "$ncn_tool_prefix"; then
7752 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7753 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7754 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7755 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7756 if test "${ac_cv_prog_STRIP+set}" = set; then
7757 echo $ECHO_N "(cached
) $ECHO_C" >&6
7759 if test -n "$STRIP"; then
7760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7770 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7778 STRIP=$ac_cv_prog_STRIP
7779 if test -n "$STRIP"; then
7780 echo "$as_me:$LINENO: result
: $STRIP" >&5
7781 echo "${ECHO_T}$STRIP" >&6
7783 echo "$as_me:$LINENO: result
: no
" >&5
7784 echo "${ECHO_T}no
" >&6
7788 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7790 set dummy ${ncn_progname}; ac_word=$2
7791 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7792 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7793 if test "${ac_cv_prog_STRIP+set}" = set; then
7794 echo $ECHO_N "(cached
) $ECHO_C" >&6
7796 if test -n "$STRIP"; then
7797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_STRIP="${ncn_progname}"
7807 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7815 STRIP=$ac_cv_prog_STRIP
7816 if test -n "$STRIP"; then
7817 echo "$as_me:$LINENO: result
: $STRIP" >&5
7818 echo "${ECHO_T}$STRIP" >&6
7820 echo "$as_me:$LINENO: result
: no
" >&5
7821 echo "${ECHO_T}no
" >&6
7825 test -n "$ac_cv_prog_STRIP" && break
7828 if test -z "$ac_cv_prog_STRIP" ; then
7834 if test -n "$WINDRES"; then
7835 ac_cv_prog_WINDRES=$WINDRES
7836 elif test -n "$ac_cv_prog_WINDRES"; then
7837 WINDRES=$ac_cv_prog_WINDRES
7840 if test -n "$ac_cv_prog_WINDRES"; then
7841 for ncn_progname in windres; do
7842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7843 set dummy ${ncn_progname}; ac_word=$2
7844 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7845 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7846 if test "${ac_cv_prog_WINDRES+set}" = set; then
7847 echo $ECHO_N "(cached
) $ECHO_C" >&6
7849 if test -n "$WINDRES"; then
7850 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_WINDRES="${ncn_progname}"
7860 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7868 WINDRES=$ac_cv_prog_WINDRES
7869 if test -n "$WINDRES"; then
7870 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7871 echo "${ECHO_T}$WINDRES" >&6
7873 echo "$as_me:$LINENO: result
: no
" >&5
7874 echo "${ECHO_T}no
" >&6
7880 for ncn_progname in windres; do
7881 if test -n "$ncn_tool_prefix"; then
7882 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7883 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7884 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7885 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7886 if test "${ac_cv_prog_WINDRES+set}" = set; then
7887 echo $ECHO_N "(cached
) $ECHO_C" >&6
7889 if test -n "$WINDRES"; then
7890 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7900 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 WINDRES=$ac_cv_prog_WINDRES
7909 if test -n "$WINDRES"; then
7910 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7911 echo "${ECHO_T}$WINDRES" >&6
7913 echo "$as_me:$LINENO: result
: no
" >&5
7914 echo "${ECHO_T}no
" >&6
7918 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7920 set dummy ${ncn_progname}; ac_word=$2
7921 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7922 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7923 if test "${ac_cv_prog_WINDRES+set}" = set; then
7924 echo $ECHO_N "(cached
) $ECHO_C" >&6
7926 if test -n "$WINDRES"; then
7927 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_WINDRES="${ncn_progname}"
7937 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7945 WINDRES=$ac_cv_prog_WINDRES
7946 if test -n "$WINDRES"; then
7947 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7948 echo "${ECHO_T}$WINDRES" >&6
7950 echo "$as_me:$LINENO: result
: no
" >&5
7951 echo "${ECHO_T}no
" >&6
7955 test -n "$ac_cv_prog_WINDRES" && break
7958 if test -z "$ac_cv_prog_WINDRES" ; then
7960 if test $build = $host ; then
7963 WINDRES="${ncn_tool_prefix}$2"
7969 if test -n "$WINDMC"; then
7970 ac_cv_prog_WINDMC=$WINDMC
7971 elif test -n "$ac_cv_prog_WINDMC"; then
7972 WINDMC=$ac_cv_prog_WINDMC
7975 if test -n "$ac_cv_prog_WINDMC"; then
7976 for ncn_progname in windmc; do
7977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7978 set dummy ${ncn_progname}; ac_word=$2
7979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7981 if test "${ac_cv_prog_WINDMC+set}" = set; then
7982 echo $ECHO_N "(cached
) $ECHO_C" >&6
7984 if test -n "$WINDMC"; then
7985 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_WINDMC="${ncn_progname}"
7995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8003 WINDMC=$ac_cv_prog_WINDMC
8004 if test -n "$WINDMC"; then
8005 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8006 echo "${ECHO_T}$WINDMC" >&6
8008 echo "$as_me:$LINENO: result
: no
" >&5
8009 echo "${ECHO_T}no
" >&6
8015 for ncn_progname in windmc; do
8016 if test -n "$ncn_tool_prefix"; then
8017 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8018 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8019 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8021 if test "${ac_cv_prog_WINDMC+set}" = set; then
8022 echo $ECHO_N "(cached
) $ECHO_C" >&6
8024 if test -n "$WINDMC"; then
8025 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 test -z "$as_dir" && as_dir=.
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8034 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 WINDMC=$ac_cv_prog_WINDMC
8044 if test -n "$WINDMC"; then
8045 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8046 echo "${ECHO_T}$WINDMC" >&6
8048 echo "$as_me:$LINENO: result
: no
" >&5
8049 echo "${ECHO_T}no
" >&6
8053 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8055 set dummy ${ncn_progname}; ac_word=$2
8056 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8057 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8058 if test "${ac_cv_prog_WINDMC+set}" = set; then
8059 echo $ECHO_N "(cached
) $ECHO_C" >&6
8061 if test -n "$WINDMC"; then
8062 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_prog_WINDMC="${ncn_progname}"
8072 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8080 WINDMC=$ac_cv_prog_WINDMC
8081 if test -n "$WINDMC"; then
8082 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8083 echo "${ECHO_T}$WINDMC" >&6
8085 echo "$as_me:$LINENO: result
: no
" >&5
8086 echo "${ECHO_T}no
" >&6
8090 test -n "$ac_cv_prog_WINDMC" && break
8093 if test -z "$ac_cv_prog_WINDMC" ; then
8095 if test $build = $host ; then
8098 WINDMC="${ncn_tool_prefix}$2"
8104 if test -n "$OBJCOPY"; then
8105 ac_cv_prog_OBJCOPY=$OBJCOPY
8106 elif test -n "$ac_cv_prog_OBJCOPY"; then
8107 OBJCOPY=$ac_cv_prog_OBJCOPY
8110 if test -n "$ac_cv_prog_OBJCOPY"; then
8111 for ncn_progname in objcopy; do
8112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8113 set dummy ${ncn_progname}; ac_word=$2
8114 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8115 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8116 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8117 echo $ECHO_N "(cached
) $ECHO_C" >&6
8119 if test -n "$OBJCOPY"; then
8120 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_OBJCOPY="${ncn_progname}"
8130 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8138 OBJCOPY=$ac_cv_prog_OBJCOPY
8139 if test -n "$OBJCOPY"; then
8140 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8141 echo "${ECHO_T}$OBJCOPY" >&6
8143 echo "$as_me:$LINENO: result
: no
" >&5
8144 echo "${ECHO_T}no
" >&6
8150 for ncn_progname in objcopy; do
8151 if test -n "$ncn_tool_prefix"; then
8152 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8153 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8154 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8155 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8156 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8157 echo $ECHO_N "(cached
) $ECHO_C" >&6
8159 if test -n "$OBJCOPY"; then
8160 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8170 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8178 OBJCOPY=$ac_cv_prog_OBJCOPY
8179 if test -n "$OBJCOPY"; then
8180 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8181 echo "${ECHO_T}$OBJCOPY" >&6
8183 echo "$as_me:$LINENO: result
: no
" >&5
8184 echo "${ECHO_T}no
" >&6
8188 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8190 set dummy ${ncn_progname}; ac_word=$2
8191 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8192 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8193 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8194 echo $ECHO_N "(cached
) $ECHO_C" >&6
8196 if test -n "$OBJCOPY"; then
8197 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_OBJCOPY="${ncn_progname}"
8207 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 OBJCOPY=$ac_cv_prog_OBJCOPY
8216 if test -n "$OBJCOPY"; then
8217 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8218 echo "${ECHO_T}$OBJCOPY" >&6
8220 echo "$as_me:$LINENO: result
: no
" >&5
8221 echo "${ECHO_T}no
" >&6
8225 test -n "$ac_cv_prog_OBJCOPY" && break
8228 if test -z "$ac_cv_prog_OBJCOPY" ; then
8230 if test $build = $host ; then
8233 OBJCOPY="${ncn_tool_prefix}$2"
8239 if test -n "$OBJDUMP"; then
8240 ac_cv_prog_OBJDUMP=$OBJDUMP
8241 elif test -n "$ac_cv_prog_OBJDUMP"; then
8242 OBJDUMP=$ac_cv_prog_OBJDUMP
8245 if test -n "$ac_cv_prog_OBJDUMP"; then
8246 for ncn_progname in objdump; do
8247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_progname}; ac_word=$2
8249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8251 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8252 echo $ECHO_N "(cached
) $ECHO_C" >&6
8254 if test -n "$OBJDUMP"; then
8255 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_OBJDUMP="${ncn_progname}"
8265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8273 OBJDUMP=$ac_cv_prog_OBJDUMP
8274 if test -n "$OBJDUMP"; then
8275 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8276 echo "${ECHO_T}$OBJDUMP" >&6
8278 echo "$as_me:$LINENO: result
: no
" >&5
8279 echo "${ECHO_T}no
" >&6
8285 for ncn_progname in objdump; do
8286 if test -n "$ncn_tool_prefix"; then
8287 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8288 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8289 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8290 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8291 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8292 echo $ECHO_N "(cached
) $ECHO_C" >&6
8294 if test -n "$OBJDUMP"; then
8295 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8304 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8305 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8313 OBJDUMP=$ac_cv_prog_OBJDUMP
8314 if test -n "$OBJDUMP"; then
8315 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8316 echo "${ECHO_T}$OBJDUMP" >&6
8318 echo "$as_me:$LINENO: result
: no
" >&5
8319 echo "${ECHO_T}no
" >&6
8323 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8325 set dummy ${ncn_progname}; ac_word=$2
8326 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8327 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8328 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8329 echo $ECHO_N "(cached
) $ECHO_C" >&6
8331 if test -n "$OBJDUMP"; then
8332 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_prog_OBJDUMP="${ncn_progname}"
8342 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8350 OBJDUMP=$ac_cv_prog_OBJDUMP
8351 if test -n "$OBJDUMP"; then
8352 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8353 echo "${ECHO_T}$OBJDUMP" >&6
8355 echo "$as_me:$LINENO: result
: no
" >&5
8356 echo "${ECHO_T}no
" >&6
8360 test -n "$ac_cv_prog_OBJDUMP" && break
8363 if test -z "$ac_cv_prog_OBJDUMP" ; then
8365 if test $build = $host ; then
8368 OBJDUMP="${ncn_tool_prefix}$2"
8379 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8380 if test "${with_build_time_tools+set}" = set; then
8381 withval="$with_build_time_tools"
8385 with_build_time_tools=
8386 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8387 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8391 with_build_time_tools=
8396 if test -n "$CC_FOR_TARGET"; then
8397 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8398 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8399 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8402 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8403 for ncn_progname in cc gcc; do
8404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8405 set dummy ${ncn_progname}; ac_word=$2
8406 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8407 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8408 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8409 echo $ECHO_N "(cached
) $ECHO_C" >&6
8411 if test -n "$CC_FOR_TARGET"; then
8412 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir=.
8419 for ac_exec_ext in '' $ac_executable_extensions; do
8420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8421 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8422 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8430 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8431 if test -n "$CC_FOR_TARGET"; then
8432 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8433 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8435 echo "$as_me:$LINENO: result
: no
" >&5
8436 echo "${ECHO_T}no
" >&6
8442 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8443 for ncn_progname in cc gcc; do
8444 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8445 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8446 if test -x $with_build_time_tools/${ncn_progname}; then
8447 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8448 echo "$as_me:$LINENO: result
: yes" >&5
8449 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result
: no
" >&5
8453 echo "${ECHO_T}no
" >&6
8458 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8459 for ncn_progname in cc gcc; do
8460 if test -n "$ncn_target_tool_prefix"; then
8461 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8462 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8463 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8464 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8465 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8466 echo $ECHO_N "(cached
) $ECHO_C" >&6
8468 if test -n "$CC_FOR_TARGET"; then
8469 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 test -z "$as_dir" && as_dir=.
8476 for ac_exec_ext in '' $ac_executable_extensions; do
8477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8478 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8479 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8487 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8488 if test -n "$CC_FOR_TARGET"; then
8489 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8490 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8492 echo "$as_me:$LINENO: result
: no
" >&5
8493 echo "${ECHO_T}no
" >&6
8497 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8499 set dummy ${ncn_progname}; ac_word=$2
8500 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8501 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8502 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8503 echo $ECHO_N "(cached
) $ECHO_C" >&6
8505 if test -n "$CC_FOR_TARGET"; then
8506 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir=.
8513 for ac_exec_ext in '' $ac_executable_extensions; do
8514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8515 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8516 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8525 if test -n "$CC_FOR_TARGET"; then
8526 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8527 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8529 echo "$as_me:$LINENO: result
: no
" >&5
8530 echo "${ECHO_T}no
" >&6
8534 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8538 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8540 if test $build = $target ; then
8543 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8546 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8551 if test -n "$CXX_FOR_TARGET"; then
8552 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8553 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8554 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8557 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8558 for ncn_progname in c++ g++ cxx gxx; do
8559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8560 set dummy ${ncn_progname}; ac_word=$2
8561 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8562 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8563 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8564 echo $ECHO_N "(cached
) $ECHO_C" >&6
8566 if test -n "$CXX_FOR_TARGET"; then
8567 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8573 test -z "$as_dir" && as_dir=.
8574 for ac_exec_ext in '' $ac_executable_extensions; do
8575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8576 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8577 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8585 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8586 if test -n "$CXX_FOR_TARGET"; then
8587 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8588 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8590 echo "$as_me:$LINENO: result
: no
" >&5
8591 echo "${ECHO_T}no
" >&6
8597 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8598 for ncn_progname in c++ g++ cxx gxx; do
8599 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8600 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8601 if test -x $with_build_time_tools/${ncn_progname}; then
8602 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8603 echo "$as_me:$LINENO: result
: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result
: no
" >&5
8608 echo "${ECHO_T}no
" >&6
8613 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8614 for ncn_progname in c++ g++ cxx gxx; do
8615 if test -n "$ncn_target_tool_prefix"; then
8616 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8617 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8618 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8619 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8620 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8621 echo $ECHO_N "(cached
) $ECHO_C" >&6
8623 if test -n "$CXX_FOR_TARGET"; then
8624 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8634 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8642 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8643 if test -n "$CXX_FOR_TARGET"; then
8644 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8645 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8647 echo "$as_me:$LINENO: result
: no
" >&5
8648 echo "${ECHO_T}no
" >&6
8652 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8654 set dummy ${ncn_progname}; ac_word=$2
8655 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8656 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8657 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8658 echo $ECHO_N "(cached
) $ECHO_C" >&6
8660 if test -n "$CXX_FOR_TARGET"; then
8661 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8670 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8671 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8680 if test -n "$CXX_FOR_TARGET"; then
8681 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8682 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8684 echo "$as_me:$LINENO: result
: no
" >&5
8685 echo "${ECHO_T}no
" >&6
8689 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8693 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8694 set dummy c++ g++ cxx gxx
8695 if test $build = $target ; then
8698 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8701 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8706 if test -n "$GCC_FOR_TARGET"; then
8707 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8708 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8709 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8712 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8713 for ncn_progname in gcc; do
8714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8715 set dummy ${ncn_progname}; ac_word=$2
8716 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8717 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8718 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8719 echo $ECHO_N "(cached
) $ECHO_C" >&6
8721 if test -n "$GCC_FOR_TARGET"; then
8722 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8728 test -z "$as_dir" && as_dir=.
8729 for ac_exec_ext in '' $ac_executable_extensions; do
8730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8731 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8732 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8740 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8741 if test -n "$GCC_FOR_TARGET"; then
8742 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8743 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8745 echo "$as_me:$LINENO: result
: no
" >&5
8746 echo "${ECHO_T}no
" >&6
8752 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8753 for ncn_progname in gcc; do
8754 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8755 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8756 if test -x $with_build_time_tools/${ncn_progname}; then
8757 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8758 echo "$as_me:$LINENO: result
: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result
: no
" >&5
8763 echo "${ECHO_T}no
" >&6
8768 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8769 for ncn_progname in gcc; do
8770 if test -n "$ncn_target_tool_prefix"; then
8771 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8772 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8773 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8774 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8775 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8776 echo $ECHO_N "(cached
) $ECHO_C" >&6
8778 if test -n "$GCC_FOR_TARGET"; then
8779 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8788 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8789 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8797 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8798 if test -n "$GCC_FOR_TARGET"; then
8799 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8800 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8802 echo "$as_me:$LINENO: result
: no
" >&5
8803 echo "${ECHO_T}no
" >&6
8807 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8809 set dummy ${ncn_progname}; ac_word=$2
8810 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8811 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8812 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8813 echo $ECHO_N "(cached
) $ECHO_C" >&6
8815 if test -n "$GCC_FOR_TARGET"; then
8816 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8822 test -z "$as_dir" && as_dir=.
8823 for ac_exec_ext in '' $ac_executable_extensions; do
8824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8825 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8826 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8834 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8835 if test -n "$GCC_FOR_TARGET"; then
8836 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8837 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8839 echo "$as_me:$LINENO: result
: no
" >&5
8840 echo "${ECHO_T}no
" >&6
8844 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8848 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8849 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8851 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8856 if test -n "$GCJ_FOR_TARGET"; then
8857 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8858 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8859 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8862 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8863 for ncn_progname in gcj; do
8864 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8865 set dummy ${ncn_progname}; ac_word=$2
8866 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8867 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8868 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8869 echo $ECHO_N "(cached
) $ECHO_C" >&6
8871 if test -n "$GCJ_FOR_TARGET"; then
8872 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir=.
8879 for ac_exec_ext in '' $ac_executable_extensions; do
8880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8881 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8882 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8890 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8891 if test -n "$GCJ_FOR_TARGET"; then
8892 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8893 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8895 echo "$as_me:$LINENO: result
: no
" >&5
8896 echo "${ECHO_T}no
" >&6
8902 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8903 for ncn_progname in gcj; do
8904 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8905 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8906 if test -x $with_build_time_tools/${ncn_progname}; then
8907 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8908 echo "$as_me:$LINENO: result
: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8912 echo "$as_me:$LINENO: result
: no
" >&5
8913 echo "${ECHO_T}no
" >&6
8918 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8919 for ncn_progname in gcj; do
8920 if test -n "$ncn_target_tool_prefix"; then
8921 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8922 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8923 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8924 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8925 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8926 echo $ECHO_N "(cached
) $ECHO_C" >&6
8928 if test -n "$GCJ_FOR_TARGET"; then
8929 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8935 test -z "$as_dir" && as_dir=.
8936 for ac_exec_ext in '' $ac_executable_extensions; do
8937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8938 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8939 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8947 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8948 if test -n "$GCJ_FOR_TARGET"; then
8949 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8950 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8952 echo "$as_me:$LINENO: result
: no
" >&5
8953 echo "${ECHO_T}no
" >&6
8957 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8959 set dummy ${ncn_progname}; ac_word=$2
8960 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8961 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8962 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8963 echo $ECHO_N "(cached
) $ECHO_C" >&6
8965 if test -n "$GCJ_FOR_TARGET"; then
8966 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir=.
8973 for ac_exec_ext in '' $ac_executable_extensions; do
8974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8975 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8976 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8984 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8985 if test -n "$GCJ_FOR_TARGET"; then
8986 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8987 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8989 echo "$as_me:$LINENO: result
: no
" >&5
8990 echo "${ECHO_T}no
" >&6
8994 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8998 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9000 if test $build = $target ; then
9003 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9006 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9011 if test -n "$GFORTRAN_FOR_TARGET"; then
9012 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9013 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9014 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9017 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9018 for ncn_progname in gfortran; do
9019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9020 set dummy ${ncn_progname}; ac_word=$2
9021 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9022 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9023 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9024 echo $ECHO_N "(cached
) $ECHO_C" >&6
9026 if test -n "$GFORTRAN_FOR_TARGET"; then
9027 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9036 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9037 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9045 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9046 if test -n "$GFORTRAN_FOR_TARGET"; then
9047 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9048 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9050 echo "$as_me:$LINENO: result
: no
" >&5
9051 echo "${ECHO_T}no
" >&6
9057 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9058 for ncn_progname in gfortran; do
9059 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9060 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9061 if test -x $with_build_time_tools/${ncn_progname}; then
9062 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9063 echo "$as_me:$LINENO: result
: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9067 echo "$as_me:$LINENO: result
: no
" >&5
9068 echo "${ECHO_T}no
" >&6
9073 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9074 for ncn_progname in gfortran; do
9075 if test -n "$ncn_target_tool_prefix"; then
9076 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9077 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9078 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9079 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9080 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9081 echo $ECHO_N "(cached
) $ECHO_C" >&6
9083 if test -n "$GFORTRAN_FOR_TARGET"; then
9084 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir=.
9091 for ac_exec_ext in '' $ac_executable_extensions; do
9092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9093 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9094 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9102 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9103 if test -n "$GFORTRAN_FOR_TARGET"; then
9104 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9105 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9107 echo "$as_me:$LINENO: result
: no
" >&5
9108 echo "${ECHO_T}no
" >&6
9112 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9114 set dummy ${ncn_progname}; ac_word=$2
9115 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9117 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9118 echo $ECHO_N "(cached
) $ECHO_C" >&6
9120 if test -n "$GFORTRAN_FOR_TARGET"; then
9121 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir=.
9128 for ac_exec_ext in '' $ac_executable_extensions; do
9129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9131 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9139 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9140 if test -n "$GFORTRAN_FOR_TARGET"; then
9141 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9142 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9144 echo "$as_me:$LINENO: result
: no
" >&5
9145 echo "${ECHO_T}no
" >&6
9149 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9153 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9155 if test $build = $target ; then
9156 GFORTRAN_FOR_TARGET="$2"
9158 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9161 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9166 cat > conftest.c << \EOF
9171 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9172 have_gcc_for_target=yes
9174 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9175 have_gcc_for_target=no
9182 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9183 if test -n "$with_build_time_tools"; then
9184 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9185 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9186 if test -x $with_build_time_tools/ar; then
9187 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9188 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9189 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9190 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9192 echo "$as_me:$LINENO: result
: no
" >&5
9193 echo "${ECHO_T}no
" >&6
9195 elif test $build != $host && test $have_gcc_for_target = yes; then
9196 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9197 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9198 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9201 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9202 # Extract the first word of "ar", so it can be a program name with args.
9203 set dummy ar; ac_word=$2
9204 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9205 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9206 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9207 echo $ECHO_N "(cached
) $ECHO_C" >&6
9209 case $AR_FOR_TARGET in
9211 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9215 for as_dir in $gcc_cv_tool_dirs
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9221 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9222 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9231 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9233 if test -n "$AR_FOR_TARGET"; then
9234 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9235 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9237 echo "$as_me:$LINENO: result
: no
" >&5
9238 echo "${ECHO_T}no
" >&6
9242 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9245 if test -n "$AR_FOR_TARGET"; then
9246 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9247 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9248 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9251 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9252 for ncn_progname in ar; do
9253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9254 set dummy ${ncn_progname}; ac_word=$2
9255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9257 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9258 echo $ECHO_N "(cached
) $ECHO_C" >&6
9260 if test -n "$AR_FOR_TARGET"; then
9261 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9267 test -z "$as_dir" && as_dir=.
9268 for ac_exec_ext in '' $ac_executable_extensions; do
9269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9270 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9279 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9280 if test -n "$AR_FOR_TARGET"; then
9281 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9282 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9284 echo "$as_me:$LINENO: result
: no
" >&5
9285 echo "${ECHO_T}no
" >&6
9291 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9292 for ncn_progname in ar; do
9293 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9294 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9295 if test -x $with_build_time_tools/${ncn_progname}; then
9296 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9297 echo "$as_me:$LINENO: result
: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result
: no
" >&5
9302 echo "${ECHO_T}no
" >&6
9307 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9308 for ncn_progname in ar; do
9309 if test -n "$ncn_target_tool_prefix"; then
9310 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9311 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9312 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9314 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9315 echo $ECHO_N "(cached
) $ECHO_C" >&6
9317 if test -n "$AR_FOR_TARGET"; then
9318 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9324 test -z "$as_dir" && as_dir=.
9325 for ac_exec_ext in '' $ac_executable_extensions; do
9326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9327 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9336 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9337 if test -n "$AR_FOR_TARGET"; then
9338 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9339 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9341 echo "$as_me:$LINENO: result
: no
" >&5
9342 echo "${ECHO_T}no
" >&6
9346 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9348 set dummy ${ncn_progname}; ac_word=$2
9349 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9350 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9351 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9352 echo $ECHO_N "(cached
) $ECHO_C" >&6
9354 if test -n "$AR_FOR_TARGET"; then
9355 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9364 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9365 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9373 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9374 if test -n "$AR_FOR_TARGET"; then
9375 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9376 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9378 echo "$as_me:$LINENO: result
: no
" >&5
9379 echo "${ECHO_T}no
" >&6
9383 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9387 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9389 if test $build = $target ; then
9392 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9395 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9399 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9405 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9406 if test -n "$with_build_time_tools"; then
9407 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9408 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9409 if test -x $with_build_time_tools/as; then
9410 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9411 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9412 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9413 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9415 echo "$as_me:$LINENO: result
: no
" >&5
9416 echo "${ECHO_T}no
" >&6
9418 elif test $build != $host && test $have_gcc_for_target = yes; then
9419 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9420 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9421 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9424 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9425 # Extract the first word of "as
", so it can be a program name with args.
9426 set dummy as; ac_word=$2
9427 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9428 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9429 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9430 echo $ECHO_N "(cached
) $ECHO_C" >&6
9432 case $AS_FOR_TARGET in
9434 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9438 for as_dir in $gcc_cv_tool_dirs
9441 test -z "$as_dir" && as_dir=.
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9444 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9445 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9454 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9456 if test -n "$AS_FOR_TARGET"; then
9457 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9458 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9460 echo "$as_me:$LINENO: result
: no
" >&5
9461 echo "${ECHO_T}no
" >&6
9465 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9468 if test -n "$AS_FOR_TARGET"; then
9469 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9470 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9471 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9474 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9475 for ncn_progname in as; do
9476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9477 set dummy ${ncn_progname}; ac_word=$2
9478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9480 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9481 echo $ECHO_N "(cached
) $ECHO_C" >&6
9483 if test -n "$AS_FOR_TARGET"; then
9484 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9490 test -z "$as_dir" && as_dir=.
9491 for ac_exec_ext in '' $ac_executable_extensions; do
9492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9493 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9502 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9503 if test -n "$AS_FOR_TARGET"; then
9504 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9505 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9507 echo "$as_me:$LINENO: result
: no
" >&5
9508 echo "${ECHO_T}no
" >&6
9514 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9515 for ncn_progname in as; do
9516 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9517 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9518 if test -x $with_build_time_tools/${ncn_progname}; then
9519 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9520 echo "$as_me:$LINENO: result
: yes" >&5
9521 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result
: no
" >&5
9525 echo "${ECHO_T}no
" >&6
9530 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9531 for ncn_progname in as; do
9532 if test -n "$ncn_target_tool_prefix"; then
9533 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9534 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9535 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9536 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9537 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9538 echo $ECHO_N "(cached
) $ECHO_C" >&6
9540 if test -n "$AS_FOR_TARGET"; then
9541 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9550 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9551 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9559 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9560 if test -n "$AS_FOR_TARGET"; then
9561 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9562 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9564 echo "$as_me:$LINENO: result
: no
" >&5
9565 echo "${ECHO_T}no
" >&6
9569 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9571 set dummy ${ncn_progname}; ac_word=$2
9572 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9573 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9574 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9575 echo $ECHO_N "(cached
) $ECHO_C" >&6
9577 if test -n "$AS_FOR_TARGET"; then
9578 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir=.
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9587 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9596 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9597 if test -n "$AS_FOR_TARGET"; then
9598 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9599 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9601 echo "$as_me:$LINENO: result
: no
" >&5
9602 echo "${ECHO_T}no
" >&6
9606 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9610 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9612 if test $build = $target ; then
9615 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9618 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9622 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9628 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9629 if test -n "$with_build_time_tools"; then
9630 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9631 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9632 if test -x $with_build_time_tools/dlltool; then
9633 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9634 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9635 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9636 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9638 echo "$as_me:$LINENO: result
: no
" >&5
9639 echo "${ECHO_T}no
" >&6
9641 elif test $build != $host && test $have_gcc_for_target = yes; then
9642 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9643 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9644 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9647 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9648 # Extract the first word of "dlltool
", so it can be a program name with args.
9649 set dummy dlltool; ac_word=$2
9650 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9651 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9652 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9653 echo $ECHO_N "(cached
) $ECHO_C" >&6
9655 case $DLLTOOL_FOR_TARGET in
9657 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661 for as_dir in $gcc_cv_tool_dirs
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9667 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9668 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9677 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9679 if test -n "$DLLTOOL_FOR_TARGET"; then
9680 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9681 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9683 echo "$as_me:$LINENO: result
: no
" >&5
9684 echo "${ECHO_T}no
" >&6
9688 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9691 if test -n "$DLLTOOL_FOR_TARGET"; then
9692 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9693 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9694 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9697 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9698 for ncn_progname in dlltool; do
9699 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9700 set dummy ${ncn_progname}; ac_word=$2
9701 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9702 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9703 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9704 echo $ECHO_N "(cached
) $ECHO_C" >&6
9706 if test -n "$DLLTOOL_FOR_TARGET"; then
9707 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9713 test -z "$as_dir" && as_dir=.
9714 for ac_exec_ext in '' $ac_executable_extensions; do
9715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9716 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9717 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9725 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9726 if test -n "$DLLTOOL_FOR_TARGET"; then
9727 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9728 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9730 echo "$as_me:$LINENO: result
: no
" >&5
9731 echo "${ECHO_T}no
" >&6
9737 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9738 for ncn_progname in dlltool; do
9739 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9740 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9741 if test -x $with_build_time_tools/${ncn_progname}; then
9742 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9743 echo "$as_me:$LINENO: result
: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9747 echo "$as_me:$LINENO: result
: no
" >&5
9748 echo "${ECHO_T}no
" >&6
9753 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9754 for ncn_progname in dlltool; do
9755 if test -n "$ncn_target_tool_prefix"; then
9756 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9757 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9758 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9759 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9760 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9761 echo $ECHO_N "(cached
) $ECHO_C" >&6
9763 if test -n "$DLLTOOL_FOR_TARGET"; then
9764 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9773 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9774 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9782 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9783 if test -n "$DLLTOOL_FOR_TARGET"; then
9784 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9785 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9787 echo "$as_me:$LINENO: result
: no
" >&5
9788 echo "${ECHO_T}no
" >&6
9792 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9794 set dummy ${ncn_progname}; ac_word=$2
9795 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9796 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9797 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9798 echo $ECHO_N "(cached
) $ECHO_C" >&6
9800 if test -n "$DLLTOOL_FOR_TARGET"; then
9801 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9811 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9819 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9820 if test -n "$DLLTOOL_FOR_TARGET"; then
9821 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9822 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9824 echo "$as_me:$LINENO: result
: no
" >&5
9825 echo "${ECHO_T}no
" >&6
9829 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9833 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9835 if test $build = $target ; then
9836 DLLTOOL_FOR_TARGET="$2"
9838 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9841 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9845 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9851 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9852 if test -n "$with_build_time_tools"; then
9853 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9854 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9855 if test -x $with_build_time_tools/ld; then
9856 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9857 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9858 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9859 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9861 echo "$as_me:$LINENO: result
: no
" >&5
9862 echo "${ECHO_T}no
" >&6
9864 elif test $build != $host && test $have_gcc_for_target = yes; then
9865 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9866 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9867 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9870 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9871 # Extract the first word of "ld
", so it can be a program name with args.
9872 set dummy ld; ac_word=$2
9873 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9875 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9876 echo $ECHO_N "(cached
) $ECHO_C" >&6
9878 case $LD_FOR_TARGET in
9880 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9884 for as_dir in $gcc_cv_tool_dirs
9887 test -z "$as_dir" && as_dir=.
9888 for ac_exec_ext in '' $ac_executable_extensions; do
9889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9900 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9902 if test -n "$LD_FOR_TARGET"; then
9903 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9904 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9906 echo "$as_me:$LINENO: result
: no
" >&5
9907 echo "${ECHO_T}no
" >&6
9911 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9914 if test -n "$LD_FOR_TARGET"; then
9915 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9916 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9917 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9920 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9921 for ncn_progname in ld; do
9922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9923 set dummy ${ncn_progname}; ac_word=$2
9924 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9925 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9926 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9927 echo $ECHO_N "(cached
) $ECHO_C" >&6
9929 if test -n "$LD_FOR_TARGET"; then
9930 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir=.
9937 for ac_exec_ext in '' $ac_executable_extensions; do
9938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9939 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9940 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9948 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9949 if test -n "$LD_FOR_TARGET"; then
9950 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9951 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9953 echo "$as_me:$LINENO: result
: no
" >&5
9954 echo "${ECHO_T}no
" >&6
9960 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9961 for ncn_progname in ld; do
9962 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9963 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9964 if test -x $with_build_time_tools/${ncn_progname}; then
9965 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9966 echo "$as_me:$LINENO: result
: yes" >&5
9967 echo "${ECHO_T}yes" >&6
9970 echo "$as_me:$LINENO: result
: no
" >&5
9971 echo "${ECHO_T}no
" >&6
9976 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9977 for ncn_progname in ld; do
9978 if test -n "$ncn_target_tool_prefix"; then
9979 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9980 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9981 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9982 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9983 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9984 echo $ECHO_N "(cached
) $ECHO_C" >&6
9986 if test -n "$LD_FOR_TARGET"; then
9987 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir=.
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9997 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10005 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10006 if test -n "$LD_FOR_TARGET"; then
10007 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10008 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10010 echo "$as_me:$LINENO: result
: no
" >&5
10011 echo "${ECHO_T}no
" >&6
10015 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10017 set dummy ${ncn_progname}; ac_word=$2
10018 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10019 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10020 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10021 echo $ECHO_N "(cached
) $ECHO_C" >&6
10023 if test -n "$LD_FOR_TARGET"; then
10024 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10033 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10034 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10042 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10043 if test -n "$LD_FOR_TARGET"; then
10044 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10045 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10047 echo "$as_me:$LINENO: result
: no
" >&5
10048 echo "${ECHO_T}no
" >&6
10052 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10056 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10058 if test $build = $target ; then
10061 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10064 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10068 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10074 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10075 if test -n "$with_build_time_tools"; then
10076 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10077 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10078 if test -x $with_build_time_tools/lipo; then
10079 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10080 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10081 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10082 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10084 echo "$as_me:$LINENO: result
: no
" >&5
10085 echo "${ECHO_T}no
" >&6
10087 elif test $build != $host && test $have_gcc_for_target = yes; then
10088 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10089 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10090 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10093 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10094 # Extract the first word of "lipo
", so it can be a program name with args.
10095 set dummy lipo; ac_word=$2
10096 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10097 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10098 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10099 echo $ECHO_N "(cached
) $ECHO_C" >&6
10101 case $LIPO_FOR_TARGET in
10103 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10107 for as_dir in $gcc_cv_tool_dirs
10110 test -z "$as_dir" && as_dir=.
10111 for ac_exec_ext in '' $ac_executable_extensions; do
10112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10113 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10114 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10123 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10125 if test -n "$LIPO_FOR_TARGET"; then
10126 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10127 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10129 echo "$as_me:$LINENO: result
: no
" >&5
10130 echo "${ECHO_T}no
" >&6
10134 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10137 if test -n "$LIPO_FOR_TARGET"; then
10138 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10139 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10140 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10143 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10144 for ncn_progname in lipo; do
10145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10146 set dummy ${ncn_progname}; ac_word=$2
10147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10149 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10150 echo $ECHO_N "(cached
) $ECHO_C" >&6
10152 if test -n "$LIPO_FOR_TARGET"; then
10153 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10156 for as_dir in $PATH
10159 test -z "$as_dir" && as_dir=.
10160 for ac_exec_ext in '' $ac_executable_extensions; do
10161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10171 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10172 if test -n "$LIPO_FOR_TARGET"; then
10173 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10174 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10176 echo "$as_me:$LINENO: result
: no
" >&5
10177 echo "${ECHO_T}no
" >&6
10183 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10184 for ncn_progname in lipo; do
10185 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10186 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10187 if test -x $with_build_time_tools/${ncn_progname}; then
10188 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10189 echo "$as_me:$LINENO: result
: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10193 echo "$as_me:$LINENO: result
: no
" >&5
10194 echo "${ECHO_T}no
" >&6
10199 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10200 for ncn_progname in lipo; do
10201 if test -n "$ncn_target_tool_prefix"; then
10202 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10203 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10204 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10205 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10206 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10207 echo $ECHO_N "(cached
) $ECHO_C" >&6
10209 if test -n "$LIPO_FOR_TARGET"; then
10210 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10213 for as_dir in $PATH
10216 test -z "$as_dir" && as_dir=.
10217 for ac_exec_ext in '' $ac_executable_extensions; do
10218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10219 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10220 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10228 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10229 if test -n "$LIPO_FOR_TARGET"; then
10230 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10231 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10233 echo "$as_me:$LINENO: result
: no
" >&5
10234 echo "${ECHO_T}no
" >&6
10238 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10239 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10240 set dummy ${ncn_progname}; ac_word=$2
10241 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10242 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10243 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10244 echo $ECHO_N "(cached
) $ECHO_C" >&6
10246 if test -n "$LIPO_FOR_TARGET"; then
10247 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10250 for as_dir in $PATH
10253 test -z "$as_dir" && as_dir=.
10254 for ac_exec_ext in '' $ac_executable_extensions; do
10255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10256 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10257 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10265 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10266 if test -n "$LIPO_FOR_TARGET"; then
10267 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10268 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10270 echo "$as_me:$LINENO: result
: no
" >&5
10271 echo "${ECHO_T}no
" >&6
10275 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10279 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10281 if test $build = $target ; then
10282 LIPO_FOR_TARGET="$2"
10284 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10287 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10291 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10297 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10298 if test -n "$with_build_time_tools"; then
10299 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10300 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10301 if test -x $with_build_time_tools/nm; then
10302 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10303 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10304 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10305 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10307 echo "$as_me:$LINENO: result
: no
" >&5
10308 echo "${ECHO_T}no
" >&6
10310 elif test $build != $host && test $have_gcc_for_target = yes; then
10311 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10312 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10313 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10316 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10317 # Extract the first word of "nm
", so it can be a program name with args.
10318 set dummy nm; ac_word=$2
10319 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10321 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10322 echo $ECHO_N "(cached
) $ECHO_C" >&6
10324 case $NM_FOR_TARGET in
10326 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10330 for as_dir in $gcc_cv_tool_dirs
10333 test -z "$as_dir" && as_dir=.
10334 for ac_exec_ext in '' $ac_executable_extensions; do
10335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10336 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10346 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10348 if test -n "$NM_FOR_TARGET"; then
10349 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10350 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10352 echo "$as_me:$LINENO: result
: no
" >&5
10353 echo "${ECHO_T}no
" >&6
10357 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10360 if test -n "$NM_FOR_TARGET"; then
10361 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10362 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10363 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10366 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10367 for ncn_progname in nm; do
10368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10369 set dummy ${ncn_progname}; ac_word=$2
10370 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10372 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10373 echo $ECHO_N "(cached
) $ECHO_C" >&6
10375 if test -n "$NM_FOR_TARGET"; then
10376 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10379 for as_dir in $PATH
10382 test -z "$as_dir" && as_dir=.
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10386 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10394 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10395 if test -n "$NM_FOR_TARGET"; then
10396 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10397 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10399 echo "$as_me:$LINENO: result
: no
" >&5
10400 echo "${ECHO_T}no
" >&6
10406 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10407 for ncn_progname in nm; do
10408 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10409 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10410 if test -x $with_build_time_tools/${ncn_progname}; then
10411 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10412 echo "$as_me:$LINENO: result
: yes" >&5
10413 echo "${ECHO_T}yes" >&6
10416 echo "$as_me:$LINENO: result
: no
" >&5
10417 echo "${ECHO_T}no
" >&6
10422 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10423 for ncn_progname in nm; do
10424 if test -n "$ncn_target_tool_prefix"; then
10425 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10427 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10428 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10429 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10430 echo $ECHO_N "(cached
) $ECHO_C" >&6
10432 if test -n "$NM_FOR_TARGET"; then
10433 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10443 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10451 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10452 if test -n "$NM_FOR_TARGET"; then
10453 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10454 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10456 echo "$as_me:$LINENO: result
: no
" >&5
10457 echo "${ECHO_T}no
" >&6
10461 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10463 set dummy ${ncn_progname}; ac_word=$2
10464 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10465 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10466 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10467 echo $ECHO_N "(cached
) $ECHO_C" >&6
10469 if test -n "$NM_FOR_TARGET"; then
10470 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10473 for as_dir in $PATH
10476 test -z "$as_dir" && as_dir=.
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10479 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10480 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10488 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10489 if test -n "$NM_FOR_TARGET"; then
10490 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10491 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10493 echo "$as_me:$LINENO: result
: no
" >&5
10494 echo "${ECHO_T}no
" >&6
10498 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10502 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10504 if test $build = $target ; then
10507 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10510 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10514 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10520 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10521 if test -n "$with_build_time_tools"; then
10522 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10523 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10524 if test -x $with_build_time_tools/objdump; then
10525 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10526 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10527 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10528 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10530 echo "$as_me:$LINENO: result
: no
" >&5
10531 echo "${ECHO_T}no
" >&6
10533 elif test $build != $host && test $have_gcc_for_target = yes; then
10534 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10535 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10536 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10539 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10540 # Extract the first word of "objdump
", so it can be a program name with args.
10541 set dummy objdump; ac_word=$2
10542 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10543 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10544 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10545 echo $ECHO_N "(cached
) $ECHO_C" >&6
10547 case $OBJDUMP_FOR_TARGET in
10549 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10553 for as_dir in $gcc_cv_tool_dirs
10556 test -z "$as_dir" && as_dir=.
10557 for ac_exec_ext in '' $ac_executable_extensions; do
10558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10559 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10560 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10569 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10571 if test -n "$OBJDUMP_FOR_TARGET"; then
10572 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10573 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10575 echo "$as_me:$LINENO: result
: no
" >&5
10576 echo "${ECHO_T}no
" >&6
10580 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10583 if test -n "$OBJDUMP_FOR_TARGET"; then
10584 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10585 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10586 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10589 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10590 for ncn_progname in objdump; do
10591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10592 set dummy ${ncn_progname}; ac_word=$2
10593 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10594 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10595 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10596 echo $ECHO_N "(cached
) $ECHO_C" >&6
10598 if test -n "$OBJDUMP_FOR_TARGET"; then
10599 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10605 test -z "$as_dir" && as_dir=.
10606 for ac_exec_ext in '' $ac_executable_extensions; do
10607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10608 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10609 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10617 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10618 if test -n "$OBJDUMP_FOR_TARGET"; then
10619 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10620 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10622 echo "$as_me:$LINENO: result
: no
" >&5
10623 echo "${ECHO_T}no
" >&6
10629 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10630 for ncn_progname in objdump; do
10631 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10632 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10633 if test -x $with_build_time_tools/${ncn_progname}; then
10634 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10635 echo "$as_me:$LINENO: result
: yes" >&5
10636 echo "${ECHO_T}yes" >&6
10639 echo "$as_me:$LINENO: result
: no
" >&5
10640 echo "${ECHO_T}no
" >&6
10645 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10646 for ncn_progname in objdump; do
10647 if test -n "$ncn_target_tool_prefix"; then
10648 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10649 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10650 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10651 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10652 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10653 echo $ECHO_N "(cached
) $ECHO_C" >&6
10655 if test -n "$OBJDUMP_FOR_TARGET"; then
10656 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for ac_exec_ext in '' $ac_executable_extensions; do
10664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10665 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10666 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10674 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10675 if test -n "$OBJDUMP_FOR_TARGET"; then
10676 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10677 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10679 echo "$as_me:$LINENO: result
: no
" >&5
10680 echo "${ECHO_T}no
" >&6
10684 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10686 set dummy ${ncn_progname}; ac_word=$2
10687 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10688 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10689 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10690 echo $ECHO_N "(cached
) $ECHO_C" >&6
10692 if test -n "$OBJDUMP_FOR_TARGET"; then
10693 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10696 for as_dir in $PATH
10699 test -z "$as_dir" && as_dir=.
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10702 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10703 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10711 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10712 if test -n "$OBJDUMP_FOR_TARGET"; then
10713 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10714 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10716 echo "$as_me:$LINENO: result
: no
" >&5
10717 echo "${ECHO_T}no
" >&6
10721 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10725 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10727 if test $build = $target ; then
10728 OBJDUMP_FOR_TARGET="$2"
10730 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10733 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10737 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10743 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10744 if test -n "$with_build_time_tools"; then
10745 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10746 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10747 if test -x $with_build_time_tools/ranlib; then
10748 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10749 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10750 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10751 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10753 echo "$as_me:$LINENO: result
: no
" >&5
10754 echo "${ECHO_T}no
" >&6
10756 elif test $build != $host && test $have_gcc_for_target = yes; then
10757 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10758 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10759 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10762 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10763 # Extract the first word of "ranlib
", so it can be a program name with args.
10764 set dummy ranlib; ac_word=$2
10765 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10766 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10767 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10768 echo $ECHO_N "(cached
) $ECHO_C" >&6
10770 case $RANLIB_FOR_TARGET in
10772 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10776 for as_dir in $gcc_cv_tool_dirs
10779 test -z "$as_dir" && as_dir=.
10780 for ac_exec_ext in '' $ac_executable_extensions; do
10781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10782 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10783 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10792 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10794 if test -n "$RANLIB_FOR_TARGET"; then
10795 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10796 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10798 echo "$as_me:$LINENO: result
: no
" >&5
10799 echo "${ECHO_T}no
" >&6
10803 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10806 if test -n "$RANLIB_FOR_TARGET"; then
10807 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10808 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10809 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10812 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10813 for ncn_progname in ranlib; do
10814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10815 set dummy ${ncn_progname}; ac_word=$2
10816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10818 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10819 echo $ECHO_N "(cached
) $ECHO_C" >&6
10821 if test -n "$RANLIB_FOR_TARGET"; then
10822 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10825 for as_dir in $PATH
10828 test -z "$as_dir" && as_dir=.
10829 for ac_exec_ext in '' $ac_executable_extensions; do
10830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10831 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10832 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10840 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10841 if test -n "$RANLIB_FOR_TARGET"; then
10842 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10843 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10845 echo "$as_me:$LINENO: result
: no
" >&5
10846 echo "${ECHO_T}no
" >&6
10852 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10853 for ncn_progname in ranlib; do
10854 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10855 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10856 if test -x $with_build_time_tools/${ncn_progname}; then
10857 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10858 echo "$as_me:$LINENO: result
: yes" >&5
10859 echo "${ECHO_T}yes" >&6
10862 echo "$as_me:$LINENO: result
: no
" >&5
10863 echo "${ECHO_T}no
" >&6
10868 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10869 for ncn_progname in ranlib; do
10870 if test -n "$ncn_target_tool_prefix"; then
10871 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10872 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10873 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10875 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10876 echo $ECHO_N "(cached
) $ECHO_C" >&6
10878 if test -n "$RANLIB_FOR_TARGET"; then
10879 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10882 for as_dir in $PATH
10885 test -z "$as_dir" && as_dir=.
10886 for ac_exec_ext in '' $ac_executable_extensions; do
10887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10888 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10897 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10898 if test -n "$RANLIB_FOR_TARGET"; then
10899 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10900 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10902 echo "$as_me:$LINENO: result
: no
" >&5
10903 echo "${ECHO_T}no
" >&6
10907 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10908 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10909 set dummy ${ncn_progname}; ac_word=$2
10910 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10911 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10912 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10913 echo $ECHO_N "(cached
) $ECHO_C" >&6
10915 if test -n "$RANLIB_FOR_TARGET"; then
10916 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10926 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10934 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10935 if test -n "$RANLIB_FOR_TARGET"; then
10936 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10937 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10939 echo "$as_me:$LINENO: result
: no
" >&5
10940 echo "${ECHO_T}no
" >&6
10944 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10948 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10950 if test $build = $target ; then
10951 RANLIB_FOR_TARGET="$2"
10953 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10956 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10960 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10966 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10967 if test -n "$with_build_time_tools"; then
10968 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10969 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10970 if test -x $with_build_time_tools/strip; then
10971 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10972 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10973 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10974 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10976 echo "$as_me:$LINENO: result
: no
" >&5
10977 echo "${ECHO_T}no
" >&6
10979 elif test $build != $host && test $have_gcc_for_target = yes; then
10980 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10981 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10982 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10985 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10986 # Extract the first word of "strip
", so it can be a program name with args.
10987 set dummy strip; ac_word=$2
10988 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10989 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10990 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10991 echo $ECHO_N "(cached
) $ECHO_C" >&6
10993 case $STRIP_FOR_TARGET in
10995 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999 for as_dir in $gcc_cv_tool_dirs
11002 test -z "$as_dir" && as_dir=.
11003 for ac_exec_ext in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11006 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11015 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11017 if test -n "$STRIP_FOR_TARGET"; then
11018 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11019 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11021 echo "$as_me:$LINENO: result
: no
" >&5
11022 echo "${ECHO_T}no
" >&6
11026 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11029 if test -n "$STRIP_FOR_TARGET"; then
11030 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11031 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11032 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11035 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11036 for ncn_progname in strip; do
11037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11038 set dummy ${ncn_progname}; ac_word=$2
11039 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11041 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11042 echo $ECHO_N "(cached
) $ECHO_C" >&6
11044 if test -n "$STRIP_FOR_TARGET"; then
11045 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11048 for as_dir in $PATH
11051 test -z "$as_dir" && as_dir=.
11052 for ac_exec_ext in '' $ac_executable_extensions; do
11053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11063 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11064 if test -n "$STRIP_FOR_TARGET"; then
11065 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11066 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11068 echo "$as_me:$LINENO: result
: no
" >&5
11069 echo "${ECHO_T}no
" >&6
11075 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11076 for ncn_progname in strip; do
11077 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11078 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11079 if test -x $with_build_time_tools/${ncn_progname}; then
11080 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11081 echo "$as_me:$LINENO: result
: yes" >&5
11082 echo "${ECHO_T}yes" >&6
11085 echo "$as_me:$LINENO: result
: no
" >&5
11086 echo "${ECHO_T}no
" >&6
11091 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11092 for ncn_progname in strip; do
11093 if test -n "$ncn_target_tool_prefix"; then
11094 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11095 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11096 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11097 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11098 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11099 echo $ECHO_N "(cached
) $ECHO_C" >&6
11101 if test -n "$STRIP_FOR_TARGET"; then
11102 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11105 for as_dir in $PATH
11108 test -z "$as_dir" && as_dir=.
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11111 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11112 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11120 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11121 if test -n "$STRIP_FOR_TARGET"; then
11122 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11123 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11125 echo "$as_me:$LINENO: result
: no
" >&5
11126 echo "${ECHO_T}no
" >&6
11130 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11131 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11132 set dummy ${ncn_progname}; ac_word=$2
11133 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11134 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11135 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11136 echo $ECHO_N "(cached
) $ECHO_C" >&6
11138 if test -n "$STRIP_FOR_TARGET"; then
11139 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142 for as_dir in $PATH
11145 test -z "$as_dir" && as_dir=.
11146 for ac_exec_ext in '' $ac_executable_extensions; do
11147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11148 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11149 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11157 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11158 if test -n "$STRIP_FOR_TARGET"; then
11159 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11160 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11162 echo "$as_me:$LINENO: result
: no
" >&5
11163 echo "${ECHO_T}no
" >&6
11167 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11171 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11173 if test $build = $target ; then
11174 STRIP_FOR_TARGET="$2"
11176 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11179 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11183 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11189 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11190 if test -n "$with_build_time_tools"; then
11191 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11192 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11193 if test -x $with_build_time_tools/windres; then
11194 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11195 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11196 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11197 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11199 echo "$as_me:$LINENO: result
: no
" >&5
11200 echo "${ECHO_T}no
" >&6
11202 elif test $build != $host && test $have_gcc_for_target = yes; then
11203 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11204 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11205 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11208 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11209 # Extract the first word of "windres
", so it can be a program name with args.
11210 set dummy windres; ac_word=$2
11211 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11212 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11213 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11214 echo $ECHO_N "(cached
) $ECHO_C" >&6
11216 case $WINDRES_FOR_TARGET in
11218 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11222 for as_dir in $gcc_cv_tool_dirs
11225 test -z "$as_dir" && as_dir=.
11226 for ac_exec_ext in '' $ac_executable_extensions; do
11227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11228 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11229 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11238 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11240 if test -n "$WINDRES_FOR_TARGET"; then
11241 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11242 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11244 echo "$as_me:$LINENO: result
: no
" >&5
11245 echo "${ECHO_T}no
" >&6
11249 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11252 if test -n "$WINDRES_FOR_TARGET"; then
11253 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11254 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11255 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11258 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11259 for ncn_progname in windres; do
11260 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11261 set dummy ${ncn_progname}; ac_word=$2
11262 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11263 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11264 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11265 echo $ECHO_N "(cached
) $ECHO_C" >&6
11267 if test -n "$WINDRES_FOR_TARGET"; then
11268 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271 for as_dir in $PATH
11274 test -z "$as_dir" && as_dir=.
11275 for ac_exec_ext in '' $ac_executable_extensions; do
11276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11277 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11278 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11286 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11287 if test -n "$WINDRES_FOR_TARGET"; then
11288 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11289 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11291 echo "$as_me:$LINENO: result
: no
" >&5
11292 echo "${ECHO_T}no
" >&6
11298 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11299 for ncn_progname in windres; do
11300 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11301 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11302 if test -x $with_build_time_tools/${ncn_progname}; then
11303 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11304 echo "$as_me:$LINENO: result
: yes" >&5
11305 echo "${ECHO_T}yes" >&6
11308 echo "$as_me:$LINENO: result
: no
" >&5
11309 echo "${ECHO_T}no
" >&6
11314 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11315 for ncn_progname in windres; do
11316 if test -n "$ncn_target_tool_prefix"; then
11317 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11318 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11319 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11321 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11322 echo $ECHO_N "(cached
) $ECHO_C" >&6
11324 if test -n "$WINDRES_FOR_TARGET"; then
11325 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328 for as_dir in $PATH
11331 test -z "$as_dir" && as_dir=.
11332 for ac_exec_ext in '' $ac_executable_extensions; do
11333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11334 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11343 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11344 if test -n "$WINDRES_FOR_TARGET"; then
11345 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11346 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11348 echo "$as_me:$LINENO: result
: no
" >&5
11349 echo "${ECHO_T}no
" >&6
11353 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11355 set dummy ${ncn_progname}; ac_word=$2
11356 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11357 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11358 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11359 echo $ECHO_N "(cached
) $ECHO_C" >&6
11361 if test -n "$WINDRES_FOR_TARGET"; then
11362 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11365 for as_dir in $PATH
11368 test -z "$as_dir" && as_dir=.
11369 for ac_exec_ext in '' $ac_executable_extensions; do
11370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11371 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11372 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11380 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11381 if test -n "$WINDRES_FOR_TARGET"; then
11382 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11383 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11385 echo "$as_me:$LINENO: result
: no
" >&5
11386 echo "${ECHO_T}no
" >&6
11390 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11394 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11396 if test $build = $target ; then
11397 WINDRES_FOR_TARGET="$2"
11399 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11402 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11406 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11412 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11413 if test -n "$with_build_time_tools"; then
11414 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11415 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11416 if test -x $with_build_time_tools/windmc; then
11417 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11418 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11419 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11420 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11422 echo "$as_me:$LINENO: result
: no
" >&5
11423 echo "${ECHO_T}no
" >&6
11425 elif test $build != $host && test $have_gcc_for_target = yes; then
11426 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11427 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11428 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11431 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11432 # Extract the first word of "windmc
", so it can be a program name with args.
11433 set dummy windmc; ac_word=$2
11434 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11435 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11436 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11437 echo $ECHO_N "(cached
) $ECHO_C" >&6
11439 case $WINDMC_FOR_TARGET in
11441 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445 for as_dir in $gcc_cv_tool_dirs
11448 test -z "$as_dir" && as_dir=.
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11451 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11452 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11461 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11463 if test -n "$WINDMC_FOR_TARGET"; then
11464 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11465 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11467 echo "$as_me:$LINENO: result
: no
" >&5
11468 echo "${ECHO_T}no
" >&6
11472 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11475 if test -n "$WINDMC_FOR_TARGET"; then
11476 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11477 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11478 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11481 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11482 for ncn_progname in windmc; do
11483 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11484 set dummy ${ncn_progname}; ac_word=$2
11485 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11486 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11487 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11488 echo $ECHO_N "(cached
) $ECHO_C" >&6
11490 if test -n "$WINDMC_FOR_TARGET"; then
11491 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11494 for as_dir in $PATH
11497 test -z "$as_dir" && as_dir=.
11498 for ac_exec_ext in '' $ac_executable_extensions; do
11499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11500 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11501 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11509 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11510 if test -n "$WINDMC_FOR_TARGET"; then
11511 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11512 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11514 echo "$as_me:$LINENO: result
: no
" >&5
11515 echo "${ECHO_T}no
" >&6
11521 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11522 for ncn_progname in windmc; do
11523 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11524 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11525 if test -x $with_build_time_tools/${ncn_progname}; then
11526 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11527 echo "$as_me:$LINENO: result
: yes" >&5
11528 echo "${ECHO_T}yes" >&6
11531 echo "$as_me:$LINENO: result
: no
" >&5
11532 echo "${ECHO_T}no
" >&6
11537 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11538 for ncn_progname in windmc; do
11539 if test -n "$ncn_target_tool_prefix"; then
11540 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11541 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11542 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11543 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11544 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11545 echo $ECHO_N "(cached
) $ECHO_C" >&6
11547 if test -n "$WINDMC_FOR_TARGET"; then
11548 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11551 for as_dir in $PATH
11554 test -z "$as_dir" && as_dir=.
11555 for ac_exec_ext in '' $ac_executable_extensions; do
11556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11557 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11558 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11566 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11567 if test -n "$WINDMC_FOR_TARGET"; then
11568 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11569 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11571 echo "$as_me:$LINENO: result
: no
" >&5
11572 echo "${ECHO_T}no
" >&6
11576 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11577 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11578 set dummy ${ncn_progname}; ac_word=$2
11579 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11580 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11581 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11582 echo $ECHO_N "(cached
) $ECHO_C" >&6
11584 if test -n "$WINDMC_FOR_TARGET"; then
11585 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11588 for as_dir in $PATH
11591 test -z "$as_dir" && as_dir=.
11592 for ac_exec_ext in '' $ac_executable_extensions; do
11593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11594 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11595 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11603 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11604 if test -n "$WINDMC_FOR_TARGET"; then
11605 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11606 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11608 echo "$as_me:$LINENO: result
: no
" >&5
11609 echo "${ECHO_T}no
" >&6
11613 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11617 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11619 if test $build = $target ; then
11620 WINDMC_FOR_TARGET="$2"
11622 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11625 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11629 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11633 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11635 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11636 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11637 if test "x
${build}" != "x
${host}" ; then
11638 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11639 # We already found the complete path
11640 ac_dir=`dirname $AR_FOR_TARGET`
11641 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11642 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11644 # Canadian cross, just use what we found
11645 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11646 echo "${ECHO_T}pre-installed
" >&6
11650 case " ${configdirs} " in
11655 if test $ok = yes; then
11656 # An in-tree tool is available and we can use it
11657 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11658 echo "$as_me:$LINENO: result
: just compiled
" >&5
11659 echo "${ECHO_T}just compiled
" >&6
11660 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11661 # We already found the complete path
11662 ac_dir=`dirname $AR_FOR_TARGET`
11663 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11664 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11665 elif test "x
$target" = "x
$host"; then
11666 # We can use an host tool
11667 AR_FOR_TARGET='$(AR)'
11668 echo "$as_me:$LINENO: result
: host tool
" >&5
11669 echo "${ECHO_T}host tool
" >&6
11671 # We need a cross tool
11672 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11673 echo "${ECHO_T}pre-installed
" >&6
11677 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11678 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11679 if test "x
${build}" != "x
${host}" ; then
11680 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11681 # We already found the complete path
11682 ac_dir=`dirname $AS_FOR_TARGET`
11683 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11684 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11686 # Canadian cross, just use what we found
11687 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11688 echo "${ECHO_T}pre-installed
" >&6
11692 case " ${configdirs} " in
11697 if test $ok = yes; then
11698 # An in-tree tool is available and we can use it
11699 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11700 echo "$as_me:$LINENO: result
: just compiled
" >&5
11701 echo "${ECHO_T}just compiled
" >&6
11702 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11703 # We already found the complete path
11704 ac_dir=`dirname $AS_FOR_TARGET`
11705 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11706 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11707 elif test "x
$target" = "x
$host"; then
11708 # We can use an host tool
11709 AS_FOR_TARGET='$(AS)'
11710 echo "$as_me:$LINENO: result
: host tool
" >&5
11711 echo "${ECHO_T}host tool
" >&6
11713 # We need a cross tool
11714 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11715 echo "${ECHO_T}pre-installed
" >&6
11719 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11720 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11721 if test "x
${build}" != "x
${host}" ; then
11722 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11723 # We already found the complete path
11724 ac_dir=`dirname $CC_FOR_TARGET`
11725 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11726 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11728 # Canadian cross, just use what we found
11729 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11730 echo "${ECHO_T}pre-installed
" >&6
11734 case " ${configdirs} " in
11739 if test $ok = yes; then
11740 # An in-tree tool is available and we can use it
11741 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11742 echo "$as_me:$LINENO: result
: just compiled
" >&5
11743 echo "${ECHO_T}just compiled
" >&6
11744 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11745 # We already found the complete path
11746 ac_dir=`dirname $CC_FOR_TARGET`
11747 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11748 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11749 elif test "x
$target" = "x
$host"; then
11750 # We can use an host tool
11751 CC_FOR_TARGET='$(CC)'
11752 echo "$as_me:$LINENO: result
: host tool
" >&5
11753 echo "${ECHO_T}host tool
" >&6
11755 # We need a cross tool
11756 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11757 echo "${ECHO_T}pre-installed
" >&6
11761 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11762 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11763 if test "x
${build}" != "x
${host}" ; then
11764 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11765 # We already found the complete path
11766 ac_dir=`dirname $CXX_FOR_TARGET`
11767 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11768 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11770 # Canadian cross, just use what we found
11771 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11772 echo "${ECHO_T}pre-installed
" >&6
11776 case " ${configdirs} " in
11780 case ,${enable_languages}, in
11784 if test $ok = yes; then
11785 # An in-tree tool is available and we can use it
11786 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'
11787 echo "$as_me:$LINENO: result
: just compiled
" >&5
11788 echo "${ECHO_T}just compiled
" >&6
11789 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11790 # We already found the complete path
11791 ac_dir=`dirname $CXX_FOR_TARGET`
11792 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11793 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11794 elif test "x
$target" = "x
$host"; then
11795 # We can use an host tool
11796 CXX_FOR_TARGET='$(CXX)'
11797 echo "$as_me:$LINENO: result
: host tool
" >&5
11798 echo "${ECHO_T}host tool
" >&6
11800 # We need a cross tool
11801 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11802 echo "${ECHO_T}pre-installed
" >&6
11806 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11807 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11808 if test "x
${build}" != "x
${host}" ; then
11809 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11810 # We already found the complete path
11811 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11812 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11813 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11815 # Canadian cross, just use what we found
11816 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11817 echo "${ECHO_T}pre-installed
" >&6
11821 case " ${configdirs} " in
11825 case ,${enable_languages}, in
11829 if test $ok = yes; then
11830 # An in-tree tool is available and we can use it
11831 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'
11832 echo "$as_me:$LINENO: result
: just compiled
" >&5
11833 echo "${ECHO_T}just compiled
" >&6
11834 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11835 # We already found the complete path
11836 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11837 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11838 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11839 elif test "x
$target" = "x
$host"; then
11840 # We can use an host tool
11841 RAW_CXX_FOR_TARGET='$(CXX)'
11842 echo "$as_me:$LINENO: result
: host tool
" >&5
11843 echo "${ECHO_T}host tool
" >&6
11845 # We need a cross tool
11846 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11847 echo "${ECHO_T}pre-installed
" >&6
11851 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11852 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11853 if test "x
${build}" != "x
${host}" ; then
11854 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11855 # We already found the complete path
11856 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11857 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11858 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11860 # Canadian cross, just use what we found
11861 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11862 echo "${ECHO_T}pre-installed
" >&6
11866 case " ${configdirs} " in
11871 if test $ok = yes; then
11872 # An in-tree tool is available and we can use it
11873 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11874 echo "$as_me:$LINENO: result
: just compiled
" >&5
11875 echo "${ECHO_T}just compiled
" >&6
11876 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11877 # We already found the complete path
11878 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11879 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11880 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11881 elif test "x
$target" = "x
$host"; then
11882 # We can use an host tool
11883 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11884 echo "$as_me:$LINENO: result
: host tool
" >&5
11885 echo "${ECHO_T}host tool
" >&6
11887 # We need a cross tool
11888 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11889 echo "${ECHO_T}pre-installed
" >&6
11893 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11894 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11895 if test "x
${build}" != "x
${host}" ; then
11896 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11897 # We already found the complete path
11898 ac_dir=`dirname $GCC_FOR_TARGET`
11899 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11900 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11902 # Canadian cross, just use what we found
11903 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11904 echo "${ECHO_T}pre-installed
" >&6
11908 case " ${configdirs} " in
11913 if test $ok = yes; then
11914 # An in-tree tool is available and we can use it
11915 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11916 echo "$as_me:$LINENO: result
: just compiled
" >&5
11917 echo "${ECHO_T}just compiled
" >&6
11918 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11919 # We already found the complete path
11920 ac_dir=`dirname $GCC_FOR_TARGET`
11921 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11922 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11923 elif test "x
$target" = "x
$host"; then
11924 # We can use an host tool
11925 GCC_FOR_TARGET='$()'
11926 echo "$as_me:$LINENO: result
: host tool
" >&5
11927 echo "${ECHO_T}host tool
" >&6
11929 # We need a cross tool
11930 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11931 echo "${ECHO_T}pre-installed
" >&6
11935 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11936 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11937 if test "x
${build}" != "x
${host}" ; then
11938 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11939 # We already found the complete path
11940 ac_dir=`dirname $GCJ_FOR_TARGET`
11941 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11942 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11944 # Canadian cross, just use what we found
11945 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11946 echo "${ECHO_T}pre-installed
" >&6
11950 case " ${configdirs} " in
11954 case ,${enable_languages}, in
11958 if test $ok = yes; then
11959 # An in-tree tool is available and we can use it
11960 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11961 echo "$as_me:$LINENO: result
: just compiled
" >&5
11962 echo "${ECHO_T}just compiled
" >&6
11963 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11964 # We already found the complete path
11965 ac_dir=`dirname $GCJ_FOR_TARGET`
11966 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11967 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11968 elif test "x
$target" = "x
$host"; then
11969 # We can use an host tool
11970 GCJ_FOR_TARGET='$(GCJ)'
11971 echo "$as_me:$LINENO: result
: host tool
" >&5
11972 echo "${ECHO_T}host tool
" >&6
11974 # We need a cross tool
11975 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11976 echo "${ECHO_T}pre-installed
" >&6
11980 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11981 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11982 if test "x
${build}" != "x
${host}" ; then
11983 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11984 # We already found the complete path
11985 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11986 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11987 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11989 # Canadian cross, just use what we found
11990 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11991 echo "${ECHO_T}pre-installed
" >&6
11995 case " ${configdirs} " in
11999 case ,${enable_languages}, in
12003 if test $ok = yes; then
12004 # An in-tree tool is available and we can use it
12005 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12006 echo "$as_me:$LINENO: result
: just compiled
" >&5
12007 echo "${ECHO_T}just compiled
" >&6
12008 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12009 # We already found the complete path
12010 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12011 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12012 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12013 elif test "x
$target" = "x
$host"; then
12014 # We can use an host tool
12015 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12016 echo "$as_me:$LINENO: result
: host tool
" >&5
12017 echo "${ECHO_T}host tool
" >&6
12019 # We need a cross tool
12020 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12021 echo "${ECHO_T}pre-installed
" >&6
12025 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12026 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12027 if test "x
${build}" != "x
${host}" ; then
12028 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12029 # We already found the complete path
12030 ac_dir=`dirname $LD_FOR_TARGET`
12031 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12032 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12034 # Canadian cross, just use what we found
12035 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12036 echo "${ECHO_T}pre-installed
" >&6
12040 case " ${configdirs} " in
12045 if test $ok = yes; then
12046 # An in-tree tool is available and we can use it
12047 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12048 echo "$as_me:$LINENO: result
: just compiled
" >&5
12049 echo "${ECHO_T}just compiled
" >&6
12050 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12051 # We already found the complete path
12052 ac_dir=`dirname $LD_FOR_TARGET`
12053 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12054 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12055 elif test "x
$target" = "x
$host"; then
12056 # We can use an host tool
12057 LD_FOR_TARGET='$(LD)'
12058 echo "$as_me:$LINENO: result
: host tool
" >&5
12059 echo "${ECHO_T}host tool
" >&6
12061 # We need a cross tool
12062 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12063 echo "${ECHO_T}pre-installed
" >&6
12067 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12068 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12069 if test "x
${build}" != "x
${host}" ; then
12070 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12071 # We already found the complete path
12072 ac_dir=`dirname $LIPO_FOR_TARGET`
12073 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12074 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12076 # Canadian cross, just use what we found
12077 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12078 echo "${ECHO_T}pre-installed
" >&6
12081 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12082 # We already found the complete path
12083 ac_dir=`dirname $LIPO_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 LIPO_FOR_TARGET='$(LIPO)'
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 nm
" >&5
12099 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12100 if test "x
${build}" != "x
${host}" ; then
12101 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12102 # We already found the complete path
12103 ac_dir=`dirname $NM_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
12113 case " ${configdirs} " in
12118 if test $ok = yes; then
12119 # An in-tree tool is available and we can use it
12120 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12121 echo "$as_me:$LINENO: result
: just compiled
" >&5
12122 echo "${ECHO_T}just compiled
" >&6
12123 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12124 # We already found the complete path
12125 ac_dir=`dirname $NM_FOR_TARGET`
12126 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12127 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12128 elif test "x
$target" = "x
$host"; then
12129 # We can use an host tool
12130 NM_FOR_TARGET='$(NM)'
12131 echo "$as_me:$LINENO: result
: host tool
" >&5
12132 echo "${ECHO_T}host tool
" >&6
12134 # We need a cross tool
12135 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12136 echo "${ECHO_T}pre-installed
" >&6
12140 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12141 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12142 if test "x
${build}" != "x
${host}" ; then
12143 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12144 # We already found the complete path
12145 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12146 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12147 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12149 # Canadian cross, just use what we found
12150 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12151 echo "${ECHO_T}pre-installed
" >&6
12155 case " ${configdirs} " in
12160 if test $ok = yes; then
12161 # An in-tree tool is available and we can use it
12162 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12163 echo "$as_me:$LINENO: result
: just compiled
" >&5
12164 echo "${ECHO_T}just compiled
" >&6
12165 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12166 # We already found the complete path
12167 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12168 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12169 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12170 elif test "x
$target" = "x
$host"; then
12171 # We can use an host tool
12172 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12173 echo "$as_me:$LINENO: result
: host tool
" >&5
12174 echo "${ECHO_T}host tool
" >&6
12176 # We need a cross tool
12177 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12178 echo "${ECHO_T}pre-installed
" >&6
12182 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12183 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12184 if test "x
${build}" != "x
${host}" ; then
12185 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12186 # We already found the complete path
12187 ac_dir=`dirname $RANLIB_FOR_TARGET`
12188 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12189 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12191 # Canadian cross, just use what we found
12192 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12193 echo "${ECHO_T}pre-installed
" >&6
12197 case " ${configdirs} " in
12202 if test $ok = yes; then
12203 # An in-tree tool is available and we can use it
12204 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12205 echo "$as_me:$LINENO: result
: just compiled
" >&5
12206 echo "${ECHO_T}just compiled
" >&6
12207 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12208 # We already found the complete path
12209 ac_dir=`dirname $RANLIB_FOR_TARGET`
12210 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12211 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12212 elif test "x
$target" = "x
$host"; then
12213 # We can use an host tool
12214 RANLIB_FOR_TARGET='$(RANLIB)'
12215 echo "$as_me:$LINENO: result
: host tool
" >&5
12216 echo "${ECHO_T}host tool
" >&6
12218 # We need a cross tool
12219 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12220 echo "${ECHO_T}pre-installed
" >&6
12224 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12225 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12226 if test "x
${build}" != "x
${host}" ; then
12227 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12228 # We already found the complete path
12229 ac_dir=`dirname $STRIP_FOR_TARGET`
12230 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12231 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12233 # Canadian cross, just use what we found
12234 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12235 echo "${ECHO_T}pre-installed
" >&6
12239 case " ${configdirs} " in
12244 if test $ok = yes; then
12245 # An in-tree tool is available and we can use it
12246 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12247 echo "$as_me:$LINENO: result
: just compiled
" >&5
12248 echo "${ECHO_T}just compiled
" >&6
12249 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12250 # We already found the complete path
12251 ac_dir=`dirname $STRIP_FOR_TARGET`
12252 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12253 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12254 elif test "x
$target" = "x
$host"; then
12255 # We can use an host tool
12256 STRIP_FOR_TARGET='$(STRIP)'
12257 echo "$as_me:$LINENO: result
: host tool
" >&5
12258 echo "${ECHO_T}host tool
" >&6
12260 # We need a cross tool
12261 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12262 echo "${ECHO_T}pre-installed
" >&6
12266 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12267 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12268 if test "x
${build}" != "x
${host}" ; then
12269 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12270 # We already found the complete path
12271 ac_dir=`dirname $WINDRES_FOR_TARGET`
12272 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12273 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12275 # Canadian cross, just use what we found
12276 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12277 echo "${ECHO_T}pre-installed
" >&6
12281 case " ${configdirs} " in
12286 if test $ok = yes; then
12287 # An in-tree tool is available and we can use it
12288 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12289 echo "$as_me:$LINENO: result
: just compiled
" >&5
12290 echo "${ECHO_T}just compiled
" >&6
12291 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12292 # We already found the complete path
12293 ac_dir=`dirname $WINDRES_FOR_TARGET`
12294 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12295 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12296 elif test "x
$target" = "x
$host"; then
12297 # We can use an host tool
12298 WINDRES_FOR_TARGET='$(WINDRES)'
12299 echo "$as_me:$LINENO: result
: host tool
" >&5
12300 echo "${ECHO_T}host tool
" >&6
12302 # We need a cross tool
12303 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12304 echo "${ECHO_T}pre-installed
" >&6
12308 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12309 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12310 if test "x
${build}" != "x
${host}" ; then
12311 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12312 # We already found the complete path
12313 ac_dir=`dirname $WINDMC_FOR_TARGET`
12314 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12315 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12317 # Canadian cross, just use what we found
12318 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12319 echo "${ECHO_T}pre-installed
" >&6
12323 case " ${configdirs} " in
12328 if test $ok = yes; then
12329 # An in-tree tool is available and we can use it
12330 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12331 echo "$as_me:$LINENO: result
: just compiled
" >&5
12332 echo "${ECHO_T}just compiled
" >&6
12333 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12334 # We already found the complete path
12335 ac_dir=`dirname $WINDMC_FOR_TARGET`
12336 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12337 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12338 elif test "x
$target" = "x
$host"; then
12339 # We can use an host tool
12340 WINDMC_FOR_TARGET='$(WINDMC)'
12341 echo "$as_me:$LINENO: result
: host tool
" >&5
12342 echo "${ECHO_T}host tool
" >&6
12344 # We need a cross tool
12345 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12346 echo "${ECHO_T}pre-installed
" >&6
12354 # Certain tools may need extra flags.
12355 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12356 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12357 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12359 # When building target libraries, except in a Canadian cross, we use
12360 # the same toolchain as the compiler we just built.
12361 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12362 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12363 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12364 if test $host = $build; then
12365 case " $configdirs " in
12367 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12368 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12369 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12378 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12379 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12380 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12381 if test "${enable_maintainer_mode+set}" = set; then
12382 enableval="$enable_maintainer_mode"
12383 USE_MAINTAINER_MODE=$enableval
12385 USE_MAINTAINER_MODE=no
12387 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12388 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12391 if test "$USE_MAINTAINER_MODE" = yes; then
12392 MAINTAINER_MODE_TRUE=
12393 MAINTAINER_MODE_FALSE='#'
12395 MAINTAINER_MODE_TRUE='#'
12396 MAINTAINER_MODE_FALSE=
12398 MAINT=$MAINTAINER_MODE_TRUE
12400 # ---------------------
12401 # GCC bootstrap support
12402 # ---------------------
12404 # Stage specific cflags for build.
12409 yes) stage1_cflags="-g -Wa,-J" ;;
12410 *) stage1_cflags="-g -J" ;;
12414 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12415 if test "$GCC" = yes; then
12416 saved_CFLAGS="$CFLAGS"
12418 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12419 CFLAGS="$CFLAGS -fkeep-inline-functions"
12420 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12421 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12422 cat >conftest.$ac_ext <<_ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12429 #if (__GNUC__ < 3) \
12430 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12431 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12432 #error http://gcc.gnu.org/PR29382
12443 rm -f conftest.$ac_objext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1 >conftest.err
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try='test -s conftest.$ac_objext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465 echo "$as_me:$LINENO: result
: yes" >&5
12466 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12468 echo "$as_me: failed program was
:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12471 echo "$as_me:$LINENO: result
: no
" >&5
12472 echo "${ECHO_T}no
" >&6
12474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12476 CFLAGS="$saved_CFLAGS"
12481 # Enable --enable-checking in stage1 of the compiler.
12482 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12483 if test "${enable_stage1_checking+set}" = set; then
12484 enableval="$enable_stage1_checking"
12485 stage1_checking=--enable-checking=${enable_stage1_checking}
12487 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12488 stage1_checking=--enable-checking=yes,types
12490 stage1_checking=--enable-checking=$enable_checking,types
12495 # Enable -Werror in bootstrap stage2 and later.
12496 # Check whether --enable-werror or --disable-werror was given.
12497 if test "${enable_werror+set}" = set; then
12498 enableval="$enable_werror"
12501 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12507 case ${enable_werror} in
12508 yes) stage2_werror_flag="--enable-werror-always" ;;
12509 *) stage2_werror_flag="" ;;
12513 # Flags needed to enable html installing and building
12515 # Check whether --with-datarootdir or --without-datarootdir was given.
12516 if test "${with_datarootdir+set}" = set; then
12517 withval="$with_datarootdir"
12518 datarootdir="\
${prefix}/${withval}"
12520 datarootdir="\
${prefix}/share
"
12524 # Check whether --with-docdir or --without-docdir was given.
12525 if test "${with_docdir+set}" = set; then
12526 withval="$with_docdir"
12527 docdir="\
${prefix}/${withval}"
12529 docdir="\
${datarootdir}/doc
"
12533 # Check whether --with-pdfdir or --without-pdfdir was given.
12534 if test "${with_pdfdir+set}" = set; then
12535 withval="$with_pdfdir"
12536 pdfdir="\
${prefix}/${withval}"
12538 pdfdir="\
${docdir}"
12542 # Check whether --with-htmldir or --without-htmldir was given.
12543 if test "${with_htmldir+set}" = set; then
12544 withval="$with_htmldir"
12545 htmldir="\
${prefix}/${withval}"
12547 htmldir="\
${docdir}"
12555 ac_config_files="$ac_config_files Makefile
"
12556 cat >confcache <<\_ACEOF
12557 # This file is a shell script that caches the results of configure
12558 # tests run on this system so they can be shared between configure
12559 # scripts and configure runs, see configure's option --config-cache.
12560 # It is not useful on other systems. If it contains results you don't
12561 # want to keep, you may remove or edit it.
12563 # config.status only pays attention to the cache file if you give it
12564 # the --recheck option to rerun configure.
12566 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12567 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12568 # following values.
12572 # The following way of writing the cache mishandles newlines in values,
12573 # but we know of no workaround that is simple, portable, and efficient.
12574 # So, don't put newlines in cache variables' values.
12575 # Ultrix sh set writes to stderr and can't be redirected directly,
12576 # and sets the high bit in the cache file unless we assign to the vars.
12579 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12581 # `set' does not quote correctly, so add quotes (double-quote
12582 # substitution turns \\\\ into \\, and sed turns \\ into \).
12585 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12588 # `set' quotes correctly as required by POSIX, so do not add quotes.
12590 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12599 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12601 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12602 if test -w $cache_file; then
12603 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12604 cat confcache >$cache_file
12606 echo "not updating unwritable cache
$cache_file"
12611 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12612 # Let make expand exec_prefix.
12613 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12615 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12616 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12617 # trailing colons and then remove the whole line if VPATH becomes empty
12618 # (actually we leave an empty line to preserve line numbers).
12619 if test "x
$srcdir" = x.; then
12620 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12621 s/:*\$(srcdir):*/:/;
12622 s/:*\${srcdir}:*/:/;
12624 s/^\([^=]*=[ ]*\):*/\1/;
12630 # Transform confdefs.h into DEFS.
12631 # Protect against shell expansion while executing Makefile rules.
12632 # Protect against Makefile macro expansion.
12634 # If the first sed substitution is executed (which looks for macros that
12635 # take arguments), then we branch to the quote section. Otherwise,
12636 # look for a macro that doesn't take arguments.
12637 cat >confdef2opt.sed <<\_ACEOF
12640 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12642 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12646 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12652 # We use echo to avoid assuming a particular line-breaking character.
12653 # The extra dot is to prevent the shell from consuming trailing
12654 # line-breaks from the sub-command output. A line-break within
12655 # single-quotes doesn't work because, if this script is created in a
12656 # platform that uses two characters for line-breaks (e.g., DOS), tr
12658 ac_LF_and_DOT
=`echo; echo .`
12659 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12660 rm -f confdef2opt.
sed
12665 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12666 # 1. Remove the extension, and $U if already installed.
12667 ac_i
=`echo "$ac_i" |
12668 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12670 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12671 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12673 LIBOBJS
=$ac_libobjs
12675 LTLIBOBJS
=$ac_ltlibobjs
12679 : ${CONFIG_STATUS=./config.status}
12680 ac_clean_files_save
=$ac_clean_files
12681 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12682 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12683 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12684 cat >$CONFIG_STATUS <<_ACEOF
12686 # Generated by $as_me.
12687 # Run this file to recreate the current configuration.
12688 # Compiler output produced by configure, useful for debugging
12689 # configure, is in config.log if it exists.
12692 ac_cs_recheck=false
12694 SHELL=\${CONFIG_SHELL-$SHELL}
12697 cat >>$CONFIG_STATUS <<\_ACEOF
12698 ## --------------------- ##
12699 ## M4sh Initialization. ##
12700 ## --------------------- ##
12702 # Be Bourne compatible
12703 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12706 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12707 # is contrary to our usage. Disable this feature.
12708 alias -g '${1+"$@"}'='"$@"'
12709 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12712 DUALCASE
=1; export DUALCASE
# for MKS sh
12714 # Support unset when possible.
12715 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12722 # Work around bugs in pre-3.0 UWIN ksh.
12723 $as_unset ENV MAIL MAILPATH
12730 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12731 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12732 LC_TELEPHONE LC_TIME
12734 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12735 eval $as_var=C
; export $as_var
12741 # Required to use basename.
12742 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12748 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12749 as_basename
=basename
12755 # Name of the executable.
12756 as_me
=`$as_basename "$0" ||
12757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12758 X"$0" : 'X\(//\)$' \| \
12759 X"$0" : 'X\(/\)$' \| \
12760 . : '\(.\)' 2>/dev/null ||
12762 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12763 /^X\/\(\/\/\)$/{ s//\1/; q; }
12764 /^X\/\(\/\).*/{ s//\1/; q; }
12768 # PATH needs CR, and LINENO needs CR and PATH.
12769 # Avoid depending upon Character Ranges.
12770 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12771 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12772 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12773 as_cr_digits
='0123456789'
12774 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12776 # The user is always right.
12777 if test "${PATH_SEPARATOR+set}" != set; then
12778 echo "#! /bin/sh" >conf$$.sh
12779 echo "exit 0" >>conf$$.sh
12781 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12790 as_lineno_1
=$LINENO
12791 as_lineno_2
=$LINENO
12792 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12793 test "x$as_lineno_1" != "x$as_lineno_2" &&
12794 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12795 # Find who we are. Look in the path if we contain no path at all
12798 *[\\/]* ) as_myself
=$0 ;;
12799 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12800 for as_dir
in $PATH
12803 test -z "$as_dir" && as_dir
=.
12804 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12809 # We did not find ourselves, most probably we were run as `sh COMMAND'
12810 # in which case we are not to be found in the path.
12811 if test "x$as_myself" = x
; then
12814 if test ! -f "$as_myself"; then
12815 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12816 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12817 { (exit 1); exit 1; }; }
12819 case $CONFIG_SHELL in
12821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12822 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12825 test -z "$as_dir" && as_dir
=.
12826 for as_base
in sh bash ksh sh5
; do
12829 if ("$as_dir/$as_base" -c '
12830 as_lineno_1=$LINENO
12831 as_lineno_2=$LINENO
12832 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12833 test "x$as_lineno_1" != "x$as_lineno_2" &&
12834 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12835 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12836 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12837 CONFIG_SHELL
=$as_dir/$as_base
12838 export CONFIG_SHELL
12839 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12847 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12848 # uniformly replaced by the line number. The first 'sed' inserts a
12849 # line-number line before each line; the second 'sed' does the real
12850 # work. The second script uses 'N' to pair each line-number line
12851 # with the numbered line, and appends trailing '-' during
12852 # substitution so that $LINENO is not a special case at line end.
12853 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12854 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12855 sed '=' <$as_myself |
12860 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12863 s,^['$as_cr_digits']*\n,,
12864 ' >$as_me.lineno
&&
12865 chmod +x
$as_me.lineno ||
12866 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12867 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12868 { (exit 1); exit 1; }; }
12870 # Don't try to exec as it changes $[0], causing all sort of problems
12871 # (the dirname of $[0] is not the place where we might find the
12872 # original and so on. Autoconf is especially sensible to this).
12874 # Exit status is that of the last command.
12879 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12880 *c
*,-n*) ECHO_N
= ECHO_C
='
12882 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12883 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12886 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12892 rm -f conf$$ conf$$.exe conf$$.
file
12894 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12895 # We could just check for DJGPP; but this test a) works b) is more generic
12896 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12897 if test -f conf$$.exe
; then
12898 # Don't use ln at all; we don't have any links
12903 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12908 rm -f conf$$ conf$$.exe conf$$.
file
12910 if mkdir
-p .
2>/dev
/null
; then
12913 test -d .
/-p && rmdir .
/-p
12917 as_executable_p
="test -f"
12919 # Sed expression to map a string onto a valid CPP name.
12920 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12922 # Sed expression to map a string onto a valid variable name.
12923 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12927 # We need space, tab and new line, in precisely that order.
12937 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12938 # report actual input values of CONFIG_FILES etc. instead of their
12939 # values after options handling. Logging --version etc. is OK.
12943 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12944 ## Running $as_me. ##
12949 This file was extended by $as_me, which was
12950 generated by GNU Autoconf 2.59. Invocation command line was
12952 CONFIG_FILES = $CONFIG_FILES
12953 CONFIG_HEADERS = $CONFIG_HEADERS
12954 CONFIG_LINKS = $CONFIG_LINKS
12955 CONFIG_COMMANDS = $CONFIG_COMMANDS
12959 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12963 # Files that config.status was made for.
12964 if test -n "$ac_config_files"; then
12965 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12968 if test -n "$ac_config_headers"; then
12969 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12972 if test -n "$ac_config_links"; then
12973 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12976 if test -n "$ac_config_commands"; then
12977 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12980 cat >>$CONFIG_STATUS <<\_ACEOF
12983 \`$as_me' instantiates files from templates according to the
12984 current configuration.
12986 Usage: $0 [OPTIONS] [FILE]...
12988 -h, --help print this help, then exit
12989 -V, --version print version number, then exit
12990 -q, --quiet do not print progress messages
12991 -d, --debug don't remove temporary files
12992 --recheck update $as_me by reconfiguring in the same conditions
12993 --file=FILE[:TEMPLATE]
12994 instantiate the configuration file FILE
12996 Configuration files:
12999 Report bugs to <bug-autoconf@gnu.org>."
13002 cat >>$CONFIG_STATUS <<_ACEOF
13005 configured by $0, generated by GNU Autoconf 2.59,
13006 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13008 Copyright (C) 2003 Free Software Foundation, Inc.
13009 This config.status script is free software; the Free Software Foundation
13010 gives unlimited permission to copy, distribute and modify it."
13015 cat >>$CONFIG_STATUS <<\_ACEOF
13016 # If no file are specified by the user, then we need to provide default
13017 # value. By we need to know if files were specified by the user.
13023 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13024 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13032 *) # This is not an option, so the user has probably given explicit
13035 ac_need_defaults
=false
;;
13039 # Handling of the options.
13041 cat >>$CONFIG_STATUS <<\_ACEOF
13042 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13044 --version |
--vers* |
-V )
13045 echo "$ac_cs_version"; exit 0 ;;
13047 # Conflict between --help and --header
13048 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13049 Try \`$0 --help' for more information." >&5
13050 echo "$as_me: error: ambiguous option: $1
13051 Try \`$0 --help' for more information." >&2;}
13052 { (exit 1); exit 1; }; };;
13053 --help |
--hel |
-h )
13054 echo "$ac_cs_usage"; exit 0 ;;
13055 --debug |
--d* |
-d )
13057 --file |
--fil |
--fi |
--f )
13059 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13060 ac_need_defaults
=false
;;
13061 --header |
--heade |
--head |
--hea )
13063 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13064 ac_need_defaults
=false
;;
13065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13066 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13069 # This is an error.
13070 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13071 Try \`$0 --help' for more information." >&5
13072 echo "$as_me: error: unrecognized option: $1
13073 Try \`$0 --help' for more information." >&2;}
13074 { (exit 1); exit 1; }; } ;;
13076 *) ac_config_targets
="$ac_config_targets $1" ;;
13082 ac_configure_extra_args
=
13084 if $ac_cs_silent; then
13086 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13090 cat >>$CONFIG_STATUS <<_ACEOF
13091 if \$ac_cs_recheck; then
13092 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13093 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13102 cat >>$CONFIG_STATUS <<\_ACEOF
13103 for ac_config_target
in $ac_config_targets
13105 case "$ac_config_target" in
13106 # Handling of arguments.
13107 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13108 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13109 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13110 { (exit 1); exit 1; }; };;
13114 # If the user did not use the arguments to specify the items to instantiate,
13115 # then the envvar interface is used. Set only those that are not.
13116 # We use the long form for the default assignment because of an extremely
13117 # bizarre bug on SunOS 4.1.3.
13118 if $ac_need_defaults; then
13119 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13122 # Have a temporary directory for convenience. Make it in the build tree
13123 # simply because there is no reason to put it here, and in addition,
13124 # creating and moving files from /tmp can sometimes cause problems.
13125 # Create a temporary directory, and hook for its removal unless debugging.
13128 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13129 trap '{ (exit 1); exit 1; }' 1 2 13 15
13132 # Create a (secure) tmp directory for tmp files.
13135 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13136 test -n "$tmp" && test -d "$tmp"
13139 tmp
=.
/confstat$$
-$RANDOM
13140 (umask 077 && mkdir
$tmp)
13143 echo "$me: cannot create a temporary directory in ." >&2
13144 { (exit 1); exit 1; }
13149 cat >>$CONFIG_STATUS <<_ACEOF
13152 # CONFIG_FILES section.
13155 # No need to generate the scripts if there are no CONFIG_FILES.
13156 # This happens for instance when ./config.status config.h
13157 if test -n "\$CONFIG_FILES"; then
13158 # Protect against being on the right side of a sed subst in config.status.
13159 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13160 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13161 s,@SHELL@,$SHELL,;t t
13162 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13163 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13164 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13165 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13166 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13167 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13168 s,@exec_prefix@,$exec_prefix,;t t
13169 s,@prefix@,$prefix,;t t
13170 s,@program_transform_name@,$program_transform_name,;t t
13171 s,@bindir@,$bindir,;t t
13172 s,@sbindir@,$sbindir,;t t
13173 s,@libexecdir@,$libexecdir,;t t
13174 s,@datadir@,$datadir,;t t
13175 s,@sysconfdir@,$sysconfdir,;t t
13176 s,@sharedstatedir@,$sharedstatedir,;t t
13177 s,@localstatedir@,$localstatedir,;t t
13178 s,@libdir@,$libdir,;t t
13179 s,@includedir@,$includedir,;t t
13180 s,@oldincludedir@,$oldincludedir,;t t
13181 s,@infodir@,$infodir,;t t
13182 s,@mandir@,$mandir,;t t
13183 s,@build_alias@,$build_alias,;t t
13184 s,@host_alias@,$host_alias,;t t
13185 s,@target_alias@,$target_alias,;t t
13186 s,@DEFS@,$DEFS,;t t
13187 s,@ECHO_C@,$ECHO_C,;t t
13188 s,@ECHO_N@,$ECHO_N,;t t
13189 s,@ECHO_T@,$ECHO_T,;t t
13190 s,@LIBS@,$LIBS,;t t
13191 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13192 s,@build@,$build,;t t
13193 s,@build_cpu@,$build_cpu,;t t
13194 s,@build_vendor@,$build_vendor,;t t
13195 s,@build_os@,$build_os,;t t
13196 s,@build_noncanonical@,$build_noncanonical,;t t
13197 s,@host_noncanonical@,$host_noncanonical,;t t
13198 s,@target_noncanonical@,$target_noncanonical,;t t
13199 s,@host@,$host,;t t
13200 s,@host_cpu@,$host_cpu,;t t
13201 s,@host_vendor@,$host_vendor,;t t
13202 s,@host_os@,$host_os,;t t
13203 s,@target@,$target,;t t
13204 s,@target_cpu@,$target_cpu,;t t
13205 s,@target_vendor@,$target_vendor,;t t
13206 s,@target_os@,$target_os,;t t
13207 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13208 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13209 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13211 s,@LN_S@,$LN_S,;t t
13212 s,@build_libsubdir@,$build_libsubdir,;t t
13213 s,@build_subdir@,$build_subdir,;t t
13214 s,@host_subdir@,$host_subdir,;t t
13215 s,@target_subdir@,$target_subdir,;t t
13217 s,@CFLAGS@,$CFLAGS,;t t
13218 s,@LDFLAGS@,$LDFLAGS,;t t
13219 s,@CPPFLAGS@,$CPPFLAGS,;t t
13220 s,@ac_ct_CC@,$ac_ct_CC,;t t
13221 s,@EXEEXT@,$EXEEXT,;t t
13222 s,@OBJEXT@,$OBJEXT,;t t
13224 s,@CXXFLAGS@,$CXXFLAGS,;t t
13225 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13226 s,@GNATBIND@,$GNATBIND,;t t
13227 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13228 s,@GNATMAKE@,$GNATMAKE,;t t
13229 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13230 s,@do_compare@,$do_compare,;t t
13231 s,@gmplibs@,$gmplibs,;t t
13232 s,@gmpinc@,$gmpinc,;t t
13233 s,@ppllibs@,$ppllibs,;t t
13234 s,@pplinc@,$pplinc,;t t
13235 s,@clooglibs@,$clooglibs,;t t
13236 s,@clooginc@,$clooginc,;t t
13237 s,@stage1_languages@,$stage1_languages,;t t
13238 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13239 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13240 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13241 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13242 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13243 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13244 s,@tooldir@,$tooldir,;t t
13245 s,@build_tooldir@,$build_tooldir,;t t
13246 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13247 s,@GDB_TK@,$GDB_TK,;t t
13248 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13249 s,@build_configargs@,$build_configargs,;t t
13250 s,@build_configdirs@,$build_configdirs,;t t
13251 s,@host_configargs@,$host_configargs,;t t
13252 s,@configdirs@,$configdirs,;t t
13253 s,@target_configargs@,$target_configargs,;t t
13254 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13255 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13256 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13257 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13258 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13259 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13260 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13261 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13262 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13263 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13264 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13265 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13266 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13267 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13268 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13269 s,@config_shell@,$config_shell,;t t
13270 s,@YACC@,$YACC,;t t
13271 s,@BISON@,$BISON,;t t
13274 s,@FLEX@,$FLEX,;t t
13275 s,@MAKEINFO@,$MAKEINFO,;t t
13276 s,@EXPECT@,$EXPECT,;t t
13277 s,@RUNTEST@,$RUNTEST,;t t
13280 s,@DLLTOOL@,$DLLTOOL,;t t
13282 s,@LIPO@,$LIPO,;t t
13284 s,@RANLIB@,$RANLIB,;t t
13285 s,@STRIP@,$STRIP,;t t
13286 s,@WINDRES@,$WINDRES,;t t
13287 s,@WINDMC@,$WINDMC,;t t
13288 s,@OBJCOPY@,$OBJCOPY,;t t
13289 s,@OBJDUMP@,$OBJDUMP,;t t
13290 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13291 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13292 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13293 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13294 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13295 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13296 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13297 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13298 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13299 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13300 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13301 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13302 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13303 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13304 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13305 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13306 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13307 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13308 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13309 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13310 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13311 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13312 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13313 s,@MAINT@,$MAINT,;t t
13314 s,@stage1_cflags@,$stage1_cflags,;t t
13315 s,@stage1_checking@,$stage1_checking,;t t
13316 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13317 s,@datarootdir@,$datarootdir,;t t
13318 s,@docdir@,$docdir,;t t
13319 s,@pdfdir@,$pdfdir,;t t
13320 s,@htmldir@,$htmldir,;t t
13321 s,@LIBOBJS@,$LIBOBJS,;t t
13322 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13323 /@serialization_dependencies@/r $serialization_dependencies
13324 s,@serialization_dependencies@,,;t t
13325 /@host_makefile_frag@/r $host_makefile_frag
13326 s,@host_makefile_frag@,,;t t
13327 /@target_makefile_frag@/r $target_makefile_frag
13328 s,@target_makefile_frag@,,;t t
13329 /@alphaieee_frag@/r $alphaieee_frag
13330 s,@alphaieee_frag@,,;t t
13331 /@ospace_frag@/r $ospace_frag
13332 s,@ospace_frag@,,;t t
13337 cat >>$CONFIG_STATUS <<\_ACEOF
13338 # Split the substitutions into bite-sized pieces for seds with
13339 # small command number limits, like on Digital OSF/1 and HP-UX.
13340 ac_max_sed_lines
=48
13341 ac_sed_frag
=1 # Number of current file.
13342 ac_beg
=1 # First line for current file.
13343 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13346 while $ac_more_lines; do
13347 if test $ac_beg -gt 1; then
13348 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13350 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13352 if test ! -s $tmp/subs.frag
; then
13353 ac_more_lines
=false
13355 # The purpose of the label and of the branching condition is to
13356 # speed up the sed processing (if there are no `@' at all, there
13357 # is no need to browse any of the substitutions).
13358 # These are the two extra sed commands mentioned above.
13360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13361 if test -z "$ac_sed_cmds"; then
13362 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13364 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13366 ac_sed_frag
=`expr $ac_sed_frag + 1`
13368 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13371 if test -z "$ac_sed_cmds"; then
13374 fi # test -n "$CONFIG_FILES"
13377 cat >>$CONFIG_STATUS <<\_ACEOF
13378 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13379 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13381 - |
*:- |
*:-:* ) # input from stdin
13383 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13384 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13385 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13386 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13387 * ) ac_file_in
=$ac_file.
in ;;
13390 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13391 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13393 X"$ac_file" : 'X\(//\)[^/]' \| \
13394 X"$ac_file" : 'X\(//\)$' \| \
13395 X"$ac_file" : 'X\(/\)' \| \
13396 . : '\(.\)' 2>/dev/null ||
13398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13400 /^X\(\/\/\)$/{ s//\1/; q; }
13401 /^X\(\/\).*/{ s//\1/; q; }
13403 { if $as_mkdir_p; then
13408 while test ! -d "$as_dir"; do
13409 as_dirs
="$as_dir $as_dirs"
13410 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13412 X"$as_dir" : 'X\(//\)[^/]' \| \
13413 X"$as_dir" : 'X\(//\)$' \| \
13414 X"$as_dir" : 'X\(/\)' \| \
13415 . : '\(.\)' 2>/dev/null ||
13417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13419 /^X\(\/\/\)$/{ s//\1/; q; }
13420 /^X\(\/\).*/{ s//\1/; q; }
13423 test ! -n "$as_dirs" || mkdir
$as_dirs
13424 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13426 { (exit 1); exit 1; }; }; }
13430 if test "$ac_dir" != .
; then
13431 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13432 # A "../" for each directory in $ac_dir_suffix.
13433 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13435 ac_dir_suffix
= ac_top_builddir
=
13439 .
) # No --srcdir option. We are building in place.
13441 if test -z "$ac_top_builddir"; then
13444 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13446 [\\/]* | ?
:[\\/]* ) # Absolute path.
13447 ac_srcdir
=$srcdir$ac_dir_suffix;
13448 ac_top_srcdir
=$srcdir ;;
13449 *) # Relative path.
13450 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13451 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13454 # Do not use `cd foo && pwd` to compute absolute paths, because
13455 # the directories may not exist.
13457 .
) ac_abs_builddir
="$ac_dir";;
13460 .
) ac_abs_builddir
=`pwd`;;
13461 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13462 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13465 case $ac_abs_builddir in
13466 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13468 case ${ac_top_builddir}.
in
13469 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13470 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13471 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13474 case $ac_abs_builddir in
13475 .
) ac_abs_srcdir
=$ac_srcdir;;
13478 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13479 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13480 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13483 case $ac_abs_builddir in
13484 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13486 case $ac_top_srcdir in
13487 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13488 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13489 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13495 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13496 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13499 if test x
"$ac_file" != x-
; then
13500 { echo "$as_me:$LINENO: creating $ac_file" >&5
13501 echo "$as_me: creating $ac_file" >&6;}
13504 # Let's still pretend it is `configure' which instantiates (i.e., don't
13505 # use $as_me), people would be surprised to read:
13506 # /* config.h. Generated by config.status. */
13507 if test x
"$ac_file" = x-
; then
13510 configure_input
="$ac_file. "
13512 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13513 sed 's,.*/,,'` by configure."
13515 # First look for the input files in the build tree, otherwise in the
13517 ac_file_inputs
=`IFS=:
13518 for f in $ac_file_in; do
13520 -) echo $tmp/stdin ;;
13522 # Absolute (can't be DOS-style, as IFS=:)
13523 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13524 echo "$as_me: error: cannot find input file: $f" >&2;}
13525 { (exit 1); exit 1; }; }
13528 if test -f "$f"; then
13531 elif test -f "$srcdir/$f"; then
13536 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13537 echo "$as_me: error: cannot find input file: $f" >&2;}
13538 { (exit 1); exit 1; }; }
13541 done` ||
{ (exit 1); exit 1; }
13543 cat >>$CONFIG_STATUS <<_ACEOF
13547 cat >>$CONFIG_STATUS <<\_ACEOF
13549 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13550 s
,@configure_input@
,$configure_input,;t t
13551 s
,@srcdir@
,$ac_srcdir,;t t
13552 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13553 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13554 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13555 s
,@builddir@
,$ac_builddir,;t t
13556 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13557 s
,@top_builddir@
,$ac_top_builddir,;t t
13558 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13559 s
,@INSTALL@
,$ac_INSTALL,;t t
13560 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13562 if test x"$ac_file" != x-; then
13563 mv $tmp/out $ac_file
13572 cat >>$CONFIG_STATUS <<\_ACEOF
13574 { (exit 0); exit 0; }
13576 chmod +x $CONFIG_STATUS
13577 ac_clean_files=$ac_clean_files_save
13580 # configure is writing to config.log, and then calls config.status.
13581 # config.status does its own redirection, appending to config.log.
13582 # Unfortunately, on DOS this fails, as config.log is still kept open
13583 # by configure, so config.status won't be able to write to it; its
13584 # output is simply discarded. So we exec the FD to /dev/null,
13585 # effectively closing config.log, so it can be properly (re)opened and
13586 # appended to by config.status. When coming back to configure, we
13587 # need to make the FD available again.
13588 if test "$no_create" != yes; then
13590 ac_config_status_args=
13591 test "$silent" = yes &&
13592 ac_config_status_args="$ac_config_status_args --quiet"
13594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13597 # would make configure fail if this is the last instruction.
13598 $ac_cs_success || { (exit 1); exit 1; }