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 CPPFLAGS_FOR_TARGET LDFLAGS_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 CPPFLAGS_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,3,0)
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,2)
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.2+.
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.2+.
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 # Other target tools.
5544 CPPFLAGS_FOR_TARGET
=${CPPFLAGS_FOR_TARGET-${CPPFLAGS}}
5546 LDFLAGS_FOR_TARGET
=${LDFLAGS_FOR_TARGET-${LDFLAGS}}
5549 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5550 # the named directory are copied to $(tooldir)/sys-include.
5551 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5552 if test x
${is_cross_compiler} = xno
; then
5553 echo 1>&2 '***' --with-headers is only supported when cross compiling
5556 if test x
"${with_headers}" != xyes
; then
5557 x
=${gcc_cv_tool_prefix}
5558 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5562 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5563 # the name directories are copied to $(tooldir)/lib. Multiple directories
5565 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5566 if test x
${is_cross_compiler} = xno
; then
5567 echo 1>&2 '***' --with-libs is only supported when cross compiling
5570 if test x
"${with_libs}" != xyes
; then
5571 # Copy the libraries in reverse order, so that files in the first named
5572 # library override files in subsequent libraries.
5573 x
=${gcc_cv_tool_prefix}
5574 for l
in ${with_libs}; do
5575 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5580 # Set with_gnu_as and with_gnu_ld as appropriate.
5582 # This is done by determining whether or not the appropriate directory
5583 # is available, and by checking whether or not specific configurations
5584 # have requested that this magic not happen.
5586 # The command line options always override the explicit settings in
5587 # configure.in, and the settings in configure.in override this magic.
5589 # If the default for a toolchain is to use GNU as and ld, and you don't
5590 # want to do that, then you should use the --without-gnu-as and
5591 # --without-gnu-ld options for the configure script.
5593 if test x
${use_gnu_as} = x
&&
5594 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5596 extra_host_args
="$extra_host_args --with-gnu-as"
5599 if test x
${use_gnu_ld} = x
&&
5600 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5602 extra_host_args
="$extra_host_args --with-gnu-ld"
5605 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5606 # can detect this case.
5608 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5610 extra_host_args
="$extra_host_args --with-newlib"
5613 # Handle ${copy_dirs}
5614 set fnord
${copy_dirs}
5616 while test $# != 0 ; do
5617 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5620 echo Copying
$1 to
$2
5622 # Use the install script to create the directory and all required
5623 # parent directories.
5624 if test -d $2 ; then
5628 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5631 # Copy the directory, assuming we have tar.
5632 # FIXME: Should we use B in the second tar? Not all systems support it.
5633 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5635 # It is the responsibility of the user to correctly adjust all
5636 # symlinks. If somebody can figure out how to handle them correctly
5637 # here, feel free to add the code.
5644 # Determine a target-dependent exec_prefix that the installed
5645 # gcc will search in. Keep this list sorted by triplet, with
5646 # the *-*-osname triplets last.
5650 md_exec_prefix
=/gnu
/lib
/gcc-lib
5652 i
[34567]86-pc-msdosdjgpp*)
5653 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5655 i
[34567]86-*-sco3.2v5
*)
5656 if test $with_gnu_as = yes; then
5657 md_exec_prefix
=/usr
/gnu
/bin
5659 md_exec_prefix
=/usr
/ccs
/bin
/elf
5664 powerpc-
*-chorusos* | \
5665 powerpc
*-*-eabi* | \
5666 powerpc
*-*-sysv* | \
5667 powerpc
*-*-kaos* | \
5669 md_exec_prefix
=/usr
/ccs
/bin
5674 md_exec_prefix
=/usr
/ccs
/bin
5689 md_exec_prefix
=/usr
/ccs
/bin
5693 extra_arflags_for_target
=
5694 extra_nmflags_for_target
=
5695 extra_ranlibflags_for_target
=
5696 target_makefile_frag
=/dev
/null
5699 target_makefile_frag
="config/mt-mep"
5702 target_makefile_frag
="config/mt-spu"
5705 target_makefile_frag
="config/mt-sde"
5707 mipsisa
*-*-elfoabi*)
5708 target_makefile_frag
="config/mt-mips-elfoabi"
5710 mips
*-*-*linux
* | mips
*-*-gnu*)
5711 target_makefile_frag
="config/mt-mips-gnu"
5714 target_makefile_frag
="config/mt-netware"
5716 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5717 target_makefile_frag
="config/mt-gnu"
5719 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5720 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5721 # commands to handle both 32-bit and 64-bit objects. These flags are
5722 # harmless if we're using GNU nm or ar.
5723 extra_arflags_for_target
=" -X32_64"
5724 extra_nmflags_for_target
=" -B -X32_64"
5727 # ranlib from Darwin requires the -c flag to look at common symbols.
5728 extra_ranlibflags_for_target
=" -c"
5730 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5731 target_makefile_frag
="config/mt-wince"
5735 alphaieee_frag
=/dev
/null
5738 # This just makes sure to use the -mieee option to build target libs.
5739 # This should probably be set individually by each library.
5740 alphaieee_frag
="config/mt-alphaieee"
5744 # If --enable-target-optspace always use -Os instead of -O2 to build
5745 # the target libraries, similarly if it is not specified, use -Os
5746 # on selected platforms.
5747 ospace_frag
=/dev
/null
5748 case "${enable_target_optspace}:${target}" in
5750 ospace_frag
="config/mt-ospace"
5753 ospace_frag
="config/mt-d30v"
5755 :m32r-
* |
:d10v-
* |
:fr30-
*)
5756 ospace_frag
="config/mt-ospace"
5761 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5765 # Default to using --with-stabs for certain targets.
5766 if test x
${with_stabs} = x
; then
5770 mips
*-*-* | alpha
*-*-osf*)
5772 extra_host_args
="${extra_host_args} --with-stabs"
5777 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5778 # them automatically.
5781 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5785 # Some systems (e.g., one of the i386-aix systems the gas testers are
5786 # using) don't handle "\$" correctly, so don't use it here.
5787 tooldir
='${exec_prefix}'/${target_noncanonical}
5788 build_tooldir
=${tooldir}
5790 # Create a .gdbinit file which runs the one in srcdir
5791 # and tells GDB to look there for source files.
5793 if test -r ${srcdir}/.gdbinit
; then
5796 *) cat > .
/.gdbinit
<<EOF
5800 source ${srcdir}/.gdbinit
5806 # Make sure that the compiler is able to generate an executable. If it
5807 # can't, we are probably in trouble. We don't care whether we can run the
5808 # executable--we might be using a cross compiler--we only care whether it
5809 # can be created. At this point the main configure script has set CC.
5811 echo "int main () { return 0; }" > conftest.c
5812 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5813 if test $?
= 0 ; then
5814 if test -s conftest ||
test -s conftest.exe
; then
5820 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5821 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5828 # The Solaris /usr/ucb/cc compiler does not appear to work.
5830 sparc-sun-solaris2
*)
5831 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5832 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5834 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5835 if test -d /opt
/cygnus
/bin
; then
5836 if test "$could_use" = "" ; then
5837 could_use
="/opt/cygnus/bin"
5839 could_use
="$could_use or /opt/cygnus/bin"
5842 if test "$could_use" = "" ; then
5843 echo "Warning: compilation may fail because you're using"
5844 echo "/usr/ucb/cc. You should change your PATH or CC "
5845 echo "variable and rerun configure."
5847 echo "Warning: compilation may fail because you're using"
5848 echo "/usr/ucb/cc, when you should use the C compiler from"
5849 echo "$could_use. You should change your"
5850 echo "PATH or CC variable and rerun configure."
5856 # Decide which environment variable is used to find dynamic libraries.
5858 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5859 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5860 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5861 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5864 # On systems where the dynamic library environment variable is PATH,
5865 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5866 # built executables to PATH.
5867 if test "$RPATH_ENVVAR" = PATH
; then
5868 GCC_SHLIB_SUBDIR
=/shlib
5873 # Record target_configdirs and the configure arguments for target and
5874 # build configuration in Makefile.
5875 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5876 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5878 # Determine whether gdb needs tk/tcl or not.
5879 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5880 # and in that case we want gdb to be built without tk. Ugh!
5881 # In fact I believe gdb is the *only* package directly dependent on tk,
5882 # so we should be able to put the 'maybe's in unconditionally and
5883 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5884 # 100% sure that that's safe though.
5886 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5887 case "$enable_gdbtk" in
5891 GDB_TK
="${gdb_tk}" ;;
5893 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5894 # distro. Eventually someone will fix this and move Insight, nee
5895 # gdbtk to a separate directory.
5896 if test -d ${srcdir}/gdb
/gdbtk
; then
5903 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5904 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5906 # Strip out unwanted targets.
5908 # While at that, we remove Makefiles if we were started for recursive
5909 # configuration, so that the top-level Makefile reconfigures them,
5910 # like we used to do when configure itself was recursive.
5912 # Loop over modules. $extrasub must be used with care, limiting as
5913 # much as possible the usage of range addresses. That's because autoconf
5914 # splits the sed script to overcome limits in the number of commands,
5915 # and relying on carefully-timed sed passes may turn out to be very hard
5916 # to maintain later. In this particular case, you just have to be careful
5917 # not to nest @if/@endif pairs, because configure will not warn you at all.
5919 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5920 if test "${enable_bootstrap+set}" = set; then
5921 enableval
="$enable_bootstrap"
5924 enable_bootstrap
=default
5927 # Issue errors and warnings for invalid/strange bootstrap combinations.
5928 case "$configdirs" in
5929 *gcc
*) have_compiler
=yes ;;
5930 *) have_compiler
=no
;;
5933 case "$have_compiler:$host:$target:$enable_bootstrap" in
5936 # Default behavior. Enable bootstrap if we have a compiler
5937 # and we are in a native configuration.
5938 yes:$build:$build:default
)
5939 enable_bootstrap
=yes ;;
5942 enable_bootstrap
=no
;;
5944 # We have a compiler and we are in a native configuration, bootstrap is ok
5945 yes:$build:$build:yes)
5948 # Other configurations, but we have a compiler. Assume the user knows
5951 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5952 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5955 # No compiler: if they passed --enable-bootstrap explicitly, fail
5957 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5958 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5959 { (exit 1); exit 1; }; } ;;
5961 # Fail if wrong command line
5963 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5964 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5965 { (exit 1); exit 1; }; }
5969 # Adjust the toplevel makefile according to whether bootstrap was selected.
5970 case "$enable_bootstrap" in
5972 bootstrap_suffix
=bootstrap
;;
5974 bootstrap_suffix
=no-bootstrap
;;
5977 for module
in ${build_configdirs} ; do
5978 if test -z "${no_recursion}" \
5979 && test -f ${build_subdir}/${module}/Makefile
; then
5980 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5981 rm -f ${build_subdir}/${module}/Makefile
5984 /^@if build-$module\$/d
5985 /^@endif build-$module\$/d
5986 /^@if build-$module-$bootstrap_suffix\$/d
5987 /^@endif build-$module-$bootstrap_suffix\$/d"
5989 for module
in ${configdirs} ; do
5990 if test -z "${no_recursion}"; then
5991 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5992 if test -f ${file}; then
5993 echo 1>&2 "*** removing ${file} to force reconfigure"
6000 /^@endif $module\$/d
6001 /^@if $module-$bootstrap_suffix\$/d
6002 /^@endif $module-$bootstrap_suffix\$/d"
6004 for module
in ${target_configdirs} ; do
6005 if test -z "${no_recursion}" \
6006 && test -f ${target_subdir}/${module}/Makefile
; then
6007 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6008 rm -f ${target_subdir}/${module}/Makefile
6011 /^@if target-$module\$/d
6012 /^@endif target-$module\$/d
6013 /^@if target-$module-$bootstrap_suffix\$/d
6014 /^@endif target-$module-$bootstrap_suffix\$/d"
6018 /^@if /,/^@endif /d"
6020 # Create the serialization dependencies. This uses a temporary file.
6022 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6023 if test "${enable_serial_configure+set}" = set; then
6024 enableval
="$enable_serial_configure"
6028 case ${enable_serial_configure} in
6030 enable_serial_build_configure
=yes
6031 enable_serial_host_configure
=yes
6032 enable_serial_target_configure
=yes
6036 # These force 'configure's to be done one at a time, to avoid problems
6037 # with contention over a shared config.cache.
6039 echo '# serdep.tmp' > serdep.tmp
6041 test "x${enable_serial_build_configure}" = xyes
&&
6042 for item
in ${build_configdirs} ; do
6045 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6050 test "x${enable_serial_host_configure}" = xyes
&&
6051 for item
in ${configdirs} ; do
6054 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6059 test "x${enable_serial_target_configure}" = xyes
&&
6060 for item
in ${target_configdirs} ; do
6063 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6067 serialization_dependencies
=serdep.tmp
6070 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6071 # target, nonopt, and variable assignments. These are the ones we
6072 # might not want to pass down to subconfigures. Also strip
6073 # program-prefix, program-suffix, and program-transform-name, so that
6074 # we can pass down a consistent program-transform-name.
6078 eval "set -- $ac_configure_args"
6081 if test X
"$skip_next" = X
"yes"; then
6085 if test X
"$keep_next" = X
"yes"; then
6088 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6090 baseargs
="$baseargs '$ac_arg'"
6095 # Handle separated arguments. Based on the logic generated by
6098 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6099 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6100 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6101 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6127 -program-prefix* | \
6128 -program-suffix* | \
6129 -program-transform-name* )
6130 skip_next
=$separate_arg
6134 # An option. Add it.
6137 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6139 baseargs
="$baseargs '$ac_arg'"
6140 keep_next
=$separate_arg
6143 # Either a variable assignment, or a nonopt (triplet). Don't
6144 # pass it down; let the Makefile handle this.
6149 # Remove the initial space we just introduced and, as these will be
6150 # expanded by make, quote '$'.
6151 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6153 # Add in --program-transform-name, after --program-prefix and
6154 # --program-suffix have been applied to it. Autoconf has already
6155 # doubled dollar signs and backslashes in program_transform_name; we want
6156 # the backslashes un-doubled, and then the entire thing wrapped in single
6157 # quotes, because this will be expanded first by make and then by the shell.
6158 # Also, because we want to override the logic in subdir configure scripts to
6159 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6160 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6161 ${program_transform_name}
6163 gcc_transform_name
=`cat conftestsed.out`
6164 rm -f conftestsed.out
6165 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6166 if test "$silent" = yes; then
6167 baseargs
="$baseargs --silent"
6170 # For the build-side libraries, we just need to pretend we're native,
6171 # and not use the same cache file. Multilibs are neither needed nor
6173 build_configargs
="--cache-file=../config.cache ${baseargs}"
6175 # For host modules, accept cache file option, or specification as blank.
6176 case "${cache_file}" in
6178 cache_file_option
="" ;;
6179 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6180 cache_file_option
="--cache-file=${cache_file}" ;;
6182 cache_file_option
="--cache-file=../${cache_file}" ;;
6185 # Host dirs don't like to share a cache file either, horribly enough.
6186 # This seems to be due to autoconf 2.5x stupidity.
6187 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6189 target_configargs
=${baseargs}
6191 # Passing a --with-cross-host argument lets the target libraries know
6192 # whether they are being built with a cross-compiler or being built
6193 # native. However, it would be better to use other mechanisms to make the
6194 # sorts of decisions they want to make on this basis. Please consider
6195 # this option to be deprecated. FIXME.
6196 if test x
${is_cross_compiler} = xyes
; then
6197 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6200 # Default to --enable-multilib.
6201 if test x
${enable_multilib} = x
; then
6202 target_configargs
="--enable-multilib ${target_configargs}"
6205 # Pass --with-newlib if appropriate. Note that target_configdirs has
6206 # changed from the earlier setting of with_newlib.
6207 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6208 target_configargs
="--with-newlib ${target_configargs}"
6211 # Different target subdirs use different values of certain variables
6212 # (notably CXX). Worse, multilibs use *lots* of different values.
6213 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6214 # it doesn't automatically accept command-line overrides of them.
6215 # This means it's not safe for target subdirs to share a cache file,
6216 # which is disgusting, but there you have it. Hopefully this can be
6217 # fixed in future. It's still worthwhile to use a cache file for each
6218 # directory. I think.
6220 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6221 # We need to pass --target, as newer autoconf's requires consistency
6222 # for target_alias and gcc doesn't manage it consistently.
6223 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6226 case " $target_configdirs " in
6228 case " $target_configargs " in
6229 *" --with-newlib "*)
6232 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' ;;
6235 # If we're not building GCC, don't discard standard headers.
6236 if test -d ${srcdir}/gcc
; then
6237 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6239 if test "${build}" != "${host}"; then
6240 # On Canadian crosses, CC_FOR_TARGET will have already been set
6241 # by `configure', so we won't have an opportunity to add -Bgcc/
6242 # to it. This is right: we don't want to search that directory
6243 # for binaries, but we want the header files in there, so add
6245 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6247 # Someone might think of using the pre-installed headers on
6248 # Canadian crosses, in case the installed compiler is not fully
6249 # compatible with the compiler being built. In this case, it
6250 # would be better to flag an error than risking having
6251 # incompatible object files being constructed. We can't
6252 # guarantee that an error will be flagged, but let's hope the
6253 # compiler will do it, when presented with incompatible header
6258 case "${target}-${is_cross_compiler}" in
6259 i
[3456789]86-*-linux*-no)
6260 # Here host == target, so we don't need to build gcc,
6261 # so we don't want to discard standard headers.
6262 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6265 # If we're building newlib, use its generic headers last, but search
6266 # for any libc-related directories first (so make it the last -B
6268 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6270 # If we're building libgloss, find the startup file, simulator library
6271 # and linker script.
6272 case " $target_configdirs " in
6274 # Look for startup file, simulator library and maybe linker script.
6275 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6276 # Look for libnosys.a in case the target needs it.
6277 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6278 # Most targets have the linker script in the source directory.
6279 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6290 # Can't be handled as Cygwin above since Mingw does not use newlib.
6291 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' ;;
6294 # Allow the user to override the flags for
6295 # our build compiler if desired.
6296 if test x
"${build}" = x
"${host}" ; then
6297 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6298 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
6299 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6300 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6303 # On Canadian crosses, we'll be searching the right directories for
6304 # the previously-installed cross compiler, so don't bother to add
6305 # flags for directories within the install tree of the compiler
6306 # being built; programs in there won't even run.
6307 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6308 # Search for pre-installed headers if nothing else fits.
6309 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6312 if test "x
${use_gnu_ld}" = x &&
6313 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6314 # Arrange for us to find uninstalled linker scripts.
6315 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6318 # Search for other target-specific linker scripts and such.
6321 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6325 # Makefile fragments.
6326 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6328 eval fragval=\$$frag
6329 if test $fragval != /dev/null; then
6330 eval $frag=${srcdir}/$fragval
6338 # Miscellanea: directories, flags, etc.
6347 # Build module lists & subconfigure args.
6351 # Host module lists & subconfigure args.
6355 # Target module lists & subconfigure args.
6378 # Generate default definitions for YACC, M4, LEX and other programs that run
6379 # on the build machine. These are used if the Makefile can't locate these
6380 # programs in objdir.
6381 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6383 for ac_prog in 'bison -y' byacc yacc
6385 # Extract the first word of "$ac_prog", so it can be a program name with args.
6386 set dummy $ac_prog; ac_word=$2
6387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6389 if test "${ac_cv_prog_YACC+set}" = set; then
6390 echo $ECHO_N "(cached
) $ECHO_C" >&6
6392 if test -n "$YACC"; then
6393 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_YACC="$ac_prog"
6403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6411 YACC=$ac_cv_prog_YACC
6412 if test -n "$YACC"; then
6413 echo "$as_me:$LINENO: result
: $YACC" >&5
6414 echo "${ECHO_T}$YACC" >&6
6416 echo "$as_me:$LINENO: result
: no
" >&5
6417 echo "${ECHO_T}no
" >&6
6420 test -n "$YACC" && break
6422 test -n "$YACC" || YACC="$MISSING bison
-y"
6424 case " $build_configdirs " in
6425 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6426 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6429 for ac_prog in bison
6431 # Extract the first word of "$ac_prog", so it can be a program name with args.
6432 set dummy $ac_prog; ac_word=$2
6433 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6435 if test "${ac_cv_prog_BISON+set}" = set; then
6436 echo $ECHO_N "(cached
) $ECHO_C" >&6
6438 if test -n "$BISON"; then
6439 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_BISON="$ac_prog"
6449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6457 BISON=$ac_cv_prog_BISON
6458 if test -n "$BISON"; then
6459 echo "$as_me:$LINENO: result
: $BISON" >&5
6460 echo "${ECHO_T}$BISON" >&6
6462 echo "$as_me:$LINENO: result
: no
" >&5
6463 echo "${ECHO_T}no
" >&6
6466 test -n "$BISON" && break
6468 test -n "$BISON" || BISON="$MISSING bison
"
6470 case " $build_configdirs " in
6471 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6474 for ac_prog in gm4 gnum4 m4
6476 # Extract the first word of "$ac_prog", so it can be a program name with args.
6477 set dummy $ac_prog; ac_word=$2
6478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6480 if test "${ac_cv_prog_M4+set}" = set; then
6481 echo $ECHO_N "(cached
) $ECHO_C" >&6
6483 if test -n "$M4"; then
6484 ac_cv_prog_M4="$M4" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_M4="$ac_prog"
6494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6503 if test -n "$M4"; then
6504 echo "$as_me:$LINENO: result
: $M4" >&5
6505 echo "${ECHO_T}$M4" >&6
6507 echo "$as_me:$LINENO: result
: no
" >&5
6508 echo "${ECHO_T}no
" >&6
6511 test -n "$M4" && break
6513 test -n "$M4" || M4="$MISSING m4"
6515 case " $build_configdirs " in
6516 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6519 for ac_prog in flex lex
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy $ac_prog; ac_word=$2
6523 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6524 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6525 if test "${ac_cv_prog_LEX+set}" = set; then
6526 echo $ECHO_N "(cached
) $ECHO_C" >&6
6528 if test -n "$LEX"; then
6529 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_LEX="$ac_prog"
6539 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6548 if test -n "$LEX"; then
6549 echo "$as_me:$LINENO: result
: $LEX" >&5
6550 echo "${ECHO_T}$LEX" >&6
6552 echo "$as_me:$LINENO: result
: no
" >&5
6553 echo "${ECHO_T}no
" >&6
6556 test -n "$LEX" && break
6558 test -n "$LEX" || LEX="$MISSING flex
"
6560 case " $build_configdirs " in
6561 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6562 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6567 # Extract the first word of "$ac_prog", so it can be a program name with args.
6568 set dummy $ac_prog; ac_word=$2
6569 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6571 if test "${ac_cv_prog_FLEX+set}" = set; then
6572 echo $ECHO_N "(cached
) $ECHO_C" >&6
6574 if test -n "$FLEX"; then
6575 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_FLEX="$ac_prog"
6585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6593 FLEX=$ac_cv_prog_FLEX
6594 if test -n "$FLEX"; then
6595 echo "$as_me:$LINENO: result
: $FLEX" >&5
6596 echo "${ECHO_T}$FLEX" >&6
6598 echo "$as_me:$LINENO: result
: no
" >&5
6599 echo "${ECHO_T}no
" >&6
6602 test -n "$FLEX" && break
6604 test -n "$FLEX" || FLEX="$MISSING flex
"
6606 case " $build_configdirs " in
6607 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6610 for ac_prog in makeinfo
6612 # Extract the first word of "$ac_prog", so it can be a program name with args.
6613 set dummy $ac_prog; ac_word=$2
6614 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6615 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6616 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6617 echo $ECHO_N "(cached
) $ECHO_C" >&6
6619 if test -n "$MAKEINFO"; then
6620 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_MAKEINFO="$ac_prog"
6630 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6638 MAKEINFO=$ac_cv_prog_MAKEINFO
6639 if test -n "$MAKEINFO"; then
6640 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6641 echo "${ECHO_T}$MAKEINFO" >&6
6643 echo "$as_me:$LINENO: result
: no
" >&5
6644 echo "${ECHO_T}no
" >&6
6647 test -n "$MAKEINFO" && break
6649 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6651 case " $build_configdirs " in
6652 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6655 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6656 # higher, else we use the "missing
" dummy.
6657 if ${MAKEINFO} --version \
6658 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6661 MAKEINFO="$MISSING makeinfo
"
6667 # FIXME: expect and dejagnu may become build tools?
6669 for ac_prog in expect
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6674 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6675 if test "${ac_cv_prog_EXPECT+set}" = set; then
6676 echo $ECHO_N "(cached
) $ECHO_C" >&6
6678 if test -n "$EXPECT"; then
6679 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_EXPECT="$ac_prog"
6689 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6697 EXPECT=$ac_cv_prog_EXPECT
6698 if test -n "$EXPECT"; then
6699 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6700 echo "${ECHO_T}$EXPECT" >&6
6702 echo "$as_me:$LINENO: result
: no
" >&5
6703 echo "${ECHO_T}no
" >&6
6706 test -n "$EXPECT" && break
6708 test -n "$EXPECT" || EXPECT="expect
"
6710 case " $configdirs " in
6712 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6716 for ac_prog in runtest
6718 # Extract the first word of "$ac_prog", so it can be a program name with args.
6719 set dummy $ac_prog; ac_word=$2
6720 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6721 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6722 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6723 echo $ECHO_N "(cached
) $ECHO_C" >&6
6725 if test -n "$RUNTEST"; then
6726 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_RUNTEST="$ac_prog"
6736 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 RUNTEST=$ac_cv_prog_RUNTEST
6745 if test -n "$RUNTEST"; then
6746 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6747 echo "${ECHO_T}$RUNTEST" >&6
6749 echo "$as_me:$LINENO: result
: no
" >&5
6750 echo "${ECHO_T}no
" >&6
6753 test -n "$RUNTEST" && break
6755 test -n "$RUNTEST" || RUNTEST="runtest
"
6757 case " $configdirs " in
6759 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6766 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6767 ncn_target_tool_prefix=
6768 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6772 if test -n "$AR"; then
6774 elif test -n "$ac_cv_prog_AR"; then
6778 if test -n "$ac_cv_prog_AR"; then
6779 for ncn_progname in ar; do
6780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6781 set dummy ${ncn_progname}; ac_word=$2
6782 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6783 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6784 if test "${ac_cv_prog_AR+set}" = set; then
6785 echo $ECHO_N "(cached
) $ECHO_C" >&6
6787 if test -n "$AR"; then
6788 ac_cv_prog_AR="$AR" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_AR="${ncn_progname}"
6798 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6807 if test -n "$AR"; then
6808 echo "$as_me:$LINENO: result
: $AR" >&5
6809 echo "${ECHO_T}$AR" >&6
6811 echo "$as_me:$LINENO: result
: no
" >&5
6812 echo "${ECHO_T}no
" >&6
6818 for ncn_progname in ar; do
6819 if test -n "$ncn_tool_prefix"; then
6820 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6821 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6822 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6823 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6824 if test "${ac_cv_prog_AR+set}" = set; then
6825 echo $ECHO_N "(cached
) $ECHO_C" >&6
6827 if test -n "$AR"; then
6828 ac_cv_prog_AR="$AR" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6838 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6847 if test -n "$AR"; then
6848 echo "$as_me:$LINENO: result
: $AR" >&5
6849 echo "${ECHO_T}$AR" >&6
6851 echo "$as_me:$LINENO: result
: no
" >&5
6852 echo "${ECHO_T}no
" >&6
6856 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6858 set dummy ${ncn_progname}; ac_word=$2
6859 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6860 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6861 if test "${ac_cv_prog_AR+set}" = set; then
6862 echo $ECHO_N "(cached
) $ECHO_C" >&6
6864 if test -n "$AR"; then
6865 ac_cv_prog_AR="$AR" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_AR="${ncn_progname}"
6875 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 if test -n "$AR"; then
6885 echo "$as_me:$LINENO: result
: $AR" >&5
6886 echo "${ECHO_T}$AR" >&6
6888 echo "$as_me:$LINENO: result
: no
" >&5
6889 echo "${ECHO_T}no
" >&6
6893 test -n "$ac_cv_prog_AR" && break
6896 if test -z "$ac_cv_prog_AR" ; then
6898 if test $build = $host ; then
6901 AR="${ncn_tool_prefix}$2"
6907 if test -n "$AS"; then
6909 elif test -n "$ac_cv_prog_AS"; then
6913 if test -n "$ac_cv_prog_AS"; then
6914 for ncn_progname in as; do
6915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6916 set dummy ${ncn_progname}; ac_word=$2
6917 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6918 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6919 if test "${ac_cv_prog_AS+set}" = set; then
6920 echo $ECHO_N "(cached
) $ECHO_C" >&6
6922 if test -n "$AS"; then
6923 ac_cv_prog_AS="$AS" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932 ac_cv_prog_AS="${ncn_progname}"
6933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6942 if test -n "$AS"; then
6943 echo "$as_me:$LINENO: result
: $AS" >&5
6944 echo "${ECHO_T}$AS" >&6
6946 echo "$as_me:$LINENO: result
: no
" >&5
6947 echo "${ECHO_T}no
" >&6
6953 for ncn_progname in as; do
6954 if test -n "$ncn_tool_prefix"; then
6955 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6956 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6957 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6958 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6959 if test "${ac_cv_prog_AS+set}" = set; then
6960 echo $ECHO_N "(cached
) $ECHO_C" >&6
6962 if test -n "$AS"; then
6963 ac_cv_prog_AS="$AS" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6973 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6982 if test -n "$AS"; then
6983 echo "$as_me:$LINENO: result
: $AS" >&5
6984 echo "${ECHO_T}$AS" >&6
6986 echo "$as_me:$LINENO: result
: no
" >&5
6987 echo "${ECHO_T}no
" >&6
6991 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6993 set dummy ${ncn_progname}; ac_word=$2
6994 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6995 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6996 if test "${ac_cv_prog_AS+set}" = set; then
6997 echo $ECHO_N "(cached
) $ECHO_C" >&6
6999 if test -n "$AS"; then
7000 ac_cv_prog_AS="$AS" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_AS="${ncn_progname}"
7010 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7019 if test -n "$AS"; then
7020 echo "$as_me:$LINENO: result
: $AS" >&5
7021 echo "${ECHO_T}$AS" >&6
7023 echo "$as_me:$LINENO: result
: no
" >&5
7024 echo "${ECHO_T}no
" >&6
7028 test -n "$ac_cv_prog_AS" && break
7031 if test -z "$ac_cv_prog_AS" ; then
7033 if test $build = $host ; then
7036 AS="${ncn_tool_prefix}$2"
7042 if test -n "$DLLTOOL"; then
7043 ac_cv_prog_DLLTOOL=$DLLTOOL
7044 elif test -n "$ac_cv_prog_DLLTOOL"; then
7045 DLLTOOL=$ac_cv_prog_DLLTOOL
7048 if test -n "$ac_cv_prog_DLLTOOL"; then
7049 for ncn_progname in dlltool; do
7050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7051 set dummy ${ncn_progname}; ac_word=$2
7052 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7053 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7054 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7055 echo $ECHO_N "(cached
) $ECHO_C" >&6
7057 if test -n "$DLLTOOL"; then
7058 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067 ac_cv_prog_DLLTOOL="${ncn_progname}"
7068 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7076 DLLTOOL=$ac_cv_prog_DLLTOOL
7077 if test -n "$DLLTOOL"; then
7078 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7079 echo "${ECHO_T}$DLLTOOL" >&6
7081 echo "$as_me:$LINENO: result
: no
" >&5
7082 echo "${ECHO_T}no
" >&6
7088 for ncn_progname in dlltool; do
7089 if test -n "$ncn_tool_prefix"; then
7090 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7091 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7092 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7093 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7094 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7095 echo $ECHO_N "(cached
) $ECHO_C" >&6
7097 if test -n "$DLLTOOL"; then
7098 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir=.
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7108 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7116 DLLTOOL=$ac_cv_prog_DLLTOOL
7117 if test -n "$DLLTOOL"; then
7118 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7119 echo "${ECHO_T}$DLLTOOL" >&6
7121 echo "$as_me:$LINENO: result
: no
" >&5
7122 echo "${ECHO_T}no
" >&6
7126 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7128 set dummy ${ncn_progname}; ac_word=$2
7129 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7131 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7132 echo $ECHO_N "(cached
) $ECHO_C" >&6
7134 if test -n "$DLLTOOL"; then
7135 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_DLLTOOL="${ncn_progname}"
7145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7153 DLLTOOL=$ac_cv_prog_DLLTOOL
7154 if test -n "$DLLTOOL"; then
7155 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7156 echo "${ECHO_T}$DLLTOOL" >&6
7158 echo "$as_me:$LINENO: result
: no
" >&5
7159 echo "${ECHO_T}no
" >&6
7163 test -n "$ac_cv_prog_DLLTOOL" && break
7166 if test -z "$ac_cv_prog_DLLTOOL" ; then
7168 if test $build = $host ; then
7171 DLLTOOL="${ncn_tool_prefix}$2"
7177 if test -n "$LD"; then
7179 elif test -n "$ac_cv_prog_LD"; then
7183 if test -n "$ac_cv_prog_LD"; then
7184 for ncn_progname in ld; do
7185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7186 set dummy ${ncn_progname}; ac_word=$2
7187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7189 if test "${ac_cv_prog_LD+set}" = set; then
7190 echo $ECHO_N "(cached
) $ECHO_C" >&6
7192 if test -n "$LD"; then
7193 ac_cv_prog_LD="$LD" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_LD="${ncn_progname}"
7203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7212 if test -n "$LD"; then
7213 echo "$as_me:$LINENO: result
: $LD" >&5
7214 echo "${ECHO_T}$LD" >&6
7216 echo "$as_me:$LINENO: result
: no
" >&5
7217 echo "${ECHO_T}no
" >&6
7223 for ncn_progname in ld; do
7224 if test -n "$ncn_tool_prefix"; then
7225 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7226 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7227 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7228 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7229 if test "${ac_cv_prog_LD+set}" = set; then
7230 echo $ECHO_N "(cached
) $ECHO_C" >&6
7232 if test -n "$LD"; then
7233 ac_cv_prog_LD="$LD" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7243 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7252 if test -n "$LD"; then
7253 echo "$as_me:$LINENO: result
: $LD" >&5
7254 echo "${ECHO_T}$LD" >&6
7256 echo "$as_me:$LINENO: result
: no
" >&5
7257 echo "${ECHO_T}no
" >&6
7261 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7263 set dummy ${ncn_progname}; ac_word=$2
7264 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7265 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7266 if test "${ac_cv_prog_LD+set}" = set; then
7267 echo $ECHO_N "(cached
) $ECHO_C" >&6
7269 if test -n "$LD"; then
7270 ac_cv_prog_LD="$LD" # Let the user override the test.
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_LD="${ncn_progname}"
7280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7289 if test -n "$LD"; then
7290 echo "$as_me:$LINENO: result
: $LD" >&5
7291 echo "${ECHO_T}$LD" >&6
7293 echo "$as_me:$LINENO: result
: no
" >&5
7294 echo "${ECHO_T}no
" >&6
7298 test -n "$ac_cv_prog_LD" && break
7301 if test -z "$ac_cv_prog_LD" ; then
7303 if test $build = $host ; then
7306 LD="${ncn_tool_prefix}$2"
7312 if test -n "$LIPO"; then
7313 ac_cv_prog_LIPO=$LIPO
7314 elif test -n "$ac_cv_prog_LIPO"; then
7315 LIPO=$ac_cv_prog_LIPO
7318 if test -n "$ac_cv_prog_LIPO"; then
7319 for ncn_progname in lipo; do
7320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7321 set dummy ${ncn_progname}; ac_word=$2
7322 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7323 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7324 if test "${ac_cv_prog_LIPO+set}" = set; then
7325 echo $ECHO_N "(cached
) $ECHO_C" >&6
7327 if test -n "$LIPO"; then
7328 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_LIPO="${ncn_progname}"
7338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7346 LIPO=$ac_cv_prog_LIPO
7347 if test -n "$LIPO"; then
7348 echo "$as_me:$LINENO: result
: $LIPO" >&5
7349 echo "${ECHO_T}$LIPO" >&6
7351 echo "$as_me:$LINENO: result
: no
" >&5
7352 echo "${ECHO_T}no
" >&6
7358 for ncn_progname in lipo; do
7359 if test -n "$ncn_tool_prefix"; then
7360 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7361 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7362 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7363 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7364 if test "${ac_cv_prog_LIPO+set}" = set; then
7365 echo $ECHO_N "(cached
) $ECHO_C" >&6
7367 if test -n "$LIPO"; then
7368 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7378 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7386 LIPO=$ac_cv_prog_LIPO
7387 if test -n "$LIPO"; then
7388 echo "$as_me:$LINENO: result
: $LIPO" >&5
7389 echo "${ECHO_T}$LIPO" >&6
7391 echo "$as_me:$LINENO: result
: no
" >&5
7392 echo "${ECHO_T}no
" >&6
7396 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7398 set dummy ${ncn_progname}; ac_word=$2
7399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7401 if test "${ac_cv_prog_LIPO+set}" = set; then
7402 echo $ECHO_N "(cached
) $ECHO_C" >&6
7404 if test -n "$LIPO"; then
7405 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_LIPO="${ncn_progname}"
7415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7423 LIPO=$ac_cv_prog_LIPO
7424 if test -n "$LIPO"; then
7425 echo "$as_me:$LINENO: result
: $LIPO" >&5
7426 echo "${ECHO_T}$LIPO" >&6
7428 echo "$as_me:$LINENO: result
: no
" >&5
7429 echo "${ECHO_T}no
" >&6
7433 test -n "$ac_cv_prog_LIPO" && break
7436 if test -z "$ac_cv_prog_LIPO" ; then
7438 if test $build = $host ; then
7441 LIPO="${ncn_tool_prefix}$2"
7447 if test -n "$NM"; then
7449 elif test -n "$ac_cv_prog_NM"; then
7453 if test -n "$ac_cv_prog_NM"; then
7454 for ncn_progname in nm; do
7455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7456 set dummy ${ncn_progname}; ac_word=$2
7457 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7459 if test "${ac_cv_prog_NM+set}" = set; then
7460 echo $ECHO_N "(cached
) $ECHO_C" >&6
7462 if test -n "$NM"; then
7463 ac_cv_prog_NM="$NM" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_NM="${ncn_progname}"
7473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7482 if test -n "$NM"; then
7483 echo "$as_me:$LINENO: result
: $NM" >&5
7484 echo "${ECHO_T}$NM" >&6
7486 echo "$as_me:$LINENO: result
: no
" >&5
7487 echo "${ECHO_T}no
" >&6
7493 for ncn_progname in nm; do
7494 if test -n "$ncn_tool_prefix"; then
7495 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7496 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7497 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7498 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7499 if test "${ac_cv_prog_NM+set}" = set; then
7500 echo $ECHO_N "(cached
) $ECHO_C" >&6
7502 if test -n "$NM"; then
7503 ac_cv_prog_NM="$NM" # Let the user override the test.
7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir=.
7510 for ac_exec_ext in '' $ac_executable_extensions; do
7511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7513 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7522 if test -n "$NM"; then
7523 echo "$as_me:$LINENO: result
: $NM" >&5
7524 echo "${ECHO_T}$NM" >&6
7526 echo "$as_me:$LINENO: result
: no
" >&5
7527 echo "${ECHO_T}no
" >&6
7531 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7533 set dummy ${ncn_progname}; ac_word=$2
7534 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7535 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7536 if test "${ac_cv_prog_NM+set}" = set; then
7537 echo $ECHO_N "(cached
) $ECHO_C" >&6
7539 if test -n "$NM"; then
7540 ac_cv_prog_NM="$NM" # Let the user override the test.
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_prog_NM="${ncn_progname}"
7550 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7559 if test -n "$NM"; then
7560 echo "$as_me:$LINENO: result
: $NM" >&5
7561 echo "${ECHO_T}$NM" >&6
7563 echo "$as_me:$LINENO: result
: no
" >&5
7564 echo "${ECHO_T}no
" >&6
7568 test -n "$ac_cv_prog_NM" && break
7571 if test -z "$ac_cv_prog_NM" ; then
7573 if test $build = $host ; then
7576 NM="${ncn_tool_prefix}$2"
7582 if test -n "$RANLIB"; then
7583 ac_cv_prog_RANLIB=$RANLIB
7584 elif test -n "$ac_cv_prog_RANLIB"; then
7585 RANLIB=$ac_cv_prog_RANLIB
7588 if test -n "$ac_cv_prog_RANLIB"; then
7589 for ncn_progname in ranlib; do
7590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7591 set dummy ${ncn_progname}; ac_word=$2
7592 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7594 if test "${ac_cv_prog_RANLIB+set}" = set; then
7595 echo $ECHO_N "(cached
) $ECHO_C" >&6
7597 if test -n "$RANLIB"; then
7598 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_RANLIB="${ncn_progname}"
7608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7616 RANLIB=$ac_cv_prog_RANLIB
7617 if test -n "$RANLIB"; then
7618 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7619 echo "${ECHO_T}$RANLIB" >&6
7621 echo "$as_me:$LINENO: result
: no
" >&5
7622 echo "${ECHO_T}no
" >&6
7628 for ncn_progname in ranlib; do
7629 if test -n "$ncn_tool_prefix"; then
7630 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7631 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7632 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7634 if test "${ac_cv_prog_RANLIB+set}" = set; then
7635 echo $ECHO_N "(cached
) $ECHO_C" >&6
7637 if test -n "$RANLIB"; then
7638 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7647 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7656 RANLIB=$ac_cv_prog_RANLIB
7657 if test -n "$RANLIB"; then
7658 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7659 echo "${ECHO_T}$RANLIB" >&6
7661 echo "$as_me:$LINENO: result
: no
" >&5
7662 echo "${ECHO_T}no
" >&6
7666 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7668 set dummy ${ncn_progname}; ac_word=$2
7669 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7671 if test "${ac_cv_prog_RANLIB+set}" = set; then
7672 echo $ECHO_N "(cached
) $ECHO_C" >&6
7674 if test -n "$RANLIB"; then
7675 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_RANLIB="${ncn_progname}"
7685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7693 RANLIB=$ac_cv_prog_RANLIB
7694 if test -n "$RANLIB"; then
7695 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7696 echo "${ECHO_T}$RANLIB" >&6
7698 echo "$as_me:$LINENO: result
: no
" >&5
7699 echo "${ECHO_T}no
" >&6
7703 test -n "$ac_cv_prog_RANLIB" && break
7706 if test -z "$ac_cv_prog_RANLIB" ; then
7712 if test -n "$STRIP"; then
7713 ac_cv_prog_STRIP=$STRIP
7714 elif test -n "$ac_cv_prog_STRIP"; then
7715 STRIP=$ac_cv_prog_STRIP
7718 if test -n "$ac_cv_prog_STRIP"; then
7719 for ncn_progname in strip; do
7720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7721 set dummy ${ncn_progname}; ac_word=$2
7722 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7723 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7724 if test "${ac_cv_prog_STRIP+set}" = set; then
7725 echo $ECHO_N "(cached
) $ECHO_C" >&6
7727 if test -n "$STRIP"; then
7728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_STRIP="${ncn_progname}"
7738 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7746 STRIP=$ac_cv_prog_STRIP
7747 if test -n "$STRIP"; then
7748 echo "$as_me:$LINENO: result
: $STRIP" >&5
7749 echo "${ECHO_T}$STRIP" >&6
7751 echo "$as_me:$LINENO: result
: no
" >&5
7752 echo "${ECHO_T}no
" >&6
7758 for ncn_progname in strip; do
7759 if test -n "$ncn_tool_prefix"; then
7760 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7761 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7762 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7763 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7764 if test "${ac_cv_prog_STRIP+set}" = set; then
7765 echo $ECHO_N "(cached
) $ECHO_C" >&6
7767 if test -n "$STRIP"; then
7768 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7778 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 STRIP=$ac_cv_prog_STRIP
7787 if test -n "$STRIP"; then
7788 echo "$as_me:$LINENO: result
: $STRIP" >&5
7789 echo "${ECHO_T}$STRIP" >&6
7791 echo "$as_me:$LINENO: result
: no
" >&5
7792 echo "${ECHO_T}no
" >&6
7796 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7797 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7798 set dummy ${ncn_progname}; ac_word=$2
7799 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7800 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7801 if test "${ac_cv_prog_STRIP+set}" = set; then
7802 echo $ECHO_N "(cached
) $ECHO_C" >&6
7804 if test -n "$STRIP"; then
7805 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 ac_cv_prog_STRIP="${ncn_progname}"
7815 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7823 STRIP=$ac_cv_prog_STRIP
7824 if test -n "$STRIP"; then
7825 echo "$as_me:$LINENO: result
: $STRIP" >&5
7826 echo "${ECHO_T}$STRIP" >&6
7828 echo "$as_me:$LINENO: result
: no
" >&5
7829 echo "${ECHO_T}no
" >&6
7833 test -n "$ac_cv_prog_STRIP" && break
7836 if test -z "$ac_cv_prog_STRIP" ; then
7842 if test -n "$WINDRES"; then
7843 ac_cv_prog_WINDRES=$WINDRES
7844 elif test -n "$ac_cv_prog_WINDRES"; then
7845 WINDRES=$ac_cv_prog_WINDRES
7848 if test -n "$ac_cv_prog_WINDRES"; then
7849 for ncn_progname in windres; do
7850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7851 set dummy ${ncn_progname}; ac_word=$2
7852 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7853 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7854 if test "${ac_cv_prog_WINDRES+set}" = set; then
7855 echo $ECHO_N "(cached
) $ECHO_C" >&6
7857 if test -n "$WINDRES"; then
7858 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_WINDRES="${ncn_progname}"
7868 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 WINDRES=$ac_cv_prog_WINDRES
7877 if test -n "$WINDRES"; then
7878 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7879 echo "${ECHO_T}$WINDRES" >&6
7881 echo "$as_me:$LINENO: result
: no
" >&5
7882 echo "${ECHO_T}no
" >&6
7888 for ncn_progname in windres; do
7889 if test -n "$ncn_tool_prefix"; then
7890 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7891 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7892 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7894 if test "${ac_cv_prog_WINDRES+set}" = set; then
7895 echo $ECHO_N "(cached
) $ECHO_C" >&6
7897 if test -n "$WINDRES"; then
7898 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7916 WINDRES=$ac_cv_prog_WINDRES
7917 if test -n "$WINDRES"; then
7918 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7919 echo "${ECHO_T}$WINDRES" >&6
7921 echo "$as_me:$LINENO: result
: no
" >&5
7922 echo "${ECHO_T}no
" >&6
7926 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7928 set dummy ${ncn_progname}; ac_word=$2
7929 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7930 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7931 if test "${ac_cv_prog_WINDRES+set}" = set; then
7932 echo $ECHO_N "(cached
) $ECHO_C" >&6
7934 if test -n "$WINDRES"; then
7935 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_WINDRES="${ncn_progname}"
7945 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7953 WINDRES=$ac_cv_prog_WINDRES
7954 if test -n "$WINDRES"; then
7955 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7956 echo "${ECHO_T}$WINDRES" >&6
7958 echo "$as_me:$LINENO: result
: no
" >&5
7959 echo "${ECHO_T}no
" >&6
7963 test -n "$ac_cv_prog_WINDRES" && break
7966 if test -z "$ac_cv_prog_WINDRES" ; then
7968 if test $build = $host ; then
7971 WINDRES="${ncn_tool_prefix}$2"
7977 if test -n "$WINDMC"; then
7978 ac_cv_prog_WINDMC=$WINDMC
7979 elif test -n "$ac_cv_prog_WINDMC"; then
7980 WINDMC=$ac_cv_prog_WINDMC
7983 if test -n "$ac_cv_prog_WINDMC"; then
7984 for ncn_progname in windmc; do
7985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7986 set dummy ${ncn_progname}; ac_word=$2
7987 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7988 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7989 if test "${ac_cv_prog_WINDMC+set}" = set; then
7990 echo $ECHO_N "(cached
) $ECHO_C" >&6
7992 if test -n "$WINDMC"; then
7993 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8002 ac_cv_prog_WINDMC="${ncn_progname}"
8003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8011 WINDMC=$ac_cv_prog_WINDMC
8012 if test -n "$WINDMC"; then
8013 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8014 echo "${ECHO_T}$WINDMC" >&6
8016 echo "$as_me:$LINENO: result
: no
" >&5
8017 echo "${ECHO_T}no
" >&6
8023 for ncn_progname in windmc; do
8024 if test -n "$ncn_tool_prefix"; then
8025 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8026 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8027 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8028 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8029 if test "${ac_cv_prog_WINDMC+set}" = set; then
8030 echo $ECHO_N "(cached
) $ECHO_C" >&6
8032 if test -n "$WINDMC"; then
8033 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8043 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8051 WINDMC=$ac_cv_prog_WINDMC
8052 if test -n "$WINDMC"; then
8053 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8054 echo "${ECHO_T}$WINDMC" >&6
8056 echo "$as_me:$LINENO: result
: no
" >&5
8057 echo "${ECHO_T}no
" >&6
8061 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8063 set dummy ${ncn_progname}; ac_word=$2
8064 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8065 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8066 if test "${ac_cv_prog_WINDMC+set}" = set; then
8067 echo $ECHO_N "(cached
) $ECHO_C" >&6
8069 if test -n "$WINDMC"; then
8070 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_WINDMC="${ncn_progname}"
8080 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8088 WINDMC=$ac_cv_prog_WINDMC
8089 if test -n "$WINDMC"; then
8090 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8091 echo "${ECHO_T}$WINDMC" >&6
8093 echo "$as_me:$LINENO: result
: no
" >&5
8094 echo "${ECHO_T}no
" >&6
8098 test -n "$ac_cv_prog_WINDMC" && break
8101 if test -z "$ac_cv_prog_WINDMC" ; then
8103 if test $build = $host ; then
8106 WINDMC="${ncn_tool_prefix}$2"
8112 if test -n "$OBJCOPY"; then
8113 ac_cv_prog_OBJCOPY=$OBJCOPY
8114 elif test -n "$ac_cv_prog_OBJCOPY"; then
8115 OBJCOPY=$ac_cv_prog_OBJCOPY
8118 if test -n "$ac_cv_prog_OBJCOPY"; then
8119 for ncn_progname in objcopy; do
8120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8121 set dummy ${ncn_progname}; ac_word=$2
8122 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8123 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8124 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8125 echo $ECHO_N "(cached
) $ECHO_C" >&6
8127 if test -n "$OBJCOPY"; then
8128 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_OBJCOPY="${ncn_progname}"
8138 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8146 OBJCOPY=$ac_cv_prog_OBJCOPY
8147 if test -n "$OBJCOPY"; then
8148 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8149 echo "${ECHO_T}$OBJCOPY" >&6
8151 echo "$as_me:$LINENO: result
: no
" >&5
8152 echo "${ECHO_T}no
" >&6
8158 for ncn_progname in objcopy; do
8159 if test -n "$ncn_tool_prefix"; then
8160 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8161 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8162 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8163 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8164 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8165 echo $ECHO_N "(cached
) $ECHO_C" >&6
8167 if test -n "$OBJCOPY"; then
8168 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 test -z "$as_dir" && as_dir=.
8175 for ac_exec_ext in '' $ac_executable_extensions; do
8176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8178 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 OBJCOPY=$ac_cv_prog_OBJCOPY
8187 if test -n "$OBJCOPY"; then
8188 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8189 echo "${ECHO_T}$OBJCOPY" >&6
8191 echo "$as_me:$LINENO: result
: no
" >&5
8192 echo "${ECHO_T}no
" >&6
8196 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8198 set dummy ${ncn_progname}; ac_word=$2
8199 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8200 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8201 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8202 echo $ECHO_N "(cached
) $ECHO_C" >&6
8204 if test -n "$OBJCOPY"; then
8205 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8214 ac_cv_prog_OBJCOPY="${ncn_progname}"
8215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8223 OBJCOPY=$ac_cv_prog_OBJCOPY
8224 if test -n "$OBJCOPY"; then
8225 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8226 echo "${ECHO_T}$OBJCOPY" >&6
8228 echo "$as_me:$LINENO: result
: no
" >&5
8229 echo "${ECHO_T}no
" >&6
8233 test -n "$ac_cv_prog_OBJCOPY" && break
8236 if test -z "$ac_cv_prog_OBJCOPY" ; then
8238 if test $build = $host ; then
8241 OBJCOPY="${ncn_tool_prefix}$2"
8247 if test -n "$OBJDUMP"; then
8248 ac_cv_prog_OBJDUMP=$OBJDUMP
8249 elif test -n "$ac_cv_prog_OBJDUMP"; then
8250 OBJDUMP=$ac_cv_prog_OBJDUMP
8253 if test -n "$ac_cv_prog_OBJDUMP"; then
8254 for ncn_progname in objdump; do
8255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8256 set dummy ${ncn_progname}; ac_word=$2
8257 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8259 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8260 echo $ECHO_N "(cached
) $ECHO_C" >&6
8262 if test -n "$OBJDUMP"; then
8263 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_OBJDUMP="${ncn_progname}"
8273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 OBJDUMP=$ac_cv_prog_OBJDUMP
8282 if test -n "$OBJDUMP"; then
8283 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8284 echo "${ECHO_T}$OBJDUMP" >&6
8286 echo "$as_me:$LINENO: result
: no
" >&5
8287 echo "${ECHO_T}no
" >&6
8293 for ncn_progname in objdump; do
8294 if test -n "$ncn_tool_prefix"; then
8295 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8296 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8297 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8298 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8299 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8300 echo $ECHO_N "(cached
) $ECHO_C" >&6
8302 if test -n "$OBJDUMP"; then
8303 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8312 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8313 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 OBJDUMP=$ac_cv_prog_OBJDUMP
8322 if test -n "$OBJDUMP"; then
8323 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8324 echo "${ECHO_T}$OBJDUMP" >&6
8326 echo "$as_me:$LINENO: result
: no
" >&5
8327 echo "${ECHO_T}no
" >&6
8331 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8333 set dummy ${ncn_progname}; ac_word=$2
8334 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8335 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8336 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8337 echo $ECHO_N "(cached
) $ECHO_C" >&6
8339 if test -n "$OBJDUMP"; then
8340 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8349 ac_cv_prog_OBJDUMP="${ncn_progname}"
8350 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8358 OBJDUMP=$ac_cv_prog_OBJDUMP
8359 if test -n "$OBJDUMP"; then
8360 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8361 echo "${ECHO_T}$OBJDUMP" >&6
8363 echo "$as_me:$LINENO: result
: no
" >&5
8364 echo "${ECHO_T}no
" >&6
8368 test -n "$ac_cv_prog_OBJDUMP" && break
8371 if test -z "$ac_cv_prog_OBJDUMP" ; then
8373 if test $build = $host ; then
8376 OBJDUMP="${ncn_tool_prefix}$2"
8387 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8388 if test "${with_build_time_tools+set}" = set; then
8389 withval="$with_build_time_tools"
8393 with_build_time_tools=
8394 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8395 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8399 with_build_time_tools=
8404 if test -n "$CC_FOR_TARGET"; then
8405 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8406 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8407 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8410 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8411 for ncn_progname in cc gcc; do
8412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8413 set dummy ${ncn_progname}; ac_word=$2
8414 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8415 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8416 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8417 echo $ECHO_N "(cached
) $ECHO_C" >&6
8419 if test -n "$CC_FOR_TARGET"; then
8420 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8430 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8438 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8439 if test -n "$CC_FOR_TARGET"; then
8440 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8441 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8443 echo "$as_me:$LINENO: result
: no
" >&5
8444 echo "${ECHO_T}no
" >&6
8450 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8451 for ncn_progname in cc gcc; do
8452 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8453 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8454 if test -x $with_build_time_tools/${ncn_progname}; then
8455 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8456 echo "$as_me:$LINENO: result
: yes" >&5
8457 echo "${ECHO_T}yes" >&6
8460 echo "$as_me:$LINENO: result
: no
" >&5
8461 echo "${ECHO_T}no
" >&6
8466 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8467 for ncn_progname in cc gcc; do
8468 if test -n "$ncn_target_tool_prefix"; then
8469 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8470 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8471 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8472 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8473 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8474 echo $ECHO_N "(cached
) $ECHO_C" >&6
8476 if test -n "$CC_FOR_TARGET"; then
8477 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir=.
8484 for ac_exec_ext in '' $ac_executable_extensions; do
8485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8486 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8487 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8495 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8496 if test -n "$CC_FOR_TARGET"; then
8497 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8498 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8500 echo "$as_me:$LINENO: result
: no
" >&5
8501 echo "${ECHO_T}no
" >&6
8505 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8507 set dummy ${ncn_progname}; ac_word=$2
8508 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8509 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8510 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8511 echo $ECHO_N "(cached
) $ECHO_C" >&6
8513 if test -n "$CC_FOR_TARGET"; then
8514 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir=.
8521 for ac_exec_ext in '' $ac_executable_extensions; do
8522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8524 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8532 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8533 if test -n "$CC_FOR_TARGET"; then
8534 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8535 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8537 echo "$as_me:$LINENO: result
: no
" >&5
8538 echo "${ECHO_T}no
" >&6
8542 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8546 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8548 if test $build = $target ; then
8551 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8554 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8559 if test -n "$CXX_FOR_TARGET"; then
8560 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8561 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8562 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8565 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8566 for ncn_progname in c++ g++ cxx gxx; do
8567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8568 set dummy ${ncn_progname}; ac_word=$2
8569 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8571 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8572 echo $ECHO_N "(cached
) $ECHO_C" >&6
8574 if test -n "$CXX_FOR_TARGET"; then
8575 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir=.
8582 for ac_exec_ext in '' $ac_executable_extensions; do
8583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8584 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8593 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8594 if test -n "$CXX_FOR_TARGET"; then
8595 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8596 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8598 echo "$as_me:$LINENO: result
: no
" >&5
8599 echo "${ECHO_T}no
" >&6
8605 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8606 for ncn_progname in c++ g++ cxx gxx; do
8607 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8608 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8609 if test -x $with_build_time_tools/${ncn_progname}; then
8610 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8611 echo "$as_me:$LINENO: result
: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8615 echo "$as_me:$LINENO: result
: no
" >&5
8616 echo "${ECHO_T}no
" >&6
8621 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8622 for ncn_progname in c++ g++ cxx gxx; do
8623 if test -n "$ncn_target_tool_prefix"; then
8624 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8625 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8626 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8627 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8628 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8629 echo $ECHO_N "(cached
) $ECHO_C" >&6
8631 if test -n "$CXX_FOR_TARGET"; then
8632 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8638 test -z "$as_dir" && as_dir=.
8639 for ac_exec_ext in '' $ac_executable_extensions; do
8640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8641 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8642 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8651 if test -n "$CXX_FOR_TARGET"; then
8652 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8653 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8655 echo "$as_me:$LINENO: result
: no
" >&5
8656 echo "${ECHO_T}no
" >&6
8660 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8662 set dummy ${ncn_progname}; ac_word=$2
8663 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8664 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8665 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8666 echo $ECHO_N "(cached
) $ECHO_C" >&6
8668 if test -n "$CXX_FOR_TARGET"; then
8669 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 test -z "$as_dir" && as_dir=.
8676 for ac_exec_ext in '' $ac_executable_extensions; do
8677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8678 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8679 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8687 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8688 if test -n "$CXX_FOR_TARGET"; then
8689 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8690 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8692 echo "$as_me:$LINENO: result
: no
" >&5
8693 echo "${ECHO_T}no
" >&6
8697 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8701 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8702 set dummy c++ g++ cxx gxx
8703 if test $build = $target ; then
8706 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8709 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8714 if test -n "$GCC_FOR_TARGET"; then
8715 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8716 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8717 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8720 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8721 for ncn_progname in gcc; do
8722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8723 set dummy ${ncn_progname}; ac_word=$2
8724 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8725 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8726 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8727 echo $ECHO_N "(cached
) $ECHO_C" >&6
8729 if test -n "$GCC_FOR_TARGET"; then
8730 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8736 test -z "$as_dir" && as_dir=.
8737 for ac_exec_ext in '' $ac_executable_extensions; do
8738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8739 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8740 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8748 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8749 if test -n "$GCC_FOR_TARGET"; then
8750 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8751 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8753 echo "$as_me:$LINENO: result
: no
" >&5
8754 echo "${ECHO_T}no
" >&6
8760 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8761 for ncn_progname in gcc; do
8762 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8763 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8764 if test -x $with_build_time_tools/${ncn_progname}; then
8765 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8766 echo "$as_me:$LINENO: result
: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result
: no
" >&5
8771 echo "${ECHO_T}no
" >&6
8776 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8777 for ncn_progname in gcc; do
8778 if test -n "$ncn_target_tool_prefix"; then
8779 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8780 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8781 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8782 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8783 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8784 echo $ECHO_N "(cached
) $ECHO_C" >&6
8786 if test -n "$GCC_FOR_TARGET"; then
8787 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8797 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8806 if test -n "$GCC_FOR_TARGET"; then
8807 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8808 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8810 echo "$as_me:$LINENO: result
: no
" >&5
8811 echo "${ECHO_T}no
" >&6
8815 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8817 set dummy ${ncn_progname}; ac_word=$2
8818 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8819 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8820 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8821 echo $ECHO_N "(cached
) $ECHO_C" >&6
8823 if test -n "$GCC_FOR_TARGET"; then
8824 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8830 test -z "$as_dir" && as_dir=.
8831 for ac_exec_ext in '' $ac_executable_extensions; do
8832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8833 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8834 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8842 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8843 if test -n "$GCC_FOR_TARGET"; then
8844 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8845 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8847 echo "$as_me:$LINENO: result
: no
" >&5
8848 echo "${ECHO_T}no
" >&6
8852 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8856 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8857 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8859 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8864 if test -n "$GCJ_FOR_TARGET"; then
8865 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8866 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8867 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8870 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8871 for ncn_progname in gcj; do
8872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8873 set dummy ${ncn_progname}; ac_word=$2
8874 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8875 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8876 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8877 echo $ECHO_N "(cached
) $ECHO_C" >&6
8879 if test -n "$GCJ_FOR_TARGET"; then
8880 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir=.
8887 for ac_exec_ext in '' $ac_executable_extensions; do
8888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8889 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8890 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8898 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8899 if test -n "$GCJ_FOR_TARGET"; then
8900 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8901 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8903 echo "$as_me:$LINENO: result
: no
" >&5
8904 echo "${ECHO_T}no
" >&6
8910 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8911 for ncn_progname in gcj; do
8912 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8913 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8914 if test -x $with_build_time_tools/${ncn_progname}; then
8915 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8916 echo "$as_me:$LINENO: result
: yes" >&5
8917 echo "${ECHO_T}yes" >&6
8920 echo "$as_me:$LINENO: result
: no
" >&5
8921 echo "${ECHO_T}no
" >&6
8926 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8927 for ncn_progname in gcj; do
8928 if test -n "$ncn_target_tool_prefix"; then
8929 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8930 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8931 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8932 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8933 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8934 echo $ECHO_N "(cached
) $ECHO_C" >&6
8936 if test -n "$GCJ_FOR_TARGET"; then
8937 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8943 test -z "$as_dir" && as_dir=.
8944 for ac_exec_ext in '' $ac_executable_extensions; do
8945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8946 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8947 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8955 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8956 if test -n "$GCJ_FOR_TARGET"; then
8957 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8958 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8960 echo "$as_me:$LINENO: result
: no
" >&5
8961 echo "${ECHO_T}no
" >&6
8965 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8967 set dummy ${ncn_progname}; ac_word=$2
8968 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8969 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8970 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8971 echo $ECHO_N "(cached
) $ECHO_C" >&6
8973 if test -n "$GCJ_FOR_TARGET"; then
8974 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir=.
8981 for ac_exec_ext in '' $ac_executable_extensions; do
8982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8983 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8984 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8992 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8993 if test -n "$GCJ_FOR_TARGET"; then
8994 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8995 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8997 echo "$as_me:$LINENO: result
: no
" >&5
8998 echo "${ECHO_T}no
" >&6
9002 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9006 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9008 if test $build = $target ; then
9011 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9014 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9019 if test -n "$GFORTRAN_FOR_TARGET"; then
9020 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9021 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9022 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9025 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9026 for ncn_progname in gfortran; do
9027 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9028 set dummy ${ncn_progname}; ac_word=$2
9029 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9030 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9031 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9032 echo $ECHO_N "(cached
) $ECHO_C" >&6
9034 if test -n "$GFORTRAN_FOR_TARGET"; then
9035 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041 test -z "$as_dir" && as_dir=.
9042 for ac_exec_ext in '' $ac_executable_extensions; do
9043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9044 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9045 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9053 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9054 if test -n "$GFORTRAN_FOR_TARGET"; then
9055 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9056 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9058 echo "$as_me:$LINENO: result
: no
" >&5
9059 echo "${ECHO_T}no
" >&6
9065 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9066 for ncn_progname in gfortran; do
9067 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9068 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9069 if test -x $with_build_time_tools/${ncn_progname}; then
9070 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9071 echo "$as_me:$LINENO: result
: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9075 echo "$as_me:$LINENO: result
: no
" >&5
9076 echo "${ECHO_T}no
" >&6
9081 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9082 for ncn_progname in gfortran; do
9083 if test -n "$ncn_target_tool_prefix"; then
9084 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9085 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9086 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9087 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9088 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9089 echo $ECHO_N "(cached
) $ECHO_C" >&6
9091 if test -n "$GFORTRAN_FOR_TARGET"; then
9092 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9098 test -z "$as_dir" && as_dir=.
9099 for ac_exec_ext in '' $ac_executable_extensions; do
9100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9101 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9102 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9110 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9111 if test -n "$GFORTRAN_FOR_TARGET"; then
9112 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9113 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9115 echo "$as_me:$LINENO: result
: no
" >&5
9116 echo "${ECHO_T}no
" >&6
9120 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9122 set dummy ${ncn_progname}; ac_word=$2
9123 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9124 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9125 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9126 echo $ECHO_N "(cached
) $ECHO_C" >&6
9128 if test -n "$GFORTRAN_FOR_TARGET"; then
9129 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9135 test -z "$as_dir" && as_dir=.
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9138 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9139 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9147 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9148 if test -n "$GFORTRAN_FOR_TARGET"; then
9149 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9150 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9152 echo "$as_me:$LINENO: result
: no
" >&5
9153 echo "${ECHO_T}no
" >&6
9157 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9161 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9163 if test $build = $target ; then
9164 GFORTRAN_FOR_TARGET="$2"
9166 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9169 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9174 cat > conftest.c << \EOF
9179 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9180 have_gcc_for_target=yes
9182 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9183 have_gcc_for_target=no
9190 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9191 if test -n "$with_build_time_tools"; then
9192 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9193 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9194 if test -x $with_build_time_tools/ar; then
9195 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9196 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9197 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9198 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9200 echo "$as_me:$LINENO: result
: no
" >&5
9201 echo "${ECHO_T}no
" >&6
9203 elif test $build != $host && test $have_gcc_for_target = yes; then
9204 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9205 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9206 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9209 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9210 # Extract the first word of "ar", so it can be a program name with args.
9211 set dummy ar; ac_word=$2
9212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9214 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9215 echo $ECHO_N "(cached
) $ECHO_C" >&6
9217 case $AR_FOR_TARGET in
9219 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9223 for as_dir in $gcc_cv_tool_dirs
9226 test -z "$as_dir" && as_dir=.
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9229 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9230 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9239 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9241 if test -n "$AR_FOR_TARGET"; then
9242 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9243 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9245 echo "$as_me:$LINENO: result
: no
" >&5
9246 echo "${ECHO_T}no
" >&6
9250 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9253 if test -n "$AR_FOR_TARGET"; then
9254 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9255 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9256 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9259 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9260 for ncn_progname in ar; do
9261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9262 set dummy ${ncn_progname}; ac_word=$2
9263 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9265 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9266 echo $ECHO_N "(cached
) $ECHO_C" >&6
9268 if test -n "$AR_FOR_TARGET"; then
9269 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 test -z "$as_dir" && as_dir=.
9276 for ac_exec_ext in '' $ac_executable_extensions; do
9277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9278 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9287 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9288 if test -n "$AR_FOR_TARGET"; then
9289 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9290 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9292 echo "$as_me:$LINENO: result
: no
" >&5
9293 echo "${ECHO_T}no
" >&6
9299 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9300 for ncn_progname in ar; do
9301 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9302 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9303 if test -x $with_build_time_tools/${ncn_progname}; then
9304 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9305 echo "$as_me:$LINENO: result
: yes" >&5
9306 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result
: no
" >&5
9310 echo "${ECHO_T}no
" >&6
9315 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9316 for ncn_progname in ar; do
9317 if test -n "$ncn_target_tool_prefix"; then
9318 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9319 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9320 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9322 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9323 echo $ECHO_N "(cached
) $ECHO_C" >&6
9325 if test -n "$AR_FOR_TARGET"; then
9326 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 test -z "$as_dir" && as_dir=.
9333 for ac_exec_ext in '' $ac_executable_extensions; do
9334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9335 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9336 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9344 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9345 if test -n "$AR_FOR_TARGET"; then
9346 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9347 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9349 echo "$as_me:$LINENO: result
: no
" >&5
9350 echo "${ECHO_T}no
" >&6
9354 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9356 set dummy ${ncn_progname}; ac_word=$2
9357 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9359 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9360 echo $ECHO_N "(cached
) $ECHO_C" >&6
9362 if test -n "$AR_FOR_TARGET"; then
9363 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9372 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9381 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9382 if test -n "$AR_FOR_TARGET"; then
9383 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9384 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9386 echo "$as_me:$LINENO: result
: no
" >&5
9387 echo "${ECHO_T}no
" >&6
9391 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9395 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9397 if test $build = $target ; then
9400 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9403 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9407 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9413 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9414 if test -n "$with_build_time_tools"; then
9415 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9416 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9417 if test -x $with_build_time_tools/as; then
9418 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9419 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9420 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9421 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9423 echo "$as_me:$LINENO: result
: no
" >&5
9424 echo "${ECHO_T}no
" >&6
9426 elif test $build != $host && test $have_gcc_for_target = yes; then
9427 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9428 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9429 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9432 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9433 # Extract the first word of "as
", so it can be a program name with args.
9434 set dummy as; ac_word=$2
9435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9437 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9438 echo $ECHO_N "(cached
) $ECHO_C" >&6
9440 case $AS_FOR_TARGET in
9442 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9446 for as_dir in $gcc_cv_tool_dirs
9449 test -z "$as_dir" && as_dir=.
9450 for ac_exec_ext in '' $ac_executable_extensions; do
9451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9452 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9462 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9464 if test -n "$AS_FOR_TARGET"; then
9465 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9466 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9468 echo "$as_me:$LINENO: result
: no
" >&5
9469 echo "${ECHO_T}no
" >&6
9473 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9476 if test -n "$AS_FOR_TARGET"; then
9477 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9478 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9479 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9482 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9483 for ncn_progname in as; do
9484 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9485 set dummy ${ncn_progname}; ac_word=$2
9486 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9487 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9488 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9489 echo $ECHO_N "(cached
) $ECHO_C" >&6
9491 if test -n "$AS_FOR_TARGET"; then
9492 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498 test -z "$as_dir" && as_dir=.
9499 for ac_exec_ext in '' $ac_executable_extensions; do
9500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9501 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9502 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9510 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9511 if test -n "$AS_FOR_TARGET"; then
9512 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9513 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9515 echo "$as_me:$LINENO: result
: no
" >&5
9516 echo "${ECHO_T}no
" >&6
9522 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9523 for ncn_progname in as; do
9524 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9525 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9526 if test -x $with_build_time_tools/${ncn_progname}; then
9527 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9528 echo "$as_me:$LINENO: result
: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9532 echo "$as_me:$LINENO: result
: no
" >&5
9533 echo "${ECHO_T}no
" >&6
9538 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9539 for ncn_progname in as; do
9540 if test -n "$ncn_target_tool_prefix"; then
9541 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9542 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9545 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9546 echo $ECHO_N "(cached
) $ECHO_C" >&6
9548 if test -n "$AS_FOR_TARGET"; then
9549 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir=.
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9558 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9559 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9567 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9568 if test -n "$AS_FOR_TARGET"; then
9569 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9570 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9572 echo "$as_me:$LINENO: result
: no
" >&5
9573 echo "${ECHO_T}no
" >&6
9577 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9579 set dummy ${ncn_progname}; ac_word=$2
9580 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9581 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9582 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9583 echo $ECHO_N "(cached
) $ECHO_C" >&6
9585 if test -n "$AS_FOR_TARGET"; then
9586 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9596 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9604 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9605 if test -n "$AS_FOR_TARGET"; then
9606 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9607 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9609 echo "$as_me:$LINENO: result
: no
" >&5
9610 echo "${ECHO_T}no
" >&6
9614 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9618 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9620 if test $build = $target ; then
9623 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9626 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9630 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9636 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9637 if test -n "$with_build_time_tools"; then
9638 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9639 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9640 if test -x $with_build_time_tools/dlltool; then
9641 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9642 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9643 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9644 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9646 echo "$as_me:$LINENO: result
: no
" >&5
9647 echo "${ECHO_T}no
" >&6
9649 elif test $build != $host && test $have_gcc_for_target = yes; then
9650 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9651 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9652 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9655 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9656 # Extract the first word of "dlltool
", so it can be a program name with args.
9657 set dummy dlltool; ac_word=$2
9658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9660 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9661 echo $ECHO_N "(cached
) $ECHO_C" >&6
9663 case $DLLTOOL_FOR_TARGET in
9665 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $gcc_cv_tool_dirs
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9676 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9685 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9687 if test -n "$DLLTOOL_FOR_TARGET"; then
9688 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9689 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9691 echo "$as_me:$LINENO: result
: no
" >&5
9692 echo "${ECHO_T}no
" >&6
9696 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9699 if test -n "$DLLTOOL_FOR_TARGET"; then
9700 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9701 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9702 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9705 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9706 for ncn_progname in dlltool; do
9707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9708 set dummy ${ncn_progname}; ac_word=$2
9709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9711 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9712 echo $ECHO_N "(cached
) $ECHO_C" >&6
9714 if test -n "$DLLTOOL_FOR_TARGET"; then
9715 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9721 test -z "$as_dir" && as_dir=.
9722 for ac_exec_ext in '' $ac_executable_extensions; do
9723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9724 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9733 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9734 if test -n "$DLLTOOL_FOR_TARGET"; then
9735 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9736 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9738 echo "$as_me:$LINENO: result
: no
" >&5
9739 echo "${ECHO_T}no
" >&6
9745 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9746 for ncn_progname in dlltool; do
9747 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9748 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9749 if test -x $with_build_time_tools/${ncn_progname}; then
9750 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9751 echo "$as_me:$LINENO: result
: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result
: no
" >&5
9756 echo "${ECHO_T}no
" >&6
9761 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9762 for ncn_progname in dlltool; do
9763 if test -n "$ncn_target_tool_prefix"; then
9764 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9765 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9766 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9768 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9769 echo $ECHO_N "(cached
) $ECHO_C" >&6
9771 if test -n "$DLLTOOL_FOR_TARGET"; then
9772 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9778 test -z "$as_dir" && as_dir=.
9779 for ac_exec_ext in '' $ac_executable_extensions; do
9780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9781 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9782 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9790 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9791 if test -n "$DLLTOOL_FOR_TARGET"; then
9792 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9793 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9795 echo "$as_me:$LINENO: result
: no
" >&5
9796 echo "${ECHO_T}no
" >&6
9800 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9801 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9802 set dummy ${ncn_progname}; ac_word=$2
9803 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9804 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9805 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9806 echo $ECHO_N "(cached
) $ECHO_C" >&6
9808 if test -n "$DLLTOOL_FOR_TARGET"; then
9809 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9818 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9819 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9827 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9828 if test -n "$DLLTOOL_FOR_TARGET"; then
9829 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9830 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9832 echo "$as_me:$LINENO: result
: no
" >&5
9833 echo "${ECHO_T}no
" >&6
9837 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9841 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9843 if test $build = $target ; then
9844 DLLTOOL_FOR_TARGET="$2"
9846 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9849 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9853 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9859 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9860 if test -n "$with_build_time_tools"; then
9861 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9862 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9863 if test -x $with_build_time_tools/ld; then
9864 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9865 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9866 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9867 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9869 echo "$as_me:$LINENO: result
: no
" >&5
9870 echo "${ECHO_T}no
" >&6
9872 elif test $build != $host && test $have_gcc_for_target = yes; then
9873 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9874 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9875 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9878 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9879 # Extract the first word of "ld
", so it can be a program name with args.
9880 set dummy ld; ac_word=$2
9881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9883 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9884 echo $ECHO_N "(cached
) $ECHO_C" >&6
9886 case $LD_FOR_TARGET in
9888 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9892 for as_dir in $gcc_cv_tool_dirs
9895 test -z "$as_dir" && as_dir=.
9896 for ac_exec_ext in '' $ac_executable_extensions; do
9897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9898 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9908 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9910 if test -n "$LD_FOR_TARGET"; then
9911 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9912 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9914 echo "$as_me:$LINENO: result
: no
" >&5
9915 echo "${ECHO_T}no
" >&6
9919 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9922 if test -n "$LD_FOR_TARGET"; then
9923 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9924 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9925 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9928 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9929 for ncn_progname in ld; do
9930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9931 set dummy ${ncn_progname}; ac_word=$2
9932 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9934 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9935 echo $ECHO_N "(cached
) $ECHO_C" >&6
9937 if test -n "$LD_FOR_TARGET"; then
9938 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9944 test -z "$as_dir" && as_dir=.
9945 for ac_exec_ext in '' $ac_executable_extensions; do
9946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9947 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9948 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9956 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9957 if test -n "$LD_FOR_TARGET"; then
9958 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9959 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9961 echo "$as_me:$LINENO: result
: no
" >&5
9962 echo "${ECHO_T}no
" >&6
9968 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9969 for ncn_progname in ld; do
9970 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9971 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9972 if test -x $with_build_time_tools/${ncn_progname}; then
9973 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9974 echo "$as_me:$LINENO: result
: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9978 echo "$as_me:$LINENO: result
: no
" >&5
9979 echo "${ECHO_T}no
" >&6
9984 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9985 for ncn_progname in ld; do
9986 if test -n "$ncn_target_tool_prefix"; then
9987 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9988 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9991 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9992 echo $ECHO_N "(cached
) $ECHO_C" >&6
9994 if test -n "$LD_FOR_TARGET"; then
9995 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir=.
10002 for ac_exec_ext in '' $ac_executable_extensions; do
10003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10005 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10013 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10014 if test -n "$LD_FOR_TARGET"; then
10015 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10016 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10018 echo "$as_me:$LINENO: result
: no
" >&5
10019 echo "${ECHO_T}no
" >&6
10023 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10024 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10025 set dummy ${ncn_progname}; ac_word=$2
10026 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10027 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10028 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10029 echo $ECHO_N "(cached
) $ECHO_C" >&6
10031 if test -n "$LD_FOR_TARGET"; then
10032 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10035 for as_dir in $PATH
10038 test -z "$as_dir" && as_dir=.
10039 for ac_exec_ext in '' $ac_executable_extensions; do
10040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10041 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10042 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10050 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10051 if test -n "$LD_FOR_TARGET"; then
10052 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10053 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10055 echo "$as_me:$LINENO: result
: no
" >&5
10056 echo "${ECHO_T}no
" >&6
10060 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10064 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10066 if test $build = $target ; then
10069 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10072 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10076 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10082 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10083 if test -n "$with_build_time_tools"; then
10084 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10085 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10086 if test -x $with_build_time_tools/lipo; then
10087 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10088 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10089 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10090 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10092 echo "$as_me:$LINENO: result
: no
" >&5
10093 echo "${ECHO_T}no
" >&6
10095 elif test $build != $host && test $have_gcc_for_target = yes; then
10096 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10097 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10098 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10101 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10102 # Extract the first word of "lipo
", so it can be a program name with args.
10103 set dummy lipo; ac_word=$2
10104 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10105 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10106 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10107 echo $ECHO_N "(cached
) $ECHO_C" >&6
10109 case $LIPO_FOR_TARGET in
10111 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10115 for as_dir in $gcc_cv_tool_dirs
10118 test -z "$as_dir" && as_dir=.
10119 for ac_exec_ext in '' $ac_executable_extensions; do
10120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10121 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10122 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10131 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10133 if test -n "$LIPO_FOR_TARGET"; then
10134 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10135 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10137 echo "$as_me:$LINENO: result
: no
" >&5
10138 echo "${ECHO_T}no
" >&6
10142 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10145 if test -n "$LIPO_FOR_TARGET"; then
10146 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10147 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10148 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10151 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10152 for ncn_progname in lipo; do
10153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10154 set dummy ${ncn_progname}; ac_word=$2
10155 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10157 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10158 echo $ECHO_N "(cached
) $ECHO_C" >&6
10160 if test -n "$LIPO_FOR_TARGET"; then
10161 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10170 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10171 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10179 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10180 if test -n "$LIPO_FOR_TARGET"; then
10181 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10182 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10184 echo "$as_me:$LINENO: result
: no
" >&5
10185 echo "${ECHO_T}no
" >&6
10191 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10192 for ncn_progname in lipo; do
10193 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10194 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10195 if test -x $with_build_time_tools/${ncn_progname}; then
10196 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10197 echo "$as_me:$LINENO: result
: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10201 echo "$as_me:$LINENO: result
: no
" >&5
10202 echo "${ECHO_T}no
" >&6
10207 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10208 for ncn_progname in lipo; do
10209 if test -n "$ncn_target_tool_prefix"; then
10210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10212 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10213 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10214 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10215 echo $ECHO_N "(cached
) $ECHO_C" >&6
10217 if test -n "$LIPO_FOR_TARGET"; then
10218 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10227 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10228 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10236 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10237 if test -n "$LIPO_FOR_TARGET"; then
10238 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10239 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10241 echo "$as_me:$LINENO: result
: no
" >&5
10242 echo "${ECHO_T}no
" >&6
10246 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10248 set dummy ${ncn_progname}; ac_word=$2
10249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10251 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10252 echo $ECHO_N "(cached
) $ECHO_C" >&6
10254 if test -n "$LIPO_FOR_TARGET"; then
10255 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10258 for as_dir in $PATH
10261 test -z "$as_dir" && as_dir=.
10262 for ac_exec_ext in '' $ac_executable_extensions; do
10263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10264 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10273 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10274 if test -n "$LIPO_FOR_TARGET"; then
10275 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10276 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10278 echo "$as_me:$LINENO: result
: no
" >&5
10279 echo "${ECHO_T}no
" >&6
10283 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10287 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10289 if test $build = $target ; then
10290 LIPO_FOR_TARGET="$2"
10292 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10295 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10299 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10305 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10306 if test -n "$with_build_time_tools"; then
10307 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10308 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10309 if test -x $with_build_time_tools/nm; then
10310 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10311 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10312 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10313 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10315 echo "$as_me:$LINENO: result
: no
" >&5
10316 echo "${ECHO_T}no
" >&6
10318 elif test $build != $host && test $have_gcc_for_target = yes; then
10319 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10320 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10321 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10324 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10325 # Extract the first word of "nm
", so it can be a program name with args.
10326 set dummy nm; ac_word=$2
10327 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10329 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10330 echo $ECHO_N "(cached
) $ECHO_C" >&6
10332 case $NM_FOR_TARGET in
10334 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $gcc_cv_tool_dirs
10341 test -z "$as_dir" && as_dir=.
10342 for ac_exec_ext in '' $ac_executable_extensions; do
10343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10344 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10345 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10354 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10356 if test -n "$NM_FOR_TARGET"; then
10357 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10358 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10360 echo "$as_me:$LINENO: result
: no
" >&5
10361 echo "${ECHO_T}no
" >&6
10365 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10368 if test -n "$NM_FOR_TARGET"; then
10369 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10370 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10371 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10374 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10375 for ncn_progname in nm; do
10376 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10377 set dummy ${ncn_progname}; ac_word=$2
10378 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10379 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10380 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10381 echo $ECHO_N "(cached
) $ECHO_C" >&6
10383 if test -n "$NM_FOR_TARGET"; then
10384 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10387 for as_dir in $PATH
10390 test -z "$as_dir" && as_dir=.
10391 for ac_exec_ext in '' $ac_executable_extensions; do
10392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10393 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10394 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10402 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10403 if test -n "$NM_FOR_TARGET"; then
10404 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10405 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10407 echo "$as_me:$LINENO: result
: no
" >&5
10408 echo "${ECHO_T}no
" >&6
10414 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10415 for ncn_progname in nm; do
10416 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10417 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10418 if test -x $with_build_time_tools/${ncn_progname}; then
10419 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10420 echo "$as_me:$LINENO: result
: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10424 echo "$as_me:$LINENO: result
: no
" >&5
10425 echo "${ECHO_T}no
" >&6
10430 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10431 for ncn_progname in nm; do
10432 if test -n "$ncn_target_tool_prefix"; then
10433 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10434 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10437 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10438 echo $ECHO_N "(cached
) $ECHO_C" >&6
10440 if test -n "$NM_FOR_TARGET"; then
10441 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10447 test -z "$as_dir" && as_dir=.
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10459 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10460 if test -n "$NM_FOR_TARGET"; then
10461 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10462 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10464 echo "$as_me:$LINENO: result
: no
" >&5
10465 echo "${ECHO_T}no
" >&6
10469 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10471 set dummy ${ncn_progname}; ac_word=$2
10472 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10473 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10474 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10475 echo $ECHO_N "(cached
) $ECHO_C" >&6
10477 if test -n "$NM_FOR_TARGET"; then
10478 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10487 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10488 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10496 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10497 if test -n "$NM_FOR_TARGET"; then
10498 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10499 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10501 echo "$as_me:$LINENO: result
: no
" >&5
10502 echo "${ECHO_T}no
" >&6
10506 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10510 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10512 if test $build = $target ; then
10515 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10518 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10522 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10528 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10529 if test -n "$with_build_time_tools"; then
10530 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10531 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10532 if test -x $with_build_time_tools/objdump; then
10533 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10534 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10535 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10536 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10538 echo "$as_me:$LINENO: result
: no
" >&5
10539 echo "${ECHO_T}no
" >&6
10541 elif test $build != $host && test $have_gcc_for_target = yes; then
10542 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10543 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10544 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10547 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10548 # Extract the first word of "objdump
", so it can be a program name with args.
10549 set dummy objdump; ac_word=$2
10550 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10551 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10552 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10553 echo $ECHO_N "(cached
) $ECHO_C" >&6
10555 case $OBJDUMP_FOR_TARGET in
10557 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10561 for as_dir in $gcc_cv_tool_dirs
10564 test -z "$as_dir" && as_dir=.
10565 for ac_exec_ext in '' $ac_executable_extensions; do
10566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10567 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10568 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10577 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10579 if test -n "$OBJDUMP_FOR_TARGET"; then
10580 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10581 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10583 echo "$as_me:$LINENO: result
: no
" >&5
10584 echo "${ECHO_T}no
" >&6
10588 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10591 if test -n "$OBJDUMP_FOR_TARGET"; then
10592 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10593 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10594 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10597 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10598 for ncn_progname in objdump; do
10599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10600 set dummy ${ncn_progname}; ac_word=$2
10601 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10602 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10603 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10604 echo $ECHO_N "(cached
) $ECHO_C" >&6
10606 if test -n "$OBJDUMP_FOR_TARGET"; then
10607 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10610 for as_dir in $PATH
10613 test -z "$as_dir" && as_dir=.
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10616 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10617 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10625 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10626 if test -n "$OBJDUMP_FOR_TARGET"; then
10627 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10628 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10630 echo "$as_me:$LINENO: result
: no
" >&5
10631 echo "${ECHO_T}no
" >&6
10637 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10638 for ncn_progname in objdump; do
10639 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10640 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10641 if test -x $with_build_time_tools/${ncn_progname}; then
10642 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10643 echo "$as_me:$LINENO: result
: yes" >&5
10644 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result
: no
" >&5
10648 echo "${ECHO_T}no
" >&6
10653 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10654 for ncn_progname in objdump; do
10655 if test -n "$ncn_target_tool_prefix"; then
10656 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10657 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10660 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10661 echo $ECHO_N "(cached
) $ECHO_C" >&6
10663 if test -n "$OBJDUMP_FOR_TARGET"; then
10664 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $PATH
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10673 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10682 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10683 if test -n "$OBJDUMP_FOR_TARGET"; then
10684 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10685 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10687 echo "$as_me:$LINENO: result
: no
" >&5
10688 echo "${ECHO_T}no
" >&6
10692 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10694 set dummy ${ncn_progname}; ac_word=$2
10695 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10697 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10698 echo $ECHO_N "(cached
) $ECHO_C" >&6
10700 if test -n "$OBJDUMP_FOR_TARGET"; then
10701 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10704 for as_dir in $PATH
10707 test -z "$as_dir" && as_dir=.
10708 for ac_exec_ext in '' $ac_executable_extensions; do
10709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10710 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10711 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10719 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10720 if test -n "$OBJDUMP_FOR_TARGET"; then
10721 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10722 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10724 echo "$as_me:$LINENO: result
: no
" >&5
10725 echo "${ECHO_T}no
" >&6
10729 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10733 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10735 if test $build = $target ; then
10736 OBJDUMP_FOR_TARGET="$2"
10738 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10741 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10745 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10751 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10752 if test -n "$with_build_time_tools"; then
10753 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10754 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10755 if test -x $with_build_time_tools/ranlib; then
10756 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10757 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10758 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10759 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10761 echo "$as_me:$LINENO: result
: no
" >&5
10762 echo "${ECHO_T}no
" >&6
10764 elif test $build != $host && test $have_gcc_for_target = yes; then
10765 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10766 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10767 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10770 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10771 # Extract the first word of "ranlib
", so it can be a program name with args.
10772 set dummy ranlib; ac_word=$2
10773 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10774 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10775 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10776 echo $ECHO_N "(cached
) $ECHO_C" >&6
10778 case $RANLIB_FOR_TARGET in
10780 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10784 for as_dir in $gcc_cv_tool_dirs
10787 test -z "$as_dir" && as_dir=.
10788 for ac_exec_ext in '' $ac_executable_extensions; do
10789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10790 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10791 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10800 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10802 if test -n "$RANLIB_FOR_TARGET"; then
10803 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10804 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10806 echo "$as_me:$LINENO: result
: no
" >&5
10807 echo "${ECHO_T}no
" >&6
10811 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10814 if test -n "$RANLIB_FOR_TARGET"; then
10815 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10816 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10817 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10820 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10821 for ncn_progname in ranlib; do
10822 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10823 set dummy ${ncn_progname}; ac_word=$2
10824 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10825 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10826 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10827 echo $ECHO_N "(cached
) $ECHO_C" >&6
10829 if test -n "$RANLIB_FOR_TARGET"; then
10830 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10833 for as_dir in $PATH
10836 test -z "$as_dir" && as_dir=.
10837 for ac_exec_ext in '' $ac_executable_extensions; do
10838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10839 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10840 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10848 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10849 if test -n "$RANLIB_FOR_TARGET"; then
10850 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10851 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10853 echo "$as_me:$LINENO: result
: no
" >&5
10854 echo "${ECHO_T}no
" >&6
10860 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10861 for ncn_progname in ranlib; do
10862 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10863 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10864 if test -x $with_build_time_tools/${ncn_progname}; then
10865 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10866 echo "$as_me:$LINENO: result
: yes" >&5
10867 echo "${ECHO_T}yes" >&6
10870 echo "$as_me:$LINENO: result
: no
" >&5
10871 echo "${ECHO_T}no
" >&6
10876 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10877 for ncn_progname in ranlib; do
10878 if test -n "$ncn_target_tool_prefix"; then
10879 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10880 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10883 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10884 echo $ECHO_N "(cached
) $ECHO_C" >&6
10886 if test -n "$RANLIB_FOR_TARGET"; then
10887 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10897 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10905 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10906 if test -n "$RANLIB_FOR_TARGET"; then
10907 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10908 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10910 echo "$as_me:$LINENO: result
: no
" >&5
10911 echo "${ECHO_T}no
" >&6
10915 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10917 set dummy ${ncn_progname}; ac_word=$2
10918 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10919 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10920 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10921 echo $ECHO_N "(cached
) $ECHO_C" >&6
10923 if test -n "$RANLIB_FOR_TARGET"; then
10924 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10927 for as_dir in $PATH
10930 test -z "$as_dir" && as_dir=.
10931 for ac_exec_ext in '' $ac_executable_extensions; do
10932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10933 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10934 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10942 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10943 if test -n "$RANLIB_FOR_TARGET"; then
10944 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10945 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10947 echo "$as_me:$LINENO: result
: no
" >&5
10948 echo "${ECHO_T}no
" >&6
10952 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10956 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10958 if test $build = $target ; then
10959 RANLIB_FOR_TARGET="$2"
10961 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10964 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10968 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10974 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10975 if test -n "$with_build_time_tools"; then
10976 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10977 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10978 if test -x $with_build_time_tools/strip; then
10979 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10980 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10981 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10982 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10984 echo "$as_me:$LINENO: result
: no
" >&5
10985 echo "${ECHO_T}no
" >&6
10987 elif test $build != $host && test $have_gcc_for_target = yes; then
10988 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10989 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10990 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10993 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10994 # Extract the first word of "strip
", so it can be a program name with args.
10995 set dummy strip; ac_word=$2
10996 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10997 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10998 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10999 echo $ECHO_N "(cached
) $ECHO_C" >&6
11001 case $STRIP_FOR_TARGET in
11003 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11007 for as_dir in $gcc_cv_tool_dirs
11010 test -z "$as_dir" && as_dir=.
11011 for ac_exec_ext in '' $ac_executable_extensions; do
11012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11013 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11023 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11025 if test -n "$STRIP_FOR_TARGET"; then
11026 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11027 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11029 echo "$as_me:$LINENO: result
: no
" >&5
11030 echo "${ECHO_T}no
" >&6
11034 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11037 if test -n "$STRIP_FOR_TARGET"; then
11038 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11039 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11040 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11043 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11044 for ncn_progname in strip; do
11045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11046 set dummy ${ncn_progname}; ac_word=$2
11047 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11049 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11050 echo $ECHO_N "(cached
) $ECHO_C" >&6
11052 if test -n "$STRIP_FOR_TARGET"; then
11053 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11056 for as_dir in $PATH
11059 test -z "$as_dir" && as_dir=.
11060 for ac_exec_ext in '' $ac_executable_extensions; do
11061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11062 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11063 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11071 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11072 if test -n "$STRIP_FOR_TARGET"; then
11073 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11074 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11076 echo "$as_me:$LINENO: result
: no
" >&5
11077 echo "${ECHO_T}no
" >&6
11083 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11084 for ncn_progname in strip; do
11085 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11086 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11087 if test -x $with_build_time_tools/${ncn_progname}; then
11088 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11089 echo "$as_me:$LINENO: result
: yes" >&5
11090 echo "${ECHO_T}yes" >&6
11093 echo "$as_me:$LINENO: result
: no
" >&5
11094 echo "${ECHO_T}no
" >&6
11099 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11100 for ncn_progname in strip; do
11101 if test -n "$ncn_target_tool_prefix"; then
11102 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11103 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11104 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11105 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11106 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11107 echo $ECHO_N "(cached
) $ECHO_C" >&6
11109 if test -n "$STRIP_FOR_TARGET"; then
11110 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11113 for as_dir in $PATH
11116 test -z "$as_dir" && as_dir=.
11117 for ac_exec_ext in '' $ac_executable_extensions; do
11118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11119 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11120 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11128 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11129 if test -n "$STRIP_FOR_TARGET"; then
11130 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11131 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11133 echo "$as_me:$LINENO: result
: no
" >&5
11134 echo "${ECHO_T}no
" >&6
11138 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11140 set dummy ${ncn_progname}; ac_word=$2
11141 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11142 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11143 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11144 echo $ECHO_N "(cached
) $ECHO_C" >&6
11146 if test -n "$STRIP_FOR_TARGET"; then
11147 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11150 for as_dir in $PATH
11153 test -z "$as_dir" && as_dir=.
11154 for ac_exec_ext in '' $ac_executable_extensions; do
11155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11156 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11157 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11165 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11166 if test -n "$STRIP_FOR_TARGET"; then
11167 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11168 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11170 echo "$as_me:$LINENO: result
: no
" >&5
11171 echo "${ECHO_T}no
" >&6
11175 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11179 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11181 if test $build = $target ; then
11182 STRIP_FOR_TARGET="$2"
11184 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11187 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11191 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11197 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11198 if test -n "$with_build_time_tools"; then
11199 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11200 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11201 if test -x $with_build_time_tools/windres; then
11202 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11203 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11204 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11205 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11207 echo "$as_me:$LINENO: result
: no
" >&5
11208 echo "${ECHO_T}no
" >&6
11210 elif test $build != $host && test $have_gcc_for_target = yes; then
11211 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11212 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11213 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11216 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11217 # Extract the first word of "windres
", so it can be a program name with args.
11218 set dummy windres; ac_word=$2
11219 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11221 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11222 echo $ECHO_N "(cached
) $ECHO_C" >&6
11224 case $WINDRES_FOR_TARGET in
11226 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $gcc_cv_tool_dirs
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11237 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11246 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11248 if test -n "$WINDRES_FOR_TARGET"; then
11249 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11250 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11252 echo "$as_me:$LINENO: result
: no
" >&5
11253 echo "${ECHO_T}no
" >&6
11257 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11260 if test -n "$WINDRES_FOR_TARGET"; then
11261 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11262 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11263 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11266 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11267 for ncn_progname in windres; do
11268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11269 set dummy ${ncn_progname}; ac_word=$2
11270 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11272 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11273 echo $ECHO_N "(cached
) $ECHO_C" >&6
11275 if test -n "$WINDRES_FOR_TARGET"; then
11276 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11279 for as_dir in $PATH
11282 test -z "$as_dir" && as_dir=.
11283 for ac_exec_ext in '' $ac_executable_extensions; do
11284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11285 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11286 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11294 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11295 if test -n "$WINDRES_FOR_TARGET"; then
11296 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11297 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11299 echo "$as_me:$LINENO: result
: no
" >&5
11300 echo "${ECHO_T}no
" >&6
11306 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11307 for ncn_progname in windres; do
11308 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11309 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11310 if test -x $with_build_time_tools/${ncn_progname}; then
11311 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11312 echo "$as_me:$LINENO: result
: yes" >&5
11313 echo "${ECHO_T}yes" >&6
11316 echo "$as_me:$LINENO: result
: no
" >&5
11317 echo "${ECHO_T}no
" >&6
11322 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11323 for ncn_progname in windres; do
11324 if test -n "$ncn_target_tool_prefix"; then
11325 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11326 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11327 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11329 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11330 echo $ECHO_N "(cached
) $ECHO_C" >&6
11332 if test -n "$WINDRES_FOR_TARGET"; then
11333 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336 for as_dir in $PATH
11339 test -z "$as_dir" && as_dir=.
11340 for ac_exec_ext in '' $ac_executable_extensions; do
11341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11342 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11351 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11352 if test -n "$WINDRES_FOR_TARGET"; then
11353 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11354 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11356 echo "$as_me:$LINENO: result
: no
" >&5
11357 echo "${ECHO_T}no
" >&6
11361 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11363 set dummy ${ncn_progname}; ac_word=$2
11364 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11365 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11366 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11367 echo $ECHO_N "(cached
) $ECHO_C" >&6
11369 if test -n "$WINDRES_FOR_TARGET"; then
11370 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11373 for as_dir in $PATH
11376 test -z "$as_dir" && as_dir=.
11377 for ac_exec_ext in '' $ac_executable_extensions; do
11378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11379 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11380 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11388 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11389 if test -n "$WINDRES_FOR_TARGET"; then
11390 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11391 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11393 echo "$as_me:$LINENO: result
: no
" >&5
11394 echo "${ECHO_T}no
" >&6
11398 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11402 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11404 if test $build = $target ; then
11405 WINDRES_FOR_TARGET="$2"
11407 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11410 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11414 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11420 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11421 if test -n "$with_build_time_tools"; then
11422 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11423 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11424 if test -x $with_build_time_tools/windmc; then
11425 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11426 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11427 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11428 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11430 echo "$as_me:$LINENO: result
: no
" >&5
11431 echo "${ECHO_T}no
" >&6
11433 elif test $build != $host && test $have_gcc_for_target = yes; then
11434 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11435 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11436 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11439 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11440 # Extract the first word of "windmc
", so it can be a program name with args.
11441 set dummy windmc; ac_word=$2
11442 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11443 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11444 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11445 echo $ECHO_N "(cached
) $ECHO_C" >&6
11447 case $WINDMC_FOR_TARGET in
11449 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11453 for as_dir in $gcc_cv_tool_dirs
11456 test -z "$as_dir" && as_dir=.
11457 for ac_exec_ext in '' $ac_executable_extensions; do
11458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11459 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11460 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11469 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11471 if test -n "$WINDMC_FOR_TARGET"; then
11472 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11473 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11475 echo "$as_me:$LINENO: result
: no
" >&5
11476 echo "${ECHO_T}no
" >&6
11480 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11483 if test -n "$WINDMC_FOR_TARGET"; then
11484 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11485 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11486 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11489 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11490 for ncn_progname in windmc; do
11491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11492 set dummy ${ncn_progname}; ac_word=$2
11493 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11494 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11495 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11496 echo $ECHO_N "(cached
) $ECHO_C" >&6
11498 if test -n "$WINDMC_FOR_TARGET"; then
11499 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11502 for as_dir in $PATH
11505 test -z "$as_dir" && as_dir=.
11506 for ac_exec_ext in '' $ac_executable_extensions; do
11507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11508 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11509 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11517 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11518 if test -n "$WINDMC_FOR_TARGET"; then
11519 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11520 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11522 echo "$as_me:$LINENO: result
: no
" >&5
11523 echo "${ECHO_T}no
" >&6
11529 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11530 for ncn_progname in windmc; do
11531 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11532 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11533 if test -x $with_build_time_tools/${ncn_progname}; then
11534 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11535 echo "$as_me:$LINENO: result
: yes" >&5
11536 echo "${ECHO_T}yes" >&6
11539 echo "$as_me:$LINENO: result
: no
" >&5
11540 echo "${ECHO_T}no
" >&6
11545 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11546 for ncn_progname in windmc; do
11547 if test -n "$ncn_target_tool_prefix"; then
11548 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11549 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11550 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11551 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11552 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11553 echo $ECHO_N "(cached
) $ECHO_C" >&6
11555 if test -n "$WINDMC_FOR_TARGET"; then
11556 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559 for as_dir in $PATH
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11566 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11574 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11575 if test -n "$WINDMC_FOR_TARGET"; then
11576 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11577 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11579 echo "$as_me:$LINENO: result
: no
" >&5
11580 echo "${ECHO_T}no
" >&6
11584 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11586 set dummy ${ncn_progname}; ac_word=$2
11587 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11588 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11589 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11590 echo $ECHO_N "(cached
) $ECHO_C" >&6
11592 if test -n "$WINDMC_FOR_TARGET"; then
11593 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596 for as_dir in $PATH
11599 test -z "$as_dir" && as_dir=.
11600 for ac_exec_ext in '' $ac_executable_extensions; do
11601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11602 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11603 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11611 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11612 if test -n "$WINDMC_FOR_TARGET"; then
11613 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11614 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11616 echo "$as_me:$LINENO: result
: no
" >&5
11617 echo "${ECHO_T}no
" >&6
11621 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11625 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11627 if test $build = $target ; then
11628 WINDMC_FOR_TARGET="$2"
11630 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11633 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11637 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11641 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11643 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11644 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11645 if test "x
${build}" != "x
${host}" ; then
11646 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11647 # We already found the complete path
11648 ac_dir=`dirname $AR_FOR_TARGET`
11649 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11650 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11652 # Canadian cross, just use what we found
11653 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11654 echo "${ECHO_T}pre-installed
" >&6
11658 case " ${configdirs} " in
11663 if test $ok = yes; then
11664 # An in-tree tool is available and we can use it
11665 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11666 echo "$as_me:$LINENO: result
: just compiled
" >&5
11667 echo "${ECHO_T}just compiled
" >&6
11668 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11669 # We already found the complete path
11670 ac_dir=`dirname $AR_FOR_TARGET`
11671 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11672 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11673 elif test "x
$target" = "x
$host"; then
11674 # We can use an host tool
11675 AR_FOR_TARGET='$(AR)'
11676 echo "$as_me:$LINENO: result
: host tool
" >&5
11677 echo "${ECHO_T}host tool
" >&6
11679 # We need a cross tool
11680 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11681 echo "${ECHO_T}pre-installed
" >&6
11685 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11686 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11687 if test "x
${build}" != "x
${host}" ; then
11688 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11689 # We already found the complete path
11690 ac_dir=`dirname $AS_FOR_TARGET`
11691 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11692 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11694 # Canadian cross, just use what we found
11695 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11696 echo "${ECHO_T}pre-installed
" >&6
11700 case " ${configdirs} " in
11705 if test $ok = yes; then
11706 # An in-tree tool is available and we can use it
11707 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11708 echo "$as_me:$LINENO: result
: just compiled
" >&5
11709 echo "${ECHO_T}just compiled
" >&6
11710 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11711 # We already found the complete path
11712 ac_dir=`dirname $AS_FOR_TARGET`
11713 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11714 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11715 elif test "x
$target" = "x
$host"; then
11716 # We can use an host tool
11717 AS_FOR_TARGET='$(AS)'
11718 echo "$as_me:$LINENO: result
: host tool
" >&5
11719 echo "${ECHO_T}host tool
" >&6
11721 # We need a cross tool
11722 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11723 echo "${ECHO_T}pre-installed
" >&6
11727 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11728 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11729 if test "x
${build}" != "x
${host}" ; then
11730 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11731 # We already found the complete path
11732 ac_dir=`dirname $CC_FOR_TARGET`
11733 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11734 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11736 # Canadian cross, just use what we found
11737 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11738 echo "${ECHO_T}pre-installed
" >&6
11742 case " ${configdirs} " in
11747 if test $ok = yes; then
11748 # An in-tree tool is available and we can use it
11749 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11750 echo "$as_me:$LINENO: result
: just compiled
" >&5
11751 echo "${ECHO_T}just compiled
" >&6
11752 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11753 # We already found the complete path
11754 ac_dir=`dirname $CC_FOR_TARGET`
11755 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11756 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11757 elif test "x
$target" = "x
$host"; then
11758 # We can use an host tool
11759 CC_FOR_TARGET='$(CC)'
11760 echo "$as_me:$LINENO: result
: host tool
" >&5
11761 echo "${ECHO_T}host tool
" >&6
11763 # We need a cross tool
11764 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11765 echo "${ECHO_T}pre-installed
" >&6
11769 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11770 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11771 if test "x
${build}" != "x
${host}" ; then
11772 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11773 # We already found the complete path
11774 ac_dir=`dirname $CXX_FOR_TARGET`
11775 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11776 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11778 # Canadian cross, just use what we found
11779 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11780 echo "${ECHO_T}pre-installed
" >&6
11784 case " ${configdirs} " in
11788 case ,${enable_languages}, in
11792 if test $ok = yes; then
11793 # An in-tree tool is available and we can use it
11794 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'
11795 echo "$as_me:$LINENO: result
: just compiled
" >&5
11796 echo "${ECHO_T}just compiled
" >&6
11797 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11798 # We already found the complete path
11799 ac_dir=`dirname $CXX_FOR_TARGET`
11800 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11801 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11802 elif test "x
$target" = "x
$host"; then
11803 # We can use an host tool
11804 CXX_FOR_TARGET='$(CXX)'
11805 echo "$as_me:$LINENO: result
: host tool
" >&5
11806 echo "${ECHO_T}host tool
" >&6
11808 # We need a cross tool
11809 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11810 echo "${ECHO_T}pre-installed
" >&6
11814 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11815 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11816 if test "x
${build}" != "x
${host}" ; then
11817 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11818 # We already found the complete path
11819 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11820 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11821 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11823 # Canadian cross, just use what we found
11824 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11825 echo "${ECHO_T}pre-installed
" >&6
11829 case " ${configdirs} " in
11833 case ,${enable_languages}, in
11837 if test $ok = yes; then
11838 # An in-tree tool is available and we can use it
11839 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'
11840 echo "$as_me:$LINENO: result
: just compiled
" >&5
11841 echo "${ECHO_T}just compiled
" >&6
11842 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11843 # We already found the complete path
11844 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11845 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11846 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11847 elif test "x
$target" = "x
$host"; then
11848 # We can use an host tool
11849 RAW_CXX_FOR_TARGET='$(CXX)'
11850 echo "$as_me:$LINENO: result
: host tool
" >&5
11851 echo "${ECHO_T}host tool
" >&6
11853 # We need a cross tool
11854 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11855 echo "${ECHO_T}pre-installed
" >&6
11859 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11860 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11861 if test "x
${build}" != "x
${host}" ; then
11862 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11863 # We already found the complete path
11864 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11865 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11866 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11868 # Canadian cross, just use what we found
11869 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11870 echo "${ECHO_T}pre-installed
" >&6
11874 case " ${configdirs} " in
11879 if test $ok = yes; then
11880 # An in-tree tool is available and we can use it
11881 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11882 echo "$as_me:$LINENO: result
: just compiled
" >&5
11883 echo "${ECHO_T}just compiled
" >&6
11884 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11885 # We already found the complete path
11886 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11887 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11888 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11889 elif test "x
$target" = "x
$host"; then
11890 # We can use an host tool
11891 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11892 echo "$as_me:$LINENO: result
: host tool
" >&5
11893 echo "${ECHO_T}host tool
" >&6
11895 # We need a cross tool
11896 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11897 echo "${ECHO_T}pre-installed
" >&6
11901 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11902 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11903 if test "x
${build}" != "x
${host}" ; then
11904 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11905 # We already found the complete path
11906 ac_dir=`dirname $GCC_FOR_TARGET`
11907 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11908 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11910 # Canadian cross, just use what we found
11911 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11912 echo "${ECHO_T}pre-installed
" >&6
11916 case " ${configdirs} " in
11921 if test $ok = yes; then
11922 # An in-tree tool is available and we can use it
11923 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11924 echo "$as_me:$LINENO: result
: just compiled
" >&5
11925 echo "${ECHO_T}just compiled
" >&6
11926 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11927 # We already found the complete path
11928 ac_dir=`dirname $GCC_FOR_TARGET`
11929 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11930 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11931 elif test "x
$target" = "x
$host"; then
11932 # We can use an host tool
11933 GCC_FOR_TARGET='$()'
11934 echo "$as_me:$LINENO: result
: host tool
" >&5
11935 echo "${ECHO_T}host tool
" >&6
11937 # We need a cross tool
11938 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11939 echo "${ECHO_T}pre-installed
" >&6
11943 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11944 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11945 if test "x
${build}" != "x
${host}" ; then
11946 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11947 # We already found the complete path
11948 ac_dir=`dirname $GCJ_FOR_TARGET`
11949 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11950 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11952 # Canadian cross, just use what we found
11953 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11954 echo "${ECHO_T}pre-installed
" >&6
11958 case " ${configdirs} " in
11962 case ,${enable_languages}, in
11966 if test $ok = yes; then
11967 # An in-tree tool is available and we can use it
11968 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11969 echo "$as_me:$LINENO: result
: just compiled
" >&5
11970 echo "${ECHO_T}just compiled
" >&6
11971 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11972 # We already found the complete path
11973 ac_dir=`dirname $GCJ_FOR_TARGET`
11974 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11975 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11976 elif test "x
$target" = "x
$host"; then
11977 # We can use an host tool
11978 GCJ_FOR_TARGET='$(GCJ)'
11979 echo "$as_me:$LINENO: result
: host tool
" >&5
11980 echo "${ECHO_T}host tool
" >&6
11982 # We need a cross tool
11983 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11984 echo "${ECHO_T}pre-installed
" >&6
11988 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11989 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11990 if test "x
${build}" != "x
${host}" ; then
11991 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11992 # We already found the complete path
11993 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11994 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11995 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11997 # Canadian cross, just use what we found
11998 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11999 echo "${ECHO_T}pre-installed
" >&6
12003 case " ${configdirs} " in
12007 case ,${enable_languages}, in
12011 if test $ok = yes; then
12012 # An in-tree tool is available and we can use it
12013 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12014 echo "$as_me:$LINENO: result
: just compiled
" >&5
12015 echo "${ECHO_T}just compiled
" >&6
12016 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12017 # We already found the complete path
12018 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12019 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12020 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12021 elif test "x
$target" = "x
$host"; then
12022 # We can use an host tool
12023 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12024 echo "$as_me:$LINENO: result
: host tool
" >&5
12025 echo "${ECHO_T}host tool
" >&6
12027 # We need a cross tool
12028 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12029 echo "${ECHO_T}pre-installed
" >&6
12033 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12034 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12035 if test "x
${build}" != "x
${host}" ; then
12036 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12037 # We already found the complete path
12038 ac_dir=`dirname $LD_FOR_TARGET`
12039 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12040 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12042 # Canadian cross, just use what we found
12043 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12044 echo "${ECHO_T}pre-installed
" >&6
12048 case " ${configdirs} " in
12053 if test $ok = yes; then
12054 # An in-tree tool is available and we can use it
12055 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12056 echo "$as_me:$LINENO: result
: just compiled
" >&5
12057 echo "${ECHO_T}just compiled
" >&6
12058 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12059 # We already found the complete path
12060 ac_dir=`dirname $LD_FOR_TARGET`
12061 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12062 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12063 elif test "x
$target" = "x
$host"; then
12064 # We can use an host tool
12065 LD_FOR_TARGET='$(LD)'
12066 echo "$as_me:$LINENO: result
: host tool
" >&5
12067 echo "${ECHO_T}host tool
" >&6
12069 # We need a cross tool
12070 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12071 echo "${ECHO_T}pre-installed
" >&6
12075 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12076 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12077 if test "x
${build}" != "x
${host}" ; then
12078 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12079 # We already found the complete path
12080 ac_dir=`dirname $LIPO_FOR_TARGET`
12081 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12082 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12084 # Canadian cross, just use what we found
12085 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12086 echo "${ECHO_T}pre-installed
" >&6
12089 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12090 # We already found the complete path
12091 ac_dir=`dirname $LIPO_FOR_TARGET`
12092 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12093 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12094 elif test "x
$target" = "x
$host"; then
12095 # We can use an host tool
12096 LIPO_FOR_TARGET='$(LIPO)'
12097 echo "$as_me:$LINENO: result
: host tool
" >&5
12098 echo "${ECHO_T}host tool
" >&6
12100 # We need a cross tool
12101 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12102 echo "${ECHO_T}pre-installed
" >&6
12106 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12107 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12108 if test "x
${build}" != "x
${host}" ; then
12109 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12110 # We already found the complete path
12111 ac_dir=`dirname $NM_FOR_TARGET`
12112 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12113 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12115 # Canadian cross, just use what we found
12116 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12117 echo "${ECHO_T}pre-installed
" >&6
12121 case " ${configdirs} " in
12126 if test $ok = yes; then
12127 # An in-tree tool is available and we can use it
12128 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12129 echo "$as_me:$LINENO: result
: just compiled
" >&5
12130 echo "${ECHO_T}just compiled
" >&6
12131 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12132 # We already found the complete path
12133 ac_dir=`dirname $NM_FOR_TARGET`
12134 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12135 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12136 elif test "x
$target" = "x
$host"; then
12137 # We can use an host tool
12138 NM_FOR_TARGET='$(NM)'
12139 echo "$as_me:$LINENO: result
: host tool
" >&5
12140 echo "${ECHO_T}host tool
" >&6
12142 # We need a cross tool
12143 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12144 echo "${ECHO_T}pre-installed
" >&6
12148 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12149 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12150 if test "x
${build}" != "x
${host}" ; then
12151 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12152 # We already found the complete path
12153 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12154 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12155 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12157 # Canadian cross, just use what we found
12158 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12159 echo "${ECHO_T}pre-installed
" >&6
12163 case " ${configdirs} " in
12168 if test $ok = yes; then
12169 # An in-tree tool is available and we can use it
12170 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12171 echo "$as_me:$LINENO: result
: just compiled
" >&5
12172 echo "${ECHO_T}just compiled
" >&6
12173 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12174 # We already found the complete path
12175 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12176 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12177 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12178 elif test "x
$target" = "x
$host"; then
12179 # We can use an host tool
12180 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12181 echo "$as_me:$LINENO: result
: host tool
" >&5
12182 echo "${ECHO_T}host tool
" >&6
12184 # We need a cross tool
12185 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12186 echo "${ECHO_T}pre-installed
" >&6
12190 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12191 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12192 if test "x
${build}" != "x
${host}" ; then
12193 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12194 # We already found the complete path
12195 ac_dir=`dirname $RANLIB_FOR_TARGET`
12196 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12197 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12199 # Canadian cross, just use what we found
12200 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12201 echo "${ECHO_T}pre-installed
" >&6
12205 case " ${configdirs} " in
12210 if test $ok = yes; then
12211 # An in-tree tool is available and we can use it
12212 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12213 echo "$as_me:$LINENO: result
: just compiled
" >&5
12214 echo "${ECHO_T}just compiled
" >&6
12215 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12216 # We already found the complete path
12217 ac_dir=`dirname $RANLIB_FOR_TARGET`
12218 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12219 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12220 elif test "x
$target" = "x
$host"; then
12221 # We can use an host tool
12222 RANLIB_FOR_TARGET='$(RANLIB)'
12223 echo "$as_me:$LINENO: result
: host tool
" >&5
12224 echo "${ECHO_T}host tool
" >&6
12226 # We need a cross tool
12227 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12228 echo "${ECHO_T}pre-installed
" >&6
12232 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12233 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12234 if test "x
${build}" != "x
${host}" ; then
12235 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12236 # We already found the complete path
12237 ac_dir=`dirname $STRIP_FOR_TARGET`
12238 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12239 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12241 # Canadian cross, just use what we found
12242 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12243 echo "${ECHO_T}pre-installed
" >&6
12247 case " ${configdirs} " in
12252 if test $ok = yes; then
12253 # An in-tree tool is available and we can use it
12254 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12255 echo "$as_me:$LINENO: result
: just compiled
" >&5
12256 echo "${ECHO_T}just compiled
" >&6
12257 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12258 # We already found the complete path
12259 ac_dir=`dirname $STRIP_FOR_TARGET`
12260 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12261 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12262 elif test "x
$target" = "x
$host"; then
12263 # We can use an host tool
12264 STRIP_FOR_TARGET='$(STRIP)'
12265 echo "$as_me:$LINENO: result
: host tool
" >&5
12266 echo "${ECHO_T}host tool
" >&6
12268 # We need a cross tool
12269 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12270 echo "${ECHO_T}pre-installed
" >&6
12274 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12275 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12276 if test "x
${build}" != "x
${host}" ; then
12277 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12278 # We already found the complete path
12279 ac_dir=`dirname $WINDRES_FOR_TARGET`
12280 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12281 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12283 # Canadian cross, just use what we found
12284 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12285 echo "${ECHO_T}pre-installed
" >&6
12289 case " ${configdirs} " in
12294 if test $ok = yes; then
12295 # An in-tree tool is available and we can use it
12296 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12297 echo "$as_me:$LINENO: result
: just compiled
" >&5
12298 echo "${ECHO_T}just compiled
" >&6
12299 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12300 # We already found the complete path
12301 ac_dir=`dirname $WINDRES_FOR_TARGET`
12302 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12303 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12304 elif test "x
$target" = "x
$host"; then
12305 # We can use an host tool
12306 WINDRES_FOR_TARGET='$(WINDRES)'
12307 echo "$as_me:$LINENO: result
: host tool
" >&5
12308 echo "${ECHO_T}host tool
" >&6
12310 # We need a cross tool
12311 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12312 echo "${ECHO_T}pre-installed
" >&6
12316 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12317 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12318 if test "x
${build}" != "x
${host}" ; then
12319 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12320 # We already found the complete path
12321 ac_dir=`dirname $WINDMC_FOR_TARGET`
12322 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12323 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12325 # Canadian cross, just use what we found
12326 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12327 echo "${ECHO_T}pre-installed
" >&6
12331 case " ${configdirs} " in
12336 if test $ok = yes; then
12337 # An in-tree tool is available and we can use it
12338 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12339 echo "$as_me:$LINENO: result
: just compiled
" >&5
12340 echo "${ECHO_T}just compiled
" >&6
12341 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12342 # We already found the complete path
12343 ac_dir=`dirname $WINDMC_FOR_TARGET`
12344 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12345 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12346 elif test "x
$target" = "x
$host"; then
12347 # We can use an host tool
12348 WINDMC_FOR_TARGET='$(WINDMC)'
12349 echo "$as_me:$LINENO: result
: host tool
" >&5
12350 echo "${ECHO_T}host tool
" >&6
12352 # We need a cross tool
12353 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12354 echo "${ECHO_T}pre-installed
" >&6
12362 # Certain tools may need extra flags.
12363 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12364 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12365 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12367 # When building target libraries, except in a Canadian cross, we use
12368 # the same toolchain as the compiler we just built.
12369 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12370 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12371 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12372 if test $host = $build; then
12373 case " $configdirs " in
12375 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12376 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12377 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12386 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12387 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12388 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12389 if test "${enable_maintainer_mode+set}" = set; then
12390 enableval="$enable_maintainer_mode"
12391 USE_MAINTAINER_MODE=$enableval
12393 USE_MAINTAINER_MODE=no
12395 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12396 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12399 if test "$USE_MAINTAINER_MODE" = yes; then
12400 MAINTAINER_MODE_TRUE=
12401 MAINTAINER_MODE_FALSE='#'
12403 MAINTAINER_MODE_TRUE='#'
12404 MAINTAINER_MODE_FALSE=
12406 MAINT=$MAINTAINER_MODE_TRUE
12408 # ---------------------
12409 # GCC bootstrap support
12410 # ---------------------
12412 # Stage specific cflags for build.
12417 yes) stage1_cflags="-g -Wa,-J" ;;
12418 *) stage1_cflags="-g -J" ;;
12422 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12423 if test "$GCC" = yes; then
12424 saved_CFLAGS="$CFLAGS"
12426 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12427 CFLAGS="$CFLAGS -fkeep-inline-functions"
12428 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12429 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12430 cat >conftest.$ac_ext <<_ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12437 #if (__GNUC__ < 3) \
12438 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12439 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12440 #error http://gcc.gnu.org/PR29382
12451 rm -f conftest.$ac_objext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12453 (eval $ac_compile) 2>conftest.er1
12455 grep -v '^ *+' conftest.er1 >conftest.err
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12459 (exit $ac_status); } &&
12460 { ac_try='test -z "$ac_c_werror_flag"
12461 || test ! -s conftest.err'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12466 (exit $ac_status); }; } &&
12467 { ac_try='test -s conftest.$ac_objext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 echo "$as_me:$LINENO: result
: yes" >&5
12474 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12476 echo "$as_me: failed program was
:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 echo "$as_me:$LINENO: result
: no
" >&5
12480 echo "${ECHO_T}no
" >&6
12482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12484 CFLAGS="$saved_CFLAGS"
12489 # Enable --enable-checking in stage1 of the compiler.
12490 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12491 if test "${enable_stage1_checking+set}" = set; then
12492 enableval="$enable_stage1_checking"
12493 stage1_checking=--enable-checking=${enable_stage1_checking}
12495 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12496 stage1_checking=--enable-checking=yes,types
12498 stage1_checking=--enable-checking=$enable_checking,types
12503 # Enable -Werror in bootstrap stage2 and later.
12504 # Check whether --enable-werror or --disable-werror was given.
12505 if test "${enable_werror+set}" = set; then
12506 enableval="$enable_werror"
12509 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12515 case ${enable_werror} in
12516 yes) stage2_werror_flag="--enable-werror-always" ;;
12517 *) stage2_werror_flag="" ;;
12521 # Flags needed to enable html installing and building
12523 # Check whether --with-datarootdir or --without-datarootdir was given.
12524 if test "${with_datarootdir+set}" = set; then
12525 withval="$with_datarootdir"
12526 datarootdir="\
${prefix}/${withval}"
12528 datarootdir="\
${prefix}/share
"
12532 # Check whether --with-docdir or --without-docdir was given.
12533 if test "${with_docdir+set}" = set; then
12534 withval="$with_docdir"
12535 docdir="\
${prefix}/${withval}"
12537 docdir="\
${datarootdir}/doc
"
12541 # Check whether --with-pdfdir or --without-pdfdir was given.
12542 if test "${with_pdfdir+set}" = set; then
12543 withval="$with_pdfdir"
12544 pdfdir="\
${prefix}/${withval}"
12546 pdfdir="\
${docdir}"
12550 # Check whether --with-htmldir or --without-htmldir was given.
12551 if test "${with_htmldir+set}" = set; then
12552 withval="$with_htmldir"
12553 htmldir="\
${prefix}/${withval}"
12555 htmldir="\
${docdir}"
12563 ac_config_files="$ac_config_files Makefile
"
12564 cat >confcache <<\_ACEOF
12565 # This file is a shell script that caches the results of configure
12566 # tests run on this system so they can be shared between configure
12567 # scripts and configure runs, see configure's option --config-cache.
12568 # It is not useful on other systems. If it contains results you don't
12569 # want to keep, you may remove or edit it.
12571 # config.status only pays attention to the cache file if you give it
12572 # the --recheck option to rerun configure.
12574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12576 # following values.
12580 # The following way of writing the cache mishandles newlines in values,
12581 # but we know of no workaround that is simple, portable, and efficient.
12582 # So, don't put newlines in cache variables' values.
12583 # Ultrix sh set writes to stderr and can't be redirected directly,
12584 # and sets the high bit in the cache file unless we assign to the vars.
12587 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12589 # `set' does not quote correctly, so add quotes (double-quote
12590 # substitution turns \\\\ into \\, and sed turns \\ into \).
12593 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12596 # `set' quotes correctly as required by POSIX, so do not add quotes.
12598 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12605 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12607 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12609 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12610 if test -w $cache_file; then
12611 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12612 cat confcache >$cache_file
12614 echo "not updating unwritable cache
$cache_file"
12619 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12620 # Let make expand exec_prefix.
12621 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12623 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12624 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12625 # trailing colons and then remove the whole line if VPATH becomes empty
12626 # (actually we leave an empty line to preserve line numbers).
12627 if test "x
$srcdir" = x.; then
12628 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12629 s/:*\$(srcdir):*/:/;
12630 s/:*\${srcdir}:*/:/;
12632 s/^\([^=]*=[ ]*\):*/\1/;
12638 # Transform confdefs.h into DEFS.
12639 # Protect against shell expansion while executing Makefile rules.
12640 # Protect against Makefile macro expansion.
12642 # If the first sed substitution is executed (which looks for macros that
12643 # take arguments), then we branch to the quote section. Otherwise,
12644 # look for a macro that doesn't take arguments.
12645 cat >confdef2opt.sed <<\_ACEOF
12648 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12650 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12654 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12660 # We use echo to avoid assuming a particular line-breaking character.
12661 # The extra dot is to prevent the shell from consuming trailing
12662 # line-breaks from the sub-command output. A line-break within
12663 # single-quotes doesn't work because, if this script is created in a
12664 # platform that uses two characters for line-breaks (e.g., DOS), tr
12666 ac_LF_and_DOT
=`echo; echo .`
12667 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12668 rm -f confdef2opt.
sed
12673 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12674 # 1. Remove the extension, and $U if already installed.
12675 ac_i
=`echo "$ac_i" |
12676 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12678 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12679 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12681 LIBOBJS
=$ac_libobjs
12683 LTLIBOBJS
=$ac_ltlibobjs
12687 : ${CONFIG_STATUS=./config.status}
12688 ac_clean_files_save
=$ac_clean_files
12689 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12690 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12691 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12692 cat >$CONFIG_STATUS <<_ACEOF
12694 # Generated by $as_me.
12695 # Run this file to recreate the current configuration.
12696 # Compiler output produced by configure, useful for debugging
12697 # configure, is in config.log if it exists.
12700 ac_cs_recheck=false
12702 SHELL=\${CONFIG_SHELL-$SHELL}
12705 cat >>$CONFIG_STATUS <<\_ACEOF
12706 ## --------------------- ##
12707 ## M4sh Initialization. ##
12708 ## --------------------- ##
12710 # Be Bourne compatible
12711 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12714 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12715 # is contrary to our usage. Disable this feature.
12716 alias -g '${1+"$@"}'='"$@"'
12717 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12720 DUALCASE
=1; export DUALCASE
# for MKS sh
12722 # Support unset when possible.
12723 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12730 # Work around bugs in pre-3.0 UWIN ksh.
12731 $as_unset ENV MAIL MAILPATH
12738 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12739 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12740 LC_TELEPHONE LC_TIME
12742 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12743 eval $as_var=C
; export $as_var
12749 # Required to use basename.
12750 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12756 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12757 as_basename
=basename
12763 # Name of the executable.
12764 as_me
=`$as_basename "$0" ||
12765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12766 X"$0" : 'X\(//\)$' \| \
12767 X"$0" : 'X\(/\)$' \| \
12768 . : '\(.\)' 2>/dev/null ||
12770 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12771 /^X\/\(\/\/\)$/{ s//\1/; q; }
12772 /^X\/\(\/\).*/{ s//\1/; q; }
12776 # PATH needs CR, and LINENO needs CR and PATH.
12777 # Avoid depending upon Character Ranges.
12778 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12779 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12780 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12781 as_cr_digits
='0123456789'
12782 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12784 # The user is always right.
12785 if test "${PATH_SEPARATOR+set}" != set; then
12786 echo "#! /bin/sh" >conf$$.sh
12787 echo "exit 0" >>conf$$.sh
12789 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12798 as_lineno_1
=$LINENO
12799 as_lineno_2
=$LINENO
12800 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12801 test "x$as_lineno_1" != "x$as_lineno_2" &&
12802 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12803 # Find who we are. Look in the path if we contain no path at all
12806 *[\\/]* ) as_myself
=$0 ;;
12807 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in $PATH
12811 test -z "$as_dir" && as_dir
=.
12812 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12817 # We did not find ourselves, most probably we were run as `sh COMMAND'
12818 # in which case we are not to be found in the path.
12819 if test "x$as_myself" = x
; then
12822 if test ! -f "$as_myself"; then
12823 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12824 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12825 { (exit 1); exit 1; }; }
12827 case $CONFIG_SHELL in
12829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12830 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12833 test -z "$as_dir" && as_dir
=.
12834 for as_base
in sh bash ksh sh5
; do
12837 if ("$as_dir/$as_base" -c '
12838 as_lineno_1=$LINENO
12839 as_lineno_2=$LINENO
12840 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12841 test "x$as_lineno_1" != "x$as_lineno_2" &&
12842 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12843 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12844 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12845 CONFIG_SHELL
=$as_dir/$as_base
12846 export CONFIG_SHELL
12847 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12855 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12856 # uniformly replaced by the line number. The first 'sed' inserts a
12857 # line-number line before each line; the second 'sed' does the real
12858 # work. The second script uses 'N' to pair each line-number line
12859 # with the numbered line, and appends trailing '-' during
12860 # substitution so that $LINENO is not a special case at line end.
12861 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12862 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12863 sed '=' <$as_myself |
12868 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12871 s,^['$as_cr_digits']*\n,,
12872 ' >$as_me.lineno
&&
12873 chmod +x
$as_me.lineno ||
12874 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12875 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12876 { (exit 1); exit 1; }; }
12878 # Don't try to exec as it changes $[0], causing all sort of problems
12879 # (the dirname of $[0] is not the place where we might find the
12880 # original and so on. Autoconf is especially sensible to this).
12882 # Exit status is that of the last command.
12887 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12888 *c
*,-n*) ECHO_N
= ECHO_C
='
12890 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12891 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12894 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12900 rm -f conf$$ conf$$.exe conf$$.
file
12902 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12903 # We could just check for DJGPP; but this test a) works b) is more generic
12904 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12905 if test -f conf$$.exe
; then
12906 # Don't use ln at all; we don't have any links
12911 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12916 rm -f conf$$ conf$$.exe conf$$.
file
12918 if mkdir
-p .
2>/dev
/null
; then
12921 test -d .
/-p && rmdir .
/-p
12925 as_executable_p
="test -f"
12927 # Sed expression to map a string onto a valid CPP name.
12928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12930 # Sed expression to map a string onto a valid variable name.
12931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12935 # We need space, tab and new line, in precisely that order.
12945 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12946 # report actual input values of CONFIG_FILES etc. instead of their
12947 # values after options handling. Logging --version etc. is OK.
12951 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12952 ## Running $as_me. ##
12957 This file was extended by $as_me, which was
12958 generated by GNU Autoconf 2.59. Invocation command line was
12960 CONFIG_FILES = $CONFIG_FILES
12961 CONFIG_HEADERS = $CONFIG_HEADERS
12962 CONFIG_LINKS = $CONFIG_LINKS
12963 CONFIG_COMMANDS = $CONFIG_COMMANDS
12967 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12971 # Files that config.status was made for.
12972 if test -n "$ac_config_files"; then
12973 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12976 if test -n "$ac_config_headers"; then
12977 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12980 if test -n "$ac_config_links"; then
12981 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12984 if test -n "$ac_config_commands"; then
12985 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12988 cat >>$CONFIG_STATUS <<\_ACEOF
12991 \`$as_me' instantiates files from templates according to the
12992 current configuration.
12994 Usage: $0 [OPTIONS] [FILE]...
12996 -h, --help print this help, then exit
12997 -V, --version print version number, then exit
12998 -q, --quiet do not print progress messages
12999 -d, --debug don't remove temporary files
13000 --recheck update $as_me by reconfiguring in the same conditions
13001 --file=FILE[:TEMPLATE]
13002 instantiate the configuration file FILE
13004 Configuration files:
13007 Report bugs to <bug-autoconf@gnu.org>."
13010 cat >>$CONFIG_STATUS <<_ACEOF
13013 configured by $0, generated by GNU Autoconf 2.59,
13014 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13016 Copyright (C) 2003 Free Software Foundation, Inc.
13017 This config.status script is free software; the Free Software Foundation
13018 gives unlimited permission to copy, distribute and modify it."
13023 cat >>$CONFIG_STATUS <<\_ACEOF
13024 # If no file are specified by the user, then we need to provide default
13025 # value. By we need to know if files were specified by the user.
13031 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13032 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13040 *) # This is not an option, so the user has probably given explicit
13043 ac_need_defaults
=false
;;
13047 # Handling of the options.
13049 cat >>$CONFIG_STATUS <<\_ACEOF
13050 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13052 --version |
--vers* |
-V )
13053 echo "$ac_cs_version"; exit 0 ;;
13055 # Conflict between --help and --header
13056 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13057 Try \`$0 --help' for more information." >&5
13058 echo "$as_me: error: ambiguous option: $1
13059 Try \`$0 --help' for more information." >&2;}
13060 { (exit 1); exit 1; }; };;
13061 --help |
--hel |
-h )
13062 echo "$ac_cs_usage"; exit 0 ;;
13063 --debug |
--d* |
-d )
13065 --file |
--fil |
--fi |
--f )
13067 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13068 ac_need_defaults
=false
;;
13069 --header |
--heade |
--head |
--hea )
13071 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13072 ac_need_defaults
=false
;;
13073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13074 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13077 # This is an error.
13078 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13079 Try \`$0 --help' for more information." >&5
13080 echo "$as_me: error: unrecognized option: $1
13081 Try \`$0 --help' for more information." >&2;}
13082 { (exit 1); exit 1; }; } ;;
13084 *) ac_config_targets
="$ac_config_targets $1" ;;
13090 ac_configure_extra_args
=
13092 if $ac_cs_silent; then
13094 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13098 cat >>$CONFIG_STATUS <<_ACEOF
13099 if \$ac_cs_recheck; then
13100 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13101 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13110 cat >>$CONFIG_STATUS <<\_ACEOF
13111 for ac_config_target
in $ac_config_targets
13113 case "$ac_config_target" in
13114 # Handling of arguments.
13115 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13116 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13117 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13118 { (exit 1); exit 1; }; };;
13122 # If the user did not use the arguments to specify the items to instantiate,
13123 # then the envvar interface is used. Set only those that are not.
13124 # We use the long form for the default assignment because of an extremely
13125 # bizarre bug on SunOS 4.1.3.
13126 if $ac_need_defaults; then
13127 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13130 # Have a temporary directory for convenience. Make it in the build tree
13131 # simply because there is no reason to put it here, and in addition,
13132 # creating and moving files from /tmp can sometimes cause problems.
13133 # Create a temporary directory, and hook for its removal unless debugging.
13136 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13137 trap '{ (exit 1); exit 1; }' 1 2 13 15
13140 # Create a (secure) tmp directory for tmp files.
13143 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13144 test -n "$tmp" && test -d "$tmp"
13147 tmp
=.
/confstat$$
-$RANDOM
13148 (umask 077 && mkdir
$tmp)
13151 echo "$me: cannot create a temporary directory in ." >&2
13152 { (exit 1); exit 1; }
13157 cat >>$CONFIG_STATUS <<_ACEOF
13160 # CONFIG_FILES section.
13163 # No need to generate the scripts if there are no CONFIG_FILES.
13164 # This happens for instance when ./config.status config.h
13165 if test -n "\$CONFIG_FILES"; then
13166 # Protect against being on the right side of a sed subst in config.status.
13167 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13168 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13169 s,@SHELL@,$SHELL,;t t
13170 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13171 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13172 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13173 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13174 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13175 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13176 s,@exec_prefix@,$exec_prefix,;t t
13177 s,@prefix@,$prefix,;t t
13178 s,@program_transform_name@,$program_transform_name,;t t
13179 s,@bindir@,$bindir,;t t
13180 s,@sbindir@,$sbindir,;t t
13181 s,@libexecdir@,$libexecdir,;t t
13182 s,@datadir@,$datadir,;t t
13183 s,@sysconfdir@,$sysconfdir,;t t
13184 s,@sharedstatedir@,$sharedstatedir,;t t
13185 s,@localstatedir@,$localstatedir,;t t
13186 s,@libdir@,$libdir,;t t
13187 s,@includedir@,$includedir,;t t
13188 s,@oldincludedir@,$oldincludedir,;t t
13189 s,@infodir@,$infodir,;t t
13190 s,@mandir@,$mandir,;t t
13191 s,@build_alias@,$build_alias,;t t
13192 s,@host_alias@,$host_alias,;t t
13193 s,@target_alias@,$target_alias,;t t
13194 s,@DEFS@,$DEFS,;t t
13195 s,@ECHO_C@,$ECHO_C,;t t
13196 s,@ECHO_N@,$ECHO_N,;t t
13197 s,@ECHO_T@,$ECHO_T,;t t
13198 s,@LIBS@,$LIBS,;t t
13199 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13200 s,@build@,$build,;t t
13201 s,@build_cpu@,$build_cpu,;t t
13202 s,@build_vendor@,$build_vendor,;t t
13203 s,@build_os@,$build_os,;t t
13204 s,@build_noncanonical@,$build_noncanonical,;t t
13205 s,@host_noncanonical@,$host_noncanonical,;t t
13206 s,@target_noncanonical@,$target_noncanonical,;t t
13207 s,@host@,$host,;t t
13208 s,@host_cpu@,$host_cpu,;t t
13209 s,@host_vendor@,$host_vendor,;t t
13210 s,@host_os@,$host_os,;t t
13211 s,@target@,$target,;t t
13212 s,@target_cpu@,$target_cpu,;t t
13213 s,@target_vendor@,$target_vendor,;t t
13214 s,@target_os@,$target_os,;t t
13215 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13216 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13217 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13219 s,@LN_S@,$LN_S,;t t
13220 s,@build_libsubdir@,$build_libsubdir,;t t
13221 s,@build_subdir@,$build_subdir,;t t
13222 s,@host_subdir@,$host_subdir,;t t
13223 s,@target_subdir@,$target_subdir,;t t
13225 s,@CFLAGS@,$CFLAGS,;t t
13226 s,@LDFLAGS@,$LDFLAGS,;t t
13227 s,@CPPFLAGS@,$CPPFLAGS,;t t
13228 s,@ac_ct_CC@,$ac_ct_CC,;t t
13229 s,@EXEEXT@,$EXEEXT,;t t
13230 s,@OBJEXT@,$OBJEXT,;t t
13232 s,@CXXFLAGS@,$CXXFLAGS,;t t
13233 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13234 s,@GNATBIND@,$GNATBIND,;t t
13235 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13236 s,@GNATMAKE@,$GNATMAKE,;t t
13237 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13238 s,@do_compare@,$do_compare,;t t
13239 s,@gmplibs@,$gmplibs,;t t
13240 s,@gmpinc@,$gmpinc,;t t
13241 s,@ppllibs@,$ppllibs,;t t
13242 s,@pplinc@,$pplinc,;t t
13243 s,@clooglibs@,$clooglibs,;t t
13244 s,@clooginc@,$clooginc,;t t
13245 s,@stage1_languages@,$stage1_languages,;t t
13246 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13247 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13248 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13249 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13250 s,@CPPFLAGS_FOR_TARGET@,$CPPFLAGS_FOR_TARGET,;t t
13251 s,@LDFLAGS_FOR_TARGET@,$LDFLAGS_FOR_TARGET,;t t
13252 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13253 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13254 s,@tooldir@,$tooldir,;t t
13255 s,@build_tooldir@,$build_tooldir,;t t
13256 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13257 s,@GDB_TK@,$GDB_TK,;t t
13258 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13259 s,@build_configargs@,$build_configargs,;t t
13260 s,@build_configdirs@,$build_configdirs,;t t
13261 s,@host_configargs@,$host_configargs,;t t
13262 s,@configdirs@,$configdirs,;t t
13263 s,@target_configargs@,$target_configargs,;t t
13264 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13265 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13266 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13267 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13268 s,@CPPFLAGS_FOR_BUILD@,$CPPFLAGS_FOR_BUILD,;t t
13269 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13270 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13271 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13272 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13273 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13274 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13275 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13276 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13277 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13278 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13279 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13280 s,@config_shell@,$config_shell,;t t
13281 s,@YACC@,$YACC,;t t
13282 s,@BISON@,$BISON,;t t
13285 s,@FLEX@,$FLEX,;t t
13286 s,@MAKEINFO@,$MAKEINFO,;t t
13287 s,@EXPECT@,$EXPECT,;t t
13288 s,@RUNTEST@,$RUNTEST,;t t
13291 s,@DLLTOOL@,$DLLTOOL,;t t
13293 s,@LIPO@,$LIPO,;t t
13295 s,@RANLIB@,$RANLIB,;t t
13296 s,@STRIP@,$STRIP,;t t
13297 s,@WINDRES@,$WINDRES,;t t
13298 s,@WINDMC@,$WINDMC,;t t
13299 s,@OBJCOPY@,$OBJCOPY,;t t
13300 s,@OBJDUMP@,$OBJDUMP,;t t
13301 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13302 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13303 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13304 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13305 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13306 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13307 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13308 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13309 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13310 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13311 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13312 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13313 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13314 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13315 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13316 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13317 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13318 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13319 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13320 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13321 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13322 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13323 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13324 s,@MAINT@,$MAINT,;t t
13325 s,@stage1_cflags@,$stage1_cflags,;t t
13326 s,@stage1_checking@,$stage1_checking,;t t
13327 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13328 s,@datarootdir@,$datarootdir,;t t
13329 s,@docdir@,$docdir,;t t
13330 s,@pdfdir@,$pdfdir,;t t
13331 s,@htmldir@,$htmldir,;t t
13332 s,@LIBOBJS@,$LIBOBJS,;t t
13333 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13334 /@serialization_dependencies@/r $serialization_dependencies
13335 s,@serialization_dependencies@,,;t t
13336 /@host_makefile_frag@/r $host_makefile_frag
13337 s,@host_makefile_frag@,,;t t
13338 /@target_makefile_frag@/r $target_makefile_frag
13339 s,@target_makefile_frag@,,;t t
13340 /@alphaieee_frag@/r $alphaieee_frag
13341 s,@alphaieee_frag@,,;t t
13342 /@ospace_frag@/r $ospace_frag
13343 s,@ospace_frag@,,;t t
13348 cat >>$CONFIG_STATUS <<\_ACEOF
13349 # Split the substitutions into bite-sized pieces for seds with
13350 # small command number limits, like on Digital OSF/1 and HP-UX.
13351 ac_max_sed_lines
=48
13352 ac_sed_frag
=1 # Number of current file.
13353 ac_beg
=1 # First line for current file.
13354 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13357 while $ac_more_lines; do
13358 if test $ac_beg -gt 1; then
13359 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13361 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13363 if test ! -s $tmp/subs.frag
; then
13364 ac_more_lines
=false
13366 # The purpose of the label and of the branching condition is to
13367 # speed up the sed processing (if there are no `@' at all, there
13368 # is no need to browse any of the substitutions).
13369 # These are the two extra sed commands mentioned above.
13371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13372 if test -z "$ac_sed_cmds"; then
13373 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13375 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13377 ac_sed_frag
=`expr $ac_sed_frag + 1`
13379 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13382 if test -z "$ac_sed_cmds"; then
13385 fi # test -n "$CONFIG_FILES"
13388 cat >>$CONFIG_STATUS <<\_ACEOF
13389 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13390 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13392 - |
*:- |
*:-:* ) # input from stdin
13394 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13395 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13396 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13397 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13398 * ) ac_file_in
=$ac_file.
in ;;
13401 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13402 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13403 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13404 X"$ac_file" : 'X\(//\)[^/]' \| \
13405 X"$ac_file" : 'X\(//\)$' \| \
13406 X"$ac_file" : 'X\(/\)' \| \
13407 . : '\(.\)' 2>/dev/null ||
13409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13410 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13411 /^X\(\/\/\)$/{ s//\1/; q; }
13412 /^X\(\/\).*/{ s//\1/; q; }
13414 { if $as_mkdir_p; then
13419 while test ! -d "$as_dir"; do
13420 as_dirs
="$as_dir $as_dirs"
13421 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13423 X"$as_dir" : 'X\(//\)[^/]' \| \
13424 X"$as_dir" : 'X\(//\)$' \| \
13425 X"$as_dir" : 'X\(/\)' \| \
13426 . : '\(.\)' 2>/dev/null ||
13428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13429 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13430 /^X\(\/\/\)$/{ s//\1/; q; }
13431 /^X\(\/\).*/{ s//\1/; q; }
13434 test ! -n "$as_dirs" || mkdir
$as_dirs
13435 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13436 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13437 { (exit 1); exit 1; }; }; }
13441 if test "$ac_dir" != .
; then
13442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13443 # A "../" for each directory in $ac_dir_suffix.
13444 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13446 ac_dir_suffix
= ac_top_builddir
=
13450 .
) # No --srcdir option. We are building in place.
13452 if test -z "$ac_top_builddir"; then
13455 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13457 [\\/]* | ?
:[\\/]* ) # Absolute path.
13458 ac_srcdir
=$srcdir$ac_dir_suffix;
13459 ac_top_srcdir
=$srcdir ;;
13460 *) # Relative path.
13461 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13462 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13465 # Do not use `cd foo && pwd` to compute absolute paths, because
13466 # the directories may not exist.
13468 .
) ac_abs_builddir
="$ac_dir";;
13471 .
) ac_abs_builddir
=`pwd`;;
13472 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13473 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13476 case $ac_abs_builddir in
13477 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13479 case ${ac_top_builddir}.
in
13480 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13481 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13482 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13485 case $ac_abs_builddir in
13486 .
) ac_abs_srcdir
=$ac_srcdir;;
13489 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13490 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13491 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13494 case $ac_abs_builddir in
13495 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13497 case $ac_top_srcdir in
13498 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13499 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13500 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13506 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13507 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13510 if test x
"$ac_file" != x-
; then
13511 { echo "$as_me:$LINENO: creating $ac_file" >&5
13512 echo "$as_me: creating $ac_file" >&6;}
13515 # Let's still pretend it is `configure' which instantiates (i.e., don't
13516 # use $as_me), people would be surprised to read:
13517 # /* config.h. Generated by config.status. */
13518 if test x
"$ac_file" = x-
; then
13521 configure_input
="$ac_file. "
13523 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13524 sed 's,.*/,,'` by configure."
13526 # First look for the input files in the build tree, otherwise in the
13528 ac_file_inputs
=`IFS=:
13529 for f in $ac_file_in; do
13531 -) echo $tmp/stdin ;;
13533 # Absolute (can't be DOS-style, as IFS=:)
13534 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13535 echo "$as_me: error: cannot find input file: $f" >&2;}
13536 { (exit 1); exit 1; }; }
13539 if test -f "$f"; then
13542 elif test -f "$srcdir/$f"; then
13547 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13548 echo "$as_me: error: cannot find input file: $f" >&2;}
13549 { (exit 1); exit 1; }; }
13552 done` ||
{ (exit 1); exit 1; }
13554 cat >>$CONFIG_STATUS <<_ACEOF
13558 cat >>$CONFIG_STATUS <<\_ACEOF
13560 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13561 s
,@configure_input@
,$configure_input,;t t
13562 s
,@srcdir@
,$ac_srcdir,;t t
13563 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13564 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13565 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13566 s
,@builddir@
,$ac_builddir,;t t
13567 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13568 s
,@top_builddir@
,$ac_top_builddir,;t t
13569 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13570 s
,@INSTALL@
,$ac_INSTALL,;t t
13571 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13573 if test x"$ac_file" != x-; then
13574 mv $tmp/out $ac_file
13583 cat >>$CONFIG_STATUS <<\_ACEOF
13585 { (exit 0); exit 0; }
13587 chmod +x $CONFIG_STATUS
13588 ac_clean_files=$ac_clean_files_save
13591 # configure is writing to config.log, and then calls config.status.
13592 # config.status does its own redirection, appending to config.log.
13593 # Unfortunately, on DOS this fails, as config.log is still kept open
13594 # by configure, so config.status won't be able to write to it; its
13595 # output is simply discarded. So we exec the FD to /dev/null,
13596 # effectively closing config.log, so it can be properly (re)opened and
13597 # appended to by config.status. When coming back to configure, we
13598 # need to make the FD available again.
13599 if test "$no_create" != yes; then
13601 ac_config_status_args=
13602 test "$silent" = yes &&
13603 ac_config_status_args="$ac_config_status_args --quiet"
13605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13608 # would make configure fail if this is the last instruction.
13609 $ac_cs_success || { (exit 1); exit 1; }