2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --disable-ppl-version-check disable check
for PPL version
939 --disable-cloog-version-check disable check
for CLooG version
940 --enable-stage1-languages[=all
] choose additional languages to build during
941 stage1. Mostly useful
for compiler development.
942 --enable-objc-gc enable use of Boehm
's garbage collector with the
943 GNU Objective-C runtime
944 --enable-bootstrap enable bootstrapping [yes if native build]
945 --enable-serial-[{host,target,build}-]configure
946 force sequential configuration of
947 sub-packages for the host, target or build
948 machine, or all sub-packages
949 --enable-maintainer-mode enable make rules and dependencies not useful
950 (and sometimes confusing) to the casual installer
951 --enable-stage1-checking[=all] choose additional checking for stage1
953 --enable-werror enable -Werror in bootstrap stage2 and later
956 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
957 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
958 --with-build-libsubdir=DIR Directory where to find libraries for build system
959 --with-mpfr-dir=PATH this option has been REMOVED
960 --with-mpfr=PATH specify prefix directory for installed MPFR package.
961 Equivalent to --with-mpfr-include=PATH/include
962 plus --with-mpfr-lib=PATH/lib
963 --with-mpfr-include=PATH
964 specify directory for installed MPFR include files
965 --with-mpfr-lib=PATH specify directory for the installed MPFR library
966 --with-gmp-dir=PATH this option has been REMOVED
967 --with-gmp=PATH specify prefix directory for the installed GMP package.
968 Equivalent to --with-gmp-include=PATH/include
969 plus --with-gmp-lib=PATH/lib
970 --with-gmp-include=PATH specify directory for installed GMP include files
971 --with-gmp-lib=PATH specify directory for the installed GMP library
972 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
973 when linking with PPL
974 --with-ppl=PATH Specify prefix directory for the installed PPL package
975 Equivalent to --with-ppl-include=PATH/include
976 plus --with-ppl-lib=PATH/lib
977 --with-ppl-include=PATH Specify directory for installed PPL include files
978 --with-ppl-lib=PATH Specify the directory for the installed PPL library
979 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
980 Equivalent to --with-cloog-include=PATH/include
981 plus --with-cloog-lib=PATH/lib
982 --with-cloog-include=PATH Specify directory for installed CLooG include files
983 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
984 --with-build-sysroot=SYSROOT
985 use sysroot as the system root during the build
986 --with-debug-prefix-map='A
=B C
=D ...
'
987 map A to B, C to D ... in debug information
988 --with-build-time-tools=PATH
989 use given path to find target tools during the build
990 --with-datarootdir use datarootdir as the data root directory.
991 --with-docdir install documentation in this directory.
992 --with-pdfdir install pdf in this directory.
993 --with-htmldir install html in this directory.
995 Some influential environment variables:
996 CC C compiler command
997 CFLAGS C compiler flags
998 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
999 nonstandard directory <lib dir>
1000 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1001 headers in a nonstandard directory <include dir>
1002 CXX C++ compiler command
1003 CXXFLAGS C++ compiler flags
1006 DLLTOOL DLLTOOL for the host
1008 LIPO LIPO for the host
1010 RANLIB RANLIB for the host
1011 STRIP STRIP for the host
1012 WINDRES WINDRES for the host
1013 WINDMC WINDMC for the host
1014 OBJCOPY OBJCOPY for the host
1015 OBJDUMP OBJDUMP for the host
1025 GFORTRAN for the target
1031 DLLTOOL for the target
1039 OBJDUMP for the target
1041 RANLIB for the target
1043 STRIP for the target
1045 WINDRES for the target
1047 WINDMC for the target
1049 Use these variables to override the choices made by `configure' or to
help
1050 it to
find libraries and programs with nonstandard names
/locations.
1055 if test "$ac_init_help" = "recursive"; then
1056 # If there are subdirs, report their specific --help.
1058 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1059 test -d $ac_dir ||
continue
1062 if test "$ac_dir" != .
; then
1063 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1064 # A "../" for each directory in $ac_dir_suffix.
1065 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1067 ac_dir_suffix
= ac_top_builddir
=
1071 .
) # No --srcdir option. We are building in place.
1073 if test -z "$ac_top_builddir"; then
1076 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1078 [\\/]* | ?
:[\\/]* ) # Absolute path.
1079 ac_srcdir
=$srcdir$ac_dir_suffix;
1080 ac_top_srcdir
=$srcdir ;;
1082 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1083 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1086 # Do not use `cd foo && pwd` to compute absolute paths, because
1087 # the directories may not exist.
1089 .
) ac_abs_builddir
="$ac_dir";;
1092 .
) ac_abs_builddir
=`pwd`;;
1093 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1094 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1097 case $ac_abs_builddir in
1098 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1100 case ${ac_top_builddir}.
in
1101 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1102 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1103 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1106 case $ac_abs_builddir in
1107 .
) ac_abs_srcdir
=$ac_srcdir;;
1110 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1111 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1112 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1115 case $ac_abs_builddir in
1116 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1118 case $ac_top_srcdir in
1119 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1120 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1121 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu
; then
1129 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1130 elif test -f $ac_srcdir/configure
; then
1132 $SHELL $ac_srcdir/configure
--help=recursive
1133 elif test -f $ac_srcdir/configure.ac ||
1134 test -f $ac_srcdir/configure.
in; then
1136 $ac_configure --help
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1144 test -n "$ac_init_help" && exit 0
1145 if $ac_init_version; then
1148 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1149 This configure
script is free software
; the Free Software Foundation
1150 gives unlimited permission to copy
, distribute and modify it.
1156 This file contains any messages produced by compilers while
1157 running configure, to aid debugging if configure makes a mistake.
1159 It was created by $as_me, which was
1160 generated by GNU Autoconf 2.59. Invocation command line was
1171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1183 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1194 test -z "$as_dir" && as_dir
=.
1195 echo "PATH: $as_dir"
1210 # Keep a trace of the command line.
1211 # Strip out --no-create and --no-recursion so they do not pile up.
1212 # Strip out --silent because we don't want to record it for future runs.
1213 # Also quote any args containing shell meta-characters.
1214 # Make two passes to allow for proper duplicate-argument suppression.
1219 ac_must_keep_next
=false
1225 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1227 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1233 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1235 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1236 if test $ac_must_keep_next = true
; then
1237 ac_must_keep_next
=false
# Got value, back to normal.
1240 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1241 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1242 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1243 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1244 case "$ac_configure_args0 " in
1245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1248 -* ) ac_must_keep_next
=true
;;
1251 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1252 # Get rid of the leading space.
1258 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1259 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1261 # When interrupted or exit'd, cleanup temporary files, and complete
1262 # config.log. We remove comments because anyway the quotes in there
1263 # would cause problems or look ugly.
1264 # WARNING: Be sure not to use single quotes in there, as some shells,
1265 # such as our DU 5.0 friend, will then `close' the trap.
1266 trap 'exit_status=$?
1267 # Save into config.log some information that might help in debugging.
1272 ## ---------------- ##
1273 ## Cache variables. ##
1274 ## ---------------- ##
1277 # The following way of writing the cache mishandles newlines in values,
1280 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1283 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1295 ## ----------------- ##
1296 ## Output variables. ##
1297 ## ----------------- ##
1300 for ac_var in $ac_subst_vars
1302 eval ac_val=$`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -n "$ac_subst_files"; then
1314 for ac_var in $ac_subst_files
1316 eval ac_val=$`echo $ac_var`
1317 echo "$ac_var='"'"'$ac_val'"'"'"
1322 if test -s confdefs.h; then
1329 sed "/^$/d" confdefs.h | sort
1332 test "$ac_signal" != 0 &&
1333 echo "$as_me: caught signal $ac_signal"
1334 echo "$as_me: exit $exit_status"
1336 rm -f core *.core &&
1337 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1340 for ac_signal
in 1 2 13 15; do
1341 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1346 rm -rf conftest
* confdefs.h
1347 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1350 # Predefined preprocessor variables.
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_NAME "$PACKAGE_NAME"
1357 cat >>confdefs.h
<<_ACEOF
1358 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362 cat >>confdefs.h
<<_ACEOF
1363 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1367 cat >>confdefs.h
<<_ACEOF
1368 #define PACKAGE_STRING "$PACKAGE_STRING"
1372 cat >>confdefs.h
<<_ACEOF
1373 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377 # Let the site file select an alternate cache file if it wants to.
1378 # Prefer explicitly selected file to automatically selected ones.
1379 if test -z "$CONFIG_SITE"; then
1380 if test "x$prefix" != xNONE
; then
1381 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1383 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1386 for ac_site_file
in $CONFIG_SITE; do
1387 if test -r "$ac_site_file"; then
1388 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1389 echo "$as_me: loading site script $ac_site_file" >&6;}
1390 sed 's/^/| /' "$ac_site_file" >&5
1395 if test -r "$cache_file"; then
1396 # Some versions of bash will fail to source /dev/null (special
1397 # files actually), so we avoid doing that.
1398 if test -f "$cache_file"; then
1399 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1400 echo "$as_me: loading cache $cache_file" >&6;}
1402 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1403 *) . .
/$cache_file;;
1407 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1408 echo "$as_me: creating cache $cache_file" >&6;}
1412 # Check that the precious variables saved in the cache have kept the same
1414 ac_cache_corrupted
=false
1415 for ac_var
in `(set) 2>&1 |
1416 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1417 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1418 eval ac_new_set
=\
$ac_env_${ac_var}_set
1419 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1420 eval ac_new_val
="\$ac_env_${ac_var}_value"
1421 case $ac_old_set,$ac_new_set in
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1425 ac_cache_corrupted
=: ;;
1427 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1429 ac_cache_corrupted
=: ;;
1432 if test "x$ac_old_val" != "x$ac_new_val"; then
1433 # differences in whitespace do not lead to failure.
1434 ac_old_val_w
=`echo x $ac_old_val`
1435 ac_new_val_w
=`echo x $ac_new_val`
1436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1437 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1438 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1439 ac_cache_corrupted
=:
1441 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1442 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1443 eval $ac_var=\
$ac_old_val
1445 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1446 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1447 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1448 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1451 # Pass precious variables to config.status.
1452 if test "$ac_new_set" = set; then
1454 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1455 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1456 *) ac_arg
=$ac_var=$ac_new_val ;;
1458 case " $ac_configure_args " in
1459 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1460 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1464 if $ac_cache_corrupted; then
1465 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1466 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1467 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1468 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1469 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1470 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1471 { (exit 1); exit 1; }; }
1475 ac_cpp
='$CPP $CPPFLAGS'
1476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1504 # if PWD already has a value, it is probably wrong.
1505 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1507 # Export original configure arguments for use by sub-configures.
1508 # Quote arguments with shell meta charatcers.
1509 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1510 set -- "$progname" "$@"
1514 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1515 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1516 # if the argument is of the form -foo=baz, quote the baz part only
1517 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1520 # Add the quoted argument to the list.
1521 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1523 if test "$silent" = yes; then
1524 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1526 # Remove the initial space we just introduced and, as these will be
1527 # expanded by make, quote '$'.
1528 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1531 # Find the build, host, and target systems.
1533 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1534 if test -f $ac_dir/install-sh
; then
1536 ac_install_sh
="$ac_aux_dir/install-sh -c"
1538 elif test -f $ac_dir/install.sh
; then
1540 ac_install_sh
="$ac_aux_dir/install.sh -c"
1542 elif test -f $ac_dir/shtool
; then
1544 ac_install_sh
="$ac_aux_dir/shtool install -c"
1548 if test -z "$ac_aux_dir"; then
1549 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1550 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1551 { (exit 1); exit 1; }; }
1553 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1554 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1555 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1557 # Make sure we can run config.sub.
1558 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1559 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: checking build system type" >&5
1564 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565 if test "${ac_cv_build+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_build_alias
=$build_alias
1569 test -z "$ac_cv_build_alias" &&
1570 ac_cv_build_alias
=`$ac_config_guess`
1571 test -z "$ac_cv_build_alias" &&
1572 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574 { (exit 1); exit 1; }; }
1575 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582 echo "${ECHO_T}$ac_cv_build" >&6
1584 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 case ${build_alias} in
1590 "") build_noncanonical
=${build} ;;
1591 *) build_noncanonical
=${build_alias} ;;
1596 case ${host_alias} in
1597 "") host_noncanonical
=${build_noncanonical} ;;
1598 *) host_noncanonical
=${host_alias} ;;
1603 case ${target_alias} in
1604 "") target_noncanonical
=${host_noncanonical} ;;
1605 *) target_noncanonical
=${target_alias} ;;
1611 test "$host_noncanonical" = "$target_noncanonical" &&
1612 test "$program_prefix$program_suffix$program_transform_name" = \
1614 program_transform_name
=s
,y
,y
,
1616 echo "$as_me:$LINENO: checking host system type" >&5
1617 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1618 if test "${ac_cv_host+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_host_alias
=$host_alias
1622 test -z "$ac_cv_host_alias" &&
1623 ac_cv_host_alias
=$ac_cv_build_alias
1624 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1630 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1631 echo "${ECHO_T}$ac_cv_host" >&6
1633 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638 echo "$as_me:$LINENO: checking target system type" >&5
1639 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1640 if test "${ac_cv_target+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 ac_cv_target_alias
=$target_alias
1644 test "x$ac_cv_target_alias" = "x" &&
1645 ac_cv_target_alias
=$ac_cv_host_alias
1646 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1647 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1648 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1649 { (exit 1); exit 1; }; }
1652 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1653 echo "${ECHO_T}$ac_cv_target" >&6
1654 target
=$ac_cv_target
1655 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1656 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1657 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1660 # The aliases save the names the user supplied, while $host etc.
1661 # will get canonicalized.
1662 test -n "$target_alias" &&
1663 test "$program_prefix$program_suffix$program_transform_name" = \
1665 program_prefix
=${target_alias}-
1666 test "$program_prefix" != NONE
&&
1667 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1668 # Use a double $ so make ignores it.
1669 test "$program_suffix" != NONE
&&
1670 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1671 # Double any \ or $. echo might interpret backslashes.
1672 # By default was `s,x,x', remove it if useless.
1673 cat <<\_ACEOF
>conftest.
sed
1674 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1676 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1681 # Get 'install' or 'install-sh' and its variants.
1682 # Find a good install program. We prefer a C program (faster),
1683 # so one script is as good as another. But avoid the broken or
1684 # incompatible versions:
1685 # SysV /etc/install, /usr/sbin/install
1686 # SunOS /usr/etc/install
1687 # IRIX /sbin/install
1689 # AmigaOS /C/install, which installs bootblocks on floppy discs
1690 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1691 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1692 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1693 # OS/2's system install, which has a completely different semantic
1694 # ./install, which can be erroneously created by make from ./install.sh.
1695 # Reject install programs that cannot install multiple files.
1696 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1697 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1698 if test -z "$INSTALL"; then
1699 if test "${ac_cv_path_install+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir
=.
1707 # Account for people who put trailing slashes in PATH elements.
1709 .
/ | .
// |
/cC
/* | \
1710 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1711 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1714 # OSF1 and SCO ODT 3.0 have their own names for install.
1715 # Don't use installbsd from OSF since it installs stuff as root
1717 for ac_prog
in ginstall scoinst
install; do
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1720 if test $ac_prog = install &&
1721 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1722 # AIX install. It has an incompatible calling convention.
1724 elif test $ac_prog = install &&
1725 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1726 # program-specific install script used by HP pwplus--don't use.
1729 rm -rf conftest.one conftest.two conftest.dir
1730 echo one
> conftest.one
1731 echo two
> conftest.two
1733 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1734 test -s conftest.one
&& test -s conftest.two
&&
1735 test -s conftest.dir
/conftest.one
&&
1736 test -s conftest.dir
/conftest.two
1738 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1749 rm -rf conftest.one conftest.two conftest.dir
1752 if test "${ac_cv_path_install+set}" = set; then
1753 INSTALL
=$ac_cv_path_install
1755 # As a last resort, use the slow shell script. Don't cache a
1756 # value for INSTALL within a source directory, because that will
1757 # break other packages using the cache if that directory is
1758 # removed, or if the value is a relative name.
1759 INSTALL
=$ac_install_sh
1762 echo "$as_me:$LINENO: result: $INSTALL" >&5
1763 echo "${ECHO_T}$INSTALL" >&6
1765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766 # It thinks the first close brace ends the variable substitution.
1767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1771 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1773 echo "$as_me:$LINENO: checking whether ln works" >&5
1774 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1775 if test "${acx_cv_prog_LN+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 rm -f conftestdata_t
1779 echo >conftestdata_f
1780 if ln conftestdata_f conftestdata_t
2>/dev
/null
1786 rm -f conftestdata_f conftestdata_t
1789 if test $acx_cv_prog_LN = no
; then
1791 echo "$as_me:$LINENO: result: no, using $LN" >&5
1792 echo "${ECHO_T}no, using $LN" >&6
1794 LN
="$acx_cv_prog_LN"
1795 echo "$as_me:$LINENO: result: yes" >&5
1796 echo "${ECHO_T}yes" >&6
1799 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1800 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1802 if test "$LN_S" = "ln -s"; then
1803 echo "$as_me:$LINENO: result: yes" >&5
1804 echo "${ECHO_T}yes" >&6
1806 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1807 echo "${ECHO_T}no, using $LN_S" >&6
1811 ### we might need to use some other shell than /bin/sh for running subshells
1812 ### If we are on Windows, search for the shell. This will permit people
1813 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1814 ### without also having to set CONFIG_SHELL. This code will work when
1815 ### using bash, which sets OSTYPE.
1818 if test x
${CONFIG_SHELL} = x
; then
1819 if test ! -f /bin
/sh
; then
1820 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1821 CONFIG_SHELL
=${SHELL}
1824 for prog
in sh sh.exe bash bash.exe
; do
1825 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1826 for dir
in $PATH; do
1827 test -z "$dir" && dir
=.
1828 if test -f $dir/$prog; then
1829 CONFIG_SHELL
=$dir/$prog
1835 test -n "${CONFIG_SHELL}" && break
1843 config_shell
=${CONFIG_SHELL-/bin/sh}
1845 moveifchange
=${srcdir}/move-if-change
1847 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1849 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1851 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1852 INSTALL
="${srcpwd}/install-sh -c"
1855 # Set srcdir to "." if that's what it is.
1856 # This is important for multilib support.
1858 if test "${pwd}" = "${srcpwd}" ; then
1866 ### To add a new directory to the tree, first choose whether it is a target
1867 ### or a host dependent tool. Then put it into the appropriate list
1868 ### (library or tools, host or target), doing a dependency sort.
1870 # Subdirs will be configured in the order listed in build_configdirs,
1871 # configdirs, or target_configdirs; see the serialization section below.
1873 # Dependency sorting is only needed when *configuration* must be done in
1874 # a particular order. In all cases a dependency should be specified in
1875 # the Makefile, whether or not it's implicitly specified here.
1877 # Double entries in build_configdirs, configdirs, or target_configdirs may
1878 # cause circular dependencies and break everything horribly.
1880 # these library is used by various programs built for the build
1883 build_libs
="build-libiberty"
1885 # these tools are built for the build environment
1886 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1888 # these libraries are used by various programs built for the host environment
1890 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog libiconv"
1892 # these tools are built for the host environment
1893 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1894 # know that we are building the simulator.
1895 # binutils, gas and ld appear in that order because it makes sense to run
1896 # "make check" in that particular order.
1897 # If --enable-gold is used, "gold" will replace "ld".
1898 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
1900 # libgcj represents the runtime libraries only used by gcj.
1901 libgcj
="target-libffi \
1906 # these libraries are built for the target environment, and are built after
1907 # the host libraries and the host tools (which may be a cross compiler)
1909 target_libraries
="target-libgcc \
1914 target-libstdc++-v3 \
1917 target-libgfortran \
1923 # these tools are built using the target libraries, and are intended to
1924 # run only in the target environment
1926 # note: any program that *uses* libraries that are in the "target_libraries"
1927 # list belongs in this list. those programs are also very likely
1928 # candidates for the "native_only" list which follows
1930 target_tools
="target-examples target-groff target-gperf target-rda"
1932 ################################################################################
1934 ## All tools belong in one of the four categories, and are assigned above
1935 ## We assign ${configdirs} this way to remove all embedded newlines. This
1936 ## is important because configure will choke if they ever get through.
1937 ## ${configdirs} is directories we build using the host tools.
1938 ## ${target_configdirs} is directories we build using the target tools.
1939 configdirs
=`echo ${host_libs} ${host_tools}`
1940 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1941 build_configdirs
=`echo ${build_libs} ${build_tools}`
1945 ################################################################################
1947 srcname
="gnu development package"
1949 # This gets set non-empty for some net releases of packages.
1952 # Define is_cross_compiler to save on calls to 'test'.
1954 if test x
"${host}" = x
"${target}" ; then
1955 is_cross_compiler
=no
1957 is_cross_compiler
=yes
1960 # Find the build and target subdir names.
1962 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1963 # have matching libraries, they should use host libraries: Makefile.tpl
1964 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1965 # However, they still use the build modules, because the corresponding
1966 # host modules (e.g. bison) are only built for the host when bootstrap
1968 # - build_subdir is where we find build modules, and never changes.
1969 # - build_libsubdir is where we find build libraries, and can be overridden.
1971 # Prefix 'build-' so this never conflicts with target_subdir.
1972 build_subdir
="build-${build_noncanonical}"
1974 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1975 if test "${with_build_libsubdir+set}" = set; then
1976 withval
="$with_build_libsubdir"
1977 build_libsubdir
="$withval"
1979 build_libsubdir
="$build_subdir"
1981 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1982 if ( test $srcdir = .
&& test -d gcc
) \
1983 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1984 host_subdir
="host-${host_noncanonical}"
1989 target_subdir
=${target_noncanonical}
1992 # Skipdirs are removed silently.
1994 # Noconfigdirs are removed loudly.
1998 # Make sure we don't let GNU ld be added if we didn't want it.
1999 if test x
$with_gnu_ld = xno
; then
2001 noconfigdirs
="$noconfigdirs ld gold"
2005 # Make sure we don't let GNU as be added if we didn't want it.
2006 if test x
$with_gnu_as = xno
; then
2008 noconfigdirs
="$noconfigdirs gas"
2011 # some tools are so dependent upon X11 that if we're not building with X,
2012 # it's not even worth trying to configure, much less build, that tool.
2015 yes |
"") ;; # the default value for this tree is that X11 is available
2017 skipdirs
="${skipdirs} tk itcl libgui"
2018 # We won't be able to build gdbtk without X.
2021 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2024 # Some tools are only suitable for building in a "native" situation.
2025 # Remove these if host!=target.
2026 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2028 # Similarly, some are only suitable for cross toolchains.
2029 # Remove these if host=target.
2030 cross_only
="target-libgloss target-newlib target-opcodes"
2032 case $is_cross_compiler in
2033 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2034 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2037 # If both --with-headers and --with-libs are specified, default to
2039 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2040 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2041 if test x
"${with_newlib}" = x
; then
2046 # Recognize --with-newlib/--without-newlib.
2047 case ${with_newlib} in
2048 no
) skipdirs
="${skipdirs} target-newlib" ;;
2049 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2052 # Handle --enable-gold.
2054 # Check whether --enable-gold or --disable-gold was given.
2055 if test "${enable_gold+set}" = set; then
2056 enableval
="$enable_gold"
2057 ENABLE_GOLD
=$enableval
2061 if test "${ENABLE_GOLD}" = "yes"; then
2062 # Check for ELF target.
2065 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2066 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2067 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2069 *-*-linux*aout
* |
*-*-linux*oldld
*)
2077 if test "$is_elf" = "yes"; then
2078 # Check for target supported by gold.
2080 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2081 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2087 # Configure extra directories which are host specific
2091 configdirs
="$configdirs libtermcap" ;;
2094 # A target can indicate whether a language isn't supported for some reason.
2095 # Only spaces may be used in this macro; not newlines or tabs.
2096 unsupported_languages
=
2098 # Remove more programs from consideration, based on the host or
2099 # target this usually means that a port of the program doesn't
2104 noconfigdirs
="$noconfigdirs byacc"
2106 i
[3456789]86-*-vsta)
2107 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2109 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2110 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2113 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2115 i
[3456789]86-*-mingw32*)
2116 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2117 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2119 i
[3456789]86-*-beos*)
2120 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2123 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2126 noconfigdirs
="$noconfigdirs rcs"
2129 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2132 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2137 # Check whether --enable-libada or --disable-libada was given.
2138 if test "${enable_libada+set}" = set; then
2139 enableval
="$enable_libada"
2140 ENABLE_LIBADA
=$enableval
2144 if test "${ENABLE_LIBADA}" != "yes" ; then
2145 noconfigdirs
="$noconfigdirs gnattools"
2148 # Check whether --enable-libssp or --disable-libssp was given.
2149 if test "${enable_libssp+set}" = set; then
2150 enableval
="$enable_libssp"
2151 ENABLE_LIBSSP
=$enableval
2156 # Save it here so that, even in case of --enable-libgcj, if the Java
2157 # front-end isn't enabled, we still get libgcj disabled.
2158 libgcj_saved
=$libgcj
2159 case $enable_libgcj in
2161 # If we reset it here, it won't get added to noconfigdirs in the
2162 # target-specific build rules, so it will be forcibly enabled
2163 # (unless the Java language itself isn't enabled).
2167 # Make sure we get it printed in the list of not supported target libs.
2168 noconfigdirs
="$noconfigdirs ${libgcj}"
2173 # Disable libmudflap on some systems.
2174 if test x
$enable_libmudflap = x
; then
2176 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2177 # Enable libmudflap by default in GNU and friends.
2180 # Enable libmudflap by default in FreeBSD.
2183 # Disable it by default everywhere else.
2184 noconfigdirs
="$noconfigdirs target-libmudflap"
2189 # Disable libgomp on non POSIX hosted systems.
2190 if test x
$enable_libgomp = x
; then
2191 # Enable libgomp by default on hosted POSIX systems.
2193 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2195 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2197 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2199 *-*-darwin* |
*-*-aix*)
2202 noconfigdirs
="$noconfigdirs target-libgomp"
2207 # Default libgloss CPU subdirectory.
2208 libgloss_dir
="$target_cpu"
2212 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2215 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2216 noconfigdirs
="$noconfigdirs sim target-rda"
2218 i
[3456789]86-*-darwin*)
2219 noconfigdirs
="$noconfigdirs ld gprof"
2220 noconfigdirs
="$noconfigdirs sim target-rda"
2223 noconfigdirs
="$noconfigdirs ld gas gprof"
2224 noconfigdirs
="$noconfigdirs sim target-rda"
2227 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2228 noconfigdirs
="$noconfigdirs sim target-rda"
2229 noconfigdirs
="$noconfigdirs ${libgcj}"
2231 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2232 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2235 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2236 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2237 && test -f /usr
/local
/include
/gmp.h
; then
2241 # Skip some stuff that's unsupported on some FreeBSD configurations.
2246 noconfigdirs
="$noconfigdirs ${libgcj}"
2251 # Remove unsupported stuff on all kaOS configurations.
2252 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2253 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2254 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2255 noconfigdirs
="$noconfigdirs target-libgloss"
2258 # Skip some stuff on all NetBSD configurations.
2259 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2261 # Skip some stuff that's unsupported on some NetBSD configurations.
2263 i
*86-*-netbsdelf*) ;;
2264 arm
*-*-netbsdelf*) ;;
2266 noconfigdirs
="$noconfigdirs ${libgcj}"
2271 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2274 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2276 # The tpf target doesn't support gdb yet.
2278 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2281 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2284 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2287 # ld works, but does not support shared libraries.
2288 # newlib is not 64 bit ready. I'm not sure about fileutils.
2289 # gas doesn't generate exception information.
2290 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2293 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2296 # newlib is not 64 bit ready
2297 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2300 # newlib is not 64 bit ready
2301 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2304 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2307 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2309 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2310 noconfigdirs
="$noconfigdirs ${libgcj}"
2311 noconfigdirs
="$noconfigdirs target-examples"
2312 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2313 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2314 noconfigdirs
="$noconfigdirs expect dejagnu"
2315 # the C++ libraries don't build on top of CE's C libraries
2316 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2317 noconfigdirs
="$noconfigdirs target-newlib"
2319 *-*-cygwin*) ;; # keep gdb and readline
2320 *) noconfigdirs
="$noconfigdirs gdb readline"
2326 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2330 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2331 noconfigdirs
="$noconfigdirs ${libgcj}"
2334 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2335 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2338 arm
*-*-linux-gnueabi)
2339 noconfigdirs
="$noconfigdirs target-qthreads"
2340 case ${with_newlib} in
2341 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2346 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2350 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2353 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2356 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2359 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2362 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2365 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2368 noconfigdirs
="$noconfigdirs gdb"
2369 if test x
${is_cross_compiler} != xno
; then
2370 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2373 c4x-
*-* | tic4x-
*-*)
2374 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2376 c54x
*-*-* | tic54x-
*-*)
2377 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2380 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2382 cris-
*-* | crisv32-
*-*)
2383 unsupported_languages
="$unsupported_languages java"
2386 unsupported_languages
="$unsupported_languages fortran"
2387 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2389 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2391 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2393 unsupported_languages
="$unsupported_languages fortran"
2394 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2399 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2402 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2405 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2407 ep9312-
*-elf | ep9312-
*-coff)
2411 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2414 noconfigdirs
="$noconfigdirs ${libgcj}"
2417 noconfigdirs
="$noconfigdirs ${libgcj}"
2418 noconfigdirs
="$noconfigdirs gprof"
2421 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2424 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2426 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2428 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2429 # In this case, it's because the hppa64-linux target is for
2430 # the kernel only at this point and has no libc, and thus no
2431 # headers, crt*.o, etc., all of which are needed by these.
2432 noconfigdirs
="$noconfigdirs target-zlib"
2434 parisc
*-*-linux* | hppa
*-*-linux*)
2438 hppa
*-*-openbsd* | \
2440 noconfigdirs
="$noconfigdirs ${libgcj}"
2443 noconfigdirs
="$noconfigdirs ld shellutils"
2449 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2450 # build on HP-UX 10.20.
2451 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2454 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2457 # No gdb support yet.
2458 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2461 # No gdb or ld support yet.
2462 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2465 # No gdb or ld support yet.
2466 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
2470 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2471 noconfigdirs
="$noconfigdirs ${libgcj}"
2474 i
[3456789]86-*-linux*)
2475 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2476 # not build java stuff by default.
2479 noconfigdirs
="$noconfigdirs ${libgcj}";;
2482 # This section makes it possible to build newlib natively on linux.
2483 # If we are using a cross compiler then don't configure newlib.
2484 if test x
${is_cross_compiler} != xno
; then
2485 noconfigdirs
="$noconfigdirs target-newlib"
2487 noconfigdirs
="$noconfigdirs target-libgloss"
2488 # If we are not using a cross compiler, do configure newlib.
2489 # Note however, that newlib will only be configured in this situation
2490 # if the --with-newlib option has been given, because otherwise
2491 # 'target-newlib' will appear in skipdirs.
2493 i
[3456789]86-*-mingw32*)
2494 target_configdirs
="$target_configdirs target-winsup"
2495 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2498 target_configdirs
="$target_configdirs target-winsup"
2499 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2502 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2503 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2504 # always build newlib if winsup directory is present.
2505 if test -d "$srcdir/winsup/cygwin"; then
2506 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2507 elif test -d "$srcdir/newlib"; then
2508 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2511 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2512 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2515 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2517 i
[3456789]86-*-sco3.2v5
*)
2518 # The linker does not yet know about weak symbols in COFF,
2519 # and is not configured to handle mixed ELF and COFF.
2520 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2522 i
[3456789]86-*-sco*)
2523 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2525 i
[3456789]86-*-solaris2*)
2526 noconfigdirs
="$noconfigdirs target-libgloss"
2528 i
[3456789]86-*-sysv4*)
2529 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2531 i
[3456789]86-*-beos*)
2532 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2534 i
[3456789]86-*-rdos*)
2535 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2538 noconfigdirs
="$noconfigdirs ${libgcj}"
2540 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2541 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2542 libgloss_dir
=m68hc11
2545 noconfigdirs
="$noconfigdirs ${libgcj}"
2548 noconfigdirs
="$noconfigdirs ${libgcj}"
2550 m68
*-*-* | fido-
*-*)
2554 # The EPOC C++ environment does not support exceptions or rtti,
2555 # and so building libstdc++-v3 tends not to always work.
2556 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2559 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2560 unsupported_languages
="$unsupported_languages fortran java"
2563 noconfigdirs
="$noconfigdirs ${libgcj}"
2566 noconfigdirs
="$noconfigdirs ${libgcj}"
2569 noconfigdirs
="$noconfigdirs sim"
2572 # copied from rs6000-*-* entry
2573 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2575 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2576 target_configdirs
="$target_configdirs target-winsup"
2577 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2578 # always build newlib.
2579 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2581 # This is temporary until we can link against shared libraries
2582 powerpcle-
*-solaris*)
2583 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2587 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2590 noconfigdirs
="$noconfigdirs ${libgcj}"
2593 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2597 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2600 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2603 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2606 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2609 skipdirs
="$skipdirs target-libiberty"
2610 noconfigdirs
="$noconfigdirs ${libgcj}"
2611 if test x
$with_newlib = xyes
; then
2612 noconfigdirs
="$noconfigdirs gprof"
2617 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2620 # Linking libjava exceeds command-line length limits on at least
2621 # IRIX 6.2, but not on IRIX 6.5.
2622 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2623 # <oldham@codesourcery.com>
2624 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2627 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2630 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2633 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2637 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2641 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2642 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2643 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2644 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2646 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2648 sparclet-
*-aout* | sparc86x-
*-*)
2652 noconfigdirs
="$noconfigdirs ${libgcj}"
2655 noconfigdirs
="$noconfigdirs ${libgcj}"
2659 noconfigdirs
="$noconfigdirs ${libgcj}"
2663 noconfigdirs
="$noconfigdirs ${libgcj}"
2664 if test x
${is_cross_compiler} != xno
; then
2665 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2670 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2671 noconfigdirs
="$noconfigdirs ${libgcj}"
2673 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2676 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2679 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2682 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2685 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2688 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2691 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2694 noconfigdirs
="$noconfigdirs ${libgcj}"
2697 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2699 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2700 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2703 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2706 noconfigdirs
="$noconfigdirs ${libgcj}"
2710 # If we aren't building newlib, then don't build libgloss, since libgloss
2711 # depends upon some newlib header files.
2712 case "${noconfigdirs}" in
2713 *target-libgloss
*) ;;
2714 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2717 # Work in distributions that contain no compiler tools, like Autoconf.
2719 host_makefile_frag
=/dev
/null
2720 if test -d ${srcdir}/config
; then
2723 # Avoid "too much defining" errors from HPUX compiler.
2724 tentative_cc
="cc -Wp,-H256000"
2725 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2726 # If it's HP/UX ar, this should be harmless.
2730 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2733 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2734 # chokes on bfd, the compiler won't let you assign integers to enums, and
2735 # other problems. Defining CC to gcc is a questionable way to say "don't use
2736 # the apollo compiler" (the preferred version of GCC could be called cc,
2737 # or whatever), but I'm not sure leaving CC as cc is any better...
2738 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2739 # Used to have BISON=yacc.
2743 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2746 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2747 tentative_cc
="cc -Xa"
2748 host_makefile_frag
="config/mh-cxux"
2750 m88k-motorola-sysv
*)
2753 tentative_cc
="cc -Wf,-XNg1000"
2754 host_makefile_frag
="config/mh-decstation"
2757 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2758 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2759 host_makefile_frag
="config/mh-necv4"
2762 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2763 # environment. Also bump switch table size so that cp-parse will
2764 # compile. Bump string length limit so linker builds.
2765 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2768 host_makefile_frag
="config/mh-sysv4"
2771 # This is for a MIPS running RISC/os 4.52C.
2773 # This is needed for GDB, but needs to be in the top-level make because
2774 # if a library is compiled with the bsd headers and gets linked with the
2775 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2776 # a different size).
2777 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2778 # known except to select the sysv environment. Could we use /proc instead?
2779 # These "sysv environments" and "bsd environments" often end up being a pain.
2781 # This is not part of CFLAGS because perhaps not all C compilers have this
2783 tentative_cc
="cc -systype sysv"
2788 i
[3456789]86-*-sysv5*)
2789 host_makefile_frag
="config/mh-sysv5"
2791 i
[3456789]86-*-dgux*)
2792 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2793 host_makefile_frag
="config/mh-dgux386"
2795 i
[3456789]86-ncr-sysv4.3
*)
2796 # The MetaWare compiler will generate a copyright message unless you
2797 # turn it off by adding the -Hnocopyr flag.
2798 tentative_cc
="cc -Hnocopyr"
2800 i
[3456789]86-ncr-sysv4*)
2801 # for an NCR 3000 (i486/SVR4) system.
2802 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2803 # This compiler not only emits obnoxious copyright messages every time
2804 # you run it, but it chokes and dies on a whole bunch of GNU source
2805 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2806 tentative_cc
="/usr/ccs/ATT/cc"
2807 host_makefile_frag
="config/mh-ncr3000"
2809 i
[3456789]86-*-sco3.2v5
*)
2811 i
[3456789]86-*-sco*)
2812 # The native C compiler botches some simple uses of const. Unfortunately,
2813 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2814 tentative_cc
="cc -Dconst="
2815 host_makefile_frag
="config/mh-sco"
2817 i
[3456789]86-*-udk*)
2818 host_makefile_frag
="config/mh-sysv5"
2820 i
[3456789]86-*-solaris2*)
2821 host_makefile_frag
="config/mh-sysv4"
2823 i
[3456789]86-*-msdosdjgpp*)
2824 host_makefile_frag
="config/mh-djgpp"
2828 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2829 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2830 echo a
>cygwin-cat-check
2831 if test `cat cygwin-cat-check` == a
; then
2833 echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2839 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2840 Please either mount the build directory in binary mode or run the following
2841 commands before running any configure script:
2845 echo "$as_me: error: The cat command does not ignore carriage return characters.
2846 Please either mount the build directory in binary mode or run the following
2847 commands before running any configure script:
2851 { (exit 1); exit 1; }; }
2854 host_makefile_frag
="config/mh-cygwin"
2857 host_makefile_frag
="config/mh-mingw"
2860 host_makefile_frag
="config/mh-interix"
2863 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2867 host_makefile_frag
="config/mh-solaris"
2870 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2871 # without overflowing the jump tables (-J says to use a 32 bit table)
2872 tentative_cc
="cc -J"
2875 tentative_cc
="cc -Wp,-H256000"
2876 host_makefile_frag
="config/mh-pa-hpux10"
2878 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2879 tentative_cc
="cc -Wp,-H256000"
2880 host_makefile_frag
="config/mh-pa"
2883 host_makefile_frag
="config/mh-pa"
2885 *-hp-hpux* |
*-*-hiux*)
2886 tentative_cc
="cc -Wp,-H256000"
2889 # /bin/cc is less than useful for our purposes. Always use GCC
2890 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2891 host_makefile_frag
="config/mh-lynxrs6k"
2894 host_makefile_frag
="config/mh-ppc-darwin"
2897 host_makefile_frag
="config/mh-ppc-aix"
2900 host_makefile_frag
="config/mh-ppc-aix"
2903 # /bin/cc is less than useful for our purposes. Always use GCC
2904 tentative_cc
="/bin/gcc"
2907 host_makefile_frag
="config/mh-sysv4"
2909 # This is placed last to prevent interfering with the cases above.
2911 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2912 host_makefile_frag
="config/mh-x86omitfp"
2917 # If we aren't going to be using gcc, see if we can extract a definition
2918 # of CC from the fragment.
2919 # Actually, use the 'pre-extracted' version above.
2920 if test -z "${CC}" && test "${build}" = "${host}" ; then
2921 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2923 for dir
in $PATH; do
2924 test -z "$dir" && dir
=.
2925 if test -f $dir/gcc
; then
2931 if test -z "${found}" && test -n "${tentative_cc}" ; then
2936 if test "${build}" != "${host}" ; then
2937 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2938 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2939 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2940 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2941 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2942 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2943 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2944 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2945 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2946 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2947 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2948 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2950 AR_FOR_BUILD
="\$(AR)"
2951 AS_FOR_BUILD
="\$(AS)"
2952 CC_FOR_BUILD
="\$(CC)"
2953 CXX_FOR_BUILD
="\$(CXX)"
2954 GCJ_FOR_BUILD
="\$(GCJ)"
2955 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2956 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2957 LD_FOR_BUILD
="\$(LD)"
2958 NM_FOR_BUILD
="\$(NM)"
2959 RANLIB_FOR_BUILD
="\$(RANLIB)"
2960 WINDRES_FOR_BUILD
="\$(WINDRES)"
2961 WINDMC_FOR_BUILD
="\$(WINDMC)"
2965 ac_cpp
='$CPP $CPPFLAGS'
2966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2969 if test -n "$ac_tool_prefix"; then
2970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2972 echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_CC+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC
="$CC" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 if test -n "$CC"; then
2998 echo "$as_me:$LINENO: result: $CC" >&5
2999 echo "${ECHO_T}$CC" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3006 if test -z "$ac_cv_prog_CC"; then
3008 # Extract the first word of "gcc", so it can be a program name with args.
3009 set dummy gcc
; ac_word
=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 if test -n "$ac_ct_CC"; then
3016 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir
=.
3023 for ac_exec_ext
in '' $ac_executable_extensions; do
3024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_ac_ct_CC
="gcc"
3026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3035 if test -n "$ac_ct_CC"; then
3036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3037 echo "${ECHO_T}$ac_ct_CC" >&6
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3048 if test -z "$CC"; then
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3051 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_CC+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC
="$CC" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 if test -n "$CC"; then
3078 echo "$as_me:$LINENO: result: $CC" >&5
3079 echo "${ECHO_T}$CC" >&6
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3086 if test -z "$ac_cv_prog_CC"; then
3088 # Extract the first word of "cc", so it can be a program name with args.
3089 set dummy cc
; ac_word
=$2
3090 echo "$as_me:$LINENO: checking for $ac_word" >&5
3091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 if test -n "$ac_ct_CC"; then
3096 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_ac_ct_CC
="cc"
3106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3115 if test -n "$ac_ct_CC"; then
3116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3117 echo "${ECHO_T}$ac_ct_CC" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3129 if test -z "$CC"; then
3130 # Extract the first word of "cc", so it can be a program name with args.
3131 set dummy cc
; ac_word
=$2
3132 echo "$as_me:$LINENO: checking for $ac_word" >&5
3133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3134 if test "${ac_cv_prog_CC+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 if test -n "$CC"; then
3138 ac_cv_prog_CC
="$CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3149 ac_prog_rejected
=yes
3153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test $ac_prog_rejected = yes; then
3160 # We found a bogon in the path, so make sure we never use it.
3161 set dummy
$ac_cv_prog_CC
3163 if test $# != 0; then
3164 # We chose a different compiler from the bogus one.
3165 # However, it has the same basename, so the bogon will be chosen
3166 # first if we set CC to just the basename; use the full file name.
3168 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3174 if test -n "$CC"; then
3175 echo "$as_me:$LINENO: result: $CC" >&5
3176 echo "${ECHO_T}$CC" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3183 if test -z "$CC"; then
3184 if test -n "$ac_tool_prefix"; then
3187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_CC+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC
="$CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 echo "$as_me:$LINENO: result: $CC" >&5
3216 echo "${ECHO_T}$CC" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3222 test -n "$CC" && break
3225 if test -z "$CC"; then
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy
$ac_prog; ac_word
=$2
3231 echo "$as_me:$LINENO: checking for $ac_word" >&5
3232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 if test -n "$ac_ct_CC"; then
3237 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir
=.
3244 for ac_exec_ext
in '' $ac_executable_extensions; do
3245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_ac_ct_CC
="$ac_prog"
3247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3258 echo "${ECHO_T}$ac_ct_CC" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3264 test -n "$ac_ct_CC" && break
3273 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3274 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3276 See \`config.log' for more details." >&5
3277 echo "$as_me: error: no acceptable C compiler found in \$PATH
3278 See \`config.log' for more details." >&2;}
3279 { (exit 1); exit 1; }; }; }
3281 # Provide some information about the compiler.
3282 echo "$as_me:$LINENO:" \
3283 "checking for C compiler version" >&5
3284 ac_compiler
=`set X $ac_compile; echo $2`
3285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3286 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }
3290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3291 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }
3295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3296 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }
3301 cat >conftest.
$ac_ext <<_ACEOF
3304 cat confdefs.h
>>conftest.
$ac_ext
3305 cat >>conftest.
$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3316 ac_clean_files_save
=$ac_clean_files
3317 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3318 # Try to create an executable without -o first, disregard a.out.
3319 # It will help us diagnose broken compilers, and finding out an intuition
3321 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3322 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3323 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3324 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3325 (eval $ac_link_default) 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; then
3329 # Find the output, starting from the most likely. This scheme is
3330 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3333 # Be careful to initialize this variable, since it used to be cached.
3334 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3336 # b.out is created by i960 compilers.
3337 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3339 test -f "$ac_file" ||
continue
3341 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3344 # This is the source file.
3347 # We found the default executable, but exeext='' is most
3351 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 # FIXME: I believe we export ac_cv_exeext for Libtool,
3353 # but it would be cool to find out if it's true. Does anybody
3354 # maintain Libtool? --akim.
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3366 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3368 See \`config.log' for more details." >&5
3369 echo "$as_me: error: C compiler cannot create executables
3370 See \`config.log' for more details." >&2;}
3371 { (exit 77); exit 77; }; }; }
3374 ac_exeext
=$ac_cv_exeext
3375 echo "$as_me:$LINENO: result: $ac_file" >&5
3376 echo "${ECHO_T}$ac_file" >&6
3378 # Check the compiler produces executables we can run. If not, either
3379 # the compiler is broken, or we cross compile.
3380 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3381 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3382 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3383 # If not cross compiling, check that we can run a simple program.
3384 if test "$cross_compiling" != yes; then
3385 if { ac_try
='./$ac_file'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3393 if test "$cross_compiling" = maybe
; then
3396 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3397 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3399 If you meant to cross compile, use \`--host'.
3400 See \`config.log' for more details." >&5
3401 echo "$as_me: error: cannot run C compiled programs.
3402 If you meant to cross compile, use \`--host'.
3403 See \`config.log' for more details." >&2;}
3404 { (exit 1); exit 1; }; }; }
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3411 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3412 ac_clean_files
=$ac_clean_files_save
3413 # Check the compiler produces executables we can run. If not, either
3414 # the compiler is broken, or we cross compile.
3415 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3416 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3417 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3418 echo "${ECHO_T}$cross_compiling" >&6
3420 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3421 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423 (eval $ac_link) 2>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; then
3427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3431 for ac_file
in conftest.exe conftest conftest.
*; do
3432 test -f "$ac_file" ||
continue
3434 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3435 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3443 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3445 See \`config.log' for more details." >&5
3446 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3447 See \`config.log' for more details." >&2;}
3448 { (exit 1); exit 1; }; }; }
3451 rm -f conftest
$ac_cv_exeext
3452 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3453 echo "${ECHO_T}$ac_cv_exeext" >&6
3455 rm -f conftest.
$ac_ext
3456 EXEEXT
=$ac_cv_exeext
3458 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3459 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3460 if test "${ac_cv_objext+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 cat >conftest.
$ac_ext <<_ACEOF
3466 cat confdefs.h
>>conftest.
$ac_ext
3467 cat >>conftest.
$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3478 rm -f conftest.o conftest.obj
3479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480 (eval $ac_compile) 2>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); }; then
3484 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3486 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3487 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.
$ac_ext >&5
3495 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3496 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3498 See \`config.log' for more details." >&5
3499 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details." >&2;}
3501 { (exit 1); exit 1; }; }; }
3504 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3507 echo "${ECHO_T}$ac_cv_objext" >&6
3508 OBJEXT
=$ac_cv_objext
3510 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3511 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3512 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3533 rm -f conftest.
$ac_objext
3534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>conftest.er1
3537 grep -v '^ *+' conftest.er1
>conftest.err
3539 cat conftest.err
>&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } &&
3542 { ac_try
='test -z "$ac_c_werror_flag"
3543 || test ! -s conftest.err'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; } &&
3549 { ac_try
='test -s conftest.$ac_objext'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3557 echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.
$ac_ext >&5
3562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3563 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3566 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3567 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3568 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3569 ac_test_CFLAGS
=${CFLAGS+set}
3570 ac_save_CFLAGS
=$CFLAGS
3572 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3573 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3574 if test "${ac_cv_prog_cc_g+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 cat >conftest.
$ac_ext <<_ACEOF
3580 cat confdefs.h
>>conftest.
$ac_ext
3581 cat >>conftest.
$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3592 rm -f conftest.
$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594 (eval $ac_compile) 2>conftest.er1
3596 grep -v '^ *+' conftest.er1
>conftest.err
3598 cat conftest.err
>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try
='test -z "$ac_c_werror_flag"
3602 || test ! -s conftest.err'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try
='test -s conftest.$ac_objext'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.
$ac_ext >&5
3621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3623 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3624 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3625 if test "$ac_test_CFLAGS" = set; then
3626 CFLAGS
=$ac_save_CFLAGS
3627 elif test $ac_cv_prog_cc_g = yes; then
3628 if test "$GCC" = yes; then
3634 if test "$GCC" = yes; then
3640 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3641 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3642 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 ac_cv_prog_cc_stdc
=no
3647 cat >conftest.
$ac_ext <<_ACEOF
3650 cat confdefs.h
>>conftest.
$ac_ext
3651 cat >>conftest.
$ac_ext <<_ACEOF
3652 /* end confdefs.h. */
3655 #include <sys/types.h>
3656 #include <sys/stat.h>
3657 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3658 struct buf { int x; };
3659 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3660 static char *e (p, i)
3666 static char *f (char * (*g) (char **, int), char **p, ...)
3671 s = g (p, va_arg (v,int));
3676 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3677 function prototypes and stuff, but not '\xHH' hex character constants.
3678 These don't provoke an error unfortunately, instead are silently treated
3679 as 'x'. The following induces an error, until -std1 is added to get
3680 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3681 array size at least. It's necessary to write '\x00'==0 to get something
3682 that's true only with -std1. */
3683 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3685 int test (int i, double x);
3686 struct s1 {int (*f) (int a);};
3687 struct s2 {int (*f) (double a);};
3688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3699 # Don't try gcc -ansi; that turns off useful extensions and
3700 # breaks some systems' header files.
3701 # AIX -qlanglvl=ansi
3702 # Ultrix and OSF/1 -std1
3703 # HP-UX 10.20 and later -Ae
3704 # HP-UX older versions -Aa -D_HPUX_SOURCE
3705 # SVR4 -Xc -D__EXTENSIONS__
3706 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3708 CC
="$ac_save_CC $ac_arg"
3709 rm -f conftest.
$ac_objext
3710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711 (eval $ac_compile) 2>conftest.er1
3713 grep -v '^ *+' conftest.er1
>conftest.err
3715 cat conftest.err
>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try
='test -z "$ac_c_werror_flag"
3719 || test ! -s conftest.err'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; } &&
3725 { ac_try
='test -s conftest.$ac_objext'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then
3731 ac_cv_prog_cc_stdc
=$ac_arg
3734 echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.
$ac_ext >&5
3738 rm -f conftest.err conftest.
$ac_objext
3740 rm -f conftest.
$ac_ext conftest.
$ac_objext
3745 case "x$ac_cv_prog_cc_stdc" in
3747 echo "$as_me:$LINENO: result: none needed" >&5
3748 echo "${ECHO_T}none needed" >&6 ;;
3750 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3751 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3752 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3755 # Some people use a C++ compiler to compile C. Since we use `exit',
3756 # in C++ we need to declare it. In case someone uses the same compiler
3757 # for both compiling C and C++ we need to have the C++ compiler decide
3758 # the declaration of exit, since it's the most demanding environment.
3759 cat >conftest.
$ac_ext <<_ACEOF
3764 rm -f conftest.
$ac_objext
3765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766 (eval $ac_compile) 2>conftest.er1
3768 grep -v '^ *+' conftest.er1
>conftest.err
3770 cat conftest.err
>&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } &&
3773 { ac_try
='test -z "$ac_c_werror_flag"
3774 || test ! -s conftest.err'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; } &&
3780 { ac_try
='test -s conftest.$ac_objext'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 for ac_declaration
in \
3788 'extern "C" void std::exit (int) throw (); using std::exit;' \
3789 'extern "C" void std::exit (int); using std::exit;' \
3790 'extern "C" void exit (int) throw ();' \
3791 'extern "C" void exit (int);' \
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -z "$ac_c_werror_flag"
3820 || test ! -s conftest.err'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; } &&
3826 { ac_try
='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.
$ac_ext >&5
3839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3840 cat >conftest.
$ac_ext <<_ACEOF
3843 cat confdefs.h
>>conftest.
$ac_ext
3844 cat >>conftest.
$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3855 rm -f conftest.
$ac_objext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3857 (eval $ac_compile) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try
='test -z "$ac_c_werror_flag"
3865 || test ! -s conftest.err'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; } &&
3871 { ac_try
='test -s conftest.$ac_objext'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; }; then
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
3886 if test -n "$ac_declaration"; then
3887 echo '#ifdef __cplusplus' >>confdefs.h
3888 echo $ac_declaration >>confdefs.h
3889 echo '#endif' >>confdefs.h
3893 echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.
$ac_ext >&5
3897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3899 ac_cpp
='$CPP $CPPFLAGS'
3900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3905 ac_cpp
='$CXXCPP $CPPFLAGS'
3906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3909 if test -n "$ac_tool_prefix"; then
3910 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3913 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3914 echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916 if test "${ac_cv_prog_CXX+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 if test -n "$CXX"; then
3920 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir
=.
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3929 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 if test -n "$CXX"; then
3940 echo "$as_me:$LINENO: result: $CXX" >&5
3941 echo "${ECHO_T}$CXX" >&6
3943 echo "$as_me:$LINENO: result: no" >&5
3944 echo "${ECHO_T}no" >&6
3947 test -n "$CXX" && break
3950 if test -z "$CXX"; then
3952 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3954 # Extract the first word of "$ac_prog", so it can be a program name with args.
3955 set dummy
$ac_prog; ac_word
=$2
3956 echo "$as_me:$LINENO: checking for $ac_word" >&5
3957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 if test -n "$ac_ct_CXX"; then
3962 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3968 test -z "$as_dir" && as_dir
=.
3969 for ac_exec_ext
in '' $ac_executable_extensions; do
3970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3981 if test -n "$ac_ct_CXX"; then
3982 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3983 echo "${ECHO_T}$ac_ct_CXX" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3989 test -n "$ac_ct_CXX" && break
3991 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3997 # Provide some information about the compiler.
3998 echo "$as_me:$LINENO:" \
3999 "checking for C++ compiler version" >&5
4000 ac_compiler
=`set X $ac_compile; echo $2`
4001 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4002 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }
4006 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4007 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }
4011 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4012 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); }
4017 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4018 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4019 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 cat >conftest.
$ac_ext <<_ACEOF
4025 cat confdefs.h
>>conftest.
$ac_ext
4026 cat >>conftest.
$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4040 rm -f conftest.
$ac_objext
4041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4042 (eval $ac_compile) 2>conftest.er1
4044 grep -v '^ *+' conftest.er1
>conftest.err
4046 cat conftest.err
>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } &&
4049 { ac_try
='test -z "$ac_cxx_werror_flag"
4050 || test ! -s conftest.err'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; } &&
4056 { ac_try
='test -s conftest.$ac_objext'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; }; then
4064 echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.
$ac_ext >&5
4069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4070 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4073 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4074 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4075 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4076 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4077 ac_save_CXXFLAGS
=$CXXFLAGS
4079 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4080 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4081 if test "${ac_cv_prog_cxx_g+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 cat >conftest.
$ac_ext <<_ACEOF
4087 cat confdefs.h
>>conftest.
$ac_ext
4088 cat >>conftest.
$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4099 rm -f conftest.
$ac_objext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>conftest.er1
4103 grep -v '^ *+' conftest.er1
>conftest.err
4105 cat conftest.err
>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } &&
4108 { ac_try
='test -z "$ac_cxx_werror_flag"
4109 || test ! -s conftest.err'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; } &&
4115 { ac_try
='test -s conftest.$ac_objext'
4116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }; }; then
4121 ac_cv_prog_cxx_g
=yes
4123 echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.
$ac_ext >&5
4128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4130 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4131 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4132 if test "$ac_test_CXXFLAGS" = set; then
4133 CXXFLAGS
=$ac_save_CXXFLAGS
4134 elif test $ac_cv_prog_cxx_g = yes; then
4135 if test "$GXX" = yes; then
4141 if test "$GXX" = yes; then
4147 for ac_declaration
in \
4149 'extern "C" void std::exit (int) throw (); using std::exit;' \
4150 'extern "C" void std::exit (int); using std::exit;' \
4151 'extern "C" void exit (int) throw ();' \
4152 'extern "C" void exit (int);' \
4155 cat >conftest.
$ac_ext <<_ACEOF
4158 cat confdefs.h
>>conftest.
$ac_ext
4159 cat >>conftest.
$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4171 rm -f conftest.
$ac_objext
4172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4173 (eval $ac_compile) 2>conftest.er1
4175 grep -v '^ *+' conftest.er1
>conftest.err
4177 cat conftest.err
>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } &&
4180 { ac_try
='test -z "$ac_cxx_werror_flag"
4181 || test ! -s conftest.err'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try
='test -s conftest.$ac_objext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4216 rm -f conftest.
$ac_objext
4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4218 (eval $ac_compile) 2>conftest.er1
4220 grep -v '^ *+' conftest.er1
>conftest.err
4222 cat conftest.err
>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } &&
4225 { ac_try
='test -z "$ac_cxx_werror_flag"
4226 || test ! -s conftest.err'
4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; } &&
4232 { ac_try
='test -s conftest.$ac_objext'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.
$ac_ext >&5
4244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4247 if test -n "$ac_declaration"; then
4248 echo '#ifdef __cplusplus' >>confdefs.h
4249 echo $ac_declaration >>confdefs.h
4250 echo '#endif' >>confdefs.h
4254 ac_cpp
='$CPP $CPPFLAGS'
4255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4260 # We must set the default linker to the linker used by gcc for the correct
4261 # operation of libtool. If LD is not defined and we are using gcc, try to
4262 # set the LD default to the ld used by gcc.
4263 if test -z "$LD"; then
4264 if test "$GCC" = yes; then
4267 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4269 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4271 case $gcc_prog_ld in
4272 # Accept absolute paths.
4273 [\\/]* |
[A-Za-z
]:[\\/]*)
4274 LD
="$gcc_prog_ld" ;;
4282 if test -n "$ac_tool_prefix"; then
4283 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4284 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4285 echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4287 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$GNATBIND"; then
4291 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 GNATBIND
=$ac_cv_prog_GNATBIND
4310 if test -n "$GNATBIND"; then
4311 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4312 echo "${ECHO_T}$GNATBIND" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4319 if test -z "$ac_cv_prog_GNATBIND"; then
4320 ac_ct_GNATBIND
=$GNATBIND
4321 # Extract the first word of "gnatbind", so it can be a program name with args.
4322 set dummy gnatbind
; ac_word
=$2
4323 echo "$as_me:$LINENO: checking for $ac_word" >&5
4324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4325 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 if test -n "$ac_ct_GNATBIND"; then
4329 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir
=.
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4348 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4349 if test -n "$ac_ct_GNATBIND"; then
4350 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4351 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4357 GNATBIND
=$ac_ct_GNATBIND
4359 GNATBIND
="$ac_cv_prog_GNATBIND"
4362 if test -n "$ac_tool_prefix"; then
4363 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4364 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4365 echo "$as_me:$LINENO: checking for $ac_word" >&5
4366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4367 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if test -n "$GNATMAKE"; then
4371 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 GNATMAKE
=$ac_cv_prog_GNATMAKE
4390 if test -n "$GNATMAKE"; then
4391 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4392 echo "${ECHO_T}$GNATMAKE" >&6
4394 echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6
4399 if test -z "$ac_cv_prog_GNATMAKE"; then
4400 ac_ct_GNATMAKE
=$GNATMAKE
4401 # Extract the first word of "gnatmake", so it can be a program name with args.
4402 set dummy gnatmake
; ac_word
=$2
4403 echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4405 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 if test -n "$ac_ct_GNATMAKE"; then
4409 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4428 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4429 if test -n "$ac_ct_GNATMAKE"; then
4430 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4431 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4433 echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6
4437 GNATMAKE
=$ac_ct_GNATMAKE
4439 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4442 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4443 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4444 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 cat >conftest.adb
<<EOF
4448 procedure conftest is begin null; end conftest;
4450 acx_cv_cc_gcc_supports_ada
=no
4451 # There is a bug in old released versions of GCC which causes the
4452 # driver to exit successfully when the appropriate language module
4453 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4454 # Therefore we must check for the error message as well as an
4455 # unsuccessful exit.
4456 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4457 # given a .adb file, but produce no object file. So we must check
4458 # if an object file was really produced to guard against this.
4459 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4460 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4461 acx_cv_cc_gcc_supports_ada
=yes
4465 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4466 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4468 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4474 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4475 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4476 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4482 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4483 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4486 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4489 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4490 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4493 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4499 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4500 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4501 do_compare
="$gcc_cv_prog_cmp_skip"
4505 # Check for GMP and MPFR
4506 gmplibs
="-lmpfr -lgmp"
4510 # Specify a location for mpfr
4511 # check for this first so it ends up on the link line before gmp.
4513 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4514 if test "${with_mpfr_dir+set}" = set; then
4515 withval
="$with_mpfr_dir"
4516 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4517 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4518 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4519 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4520 { (exit 1); exit 1; }; }
4524 # Check whether --with-mpfr or --without-mpfr was given.
4525 if test "${with_mpfr+set}" = set; then
4526 withval
="$with_mpfr"
4530 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4531 if test "${with_mpfr_include+set}" = set; then
4532 withval
="$with_mpfr_include"
4536 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4537 if test "${with_mpfr_lib+set}" = set; then
4538 withval
="$with_mpfr_lib"
4542 if test "x$with_mpfr" != x
; then
4543 gmplibs
="-L$with_mpfr/lib $gmplibs"
4544 gmpinc
="-I$with_mpfr/include"
4546 if test "x$with_mpfr_include" != x
; then
4547 gmpinc
="-I$with_mpfr_include"
4549 if test "x$with_mpfr_lib" != x
; then
4550 gmplibs
="-L$with_mpfr_lib $gmplibs"
4552 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4553 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4554 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4555 # Do not test the mpfr version. Assume that it is sufficient, since
4556 # it is in the source tree, and the library has not been built yet
4557 # but it would be included on the link line in the version check below
4558 # hence making the test fail.
4562 # Specify a location for gmp
4564 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4565 if test "${with_gmp_dir+set}" = set; then
4566 withval
="$with_gmp_dir"
4567 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4568 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4569 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4570 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4571 { (exit 1); exit 1; }; }
4575 # Check whether --with-gmp or --without-gmp was given.
4576 if test "${with_gmp+set}" = set; then
4581 # Check whether --with-gmp_include or --without-gmp_include was given.
4582 if test "${with_gmp_include+set}" = set; then
4583 withval
="$with_gmp_include"
4587 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4588 if test "${with_gmp_lib+set}" = set; then
4589 withval
="$with_gmp_lib"
4594 if test "x$with_gmp" != x
; then
4595 gmplibs
="-L$with_gmp/lib $gmplibs"
4596 gmpinc
="-I$with_gmp/include $gmpinc"
4598 if test "x$with_gmp_include" != x
; then
4599 gmpinc
="-I$with_gmp_include $gmpinc"
4601 if test "x$with_gmp_lib" != x
; then
4602 gmplibs
="-L$with_gmp_lib $gmplibs"
4604 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4605 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4606 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4607 # Do not test the gmp version. Assume that it is sufficient, since
4608 # it is in the source tree, and the library has not been built yet
4609 # but it would be included on the link line in the version check below
4610 # hence making the test fail.
4614 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4616 saved_CFLAGS
="$CFLAGS"
4617 CFLAGS
="$CFLAGS $gmpinc"
4618 # Check GMP actually works
4619 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4620 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4622 cat >conftest.
$ac_ext <<_ACEOF
4625 cat confdefs.h
>>conftest.
$ac_ext
4626 cat >>conftest.
$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4633 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
4641 rm -f conftest.
$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag"
4651 || test ! -s conftest.err'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; } &&
4657 { ac_try
='test -s conftest.$ac_objext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
4663 echo "$as_me:$LINENO: result: yes" >&5
4664 echo "${ECHO_T}yes" >&6
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6; have_gmp
=no
4672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4674 if test x
"$have_gmp" = xyes
; then
4676 LIBS
="$LIBS $gmplibs"
4677 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4678 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4691 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4699 mpfr_atan2 (n, n, x, GMP_RNDN);
4700 mpfr_erfc (n, x, GMP_RNDN);
4701 mpfr_subnormalize (x, t, GMP_RNDN);
4707 rm -f conftest.
$ac_objext conftest
$ac_exeext
4708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4709 (eval $ac_link) 2>conftest.er1
4711 grep -v '^ *+' conftest.er1
>conftest.err
4713 cat conftest.err
>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try
='test -z "$ac_c_werror_flag"
4717 || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try
='test -s conftest$ac_exeext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4729 cat >conftest.
$ac_ext <<_ACEOF
4732 cat confdefs.h
>>conftest.
$ac_ext
4733 cat >>conftest.
$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4741 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4744 mpfr_t n; mpfr_init(n);
4750 rm -f conftest.
$ac_objext conftest
$ac_exeext
4751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4752 (eval $ac_link) 2>conftest.er1
4754 grep -v '^ *+' conftest.er1
>conftest.err
4756 cat conftest.err
>&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } &&
4759 { ac_try
='test -z "$ac_c_werror_flag"
4760 || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try
='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.
$ac_ext >&5
4778 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4779 echo "${ECHO_T}buggy but acceptable" >&6
4781 rm -f conftest.err conftest.
$ac_objext \
4782 conftest
$ac_exeext conftest.
$ac_ext
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.
$ac_ext >&5
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6; have_gmp
=no
4790 rm -f conftest.err conftest.
$ac_objext \
4791 conftest
$ac_exeext conftest.
$ac_ext
4794 CFLAGS
="$saved_CFLAGS"
4796 if test x
$have_gmp != xyes
; then
4797 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4798 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4799 Copies of these libraries' source code can be found at their respective
4800 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4801 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4802 If you obtained GMP and/or MPFR from a vendor distribution package, make
4803 sure that you have installed both the libraries and the header files.
4804 They may be located in separate packages." >&5
4805 echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4806 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4807 Copies of these libraries' source code can be found at their respective
4808 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4809 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4810 If you obtained GMP and/or MPFR from a vendor distribution package, make
4811 sure that you have installed both the libraries and the header files.
4812 They may be located in separate packages." >&2;}
4813 { (exit 1); exit 1; }; }
4817 # Flags needed for both GMP and/or MPFR
4821 # Allow host libstdc++ to be specified for static linking with PPL.
4823 # Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
4824 if test "${with_host_libstdcxx+set}" = set; then
4825 withval
="$with_host_libstdcxx"
4829 case $with_host_libstdcxx in
4831 { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
4832 echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
4833 { (exit 1); exit 1; }; }
4839 ppl_minor_version
=10
4840 ppllibs
=" -lppl_c -lppl -lgmpxx $with_host_libstdcxx "
4844 # Check whether --with-ppl or --without-ppl was given.
4845 if test "${with_ppl+set}" = set; then
4850 # Check whether --with-ppl_include or --without-ppl_include was given.
4851 if test "${with_ppl_include+set}" = set; then
4852 withval
="$with_ppl_include"
4856 # Check whether --with-ppl_lib or --without-ppl_lib was given.
4857 if test "${with_ppl_lib+set}" = set; then
4858 withval
="$with_ppl_lib"
4867 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
4868 pplinc
="-I$with_ppl/include $pplinc"
4869 LIBS
="$ppllibs $LIBS"
4872 if test "x$with_ppl_include" != x
; then
4873 pplinc
="-I$with_ppl_include $pplinc"
4875 if test "x$with_ppl_lib" != x
; then
4876 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
4877 LIBS
="$ppllibs $LIBS"
4879 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
4880 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '"$with_host_libstdcxx "
4881 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4882 LIBS
="$ppllibs $LIBS"
4885 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4886 if test "${enable_ppl_version_check+set}" = set; then
4887 enableval
="$enable_ppl_version_check"
4888 ENABLE_PPL_CHECK
=$enableval
4890 ENABLE_PPL_CHECK
=yes
4893 if test "${ENABLE_PPL_CHECK}" = "yes"; then
4894 saved_CFLAGS
="$CFLAGS"
4895 CFLAGS
="$CFLAGS $pplinc $gmpinc"
4896 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4897 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4909 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
4917 rm -f conftest.
$ac_objext
4918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try
='test -z "$ac_c_werror_flag"
4927 || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try
='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
4948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 CFLAGS
="$saved_CFLAGS"
4952 # Flags needed for PPL
4958 clooglibs
=" -lcloog "
4959 clooginc
=" -DCLOOG_PPL_BACKEND "
4962 # Check whether --with-cloog or --without-cloog was given.
4963 if test "${with_cloog+set}" = set; then
4964 withval
="$with_cloog"
4968 # Check whether --with-cloog_include or --without-cloog_include was given.
4969 if test "${with_cloog_include+set}" = set; then
4970 withval
="$with_cloog_include"
4974 # Check whether --with-cloog_lib or --without-cloog_lib was given.
4975 if test "${with_cloog_lib+set}" = set; then
4976 withval
="$with_cloog_lib"
4986 clooglibs
="-L$with_cloog/lib -lcloog"
4987 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
4988 LIBS
="$clooglibs $LIBS"
4991 if test "x$with_cloog_include" != x
; then
4992 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
4994 if test "x$with_cloog_lib" != x
; then
4995 clooglibs
="-L$with_cloog_lib -lcloog"
4996 LIBS
="$clooglibs $LIBS"
4998 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
4999 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5000 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5001 LIBS
="$clooglibs $LIBS"
5004 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5005 if test "${enable_cloog_version_check+set}" = set; then
5006 enableval
="$enable_cloog_version_check"
5007 ENABLE_CLOOG_CHECK
=$enableval
5009 ENABLE_CLOOG_CHECK
=yes
5012 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5013 saved_CFLAGS
="$CFLAGS"
5014 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5015 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5016 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5017 cat >conftest.
$ac_ext <<_ACEOF
5020 cat confdefs.h
>>conftest.
$ac_ext
5021 cat >>conftest.
$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 #include "cloog/cloog.h"
5028 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5036 rm -f conftest.
$ac_objext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>conftest.er1
5040 grep -v '^ *+' conftest.er1
>conftest.err
5042 cat conftest.err
>&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } &&
5045 { ac_try
='test -z "$ac_c_werror_flag"
5046 || test ! -s conftest.err'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; } &&
5052 { ac_try
='test -s conftest.$ac_objext'
5053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; }; then
5058 echo "$as_me:$LINENO: result: yes" >&5
5059 echo "${ECHO_T}yes" >&6
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.
$ac_ext >&5
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5068 CFLAGS
="$saved_CFLAGS"
5071 # Flags needed for CLOOG
5076 # By default, C is the only stage 1 language.
5077 stage1_languages
=,c
,
5079 # Figure out what language subdirectories are present.
5080 # Look if the user specified --enable-languages="..."; if not, use
5081 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5083 # NB: embedded tabs in this IF block -- do not untabify
5084 if test -d ${srcdir}/gcc
; then
5085 if test x
"${enable_languages+set}" != xset
; then
5086 if test x
"${LANGUAGES+set}" = xset
; then
5087 enable_languages
="${LANGUAGES}"
5088 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5090 enable_languages
=all
5093 if test x
"${enable_languages}" = x ||
5094 test x
"${enable_languages}" = xyes
;
5096 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5100 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5102 # 'f95' is the old name for the 'fortran' language. We issue a warning
5103 # and make the substitution.
5104 case ,${enable_languages}, in
5106 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5107 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5111 # First scan to see if an enabled language requires some other language.
5112 # We assume that a given config-lang.in will list all the language
5113 # front ends it requires, even if some are required indirectly.
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, $lang_requires
5125 for other
in ${lang_requires} ; do
5126 case ,${enable_languages}, in
5130 echo " \`$other' language required by \`$language'; enabling" 1>&2
5131 enable_languages
="${enable_languages},${other}"
5139 new_enable_languages
=,c
,
5140 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5141 potential_languages
=,c
,
5143 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5144 case ${lang_frag} in
5146 # The odd quoting in the next line works around
5147 # an apparent bug in bash 1.12 on linux.
5148 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5150 # From the config-lang.in, get $language, $target_libs,
5151 # $lang_dirs, $boot_language, and $build_by_default
5157 build_by_default
=yes
5159 if test x
${language} = x
; then
5160 echo "${lang_frag} doesn't set \$language." 1>&2
5164 case ,${enable_languages}, in
5166 # Language was explicitly selected; include it.
5170 # 'all' was selected, select it if it is a default language
5171 add_this_lang
=${build_by_default}
5178 # Disable languages that need other directories if these aren't available.
5179 for i
in $subdir_requires; do
5180 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5181 case ,${enable_languages}, in
5183 # Specifically requested language; tell them.
5184 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5185 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5186 { (exit 1); exit 1; }; }
5190 add_this_lang
=unsupported
5195 # Disable Ada if no preexisting GNAT is available.
5196 case ,${enable_languages},:${language}:${have_gnat} in
5197 *,${language},*:ada
:no
)
5198 # Specifically requested language; tell them.
5199 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5200 echo "$as_me: error: GNAT is required to build $language" >&2;}
5201 { (exit 1); exit 1; }; }
5205 add_this_lang
=unsupported
5209 # Disable a language that is unsupported by the target.
5210 case " $unsupported_languages " in
5212 add_this_lang
=unsupported
5216 case $add_this_lang in
5218 # Remove language-dependent dirs.
5219 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5222 # Remove language-dependent dirs; still show language as supported.
5223 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5224 potential_languages
="${potential_languages}${language},"
5227 new_enable_languages
="${new_enable_languages}${language},"
5228 potential_languages
="${potential_languages}${language},"
5229 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5230 case ${boot_language} in
5232 # Add to (comma-separated) list of stage 1 languages.
5233 stage1_languages
="${stage1_languages}${language},"
5242 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5243 if test "${enable_stage1_languages+set}" = set; then
5244 enableval
="$enable_stage1_languages"
5245 case ,${enable_stage1_languages}, in
5247 # Set it to something that will have no effect in the loop below
5248 enable_stage1_languages
=c
;;
5250 enable_stage1_languages
=`echo $new_enable_languages | \
5251 sed -e "s/^,//" -e "s/,$//" ` ;;
5253 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5254 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5257 # Add "good" languages from enable_stage1_languages to stage1_languages,
5258 # while "bad" languages go in missing_languages. Leave no duplicates.
5259 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5260 case $potential_languages in
5262 case $stage1_languages in
5264 *) stage1_languages
="$stage1_languages$i," ;;
5267 case $missing_languages in
5269 *) missing_languages
="$missing_languages$i," ;;
5275 # Remove leading/trailing commas that were added for simplicity
5276 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5277 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5278 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5279 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5281 if test "x$missing_languages" != x
; then
5282 { { echo "$as_me:$LINENO: error:
5283 The following requested languages could not be built: ${missing_languages}
5284 Supported languages are: ${potential_languages}" >&5
5285 echo "$as_me: error:
5286 The following requested languages could not be built: ${missing_languages}
5287 Supported languages are: ${potential_languages}" >&2;}
5288 { (exit 1); exit 1; }; }
5290 if test "x$new_enable_languages" != "x$enable_languages"; then
5291 echo The following languages will be built
: ${new_enable_languages}
5292 enable_languages
="$new_enable_languages"
5296 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5299 # Handle --disable-<component> generically.
5300 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5301 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5302 varname
=`echo $dirname | sed -e s/+/_/g`
5303 if eval test x\
${enable_${varname}} "=" xno
; then
5304 noconfigdirs
="$noconfigdirs $dir"
5308 # Check for Boehm's garbage collector
5309 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5310 if test "${enable_objc_gc+set}" = set; then
5311 enableval
="$enable_objc_gc"
5312 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5313 *,objc
,*:*:yes:*target-boehm-gc
*)
5314 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5315 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5316 { (exit 1); exit 1; }; }
5321 # Make sure we only build Boehm's garbage collector if required.
5322 case ,${enable_languages},:${enable_objc_gc} in
5324 # Keep target-boehm-gc if requested for Objective-C.
5327 # Otherwise remove target-boehm-gc depending on target-libjava.
5328 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5329 noconfigdirs
="$noconfigdirs target-boehm-gc"
5334 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5335 # $build_configdirs and $target_configdirs.
5336 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5339 for dir
in .
$skipdirs $noconfigdirs ; do
5340 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5341 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5342 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5343 if test -r $srcdir/$dirname/configure
; then
5344 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5347 notsupp
="$notsupp $dir"
5351 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5352 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5353 if test -r $srcdir/$dirname/configure
; then
5354 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5357 notsupp
="$notsupp $dir"
5361 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5362 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5363 if test -r $srcdir/$dirname/configure
; then
5364 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5367 notsupp
="$notsupp $dir"
5373 # Sometimes the tools are distributed with libiberty but with no other
5374 # libraries. In that case, we don't want to build target-libiberty.
5375 # Don't let libgcc imply libiberty either.
5376 if test -n "${target_configdirs}" ; then
5379 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5380 if test "$i" = "libgcc"; then
5381 libgcc
=target-libgcc
5382 elif test "$i" != "libiberty" ; then
5383 if test -r $srcdir/$i/configure
; then
5389 if test -z "${others}" ; then
5390 target_configdirs
=$libgcc
5394 # Quietly strip out all directories which aren't configurable in this tree.
5395 # This relies on all configurable subdirectories being autoconfiscated, which
5397 build_configdirs_all
="$build_configdirs"
5399 for i
in ${build_configdirs_all} ; do
5400 j
=`echo $i | sed -e s/build-//g`
5401 if test -f ${srcdir}/$j/configure
; then
5402 build_configdirs
="${build_configdirs} $i"
5406 configdirs_all
="$configdirs"
5408 for i
in ${configdirs_all} ; do
5409 if test -f ${srcdir}/$i/configure
; then
5410 configdirs
="${configdirs} $i"
5414 target_configdirs_all
="$target_configdirs"
5416 for i
in ${target_configdirs_all} ; do
5417 j
=`echo $i | sed -e s/target-//g`
5418 if test -f ${srcdir}/$j/configure
; then
5419 target_configdirs
="${target_configdirs} $i"
5423 # Produce a warning message for the subdirs we can't configure.
5424 # This isn't especially interesting in the Cygnus tree, but in the individual
5425 # FSF releases, it's important to let people know when their machine isn't
5426 # supported by the one or two programs in a package.
5428 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5429 # If $appdirs is non-empty, at least one of those directories must still
5430 # be configured, or we error out. (E.g., if the gas release supports a
5431 # specified target in some subdirs but not the gas subdir, we shouldn't
5432 # pretend that all is well.)
5433 if test -n "$appdirs" ; then
5434 for dir
in $appdirs ; do
5435 if test -r $dir/Makefile.
in ; then
5436 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5440 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5446 if test -n "$appdirs" ; then
5447 echo "*** This configuration is not supported by this package." 1>&2
5451 # Okay, some application will build, or we don't care to check. Still
5452 # notify of subdirs not getting built.
5453 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5454 echo " ${notsupp}" 1>&2
5455 echo " (Any other directories should still work fine.)" 1>&2
5463 # To find our prefix, in gcc_cv_tool_prefix.
5465 # The user is always right.
5466 if test "${PATH_SEPARATOR+set}" != set; then
5467 echo "#! /bin/sh" >conf$$.sh
5468 echo "exit 0" >>conf$$.sh
5470 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5480 if test "x$exec_prefix" = xNONE
; then
5481 if test "x$prefix" = xNONE
; then
5482 gcc_cv_tool_prefix
=$ac_default_prefix
5484 gcc_cv_tool_prefix
=$prefix
5487 gcc_cv_tool_prefix
=$exec_prefix
5490 # If there is no compiler in the tree, use the PATH only. In any
5491 # case, if there is no compiler in the tree nobody should use
5492 # AS_FOR_TARGET and LD_FOR_TARGET.
5493 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5494 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5495 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5496 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5497 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5498 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5499 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5500 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5505 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5506 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5514 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5515 if test "${with_build_sysroot+set}" = set; then
5516 withval
="$with_build_sysroot"
5517 if test x
"$withval" != x
; then
5518 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5521 SYSROOT_CFLAGS_FOR_TARGET
=
5526 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5527 if test "${with_debug_prefix_map+set}" = set; then
5528 withval
="$with_debug_prefix_map"
5529 if test x
"$withval" != x
; then
5530 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5531 for debug_map
in $withval; do
5532 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5536 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5540 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5541 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5542 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5543 # We want to ensure that TARGET libraries (which we know are built with
5544 # gcc) are built with "-O2 -g", so include those options when setting
5545 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5546 if test "x$CFLAGS_FOR_TARGET" = x
; then
5547 CFLAGS_FOR_TARGET
=$CFLAGS
5550 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5553 *" -g "* |
*" -g3 "*) ;;
5554 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5559 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5560 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5561 case " $CXXFLAGS " in
5563 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5565 case " $CXXFLAGS " in
5566 *" -g "* |
*" -g3 "*) ;;
5567 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5572 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5573 # the named directory are copied to $(tooldir)/sys-include.
5574 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5575 if test x
${is_cross_compiler} = xno
; then
5576 echo 1>&2 '***' --with-headers is only supported when cross compiling
5579 if test x
"${with_headers}" != xyes
; then
5580 x
=${gcc_cv_tool_prefix}
5581 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5585 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5586 # the name directories are copied to $(tooldir)/lib. Multiple directories
5588 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5589 if test x
${is_cross_compiler} = xno
; then
5590 echo 1>&2 '***' --with-libs is only supported when cross compiling
5593 if test x
"${with_libs}" != xyes
; then
5594 # Copy the libraries in reverse order, so that files in the first named
5595 # library override files in subsequent libraries.
5596 x
=${gcc_cv_tool_prefix}
5597 for l
in ${with_libs}; do
5598 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5603 # Set with_gnu_as and with_gnu_ld as appropriate.
5605 # This is done by determining whether or not the appropriate directory
5606 # is available, and by checking whether or not specific configurations
5607 # have requested that this magic not happen.
5609 # The command line options always override the explicit settings in
5610 # configure.in, and the settings in configure.in override this magic.
5612 # If the default for a toolchain is to use GNU as and ld, and you don't
5613 # want to do that, then you should use the --without-gnu-as and
5614 # --without-gnu-ld options for the configure script.
5616 if test x
${use_gnu_as} = x
&&
5617 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5619 extra_host_args
="$extra_host_args --with-gnu-as"
5622 if test x
${use_gnu_ld} = x
&&
5623 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5625 extra_host_args
="$extra_host_args --with-gnu-ld"
5628 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5629 # can detect this case.
5631 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5633 extra_host_args
="$extra_host_args --with-newlib"
5636 # Handle ${copy_dirs}
5637 set fnord
${copy_dirs}
5639 while test $# != 0 ; do
5640 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5643 echo Copying
$1 to
$2
5645 # Use the install script to create the directory and all required
5646 # parent directories.
5647 if test -d $2 ; then
5651 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5654 # Copy the directory, assuming we have tar.
5655 # FIXME: Should we use B in the second tar? Not all systems support it.
5656 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5658 # It is the responsibility of the user to correctly adjust all
5659 # symlinks. If somebody can figure out how to handle them correctly
5660 # here, feel free to add the code.
5667 # Determine a target-dependent exec_prefix that the installed
5668 # gcc will search in. Keep this list sorted by triplet, with
5669 # the *-*-osname triplets last.
5673 md_exec_prefix
=/gnu
/lib
/gcc-lib
5675 i
[34567]86-pc-msdosdjgpp*)
5676 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5678 i
[34567]86-*-sco3.2v5
*)
5679 if test $with_gnu_as = yes; then
5680 md_exec_prefix
=/usr
/gnu
/bin
5682 md_exec_prefix
=/usr
/ccs
/bin
/elf
5687 powerpc-
*-chorusos* | \
5688 powerpc
*-*-eabi* | \
5689 powerpc
*-*-sysv* | \
5690 powerpc
*-*-kaos* | \
5692 md_exec_prefix
=/usr
/ccs
/bin
5697 md_exec_prefix
=/usr
/ccs
/bin
5712 md_exec_prefix
=/usr
/ccs
/bin
5716 extra_arflags_for_target
=
5717 extra_nmflags_for_target
=
5718 extra_ranlibflags_for_target
=
5719 target_makefile_frag
=/dev
/null
5722 target_makefile_frag
="config/mt-mep"
5725 target_makefile_frag
="config/mt-spu"
5728 target_makefile_frag
="config/mt-sde"
5730 mipsisa
*-*-elfoabi*)
5731 target_makefile_frag
="config/mt-mips-elfoabi"
5733 mips
*-*-*linux
* | mips
*-*-gnu*)
5734 target_makefile_frag
="config/mt-mips-gnu"
5737 target_makefile_frag
="config/mt-netware"
5739 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
5740 target_makefile_frag
="config/mt-gnu"
5742 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5743 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5744 # commands to handle both 32-bit and 64-bit objects. These flags are
5745 # harmless if we're using GNU nm or ar.
5746 extra_arflags_for_target
=" -X32_64"
5747 extra_nmflags_for_target
=" -B -X32_64"
5750 # ranlib from Darwin requires the -c flag to look at common symbols.
5751 extra_ranlibflags_for_target
=" -c"
5753 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5754 target_makefile_frag
="config/mt-wince"
5758 alphaieee_frag
=/dev
/null
5761 # This just makes sure to use the -mieee option to build target libs.
5762 # This should probably be set individually by each library.
5763 alphaieee_frag
="config/mt-alphaieee"
5767 # If --enable-target-optspace always use -Os instead of -O2 to build
5768 # the target libraries, similarly if it is not specified, use -Os
5769 # on selected platforms.
5770 ospace_frag
=/dev
/null
5771 case "${enable_target_optspace}:${target}" in
5773 ospace_frag
="config/mt-ospace"
5776 ospace_frag
="config/mt-d30v"
5778 :m32r-
* |
:d10v-
* |
:fr30-
*)
5779 ospace_frag
="config/mt-ospace"
5784 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5788 # Default to using --with-stabs for certain targets.
5789 if test x
${with_stabs} = x
; then
5793 mips
*-*-* | alpha
*-*-osf*)
5795 extra_host_args
="${extra_host_args} --with-stabs"
5800 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5801 # them automatically.
5804 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5808 # Some systems (e.g., one of the i386-aix systems the gas testers are
5809 # using) don't handle "\$" correctly, so don't use it here.
5810 tooldir
='${exec_prefix}'/${target_noncanonical}
5811 build_tooldir
=${tooldir}
5813 # Create a .gdbinit file which runs the one in srcdir
5814 # and tells GDB to look there for source files.
5816 if test -r ${srcdir}/.gdbinit
; then
5819 *) cat > .
/.gdbinit
<<EOF
5823 source ${srcdir}/.gdbinit
5829 # Make sure that the compiler is able to generate an executable. If it
5830 # can't, we are probably in trouble. We don't care whether we can run the
5831 # executable--we might be using a cross compiler--we only care whether it
5832 # can be created. At this point the main configure script has set CC.
5834 echo "int main () { return 0; }" > conftest.c
5835 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5836 if test $?
= 0 ; then
5837 if test -s conftest ||
test -s conftest.exe
; then
5843 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5844 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5851 # The Solaris /usr/ucb/cc compiler does not appear to work.
5853 sparc-sun-solaris2
*)
5854 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5855 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5857 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5858 if test -d /opt
/cygnus
/bin
; then
5859 if test "$could_use" = "" ; then
5860 could_use
="/opt/cygnus/bin"
5862 could_use
="$could_use or /opt/cygnus/bin"
5865 if test "$could_use" = "" ; then
5866 echo "Warning: compilation may fail because you're using"
5867 echo "/usr/ucb/cc. You should change your PATH or CC "
5868 echo "variable and rerun configure."
5870 echo "Warning: compilation may fail because you're using"
5871 echo "/usr/ucb/cc, when you should use the C compiler from"
5872 echo "$could_use. You should change your"
5873 echo "PATH or CC variable and rerun configure."
5879 # Decide which environment variable is used to find dynamic libraries.
5881 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5882 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5883 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5884 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5887 # On systems where the dynamic library environment variable is PATH,
5888 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5889 # built executables to PATH.
5890 if test "$RPATH_ENVVAR" = PATH
; then
5891 GCC_SHLIB_SUBDIR
=/shlib
5896 # Record target_configdirs and the configure arguments for target and
5897 # build configuration in Makefile.
5898 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5899 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5901 # Determine whether gdb needs tk/tcl or not.
5902 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5903 # and in that case we want gdb to be built without tk. Ugh!
5904 # In fact I believe gdb is the *only* package directly dependent on tk,
5905 # so we should be able to put the 'maybe's in unconditionally and
5906 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5907 # 100% sure that that's safe though.
5909 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5910 case "$enable_gdbtk" in
5914 GDB_TK
="${gdb_tk}" ;;
5916 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5917 # distro. Eventually someone will fix this and move Insight, nee
5918 # gdbtk to a separate directory.
5919 if test -d ${srcdir}/gdb
/gdbtk
; then
5926 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5927 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5929 # Strip out unwanted targets.
5931 # While at that, we remove Makefiles if we were started for recursive
5932 # configuration, so that the top-level Makefile reconfigures them,
5933 # like we used to do when configure itself was recursive.
5935 # Loop over modules. $extrasub must be used with care, limiting as
5936 # much as possible the usage of range addresses. That's because autoconf
5937 # splits the sed script to overcome limits in the number of commands,
5938 # and relying on carefully-timed sed passes may turn out to be very hard
5939 # to maintain later. In this particular case, you just have to be careful
5940 # not to nest @if/@endif pairs, because configure will not warn you at all.
5942 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5943 if test "${enable_bootstrap+set}" = set; then
5944 enableval
="$enable_bootstrap"
5947 enable_bootstrap
=default
5950 # Issue errors and warnings for invalid/strange bootstrap combinations.
5951 case "$configdirs" in
5952 *gcc
*) have_compiler
=yes ;;
5953 *) have_compiler
=no
;;
5956 case "$have_compiler:$host:$target:$enable_bootstrap" in
5959 # Default behavior. Enable bootstrap if we have a compiler
5960 # and we are in a native configuration.
5961 yes:$build:$build:default
)
5962 enable_bootstrap
=yes ;;
5965 enable_bootstrap
=no
;;
5967 # We have a compiler and we are in a native configuration, bootstrap is ok
5968 yes:$build:$build:yes)
5971 # Other configurations, but we have a compiler. Assume the user knows
5974 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5975 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5978 # No compiler: if they passed --enable-bootstrap explicitly, fail
5980 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5981 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5982 { (exit 1); exit 1; }; } ;;
5984 # Fail if wrong command line
5986 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5987 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5988 { (exit 1); exit 1; }; }
5992 # Adjust the toplevel makefile according to whether bootstrap was selected.
5993 case "$enable_bootstrap" in
5995 bootstrap_suffix
=bootstrap
;;
5997 bootstrap_suffix
=no-bootstrap
;;
6000 for module
in ${build_configdirs} ; do
6001 if test -z "${no_recursion}" \
6002 && test -f ${build_subdir}/${module}/Makefile
; then
6003 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6004 rm -f ${build_subdir}/${module}/Makefile
6007 /^@if build-$module\$/d
6008 /^@endif build-$module\$/d
6009 /^@if build-$module-$bootstrap_suffix\$/d
6010 /^@endif build-$module-$bootstrap_suffix\$/d"
6012 for module
in ${configdirs} ; do
6013 if test -z "${no_recursion}"; then
6014 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6015 if test -f ${file}; then
6016 echo 1>&2 "*** removing ${file} to force reconfigure"
6023 /^@endif $module\$/d
6024 /^@if $module-$bootstrap_suffix\$/d
6025 /^@endif $module-$bootstrap_suffix\$/d"
6027 for module
in ${target_configdirs} ; do
6028 if test -z "${no_recursion}" \
6029 && test -f ${target_subdir}/${module}/Makefile
; then
6030 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6031 rm -f ${target_subdir}/${module}/Makefile
6034 /^@if target-$module\$/d
6035 /^@endif target-$module\$/d
6036 /^@if target-$module-$bootstrap_suffix\$/d
6037 /^@endif target-$module-$bootstrap_suffix\$/d"
6041 /^@if /,/^@endif /d"
6043 # Create the serialization dependencies. This uses a temporary file.
6045 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6046 if test "${enable_serial_configure+set}" = set; then
6047 enableval
="$enable_serial_configure"
6051 case ${enable_serial_configure} in
6053 enable_serial_build_configure
=yes
6054 enable_serial_host_configure
=yes
6055 enable_serial_target_configure
=yes
6059 # These force 'configure's to be done one at a time, to avoid problems
6060 # with contention over a shared config.cache.
6062 echo '# serdep.tmp' > serdep.tmp
6064 test "x${enable_serial_build_configure}" = xyes
&&
6065 for item
in ${build_configdirs} ; do
6068 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6073 test "x${enable_serial_host_configure}" = xyes
&&
6074 for item
in ${configdirs} ; do
6077 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6082 test "x${enable_serial_target_configure}" = xyes
&&
6083 for item
in ${target_configdirs} ; do
6086 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6090 serialization_dependencies
=serdep.tmp
6093 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6094 # target, nonopt, and variable assignments. These are the ones we
6095 # might not want to pass down to subconfigures. Also strip
6096 # program-prefix, program-suffix, and program-transform-name, so that
6097 # we can pass down a consistent program-transform-name.
6101 eval "set -- $ac_configure_args"
6104 if test X
"$skip_next" = X
"yes"; then
6108 if test X
"$keep_next" = X
"yes"; then
6111 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6113 baseargs
="$baseargs '$ac_arg'"
6118 # Handle separated arguments. Based on the logic generated by
6121 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6122 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6123 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6124 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6150 -program-prefix* | \
6151 -program-suffix* | \
6152 -program-transform-name* )
6153 skip_next
=$separate_arg
6157 # An option. Add it.
6160 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6162 baseargs
="$baseargs '$ac_arg'"
6163 keep_next
=$separate_arg
6166 # Either a variable assignment, or a nonopt (triplet). Don't
6167 # pass it down; let the Makefile handle this.
6172 # Remove the initial space we just introduced and, as these will be
6173 # expanded by make, quote '$'.
6174 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6176 # Add in --program-transform-name, after --program-prefix and
6177 # --program-suffix have been applied to it. Autoconf has already
6178 # doubled dollar signs and backslashes in program_transform_name; we want
6179 # the backslashes un-doubled, and then the entire thing wrapped in single
6180 # quotes, because this will be expanded first by make and then by the shell.
6181 # Also, because we want to override the logic in subdir configure scripts to
6182 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6183 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6184 ${program_transform_name}
6186 gcc_transform_name
=`cat conftestsed.out`
6187 rm -f conftestsed.out
6188 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6189 if test "$silent" = yes; then
6190 baseargs
="$baseargs --silent"
6193 # For the build-side libraries, we just need to pretend we're native,
6194 # and not use the same cache file. Multilibs are neither needed nor
6196 build_configargs
="--cache-file=../config.cache ${baseargs}"
6198 # For host modules, accept cache file option, or specification as blank.
6199 case "${cache_file}" in
6201 cache_file_option
="" ;;
6202 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6203 cache_file_option
="--cache-file=${cache_file}" ;;
6205 cache_file_option
="--cache-file=../${cache_file}" ;;
6208 # Host dirs don't like to share a cache file either, horribly enough.
6209 # This seems to be due to autoconf 2.5x stupidity.
6210 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6212 target_configargs
=${baseargs}
6214 # Passing a --with-cross-host argument lets the target libraries know
6215 # whether they are being built with a cross-compiler or being built
6216 # native. However, it would be better to use other mechanisms to make the
6217 # sorts of decisions they want to make on this basis. Please consider
6218 # this option to be deprecated. FIXME.
6219 if test x
${is_cross_compiler} = xyes
; then
6220 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6223 # Default to --enable-multilib.
6224 if test x
${enable_multilib} = x
; then
6225 target_configargs
="--enable-multilib ${target_configargs}"
6228 # Pass --with-newlib if appropriate. Note that target_configdirs has
6229 # changed from the earlier setting of with_newlib.
6230 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6231 target_configargs
="--with-newlib ${target_configargs}"
6234 # Different target subdirs use different values of certain variables
6235 # (notably CXX). Worse, multilibs use *lots* of different values.
6236 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6237 # it doesn't automatically accept command-line overrides of them.
6238 # This means it's not safe for target subdirs to share a cache file,
6239 # which is disgusting, but there you have it. Hopefully this can be
6240 # fixed in future. It's still worthwhile to use a cache file for each
6241 # directory. I think.
6243 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6244 # We need to pass --target, as newer autoconf's requires consistency
6245 # for target_alias and gcc doesn't manage it consistently.
6246 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6249 case " $target_configdirs " in
6251 case " $target_configargs " in
6252 *" --with-newlib "*)
6255 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' ;;
6258 # If we're not building GCC, don't discard standard headers.
6259 if test -d ${srcdir}/gcc
; then
6260 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6262 if test "${build}" != "${host}"; then
6263 # On Canadian crosses, CC_FOR_TARGET will have already been set
6264 # by `configure', so we won't have an opportunity to add -Bgcc/
6265 # to it. This is right: we don't want to search that directory
6266 # for binaries, but we want the header files in there, so add
6268 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6270 # Someone might think of using the pre-installed headers on
6271 # Canadian crosses, in case the installed compiler is not fully
6272 # compatible with the compiler being built. In this case, it
6273 # would be better to flag an error than risking having
6274 # incompatible object files being constructed. We can't
6275 # guarantee that an error will be flagged, but let's hope the
6276 # compiler will do it, when presented with incompatible header
6281 case "${target}-${is_cross_compiler}" in
6282 i
[3456789]86-*-linux*-no)
6283 # Here host == target, so we don't need to build gcc,
6284 # so we don't want to discard standard headers.
6285 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6288 # If we're building newlib, use its generic headers last, but search
6289 # for any libc-related directories first (so make it the last -B
6291 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6293 # If we're building libgloss, find the startup file, simulator library
6294 # and linker script.
6295 case " $target_configdirs " in
6297 # Look for startup file, simulator library and maybe linker script.
6298 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6299 # Look for libnosys.a in case the target needs it.
6300 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6301 # Most targets have the linker script in the source directory.
6302 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6313 # Can't be handled as Cygwin above since Mingw does not use newlib.
6314 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' ;;
6317 # Allow the user to override the flags for
6318 # our build compiler if desired.
6319 if test x
"${build}" = x
"${host}" ; then
6320 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6321 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6322 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6325 # On Canadian crosses, we'll be searching the right directories for
6326 # the previously-installed cross compiler, so don't bother to add
6327 # flags for directories within the install tree of the compiler
6328 # being built; programs in there won't even run.
6329 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6330 # Search for pre-installed headers if nothing else fits.
6331 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6334 if test "x
${use_gnu_ld}" = x &&
6335 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6336 # Arrange for us to find uninstalled linker scripts.
6337 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6340 # Search for other target-specific linker scripts and such.
6343 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6347 # Makefile fragments.
6348 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6350 eval fragval=\$$frag
6351 if test $fragval != /dev/null; then
6352 eval $frag=${srcdir}/$fragval
6360 # Miscellanea: directories, flags, etc.
6369 # Build module lists & subconfigure args.
6373 # Host module lists & subconfigure args.
6377 # Target module lists & subconfigure args.
6399 # Generate default definitions for YACC, M4, LEX and other programs that run
6400 # on the build machine. These are used if the Makefile can't locate these
6401 # programs in objdir.
6402 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6404 for ac_prog in 'bison -y' byacc yacc
6406 # Extract the first word of "$ac_prog", so it can be a program name with args.
6407 set dummy $ac_prog; ac_word=$2
6408 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6409 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6410 if test "${ac_cv_prog_YACC+set}" = set; then
6411 echo $ECHO_N "(cached
) $ECHO_C" >&6
6413 if test -n "$YACC"; then
6414 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_YACC="$ac_prog"
6424 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6432 YACC=$ac_cv_prog_YACC
6433 if test -n "$YACC"; then
6434 echo "$as_me:$LINENO: result
: $YACC" >&5
6435 echo "${ECHO_T}$YACC" >&6
6437 echo "$as_me:$LINENO: result
: no
" >&5
6438 echo "${ECHO_T}no
" >&6
6441 test -n "$YACC" && break
6443 test -n "$YACC" || YACC="$MISSING bison
-y"
6445 case " $build_configdirs " in
6446 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6447 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6450 for ac_prog in bison
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6455 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6456 if test "${ac_cv_prog_BISON+set}" = set; then
6457 echo $ECHO_N "(cached
) $ECHO_C" >&6
6459 if test -n "$BISON"; then
6460 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_BISON="$ac_prog"
6470 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6478 BISON=$ac_cv_prog_BISON
6479 if test -n "$BISON"; then
6480 echo "$as_me:$LINENO: result
: $BISON" >&5
6481 echo "${ECHO_T}$BISON" >&6
6483 echo "$as_me:$LINENO: result
: no
" >&5
6484 echo "${ECHO_T}no
" >&6
6487 test -n "$BISON" && break
6489 test -n "$BISON" || BISON="$MISSING bison
"
6491 case " $build_configdirs " in
6492 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6495 for ac_prog in gm4 gnum4 m4
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy $ac_prog; ac_word=$2
6499 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6500 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6501 if test "${ac_cv_prog_M4+set}" = set; then
6502 echo $ECHO_N "(cached
) $ECHO_C" >&6
6504 if test -n "$M4"; then
6505 ac_cv_prog_M4="$M4" # Let the user override the test.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514 ac_cv_prog_M4="$ac_prog"
6515 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6524 if test -n "$M4"; then
6525 echo "$as_me:$LINENO: result
: $M4" >&5
6526 echo "${ECHO_T}$M4" >&6
6528 echo "$as_me:$LINENO: result
: no
" >&5
6529 echo "${ECHO_T}no
" >&6
6532 test -n "$M4" && break
6534 test -n "$M4" || M4="$MISSING m4"
6536 case " $build_configdirs " in
6537 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6540 for ac_prog in flex lex
6542 # Extract the first word of "$ac_prog", so it can be a program name with args.
6543 set dummy $ac_prog; ac_word=$2
6544 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6545 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6546 if test "${ac_cv_prog_LEX+set}" = set; then
6547 echo $ECHO_N "(cached
) $ECHO_C" >&6
6549 if test -n "$LEX"; then
6550 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6559 ac_cv_prog_LEX="$ac_prog"
6560 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6569 if test -n "$LEX"; then
6570 echo "$as_me:$LINENO: result
: $LEX" >&5
6571 echo "${ECHO_T}$LEX" >&6
6573 echo "$as_me:$LINENO: result
: no
" >&5
6574 echo "${ECHO_T}no
" >&6
6577 test -n "$LEX" && break
6579 test -n "$LEX" || LEX="$MISSING flex
"
6581 case " $build_configdirs " in
6582 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6583 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6588 # Extract the first word of "$ac_prog", so it can be a program name with args.
6589 set dummy $ac_prog; ac_word=$2
6590 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6592 if test "${ac_cv_prog_FLEX+set}" = set; then
6593 echo $ECHO_N "(cached
) $ECHO_C" >&6
6595 if test -n "$FLEX"; then
6596 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_FLEX="$ac_prog"
6606 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6614 FLEX=$ac_cv_prog_FLEX
6615 if test -n "$FLEX"; then
6616 echo "$as_me:$LINENO: result
: $FLEX" >&5
6617 echo "${ECHO_T}$FLEX" >&6
6619 echo "$as_me:$LINENO: result
: no
" >&5
6620 echo "${ECHO_T}no
" >&6
6623 test -n "$FLEX" && break
6625 test -n "$FLEX" || FLEX="$MISSING flex
"
6627 case " $build_configdirs " in
6628 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6631 for ac_prog in makeinfo
6633 # Extract the first word of "$ac_prog", so it can be a program name with args.
6634 set dummy $ac_prog; ac_word=$2
6635 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6636 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6637 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6638 echo $ECHO_N "(cached
) $ECHO_C" >&6
6640 if test -n "$MAKEINFO"; then
6641 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_MAKEINFO="$ac_prog"
6651 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6659 MAKEINFO=$ac_cv_prog_MAKEINFO
6660 if test -n "$MAKEINFO"; then
6661 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6662 echo "${ECHO_T}$MAKEINFO" >&6
6664 echo "$as_me:$LINENO: result
: no
" >&5
6665 echo "${ECHO_T}no
" >&6
6668 test -n "$MAKEINFO" && break
6670 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6672 case " $build_configdirs " in
6673 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6676 # For an installed makeinfo, we require it to be from texinfo 4.7 or
6677 # higher, else we use the "missing
" dummy.
6678 if ${MAKEINFO} --version \
6679 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6682 MAKEINFO="$MISSING makeinfo
"
6688 # FIXME: expect and dejagnu may become build tools?
6690 for ac_prog in expect
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6695 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6696 if test "${ac_cv_prog_EXPECT+set}" = set; then
6697 echo $ECHO_N "(cached
) $ECHO_C" >&6
6699 if test -n "$EXPECT"; then
6700 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_EXPECT="$ac_prog"
6710 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6718 EXPECT=$ac_cv_prog_EXPECT
6719 if test -n "$EXPECT"; then
6720 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6721 echo "${ECHO_T}$EXPECT" >&6
6723 echo "$as_me:$LINENO: result
: no
" >&5
6724 echo "${ECHO_T}no
" >&6
6727 test -n "$EXPECT" && break
6729 test -n "$EXPECT" || EXPECT="expect
"
6731 case " $configdirs " in
6733 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6737 for ac_prog in runtest
6739 # Extract the first word of "$ac_prog", so it can be a program name with args.
6740 set dummy $ac_prog; ac_word=$2
6741 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6743 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6744 echo $ECHO_N "(cached
) $ECHO_C" >&6
6746 if test -n "$RUNTEST"; then
6747 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_RUNTEST="$ac_prog"
6757 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6765 RUNTEST=$ac_cv_prog_RUNTEST
6766 if test -n "$RUNTEST"; then
6767 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6768 echo "${ECHO_T}$RUNTEST" >&6
6770 echo "$as_me:$LINENO: result
: no
" >&5
6771 echo "${ECHO_T}no
" >&6
6774 test -n "$RUNTEST" && break
6776 test -n "$RUNTEST" || RUNTEST="runtest
"
6778 case " $configdirs " in
6780 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6787 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6788 ncn_target_tool_prefix=
6789 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6793 if test -n "$AR"; then
6795 elif test -n "$ac_cv_prog_AR"; then
6799 if test -n "$ac_cv_prog_AR"; then
6800 for ncn_progname in ar; do
6801 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6802 set dummy ${ncn_progname}; ac_word=$2
6803 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6804 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6805 if test "${ac_cv_prog_AR+set}" = set; then
6806 echo $ECHO_N "(cached
) $ECHO_C" >&6
6808 if test -n "$AR"; then
6809 ac_cv_prog_AR="$AR" # Let the user override the test.
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6818 ac_cv_prog_AR="${ncn_progname}"
6819 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6828 if test -n "$AR"; then
6829 echo "$as_me:$LINENO: result
: $AR" >&5
6830 echo "${ECHO_T}$AR" >&6
6832 echo "$as_me:$LINENO: result
: no
" >&5
6833 echo "${ECHO_T}no
" >&6
6839 for ncn_progname in ar; do
6840 if test -n "$ncn_tool_prefix"; then
6841 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6842 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6843 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6845 if test "${ac_cv_prog_AR+set}" = set; then
6846 echo $ECHO_N "(cached
) $ECHO_C" >&6
6848 if test -n "$AR"; then
6849 ac_cv_prog_AR="$AR" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6868 if test -n "$AR"; then
6869 echo "$as_me:$LINENO: result
: $AR" >&5
6870 echo "${ECHO_T}$AR" >&6
6872 echo "$as_me:$LINENO: result
: no
" >&5
6873 echo "${ECHO_T}no
" >&6
6877 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6879 set dummy ${ncn_progname}; ac_word=$2
6880 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6881 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6882 if test "${ac_cv_prog_AR+set}" = set; then
6883 echo $ECHO_N "(cached
) $ECHO_C" >&6
6885 if test -n "$AR"; then
6886 ac_cv_prog_AR="$AR" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_AR="${ncn_progname}"
6896 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6905 if test -n "$AR"; then
6906 echo "$as_me:$LINENO: result
: $AR" >&5
6907 echo "${ECHO_T}$AR" >&6
6909 echo "$as_me:$LINENO: result
: no
" >&5
6910 echo "${ECHO_T}no
" >&6
6914 test -n "$ac_cv_prog_AR" && break
6917 if test -z "$ac_cv_prog_AR" ; then
6919 if test $build = $host ; then
6922 AR="${ncn_tool_prefix}$2"
6928 if test -n "$AS"; then
6930 elif test -n "$ac_cv_prog_AS"; then
6934 if test -n "$ac_cv_prog_AS"; then
6935 for ncn_progname in as; do
6936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6937 set dummy ${ncn_progname}; ac_word=$2
6938 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6939 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6940 if test "${ac_cv_prog_AS+set}" = set; then
6941 echo $ECHO_N "(cached
) $ECHO_C" >&6
6943 if test -n "$AS"; then
6944 ac_cv_prog_AS="$AS" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_AS="${ncn_progname}"
6954 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 if test -n "$AS"; then
6964 echo "$as_me:$LINENO: result
: $AS" >&5
6965 echo "${ECHO_T}$AS" >&6
6967 echo "$as_me:$LINENO: result
: no
" >&5
6968 echo "${ECHO_T}no
" >&6
6974 for ncn_progname in as; do
6975 if test -n "$ncn_tool_prefix"; then
6976 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6977 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6978 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6979 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6980 if test "${ac_cv_prog_AS+set}" = set; then
6981 echo $ECHO_N "(cached
) $ECHO_C" >&6
6983 if test -n "$AS"; then
6984 ac_cv_prog_AS="$AS" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6994 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 if test -n "$AS"; then
7004 echo "$as_me:$LINENO: result
: $AS" >&5
7005 echo "${ECHO_T}$AS" >&6
7007 echo "$as_me:$LINENO: result
: no
" >&5
7008 echo "${ECHO_T}no
" >&6
7012 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7014 set dummy ${ncn_progname}; ac_word=$2
7015 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7016 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7017 if test "${ac_cv_prog_AS+set}" = set; then
7018 echo $ECHO_N "(cached
) $ECHO_C" >&6
7020 if test -n "$AS"; then
7021 ac_cv_prog_AS="$AS" # Let the user override the test.
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir=.
7028 for ac_exec_ext in '' $ac_executable_extensions; do
7029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030 ac_cv_prog_AS="${ncn_progname}"
7031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7040 if test -n "$AS"; then
7041 echo "$as_me:$LINENO: result
: $AS" >&5
7042 echo "${ECHO_T}$AS" >&6
7044 echo "$as_me:$LINENO: result
: no
" >&5
7045 echo "${ECHO_T}no
" >&6
7049 test -n "$ac_cv_prog_AS" && break
7052 if test -z "$ac_cv_prog_AS" ; then
7054 if test $build = $host ; then
7057 AS="${ncn_tool_prefix}$2"
7063 if test -n "$DLLTOOL"; then
7064 ac_cv_prog_DLLTOOL=$DLLTOOL
7065 elif test -n "$ac_cv_prog_DLLTOOL"; then
7066 DLLTOOL=$ac_cv_prog_DLLTOOL
7069 if test -n "$ac_cv_prog_DLLTOOL"; then
7070 for ncn_progname in dlltool; do
7071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7072 set dummy ${ncn_progname}; ac_word=$2
7073 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7074 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7075 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7076 echo $ECHO_N "(cached
) $ECHO_C" >&6
7078 if test -n "$DLLTOOL"; then
7079 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_DLLTOOL="${ncn_progname}"
7089 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7097 DLLTOOL=$ac_cv_prog_DLLTOOL
7098 if test -n "$DLLTOOL"; then
7099 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7100 echo "${ECHO_T}$DLLTOOL" >&6
7102 echo "$as_me:$LINENO: result
: no
" >&5
7103 echo "${ECHO_T}no
" >&6
7109 for ncn_progname in dlltool; do
7110 if test -n "$ncn_tool_prefix"; then
7111 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7112 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7113 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7114 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7115 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7116 echo $ECHO_N "(cached
) $ECHO_C" >&6
7118 if test -n "$DLLTOOL"; then
7119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7129 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7137 DLLTOOL=$ac_cv_prog_DLLTOOL
7138 if test -n "$DLLTOOL"; then
7139 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7140 echo "${ECHO_T}$DLLTOOL" >&6
7142 echo "$as_me:$LINENO: result
: no
" >&5
7143 echo "${ECHO_T}no
" >&6
7147 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7149 set dummy ${ncn_progname}; ac_word=$2
7150 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7151 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7152 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7153 echo $ECHO_N "(cached
) $ECHO_C" >&6
7155 if test -n "$DLLTOOL"; then
7156 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_DLLTOOL="${ncn_progname}"
7166 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7174 DLLTOOL=$ac_cv_prog_DLLTOOL
7175 if test -n "$DLLTOOL"; then
7176 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7177 echo "${ECHO_T}$DLLTOOL" >&6
7179 echo "$as_me:$LINENO: result
: no
" >&5
7180 echo "${ECHO_T}no
" >&6
7184 test -n "$ac_cv_prog_DLLTOOL" && break
7187 if test -z "$ac_cv_prog_DLLTOOL" ; then
7189 if test $build = $host ; then
7192 DLLTOOL="${ncn_tool_prefix}$2"
7198 if test -n "$LD"; then
7200 elif test -n "$ac_cv_prog_LD"; then
7204 if test -n "$ac_cv_prog_LD"; then
7205 for ncn_progname in ld; do
7206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7207 set dummy ${ncn_progname}; ac_word=$2
7208 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7209 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7210 if test "${ac_cv_prog_LD+set}" = set; then
7211 echo $ECHO_N "(cached
) $ECHO_C" >&6
7213 if test -n "$LD"; then
7214 ac_cv_prog_LD="$LD" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_LD="${ncn_progname}"
7224 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7233 if test -n "$LD"; then
7234 echo "$as_me:$LINENO: result
: $LD" >&5
7235 echo "${ECHO_T}$LD" >&6
7237 echo "$as_me:$LINENO: result
: no
" >&5
7238 echo "${ECHO_T}no
" >&6
7244 for ncn_progname in ld; do
7245 if test -n "$ncn_tool_prefix"; then
7246 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7247 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7248 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7249 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7250 if test "${ac_cv_prog_LD+set}" = set; then
7251 echo $ECHO_N "(cached
) $ECHO_C" >&6
7253 if test -n "$LD"; then
7254 ac_cv_prog_LD="$LD" # Let the user override the test.
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7273 if test -n "$LD"; then
7274 echo "$as_me:$LINENO: result
: $LD" >&5
7275 echo "${ECHO_T}$LD" >&6
7277 echo "$as_me:$LINENO: result
: no
" >&5
7278 echo "${ECHO_T}no
" >&6
7282 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7283 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7284 set dummy ${ncn_progname}; ac_word=$2
7285 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7286 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7287 if test "${ac_cv_prog_LD+set}" = set; then
7288 echo $ECHO_N "(cached
) $ECHO_C" >&6
7290 if test -n "$LD"; then
7291 ac_cv_prog_LD="$LD" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_LD="${ncn_progname}"
7301 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7310 if test -n "$LD"; then
7311 echo "$as_me:$LINENO: result
: $LD" >&5
7312 echo "${ECHO_T}$LD" >&6
7314 echo "$as_me:$LINENO: result
: no
" >&5
7315 echo "${ECHO_T}no
" >&6
7319 test -n "$ac_cv_prog_LD" && break
7322 if test -z "$ac_cv_prog_LD" ; then
7324 if test $build = $host ; then
7327 LD="${ncn_tool_prefix}$2"
7333 if test -n "$LIPO"; then
7334 ac_cv_prog_LIPO=$LIPO
7335 elif test -n "$ac_cv_prog_LIPO"; then
7336 LIPO=$ac_cv_prog_LIPO
7339 if test -n "$ac_cv_prog_LIPO"; then
7340 for ncn_progname in lipo; do
7341 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7342 set dummy ${ncn_progname}; ac_word=$2
7343 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7344 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7345 if test "${ac_cv_prog_LIPO+set}" = set; then
7346 echo $ECHO_N "(cached
) $ECHO_C" >&6
7348 if test -n "$LIPO"; then
7349 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_LIPO="${ncn_progname}"
7359 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7367 LIPO=$ac_cv_prog_LIPO
7368 if test -n "$LIPO"; then
7369 echo "$as_me:$LINENO: result
: $LIPO" >&5
7370 echo "${ECHO_T}$LIPO" >&6
7372 echo "$as_me:$LINENO: result
: no
" >&5
7373 echo "${ECHO_T}no
" >&6
7379 for ncn_progname in lipo; do
7380 if test -n "$ncn_tool_prefix"; then
7381 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7382 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7383 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7384 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7385 if test "${ac_cv_prog_LIPO+set}" = set; then
7386 echo $ECHO_N "(cached
) $ECHO_C" >&6
7388 if test -n "$LIPO"; then
7389 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7399 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7407 LIPO=$ac_cv_prog_LIPO
7408 if test -n "$LIPO"; then
7409 echo "$as_me:$LINENO: result
: $LIPO" >&5
7410 echo "${ECHO_T}$LIPO" >&6
7412 echo "$as_me:$LINENO: result
: no
" >&5
7413 echo "${ECHO_T}no
" >&6
7417 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7419 set dummy ${ncn_progname}; ac_word=$2
7420 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7421 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7422 if test "${ac_cv_prog_LIPO+set}" = set; then
7423 echo $ECHO_N "(cached
) $ECHO_C" >&6
7425 if test -n "$LIPO"; then
7426 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_LIPO="${ncn_progname}"
7436 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7444 LIPO=$ac_cv_prog_LIPO
7445 if test -n "$LIPO"; then
7446 echo "$as_me:$LINENO: result
: $LIPO" >&5
7447 echo "${ECHO_T}$LIPO" >&6
7449 echo "$as_me:$LINENO: result
: no
" >&5
7450 echo "${ECHO_T}no
" >&6
7454 test -n "$ac_cv_prog_LIPO" && break
7457 if test -z "$ac_cv_prog_LIPO" ; then
7459 if test $build = $host ; then
7462 LIPO="${ncn_tool_prefix}$2"
7468 if test -n "$NM"; then
7470 elif test -n "$ac_cv_prog_NM"; then
7474 if test -n "$ac_cv_prog_NM"; then
7475 for ncn_progname in nm; do
7476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7477 set dummy ${ncn_progname}; ac_word=$2
7478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7480 if test "${ac_cv_prog_NM+set}" = set; then
7481 echo $ECHO_N "(cached
) $ECHO_C" >&6
7483 if test -n "$NM"; then
7484 ac_cv_prog_NM="$NM" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_NM="${ncn_progname}"
7494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7503 if test -n "$NM"; then
7504 echo "$as_me:$LINENO: result
: $NM" >&5
7505 echo "${ECHO_T}$NM" >&6
7507 echo "$as_me:$LINENO: result
: no
" >&5
7508 echo "${ECHO_T}no
" >&6
7514 for ncn_progname in nm; do
7515 if test -n "$ncn_tool_prefix"; then
7516 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7517 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7518 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7519 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7520 if test "${ac_cv_prog_NM+set}" = set; then
7521 echo $ECHO_N "(cached
) $ECHO_C" >&6
7523 if test -n "$NM"; then
7524 ac_cv_prog_NM="$NM" # Let the user override the test.
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7534 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7543 if test -n "$NM"; then
7544 echo "$as_me:$LINENO: result
: $NM" >&5
7545 echo "${ECHO_T}$NM" >&6
7547 echo "$as_me:$LINENO: result
: no
" >&5
7548 echo "${ECHO_T}no
" >&6
7552 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7554 set dummy ${ncn_progname}; ac_word=$2
7555 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7556 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7557 if test "${ac_cv_prog_NM+set}" = set; then
7558 echo $ECHO_N "(cached
) $ECHO_C" >&6
7560 if test -n "$NM"; then
7561 ac_cv_prog_NM="$NM" # Let the user override the test.
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir=.
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7570 ac_cv_prog_NM="${ncn_progname}"
7571 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7580 if test -n "$NM"; then
7581 echo "$as_me:$LINENO: result
: $NM" >&5
7582 echo "${ECHO_T}$NM" >&6
7584 echo "$as_me:$LINENO: result
: no
" >&5
7585 echo "${ECHO_T}no
" >&6
7589 test -n "$ac_cv_prog_NM" && break
7592 if test -z "$ac_cv_prog_NM" ; then
7594 if test $build = $host ; then
7597 NM="${ncn_tool_prefix}$2"
7603 if test -n "$RANLIB"; then
7604 ac_cv_prog_RANLIB=$RANLIB
7605 elif test -n "$ac_cv_prog_RANLIB"; then
7606 RANLIB=$ac_cv_prog_RANLIB
7609 if test -n "$ac_cv_prog_RANLIB"; then
7610 for ncn_progname in ranlib; do
7611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7612 set dummy ${ncn_progname}; ac_word=$2
7613 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7614 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7615 if test "${ac_cv_prog_RANLIB+set}" = set; then
7616 echo $ECHO_N "(cached
) $ECHO_C" >&6
7618 if test -n "$RANLIB"; then
7619 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_RANLIB="${ncn_progname}"
7629 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7637 RANLIB=$ac_cv_prog_RANLIB
7638 if test -n "$RANLIB"; then
7639 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7640 echo "${ECHO_T}$RANLIB" >&6
7642 echo "$as_me:$LINENO: result
: no
" >&5
7643 echo "${ECHO_T}no
" >&6
7649 for ncn_progname in ranlib; do
7650 if test -n "$ncn_tool_prefix"; then
7651 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7652 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7653 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7654 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7655 if test "${ac_cv_prog_RANLIB+set}" = set; then
7656 echo $ECHO_N "(cached
) $ECHO_C" >&6
7658 if test -n "$RANLIB"; then
7659 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 test -z "$as_dir" && as_dir=.
7666 for ac_exec_ext in '' $ac_executable_extensions; do
7667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7668 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7669 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7677 RANLIB=$ac_cv_prog_RANLIB
7678 if test -n "$RANLIB"; then
7679 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7680 echo "${ECHO_T}$RANLIB" >&6
7682 echo "$as_me:$LINENO: result
: no
" >&5
7683 echo "${ECHO_T}no
" >&6
7687 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7689 set dummy ${ncn_progname}; ac_word=$2
7690 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7691 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7692 if test "${ac_cv_prog_RANLIB+set}" = set; then
7693 echo $ECHO_N "(cached
) $ECHO_C" >&6
7695 if test -n "$RANLIB"; then
7696 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_RANLIB="${ncn_progname}"
7706 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7714 RANLIB=$ac_cv_prog_RANLIB
7715 if test -n "$RANLIB"; then
7716 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7717 echo "${ECHO_T}$RANLIB" >&6
7719 echo "$as_me:$LINENO: result
: no
" >&5
7720 echo "${ECHO_T}no
" >&6
7724 test -n "$ac_cv_prog_RANLIB" && break
7727 if test -z "$ac_cv_prog_RANLIB" ; then
7733 if test -n "$STRIP"; then
7734 ac_cv_prog_STRIP=$STRIP
7735 elif test -n "$ac_cv_prog_STRIP"; then
7736 STRIP=$ac_cv_prog_STRIP
7739 if test -n "$ac_cv_prog_STRIP"; then
7740 for ncn_progname in strip; do
7741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7742 set dummy ${ncn_progname}; ac_word=$2
7743 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7744 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7745 if test "${ac_cv_prog_STRIP+set}" = set; then
7746 echo $ECHO_N "(cached
) $ECHO_C" >&6
7748 if test -n "$STRIP"; then
7749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir=.
7756 for ac_exec_ext in '' $ac_executable_extensions; do
7757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_prog_STRIP="${ncn_progname}"
7759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7767 STRIP=$ac_cv_prog_STRIP
7768 if test -n "$STRIP"; then
7769 echo "$as_me:$LINENO: result
: $STRIP" >&5
7770 echo "${ECHO_T}$STRIP" >&6
7772 echo "$as_me:$LINENO: result
: no
" >&5
7773 echo "${ECHO_T}no
" >&6
7779 for ncn_progname in strip; do
7780 if test -n "$ncn_tool_prefix"; then
7781 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7782 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7783 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7784 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7785 if test "${ac_cv_prog_STRIP+set}" = set; then
7786 echo $ECHO_N "(cached
) $ECHO_C" >&6
7788 if test -n "$STRIP"; then
7789 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7799 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 STRIP=$ac_cv_prog_STRIP
7808 if test -n "$STRIP"; then
7809 echo "$as_me:$LINENO: result
: $STRIP" >&5
7810 echo "${ECHO_T}$STRIP" >&6
7812 echo "$as_me:$LINENO: result
: no
" >&5
7813 echo "${ECHO_T}no
" >&6
7817 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7819 set dummy ${ncn_progname}; ac_word=$2
7820 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7821 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7822 if test "${ac_cv_prog_STRIP+set}" = set; then
7823 echo $ECHO_N "(cached
) $ECHO_C" >&6
7825 if test -n "$STRIP"; then
7826 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_STRIP="${ncn_progname}"
7836 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 STRIP=$ac_cv_prog_STRIP
7845 if test -n "$STRIP"; then
7846 echo "$as_me:$LINENO: result
: $STRIP" >&5
7847 echo "${ECHO_T}$STRIP" >&6
7849 echo "$as_me:$LINENO: result
: no
" >&5
7850 echo "${ECHO_T}no
" >&6
7854 test -n "$ac_cv_prog_STRIP" && break
7857 if test -z "$ac_cv_prog_STRIP" ; then
7863 if test -n "$WINDRES"; then
7864 ac_cv_prog_WINDRES=$WINDRES
7865 elif test -n "$ac_cv_prog_WINDRES"; then
7866 WINDRES=$ac_cv_prog_WINDRES
7869 if test -n "$ac_cv_prog_WINDRES"; then
7870 for ncn_progname in windres; do
7871 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7872 set dummy ${ncn_progname}; ac_word=$2
7873 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7875 if test "${ac_cv_prog_WINDRES+set}" = set; then
7876 echo $ECHO_N "(cached
) $ECHO_C" >&6
7878 if test -n "$WINDRES"; then
7879 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_WINDRES="${ncn_progname}"
7889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7897 WINDRES=$ac_cv_prog_WINDRES
7898 if test -n "$WINDRES"; then
7899 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7900 echo "${ECHO_T}$WINDRES" >&6
7902 echo "$as_me:$LINENO: result
: no
" >&5
7903 echo "${ECHO_T}no
" >&6
7909 for ncn_progname in windres; do
7910 if test -n "$ncn_tool_prefix"; then
7911 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7912 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7913 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7914 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7915 if test "${ac_cv_prog_WINDRES+set}" = set; then
7916 echo $ECHO_N "(cached
) $ECHO_C" >&6
7918 if test -n "$WINDRES"; then
7919 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7929 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7937 WINDRES=$ac_cv_prog_WINDRES
7938 if test -n "$WINDRES"; then
7939 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7940 echo "${ECHO_T}$WINDRES" >&6
7942 echo "$as_me:$LINENO: result
: no
" >&5
7943 echo "${ECHO_T}no
" >&6
7947 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7949 set dummy ${ncn_progname}; ac_word=$2
7950 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7951 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7952 if test "${ac_cv_prog_WINDRES+set}" = set; then
7953 echo $ECHO_N "(cached
) $ECHO_C" >&6
7955 if test -n "$WINDRES"; then
7956 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7965 ac_cv_prog_WINDRES="${ncn_progname}"
7966 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 WINDRES=$ac_cv_prog_WINDRES
7975 if test -n "$WINDRES"; then
7976 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7977 echo "${ECHO_T}$WINDRES" >&6
7979 echo "$as_me:$LINENO: result
: no
" >&5
7980 echo "${ECHO_T}no
" >&6
7984 test -n "$ac_cv_prog_WINDRES" && break
7987 if test -z "$ac_cv_prog_WINDRES" ; then
7989 if test $build = $host ; then
7992 WINDRES="${ncn_tool_prefix}$2"
7998 if test -n "$WINDMC"; then
7999 ac_cv_prog_WINDMC=$WINDMC
8000 elif test -n "$ac_cv_prog_WINDMC"; then
8001 WINDMC=$ac_cv_prog_WINDMC
8004 if test -n "$ac_cv_prog_WINDMC"; then
8005 for ncn_progname in windmc; do
8006 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8007 set dummy ${ncn_progname}; ac_word=$2
8008 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8009 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8010 if test "${ac_cv_prog_WINDMC+set}" = set; then
8011 echo $ECHO_N "(cached
) $ECHO_C" >&6
8013 if test -n "$WINDMC"; then
8014 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_WINDMC="${ncn_progname}"
8024 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8032 WINDMC=$ac_cv_prog_WINDMC
8033 if test -n "$WINDMC"; then
8034 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8035 echo "${ECHO_T}$WINDMC" >&6
8037 echo "$as_me:$LINENO: result
: no
" >&5
8038 echo "${ECHO_T}no
" >&6
8044 for ncn_progname in windmc; do
8045 if test -n "$ncn_tool_prefix"; then
8046 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8047 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8048 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8049 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8050 if test "${ac_cv_prog_WINDMC+set}" = set; then
8051 echo $ECHO_N "(cached
) $ECHO_C" >&6
8053 if test -n "$WINDMC"; then
8054 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8064 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8072 WINDMC=$ac_cv_prog_WINDMC
8073 if test -n "$WINDMC"; then
8074 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8075 echo "${ECHO_T}$WINDMC" >&6
8077 echo "$as_me:$LINENO: result
: no
" >&5
8078 echo "${ECHO_T}no
" >&6
8082 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8083 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8084 set dummy ${ncn_progname}; ac_word=$2
8085 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8087 if test "${ac_cv_prog_WINDMC+set}" = set; then
8088 echo $ECHO_N "(cached
) $ECHO_C" >&6
8090 if test -n "$WINDMC"; then
8091 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8100 ac_cv_prog_WINDMC="${ncn_progname}"
8101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8109 WINDMC=$ac_cv_prog_WINDMC
8110 if test -n "$WINDMC"; then
8111 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8112 echo "${ECHO_T}$WINDMC" >&6
8114 echo "$as_me:$LINENO: result
: no
" >&5
8115 echo "${ECHO_T}no
" >&6
8119 test -n "$ac_cv_prog_WINDMC" && break
8122 if test -z "$ac_cv_prog_WINDMC" ; then
8124 if test $build = $host ; then
8127 WINDMC="${ncn_tool_prefix}$2"
8133 if test -n "$OBJCOPY"; then
8134 ac_cv_prog_OBJCOPY=$OBJCOPY
8135 elif test -n "$ac_cv_prog_OBJCOPY"; then
8136 OBJCOPY=$ac_cv_prog_OBJCOPY
8139 if test -n "$ac_cv_prog_OBJCOPY"; then
8140 for ncn_progname in objcopy; do
8141 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8142 set dummy ${ncn_progname}; ac_word=$2
8143 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8144 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8145 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8146 echo $ECHO_N "(cached
) $ECHO_C" >&6
8148 if test -n "$OBJCOPY"; then
8149 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir=.
8156 for ac_exec_ext in '' $ac_executable_extensions; do
8157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8158 ac_cv_prog_OBJCOPY="${ncn_progname}"
8159 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8167 OBJCOPY=$ac_cv_prog_OBJCOPY
8168 if test -n "$OBJCOPY"; then
8169 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8170 echo "${ECHO_T}$OBJCOPY" >&6
8172 echo "$as_me:$LINENO: result
: no
" >&5
8173 echo "${ECHO_T}no
" >&6
8179 for ncn_progname in objcopy; do
8180 if test -n "$ncn_tool_prefix"; then
8181 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8182 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8183 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8184 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8185 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8186 echo $ECHO_N "(cached
) $ECHO_C" >&6
8188 if test -n "$OBJCOPY"; then
8189 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir=.
8196 for ac_exec_ext in '' $ac_executable_extensions; do
8197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8198 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8199 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8207 OBJCOPY=$ac_cv_prog_OBJCOPY
8208 if test -n "$OBJCOPY"; then
8209 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8210 echo "${ECHO_T}$OBJCOPY" >&6
8212 echo "$as_me:$LINENO: result
: no
" >&5
8213 echo "${ECHO_T}no
" >&6
8217 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8219 set dummy ${ncn_progname}; ac_word=$2
8220 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8221 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8222 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8223 echo $ECHO_N "(cached
) $ECHO_C" >&6
8225 if test -n "$OBJCOPY"; then
8226 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 test -z "$as_dir" && as_dir=.
8233 for ac_exec_ext in '' $ac_executable_extensions; do
8234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8235 ac_cv_prog_OBJCOPY="${ncn_progname}"
8236 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8244 OBJCOPY=$ac_cv_prog_OBJCOPY
8245 if test -n "$OBJCOPY"; then
8246 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8247 echo "${ECHO_T}$OBJCOPY" >&6
8249 echo "$as_me:$LINENO: result
: no
" >&5
8250 echo "${ECHO_T}no
" >&6
8254 test -n "$ac_cv_prog_OBJCOPY" && break
8257 if test -z "$ac_cv_prog_OBJCOPY" ; then
8259 if test $build = $host ; then
8262 OBJCOPY="${ncn_tool_prefix}$2"
8268 if test -n "$OBJDUMP"; then
8269 ac_cv_prog_OBJDUMP=$OBJDUMP
8270 elif test -n "$ac_cv_prog_OBJDUMP"; then
8271 OBJDUMP=$ac_cv_prog_OBJDUMP
8274 if test -n "$ac_cv_prog_OBJDUMP"; then
8275 for ncn_progname in objdump; do
8276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8277 set dummy ${ncn_progname}; ac_word=$2
8278 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8279 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8280 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8281 echo $ECHO_N "(cached
) $ECHO_C" >&6
8283 if test -n "$OBJDUMP"; then
8284 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_OBJDUMP="${ncn_progname}"
8294 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8302 OBJDUMP=$ac_cv_prog_OBJDUMP
8303 if test -n "$OBJDUMP"; then
8304 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8305 echo "${ECHO_T}$OBJDUMP" >&6
8307 echo "$as_me:$LINENO: result
: no
" >&5
8308 echo "${ECHO_T}no
" >&6
8314 for ncn_progname in objdump; do
8315 if test -n "$ncn_tool_prefix"; then
8316 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8317 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8318 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8319 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8320 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8321 echo $ECHO_N "(cached
) $ECHO_C" >&6
8323 if test -n "$OBJDUMP"; then
8324 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 test -z "$as_dir" && as_dir=.
8331 for ac_exec_ext in '' $ac_executable_extensions; do
8332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8333 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8342 OBJDUMP=$ac_cv_prog_OBJDUMP
8343 if test -n "$OBJDUMP"; then
8344 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8345 echo "${ECHO_T}$OBJDUMP" >&6
8347 echo "$as_me:$LINENO: result
: no
" >&5
8348 echo "${ECHO_T}no
" >&6
8352 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8354 set dummy ${ncn_progname}; ac_word=$2
8355 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8356 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8357 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8358 echo $ECHO_N "(cached
) $ECHO_C" >&6
8360 if test -n "$OBJDUMP"; then
8361 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_prog_OBJDUMP="${ncn_progname}"
8371 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8379 OBJDUMP=$ac_cv_prog_OBJDUMP
8380 if test -n "$OBJDUMP"; then
8381 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8382 echo "${ECHO_T}$OBJDUMP" >&6
8384 echo "$as_me:$LINENO: result
: no
" >&5
8385 echo "${ECHO_T}no
" >&6
8389 test -n "$ac_cv_prog_OBJDUMP" && break
8392 if test -z "$ac_cv_prog_OBJDUMP" ; then
8394 if test $build = $host ; then
8397 OBJDUMP="${ncn_tool_prefix}$2"
8408 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8409 if test "${with_build_time_tools+set}" = set; then
8410 withval="$with_build_time_tools"
8414 with_build_time_tools=
8415 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8416 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8420 with_build_time_tools=
8425 if test -n "$CC_FOR_TARGET"; then
8426 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8427 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8428 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8431 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8432 for ncn_progname in cc gcc; do
8433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8434 set dummy ${ncn_progname}; ac_word=$2
8435 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8436 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8437 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8438 echo $ECHO_N "(cached
) $ECHO_C" >&6
8440 if test -n "$CC_FOR_TARGET"; then
8441 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8447 test -z "$as_dir" && as_dir=.
8448 for ac_exec_ext in '' $ac_executable_extensions; do
8449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8450 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8459 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8460 if test -n "$CC_FOR_TARGET"; then
8461 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8462 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8464 echo "$as_me:$LINENO: result
: no
" >&5
8465 echo "${ECHO_T}no
" >&6
8471 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8472 for ncn_progname in cc gcc; do
8473 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8474 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8475 if test -x $with_build_time_tools/${ncn_progname}; then
8476 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8477 echo "$as_me:$LINENO: result
: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result
: no
" >&5
8482 echo "${ECHO_T}no
" >&6
8487 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8488 for ncn_progname in cc gcc; do
8489 if test -n "$ncn_target_tool_prefix"; then
8490 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8491 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8492 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8493 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8494 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8495 echo $ECHO_N "(cached
) $ECHO_C" >&6
8497 if test -n "$CC_FOR_TARGET"; then
8498 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8508 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8517 if test -n "$CC_FOR_TARGET"; then
8518 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8519 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8521 echo "$as_me:$LINENO: result
: no
" >&5
8522 echo "${ECHO_T}no
" >&6
8526 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8528 set dummy ${ncn_progname}; ac_word=$2
8529 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8530 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8531 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8532 echo $ECHO_N "(cached
) $ECHO_C" >&6
8534 if test -n "$CC_FOR_TARGET"; then
8535 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8544 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8545 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8553 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8554 if test -n "$CC_FOR_TARGET"; then
8555 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8556 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8558 echo "$as_me:$LINENO: result
: no
" >&5
8559 echo "${ECHO_T}no
" >&6
8563 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8567 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8569 if test $build = $target ; then
8572 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8575 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8580 if test -n "$CXX_FOR_TARGET"; then
8581 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8582 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8583 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8586 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8587 for ncn_progname in c++ g++ cxx gxx; do
8588 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8589 set dummy ${ncn_progname}; ac_word=$2
8590 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8592 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8593 echo $ECHO_N "(cached
) $ECHO_C" >&6
8595 if test -n "$CXX_FOR_TARGET"; then
8596 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8602 test -z "$as_dir" && as_dir=.
8603 for ac_exec_ext in '' $ac_executable_extensions; do
8604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8605 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8606 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8614 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8615 if test -n "$CXX_FOR_TARGET"; then
8616 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8617 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8619 echo "$as_me:$LINENO: result
: no
" >&5
8620 echo "${ECHO_T}no
" >&6
8626 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8627 for ncn_progname in c++ g++ cxx gxx; do
8628 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8629 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8630 if test -x $with_build_time_tools/${ncn_progname}; then
8631 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8632 echo "$as_me:$LINENO: result
: yes" >&5
8633 echo "${ECHO_T}yes" >&6
8636 echo "$as_me:$LINENO: result
: no
" >&5
8637 echo "${ECHO_T}no
" >&6
8642 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8643 for ncn_progname in c++ g++ cxx gxx; do
8644 if test -n "$ncn_target_tool_prefix"; then
8645 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8646 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8647 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8648 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8649 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8650 echo $ECHO_N "(cached
) $ECHO_C" >&6
8652 if test -n "$CXX_FOR_TARGET"; then
8653 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 test -z "$as_dir" && as_dir=.
8660 for ac_exec_ext in '' $ac_executable_extensions; do
8661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8662 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8663 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8672 if test -n "$CXX_FOR_TARGET"; then
8673 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8674 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8676 echo "$as_me:$LINENO: result
: no
" >&5
8677 echo "${ECHO_T}no
" >&6
8681 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8683 set dummy ${ncn_progname}; ac_word=$2
8684 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8685 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8686 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8687 echo $ECHO_N "(cached
) $ECHO_C" >&6
8689 if test -n "$CXX_FOR_TARGET"; then
8690 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8700 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8708 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8709 if test -n "$CXX_FOR_TARGET"; then
8710 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8711 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8713 echo "$as_me:$LINENO: result
: no
" >&5
8714 echo "${ECHO_T}no
" >&6
8718 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8722 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8723 set dummy c++ g++ cxx gxx
8724 if test $build = $target ; then
8727 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8730 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8735 if test -n "$GCC_FOR_TARGET"; then
8736 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8737 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8738 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8741 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8742 for ncn_progname in gcc; do
8743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8744 set dummy ${ncn_progname}; ac_word=$2
8745 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8746 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8747 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8748 echo $ECHO_N "(cached
) $ECHO_C" >&6
8750 if test -n "$GCC_FOR_TARGET"; then
8751 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir=.
8758 for ac_exec_ext in '' $ac_executable_extensions; do
8759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8760 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8761 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8769 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8770 if test -n "$GCC_FOR_TARGET"; then
8771 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8772 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8774 echo "$as_me:$LINENO: result
: no
" >&5
8775 echo "${ECHO_T}no
" >&6
8781 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8782 for ncn_progname in gcc; do
8783 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8784 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8785 if test -x $with_build_time_tools/${ncn_progname}; then
8786 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8787 echo "$as_me:$LINENO: result
: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8791 echo "$as_me:$LINENO: result
: no
" >&5
8792 echo "${ECHO_T}no
" >&6
8797 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8798 for ncn_progname in gcc; do
8799 if test -n "$ncn_target_tool_prefix"; then
8800 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8801 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8802 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8803 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8804 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8805 echo $ECHO_N "(cached
) $ECHO_C" >&6
8807 if test -n "$GCC_FOR_TARGET"; then
8808 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8814 test -z "$as_dir" && as_dir=.
8815 for ac_exec_ext in '' $ac_executable_extensions; do
8816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8817 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8818 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8826 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8827 if test -n "$GCC_FOR_TARGET"; then
8828 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8829 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8831 echo "$as_me:$LINENO: result
: no
" >&5
8832 echo "${ECHO_T}no
" >&6
8836 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8837 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8838 set dummy ${ncn_progname}; ac_word=$2
8839 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8840 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8841 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8842 echo $ECHO_N "(cached
) $ECHO_C" >&6
8844 if test -n "$GCC_FOR_TARGET"; then
8845 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8855 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8863 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8864 if test -n "$GCC_FOR_TARGET"; then
8865 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8866 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8868 echo "$as_me:$LINENO: result
: no
" >&5
8869 echo "${ECHO_T}no
" >&6
8873 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8877 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8878 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8880 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8885 if test -n "$GCJ_FOR_TARGET"; then
8886 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8887 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8888 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8891 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8892 for ncn_progname in gcj; do
8893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8894 set dummy ${ncn_progname}; ac_word=$2
8895 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8896 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8897 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8898 echo $ECHO_N "(cached
) $ECHO_C" >&6
8900 if test -n "$GCJ_FOR_TARGET"; then
8901 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907 test -z "$as_dir" && as_dir=.
8908 for ac_exec_ext in '' $ac_executable_extensions; do
8909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8910 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8911 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8919 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8920 if test -n "$GCJ_FOR_TARGET"; then
8921 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8922 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8924 echo "$as_me:$LINENO: result
: no
" >&5
8925 echo "${ECHO_T}no
" >&6
8931 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8932 for ncn_progname in gcj; do
8933 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8934 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8935 if test -x $with_build_time_tools/${ncn_progname}; then
8936 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8937 echo "$as_me:$LINENO: result
: yes" >&5
8938 echo "${ECHO_T}yes" >&6
8941 echo "$as_me:$LINENO: result
: no
" >&5
8942 echo "${ECHO_T}no
" >&6
8947 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8948 for ncn_progname in gcj; do
8949 if test -n "$ncn_target_tool_prefix"; then
8950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8952 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8953 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8954 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8955 echo $ECHO_N "(cached
) $ECHO_C" >&6
8957 if test -n "$GCJ_FOR_TARGET"; then
8958 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8964 test -z "$as_dir" && as_dir=.
8965 for ac_exec_ext in '' $ac_executable_extensions; do
8966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8967 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8968 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8976 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8977 if test -n "$GCJ_FOR_TARGET"; then
8978 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8979 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8981 echo "$as_me:$LINENO: result
: no
" >&5
8982 echo "${ECHO_T}no
" >&6
8986 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8988 set dummy ${ncn_progname}; ac_word=$2
8989 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8991 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8992 echo $ECHO_N "(cached
) $ECHO_C" >&6
8994 if test -n "$GCJ_FOR_TARGET"; then
8995 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir=.
9002 for ac_exec_ext in '' $ac_executable_extensions; do
9003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9004 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9005 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9013 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9014 if test -n "$GCJ_FOR_TARGET"; then
9015 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9016 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9018 echo "$as_me:$LINENO: result
: no
" >&5
9019 echo "${ECHO_T}no
" >&6
9023 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9027 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9029 if test $build = $target ; then
9032 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9035 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9040 if test -n "$GFORTRAN_FOR_TARGET"; then
9041 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9042 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9043 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9046 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9047 for ncn_progname in gfortran; do
9048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9049 set dummy ${ncn_progname}; ac_word=$2
9050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9052 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9053 echo $ECHO_N "(cached
) $ECHO_C" >&6
9055 if test -n "$GFORTRAN_FOR_TARGET"; then
9056 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 test -z "$as_dir" && as_dir=.
9063 for ac_exec_ext in '' $ac_executable_extensions; do
9064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9065 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9074 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9075 if test -n "$GFORTRAN_FOR_TARGET"; then
9076 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9077 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9079 echo "$as_me:$LINENO: result
: no
" >&5
9080 echo "${ECHO_T}no
" >&6
9086 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9087 for ncn_progname in gfortran; do
9088 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9089 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9090 if test -x $with_build_time_tools/${ncn_progname}; then
9091 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9092 echo "$as_me:$LINENO: result
: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result
: no
" >&5
9097 echo "${ECHO_T}no
" >&6
9102 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9103 for ncn_progname in gfortran; do
9104 if test -n "$ncn_target_tool_prefix"; then
9105 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9106 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9107 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9108 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9109 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9110 echo $ECHO_N "(cached
) $ECHO_C" >&6
9112 if test -n "$GFORTRAN_FOR_TARGET"; then
9113 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9119 test -z "$as_dir" && as_dir=.
9120 for ac_exec_ext in '' $ac_executable_extensions; do
9121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9122 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9123 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9131 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9132 if test -n "$GFORTRAN_FOR_TARGET"; then
9133 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9134 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9136 echo "$as_me:$LINENO: result
: no
" >&5
9137 echo "${ECHO_T}no
" >&6
9141 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9143 set dummy ${ncn_progname}; ac_word=$2
9144 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9145 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9146 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9147 echo $ECHO_N "(cached
) $ECHO_C" >&6
9149 if test -n "$GFORTRAN_FOR_TARGET"; then
9150 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9156 test -z "$as_dir" && as_dir=.
9157 for ac_exec_ext in '' $ac_executable_extensions; do
9158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9159 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9160 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9168 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9169 if test -n "$GFORTRAN_FOR_TARGET"; then
9170 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9171 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9173 echo "$as_me:$LINENO: result
: no
" >&5
9174 echo "${ECHO_T}no
" >&6
9178 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9182 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9184 if test $build = $target ; then
9185 GFORTRAN_FOR_TARGET="$2"
9187 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9190 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9195 cat > conftest.c << \EOF
9200 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9201 have_gcc_for_target=yes
9203 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9204 have_gcc_for_target=no
9211 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9212 if test -n "$with_build_time_tools"; then
9213 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9214 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9215 if test -x $with_build_time_tools/ar; then
9216 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9217 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9218 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9219 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9221 echo "$as_me:$LINENO: result
: no
" >&5
9222 echo "${ECHO_T}no
" >&6
9224 elif test $build != $host && test $have_gcc_for_target = yes; then
9225 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9226 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9227 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9230 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9231 # Extract the first word of "ar", so it can be a program name with args.
9232 set dummy ar; ac_word=$2
9233 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9234 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9235 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9236 echo $ECHO_N "(cached
) $ECHO_C" >&6
9238 case $AR_FOR_TARGET in
9240 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244 for as_dir in $gcc_cv_tool_dirs
9247 test -z "$as_dir" && as_dir=.
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9250 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9251 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9260 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9262 if test -n "$AR_FOR_TARGET"; then
9263 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9264 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9266 echo "$as_me:$LINENO: result
: no
" >&5
9267 echo "${ECHO_T}no
" >&6
9271 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9274 if test -n "$AR_FOR_TARGET"; then
9275 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9276 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9277 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9280 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9281 for ncn_progname in ar; do
9282 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9283 set dummy ${ncn_progname}; ac_word=$2
9284 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9285 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9286 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9287 echo $ECHO_N "(cached
) $ECHO_C" >&6
9289 if test -n "$AR_FOR_TARGET"; then
9290 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir=.
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9300 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9308 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9309 if test -n "$AR_FOR_TARGET"; then
9310 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9311 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9313 echo "$as_me:$LINENO: result
: no
" >&5
9314 echo "${ECHO_T}no
" >&6
9320 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9321 for ncn_progname in ar; do
9322 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9323 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9324 if test -x $with_build_time_tools/${ncn_progname}; then
9325 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9326 echo "$as_me:$LINENO: result
: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9330 echo "$as_me:$LINENO: result
: no
" >&5
9331 echo "${ECHO_T}no
" >&6
9336 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9337 for ncn_progname in ar; do
9338 if test -n "$ncn_target_tool_prefix"; then
9339 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9340 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9341 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9342 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9343 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9344 echo $ECHO_N "(cached
) $ECHO_C" >&6
9346 if test -n "$AR_FOR_TARGET"; then
9347 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9353 test -z "$as_dir" && as_dir=.
9354 for ac_exec_ext in '' $ac_executable_extensions; do
9355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9356 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9357 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9365 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9366 if test -n "$AR_FOR_TARGET"; then
9367 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9368 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9370 echo "$as_me:$LINENO: result
: no
" >&5
9371 echo "${ECHO_T}no
" >&6
9375 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9376 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9377 set dummy ${ncn_progname}; ac_word=$2
9378 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9379 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9380 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9381 echo $ECHO_N "(cached
) $ECHO_C" >&6
9383 if test -n "$AR_FOR_TARGET"; then
9384 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9390 test -z "$as_dir" && as_dir=.
9391 for ac_exec_ext in '' $ac_executable_extensions; do
9392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9393 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9394 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9402 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9403 if test -n "$AR_FOR_TARGET"; then
9404 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9405 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9407 echo "$as_me:$LINENO: result
: no
" >&5
9408 echo "${ECHO_T}no
" >&6
9412 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9416 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9418 if test $build = $target ; then
9421 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9424 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9428 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9434 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9435 if test -n "$with_build_time_tools"; then
9436 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9437 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9438 if test -x $with_build_time_tools/as; then
9439 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9440 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9441 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9442 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9444 echo "$as_me:$LINENO: result
: no
" >&5
9445 echo "${ECHO_T}no
" >&6
9447 elif test $build != $host && test $have_gcc_for_target = yes; then
9448 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9449 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9450 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9453 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9454 # Extract the first word of "as
", so it can be a program name with args.
9455 set dummy as; ac_word=$2
9456 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9457 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9458 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9459 echo $ECHO_N "(cached
) $ECHO_C" >&6
9461 case $AS_FOR_TARGET in
9463 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9467 for as_dir in $gcc_cv_tool_dirs
9470 test -z "$as_dir" && as_dir=.
9471 for ac_exec_ext in '' $ac_executable_extensions; do
9472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9473 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9474 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9483 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9485 if test -n "$AS_FOR_TARGET"; then
9486 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9487 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9489 echo "$as_me:$LINENO: result
: no
" >&5
9490 echo "${ECHO_T}no
" >&6
9494 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9497 if test -n "$AS_FOR_TARGET"; then
9498 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9499 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9500 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9503 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9504 for ncn_progname in as; do
9505 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9506 set dummy ${ncn_progname}; ac_word=$2
9507 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9509 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9510 echo $ECHO_N "(cached
) $ECHO_C" >&6
9512 if test -n "$AS_FOR_TARGET"; then
9513 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9519 test -z "$as_dir" && as_dir=.
9520 for ac_exec_ext in '' $ac_executable_extensions; do
9521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9522 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9523 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9531 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9532 if test -n "$AS_FOR_TARGET"; then
9533 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9534 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9536 echo "$as_me:$LINENO: result
: no
" >&5
9537 echo "${ECHO_T}no
" >&6
9543 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9544 for ncn_progname in as; do
9545 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9546 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9547 if test -x $with_build_time_tools/${ncn_progname}; then
9548 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9549 echo "$as_me:$LINENO: result
: yes" >&5
9550 echo "${ECHO_T}yes" >&6
9553 echo "$as_me:$LINENO: result
: no
" >&5
9554 echo "${ECHO_T}no
" >&6
9559 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9560 for ncn_progname in as; do
9561 if test -n "$ncn_target_tool_prefix"; then
9562 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9563 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9564 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9566 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9567 echo $ECHO_N "(cached
) $ECHO_C" >&6
9569 if test -n "$AS_FOR_TARGET"; then
9570 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9580 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9588 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9589 if test -n "$AS_FOR_TARGET"; then
9590 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9591 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9593 echo "$as_me:$LINENO: result
: no
" >&5
9594 echo "${ECHO_T}no
" >&6
9598 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9600 set dummy ${ncn_progname}; ac_word=$2
9601 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9602 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9603 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9604 echo $ECHO_N "(cached
) $ECHO_C" >&6
9606 if test -n "$AS_FOR_TARGET"; then
9607 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9617 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9625 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9626 if test -n "$AS_FOR_TARGET"; then
9627 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9628 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9630 echo "$as_me:$LINENO: result
: no
" >&5
9631 echo "${ECHO_T}no
" >&6
9635 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9639 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9641 if test $build = $target ; then
9644 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9647 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9651 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9657 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9658 if test -n "$with_build_time_tools"; then
9659 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9660 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9661 if test -x $with_build_time_tools/dlltool; then
9662 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9663 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9664 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9665 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9667 echo "$as_me:$LINENO: result
: no
" >&5
9668 echo "${ECHO_T}no
" >&6
9670 elif test $build != $host && test $have_gcc_for_target = yes; then
9671 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9672 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9673 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9676 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9677 # Extract the first word of "dlltool
", so it can be a program name with args.
9678 set dummy dlltool; ac_word=$2
9679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9681 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9682 echo $ECHO_N "(cached
) $ECHO_C" >&6
9684 case $DLLTOOL_FOR_TARGET in
9686 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 for as_dir in $gcc_cv_tool_dirs
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9696 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9697 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9706 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9708 if test -n "$DLLTOOL_FOR_TARGET"; then
9709 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9710 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9712 echo "$as_me:$LINENO: result
: no
" >&5
9713 echo "${ECHO_T}no
" >&6
9717 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9720 if test -n "$DLLTOOL_FOR_TARGET"; then
9721 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9722 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9723 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9726 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9727 for ncn_progname in dlltool; do
9728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9729 set dummy ${ncn_progname}; ac_word=$2
9730 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9731 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9732 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9733 echo $ECHO_N "(cached
) $ECHO_C" >&6
9735 if test -n "$DLLTOOL_FOR_TARGET"; then
9736 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9745 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9746 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9754 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9755 if test -n "$DLLTOOL_FOR_TARGET"; then
9756 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9757 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9759 echo "$as_me:$LINENO: result
: no
" >&5
9760 echo "${ECHO_T}no
" >&6
9766 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9767 for ncn_progname in dlltool; do
9768 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9769 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9770 if test -x $with_build_time_tools/${ncn_progname}; then
9771 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9772 echo "$as_me:$LINENO: result
: yes" >&5
9773 echo "${ECHO_T}yes" >&6
9776 echo "$as_me:$LINENO: result
: no
" >&5
9777 echo "${ECHO_T}no
" >&6
9782 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9783 for ncn_progname in dlltool; do
9784 if test -n "$ncn_target_tool_prefix"; then
9785 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9786 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9787 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9788 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9789 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9790 echo $ECHO_N "(cached
) $ECHO_C" >&6
9792 if test -n "$DLLTOOL_FOR_TARGET"; then
9793 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9799 test -z "$as_dir" && as_dir=.
9800 for ac_exec_ext in '' $ac_executable_extensions; do
9801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9802 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9803 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9811 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9812 if test -n "$DLLTOOL_FOR_TARGET"; then
9813 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9814 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9816 echo "$as_me:$LINENO: result
: no
" >&5
9817 echo "${ECHO_T}no
" >&6
9821 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9822 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9823 set dummy ${ncn_progname}; ac_word=$2
9824 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9825 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9826 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9827 echo $ECHO_N "(cached
) $ECHO_C" >&6
9829 if test -n "$DLLTOOL_FOR_TARGET"; then
9830 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9836 test -z "$as_dir" && as_dir=.
9837 for ac_exec_ext in '' $ac_executable_extensions; do
9838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9839 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9840 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9848 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9849 if test -n "$DLLTOOL_FOR_TARGET"; then
9850 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9851 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9853 echo "$as_me:$LINENO: result
: no
" >&5
9854 echo "${ECHO_T}no
" >&6
9858 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9862 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9864 if test $build = $target ; then
9865 DLLTOOL_FOR_TARGET="$2"
9867 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9870 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9874 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9880 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9881 if test -n "$with_build_time_tools"; then
9882 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9883 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9884 if test -x $with_build_time_tools/ld; then
9885 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9886 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9887 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9888 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9890 echo "$as_me:$LINENO: result
: no
" >&5
9891 echo "${ECHO_T}no
" >&6
9893 elif test $build != $host && test $have_gcc_for_target = yes; then
9894 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9895 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9896 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9899 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9900 # Extract the first word of "ld
", so it can be a program name with args.
9901 set dummy ld; ac_word=$2
9902 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9903 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9904 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9905 echo $ECHO_N "(cached
) $ECHO_C" >&6
9907 case $LD_FOR_TARGET in
9909 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 for as_dir in $gcc_cv_tool_dirs
9916 test -z "$as_dir" && as_dir=.
9917 for ac_exec_ext in '' $ac_executable_extensions; do
9918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9920 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9929 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9931 if test -n "$LD_FOR_TARGET"; then
9932 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9933 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9935 echo "$as_me:$LINENO: result
: no
" >&5
9936 echo "${ECHO_T}no
" >&6
9940 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9943 if test -n "$LD_FOR_TARGET"; then
9944 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9945 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9946 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9949 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9950 for ncn_progname in ld; do
9951 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9952 set dummy ${ncn_progname}; ac_word=$2
9953 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9954 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9955 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9956 echo $ECHO_N "(cached
) $ECHO_C" >&6
9958 if test -n "$LD_FOR_TARGET"; then
9959 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9965 test -z "$as_dir" && as_dir=.
9966 for ac_exec_ext in '' $ac_executable_extensions; do
9967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9968 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9969 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9977 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9978 if test -n "$LD_FOR_TARGET"; then
9979 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9980 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9982 echo "$as_me:$LINENO: result
: no
" >&5
9983 echo "${ECHO_T}no
" >&6
9989 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9990 for ncn_progname in ld; do
9991 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9992 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9993 if test -x $with_build_time_tools/${ncn_progname}; then
9994 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9995 echo "$as_me:$LINENO: result
: yes" >&5
9996 echo "${ECHO_T}yes" >&6
9999 echo "$as_me:$LINENO: result
: no
" >&5
10000 echo "${ECHO_T}no
" >&6
10005 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10006 for ncn_progname in ld; do
10007 if test -n "$ncn_target_tool_prefix"; then
10008 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10009 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10010 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10012 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10013 echo $ECHO_N "(cached
) $ECHO_C" >&6
10015 if test -n "$LD_FOR_TARGET"; then
10016 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10019 for as_dir in $PATH
10022 test -z "$as_dir" && as_dir=.
10023 for ac_exec_ext in '' $ac_executable_extensions; do
10024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10025 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10034 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10035 if test -n "$LD_FOR_TARGET"; then
10036 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10037 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10039 echo "$as_me:$LINENO: result
: no
" >&5
10040 echo "${ECHO_T}no
" >&6
10044 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10046 set dummy ${ncn_progname}; ac_word=$2
10047 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10049 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10050 echo $ECHO_N "(cached
) $ECHO_C" >&6
10052 if test -n "$LD_FOR_TARGET"; then
10053 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10056 for as_dir in $PATH
10059 test -z "$as_dir" && as_dir=.
10060 for ac_exec_ext in '' $ac_executable_extensions; do
10061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10062 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10063 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10071 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10072 if test -n "$LD_FOR_TARGET"; then
10073 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10074 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10076 echo "$as_me:$LINENO: result
: no
" >&5
10077 echo "${ECHO_T}no
" >&6
10081 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10085 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10087 if test $build = $target ; then
10090 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10093 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10097 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10103 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10104 if test -n "$with_build_time_tools"; then
10105 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10106 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10107 if test -x $with_build_time_tools/lipo; then
10108 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10109 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10110 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10111 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10113 echo "$as_me:$LINENO: result
: no
" >&5
10114 echo "${ECHO_T}no
" >&6
10116 elif test $build != $host && test $have_gcc_for_target = yes; then
10117 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10118 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10119 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10122 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10123 # Extract the first word of "lipo
", so it can be a program name with args.
10124 set dummy lipo; ac_word=$2
10125 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10126 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10127 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10128 echo $ECHO_N "(cached
) $ECHO_C" >&6
10130 case $LIPO_FOR_TARGET in
10132 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10136 for as_dir in $gcc_cv_tool_dirs
10139 test -z "$as_dir" && as_dir=.
10140 for ac_exec_ext in '' $ac_executable_extensions; do
10141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10142 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10152 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10154 if test -n "$LIPO_FOR_TARGET"; then
10155 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10156 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10158 echo "$as_me:$LINENO: result
: no
" >&5
10159 echo "${ECHO_T}no
" >&6
10163 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10166 if test -n "$LIPO_FOR_TARGET"; then
10167 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10168 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10169 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10172 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10173 for ncn_progname in lipo; do
10174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10175 set dummy ${ncn_progname}; ac_word=$2
10176 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10177 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10178 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10179 echo $ECHO_N "(cached
) $ECHO_C" >&6
10181 if test -n "$LIPO_FOR_TARGET"; then
10182 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10185 for as_dir in $PATH
10188 test -z "$as_dir" && as_dir=.
10189 for ac_exec_ext in '' $ac_executable_extensions; do
10190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10191 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10192 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10200 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10201 if test -n "$LIPO_FOR_TARGET"; then
10202 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10203 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10205 echo "$as_me:$LINENO: result
: no
" >&5
10206 echo "${ECHO_T}no
" >&6
10212 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10213 for ncn_progname in lipo; do
10214 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10215 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10216 if test -x $with_build_time_tools/${ncn_progname}; then
10217 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10218 echo "$as_me:$LINENO: result
: yes" >&5
10219 echo "${ECHO_T}yes" >&6
10222 echo "$as_me:$LINENO: result
: no
" >&5
10223 echo "${ECHO_T}no
" >&6
10228 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10229 for ncn_progname in lipo; do
10230 if test -n "$ncn_target_tool_prefix"; then
10231 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10232 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10233 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10234 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10235 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10236 echo $ECHO_N "(cached
) $ECHO_C" >&6
10238 if test -n "$LIPO_FOR_TARGET"; then
10239 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10242 for as_dir in $PATH
10245 test -z "$as_dir" && as_dir=.
10246 for ac_exec_ext in '' $ac_executable_extensions; do
10247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10248 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10249 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10257 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10258 if test -n "$LIPO_FOR_TARGET"; then
10259 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10260 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10262 echo "$as_me:$LINENO: result
: no
" >&5
10263 echo "${ECHO_T}no
" >&6
10267 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10269 set dummy ${ncn_progname}; ac_word=$2
10270 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10272 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10273 echo $ECHO_N "(cached
) $ECHO_C" >&6
10275 if test -n "$LIPO_FOR_TARGET"; then
10276 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10279 for as_dir in $PATH
10282 test -z "$as_dir" && as_dir=.
10283 for ac_exec_ext in '' $ac_executable_extensions; do
10284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10286 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10294 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10295 if test -n "$LIPO_FOR_TARGET"; then
10296 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10297 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10299 echo "$as_me:$LINENO: result
: no
" >&5
10300 echo "${ECHO_T}no
" >&6
10304 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10308 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10310 if test $build = $target ; then
10311 LIPO_FOR_TARGET="$2"
10313 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10316 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10320 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10326 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10327 if test -n "$with_build_time_tools"; then
10328 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10329 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10330 if test -x $with_build_time_tools/nm; then
10331 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10332 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10333 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10334 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10336 echo "$as_me:$LINENO: result
: no
" >&5
10337 echo "${ECHO_T}no
" >&6
10339 elif test $build != $host && test $have_gcc_for_target = yes; then
10340 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10341 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10342 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10345 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10346 # Extract the first word of "nm
", so it can be a program name with args.
10347 set dummy nm; ac_word=$2
10348 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10349 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10350 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10351 echo $ECHO_N "(cached
) $ECHO_C" >&6
10353 case $NM_FOR_TARGET in
10355 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10359 for as_dir in $gcc_cv_tool_dirs
10362 test -z "$as_dir" && as_dir=.
10363 for ac_exec_ext in '' $ac_executable_extensions; do
10364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10365 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10366 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10375 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10377 if test -n "$NM_FOR_TARGET"; then
10378 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10379 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10381 echo "$as_me:$LINENO: result
: no
" >&5
10382 echo "${ECHO_T}no
" >&6
10386 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10389 if test -n "$NM_FOR_TARGET"; then
10390 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10391 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10392 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10395 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10396 for ncn_progname in nm; do
10397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10398 set dummy ${ncn_progname}; ac_word=$2
10399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10401 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10402 echo $ECHO_N "(cached
) $ECHO_C" >&6
10404 if test -n "$NM_FOR_TARGET"; then
10405 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10408 for as_dir in $PATH
10411 test -z "$as_dir" && as_dir=.
10412 for ac_exec_ext in '' $ac_executable_extensions; do
10413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10414 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10423 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10424 if test -n "$NM_FOR_TARGET"; then
10425 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10426 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10428 echo "$as_me:$LINENO: result
: no
" >&5
10429 echo "${ECHO_T}no
" >&6
10435 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10436 for ncn_progname in nm; do
10437 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10438 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10439 if test -x $with_build_time_tools/${ncn_progname}; then
10440 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10441 echo "$as_me:$LINENO: result
: yes" >&5
10442 echo "${ECHO_T}yes" >&6
10445 echo "$as_me:$LINENO: result
: no
" >&5
10446 echo "${ECHO_T}no
" >&6
10451 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10452 for ncn_progname in nm; do
10453 if test -n "$ncn_target_tool_prefix"; then
10454 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10455 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10456 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10457 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10458 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10459 echo $ECHO_N "(cached
) $ECHO_C" >&6
10461 if test -n "$NM_FOR_TARGET"; then
10462 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10465 for as_dir in $PATH
10468 test -z "$as_dir" && as_dir=.
10469 for ac_exec_ext in '' $ac_executable_extensions; do
10470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10471 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10472 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10480 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10481 if test -n "$NM_FOR_TARGET"; then
10482 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10483 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10485 echo "$as_me:$LINENO: result
: no
" >&5
10486 echo "${ECHO_T}no
" >&6
10490 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10492 set dummy ${ncn_progname}; ac_word=$2
10493 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10494 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10495 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10496 echo $ECHO_N "(cached
) $ECHO_C" >&6
10498 if test -n "$NM_FOR_TARGET"; then
10499 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10502 for as_dir in $PATH
10505 test -z "$as_dir" && as_dir=.
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10509 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10517 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10518 if test -n "$NM_FOR_TARGET"; then
10519 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10520 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10522 echo "$as_me:$LINENO: result
: no
" >&5
10523 echo "${ECHO_T}no
" >&6
10527 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10531 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10533 if test $build = $target ; then
10536 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10539 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10543 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10549 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10550 if test -n "$with_build_time_tools"; then
10551 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10552 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10553 if test -x $with_build_time_tools/objdump; then
10554 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10555 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10556 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10557 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10559 echo "$as_me:$LINENO: result
: no
" >&5
10560 echo "${ECHO_T}no
" >&6
10562 elif test $build != $host && test $have_gcc_for_target = yes; then
10563 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10564 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10565 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10568 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10569 # Extract the first word of "objdump
", so it can be a program name with args.
10570 set dummy objdump; ac_word=$2
10571 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10572 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10573 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10574 echo $ECHO_N "(cached
) $ECHO_C" >&6
10576 case $OBJDUMP_FOR_TARGET in
10578 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $gcc_cv_tool_dirs
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10589 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10598 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10600 if test -n "$OBJDUMP_FOR_TARGET"; then
10601 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10602 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10604 echo "$as_me:$LINENO: result
: no
" >&5
10605 echo "${ECHO_T}no
" >&6
10609 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10612 if test -n "$OBJDUMP_FOR_TARGET"; then
10613 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10614 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10615 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10618 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10619 for ncn_progname in objdump; do
10620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10621 set dummy ${ncn_progname}; ac_word=$2
10622 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10623 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10624 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10625 echo $ECHO_N "(cached
) $ECHO_C" >&6
10627 if test -n "$OBJDUMP_FOR_TARGET"; then
10628 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10634 test -z "$as_dir" && as_dir=.
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10638 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10646 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10647 if test -n "$OBJDUMP_FOR_TARGET"; then
10648 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10649 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10651 echo "$as_me:$LINENO: result
: no
" >&5
10652 echo "${ECHO_T}no
" >&6
10658 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10659 for ncn_progname in objdump; do
10660 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10661 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10662 if test -x $with_build_time_tools/${ncn_progname}; then
10663 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10664 echo "$as_me:$LINENO: result
: yes" >&5
10665 echo "${ECHO_T}yes" >&6
10668 echo "$as_me:$LINENO: result
: no
" >&5
10669 echo "${ECHO_T}no
" >&6
10674 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10675 for ncn_progname in objdump; do
10676 if test -n "$ncn_target_tool_prefix"; then
10677 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10678 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10681 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10682 echo $ECHO_N "(cached
) $ECHO_C" >&6
10684 if test -n "$OBJDUMP_FOR_TARGET"; then
10685 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10688 for as_dir in $PATH
10691 test -z "$as_dir" && as_dir=.
10692 for ac_exec_ext in '' $ac_executable_extensions; do
10693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10694 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10703 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10704 if test -n "$OBJDUMP_FOR_TARGET"; then
10705 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10706 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10708 echo "$as_me:$LINENO: result
: no
" >&5
10709 echo "${ECHO_T}no
" >&6
10713 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10715 set dummy ${ncn_progname}; ac_word=$2
10716 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10717 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10718 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10719 echo $ECHO_N "(cached
) $ECHO_C" >&6
10721 if test -n "$OBJDUMP_FOR_TARGET"; then
10722 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10725 for as_dir in $PATH
10728 test -z "$as_dir" && as_dir=.
10729 for ac_exec_ext in '' $ac_executable_extensions; do
10730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10731 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10732 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10740 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10741 if test -n "$OBJDUMP_FOR_TARGET"; then
10742 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10743 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10745 echo "$as_me:$LINENO: result
: no
" >&5
10746 echo "${ECHO_T}no
" >&6
10750 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10754 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10756 if test $build = $target ; then
10757 OBJDUMP_FOR_TARGET="$2"
10759 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10762 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10766 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10772 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10773 if test -n "$with_build_time_tools"; then
10774 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10775 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10776 if test -x $with_build_time_tools/ranlib; then
10777 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10778 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10779 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10780 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10782 echo "$as_me:$LINENO: result
: no
" >&5
10783 echo "${ECHO_T}no
" >&6
10785 elif test $build != $host && test $have_gcc_for_target = yes; then
10786 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10787 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10788 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10791 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10792 # Extract the first word of "ranlib
", so it can be a program name with args.
10793 set dummy ranlib; ac_word=$2
10794 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10795 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10796 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10797 echo $ECHO_N "(cached
) $ECHO_C" >&6
10799 case $RANLIB_FOR_TARGET in
10801 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10805 for as_dir in $gcc_cv_tool_dirs
10808 test -z "$as_dir" && as_dir=.
10809 for ac_exec_ext in '' $ac_executable_extensions; do
10810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10811 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10812 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10821 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10823 if test -n "$RANLIB_FOR_TARGET"; then
10824 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10825 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10827 echo "$as_me:$LINENO: result
: no
" >&5
10828 echo "${ECHO_T}no
" >&6
10832 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10835 if test -n "$RANLIB_FOR_TARGET"; then
10836 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10837 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10838 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10841 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10842 for ncn_progname in ranlib; do
10843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10844 set dummy ${ncn_progname}; ac_word=$2
10845 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10847 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10848 echo $ECHO_N "(cached
) $ECHO_C" >&6
10850 if test -n "$RANLIB_FOR_TARGET"; then
10851 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10857 test -z "$as_dir" && as_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10860 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10869 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10870 if test -n "$RANLIB_FOR_TARGET"; then
10871 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10872 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10874 echo "$as_me:$LINENO: result
: no
" >&5
10875 echo "${ECHO_T}no
" >&6
10881 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10882 for ncn_progname in ranlib; do
10883 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10884 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10885 if test -x $with_build_time_tools/${ncn_progname}; then
10886 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10887 echo "$as_me:$LINENO: result
: yes" >&5
10888 echo "${ECHO_T}yes" >&6
10891 echo "$as_me:$LINENO: result
: no
" >&5
10892 echo "${ECHO_T}no
" >&6
10897 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10898 for ncn_progname in ranlib; do
10899 if test -n "$ncn_target_tool_prefix"; then
10900 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10901 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10902 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10903 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10904 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10905 echo $ECHO_N "(cached
) $ECHO_C" >&6
10907 if test -n "$RANLIB_FOR_TARGET"; then
10908 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10911 for as_dir in $PATH
10914 test -z "$as_dir" && as_dir=.
10915 for ac_exec_ext in '' $ac_executable_extensions; do
10916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10917 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10918 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10926 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10927 if test -n "$RANLIB_FOR_TARGET"; then
10928 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10929 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10931 echo "$as_me:$LINENO: result
: no
" >&5
10932 echo "${ECHO_T}no
" >&6
10936 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10938 set dummy ${ncn_progname}; ac_word=$2
10939 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10940 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10941 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10942 echo $ECHO_N "(cached
) $ECHO_C" >&6
10944 if test -n "$RANLIB_FOR_TARGET"; then
10945 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10948 for as_dir in $PATH
10951 test -z "$as_dir" && as_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10954 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10955 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10963 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10964 if test -n "$RANLIB_FOR_TARGET"; then
10965 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10966 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10968 echo "$as_me:$LINENO: result
: no
" >&5
10969 echo "${ECHO_T}no
" >&6
10973 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10977 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10979 if test $build = $target ; then
10980 RANLIB_FOR_TARGET="$2"
10982 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10985 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10989 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10995 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10996 if test -n "$with_build_time_tools"; then
10997 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10998 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10999 if test -x $with_build_time_tools/strip; then
11000 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11001 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11002 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11003 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
11005 echo "$as_me:$LINENO: result
: no
" >&5
11006 echo "${ECHO_T}no
" >&6
11008 elif test $build != $host && test $have_gcc_for_target = yes; then
11009 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11010 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11011 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11014 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11015 # Extract the first word of "strip
", so it can be a program name with args.
11016 set dummy strip; ac_word=$2
11017 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11019 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11020 echo $ECHO_N "(cached
) $ECHO_C" >&6
11022 case $STRIP_FOR_TARGET in
11024 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11028 for as_dir in $gcc_cv_tool_dirs
11031 test -z "$as_dir" && as_dir=.
11032 for ac_exec_ext in '' $ac_executable_extensions; do
11033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11034 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11044 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11046 if test -n "$STRIP_FOR_TARGET"; then
11047 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11048 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11050 echo "$as_me:$LINENO: result
: no
" >&5
11051 echo "${ECHO_T}no
" >&6
11055 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11058 if test -n "$STRIP_FOR_TARGET"; then
11059 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11060 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11061 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11064 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11065 for ncn_progname in strip; do
11066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11067 set dummy ${ncn_progname}; ac_word=$2
11068 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11069 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11070 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11071 echo $ECHO_N "(cached
) $ECHO_C" >&6
11073 if test -n "$STRIP_FOR_TARGET"; then
11074 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $PATH
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11083 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11084 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11092 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11093 if test -n "$STRIP_FOR_TARGET"; then
11094 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11095 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11097 echo "$as_me:$LINENO: result
: no
" >&5
11098 echo "${ECHO_T}no
" >&6
11104 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11105 for ncn_progname in strip; do
11106 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11107 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11108 if test -x $with_build_time_tools/${ncn_progname}; then
11109 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11110 echo "$as_me:$LINENO: result
: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11114 echo "$as_me:$LINENO: result
: no
" >&5
11115 echo "${ECHO_T}no
" >&6
11120 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11121 for ncn_progname in strip; do
11122 if test -n "$ncn_target_tool_prefix"; then
11123 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11124 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11125 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11126 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11127 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11128 echo $ECHO_N "(cached
) $ECHO_C" >&6
11130 if test -n "$STRIP_FOR_TARGET"; then
11131 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11134 for as_dir in $PATH
11137 test -z "$as_dir" && as_dir=.
11138 for ac_exec_ext in '' $ac_executable_extensions; do
11139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11140 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11141 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11149 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11150 if test -n "$STRIP_FOR_TARGET"; then
11151 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11152 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11154 echo "$as_me:$LINENO: result
: no
" >&5
11155 echo "${ECHO_T}no
" >&6
11159 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11160 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11161 set dummy ${ncn_progname}; ac_word=$2
11162 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11163 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11164 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11165 echo $ECHO_N "(cached
) $ECHO_C" >&6
11167 if test -n "$STRIP_FOR_TARGET"; then
11168 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11171 for as_dir in $PATH
11174 test -z "$as_dir" && as_dir=.
11175 for ac_exec_ext in '' $ac_executable_extensions; do
11176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11177 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11178 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11186 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11187 if test -n "$STRIP_FOR_TARGET"; then
11188 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11189 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11191 echo "$as_me:$LINENO: result
: no
" >&5
11192 echo "${ECHO_T}no
" >&6
11196 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11200 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11202 if test $build = $target ; then
11203 STRIP_FOR_TARGET="$2"
11205 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11208 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11212 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11218 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11219 if test -n "$with_build_time_tools"; then
11220 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11221 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11222 if test -x $with_build_time_tools/windres; then
11223 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11224 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11225 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11226 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11228 echo "$as_me:$LINENO: result
: no
" >&5
11229 echo "${ECHO_T}no
" >&6
11231 elif test $build != $host && test $have_gcc_for_target = yes; then
11232 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11233 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11234 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11237 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11238 # Extract the first word of "windres
", so it can be a program name with args.
11239 set dummy windres; ac_word=$2
11240 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11241 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11242 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11243 echo $ECHO_N "(cached
) $ECHO_C" >&6
11245 case $WINDRES_FOR_TARGET in
11247 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11251 for as_dir in $gcc_cv_tool_dirs
11254 test -z "$as_dir" && as_dir=.
11255 for ac_exec_ext in '' $ac_executable_extensions; do
11256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11257 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11258 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11267 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11269 if test -n "$WINDRES_FOR_TARGET"; then
11270 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11271 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11273 echo "$as_me:$LINENO: result
: no
" >&5
11274 echo "${ECHO_T}no
" >&6
11278 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11281 if test -n "$WINDRES_FOR_TARGET"; then
11282 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11283 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11284 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11287 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11288 for ncn_progname in windres; do
11289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11290 set dummy ${ncn_progname}; ac_word=$2
11291 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11292 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11293 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11294 echo $ECHO_N "(cached
) $ECHO_C" >&6
11296 if test -n "$WINDRES_FOR_TARGET"; then
11297 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $PATH
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11307 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11315 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11316 if test -n "$WINDRES_FOR_TARGET"; then
11317 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11318 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11320 echo "$as_me:$LINENO: result
: no
" >&5
11321 echo "${ECHO_T}no
" >&6
11327 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11328 for ncn_progname in windres; do
11329 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11330 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11331 if test -x $with_build_time_tools/${ncn_progname}; then
11332 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11333 echo "$as_me:$LINENO: result
: yes" >&5
11334 echo "${ECHO_T}yes" >&6
11337 echo "$as_me:$LINENO: result
: no
" >&5
11338 echo "${ECHO_T}no
" >&6
11343 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11344 for ncn_progname in windres; do
11345 if test -n "$ncn_target_tool_prefix"; then
11346 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11347 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11348 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11349 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11350 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11351 echo $ECHO_N "(cached
) $ECHO_C" >&6
11353 if test -n "$WINDRES_FOR_TARGET"; then
11354 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $PATH
11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11363 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11364 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11372 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11373 if test -n "$WINDRES_FOR_TARGET"; then
11374 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11375 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11377 echo "$as_me:$LINENO: result
: no
" >&5
11378 echo "${ECHO_T}no
" >&6
11382 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11384 set dummy ${ncn_progname}; ac_word=$2
11385 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11387 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11388 echo $ECHO_N "(cached
) $ECHO_C" >&6
11390 if test -n "$WINDRES_FOR_TARGET"; then
11391 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11394 for as_dir in $PATH
11397 test -z "$as_dir" && as_dir=.
11398 for ac_exec_ext in '' $ac_executable_extensions; do
11399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11400 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11409 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11410 if test -n "$WINDRES_FOR_TARGET"; then
11411 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11412 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11414 echo "$as_me:$LINENO: result
: no
" >&5
11415 echo "${ECHO_T}no
" >&6
11419 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11423 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11425 if test $build = $target ; then
11426 WINDRES_FOR_TARGET="$2"
11428 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11431 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11435 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11441 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11442 if test -n "$with_build_time_tools"; then
11443 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11444 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11445 if test -x $with_build_time_tools/windmc; then
11446 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11447 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11448 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11449 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11451 echo "$as_me:$LINENO: result
: no
" >&5
11452 echo "${ECHO_T}no
" >&6
11454 elif test $build != $host && test $have_gcc_for_target = yes; then
11455 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11456 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11457 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11460 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11461 # Extract the first word of "windmc
", so it can be a program name with args.
11462 set dummy windmc; ac_word=$2
11463 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11464 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11465 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11466 echo $ECHO_N "(cached
) $ECHO_C" >&6
11468 case $WINDMC_FOR_TARGET in
11470 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11474 for as_dir in $gcc_cv_tool_dirs
11477 test -z "$as_dir" && as_dir=.
11478 for ac_exec_ext in '' $ac_executable_extensions; do
11479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11480 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11481 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11490 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11492 if test -n "$WINDMC_FOR_TARGET"; then
11493 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11494 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11496 echo "$as_me:$LINENO: result
: no
" >&5
11497 echo "${ECHO_T}no
" >&6
11501 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11504 if test -n "$WINDMC_FOR_TARGET"; then
11505 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11506 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11507 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11510 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11511 for ncn_progname in windmc; do
11512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11513 set dummy ${ncn_progname}; ac_word=$2
11514 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11515 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11516 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11517 echo $ECHO_N "(cached
) $ECHO_C" >&6
11519 if test -n "$WINDMC_FOR_TARGET"; then
11520 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11523 for as_dir in $PATH
11526 test -z "$as_dir" && as_dir=.
11527 for ac_exec_ext in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11529 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11530 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11538 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11539 if test -n "$WINDMC_FOR_TARGET"; then
11540 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11541 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11543 echo "$as_me:$LINENO: result
: no
" >&5
11544 echo "${ECHO_T}no
" >&6
11550 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11551 for ncn_progname in windmc; do
11552 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11553 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11554 if test -x $with_build_time_tools/${ncn_progname}; then
11555 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11556 echo "$as_me:$LINENO: result
: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11560 echo "$as_me:$LINENO: result
: no
" >&5
11561 echo "${ECHO_T}no
" >&6
11566 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11567 for ncn_progname in windmc; do
11568 if test -n "$ncn_target_tool_prefix"; then
11569 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11570 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11571 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11572 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11573 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11574 echo $ECHO_N "(cached
) $ECHO_C" >&6
11576 if test -n "$WINDMC_FOR_TARGET"; then
11577 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $PATH
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11587 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11595 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11596 if test -n "$WINDMC_FOR_TARGET"; then
11597 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11598 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11600 echo "$as_me:$LINENO: result
: no
" >&5
11601 echo "${ECHO_T}no
" >&6
11605 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11607 set dummy ${ncn_progname}; ac_word=$2
11608 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11609 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11610 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11611 echo $ECHO_N "(cached
) $ECHO_C" >&6
11613 if test -n "$WINDMC_FOR_TARGET"; then
11614 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617 for as_dir in $PATH
11620 test -z "$as_dir" && as_dir=.
11621 for ac_exec_ext in '' $ac_executable_extensions; do
11622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11623 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11624 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11632 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11633 if test -n "$WINDMC_FOR_TARGET"; then
11634 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11635 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11637 echo "$as_me:$LINENO: result
: no
" >&5
11638 echo "${ECHO_T}no
" >&6
11642 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11646 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11648 if test $build = $target ; then
11649 WINDMC_FOR_TARGET="$2"
11651 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11654 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11658 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11662 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11664 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11665 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11666 if test "x
${build}" != "x
${host}" ; then
11667 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11668 # We already found the complete path
11669 ac_dir=`dirname $AR_FOR_TARGET`
11670 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11671 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11673 # Canadian cross, just use what we found
11674 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11675 echo "${ECHO_T}pre-installed
" >&6
11679 case " ${configdirs} " in
11684 if test $ok = yes; then
11685 # An in-tree tool is available and we can use it
11686 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11687 echo "$as_me:$LINENO: result
: just compiled
" >&5
11688 echo "${ECHO_T}just compiled
" >&6
11689 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11690 # We already found the complete path
11691 ac_dir=`dirname $AR_FOR_TARGET`
11692 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11693 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11694 elif test "x
$target" = "x
$host"; then
11695 # We can use an host tool
11696 AR_FOR_TARGET='$(AR)'
11697 echo "$as_me:$LINENO: result
: host tool
" >&5
11698 echo "${ECHO_T}host tool
" >&6
11700 # We need a cross tool
11701 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11702 echo "${ECHO_T}pre-installed
" >&6
11706 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11707 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11708 if test "x
${build}" != "x
${host}" ; then
11709 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11710 # We already found the complete path
11711 ac_dir=`dirname $AS_FOR_TARGET`
11712 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11713 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11715 # Canadian cross, just use what we found
11716 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11717 echo "${ECHO_T}pre-installed
" >&6
11721 case " ${configdirs} " in
11726 if test $ok = yes; then
11727 # An in-tree tool is available and we can use it
11728 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11729 echo "$as_me:$LINENO: result
: just compiled
" >&5
11730 echo "${ECHO_T}just compiled
" >&6
11731 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11732 # We already found the complete path
11733 ac_dir=`dirname $AS_FOR_TARGET`
11734 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11735 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11736 elif test "x
$target" = "x
$host"; then
11737 # We can use an host tool
11738 AS_FOR_TARGET='$(AS)'
11739 echo "$as_me:$LINENO: result
: host tool
" >&5
11740 echo "${ECHO_T}host tool
" >&6
11742 # We need a cross tool
11743 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11744 echo "${ECHO_T}pre-installed
" >&6
11748 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11749 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11750 if test "x
${build}" != "x
${host}" ; then
11751 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11752 # We already found the complete path
11753 ac_dir=`dirname $CC_FOR_TARGET`
11754 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11755 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11757 # Canadian cross, just use what we found
11758 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11759 echo "${ECHO_T}pre-installed
" >&6
11763 case " ${configdirs} " in
11768 if test $ok = yes; then
11769 # An in-tree tool is available and we can use it
11770 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11771 echo "$as_me:$LINENO: result
: just compiled
" >&5
11772 echo "${ECHO_T}just compiled
" >&6
11773 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11774 # We already found the complete path
11775 ac_dir=`dirname $CC_FOR_TARGET`
11776 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11777 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11778 elif test "x
$target" = "x
$host"; then
11779 # We can use an host tool
11780 CC_FOR_TARGET='$(CC)'
11781 echo "$as_me:$LINENO: result
: host tool
" >&5
11782 echo "${ECHO_T}host tool
" >&6
11784 # We need a cross tool
11785 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11786 echo "${ECHO_T}pre-installed
" >&6
11790 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11791 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11792 if test "x
${build}" != "x
${host}" ; then
11793 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11794 # We already found the complete path
11795 ac_dir=`dirname $CXX_FOR_TARGET`
11796 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11797 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11799 # Canadian cross, just use what we found
11800 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11801 echo "${ECHO_T}pre-installed
" >&6
11805 case " ${configdirs} " in
11809 case ,${enable_languages}, in
11813 if test $ok = yes; then
11814 # An in-tree tool is available and we can use it
11815 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'
11816 echo "$as_me:$LINENO: result
: just compiled
" >&5
11817 echo "${ECHO_T}just compiled
" >&6
11818 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11819 # We already found the complete path
11820 ac_dir=`dirname $CXX_FOR_TARGET`
11821 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11822 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11823 elif test "x
$target" = "x
$host"; then
11824 # We can use an host tool
11825 CXX_FOR_TARGET='$(CXX)'
11826 echo "$as_me:$LINENO: result
: host tool
" >&5
11827 echo "${ECHO_T}host tool
" >&6
11829 # We need a cross tool
11830 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11831 echo "${ECHO_T}pre-installed
" >&6
11835 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11836 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11837 if test "x
${build}" != "x
${host}" ; then
11838 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11839 # We already found the complete path
11840 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11841 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11842 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11844 # Canadian cross, just use what we found
11845 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11846 echo "${ECHO_T}pre-installed
" >&6
11850 case " ${configdirs} " in
11854 case ,${enable_languages}, in
11858 if test $ok = yes; then
11859 # An in-tree tool is available and we can use it
11860 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'
11861 echo "$as_me:$LINENO: result
: just compiled
" >&5
11862 echo "${ECHO_T}just compiled
" >&6
11863 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11864 # We already found the complete path
11865 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11866 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11867 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11868 elif test "x
$target" = "x
$host"; then
11869 # We can use an host tool
11870 RAW_CXX_FOR_TARGET='$(CXX)'
11871 echo "$as_me:$LINENO: result
: host tool
" >&5
11872 echo "${ECHO_T}host tool
" >&6
11874 # We need a cross tool
11875 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11876 echo "${ECHO_T}pre-installed
" >&6
11880 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11881 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11882 if test "x
${build}" != "x
${host}" ; then
11883 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11884 # We already found the complete path
11885 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11886 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11887 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11889 # Canadian cross, just use what we found
11890 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11891 echo "${ECHO_T}pre-installed
" >&6
11895 case " ${configdirs} " in
11900 if test $ok = yes; then
11901 # An in-tree tool is available and we can use it
11902 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11903 echo "$as_me:$LINENO: result
: just compiled
" >&5
11904 echo "${ECHO_T}just compiled
" >&6
11905 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11906 # We already found the complete path
11907 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11908 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11909 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11910 elif test "x
$target" = "x
$host"; then
11911 # We can use an host tool
11912 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11913 echo "$as_me:$LINENO: result
: host tool
" >&5
11914 echo "${ECHO_T}host tool
" >&6
11916 # We need a cross tool
11917 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11918 echo "${ECHO_T}pre-installed
" >&6
11922 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11923 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11924 if test "x
${build}" != "x
${host}" ; then
11925 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11926 # We already found the complete path
11927 ac_dir=`dirname $GCC_FOR_TARGET`
11928 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11929 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11931 # Canadian cross, just use what we found
11932 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11933 echo "${ECHO_T}pre-installed
" >&6
11937 case " ${configdirs} " in
11942 if test $ok = yes; then
11943 # An in-tree tool is available and we can use it
11944 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11945 echo "$as_me:$LINENO: result
: just compiled
" >&5
11946 echo "${ECHO_T}just compiled
" >&6
11947 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11948 # We already found the complete path
11949 ac_dir=`dirname $GCC_FOR_TARGET`
11950 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11951 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11952 elif test "x
$target" = "x
$host"; then
11953 # We can use an host tool
11954 GCC_FOR_TARGET='$()'
11955 echo "$as_me:$LINENO: result
: host tool
" >&5
11956 echo "${ECHO_T}host tool
" >&6
11958 # We need a cross tool
11959 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11960 echo "${ECHO_T}pre-installed
" >&6
11964 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11965 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11966 if test "x
${build}" != "x
${host}" ; then
11967 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11968 # We already found the complete path
11969 ac_dir=`dirname $GCJ_FOR_TARGET`
11970 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11971 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11973 # Canadian cross, just use what we found
11974 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11975 echo "${ECHO_T}pre-installed
" >&6
11979 case " ${configdirs} " in
11983 case ,${enable_languages}, in
11987 if test $ok = yes; then
11988 # An in-tree tool is available and we can use it
11989 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11990 echo "$as_me:$LINENO: result
: just compiled
" >&5
11991 echo "${ECHO_T}just compiled
" >&6
11992 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11993 # We already found the complete path
11994 ac_dir=`dirname $GCJ_FOR_TARGET`
11995 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11996 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11997 elif test "x
$target" = "x
$host"; then
11998 # We can use an host tool
11999 GCJ_FOR_TARGET='$(GCJ)'
12000 echo "$as_me:$LINENO: result
: host tool
" >&5
12001 echo "${ECHO_T}host tool
" >&6
12003 # We need a cross tool
12004 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12005 echo "${ECHO_T}pre-installed
" >&6
12009 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12010 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
12011 if test "x
${build}" != "x
${host}" ; then
12012 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12013 # We already found the complete path
12014 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12015 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12016 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12018 # Canadian cross, just use what we found
12019 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12020 echo "${ECHO_T}pre-installed
" >&6
12024 case " ${configdirs} " in
12028 case ,${enable_languages}, in
12032 if test $ok = yes; then
12033 # An in-tree tool is available and we can use it
12034 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12035 echo "$as_me:$LINENO: result
: just compiled
" >&5
12036 echo "${ECHO_T}just compiled
" >&6
12037 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12038 # We already found the complete path
12039 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12040 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12041 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12042 elif test "x
$target" = "x
$host"; then
12043 # We can use an host tool
12044 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12045 echo "$as_me:$LINENO: result
: host tool
" >&5
12046 echo "${ECHO_T}host tool
" >&6
12048 # We need a cross tool
12049 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12050 echo "${ECHO_T}pre-installed
" >&6
12054 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12055 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12056 if test "x
${build}" != "x
${host}" ; then
12057 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12058 # We already found the complete path
12059 ac_dir=`dirname $LD_FOR_TARGET`
12060 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12061 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12063 # Canadian cross, just use what we found
12064 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12065 echo "${ECHO_T}pre-installed
" >&6
12069 case " ${configdirs} " in
12074 if test $ok = yes; then
12075 # An in-tree tool is available and we can use it
12076 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12077 echo "$as_me:$LINENO: result
: just compiled
" >&5
12078 echo "${ECHO_T}just compiled
" >&6
12079 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12080 # We already found the complete path
12081 ac_dir=`dirname $LD_FOR_TARGET`
12082 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12083 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12084 elif test "x
$target" = "x
$host"; then
12085 # We can use an host tool
12086 LD_FOR_TARGET='$(LD)'
12087 echo "$as_me:$LINENO: result
: host tool
" >&5
12088 echo "${ECHO_T}host tool
" >&6
12090 # We need a cross tool
12091 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12092 echo "${ECHO_T}pre-installed
" >&6
12096 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12097 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12098 if test "x
${build}" != "x
${host}" ; then
12099 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12100 # We already found the complete path
12101 ac_dir=`dirname $LIPO_FOR_TARGET`
12102 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12103 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12105 # Canadian cross, just use what we found
12106 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12107 echo "${ECHO_T}pre-installed
" >&6
12110 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12111 # We already found the complete path
12112 ac_dir=`dirname $LIPO_FOR_TARGET`
12113 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12114 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12115 elif test "x
$target" = "x
$host"; then
12116 # We can use an host tool
12117 LIPO_FOR_TARGET='$(LIPO)'
12118 echo "$as_me:$LINENO: result
: host tool
" >&5
12119 echo "${ECHO_T}host tool
" >&6
12121 # We need a cross tool
12122 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12123 echo "${ECHO_T}pre-installed
" >&6
12127 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12128 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12129 if test "x
${build}" != "x
${host}" ; then
12130 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12131 # We already found the complete path
12132 ac_dir=`dirname $NM_FOR_TARGET`
12133 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12134 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12136 # Canadian cross, just use what we found
12137 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12138 echo "${ECHO_T}pre-installed
" >&6
12142 case " ${configdirs} " in
12147 if test $ok = yes; then
12148 # An in-tree tool is available and we can use it
12149 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12150 echo "$as_me:$LINENO: result
: just compiled
" >&5
12151 echo "${ECHO_T}just compiled
" >&6
12152 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12153 # We already found the complete path
12154 ac_dir=`dirname $NM_FOR_TARGET`
12155 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12156 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12157 elif test "x
$target" = "x
$host"; then
12158 # We can use an host tool
12159 NM_FOR_TARGET='$(NM)'
12160 echo "$as_me:$LINENO: result
: host tool
" >&5
12161 echo "${ECHO_T}host tool
" >&6
12163 # We need a cross tool
12164 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12165 echo "${ECHO_T}pre-installed
" >&6
12169 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12170 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12171 if test "x
${build}" != "x
${host}" ; then
12172 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12173 # We already found the complete path
12174 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12175 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12176 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12178 # Canadian cross, just use what we found
12179 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12180 echo "${ECHO_T}pre-installed
" >&6
12184 case " ${configdirs} " in
12189 if test $ok = yes; then
12190 # An in-tree tool is available and we can use it
12191 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12192 echo "$as_me:$LINENO: result
: just compiled
" >&5
12193 echo "${ECHO_T}just compiled
" >&6
12194 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12195 # We already found the complete path
12196 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12197 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12198 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12199 elif test "x
$target" = "x
$host"; then
12200 # We can use an host tool
12201 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12202 echo "$as_me:$LINENO: result
: host tool
" >&5
12203 echo "${ECHO_T}host tool
" >&6
12205 # We need a cross tool
12206 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12207 echo "${ECHO_T}pre-installed
" >&6
12211 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12212 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12213 if test "x
${build}" != "x
${host}" ; then
12214 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12215 # We already found the complete path
12216 ac_dir=`dirname $RANLIB_FOR_TARGET`
12217 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12218 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12220 # Canadian cross, just use what we found
12221 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12222 echo "${ECHO_T}pre-installed
" >&6
12226 case " ${configdirs} " in
12231 if test $ok = yes; then
12232 # An in-tree tool is available and we can use it
12233 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12234 echo "$as_me:$LINENO: result
: just compiled
" >&5
12235 echo "${ECHO_T}just compiled
" >&6
12236 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12237 # We already found the complete path
12238 ac_dir=`dirname $RANLIB_FOR_TARGET`
12239 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12240 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12241 elif test "x
$target" = "x
$host"; then
12242 # We can use an host tool
12243 RANLIB_FOR_TARGET='$(RANLIB)'
12244 echo "$as_me:$LINENO: result
: host tool
" >&5
12245 echo "${ECHO_T}host tool
" >&6
12247 # We need a cross tool
12248 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12249 echo "${ECHO_T}pre-installed
" >&6
12253 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12254 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12255 if test "x
${build}" != "x
${host}" ; then
12256 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12257 # We already found the complete path
12258 ac_dir=`dirname $STRIP_FOR_TARGET`
12259 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12260 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12262 # Canadian cross, just use what we found
12263 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12264 echo "${ECHO_T}pre-installed
" >&6
12268 case " ${configdirs} " in
12273 if test $ok = yes; then
12274 # An in-tree tool is available and we can use it
12275 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12276 echo "$as_me:$LINENO: result
: just compiled
" >&5
12277 echo "${ECHO_T}just compiled
" >&6
12278 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12279 # We already found the complete path
12280 ac_dir=`dirname $STRIP_FOR_TARGET`
12281 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12282 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12283 elif test "x
$target" = "x
$host"; then
12284 # We can use an host tool
12285 STRIP_FOR_TARGET='$(STRIP)'
12286 echo "$as_me:$LINENO: result
: host tool
" >&5
12287 echo "${ECHO_T}host tool
" >&6
12289 # We need a cross tool
12290 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12291 echo "${ECHO_T}pre-installed
" >&6
12295 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12296 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12297 if test "x
${build}" != "x
${host}" ; then
12298 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12299 # We already found the complete path
12300 ac_dir=`dirname $WINDRES_FOR_TARGET`
12301 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12302 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12304 # Canadian cross, just use what we found
12305 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12306 echo "${ECHO_T}pre-installed
" >&6
12310 case " ${configdirs} " in
12315 if test $ok = yes; then
12316 # An in-tree tool is available and we can use it
12317 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12318 echo "$as_me:$LINENO: result
: just compiled
" >&5
12319 echo "${ECHO_T}just compiled
" >&6
12320 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12321 # We already found the complete path
12322 ac_dir=`dirname $WINDRES_FOR_TARGET`
12323 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12324 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12325 elif test "x
$target" = "x
$host"; then
12326 # We can use an host tool
12327 WINDRES_FOR_TARGET='$(WINDRES)'
12328 echo "$as_me:$LINENO: result
: host tool
" >&5
12329 echo "${ECHO_T}host tool
" >&6
12331 # We need a cross tool
12332 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12333 echo "${ECHO_T}pre-installed
" >&6
12337 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12338 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12339 if test "x
${build}" != "x
${host}" ; then
12340 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12341 # We already found the complete path
12342 ac_dir=`dirname $WINDMC_FOR_TARGET`
12343 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12344 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12346 # Canadian cross, just use what we found
12347 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12348 echo "${ECHO_T}pre-installed
" >&6
12352 case " ${configdirs} " in
12357 if test $ok = yes; then
12358 # An in-tree tool is available and we can use it
12359 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12360 echo "$as_me:$LINENO: result
: just compiled
" >&5
12361 echo "${ECHO_T}just compiled
" >&6
12362 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12363 # We already found the complete path
12364 ac_dir=`dirname $WINDMC_FOR_TARGET`
12365 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12366 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12367 elif test "x
$target" = "x
$host"; then
12368 # We can use an host tool
12369 WINDMC_FOR_TARGET='$(WINDMC)'
12370 echo "$as_me:$LINENO: result
: host tool
" >&5
12371 echo "${ECHO_T}host tool
" >&6
12373 # We need a cross tool
12374 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12375 echo "${ECHO_T}pre-installed
" >&6
12383 # Certain tools may need extra flags.
12384 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12385 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12386 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12388 # When building target libraries, except in a Canadian cross, we use
12389 # the same toolchain as the compiler we just built.
12390 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12391 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12392 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12393 if test $host = $build; then
12394 case " $configdirs " in
12396 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12397 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12398 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12407 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12408 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12409 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12410 if test "${enable_maintainer_mode+set}" = set; then
12411 enableval="$enable_maintainer_mode"
12412 USE_MAINTAINER_MODE=$enableval
12414 USE_MAINTAINER_MODE=no
12416 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12417 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12420 if test "$USE_MAINTAINER_MODE" = yes; then
12421 MAINTAINER_MODE_TRUE=
12422 MAINTAINER_MODE_FALSE='#'
12424 MAINTAINER_MODE_TRUE='#'
12425 MAINTAINER_MODE_FALSE=
12427 MAINT=$MAINTAINER_MODE_TRUE
12429 # ---------------------
12430 # GCC bootstrap support
12431 # ---------------------
12433 # Stage specific cflags for build.
12438 yes) stage1_cflags="-g -Wa,-J" ;;
12439 *) stage1_cflags="-g -J" ;;
12443 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12444 if test "$GCC" = yes; then
12445 saved_CFLAGS="$CFLAGS"
12447 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12448 CFLAGS="$CFLAGS -fkeep-inline-functions"
12449 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12450 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12451 cat >conftest.$ac_ext <<_ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12458 #if (__GNUC__ < 3) \
12459 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12460 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12461 #error http://gcc.gnu.org/PR29382
12472 rm -f conftest.$ac_objext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12474 (eval $ac_compile) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try='test -z "$ac_c_werror_flag"
12482 || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 echo "$as_me:$LINENO: result
: yes" >&5
12495 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12497 echo "$as_me: failed program was
:" >&5
12498 sed 's/^/| /' conftest.$ac_ext >&5
12500 echo "$as_me:$LINENO: result
: no
" >&5
12501 echo "${ECHO_T}no
" >&6
12503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12505 CFLAGS="$saved_CFLAGS"
12510 # Enable --enable-checking in stage1 of the compiler.
12511 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12512 if test "${enable_stage1_checking+set}" = set; then
12513 enableval="$enable_stage1_checking"
12514 stage1_checking=--enable-checking=${enable_stage1_checking}
12516 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12517 stage1_checking=--enable-checking=yes,types
12519 stage1_checking=--enable-checking=$enable_checking,types
12524 # Enable -Werror in bootstrap stage2 and later.
12525 # Check whether --enable-werror or --disable-werror was given.
12526 if test "${enable_werror+set}" = set; then
12527 enableval="$enable_werror"
12530 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12536 case ${enable_werror} in
12537 yes) stage2_werror_flag="--enable-werror-always" ;;
12538 *) stage2_werror_flag="" ;;
12542 # Flags needed to enable html installing and building
12544 # Check whether --with-datarootdir or --without-datarootdir was given.
12545 if test "${with_datarootdir+set}" = set; then
12546 withval="$with_datarootdir"
12547 datarootdir="\
${prefix}/${withval}"
12549 datarootdir="\
${prefix}/share
"
12553 # Check whether --with-docdir or --without-docdir was given.
12554 if test "${with_docdir+set}" = set; then
12555 withval="$with_docdir"
12556 docdir="\
${prefix}/${withval}"
12558 docdir="\
${datarootdir}/doc
"
12562 # Check whether --with-pdfdir or --without-pdfdir was given.
12563 if test "${with_pdfdir+set}" = set; then
12564 withval="$with_pdfdir"
12565 pdfdir="\
${prefix}/${withval}"
12567 pdfdir="\
${docdir}"
12571 # Check whether --with-htmldir or --without-htmldir was given.
12572 if test "${with_htmldir+set}" = set; then
12573 withval="$with_htmldir"
12574 htmldir="\
${prefix}/${withval}"
12576 htmldir="\
${docdir}"
12584 ac_config_files="$ac_config_files Makefile
"
12585 cat >confcache <<\_ACEOF
12586 # This file is a shell script that caches the results of configure
12587 # tests run on this system so they can be shared between configure
12588 # scripts and configure runs, see configure's option --config-cache.
12589 # It is not useful on other systems. If it contains results you don't
12590 # want to keep, you may remove or edit it.
12592 # config.status only pays attention to the cache file if you give it
12593 # the --recheck option to rerun configure.
12595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12597 # following values.
12601 # The following way of writing the cache mishandles newlines in values,
12602 # but we know of no workaround that is simple, portable, and efficient.
12603 # So, don't put newlines in cache variables' values.
12604 # Ultrix sh set writes to stderr and can't be redirected directly,
12605 # and sets the high bit in the cache file unless we assign to the vars.
12608 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12610 # `set' does not quote correctly, so add quotes (double-quote
12611 # substitution turns \\\\ into \\, and sed turns \\ into \).
12614 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12617 # `set' quotes correctly as required by POSIX, so do not add quotes.
12619 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12628 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12630 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12631 if test -w $cache_file; then
12632 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12633 cat confcache >$cache_file
12635 echo "not updating unwritable cache
$cache_file"
12640 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12641 # Let make expand exec_prefix.
12642 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12644 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12645 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12646 # trailing colons and then remove the whole line if VPATH becomes empty
12647 # (actually we leave an empty line to preserve line numbers).
12648 if test "x
$srcdir" = x.; then
12649 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12650 s/:*\$(srcdir):*/:/;
12651 s/:*\${srcdir}:*/:/;
12653 s/^\([^=]*=[ ]*\):*/\1/;
12659 # Transform confdefs.h into DEFS.
12660 # Protect against shell expansion while executing Makefile rules.
12661 # Protect against Makefile macro expansion.
12663 # If the first sed substitution is executed (which looks for macros that
12664 # take arguments), then we branch to the quote section. Otherwise,
12665 # look for a macro that doesn't take arguments.
12666 cat >confdef2opt.sed <<\_ACEOF
12669 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12671 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12675 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12681 # We use echo to avoid assuming a particular line-breaking character.
12682 # The extra dot is to prevent the shell from consuming trailing
12683 # line-breaks from the sub-command output. A line-break within
12684 # single-quotes doesn't work because, if this script is created in a
12685 # platform that uses two characters for line-breaks (e.g., DOS), tr
12687 ac_LF_and_DOT
=`echo; echo .`
12688 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12689 rm -f confdef2opt.
sed
12694 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12695 # 1. Remove the extension, and $U if already installed.
12696 ac_i
=`echo "$ac_i" |
12697 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12699 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12700 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12702 LIBOBJS
=$ac_libobjs
12704 LTLIBOBJS
=$ac_ltlibobjs
12708 : ${CONFIG_STATUS=./config.status}
12709 ac_clean_files_save
=$ac_clean_files
12710 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12711 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12713 cat >$CONFIG_STATUS <<_ACEOF
12715 # Generated by $as_me.
12716 # Run this file to recreate the current configuration.
12717 # Compiler output produced by configure, useful for debugging
12718 # configure, is in config.log if it exists.
12721 ac_cs_recheck=false
12723 SHELL=\${CONFIG_SHELL-$SHELL}
12726 cat >>$CONFIG_STATUS <<\_ACEOF
12727 ## --------------------- ##
12728 ## M4sh Initialization. ##
12729 ## --------------------- ##
12731 # Be Bourne compatible
12732 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12735 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12736 # is contrary to our usage. Disable this feature.
12737 alias -g '${1+"$@"}'='"$@"'
12738 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12741 DUALCASE
=1; export DUALCASE
# for MKS sh
12743 # Support unset when possible.
12744 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12751 # Work around bugs in pre-3.0 UWIN ksh.
12752 $as_unset ENV MAIL MAILPATH
12759 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12760 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12761 LC_TELEPHONE LC_TIME
12763 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12764 eval $as_var=C
; export $as_var
12770 # Required to use basename.
12771 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12777 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12778 as_basename
=basename
12784 # Name of the executable.
12785 as_me
=`$as_basename "$0" ||
12786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12787 X"$0" : 'X\(//\)$' \| \
12788 X"$0" : 'X\(/\)$' \| \
12789 . : '\(.\)' 2>/dev/null ||
12791 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12792 /^X\/\(\/\/\)$/{ s//\1/; q; }
12793 /^X\/\(\/\).*/{ s//\1/; q; }
12797 # PATH needs CR, and LINENO needs CR and PATH.
12798 # Avoid depending upon Character Ranges.
12799 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12800 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12801 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12802 as_cr_digits
='0123456789'
12803 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12805 # The user is always right.
12806 if test "${PATH_SEPARATOR+set}" != set; then
12807 echo "#! /bin/sh" >conf$$.sh
12808 echo "exit 0" >>conf$$.sh
12810 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12819 as_lineno_1
=$LINENO
12820 as_lineno_2
=$LINENO
12821 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12822 test "x$as_lineno_1" != "x$as_lineno_2" &&
12823 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12824 # Find who we are. Look in the path if we contain no path at all
12827 *[\\/]* ) as_myself
=$0 ;;
12828 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12829 for as_dir
in $PATH
12832 test -z "$as_dir" && as_dir
=.
12833 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12838 # We did not find ourselves, most probably we were run as `sh COMMAND'
12839 # in which case we are not to be found in the path.
12840 if test "x$as_myself" = x
; then
12843 if test ! -f "$as_myself"; then
12844 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12845 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12846 { (exit 1); exit 1; }; }
12848 case $CONFIG_SHELL in
12850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12851 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12854 test -z "$as_dir" && as_dir
=.
12855 for as_base
in sh bash ksh sh5
; do
12858 if ("$as_dir/$as_base" -c '
12859 as_lineno_1=$LINENO
12860 as_lineno_2=$LINENO
12861 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12862 test "x$as_lineno_1" != "x$as_lineno_2" &&
12863 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12864 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12865 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12866 CONFIG_SHELL
=$as_dir/$as_base
12867 export CONFIG_SHELL
12868 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12876 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12877 # uniformly replaced by the line number. The first 'sed' inserts a
12878 # line-number line before each line; the second 'sed' does the real
12879 # work. The second script uses 'N' to pair each line-number line
12880 # with the numbered line, and appends trailing '-' during
12881 # substitution so that $LINENO is not a special case at line end.
12882 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12883 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12884 sed '=' <$as_myself |
12889 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12892 s,^['$as_cr_digits']*\n,,
12893 ' >$as_me.lineno
&&
12894 chmod +x
$as_me.lineno ||
12895 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12896 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12897 { (exit 1); exit 1; }; }
12899 # Don't try to exec as it changes $[0], causing all sort of problems
12900 # (the dirname of $[0] is not the place where we might find the
12901 # original and so on. Autoconf is especially sensible to this).
12903 # Exit status is that of the last command.
12908 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12909 *c
*,-n*) ECHO_N
= ECHO_C
='
12911 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12912 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12915 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12921 rm -f conf$$ conf$$.exe conf$$.
file
12923 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12924 # We could just check for DJGPP; but this test a) works b) is more generic
12925 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12926 if test -f conf$$.exe
; then
12927 # Don't use ln at all; we don't have any links
12932 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12937 rm -f conf$$ conf$$.exe conf$$.
file
12939 if mkdir
-p .
2>/dev
/null
; then
12942 test -d .
/-p && rmdir .
/-p
12946 as_executable_p
="test -f"
12948 # Sed expression to map a string onto a valid CPP name.
12949 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12951 # Sed expression to map a string onto a valid variable name.
12952 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12956 # We need space, tab and new line, in precisely that order.
12966 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12967 # report actual input values of CONFIG_FILES etc. instead of their
12968 # values after options handling. Logging --version etc. is OK.
12972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12973 ## Running $as_me. ##
12978 This file was extended by $as_me, which was
12979 generated by GNU Autoconf 2.59. Invocation command line was
12981 CONFIG_FILES = $CONFIG_FILES
12982 CONFIG_HEADERS = $CONFIG_HEADERS
12983 CONFIG_LINKS = $CONFIG_LINKS
12984 CONFIG_COMMANDS = $CONFIG_COMMANDS
12988 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12992 # Files that config.status was made for.
12993 if test -n "$ac_config_files"; then
12994 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12997 if test -n "$ac_config_headers"; then
12998 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13001 if test -n "$ac_config_links"; then
13002 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13005 if test -n "$ac_config_commands"; then
13006 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13009 cat >>$CONFIG_STATUS <<\_ACEOF
13012 \`$as_me' instantiates files from templates according to the
13013 current configuration.
13015 Usage: $0 [OPTIONS] [FILE]...
13017 -h, --help print this help, then exit
13018 -V, --version print version number, then exit
13019 -q, --quiet do not print progress messages
13020 -d, --debug don't remove temporary files
13021 --recheck update $as_me by reconfiguring in the same conditions
13022 --file=FILE[:TEMPLATE]
13023 instantiate the configuration file FILE
13025 Configuration files:
13028 Report bugs to <bug-autoconf@gnu.org>."
13031 cat >>$CONFIG_STATUS <<_ACEOF
13034 configured by $0, generated by GNU Autoconf 2.59,
13035 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13037 Copyright (C) 2003 Free Software Foundation, Inc.
13038 This config.status script is free software; the Free Software Foundation
13039 gives unlimited permission to copy, distribute and modify it."
13044 cat >>$CONFIG_STATUS <<\_ACEOF
13045 # If no file are specified by the user, then we need to provide default
13046 # value. By we need to know if files were specified by the user.
13052 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13053 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13061 *) # This is not an option, so the user has probably given explicit
13064 ac_need_defaults
=false
;;
13068 # Handling of the options.
13070 cat >>$CONFIG_STATUS <<\_ACEOF
13071 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13073 --version |
--vers* |
-V )
13074 echo "$ac_cs_version"; exit 0 ;;
13076 # Conflict between --help and --header
13077 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13078 Try \`$0 --help' for more information." >&5
13079 echo "$as_me: error: ambiguous option: $1
13080 Try \`$0 --help' for more information." >&2;}
13081 { (exit 1); exit 1; }; };;
13082 --help |
--hel |
-h )
13083 echo "$ac_cs_usage"; exit 0 ;;
13084 --debug |
--d* |
-d )
13086 --file |
--fil |
--fi |
--f )
13088 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13089 ac_need_defaults
=false
;;
13090 --header |
--heade |
--head |
--hea )
13092 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13093 ac_need_defaults
=false
;;
13094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13095 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13098 # This is an error.
13099 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13100 Try \`$0 --help' for more information." >&5
13101 echo "$as_me: error: unrecognized option: $1
13102 Try \`$0 --help' for more information." >&2;}
13103 { (exit 1); exit 1; }; } ;;
13105 *) ac_config_targets
="$ac_config_targets $1" ;;
13111 ac_configure_extra_args
=
13113 if $ac_cs_silent; then
13115 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13119 cat >>$CONFIG_STATUS <<_ACEOF
13120 if \$ac_cs_recheck; then
13121 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13122 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13131 cat >>$CONFIG_STATUS <<\_ACEOF
13132 for ac_config_target
in $ac_config_targets
13134 case "$ac_config_target" in
13135 # Handling of arguments.
13136 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13137 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13138 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13139 { (exit 1); exit 1; }; };;
13143 # If the user did not use the arguments to specify the items to instantiate,
13144 # then the envvar interface is used. Set only those that are not.
13145 # We use the long form for the default assignment because of an extremely
13146 # bizarre bug on SunOS 4.1.3.
13147 if $ac_need_defaults; then
13148 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13151 # Have a temporary directory for convenience. Make it in the build tree
13152 # simply because there is no reason to put it here, and in addition,
13153 # creating and moving files from /tmp can sometimes cause problems.
13154 # Create a temporary directory, and hook for its removal unless debugging.
13157 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13158 trap '{ (exit 1); exit 1; }' 1 2 13 15
13161 # Create a (secure) tmp directory for tmp files.
13164 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13165 test -n "$tmp" && test -d "$tmp"
13168 tmp
=.
/confstat$$
-$RANDOM
13169 (umask 077 && mkdir
$tmp)
13172 echo "$me: cannot create a temporary directory in ." >&2
13173 { (exit 1); exit 1; }
13178 cat >>$CONFIG_STATUS <<_ACEOF
13181 # CONFIG_FILES section.
13184 # No need to generate the scripts if there are no CONFIG_FILES.
13185 # This happens for instance when ./config.status config.h
13186 if test -n "\$CONFIG_FILES"; then
13187 # Protect against being on the right side of a sed subst in config.status.
13188 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13189 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13190 s,@SHELL@,$SHELL,;t t
13191 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13192 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13193 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13194 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13195 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13196 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13197 s,@exec_prefix@,$exec_prefix,;t t
13198 s,@prefix@,$prefix,;t t
13199 s,@program_transform_name@,$program_transform_name,;t t
13200 s,@bindir@,$bindir,;t t
13201 s,@sbindir@,$sbindir,;t t
13202 s,@libexecdir@,$libexecdir,;t t
13203 s,@datadir@,$datadir,;t t
13204 s,@sysconfdir@,$sysconfdir,;t t
13205 s,@sharedstatedir@,$sharedstatedir,;t t
13206 s,@localstatedir@,$localstatedir,;t t
13207 s,@libdir@,$libdir,;t t
13208 s,@includedir@,$includedir,;t t
13209 s,@oldincludedir@,$oldincludedir,;t t
13210 s,@infodir@,$infodir,;t t
13211 s,@mandir@,$mandir,;t t
13212 s,@build_alias@,$build_alias,;t t
13213 s,@host_alias@,$host_alias,;t t
13214 s,@target_alias@,$target_alias,;t t
13215 s,@DEFS@,$DEFS,;t t
13216 s,@ECHO_C@,$ECHO_C,;t t
13217 s,@ECHO_N@,$ECHO_N,;t t
13218 s,@ECHO_T@,$ECHO_T,;t t
13219 s,@LIBS@,$LIBS,;t t
13220 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13221 s,@build@,$build,;t t
13222 s,@build_cpu@,$build_cpu,;t t
13223 s,@build_vendor@,$build_vendor,;t t
13224 s,@build_os@,$build_os,;t t
13225 s,@build_noncanonical@,$build_noncanonical,;t t
13226 s,@host_noncanonical@,$host_noncanonical,;t t
13227 s,@target_noncanonical@,$target_noncanonical,;t t
13228 s,@host@,$host,;t t
13229 s,@host_cpu@,$host_cpu,;t t
13230 s,@host_vendor@,$host_vendor,;t t
13231 s,@host_os@,$host_os,;t t
13232 s,@target@,$target,;t t
13233 s,@target_cpu@,$target_cpu,;t t
13234 s,@target_vendor@,$target_vendor,;t t
13235 s,@target_os@,$target_os,;t t
13236 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13237 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13238 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13240 s,@LN_S@,$LN_S,;t t
13241 s,@build_libsubdir@,$build_libsubdir,;t t
13242 s,@build_subdir@,$build_subdir,;t t
13243 s,@host_subdir@,$host_subdir,;t t
13244 s,@target_subdir@,$target_subdir,;t t
13246 s,@CFLAGS@,$CFLAGS,;t t
13247 s,@LDFLAGS@,$LDFLAGS,;t t
13248 s,@CPPFLAGS@,$CPPFLAGS,;t t
13249 s,@ac_ct_CC@,$ac_ct_CC,;t t
13250 s,@EXEEXT@,$EXEEXT,;t t
13251 s,@OBJEXT@,$OBJEXT,;t t
13253 s,@CXXFLAGS@,$CXXFLAGS,;t t
13254 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13255 s,@GNATBIND@,$GNATBIND,;t t
13256 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13257 s,@GNATMAKE@,$GNATMAKE,;t t
13258 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13259 s,@do_compare@,$do_compare,;t t
13260 s,@gmplibs@,$gmplibs,;t t
13261 s,@gmpinc@,$gmpinc,;t t
13262 s,@ppllibs@,$ppllibs,;t t
13263 s,@pplinc@,$pplinc,;t t
13264 s,@clooglibs@,$clooglibs,;t t
13265 s,@clooginc@,$clooginc,;t t
13266 s,@stage1_languages@,$stage1_languages,;t t
13267 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13268 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13269 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13270 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13271 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13272 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13273 s,@tooldir@,$tooldir,;t t
13274 s,@build_tooldir@,$build_tooldir,;t t
13275 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13276 s,@GDB_TK@,$GDB_TK,;t t
13277 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13278 s,@build_configargs@,$build_configargs,;t t
13279 s,@build_configdirs@,$build_configdirs,;t t
13280 s,@host_configargs@,$host_configargs,;t t
13281 s,@configdirs@,$configdirs,;t t
13282 s,@target_configargs@,$target_configargs,;t t
13283 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13284 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13285 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13286 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13287 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13288 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13289 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13290 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13291 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13292 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13293 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13294 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13295 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13296 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13297 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13298 s,@config_shell@,$config_shell,;t t
13299 s,@YACC@,$YACC,;t t
13300 s,@BISON@,$BISON,;t t
13303 s,@FLEX@,$FLEX,;t t
13304 s,@MAKEINFO@,$MAKEINFO,;t t
13305 s,@EXPECT@,$EXPECT,;t t
13306 s,@RUNTEST@,$RUNTEST,;t t
13309 s,@DLLTOOL@,$DLLTOOL,;t t
13311 s,@LIPO@,$LIPO,;t t
13313 s,@RANLIB@,$RANLIB,;t t
13314 s,@STRIP@,$STRIP,;t t
13315 s,@WINDRES@,$WINDRES,;t t
13316 s,@WINDMC@,$WINDMC,;t t
13317 s,@OBJCOPY@,$OBJCOPY,;t t
13318 s,@OBJDUMP@,$OBJDUMP,;t t
13319 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13320 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13321 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13322 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13323 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13324 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13325 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13326 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13327 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13328 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13329 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13330 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13331 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13332 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13333 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13334 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13335 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13336 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13337 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13338 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13339 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13340 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13341 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13342 s,@MAINT@,$MAINT,;t t
13343 s,@stage1_cflags@,$stage1_cflags,;t t
13344 s,@stage1_checking@,$stage1_checking,;t t
13345 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13346 s,@datarootdir@,$datarootdir,;t t
13347 s,@docdir@,$docdir,;t t
13348 s,@pdfdir@,$pdfdir,;t t
13349 s,@htmldir@,$htmldir,;t t
13350 s,@LIBOBJS@,$LIBOBJS,;t t
13351 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13352 /@serialization_dependencies@/r $serialization_dependencies
13353 s,@serialization_dependencies@,,;t t
13354 /@host_makefile_frag@/r $host_makefile_frag
13355 s,@host_makefile_frag@,,;t t
13356 /@target_makefile_frag@/r $target_makefile_frag
13357 s,@target_makefile_frag@,,;t t
13358 /@alphaieee_frag@/r $alphaieee_frag
13359 s,@alphaieee_frag@,,;t t
13360 /@ospace_frag@/r $ospace_frag
13361 s,@ospace_frag@,,;t t
13366 cat >>$CONFIG_STATUS <<\_ACEOF
13367 # Split the substitutions into bite-sized pieces for seds with
13368 # small command number limits, like on Digital OSF/1 and HP-UX.
13369 ac_max_sed_lines
=48
13370 ac_sed_frag
=1 # Number of current file.
13371 ac_beg
=1 # First line for current file.
13372 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13375 while $ac_more_lines; do
13376 if test $ac_beg -gt 1; then
13377 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13379 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13381 if test ! -s $tmp/subs.frag
; then
13382 ac_more_lines
=false
13384 # The purpose of the label and of the branching condition is to
13385 # speed up the sed processing (if there are no `@' at all, there
13386 # is no need to browse any of the substitutions).
13387 # These are the two extra sed commands mentioned above.
13389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13390 if test -z "$ac_sed_cmds"; then
13391 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13393 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13395 ac_sed_frag
=`expr $ac_sed_frag + 1`
13397 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13400 if test -z "$ac_sed_cmds"; then
13403 fi # test -n "$CONFIG_FILES"
13406 cat >>$CONFIG_STATUS <<\_ACEOF
13407 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13408 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13410 - |
*:- |
*:-:* ) # input from stdin
13412 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13413 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13414 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13415 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13416 * ) ac_file_in
=$ac_file.
in ;;
13419 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13420 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422 X"$ac_file" : 'X\(//\)[^/]' \| \
13423 X"$ac_file" : 'X\(//\)$' \| \
13424 X"$ac_file" : 'X\(/\)' \| \
13425 . : '\(.\)' 2>/dev/null ||
13427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13429 /^X\(\/\/\)$/{ s//\1/; q; }
13430 /^X\(\/\).*/{ s//\1/; q; }
13432 { if $as_mkdir_p; then
13437 while test ! -d "$as_dir"; do
13438 as_dirs
="$as_dir $as_dirs"
13439 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13441 X"$as_dir" : 'X\(//\)[^/]' \| \
13442 X"$as_dir" : 'X\(//\)$' \| \
13443 X"$as_dir" : 'X\(/\)' \| \
13444 . : '\(.\)' 2>/dev/null ||
13446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13448 /^X\(\/\/\)$/{ s//\1/; q; }
13449 /^X\(\/\).*/{ s//\1/; q; }
13452 test ! -n "$as_dirs" || mkdir
$as_dirs
13453 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13455 { (exit 1); exit 1; }; }; }
13459 if test "$ac_dir" != .
; then
13460 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13461 # A "../" for each directory in $ac_dir_suffix.
13462 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13464 ac_dir_suffix
= ac_top_builddir
=
13468 .
) # No --srcdir option. We are building in place.
13470 if test -z "$ac_top_builddir"; then
13473 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13475 [\\/]* | ?
:[\\/]* ) # Absolute path.
13476 ac_srcdir
=$srcdir$ac_dir_suffix;
13477 ac_top_srcdir
=$srcdir ;;
13478 *) # Relative path.
13479 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13480 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13483 # Do not use `cd foo && pwd` to compute absolute paths, because
13484 # the directories may not exist.
13486 .
) ac_abs_builddir
="$ac_dir";;
13489 .
) ac_abs_builddir
=`pwd`;;
13490 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13491 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13494 case $ac_abs_builddir in
13495 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13497 case ${ac_top_builddir}.
in
13498 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13499 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13500 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13503 case $ac_abs_builddir in
13504 .
) ac_abs_srcdir
=$ac_srcdir;;
13507 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13508 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13509 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13512 case $ac_abs_builddir in
13513 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13515 case $ac_top_srcdir in
13516 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13517 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13518 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13524 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13525 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13528 if test x
"$ac_file" != x-
; then
13529 { echo "$as_me:$LINENO: creating $ac_file" >&5
13530 echo "$as_me: creating $ac_file" >&6;}
13533 # Let's still pretend it is `configure' which instantiates (i.e., don't
13534 # use $as_me), people would be surprised to read:
13535 # /* config.h. Generated by config.status. */
13536 if test x
"$ac_file" = x-
; then
13539 configure_input
="$ac_file. "
13541 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13542 sed 's,.*/,,'` by configure."
13544 # First look for the input files in the build tree, otherwise in the
13546 ac_file_inputs
=`IFS=:
13547 for f in $ac_file_in; do
13549 -) echo $tmp/stdin ;;
13551 # Absolute (can't be DOS-style, as IFS=:)
13552 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13553 echo "$as_me: error: cannot find input file: $f" >&2;}
13554 { (exit 1); exit 1; }; }
13557 if test -f "$f"; then
13560 elif test -f "$srcdir/$f"; then
13565 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13566 echo "$as_me: error: cannot find input file: $f" >&2;}
13567 { (exit 1); exit 1; }; }
13570 done` ||
{ (exit 1); exit 1; }
13572 cat >>$CONFIG_STATUS <<_ACEOF
13576 cat >>$CONFIG_STATUS <<\_ACEOF
13578 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13579 s
,@configure_input@
,$configure_input,;t t
13580 s
,@srcdir@
,$ac_srcdir,;t t
13581 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13582 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13583 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13584 s
,@builddir@
,$ac_builddir,;t t
13585 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13586 s
,@top_builddir@
,$ac_top_builddir,;t t
13587 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13588 s
,@INSTALL@
,$ac_INSTALL,;t t
13589 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13591 if test x"$ac_file" != x-; then
13592 mv $tmp/out $ac_file
13601 cat >>$CONFIG_STATUS <<\_ACEOF
13603 { (exit 0); exit 0; }
13605 chmod +x $CONFIG_STATUS
13606 ac_clean_files=$ac_clean_files_save
13609 # configure is writing to config.log, and then calls config.status.
13610 # config.status does its own redirection, appending to config.log.
13611 # Unfortunately, on DOS this fails, as config.log is still kept open
13612 # by configure, so config.status won't be able to write to it; its
13613 # output is simply discarded. So we exec the FD to /dev/null,
13614 # effectively closing config.log, so it can be properly (re)opened and
13615 # appended to by config.status. When coming back to configure, we
13616 # need to make the FD available again.
13617 if test "$no_create" != yes; then
13619 ac_config_status_args=
13620 test "$silent" = yes &&
13621 ac_config_status_args="$ac_config_status_args --quiet"
13623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13626 # would make configure fail if this is the last instruction.
13627 $ac_cs_success || { (exit 1); exit 1; }