2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --disable-ppl-version-check disable check
for PPL version
939 --disable-cloog-version-check disable check
for CLooG version
940 --enable-stage1-languages[=all
] choose additional languages to build during
941 stage1. Mostly useful
for compiler development.
942 --enable-objc-gc enable use of Boehm
's garbage collector with the
943 GNU Objective-C runtime
944 --enable-bootstrap enable bootstrapping [yes if native build]
945 --enable-serial-[{host,target,build}-]configure
946 force sequential configuration of
947 sub-packages for the host, target or build
948 machine, or all sub-packages
949 --enable-maintainer-mode enable make rules and dependencies not useful
950 (and sometimes confusing) to the casual installer
951 --enable-stage1-checking[=all] choose additional checking for stage1
953 --enable-werror enable -Werror in bootstrap stage2 and later
956 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
957 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
958 --with-build-libsubdir=DIR Directory where to find libraries for build system
959 --with-mpfr-dir=PATH this option has been REMOVED
960 --with-mpfr=PATH specify prefix directory for installed MPFR package.
961 Equivalent to --with-mpfr-include=PATH/include
962 plus --with-mpfr-lib=PATH/lib
963 --with-mpfr-include=PATH
964 specify directory for installed MPFR include files
965 --with-mpfr-lib=PATH specify directory for the installed MPFR library
966 --with-gmp-dir=PATH this option has been REMOVED
967 --with-gmp=PATH specify prefix directory for the installed GMP package.
968 Equivalent to --with-gmp-include=PATH/include
969 plus --with-gmp-lib=PATH/lib
970 --with-gmp-include=PATH specify directory for installed GMP include files
971 --with-gmp-lib=PATH specify directory for the installed GMP library
972 --with-ppl=PATH Specify prefix directory for the installed PPL package
973 Equivalent to --with-ppl-include=PATH/include
974 plus --with-ppl-lib=PATH/lib
975 --with-ppl-include=PATH Specify directory for installed PPL include files
976 --with-ppl-lib=PATH Specify the directory for the installed PPL library
977 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
978 Equivalent to --with-cloog-include=PATH/include
979 plus --with-cloog-lib=PATH/lib
980 --with-cloog-include=PATH Specify directory for installed CLooG include files
981 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
982 --with-cloog-polylib=PATH Specify prefix directory for the installed CLooG-PolyLib package
983 --with-build-sysroot=SYSROOT
984 use sysroot as the system root during the build
985 --with-debug-prefix-map='A
=B C
=D ...
'
986 map A to B, C to D ... in debug information
987 --with-build-time-tools=PATH
988 use given path to find target tools during the build
989 --with-datarootdir use datarootdir as the data root directory.
990 --with-docdir install documentation in this directory.
991 --with-pdfdir install pdf in this directory.
992 --with-htmldir install html in this directory.
994 Some influential environment variables:
995 CC C compiler command
996 CFLAGS C compiler flags
997 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
998 nonstandard directory <lib dir>
999 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1000 headers in a nonstandard directory <include dir>
1001 CXX C++ compiler command
1002 CXXFLAGS C++ compiler flags
1005 DLLTOOL DLLTOOL for the host
1007 LIPO LIPO for the host
1009 RANLIB RANLIB for the host
1010 STRIP STRIP for the host
1011 WINDRES WINDRES for the host
1012 WINDMC WINDMC for the host
1013 OBJCOPY OBJCOPY for the host
1014 OBJDUMP OBJDUMP for the host
1024 GFORTRAN for the target
1030 DLLTOOL for the target
1038 OBJDUMP for the target
1040 RANLIB for the target
1042 STRIP for the target
1044 WINDRES for the target
1046 WINDMC for the target
1048 Use these variables to override the choices made by `configure' or to
help
1049 it to
find libraries and programs with nonstandard names
/locations.
1054 if test "$ac_init_help" = "recursive"; then
1055 # If there are subdirs, report their specific --help.
1057 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1058 test -d $ac_dir ||
continue
1061 if test "$ac_dir" != .
; then
1062 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1063 # A "../" for each directory in $ac_dir_suffix.
1064 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1066 ac_dir_suffix
= ac_top_builddir
=
1070 .
) # No --srcdir option. We are building in place.
1072 if test -z "$ac_top_builddir"; then
1075 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1077 [\\/]* | ?
:[\\/]* ) # Absolute path.
1078 ac_srcdir
=$srcdir$ac_dir_suffix;
1079 ac_top_srcdir
=$srcdir ;;
1081 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1082 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1085 # Do not use `cd foo && pwd` to compute absolute paths, because
1086 # the directories may not exist.
1088 .
) ac_abs_builddir
="$ac_dir";;
1091 .
) ac_abs_builddir
=`pwd`;;
1092 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1093 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1096 case $ac_abs_builddir in
1097 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1099 case ${ac_top_builddir}.
in
1100 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1101 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1102 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1105 case $ac_abs_builddir in
1106 .
) ac_abs_srcdir
=$ac_srcdir;;
1109 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1110 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1111 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1114 case $ac_abs_builddir in
1115 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1117 case $ac_top_srcdir in
1118 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1119 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1120 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1125 # Check for guested configure; otherwise get Cygnus style configure.
1126 if test -f $ac_srcdir/configure.gnu
; then
1128 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1129 elif test -f $ac_srcdir/configure
; then
1131 $SHELL $ac_srcdir/configure
--help=recursive
1132 elif test -f $ac_srcdir/configure.ac ||
1133 test -f $ac_srcdir/configure.
in; then
1135 $ac_configure --help
1137 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1143 test -n "$ac_init_help" && exit 0
1144 if $ac_init_version; then
1147 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1148 This configure
script is free software
; the Free Software Foundation
1149 gives unlimited permission to copy
, distribute and modify it.
1155 This file contains any messages produced by compilers while
1156 running configure, to aid debugging if configure makes a mistake.
1158 It was created by $as_me, which was
1159 generated by GNU Autoconf 2.59. Invocation command line was
1170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1182 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1193 test -z "$as_dir" && as_dir
=.
1194 echo "PATH: $as_dir"
1209 # Keep a trace of the command line.
1210 # Strip out --no-create and --no-recursion so they do not pile up.
1211 # Strip out --silent because we don't want to record it for future runs.
1212 # Also quote any args containing shell meta-characters.
1213 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_must_keep_next
=false
1224 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1228 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1229 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1234 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1235 if test $ac_must_keep_next = true
; then
1236 ac_must_keep_next
=false
# Got value, back to normal.
1239 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1240 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1241 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1242 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1243 case "$ac_configure_args0 " in
1244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1247 -* ) ac_must_keep_next
=true
;;
1250 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1251 # Get rid of the leading space.
1257 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1258 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1260 # When interrupted or exit'd, cleanup temporary files, and complete
1261 # config.log. We remove comments because anyway the quotes in there
1262 # would cause problems or look ugly.
1263 # WARNING: Be sure not to use single quotes in there, as some shells,
1264 # such as our DU 5.0 friend, will then `close' the trap.
1265 trap 'exit_status=$?
1266 # Save into config.log some information that might help in debugging.
1271 ## ---------------- ##
1272 ## Cache variables. ##
1273 ## ---------------- ##
1276 # The following way of writing the cache mishandles newlines in values,
1279 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1282 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1294 ## ----------------- ##
1295 ## Output variables. ##
1296 ## ----------------- ##
1299 for ac_var in $ac_subst_vars
1301 eval ac_val=$`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -n "$ac_subst_files"; then
1313 for ac_var in $ac_subst_files
1315 eval ac_val=$`echo $ac_var`
1316 echo "$ac_var='"'"'$ac_val'"'"'"
1321 if test -s confdefs.h; then
1328 sed "/^$/d" confdefs.h | sort
1331 test "$ac_signal" != 0 &&
1332 echo "$as_me: caught signal $ac_signal"
1333 echo "$as_me: exit $exit_status"
1335 rm -f core *.core &&
1336 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1339 for ac_signal
in 1 2 13 15; do
1340 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 rm -rf conftest
* confdefs.h
1346 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1349 # Predefined preprocessor variables.
1351 cat >>confdefs.h
<<_ACEOF
1352 #define PACKAGE_NAME "$PACKAGE_NAME"
1356 cat >>confdefs.h
<<_ACEOF
1357 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1361 cat >>confdefs.h
<<_ACEOF
1362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1366 cat >>confdefs.h
<<_ACEOF
1367 #define PACKAGE_STRING "$PACKAGE_STRING"
1371 cat >>confdefs.h
<<_ACEOF
1372 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1376 # Let the site file select an alternate cache file if it wants to.
1377 # Prefer explicitly selected file to automatically selected ones.
1378 if test -z "$CONFIG_SITE"; then
1379 if test "x$prefix" != xNONE
; then
1380 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1382 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1385 for ac_site_file
in $CONFIG_SITE; do
1386 if test -r "$ac_site_file"; then
1387 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1388 echo "$as_me: loading site script $ac_site_file" >&6;}
1389 sed 's/^/| /' "$ac_site_file" >&5
1394 if test -r "$cache_file"; then
1395 # Some versions of bash will fail to source /dev/null (special
1396 # files actually), so we avoid doing that.
1397 if test -f "$cache_file"; then
1398 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1399 echo "$as_me: loading cache $cache_file" >&6;}
1401 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1402 *) . .
/$cache_file;;
1406 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1407 echo "$as_me: creating cache $cache_file" >&6;}
1411 # Check that the precious variables saved in the cache have kept the same
1413 ac_cache_corrupted
=false
1414 for ac_var
in `(set) 2>&1 |
1415 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1416 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1417 eval ac_new_set
=\
$ac_env_${ac_var}_set
1418 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1419 eval ac_new_val
="\$ac_env_${ac_var}_value"
1420 case $ac_old_set,$ac_new_set in
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1424 ac_cache_corrupted
=: ;;
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1428 ac_cache_corrupted
=: ;;
1431 if test "x$ac_old_val" != "x$ac_new_val"; then
1432 # differences in whitespace do not lead to failure.
1433 ac_old_val_w
=`echo x $ac_old_val`
1434 ac_new_val_w
=`echo x $ac_new_val`
1435 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 ac_cache_corrupted
=:
1440 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1441 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1442 eval $ac_var=\
$ac_old_val
1444 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1445 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1446 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1447 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1453 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg
=$ac_var=$ac_new_val ;;
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1465 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1469 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp
='$CPP $CPPFLAGS'
1475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1503 # if PWD already has a value, it is probably wrong.
1504 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1506 # Export original configure arguments for use by sub-configures.
1507 # Quote arguments with shell meta charatcers.
1508 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1509 set -- "$progname" "$@"
1513 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1514 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1515 # if the argument is of the form -foo=baz, quote the baz part only
1516 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1519 # Add the quoted argument to the list.
1520 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1522 if test "$silent" = yes; then
1523 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1525 # Remove the initial space we just introduced and, as these will be
1526 # expanded by make, quote '$'.
1527 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1530 # Find the build, host, and target systems.
1532 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1533 if test -f $ac_dir/install-sh
; then
1535 ac_install_sh
="$ac_aux_dir/install-sh -c"
1537 elif test -f $ac_dir/install.sh
; then
1539 ac_install_sh
="$ac_aux_dir/install.sh -c"
1541 elif test -f $ac_dir/shtool
; then
1543 ac_install_sh
="$ac_aux_dir/shtool install -c"
1547 if test -z "$ac_aux_dir"; then
1548 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1549 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1550 { (exit 1); exit 1; }; }
1552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1554 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556 # Make sure we can run config.sub.
1557 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1558 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1559 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1560 { (exit 1); exit 1; }; }
1562 echo "$as_me:$LINENO: checking build system type" >&5
1563 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1564 if test "${ac_cv_build+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 ac_cv_build_alias
=$build_alias
1568 test -z "$ac_cv_build_alias" &&
1569 ac_cv_build_alias
=`$ac_config_guess`
1570 test -z "$ac_cv_build_alias" &&
1571 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1572 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1573 { (exit 1); exit 1; }; }
1574 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1581 echo "${ECHO_T}$ac_cv_build" >&6
1583 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 case ${build_alias} in
1589 "") build_noncanonical
=${build} ;;
1590 *) build_noncanonical
=${build_alias} ;;
1595 case ${host_alias} in
1596 "") host_noncanonical
=${build_noncanonical} ;;
1597 *) host_noncanonical
=${host_alias} ;;
1602 case ${target_alias} in
1603 "") target_noncanonical
=${host_noncanonical} ;;
1604 *) target_noncanonical
=${target_alias} ;;
1610 test "$host_noncanonical" = "$target_noncanonical" &&
1611 test "$program_prefix$program_suffix$program_transform_name" = \
1613 program_transform_name
=s
,y
,y
,
1615 echo "$as_me:$LINENO: checking host system type" >&5
1616 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1617 if test "${ac_cv_host+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 ac_cv_host_alias
=$host_alias
1621 test -z "$ac_cv_host_alias" &&
1622 ac_cv_host_alias
=$ac_cv_build_alias
1623 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1624 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1625 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1626 { (exit 1); exit 1; }; }
1629 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1630 echo "${ECHO_T}$ac_cv_host" >&6
1632 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1633 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1634 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1637 echo "$as_me:$LINENO: checking target system type" >&5
1638 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1639 if test "${ac_cv_target+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 ac_cv_target_alias
=$target_alias
1643 test "x$ac_cv_target_alias" = "x" &&
1644 ac_cv_target_alias
=$ac_cv_host_alias
1645 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1646 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1647 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1648 { (exit 1); exit 1; }; }
1651 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1652 echo "${ECHO_T}$ac_cv_target" >&6
1653 target
=$ac_cv_target
1654 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1655 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1656 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1659 # The aliases save the names the user supplied, while $host etc.
1660 # will get canonicalized.
1661 test -n "$target_alias" &&
1662 test "$program_prefix$program_suffix$program_transform_name" = \
1664 program_prefix
=${target_alias}-
1665 test "$program_prefix" != NONE
&&
1666 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1667 # Use a double $ so make ignores it.
1668 test "$program_suffix" != NONE
&&
1669 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1670 # Double any \ or $. echo might interpret backslashes.
1671 # By default was `s,x,x', remove it if useless.
1672 cat <<\_ACEOF
>conftest.
sed
1673 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1675 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1680 # Get 'install' or 'install-sh' and its variants.
1681 # Find a good install program. We prefer a C program (faster),
1682 # so one script is as good as another. But avoid the broken or
1683 # incompatible versions:
1684 # SysV /etc/install, /usr/sbin/install
1685 # SunOS /usr/etc/install
1686 # IRIX /sbin/install
1688 # AmigaOS /C/install, which installs bootblocks on floppy discs
1689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1692 # OS/2's system install, which has a completely different semantic
1693 # ./install, which can be erroneously created by make from ./install.sh.
1694 # Reject install programs that cannot install multiple files.
1695 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1696 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1697 if test -z "$INSTALL"; then
1698 if test "${ac_cv_path_install+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 # Account for people who put trailing slashes in PATH elements.
1708 .
/ | .
// |
/cC
/* | \
1709 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1710 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1713 # OSF1 and SCO ODT 3.0 have their own names for install.
1714 # Don't use installbsd from OSF since it installs stuff as root
1716 for ac_prog
in ginstall scoinst
install; do
1717 for ac_exec_ext
in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1719 if test $ac_prog = install &&
1720 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1721 # AIX install. It has an incompatible calling convention.
1723 elif test $ac_prog = install &&
1724 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1725 # program-specific install script used by HP pwplus--don't use.
1728 rm -rf conftest.one conftest.two conftest.dir
1729 echo one
> conftest.one
1730 echo two
> conftest.two
1732 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1733 test -s conftest.one
&& test -s conftest.two
&&
1734 test -s conftest.dir
/conftest.one
&&
1735 test -s conftest.dir
/conftest.two
1737 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1748 rm -rf conftest.one conftest.two conftest.dir
1751 if test "${ac_cv_path_install+set}" = set; then
1752 INSTALL
=$ac_cv_path_install
1754 # As a last resort, use the slow shell script. Don't cache a
1755 # value for INSTALL within a source directory, because that will
1756 # break other packages using the cache if that directory is
1757 # removed, or if the value is a relative name.
1758 INSTALL
=$ac_install_sh
1761 echo "$as_me:$LINENO: result: $INSTALL" >&5
1762 echo "${ECHO_T}$INSTALL" >&6
1764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1765 # It thinks the first close brace ends the variable substitution.
1766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1770 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1772 echo "$as_me:$LINENO: checking whether ln works" >&5
1773 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1774 if test "${acx_cv_prog_LN+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 rm -f conftestdata_t
1778 echo >conftestdata_f
1779 if ln conftestdata_f conftestdata_t
2>/dev
/null
1785 rm -f conftestdata_f conftestdata_t
1788 if test $acx_cv_prog_LN = no
; then
1790 echo "$as_me:$LINENO: result: no, using $LN" >&5
1791 echo "${ECHO_T}no, using $LN" >&6
1793 LN
="$acx_cv_prog_LN"
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1798 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1799 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1801 if test "$LN_S" = "ln -s"; then
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1805 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1806 echo "${ECHO_T}no, using $LN_S" >&6
1810 ### we might need to use some other shell than /bin/sh for running subshells
1811 ### If we are on Windows, search for the shell. This will permit people
1812 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1813 ### without also having to set CONFIG_SHELL. This code will work when
1814 ### using bash, which sets OSTYPE.
1817 if test x
${CONFIG_SHELL} = x
; then
1818 if test ! -f /bin
/sh
; then
1819 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1820 CONFIG_SHELL
=${SHELL}
1823 for prog
in sh sh.exe bash bash.exe
; do
1824 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1825 for dir
in $PATH; do
1826 test -z "$dir" && dir
=.
1827 if test -f $dir/$prog; then
1828 CONFIG_SHELL
=$dir/$prog
1834 test -n "${CONFIG_SHELL}" && break
1842 config_shell
=${CONFIG_SHELL-/bin/sh}
1844 moveifchange
=${srcdir}/move-if-change
1846 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1848 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1850 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1851 INSTALL
="${srcpwd}/install-sh -c"
1854 # Set srcdir to "." if that's what it is.
1855 # This is important for multilib support.
1857 if test "${pwd}" = "${srcpwd}" ; then
1865 ### To add a new directory to the tree, first choose whether it is a target
1866 ### or a host dependent tool. Then put it into the appropriate list
1867 ### (library or tools, host or target), doing a dependency sort.
1869 # Subdirs will be configured in the order listed in build_configdirs,
1870 # configdirs, or target_configdirs; see the serialization section below.
1872 # Dependency sorting is only needed when *configuration* must be done in
1873 # a particular order. In all cases a dependency should be specified in
1874 # the Makefile, whether or not it's implicitly specified here.
1876 # Double entries in build_configdirs, configdirs, or target_configdirs may
1877 # cause circular dependencies and break everything horribly.
1879 # these library is used by various programs built for the build
1882 build_libs
="build-libiberty"
1884 # these tools are built for the build environment
1885 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1887 # these libraries are used by various programs built for the host environment
1889 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog"
1891 # these tools are built for the host environment
1892 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1893 # know that we are building the simulator.
1894 # binutils, gas and ld appear in that order because it makes sense to run
1895 # "make check" in that particular order.
1896 # If --enable-gold is used, "gold" will replace "ld".
1897 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
1899 # libgcj represents the runtime libraries only used by gcj.
1900 libgcj
="target-libffi \
1905 # these libraries are built for the target environment, and are built after
1906 # the host libraries and the host tools (which may be a cross compiler)
1908 target_libraries
="target-libgcc \
1913 target-libstdc++-v3 \
1916 target-libgfortran \
1922 # these tools are built using the target libraries, and are intended to
1923 # run only in the target environment
1925 # note: any program that *uses* libraries that are in the "target_libraries"
1926 # list belongs in this list. those programs are also very likely
1927 # candidates for the "native_only" list which follows
1929 target_tools
="target-examples target-groff target-gperf target-rda"
1931 ################################################################################
1933 ## All tools belong in one of the four categories, and are assigned above
1934 ## We assign ${configdirs} this way to remove all embedded newlines. This
1935 ## is important because configure will choke if they ever get through.
1936 ## ${configdirs} is directories we build using the host tools.
1937 ## ${target_configdirs} is directories we build using the target tools.
1938 configdirs
=`echo ${host_libs} ${host_tools}`
1939 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1940 build_configdirs
=`echo ${build_libs} ${build_tools}`
1944 ################################################################################
1946 srcname
="gnu development package"
1948 # This gets set non-empty for some net releases of packages.
1951 # Define is_cross_compiler to save on calls to 'test'.
1953 if test x
"${host}" = x
"${target}" ; then
1954 is_cross_compiler
=no
1956 is_cross_compiler
=yes
1959 # Find the build and target subdir names.
1961 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1962 # have matching libraries, they should use host libraries: Makefile.tpl
1963 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1964 # However, they still use the build modules, because the corresponding
1965 # host modules (e.g. bison) are only built for the host when bootstrap
1967 # - build_subdir is where we find build modules, and never changes.
1968 # - build_libsubdir is where we find build libraries, and can be overridden.
1970 # Prefix 'build-' so this never conflicts with target_subdir.
1971 build_subdir
="build-${build_noncanonical}"
1973 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1974 if test "${with_build_libsubdir+set}" = set; then
1975 withval
="$with_build_libsubdir"
1976 build_libsubdir
="$withval"
1978 build_libsubdir
="$build_subdir"
1980 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1981 if ( test $srcdir = .
&& test -d gcc
) \
1982 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1983 host_subdir
="host-${host_noncanonical}"
1988 target_subdir
=${target_noncanonical}
1991 # Skipdirs are removed silently.
1993 # Noconfigdirs are removed loudly.
1997 # Make sure we don't let GNU ld be added if we didn't want it.
1998 if test x
$with_gnu_ld = xno
; then
2000 noconfigdirs
="$noconfigdirs ld gold"
2004 # Make sure we don't let GNU as be added if we didn't want it.
2005 if test x
$with_gnu_as = xno
; then
2007 noconfigdirs
="$noconfigdirs gas"
2010 # some tools are so dependent upon X11 that if we're not building with X,
2011 # it's not even worth trying to configure, much less build, that tool.
2014 yes |
"") ;; # the default value for this tree is that X11 is available
2016 skipdirs
="${skipdirs} tk itcl libgui"
2017 # We won't be able to build gdbtk without X.
2020 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2023 # Some tools are only suitable for building in a "native" situation.
2024 # Remove these if host!=target.
2025 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2027 # Similarly, some are only suitable for cross toolchains.
2028 # Remove these if host=target.
2029 cross_only
="target-libgloss target-newlib target-opcodes"
2031 case $is_cross_compiler in
2032 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2033 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2036 # If both --with-headers and --with-libs are specified, default to
2038 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2039 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2040 if test x
"${with_newlib}" = x
; then
2045 # Recognize --with-newlib/--without-newlib.
2046 case ${with_newlib} in
2047 no
) skipdirs
="${skipdirs} target-newlib" ;;
2048 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2051 # Handle --enable-gold.
2053 # Check whether --enable-gold or --disable-gold was given.
2054 if test "${enable_gold+set}" = set; then
2055 enableval
="$enable_gold"
2056 ENABLE_GOLD
=$enableval
2060 if test "${ENABLE_GOLD}" = "yes"; then
2061 # Check for ELF target.
2064 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2065 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2066 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2068 *-*-linux*aout
* |
*-*-linux*oldld
*)
2076 if test "$is_elf" = "yes"; then
2077 # Check for target supported by gold.
2079 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-*)
2080 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2086 # Configure extra directories which are host specific
2090 configdirs
="$configdirs libtermcap" ;;
2093 # A target can indicate whether a language isn't supported for some reason.
2094 # Only spaces may be used in this macro; not newlines or tabs.
2095 unsupported_languages
=
2097 # Remove more programs from consideration, based on the host or
2098 # target this usually means that a port of the program doesn't
2103 noconfigdirs
="$noconfigdirs byacc"
2105 i
[3456789]86-*-vsta)
2106 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2108 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2109 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2112 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2114 i
[3456789]86-*-mingw32*)
2115 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2116 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2118 i
[3456789]86-*-beos*)
2119 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2122 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2125 noconfigdirs
="$noconfigdirs rcs"
2128 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2131 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2136 # Check whether --enable-libada or --disable-libada was given.
2137 if test "${enable_libada+set}" = set; then
2138 enableval
="$enable_libada"
2139 ENABLE_LIBADA
=$enableval
2143 if test "${ENABLE_LIBADA}" != "yes" ; then
2144 noconfigdirs
="$noconfigdirs gnattools"
2147 # Check whether --enable-libssp or --disable-libssp was given.
2148 if test "${enable_libssp+set}" = set; then
2149 enableval
="$enable_libssp"
2150 ENABLE_LIBSSP
=$enableval
2155 # Save it here so that, even in case of --enable-libgcj, if the Java
2156 # front-end isn't enabled, we still get libgcj disabled.
2157 libgcj_saved
=$libgcj
2158 case $enable_libgcj in
2160 # If we reset it here, it won't get added to noconfigdirs in the
2161 # target-specific build rules, so it will be forcibly enabled
2162 # (unless the Java language itself isn't enabled).
2166 # Make sure we get it printed in the list of not supported target libs.
2167 noconfigdirs
="$noconfigdirs ${libgcj}"
2172 # Disable libmudflap on some systems.
2173 if test x
$enable_libmudflap = x
; then
2175 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2176 # Enable libmudflap by default in GNU and friends.
2179 # Enable libmudflap by default in FreeBSD.
2182 # Disable it by default everywhere else.
2183 noconfigdirs
="$noconfigdirs target-libmudflap"
2188 # Disable libgomp on non POSIX hosted systems.
2189 if test x
$enable_libgomp = x
; then
2190 # Enable libgomp by default on hosted POSIX systems.
2192 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2194 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2196 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2198 *-*-darwin* |
*-*-aix*)
2201 noconfigdirs
="$noconfigdirs target-libgomp"
2206 # Default libgloss CPU subdirectory.
2207 libgloss_dir
="$target_cpu"
2211 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2213 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2214 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2215 noconfigdirs
="$noconfigdirs sim target-rda"
2218 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2219 noconfigdirs
="$noconfigdirs sim target-rda"
2220 noconfigdirs
="$noconfigdirs ${libgcj}"
2222 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2223 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2226 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2227 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2228 && test -f /usr
/local
/include
/gmp.h
; then
2232 # Skip some stuff that's unsupported on some FreeBSD configurations.
2237 noconfigdirs
="$noconfigdirs ${libgcj}"
2242 # Remove unsupported stuff on all kaOS configurations.
2243 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2244 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2245 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2246 noconfigdirs
="$noconfigdirs target-libgloss"
2249 # Skip some stuff on all NetBSD configurations.
2250 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2252 # Skip some stuff that's unsupported on some NetBSD configurations.
2254 i
*86-*-netbsdelf*) ;;
2255 arm
*-*-netbsdelf*) ;;
2257 noconfigdirs
="$noconfigdirs ${libgcj}"
2262 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2265 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2267 # The tpf target doesn't support gdb yet.
2269 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2272 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2275 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2278 # ld works, but does not support shared libraries.
2279 # newlib is not 64 bit ready. I'm not sure about fileutils.
2280 # gas doesn't generate exception information.
2281 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2284 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2287 # newlib is not 64 bit ready
2288 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2291 # newlib is not 64 bit ready
2292 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2295 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2298 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2300 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2301 noconfigdirs
="$noconfigdirs ${libgcj}"
2302 noconfigdirs
="$noconfigdirs target-examples"
2303 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2304 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2305 noconfigdirs
="$noconfigdirs expect dejagnu"
2306 # the C++ libraries don't build on top of CE's C libraries
2307 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2308 noconfigdirs
="$noconfigdirs target-newlib"
2310 *-*-cygwin*) ;; # keep gdb and readline
2311 *) noconfigdirs
="$noconfigdirs gdb readline"
2317 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2321 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2322 noconfigdirs
="$noconfigdirs ${libgcj}"
2325 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2326 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2329 arm
*-*-linux-gnueabi)
2330 noconfigdirs
="$noconfigdirs target-qthreads"
2331 case ${with_newlib} in
2332 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2337 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2341 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2344 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2347 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2350 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2353 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2356 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2359 noconfigdirs
="$noconfigdirs gdb"
2360 if test x
${is_cross_compiler} != xno
; then
2361 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2364 c4x-
*-* | tic4x-
*-*)
2365 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2367 c54x
*-*-* | tic54x-
*-*)
2368 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2371 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2373 cris-
*-* | crisv32-
*-*)
2374 unsupported_languages
="$unsupported_languages java"
2377 unsupported_languages
="$unsupported_languages fortran"
2378 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2380 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2382 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2384 unsupported_languages
="$unsupported_languages fortran"
2385 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2390 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2393 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2396 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2398 ep9312-
*-elf | ep9312-
*-coff)
2402 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2405 noconfigdirs
="$noconfigdirs ${libgcj}"
2408 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2411 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2413 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2415 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2416 # In this case, it's because the hppa64-linux target is for
2417 # the kernel only at this point and has no libc, and thus no
2418 # headers, crt*.o, etc., all of which are needed by these.
2419 noconfigdirs
="$noconfigdirs target-zlib"
2421 parisc
*-*-linux* | hppa
*-*-linux*)
2425 hppa
*-*-openbsd* | \
2427 noconfigdirs
="$noconfigdirs ${libgcj}"
2430 noconfigdirs
="$noconfigdirs ld shellutils"
2436 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2437 # build on HP-UX 10.20.
2438 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2441 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2444 # No gdb support yet.
2445 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2448 # No gdb or ld support yet.
2449 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2453 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2454 noconfigdirs
="$noconfigdirs ${libgcj}"
2457 i
[3456789]86-*-linux*)
2458 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2459 # not build java stuff by default.
2462 noconfigdirs
="$noconfigdirs ${libgcj}";;
2465 # This section makes it possible to build newlib natively on linux.
2466 # If we are using a cross compiler then don't configure newlib.
2467 if test x
${is_cross_compiler} != xno
; then
2468 noconfigdirs
="$noconfigdirs target-newlib"
2470 noconfigdirs
="$noconfigdirs target-libgloss"
2471 # If we are not using a cross compiler, do configure newlib.
2472 # Note however, that newlib will only be configured in this situation
2473 # if the --with-newlib option has been given, because otherwise
2474 # 'target-newlib' will appear in skipdirs.
2476 i
[3456789]86-*-mingw32*)
2477 target_configdirs
="$target_configdirs target-winsup"
2478 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2481 target_configdirs
="$target_configdirs target-winsup"
2482 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2485 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2486 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2487 # always build newlib if winsup directory is present.
2488 if test -d "$srcdir/winsup/cygwin"; then
2489 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2490 elif test -d "$srcdir/newlib"; then
2491 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2494 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2495 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2498 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2500 i
[3456789]86-*-sco3.2v5
*)
2501 # The linker does not yet know about weak symbols in COFF,
2502 # and is not configured to handle mixed ELF and COFF.
2503 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2505 i
[3456789]86-*-sco*)
2506 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2508 i
[3456789]86-*-solaris2*)
2509 noconfigdirs
="$noconfigdirs target-libgloss"
2511 i
[3456789]86-*-sysv4*)
2512 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2514 i
[3456789]86-*-beos*)
2515 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2517 i
[3456789]86-*-rdos*)
2518 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2521 noconfigdirs
="$noconfigdirs ${libgcj}"
2523 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2524 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2525 libgloss_dir
=m68hc11
2528 noconfigdirs
="$noconfigdirs ${libgcj}"
2531 noconfigdirs
="$noconfigdirs ${libgcj}"
2533 m68
*-*-* | fido-
*-*)
2537 # The EPOC C++ environment does not support exceptions or rtti,
2538 # and so building libstdc++-v3 tends not to always work.
2539 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2542 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2543 unsupported_languages
="$unsupported_languages fortran java"
2546 noconfigdirs
="$noconfigdirs ${libgcj}"
2549 noconfigdirs
="$noconfigdirs ${libgcj}"
2552 noconfigdirs
="$noconfigdirs sim"
2555 # copied from rs6000-*-* entry
2556 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2558 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2559 target_configdirs
="$target_configdirs target-winsup"
2560 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2561 # always build newlib.
2562 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2564 # This is temporary until we can link against shared libraries
2565 powerpcle-
*-solaris*)
2566 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2570 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2573 noconfigdirs
="$noconfigdirs ${libgcj}"
2576 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2580 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2583 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2586 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2589 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2592 skipdirs
="$skipdirs target-libiberty"
2593 noconfigdirs
="$noconfigdirs ${libgcj}"
2594 if test x
$with_newlib = xyes
; then
2595 noconfigdirs
="$noconfigdirs gprof"
2600 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2603 # Linking libjava exceeds command-line length limits on at least
2604 # IRIX 6.2, but not on IRIX 6.5.
2605 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2606 # <oldham@codesourcery.com>
2607 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2610 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2616 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2620 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2624 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2625 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2626 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2627 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2629 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2631 sparclet-
*-aout* | sparc86x-
*-*)
2635 noconfigdirs
="$noconfigdirs ${libgcj}"
2638 noconfigdirs
="$noconfigdirs ${libgcj}"
2642 noconfigdirs
="$noconfigdirs ${libgcj}"
2646 noconfigdirs
="$noconfigdirs ${libgcj}"
2647 if test x
${is_cross_compiler} != xno
; then
2648 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2653 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2654 noconfigdirs
="$noconfigdirs ${libgcj}"
2656 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2659 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2662 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2665 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2668 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2671 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2674 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2677 noconfigdirs
="$noconfigdirs ${libgcj}"
2680 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2682 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2689 noconfigdirs
="$noconfigdirs ${libgcj}"
2693 # If we aren't building newlib, then don't build libgloss, since libgloss
2694 # depends upon some newlib header files.
2695 case "${noconfigdirs}" in
2696 *target-libgloss
*) ;;
2697 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2700 # Work in distributions that contain no compiler tools, like Autoconf.
2702 host_makefile_frag
=/dev
/null
2703 if test -d ${srcdir}/config
; then
2706 # Avoid "too much defining" errors from HPUX compiler.
2707 tentative_cc
="cc -Wp,-H256000"
2708 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2709 # If it's HP/UX ar, this should be harmless.
2713 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2716 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2717 # chokes on bfd, the compiler won't let you assign integers to enums, and
2718 # other problems. Defining CC to gcc is a questionable way to say "don't use
2719 # the apollo compiler" (the preferred version of GCC could be called cc,
2720 # or whatever), but I'm not sure leaving CC as cc is any better...
2721 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2722 # Used to have BISON=yacc.
2726 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2729 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2730 tentative_cc
="cc -Xa"
2731 host_makefile_frag
="config/mh-cxux"
2733 m88k-motorola-sysv
*)
2736 tentative_cc
="cc -Wf,-XNg1000"
2737 host_makefile_frag
="config/mh-decstation"
2740 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2741 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2742 host_makefile_frag
="config/mh-necv4"
2745 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2746 # environment. Also bump switch table size so that cp-parse will
2747 # compile. Bump string length limit so linker builds.
2748 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2751 host_makefile_frag
="config/mh-sysv4"
2754 # This is for a MIPS running RISC/os 4.52C.
2756 # This is needed for GDB, but needs to be in the top-level make because
2757 # if a library is compiled with the bsd headers and gets linked with the
2758 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2759 # a different size).
2760 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2761 # known except to select the sysv environment. Could we use /proc instead?
2762 # These "sysv environments" and "bsd environments" often end up being a pain.
2764 # This is not part of CFLAGS because perhaps not all C compilers have this
2766 tentative_cc
="cc -systype sysv"
2771 i
[3456789]86-*-sysv5*)
2772 host_makefile_frag
="config/mh-sysv5"
2774 i
[3456789]86-*-dgux*)
2775 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2776 host_makefile_frag
="config/mh-dgux386"
2778 i
[3456789]86-ncr-sysv4.3
*)
2779 # The MetaWare compiler will generate a copyright message unless you
2780 # turn it off by adding the -Hnocopyr flag.
2781 tentative_cc
="cc -Hnocopyr"
2783 i
[3456789]86-ncr-sysv4*)
2784 # for an NCR 3000 (i486/SVR4) system.
2785 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2786 # This compiler not only emits obnoxious copyright messages every time
2787 # you run it, but it chokes and dies on a whole bunch of GNU source
2788 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2789 tentative_cc
="/usr/ccs/ATT/cc"
2790 host_makefile_frag
="config/mh-ncr3000"
2792 i
[3456789]86-*-sco3.2v5
*)
2794 i
[3456789]86-*-sco*)
2795 # The native C compiler botches some simple uses of const. Unfortunately,
2796 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2797 tentative_cc
="cc -Dconst="
2798 host_makefile_frag
="config/mh-sco"
2800 i
[3456789]86-*-udk*)
2801 host_makefile_frag
="config/mh-sysv5"
2803 i
[3456789]86-*-solaris2*)
2804 host_makefile_frag
="config/mh-sysv4"
2806 i
[3456789]86-*-msdosdjgpp*)
2807 host_makefile_frag
="config/mh-djgpp"
2811 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2812 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2813 echo a
>cygwin-cat-check
2814 if test `cat cygwin-cat-check` == a
; then
2816 echo "$as_me:$LINENO: result: yes" >&5
2817 echo "${ECHO_T}yes" >&6
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2822 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2823 Please either mount the build directory in binary mode or run the following
2824 commands before running any configure script:
2828 echo "$as_me: error: The cat command does not ignore carriage return characters.
2829 Please either mount the build directory in binary mode or run the following
2830 commands before running any configure script:
2834 { (exit 1); exit 1; }; }
2837 host_makefile_frag
="config/mh-cygwin"
2840 host_makefile_frag
="config/mh-mingw"
2843 host_makefile_frag
="config/mh-interix"
2846 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2850 host_makefile_frag
="config/mh-solaris"
2853 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2854 # without overflowing the jump tables (-J says to use a 32 bit table)
2855 tentative_cc
="cc -J"
2858 tentative_cc
="cc -Wp,-H256000"
2859 host_makefile_frag
="config/mh-pa-hpux10"
2861 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2862 tentative_cc
="cc -Wp,-H256000"
2863 host_makefile_frag
="config/mh-pa"
2866 host_makefile_frag
="config/mh-pa"
2868 *-hp-hpux* |
*-*-hiux*)
2869 tentative_cc
="cc -Wp,-H256000"
2872 # /bin/cc is less than useful for our purposes. Always use GCC
2873 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2874 host_makefile_frag
="config/mh-lynxrs6k"
2877 host_makefile_frag
="config/mh-ppc-darwin"
2880 host_makefile_frag
="config/mh-ppc-aix"
2883 host_makefile_frag
="config/mh-ppc-aix"
2886 # /bin/cc is less than useful for our purposes. Always use GCC
2887 tentative_cc
="/bin/gcc"
2890 host_makefile_frag
="config/mh-sysv4"
2892 # This is placed last to prevent interfering with the cases above.
2894 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2895 host_makefile_frag
="config/mh-x86omitfp"
2900 # If we aren't going to be using gcc, see if we can extract a definition
2901 # of CC from the fragment.
2902 # Actually, use the 'pre-extracted' version above.
2903 if test -z "${CC}" && test "${build}" = "${host}" ; then
2904 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2906 for dir
in $PATH; do
2907 test -z "$dir" && dir
=.
2908 if test -f $dir/gcc
; then
2914 if test -z "${found}" && test -n "${tentative_cc}" ; then
2919 if test "${build}" != "${host}" ; then
2920 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2921 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2922 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2923 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2924 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2925 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2926 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2927 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2928 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2929 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2930 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2931 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2933 AR_FOR_BUILD
="\$(AR)"
2934 AS_FOR_BUILD
="\$(AS)"
2935 CC_FOR_BUILD
="\$(CC)"
2936 CXX_FOR_BUILD
="\$(CXX)"
2937 GCJ_FOR_BUILD
="\$(GCJ)"
2938 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2939 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2940 LD_FOR_BUILD
="\$(LD)"
2941 NM_FOR_BUILD
="\$(NM)"
2942 RANLIB_FOR_BUILD
="\$(RANLIB)"
2943 WINDRES_FOR_BUILD
="\$(WINDRES)"
2944 WINDMC_FOR_BUILD
="\$(WINDMC)"
2948 ac_cpp
='$CPP $CPPFLAGS'
2949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_CC+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC
="$CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test -n "$CC"; then
2981 echo "$as_me:$LINENO: result: $CC" >&5
2982 echo "${ECHO_T}$CC" >&6
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2989 if test -z "$ac_cv_prog_CC"; then
2991 # Extract the first word of "gcc", so it can be a program name with args.
2992 set dummy gcc
; ac_word
=$2
2993 echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_CC
="gcc"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3018 if test -n "$ac_ct_CC"; then
3019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3020 echo "${ECHO_T}$ac_ct_CC" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_CC+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC
="$CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 echo "$as_me:$LINENO: result: $CC" >&5
3062 echo "${ECHO_T}$CC" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3069 if test -z "$ac_cv_prog_CC"; then
3071 # Extract the first word of "cc", so it can be a program name with args.
3072 set dummy cc
; ac_word
=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC
="cc"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3098 if test -n "$ac_ct_CC"; then
3099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3100 echo "${ECHO_T}$ac_ct_CC" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3112 if test -z "$CC"; then
3113 # Extract the first word of "cc", so it can be a program name with args.
3114 set dummy cc
; ac_word
=$2
3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117 if test "${ac_cv_prog_CC+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC
="$CC" # Let the user override the test.
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3132 ac_prog_rejected
=yes
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 if test $ac_prog_rejected = yes; then
3143 # We found a bogon in the path, so make sure we never use it.
3144 set dummy
$ac_cv_prog_CC
3146 if test $# != 0; then
3147 # We chose a different compiler from the bogus one.
3148 # However, it has the same basename, so the bogon will be chosen
3149 # first if we set CC to just the basename; use the full file name.
3151 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3157 if test -n "$CC"; then
3158 echo "$as_me:$LINENO: result: $CC" >&5
3159 echo "${ECHO_T}$CC" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3166 if test -z "$CC"; then
3167 if test -n "$ac_tool_prefix"; then
3170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3172 echo "$as_me:$LINENO: checking for $ac_word" >&5
3173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3174 if test "${ac_cv_prog_CC+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 if test -n "$CC"; then
3178 ac_cv_prog_CC
="$CC" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 echo "$as_me:$LINENO: result: $CC" >&5
3199 echo "${ECHO_T}$CC" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3205 test -n "$CC" && break
3208 if test -z "$CC"; then
3212 # Extract the first word of "$ac_prog", so it can be a program name with args.
3213 set dummy
$ac_prog; ac_word
=$2
3214 echo "$as_me:$LINENO: checking for $ac_word" >&5
3215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 if test -n "$ac_ct_CC"; then
3220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_prog"
3230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3241 echo "${ECHO_T}$ac_ct_CC" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3247 test -n "$ac_ct_CC" && break
3256 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3257 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details." >&5
3260 echo "$as_me: error: no acceptable C compiler found in \$PATH
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }; }
3264 # Provide some information about the compiler.
3265 echo "$as_me:$LINENO:" \
3266 "checking for C compiler version" >&5
3267 ac_compiler
=`set X $ac_compile; echo $2`
3268 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3269 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }
3273 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3274 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); }
3278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3279 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }
3284 cat >conftest.
$ac_ext <<_ACEOF
3287 cat confdefs.h
>>conftest.
$ac_ext
3288 cat >>conftest.
$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3299 ac_clean_files_save
=$ac_clean_files
3300 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3301 # Try to create an executable without -o first, disregard a.out.
3302 # It will help us diagnose broken compilers, and finding out an intuition
3304 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3305 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3306 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3307 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3308 (eval $ac_link_default) 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; then
3312 # Find the output, starting from the most likely. This scheme is
3313 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3316 # Be careful to initialize this variable, since it used to be cached.
3317 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3319 # b.out is created by i960 compilers.
3320 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3322 test -f "$ac_file" ||
continue
3324 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3327 # This is the source file.
3330 # We found the default executable, but exeext='' is most
3334 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335 # FIXME: I believe we export ac_cv_exeext for Libtool,
3336 # but it would be cool to find out if it's true. Does anybody
3337 # maintain Libtool? --akim.
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3348 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3349 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3351 See \`config.log' for more details." >&5
3352 echo "$as_me: error: C compiler cannot create executables
3353 See \`config.log' for more details." >&2;}
3354 { (exit 77); exit 77; }; }; }
3357 ac_exeext
=$ac_cv_exeext
3358 echo "$as_me:$LINENO: result: $ac_file" >&5
3359 echo "${ECHO_T}$ac_file" >&6
3361 # Check the compiler produces executables we can run. If not, either
3362 # the compiler is broken, or we cross compile.
3363 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3364 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3365 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3366 # If not cross compiling, check that we can run a simple program.
3367 if test "$cross_compiling" != yes; then
3368 if { ac_try
='./$ac_file'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3376 if test "$cross_compiling" = maybe
; then
3379 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3380 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3382 If you meant to cross compile, use \`--host'.
3383 See \`config.log' for more details." >&5
3384 echo "$as_me: error: cannot run C compiled programs.
3385 If you meant to cross compile, use \`--host'.
3386 See \`config.log' for more details." >&2;}
3387 { (exit 1); exit 1; }; }; }
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3394 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3395 ac_clean_files
=$ac_clean_files_save
3396 # Check the compiler produces executables we can run. If not, either
3397 # the compiler is broken, or we cross compile.
3398 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3399 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3400 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3401 echo "${ECHO_T}$cross_compiling" >&6
3403 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3404 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3406 (eval $ac_link) 2>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; then
3410 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3411 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3412 # work properly (i.e., refer to `conftest.exe'), while it won't with
3414 for ac_file
in conftest.exe conftest conftest.
*; do
3415 test -f "$ac_file" ||
continue
3417 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3418 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3428 See \`config.log' for more details." >&5
3429 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3430 See \`config.log' for more details." >&2;}
3431 { (exit 1); exit 1; }; }; }
3434 rm -f conftest
$ac_cv_exeext
3435 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3436 echo "${ECHO_T}$ac_cv_exeext" >&6
3438 rm -f conftest.
$ac_ext
3439 EXEEXT
=$ac_cv_exeext
3441 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3442 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3443 if test "${ac_cv_objext+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.o conftest.obj
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; then
3467 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3469 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3470 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3479 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3481 See \`config.log' for more details." >&5
3482 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3483 See \`config.log' for more details." >&2;}
3484 { (exit 1); exit 1; }; }; }
3487 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3489 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3490 echo "${ECHO_T}$ac_cv_objext" >&6
3491 OBJEXT
=$ac_cv_objext
3493 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3494 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3516 rm -f conftest.
$ac_objext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3518 (eval $ac_compile) 2>conftest.er1
3520 grep -v '^ *+' conftest.er1
>conftest.err
3522 cat conftest.err
>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try
='test -z "$ac_c_werror_flag"
3526 || test ! -s conftest.err'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; } &&
3532 { ac_try
='test -s conftest.$ac_objext'
3533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.
$ac_ext >&5
3545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3549 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3550 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3551 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3552 ac_test_CFLAGS
=${CFLAGS+set}
3553 ac_save_CFLAGS
=$CFLAGS
3555 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3556 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3557 if test "${ac_cv_prog_cc_g+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag"
3585 || test ! -s conftest.err'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try
='test -s conftest.$ac_objext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3606 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3607 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS
=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3617 if test "$GCC" = yes; then
3623 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3624 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3625 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 ac_cv_prog_cc_stdc
=no
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3638 #include <sys/types.h>
3639 #include <sys/stat.h>
3640 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3641 struct buf { int x; };
3642 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3643 static char *e (p, i)
3649 static char *f (char * (*g) (char **, int), char **p, ...)
3654 s = g (p, va_arg (v,int));
3659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3660 function prototypes and stuff, but not '\xHH' hex character constants.
3661 These don't provoke an error unfortunately, instead are silently treated
3662 as 'x'. The following induces an error, until -std1 is added to get
3663 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3664 array size at least. It's necessary to write '\x00'==0 to get something
3665 that's true only with -std1. */
3666 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 # Don't try gcc -ansi; that turns off useful extensions and
3683 # breaks some systems' header files.
3684 # AIX -qlanglvl=ansi
3685 # Ultrix and OSF/1 -std1
3686 # HP-UX 10.20 and later -Ae
3687 # HP-UX older versions -Aa -D_HPUX_SOURCE
3688 # SVR4 -Xc -D__EXTENSIONS__
3689 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3691 CC
="$ac_save_CC $ac_arg"
3692 rm -f conftest.
$ac_objext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1
>conftest.err
3698 cat conftest.err
>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } &&
3701 { ac_try
='test -z "$ac_c_werror_flag"
3702 || test ! -s conftest.err'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; } &&
3708 { ac_try
='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_cv_prog_cc_stdc
=$ac_arg
3717 echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.
$ac_ext >&5
3721 rm -f conftest.err conftest.
$ac_objext
3723 rm -f conftest.
$ac_ext conftest.
$ac_objext
3728 case "x$ac_cv_prog_cc_stdc" in
3730 echo "$as_me:$LINENO: result: none needed" >&5
3731 echo "${ECHO_T}none needed" >&6 ;;
3733 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3734 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3735 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3738 # Some people use a C++ compiler to compile C. Since we use `exit',
3739 # in C++ we need to declare it. In case someone uses the same compiler
3740 # for both compiling C and C++ we need to have the C++ compiler decide
3741 # the declaration of exit, since it's the most demanding environment.
3742 cat >conftest.
$ac_ext <<_ACEOF
3747 rm -f conftest.
$ac_objext
3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3749 (eval $ac_compile) 2>conftest.er1
3751 grep -v '^ *+' conftest.er1
>conftest.err
3753 cat conftest.err
>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } &&
3756 { ac_try
='test -z "$ac_c_werror_flag"
3757 || test ! -s conftest.err'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; } &&
3763 { ac_try
='test -s conftest.$ac_objext'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then
3769 for ac_declaration
in \
3771 'extern "C" void std::exit (int) throw (); using std::exit;' \
3772 'extern "C" void std::exit (int); using std::exit;' \
3773 'extern "C" void exit (int) throw ();' \
3774 'extern "C" void exit (int);' \
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3793 rm -f conftest.
$ac_objext
3794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3795 (eval $ac_compile) 2>conftest.er1
3797 grep -v '^ *+' conftest.er1
>conftest.err
3799 cat conftest.err
>&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } &&
3802 { ac_try
='test -z "$ac_c_werror_flag"
3803 || test ! -s conftest.err'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; } &&
3809 { ac_try
='test -s conftest.$ac_objext'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; }; then
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.
$ac_ext >&5
3822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3838 rm -f conftest.
$ac_objext
3839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3840 (eval $ac_compile) 2>conftest.er1
3842 grep -v '^ *+' conftest.er1
>conftest.err
3844 cat conftest.err
>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } &&
3847 { ac_try
='test -z "$ac_c_werror_flag"
3848 || test ! -s conftest.err'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; } &&
3854 { ac_try
='test -s conftest.$ac_objext'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; }; then
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.
$ac_ext >&5
3866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3869 if test -n "$ac_declaration"; then
3870 echo '#ifdef __cplusplus' >>confdefs.h
3871 echo $ac_declaration >>confdefs.h
3872 echo '#endif' >>confdefs.h
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3882 ac_cpp
='$CPP $CPPFLAGS'
3883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 ac_cpp
='$CXXCPP $CPPFLAGS'
3889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3892 if test -n "$ac_tool_prefix"; then
3893 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3897 echo "$as_me:$LINENO: checking for $ac_word" >&5
3898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3899 if test "${ac_cv_prog_CXX+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if test -n "$CXX"; then
3903 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 if test -n "$CXX"; then
3923 echo "$as_me:$LINENO: result: $CXX" >&5
3924 echo "${ECHO_T}$CXX" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3930 test -n "$CXX" && break
3933 if test -z "$CXX"; then
3935 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3937 # Extract the first word of "$ac_prog", so it can be a program name with args.
3938 set dummy
$ac_prog; ac_word
=$2
3939 echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if test -n "$ac_ct_CXX"; then
3945 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir
=.
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3964 if test -n "$ac_ct_CXX"; then
3965 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3966 echo "${ECHO_T}$ac_ct_CXX" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3972 test -n "$ac_ct_CXX" && break
3974 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3980 # Provide some information about the compiler.
3981 echo "$as_me:$LINENO:" \
3982 "checking for C++ compiler version" >&5
3983 ac_compiler
=`set X $ac_compile; echo $2`
3984 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3985 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }
3989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3990 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }
3994 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3995 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }
4000 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4001 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4002 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_cxx_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4053 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4056 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4057 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4058 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4059 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4060 ac_save_CXXFLAGS
=$CXXFLAGS
4062 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4063 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4064 if test "${ac_cv_prog_cxx_g+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.
$ac_ext <<_ACEOF
4070 cat confdefs.h
>>conftest.
$ac_ext
4071 cat >>conftest.
$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4082 rm -f conftest.
$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try
='test -z "$ac_cxx_werror_flag"
4092 || test ! -s conftest.err'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; } &&
4098 { ac_try
='test -s conftest.$ac_objext'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; }; then
4104 ac_cv_prog_cxx_g
=yes
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.
$ac_ext >&5
4111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4113 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4114 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4115 if test "$ac_test_CXXFLAGS" = set; then
4116 CXXFLAGS
=$ac_save_CXXFLAGS
4117 elif test $ac_cv_prog_cxx_g = yes; then
4118 if test "$GXX" = yes; then
4124 if test "$GXX" = yes; then
4130 for ac_declaration
in \
4132 'extern "C" void std::exit (int) throw (); using std::exit;' \
4133 'extern "C" void std::exit (int); using std::exit;' \
4134 'extern "C" void exit (int) throw ();' \
4135 'extern "C" void exit (int);' \
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4154 rm -f conftest.
$ac_objext
4155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4156 (eval $ac_compile) 2>conftest.er1
4158 grep -v '^ *+' conftest.er1
>conftest.err
4160 cat conftest.err
>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } &&
4163 { ac_try
='test -z "$ac_cxx_werror_flag"
4164 || test ! -s conftest.err'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try
='test -s conftest.$ac_objext'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; }; then
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4199 rm -f conftest.
$ac_objext
4200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>conftest.er1
4203 grep -v '^ *+' conftest.er1
>conftest.err
4205 cat conftest.err
>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try
='test -z "$ac_cxx_werror_flag"
4209 || test ! -s conftest.err'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4230 if test -n "$ac_declaration"; then
4231 echo '#ifdef __cplusplus' >>confdefs.h
4232 echo $ac_declaration >>confdefs.h
4233 echo '#endif' >>confdefs.h
4237 ac_cpp
='$CPP $CPPFLAGS'
4238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4243 # We must set the default linker to the linker used by gcc for the correct
4244 # operation of libtool. If LD is not defined and we are using gcc, try to
4245 # set the LD default to the ld used by gcc.
4246 if test -z "$LD"; then
4247 if test "$GCC" = yes; then
4250 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4252 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4254 case $gcc_prog_ld in
4255 # Accept absolute paths.
4256 [\\/]* |
[A-Za-z
]:[\\/]*)
4257 LD
="$gcc_prog_ld" ;;
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4267 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if test -n "$GNATBIND"; then
4274 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 GNATBIND
=$ac_cv_prog_GNATBIND
4293 if test -n "$GNATBIND"; then
4294 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4295 echo "${ECHO_T}$GNATBIND" >&6
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4302 if test -z "$ac_cv_prog_GNATBIND"; then
4303 ac_ct_GNATBIND
=$GNATBIND
4304 # Extract the first word of "gnatbind", so it can be a program name with args.
4305 set dummy gnatbind
; ac_word
=$2
4306 echo "$as_me:$LINENO: checking for $ac_word" >&5
4307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4308 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 if test -n "$ac_ct_GNATBIND"; then
4312 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4331 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4332 if test -n "$ac_ct_GNATBIND"; then
4333 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4334 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4340 GNATBIND
=$ac_ct_GNATBIND
4342 GNATBIND
="$ac_cv_prog_GNATBIND"
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4347 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 if test -n "$GNATMAKE"; then
4354 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_exec_ext
in '' $ac_executable_extensions; do
4362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 GNATMAKE
=$ac_cv_prog_GNATMAKE
4373 if test -n "$GNATMAKE"; then
4374 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4375 echo "${ECHO_T}$GNATMAKE" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4382 if test -z "$ac_cv_prog_GNATMAKE"; then
4383 ac_ct_GNATMAKE
=$GNATMAKE
4384 # Extract the first word of "gnatmake", so it can be a program name with args.
4385 set dummy gnatmake
; ac_word
=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$ac_ct_GNATMAKE"; then
4392 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4411 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4412 if test -n "$ac_ct_GNATMAKE"; then
4413 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4414 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4420 GNATMAKE
=$ac_ct_GNATMAKE
4422 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4425 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4426 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4427 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 cat >conftest.adb
<<EOF
4431 procedure conftest is begin null; end conftest;
4433 acx_cv_cc_gcc_supports_ada
=no
4434 # There is a bug in old released versions of GCC which causes the
4435 # driver to exit successfully when the appropriate language module
4436 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4437 # Therefore we must check for the error message as well as an
4438 # unsuccessful exit.
4439 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4440 # given a .adb file, but produce no object file. So we must check
4441 # if an object file was really produced to guard against this.
4442 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4443 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4444 acx_cv_cc_gcc_supports_ada
=yes
4448 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4449 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4451 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4457 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4458 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4459 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4465 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4466 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4469 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4472 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4473 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4476 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4482 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4483 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4484 do_compare
="$gcc_cv_prog_cmp_skip"
4488 # Check for GMP and MPFR
4489 gmplibs
="-lmpfr -lgmp"
4493 # Specify a location for mpfr
4494 # check for this first so it ends up on the link line before gmp.
4496 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4497 if test "${with_mpfr_dir+set}" = set; then
4498 withval
="$with_mpfr_dir"
4499 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4500 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4501 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4502 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4503 { (exit 1); exit 1; }; }
4507 # Check whether --with-mpfr or --without-mpfr was given.
4508 if test "${with_mpfr+set}" = set; then
4509 withval
="$with_mpfr"
4513 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4514 if test "${with_mpfr_include+set}" = set; then
4515 withval
="$with_mpfr_include"
4519 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4520 if test "${with_mpfr_lib+set}" = set; then
4521 withval
="$with_mpfr_lib"
4525 if test "x$with_mpfr" != x
; then
4526 gmplibs
="-L$with_mpfr/lib $gmplibs"
4527 gmpinc
="-I$with_mpfr/include"
4529 if test "x$with_mpfr_include" != x
; then
4530 gmpinc
="-I$with_mpfr_include"
4532 if test "x$with_mpfr_lib" != x
; then
4533 gmplibs
="-L$with_mpfr_lib $gmplibs"
4535 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4536 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4537 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4538 # Do not test the mpfr version. Assume that it is sufficient, since
4539 # it is in the source tree, and the library has not been built yet
4540 # but it would be included on the link line in the version check below
4541 # hence making the test fail.
4545 # Specify a location for gmp
4547 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4548 if test "${with_gmp_dir+set}" = set; then
4549 withval
="$with_gmp_dir"
4550 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4551 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4552 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4553 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4554 { (exit 1); exit 1; }; }
4558 # Check whether --with-gmp or --without-gmp was given.
4559 if test "${with_gmp+set}" = set; then
4564 # Check whether --with-gmp_include or --without-gmp_include was given.
4565 if test "${with_gmp_include+set}" = set; then
4566 withval
="$with_gmp_include"
4570 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4571 if test "${with_gmp_lib+set}" = set; then
4572 withval
="$with_gmp_lib"
4577 if test "x$with_gmp" != x
; then
4578 gmplibs
="-L$with_gmp/lib $gmplibs"
4579 gmpinc
="-I$with_gmp/include $gmpinc"
4581 if test "x$with_gmp_include" != x
; then
4582 gmpinc
="-I$with_gmp_include $gmpinc"
4584 if test "x$with_gmp_lib" != x
; then
4585 gmplibs
="-L$with_gmp_lib $gmplibs"
4587 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4588 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4589 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4590 # Do not test the gmp version. Assume that it is sufficient, since
4591 # it is in the source tree, and the library has not been built yet
4592 # but it would be included on the link line in the version check below
4593 # hence making the test fail.
4597 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4599 saved_CFLAGS
="$CFLAGS"
4600 CFLAGS
="$CFLAGS $gmpinc"
4601 # Check GMP actually works
4602 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4603 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4616 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4624 rm -f conftest.
$ac_objext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4626 (eval $ac_compile) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try
='test -z "$ac_c_werror_flag"
4634 || test ! -s conftest.err'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; } &&
4640 { ac_try
='test -s conftest.$ac_objext'
4641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6; have_gmp
=no
4655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4657 if test x
"$have_gmp" = xyes
; then
4659 LIBS
="$LIBS $gmplibs"
4660 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4661 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4662 cat >conftest.
$ac_ext <<_ACEOF
4665 cat confdefs.h
>>conftest.
$ac_ext
4666 cat >>conftest.
$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4674 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4682 mpfr_atan2 (n, n, x, GMP_RNDN);
4683 mpfr_erfc (n, x, GMP_RNDN);
4684 mpfr_subnormalize (x, t, GMP_RNDN);
4690 rm -f conftest.
$ac_objext conftest
$ac_exeext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4692 (eval $ac_link) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try
='test -z "$ac_c_werror_flag"
4700 || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try
='test -s conftest$ac_exeext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4724 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4727 mpfr_t n; mpfr_init(n);
4733 rm -f conftest.
$ac_objext conftest
$ac_exeext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4735 (eval $ac_link) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_c_werror_flag"
4743 || test ! -s conftest.err'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest$ac_exeext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4762 echo "${ECHO_T}buggy but acceptable" >&6
4764 rm -f conftest.err conftest.
$ac_objext \
4765 conftest
$ac_exeext conftest.
$ac_ext
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6; have_gmp
=no
4773 rm -f conftest.err conftest.
$ac_objext \
4774 conftest
$ac_exeext conftest.
$ac_ext
4777 CFLAGS
="$saved_CFLAGS"
4779 if test x
$have_gmp != xyes
; then
4780 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
4781 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4782 Copies of these libraries' source code can be found at their respective
4783 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4784 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4785 If you obtained GMP and/or MPFR from a vendor distribution package, make
4786 sure that you have installed both the libraries and the header files.
4787 They may be located in separate packages." >&5
4788 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
4789 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4790 Copies of these libraries' source code can be found at their respective
4791 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4792 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4793 If you obtained GMP and/or MPFR from a vendor distribution package, make
4794 sure that you have installed both the libraries and the header files.
4795 They may be located in separate packages." >&2;}
4796 { (exit 1); exit 1; }; }
4800 # Flags needed for both GMP and/or MPFR
4807 ppl_minor_version
=10
4812 # Check whether --with-ppl or --without-ppl was given.
4813 if test "${with_ppl+set}" = set; then
4818 # Check whether --with-ppl_include or --without-ppl_include was given.
4819 if test "${with_ppl_include+set}" = set; then
4820 withval
="$with_ppl_include"
4824 # Check whether --with-ppl_lib or --without-ppl_lib was given.
4825 if test "${with_ppl_lib+set}" = set; then
4826 withval
="$with_ppl_lib"
4830 if test "x$with_ppl" != x
; then
4831 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
4832 pplinc
="-I$with_ppl/include $pplinc"
4833 LIBS
="$ppllibs $LIBS"
4835 if test "x$with_ppl_include" != x
; then
4836 pplinc
="-I$with_ppl_include $pplinc"
4838 if test "x$with_ppl_lib" != x
; then
4839 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
4840 LIBS
="$ppllibs $LIBS"
4842 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
4843 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
4844 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4845 LIBS
="$ppllibs $LIBS"
4848 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4849 if test "${enable_ppl_version_check+set}" = set; then
4850 enableval
="$enable_ppl_version_check"
4851 ENABLE_PPL_CHECK
=$enableval
4853 ENABLE_PPL_CHECK
=yes
4856 if test "${ENABLE_PPL_CHECK}" = "yes"; then
4857 saved_CFLAGS
="$CFLAGS"
4858 CFLAGS
="$CFLAGS $pplinc $gmpinc"
4859 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4860 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4872 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
4880 rm -f conftest.
$ac_objext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>conftest.er1
4884 grep -v '^ *+' conftest.er1
>conftest.err
4886 cat conftest.err
>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try
='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try
='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
4911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4912 CFLAGS
="$saved_CFLAGS"
4915 # Flags needed for PPL
4921 clooglibs
=" -lcloog "
4922 clooginc
=" -DCLOOG_PPL_BACKEND "
4925 # Check whether --with-cloog or --without-cloog was given.
4926 if test "${with_cloog+set}" = set; then
4927 withval
="$with_cloog"
4931 # Check whether --with-cloog_include or --without-cloog_include was given.
4932 if test "${with_cloog_include+set}" = set; then
4933 withval
="$with_cloog_include"
4937 # Check whether --with-cloog_lib or --without-cloog_lib was given.
4938 if test "${with_cloog_lib+set}" = set; then
4939 withval
="$with_cloog_lib"
4943 # Check whether --with-cloog-polylib or --without-cloog-polylib was given.
4944 if test "${with_cloog_polylib+set}" = set; then
4945 withval
="$with_cloog_polylib"
4949 if test "x$with_cloog" != x
; then
4950 clooglibs
="-L$with_cloog/lib -lcloog"
4951 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
4952 LIBS
="$clooglibs $LIBS"
4954 if test "x$with_cloog_polylib" != x
; then
4955 clooglibs
="-L$with_cloog/lib -lcloog"
4956 clooginc
="-I$with_cloog/include "
4957 LIBS
="$clooglibs $LIBS"
4959 if test "x$with_cloog_include" != x
; then
4960 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
4962 if test "x$with_cloog_lib" != x
; then
4963 clooglibs
="-L$with_cloog_lib -lcloog"
4964 LIBS
="$clooglibs $LIBS"
4966 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
4967 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
4968 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
4969 LIBS
="$clooglibs $LIBS"
4972 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
4973 if test "${enable_cloog_version_check+set}" = set; then
4974 enableval
="$enable_cloog_version_check"
4975 ENABLE_CLOOG_CHECK
=$enableval
4977 ENABLE_CLOOG_CHECK
=yes
4980 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
4981 saved_CFLAGS
="$CFLAGS"
4982 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
4983 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
4984 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
4985 cat >conftest.
$ac_ext <<_ACEOF
4988 cat confdefs.h
>>conftest.
$ac_ext
4989 cat >>conftest.
$ac_ext <<_ACEOF
4990 /* end confdefs.h. */
4991 #include "cloog/cloog.h"
4996 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5004 rm -f conftest.
$ac_objext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5006 (eval $ac_compile) 2>conftest.er1
5008 grep -v '^ *+' conftest.er1
>conftest.err
5010 cat conftest.err
>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } &&
5013 { ac_try
='test -z "$ac_c_werror_flag"
5014 || test ! -s conftest.err'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; } &&
5020 { ac_try
='test -s conftest.$ac_objext'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; }; then
5026 echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5036 CFLAGS
="$saved_CFLAGS"
5039 # Flags needed for CLOOG
5044 # By default, C is the only stage 1 language.
5045 stage1_languages
=,c
,
5047 # Figure out what language subdirectories are present.
5048 # Look if the user specified --enable-languages="..."; if not, use
5049 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5051 # NB: embedded tabs in this IF block -- do not untabify
5052 if test -d ${srcdir}/gcc
; then
5053 if test x
"${enable_languages+set}" != xset
; then
5054 if test x
"${LANGUAGES+set}" = xset
; then
5055 enable_languages
="${LANGUAGES}"
5056 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5058 enable_languages
=all
5061 if test x
"${enable_languages}" = x ||
5062 test x
"${enable_languages}" = xyes
;
5064 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5068 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5070 # 'f95' is the old name for the 'fortran' language. We issue a warning
5071 # and make the substitution.
5072 case ,${enable_languages}, in
5074 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5075 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5079 # First scan to see if an enabled language requires some other language.
5080 # We assume that a given config-lang.in will list all the language
5081 # front ends it requires, even if some are required indirectly.
5082 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5083 case ${lang_frag} in
5085 # The odd quoting in the next line works around
5086 # an apparent bug in bash 1.12 on linux.
5087 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5089 # From the config-lang.in, get $language, $lang_requires
5093 for other
in ${lang_requires} ; do
5094 case ,${enable_languages}, in
5098 echo " \`$other' language required by \`$language'; enabling" 1>&2
5099 enable_languages
="${enable_languages},${other}"
5107 new_enable_languages
=,c
,
5108 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5109 potential_languages
=,c
,
5111 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5112 case ${lang_frag} in
5114 # The odd quoting in the next line works around
5115 # an apparent bug in bash 1.12 on linux.
5116 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5118 # From the config-lang.in, get $language, $target_libs,
5119 # $lang_dirs, $boot_language, and $build_by_default
5125 build_by_default
=yes
5127 if test x
${language} = x
; then
5128 echo "${lang_frag} doesn't set \$language." 1>&2
5132 case ,${enable_languages}, in
5134 # Language was explicitly selected; include it.
5138 # 'all' was selected, select it if it is a default language
5139 add_this_lang
=${build_by_default}
5146 # Disable languages that need other directories if these aren't available.
5147 for i
in $subdir_requires; do
5148 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5149 case ,${enable_languages}, in
5151 # Specifically requested language; tell them.
5152 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5153 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5154 { (exit 1); exit 1; }; }
5158 add_this_lang
=unsupported
5163 # Disable Ada if no preexisting GNAT is available.
5164 case ,${enable_languages},:${language}:${have_gnat} in
5165 *,${language},*:ada
:no
)
5166 # Specifically requested language; tell them.
5167 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5168 echo "$as_me: error: GNAT is required to build $language" >&2;}
5169 { (exit 1); exit 1; }; }
5173 add_this_lang
=unsupported
5177 # Disable a language that is unsupported by the target.
5178 case " $unsupported_languages " in
5180 add_this_lang
=unsupported
5184 case $add_this_lang in
5186 # Remove language-dependent dirs.
5187 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5190 # Remove language-dependent dirs; still show language as supported.
5191 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5192 potential_languages
="${potential_languages}${language},"
5195 new_enable_languages
="${new_enable_languages}${language},"
5196 potential_languages
="${potential_languages}${language},"
5197 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5198 case ${boot_language} in
5200 # Add to (comma-separated) list of stage 1 languages.
5201 stage1_languages
="${stage1_languages}${language},"
5210 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5211 if test "${enable_stage1_languages+set}" = set; then
5212 enableval
="$enable_stage1_languages"
5213 case ,${enable_stage1_languages}, in
5215 # Set it to something that will have no effect in the loop below
5216 enable_stage1_languages
=c
;;
5218 enable_stage1_languages
=`echo $new_enable_languages | \
5219 sed -e "s/^,//" -e "s/,$//" ` ;;
5221 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5222 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5225 # Add "good" languages from enable_stage1_languages to stage1_languages,
5226 # while "bad" languages go in missing_languages. Leave no duplicates.
5227 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5228 case $potential_languages in
5230 case $stage1_languages in
5232 *) stage1_languages
="$stage1_languages$i," ;;
5235 case $missing_languages in
5237 *) missing_languages
="$missing_languages$i," ;;
5243 # Remove leading/trailing commas that were added for simplicity
5244 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5245 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5246 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5247 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5249 if test "x$missing_languages" != x
; then
5250 { { echo "$as_me:$LINENO: error:
5251 The following requested languages could not be built: ${missing_languages}
5252 Supported languages are: ${potential_languages}" >&5
5253 echo "$as_me: error:
5254 The following requested languages could not be built: ${missing_languages}
5255 Supported languages are: ${potential_languages}" >&2;}
5256 { (exit 1); exit 1; }; }
5258 if test "x$new_enable_languages" != "x$enable_languages"; then
5259 echo The following languages will be built
: ${new_enable_languages}
5260 enable_languages
="$new_enable_languages"
5264 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5267 # Handle --disable-<component> generically.
5268 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5269 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5270 varname
=`echo $dirname | sed -e s/+/_/g`
5271 if eval test x\
${enable_${varname}} "=" xno
; then
5272 noconfigdirs
="$noconfigdirs $dir"
5276 # Check for Boehm's garbage collector
5277 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5278 if test "${enable_objc_gc+set}" = set; then
5279 enableval
="$enable_objc_gc"
5280 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5281 *,objc
,*:*:yes:*target-boehm-gc
*)
5282 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5283 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5284 { (exit 1); exit 1; }; }
5289 # Make sure we only build Boehm's garbage collector if required.
5290 case ,${enable_languages},:${enable_objc_gc} in
5292 # Keep target-boehm-gc if requested for Objective-C.
5295 # Otherwise remove target-boehm-gc depending on target-libjava.
5296 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5297 noconfigdirs
="$noconfigdirs target-boehm-gc"
5302 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5303 # $build_configdirs and $target_configdirs.
5304 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5307 for dir
in .
$skipdirs $noconfigdirs ; do
5308 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5309 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5310 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5311 if test -r $srcdir/$dirname/configure
; then
5312 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5315 notsupp
="$notsupp $dir"
5319 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5320 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5321 if test -r $srcdir/$dirname/configure
; then
5322 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5325 notsupp
="$notsupp $dir"
5329 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5330 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5331 if test -r $srcdir/$dirname/configure
; then
5332 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5335 notsupp
="$notsupp $dir"
5341 # Sometimes the tools are distributed with libiberty but with no other
5342 # libraries. In that case, we don't want to build target-libiberty.
5343 # Don't let libgcc imply libiberty either.
5344 if test -n "${target_configdirs}" ; then
5347 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5348 if test "$i" = "libgcc"; then
5349 libgcc
=target-libgcc
5350 elif test "$i" != "libiberty" ; then
5351 if test -r $srcdir/$i/configure
; then
5357 if test -z "${others}" ; then
5358 target_configdirs
=$libgcc
5362 # Quietly strip out all directories which aren't configurable in this tree.
5363 # This relies on all configurable subdirectories being autoconfiscated, which
5365 build_configdirs_all
="$build_configdirs"
5367 for i
in ${build_configdirs_all} ; do
5368 j
=`echo $i | sed -e s/build-//g`
5369 if test -f ${srcdir}/$j/configure
; then
5370 build_configdirs
="${build_configdirs} $i"
5374 configdirs_all
="$configdirs"
5376 for i
in ${configdirs_all} ; do
5377 if test -f ${srcdir}/$i/configure
; then
5378 configdirs
="${configdirs} $i"
5382 target_configdirs_all
="$target_configdirs"
5384 for i
in ${target_configdirs_all} ; do
5385 j
=`echo $i | sed -e s/target-//g`
5386 if test -f ${srcdir}/$j/configure
; then
5387 target_configdirs
="${target_configdirs} $i"
5391 # Produce a warning message for the subdirs we can't configure.
5392 # This isn't especially interesting in the Cygnus tree, but in the individual
5393 # FSF releases, it's important to let people know when their machine isn't
5394 # supported by the one or two programs in a package.
5396 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5397 # If $appdirs is non-empty, at least one of those directories must still
5398 # be configured, or we error out. (E.g., if the gas release supports a
5399 # specified target in some subdirs but not the gas subdir, we shouldn't
5400 # pretend that all is well.)
5401 if test -n "$appdirs" ; then
5402 for dir
in $appdirs ; do
5403 if test -r $dir/Makefile.
in ; then
5404 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5408 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5414 if test -n "$appdirs" ; then
5415 echo "*** This configuration is not supported by this package." 1>&2
5419 # Okay, some application will build, or we don't care to check. Still
5420 # notify of subdirs not getting built.
5421 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5422 echo " ${notsupp}" 1>&2
5423 echo " (Any other directories should still work fine.)" 1>&2
5431 # To find our prefix, in gcc_cv_tool_prefix.
5433 # The user is always right.
5434 if test "${PATH_SEPARATOR+set}" != set; then
5435 echo "#! /bin/sh" >conf$$.sh
5436 echo "exit 0" >>conf$$.sh
5438 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5448 if test "x$exec_prefix" = xNONE
; then
5449 if test "x$prefix" = xNONE
; then
5450 gcc_cv_tool_prefix
=$ac_default_prefix
5452 gcc_cv_tool_prefix
=$prefix
5455 gcc_cv_tool_prefix
=$exec_prefix
5458 # If there is no compiler in the tree, use the PATH only. In any
5459 # case, if there is no compiler in the tree nobody should use
5460 # AS_FOR_TARGET and LD_FOR_TARGET.
5461 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5462 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5463 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5464 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5465 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5466 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5467 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5468 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5473 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5474 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5482 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5483 if test "${with_build_sysroot+set}" = set; then
5484 withval
="$with_build_sysroot"
5485 if test x
"$withval" != x
; then
5486 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5489 SYSROOT_CFLAGS_FOR_TARGET
=
5494 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5495 if test "${with_debug_prefix_map+set}" = set; then
5496 withval
="$with_debug_prefix_map"
5497 if test x
"$withval" != x
; then
5498 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5499 for debug_map
in $withval; do
5500 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5504 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5508 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5509 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5510 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5511 # We want to ensure that TARGET libraries (which we know are built with
5512 # gcc) are built with "-O2 -g", so include those options when setting
5513 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5514 if test "x$CFLAGS_FOR_TARGET" = x
; then
5515 CFLAGS_FOR_TARGET
=$CFLAGS
5518 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5521 *" -g "* |
*" -g3 "*) ;;
5522 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5527 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5528 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5529 case " $CXXFLAGS " in
5531 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5533 case " $CXXFLAGS " in
5534 *" -g "* |
*" -g3 "*) ;;
5535 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5540 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5541 # the named directory are copied to $(tooldir)/sys-include.
5542 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5543 if test x
${is_cross_compiler} = xno
; then
5544 echo 1>&2 '***' --with-headers is only supported when cross compiling
5547 if test x
"${with_headers}" != xyes
; then
5548 x
=${gcc_cv_tool_prefix}
5549 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5553 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5554 # the name directories are copied to $(tooldir)/lib. Multiple directories
5556 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5557 if test x
${is_cross_compiler} = xno
; then
5558 echo 1>&2 '***' --with-libs is only supported when cross compiling
5561 if test x
"${with_libs}" != xyes
; then
5562 # Copy the libraries in reverse order, so that files in the first named
5563 # library override files in subsequent libraries.
5564 x
=${gcc_cv_tool_prefix}
5565 for l
in ${with_libs}; do
5566 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5571 # Set with_gnu_as and with_gnu_ld as appropriate.
5573 # This is done by determining whether or not the appropriate directory
5574 # is available, and by checking whether or not specific configurations
5575 # have requested that this magic not happen.
5577 # The command line options always override the explicit settings in
5578 # configure.in, and the settings in configure.in override this magic.
5580 # If the default for a toolchain is to use GNU as and ld, and you don't
5581 # want to do that, then you should use the --without-gnu-as and
5582 # --without-gnu-ld options for the configure script.
5584 if test x
${use_gnu_as} = x
&&
5585 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5587 extra_host_args
="$extra_host_args --with-gnu-as"
5590 if test x
${use_gnu_ld} = x
&&
5591 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5593 extra_host_args
="$extra_host_args --with-gnu-ld"
5596 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5597 # can detect this case.
5599 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5601 extra_host_args
="$extra_host_args --with-newlib"
5604 # Handle ${copy_dirs}
5605 set fnord
${copy_dirs}
5607 while test $# != 0 ; do
5608 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5611 echo Copying
$1 to
$2
5613 # Use the install script to create the directory and all required
5614 # parent directories.
5615 if test -d $2 ; then
5619 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5622 # Copy the directory, assuming we have tar.
5623 # FIXME: Should we use B in the second tar? Not all systems support it.
5624 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5626 # It is the responsibility of the user to correctly adjust all
5627 # symlinks. If somebody can figure out how to handle them correctly
5628 # here, feel free to add the code.
5635 # Determine a target-dependent exec_prefix that the installed
5636 # gcc will search in. Keep this list sorted by triplet, with
5637 # the *-*-osname triplets last.
5641 md_exec_prefix
=/gnu
/lib
/gcc-lib
5643 i
[34567]86-pc-msdosdjgpp*)
5644 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5646 i
[34567]86-*-sco3.2v5
*)
5647 if test $with_gnu_as = yes; then
5648 md_exec_prefix
=/usr
/gnu
/bin
5650 md_exec_prefix
=/usr
/ccs
/bin
/elf
5655 powerpc-
*-chorusos* | \
5656 powerpc
*-*-eabi* | \
5657 powerpc
*-*-sysv* | \
5658 powerpc
*-*-kaos* | \
5660 md_exec_prefix
=/usr
/ccs
/bin
5665 md_exec_prefix
=/usr
/ccs
/bin
5680 md_exec_prefix
=/usr
/ccs
/bin
5684 extra_arflags_for_target
=
5685 extra_nmflags_for_target
=
5686 extra_ranlibflags_for_target
=
5687 target_makefile_frag
=/dev
/null
5690 target_makefile_frag
="config/mt-mep"
5693 target_makefile_frag
="config/mt-spu"
5696 target_makefile_frag
="config/mt-sde"
5698 mipsisa
*-*-elfoabi*)
5699 target_makefile_frag
="config/mt-mips-elfoabi"
5701 mips
*-*-*linux
* | mips
*-*-gnu*)
5702 target_makefile_frag
="config/mt-mips-gnu"
5705 target_makefile_frag
="config/mt-netware"
5707 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5708 target_makefile_frag
="config/mt-gnu"
5710 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5711 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5712 # commands to handle both 32-bit and 64-bit objects. These flags are
5713 # harmless if we're using GNU nm or ar.
5714 extra_arflags_for_target
=" -X32_64"
5715 extra_nmflags_for_target
=" -B -X32_64"
5718 # ranlib from Darwin requires the -c flag to look at common symbols.
5719 extra_ranlibflags_for_target
=" -c"
5721 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5722 target_makefile_frag
="config/mt-wince"
5726 alphaieee_frag
=/dev
/null
5729 # This just makes sure to use the -mieee option to build target libs.
5730 # This should probably be set individually by each library.
5731 alphaieee_frag
="config/mt-alphaieee"
5735 # If --enable-target-optspace always use -Os instead of -O2 to build
5736 # the target libraries, similarly if it is not specified, use -Os
5737 # on selected platforms.
5738 ospace_frag
=/dev
/null
5739 case "${enable_target_optspace}:${target}" in
5741 ospace_frag
="config/mt-ospace"
5744 ospace_frag
="config/mt-d30v"
5746 :m32r-
* |
:d10v-
* |
:fr30-
*)
5747 ospace_frag
="config/mt-ospace"
5752 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5756 # Default to using --with-stabs for certain targets.
5757 if test x
${with_stabs} = x
; then
5761 mips
*-*-* | alpha
*-*-osf*)
5763 extra_host_args
="${extra_host_args} --with-stabs"
5768 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5769 # them automatically.
5772 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5776 # Some systems (e.g., one of the i386-aix systems the gas testers are
5777 # using) don't handle "\$" correctly, so don't use it here.
5778 tooldir
='${exec_prefix}'/${target_noncanonical}
5779 build_tooldir
=${tooldir}
5781 # Create a .gdbinit file which runs the one in srcdir
5782 # and tells GDB to look there for source files.
5784 if test -r ${srcdir}/.gdbinit
; then
5787 *) cat > .
/.gdbinit
<<EOF
5791 source ${srcdir}/.gdbinit
5797 # Make sure that the compiler is able to generate an executable. If it
5798 # can't, we are probably in trouble. We don't care whether we can run the
5799 # executable--we might be using a cross compiler--we only care whether it
5800 # can be created. At this point the main configure script has set CC.
5802 echo "int main () { return 0; }" > conftest.c
5803 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5804 if test $?
= 0 ; then
5805 if test -s conftest ||
test -s conftest.exe
; then
5811 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5812 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5819 # The Solaris /usr/ucb/cc compiler does not appear to work.
5821 sparc-sun-solaris2
*)
5822 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5823 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5825 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5826 if test -d /opt
/cygnus
/bin
; then
5827 if test "$could_use" = "" ; then
5828 could_use
="/opt/cygnus/bin"
5830 could_use
="$could_use or /opt/cygnus/bin"
5833 if test "$could_use" = "" ; then
5834 echo "Warning: compilation may fail because you're using"
5835 echo "/usr/ucb/cc. You should change your PATH or CC "
5836 echo "variable and rerun configure."
5838 echo "Warning: compilation may fail because you're using"
5839 echo "/usr/ucb/cc, when you should use the C compiler from"
5840 echo "$could_use. You should change your"
5841 echo "PATH or CC variable and rerun configure."
5847 # Decide which environment variable is used to find dynamic libraries.
5849 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5850 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5851 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
5852 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5855 # On systems where the dynamic library environment variable is PATH,
5856 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
5857 # built executables to PATH.
5858 if test "$RPATH_ENVVAR" = PATH
; then
5859 GCC_SHLIB_SUBDIR
=/shlib
5864 # Record target_configdirs and the configure arguments for target and
5865 # build configuration in Makefile.
5866 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5867 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5869 # Determine whether gdb needs tk/tcl or not.
5870 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5871 # and in that case we want gdb to be built without tk. Ugh!
5872 # In fact I believe gdb is the *only* package directly dependent on tk,
5873 # so we should be able to put the 'maybe's in unconditionally and
5874 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5875 # 100% sure that that's safe though.
5877 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5878 case "$enable_gdbtk" in
5882 GDB_TK
="${gdb_tk}" ;;
5884 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5885 # distro. Eventually someone will fix this and move Insight, nee
5886 # gdbtk to a separate directory.
5887 if test -d ${srcdir}/gdb
/gdbtk
; then
5894 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5895 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5897 # Strip out unwanted targets.
5899 # While at that, we remove Makefiles if we were started for recursive
5900 # configuration, so that the top-level Makefile reconfigures them,
5901 # like we used to do when configure itself was recursive.
5903 # Loop over modules. $extrasub must be used with care, limiting as
5904 # much as possible the usage of range addresses. That's because autoconf
5905 # splits the sed script to overcome limits in the number of commands,
5906 # and relying on carefully-timed sed passes may turn out to be very hard
5907 # to maintain later. In this particular case, you just have to be careful
5908 # not to nest @if/@endif pairs, because configure will not warn you at all.
5910 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5911 if test "${enable_bootstrap+set}" = set; then
5912 enableval
="$enable_bootstrap"
5915 enable_bootstrap
=default
5918 # Issue errors and warnings for invalid/strange bootstrap combinations.
5919 case "$configdirs" in
5920 *gcc
*) have_compiler
=yes ;;
5921 *) have_compiler
=no
;;
5924 case "$have_compiler:$host:$target:$enable_bootstrap" in
5927 # Default behavior. Enable bootstrap if we have a compiler
5928 # and we are in a native configuration.
5929 yes:$build:$build:default
)
5930 enable_bootstrap
=yes ;;
5933 enable_bootstrap
=no
;;
5935 # We have a compiler and we are in a native configuration, bootstrap is ok
5936 yes:$build:$build:yes)
5939 # Other configurations, but we have a compiler. Assume the user knows
5942 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5943 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5946 # No compiler: if they passed --enable-bootstrap explicitly, fail
5948 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5949 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5950 { (exit 1); exit 1; }; } ;;
5952 # Fail if wrong command line
5954 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5955 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5956 { (exit 1); exit 1; }; }
5960 # Adjust the toplevel makefile according to whether bootstrap was selected.
5961 case "$enable_bootstrap" in
5963 bootstrap_suffix
=bootstrap
;;
5965 bootstrap_suffix
=no-bootstrap
;;
5968 for module
in ${build_configdirs} ; do
5969 if test -z "${no_recursion}" \
5970 && test -f ${build_subdir}/${module}/Makefile
; then
5971 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5972 rm -f ${build_subdir}/${module}/Makefile
5975 /^@if build-$module\$/d
5976 /^@endif build-$module\$/d
5977 /^@if build-$module-$bootstrap_suffix\$/d
5978 /^@endif build-$module-$bootstrap_suffix\$/d"
5980 for module
in ${configdirs} ; do
5981 if test -z "${no_recursion}"; then
5982 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5983 if test -f ${file}; then
5984 echo 1>&2 "*** removing ${file} to force reconfigure"
5991 /^@endif $module\$/d
5992 /^@if $module-$bootstrap_suffix\$/d
5993 /^@endif $module-$bootstrap_suffix\$/d"
5995 for module
in ${target_configdirs} ; do
5996 if test -z "${no_recursion}" \
5997 && test -f ${target_subdir}/${module}/Makefile
; then
5998 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5999 rm -f ${target_subdir}/${module}/Makefile
6002 /^@if target-$module\$/d
6003 /^@endif target-$module\$/d
6004 /^@if target-$module-$bootstrap_suffix\$/d
6005 /^@endif target-$module-$bootstrap_suffix\$/d"
6009 /^@if /,/^@endif /d"
6011 # Create the serialization dependencies. This uses a temporary file.
6013 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6014 if test "${enable_serial_configure+set}" = set; then
6015 enableval
="$enable_serial_configure"
6019 case ${enable_serial_configure} in
6021 enable_serial_build_configure
=yes
6022 enable_serial_host_configure
=yes
6023 enable_serial_target_configure
=yes
6027 # These force 'configure's to be done one at a time, to avoid problems
6028 # with contention over a shared config.cache.
6030 echo '# serdep.tmp' > serdep.tmp
6032 test "x${enable_serial_build_configure}" = xyes
&&
6033 for item
in ${build_configdirs} ; do
6036 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6041 test "x${enable_serial_host_configure}" = xyes
&&
6042 for item
in ${configdirs} ; do
6045 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6050 test "x${enable_serial_target_configure}" = xyes
&&
6051 for item
in ${target_configdirs} ; do
6054 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6058 serialization_dependencies
=serdep.tmp
6061 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6062 # target, nonopt, and variable assignments. These are the ones we
6063 # might not want to pass down to subconfigures. Also strip
6064 # program-prefix, program-suffix, and program-transform-name, so that
6065 # we can pass down a consistent program-transform-name.
6069 eval "set -- $ac_configure_args"
6072 if test X
"$skip_next" = X
"yes"; then
6076 if test X
"$keep_next" = X
"yes"; then
6079 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6081 baseargs
="$baseargs '$ac_arg'"
6086 # Handle separated arguments. Based on the logic generated by
6089 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6090 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6091 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6092 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6118 -program-prefix* | \
6119 -program-suffix* | \
6120 -program-transform-name* )
6121 skip_next
=$separate_arg
6125 # An option. Add it.
6128 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6130 baseargs
="$baseargs '$ac_arg'"
6131 keep_next
=$separate_arg
6134 # Either a variable assignment, or a nonopt (triplet). Don't
6135 # pass it down; let the Makefile handle this.
6140 # Remove the initial space we just introduced and, as these will be
6141 # expanded by make, quote '$'.
6142 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6144 # Add in --program-transform-name, after --program-prefix and
6145 # --program-suffix have been applied to it. Autoconf has already
6146 # doubled dollar signs and backslashes in program_transform_name; we want
6147 # the backslashes un-doubled, and then the entire thing wrapped in single
6148 # quotes, because this will be expanded first by make and then by the shell.
6149 # Also, because we want to override the logic in subdir configure scripts to
6150 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6151 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6152 ${program_transform_name}
6154 gcc_transform_name
=`cat conftestsed.out`
6155 rm -f conftestsed.out
6156 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6157 if test "$silent" = yes; then
6158 baseargs
="$baseargs --silent"
6161 # For the build-side libraries, we just need to pretend we're native,
6162 # and not use the same cache file. Multilibs are neither needed nor
6164 build_configargs
="--cache-file=../config.cache ${baseargs}"
6166 # For host modules, accept cache file option, or specification as blank.
6167 case "${cache_file}" in
6169 cache_file_option
="" ;;
6170 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6171 cache_file_option
="--cache-file=${cache_file}" ;;
6173 cache_file_option
="--cache-file=../${cache_file}" ;;
6176 # Host dirs don't like to share a cache file either, horribly enough.
6177 # This seems to be due to autoconf 2.5x stupidity.
6178 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6180 target_configargs
=${baseargs}
6182 # Passing a --with-cross-host argument lets the target libraries know
6183 # whether they are being built with a cross-compiler or being built
6184 # native. However, it would be better to use other mechanisms to make the
6185 # sorts of decisions they want to make on this basis. Please consider
6186 # this option to be deprecated. FIXME.
6187 if test x
${is_cross_compiler} = xyes
; then
6188 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6191 # Default to --enable-multilib.
6192 if test x
${enable_multilib} = x
; then
6193 target_configargs
="--enable-multilib ${target_configargs}"
6196 # Pass --with-newlib if appropriate. Note that target_configdirs has
6197 # changed from the earlier setting of with_newlib.
6198 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6199 target_configargs
="--with-newlib ${target_configargs}"
6202 # Different target subdirs use different values of certain variables
6203 # (notably CXX). Worse, multilibs use *lots* of different values.
6204 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6205 # it doesn't automatically accept command-line overrides of them.
6206 # This means it's not safe for target subdirs to share a cache file,
6207 # which is disgusting, but there you have it. Hopefully this can be
6208 # fixed in future. It's still worthwhile to use a cache file for each
6209 # directory. I think.
6211 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6212 # We need to pass --target, as newer autoconf's requires consistency
6213 # for target_alias and gcc doesn't manage it consistently.
6214 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6217 case " $target_configdirs " in
6219 case " $target_configargs " in
6220 *" --with-newlib "*)
6223 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' ;;
6226 # If we're not building GCC, don't discard standard headers.
6227 if test -d ${srcdir}/gcc
; then
6228 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6230 if test "${build}" != "${host}"; then
6231 # On Canadian crosses, CC_FOR_TARGET will have already been set
6232 # by `configure', so we won't have an opportunity to add -Bgcc/
6233 # to it. This is right: we don't want to search that directory
6234 # for binaries, but we want the header files in there, so add
6236 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6238 # Someone might think of using the pre-installed headers on
6239 # Canadian crosses, in case the installed compiler is not fully
6240 # compatible with the compiler being built. In this case, it
6241 # would be better to flag an error than risking having
6242 # incompatible object files being constructed. We can't
6243 # guarantee that an error will be flagged, but let's hope the
6244 # compiler will do it, when presented with incompatible header
6249 case "${target}-${is_cross_compiler}" in
6250 i
[3456789]86-*-linux*-no)
6251 # Here host == target, so we don't need to build gcc,
6252 # so we don't want to discard standard headers.
6253 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6256 # If we're building newlib, use its generic headers last, but search
6257 # for any libc-related directories first (so make it the last -B
6259 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6261 # If we're building libgloss, find the startup file, simulator library
6262 # and linker script.
6263 case " $target_configdirs " in
6265 # Look for startup file, simulator library and maybe linker script.
6266 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6267 # Look for libnosys.a in case the target needs it.
6268 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6269 # Most targets have the linker script in the source directory.
6270 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6281 # Can't be handled as Cygwin above since Mingw does not use newlib.
6282 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' ;;
6285 # Allow the user to override the flags for
6286 # our build compiler if desired.
6287 if test x
"${build}" = x
"${host}" ; then
6288 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6289 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6290 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6293 # On Canadian crosses, we'll be searching the right directories for
6294 # the previously-installed cross compiler, so don't bother to add
6295 # flags for directories within the install tree of the compiler
6296 # being built; programs in there won't even run.
6297 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6298 # Search for pre-installed headers if nothing else fits.
6299 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6302 if test "x
${use_gnu_ld}" = x &&
6303 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6304 # Arrange for us to find uninstalled linker scripts.
6305 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6308 # Search for other target-specific linker scripts and such.
6311 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6315 # Makefile fragments.
6316 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6318 eval fragval=\$$frag
6319 if test $fragval != /dev/null; then
6320 eval $frag=${srcdir}/$fragval
6328 # Miscellanea: directories, flags, etc.
6337 # Build module lists & subconfigure args.
6341 # Host module lists & subconfigure args.
6345 # Target module lists & subconfigure args.
6367 # Generate default definitions for YACC, M4, LEX and other programs that run
6368 # on the build machine. These are used if the Makefile can't locate these
6369 # programs in objdir.
6370 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6372 for ac_prog in 'bison -y' byacc yacc
6374 # Extract the first word of "$ac_prog", so it can be a program name with args.
6375 set dummy $ac_prog; ac_word=$2
6376 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6377 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6378 if test "${ac_cv_prog_YACC+set}" = set; then
6379 echo $ECHO_N "(cached
) $ECHO_C" >&6
6381 if test -n "$YACC"; then
6382 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_YACC="$ac_prog"
6392 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 YACC=$ac_cv_prog_YACC
6401 if test -n "$YACC"; then
6402 echo "$as_me:$LINENO: result
: $YACC" >&5
6403 echo "${ECHO_T}$YACC" >&6
6405 echo "$as_me:$LINENO: result
: no
" >&5
6406 echo "${ECHO_T}no
" >&6
6409 test -n "$YACC" && break
6411 test -n "$YACC" || YACC="$MISSING bison
-y"
6413 case " $build_configdirs " in
6414 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6415 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6418 for ac_prog in bison
6420 # Extract the first word of "$ac_prog", so it can be a program name with args.
6421 set dummy $ac_prog; ac_word=$2
6422 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6423 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6424 if test "${ac_cv_prog_BISON+set}" = set; then
6425 echo $ECHO_N "(cached
) $ECHO_C" >&6
6427 if test -n "$BISON"; then
6428 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_prog_BISON="$ac_prog"
6438 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 BISON=$ac_cv_prog_BISON
6447 if test -n "$BISON"; then
6448 echo "$as_me:$LINENO: result
: $BISON" >&5
6449 echo "${ECHO_T}$BISON" >&6
6451 echo "$as_me:$LINENO: result
: no
" >&5
6452 echo "${ECHO_T}no
" >&6
6455 test -n "$BISON" && break
6457 test -n "$BISON" || BISON="$MISSING bison
"
6459 case " $build_configdirs " in
6460 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6463 for ac_prog in gm4 gnum4 m4
6465 # Extract the first word of "$ac_prog", so it can be a program name with args.
6466 set dummy $ac_prog; ac_word=$2
6467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6469 if test "${ac_cv_prog_M4+set}" = set; then
6470 echo $ECHO_N "(cached
) $ECHO_C" >&6
6472 if test -n "$M4"; then
6473 ac_cv_prog_M4="$M4" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_M4="$ac_prog"
6483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6492 if test -n "$M4"; then
6493 echo "$as_me:$LINENO: result
: $M4" >&5
6494 echo "${ECHO_T}$M4" >&6
6496 echo "$as_me:$LINENO: result
: no
" >&5
6497 echo "${ECHO_T}no
" >&6
6500 test -n "$M4" && break
6502 test -n "$M4" || M4="$MISSING m4"
6504 case " $build_configdirs " in
6505 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6508 for ac_prog in flex lex
6510 # Extract the first word of "$ac_prog", so it can be a program name with args.
6511 set dummy $ac_prog; ac_word=$2
6512 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6513 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6514 if test "${ac_cv_prog_LEX+set}" = set; then
6515 echo $ECHO_N "(cached
) $ECHO_C" >&6
6517 if test -n "$LEX"; then
6518 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_LEX="$ac_prog"
6528 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6537 if test -n "$LEX"; then
6538 echo "$as_me:$LINENO: result
: $LEX" >&5
6539 echo "${ECHO_T}$LEX" >&6
6541 echo "$as_me:$LINENO: result
: no
" >&5
6542 echo "${ECHO_T}no
" >&6
6545 test -n "$LEX" && break
6547 test -n "$LEX" || LEX="$MISSING flex
"
6549 case " $build_configdirs " in
6550 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6551 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6560 if test "${ac_cv_prog_FLEX+set}" = set; then
6561 echo $ECHO_N "(cached
) $ECHO_C" >&6
6563 if test -n "$FLEX"; then
6564 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_FLEX="$ac_prog"
6574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6582 FLEX=$ac_cv_prog_FLEX
6583 if test -n "$FLEX"; then
6584 echo "$as_me:$LINENO: result
: $FLEX" >&5
6585 echo "${ECHO_T}$FLEX" >&6
6587 echo "$as_me:$LINENO: result
: no
" >&5
6588 echo "${ECHO_T}no
" >&6
6591 test -n "$FLEX" && break
6593 test -n "$FLEX" || FLEX="$MISSING flex
"
6595 case " $build_configdirs " in
6596 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6599 for ac_prog in makeinfo
6601 # Extract the first word of "$ac_prog", so it can be a program name with args.
6602 set dummy $ac_prog; ac_word=$2
6603 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6604 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6605 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6606 echo $ECHO_N "(cached
) $ECHO_C" >&6
6608 if test -n "$MAKEINFO"; then
6609 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_MAKEINFO="$ac_prog"
6619 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6627 MAKEINFO=$ac_cv_prog_MAKEINFO
6628 if test -n "$MAKEINFO"; then
6629 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6630 echo "${ECHO_T}$MAKEINFO" >&6
6632 echo "$as_me:$LINENO: result
: no
" >&5
6633 echo "${ECHO_T}no
" >&6
6636 test -n "$MAKEINFO" && break
6638 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6640 case " $build_configdirs " in
6641 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6644 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6645 # higher, else we use the "missing
" dummy.
6646 if ${MAKEINFO} --version \
6647 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6650 MAKEINFO="$MISSING makeinfo
"
6656 # FIXME: expect and dejagnu may become build tools?
6658 for ac_prog in expect
6660 # Extract the first word of "$ac_prog", so it can be a program name with args.
6661 set dummy $ac_prog; ac_word=$2
6662 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6664 if test "${ac_cv_prog_EXPECT+set}" = set; then
6665 echo $ECHO_N "(cached
) $ECHO_C" >&6
6667 if test -n "$EXPECT"; then
6668 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_EXPECT="$ac_prog"
6678 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6686 EXPECT=$ac_cv_prog_EXPECT
6687 if test -n "$EXPECT"; then
6688 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6689 echo "${ECHO_T}$EXPECT" >&6
6691 echo "$as_me:$LINENO: result
: no
" >&5
6692 echo "${ECHO_T}no
" >&6
6695 test -n "$EXPECT" && break
6697 test -n "$EXPECT" || EXPECT="expect
"
6699 case " $configdirs " in
6701 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6705 for ac_prog in runtest
6707 # Extract the first word of "$ac_prog", so it can be a program name with args.
6708 set dummy $ac_prog; ac_word=$2
6709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6711 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6712 echo $ECHO_N "(cached
) $ECHO_C" >&6
6714 if test -n "$RUNTEST"; then
6715 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_prog_RUNTEST="$ac_prog"
6725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6733 RUNTEST=$ac_cv_prog_RUNTEST
6734 if test -n "$RUNTEST"; then
6735 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6736 echo "${ECHO_T}$RUNTEST" >&6
6738 echo "$as_me:$LINENO: result
: no
" >&5
6739 echo "${ECHO_T}no
" >&6
6742 test -n "$RUNTEST" && break
6744 test -n "$RUNTEST" || RUNTEST="runtest
"
6746 case " $configdirs " in
6748 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6755 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6756 ncn_target_tool_prefix=
6757 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6761 if test -n "$AR"; then
6763 elif test -n "$ac_cv_prog_AR"; then
6767 if test -n "$ac_cv_prog_AR"; then
6768 for ncn_progname in ar; do
6769 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6770 set dummy ${ncn_progname}; ac_word=$2
6771 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6772 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6773 if test "${ac_cv_prog_AR+set}" = set; then
6774 echo $ECHO_N "(cached
) $ECHO_C" >&6
6776 if test -n "$AR"; then
6777 ac_cv_prog_AR="$AR" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_AR="${ncn_progname}"
6787 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6796 if test -n "$AR"; then
6797 echo "$as_me:$LINENO: result
: $AR" >&5
6798 echo "${ECHO_T}$AR" >&6
6800 echo "$as_me:$LINENO: result
: no
" >&5
6801 echo "${ECHO_T}no
" >&6
6807 for ncn_progname in ar; do
6808 if test -n "$ncn_tool_prefix"; then
6809 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6810 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6811 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6812 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6813 if test "${ac_cv_prog_AR+set}" = set; then
6814 echo $ECHO_N "(cached
) $ECHO_C" >&6
6816 if test -n "$AR"; then
6817 ac_cv_prog_AR="$AR" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6827 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6836 if test -n "$AR"; then
6837 echo "$as_me:$LINENO: result
: $AR" >&5
6838 echo "${ECHO_T}$AR" >&6
6840 echo "$as_me:$LINENO: result
: no
" >&5
6841 echo "${ECHO_T}no
" >&6
6845 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6847 set dummy ${ncn_progname}; ac_word=$2
6848 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6849 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6850 if test "${ac_cv_prog_AR+set}" = set; then
6851 echo $ECHO_N "(cached
) $ECHO_C" >&6
6853 if test -n "$AR"; then
6854 ac_cv_prog_AR="$AR" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_AR="${ncn_progname}"
6864 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6873 if test -n "$AR"; then
6874 echo "$as_me:$LINENO: result
: $AR" >&5
6875 echo "${ECHO_T}$AR" >&6
6877 echo "$as_me:$LINENO: result
: no
" >&5
6878 echo "${ECHO_T}no
" >&6
6882 test -n "$ac_cv_prog_AR" && break
6885 if test -z "$ac_cv_prog_AR" ; then
6887 if test $build = $host ; then
6890 AR="${ncn_tool_prefix}$2"
6896 if test -n "$AS"; then
6898 elif test -n "$ac_cv_prog_AS"; then
6902 if test -n "$ac_cv_prog_AS"; then
6903 for ncn_progname in as; do
6904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6905 set dummy ${ncn_progname}; ac_word=$2
6906 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6907 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6908 if test "${ac_cv_prog_AS+set}" = set; then
6909 echo $ECHO_N "(cached
) $ECHO_C" >&6
6911 if test -n "$AS"; then
6912 ac_cv_prog_AS="$AS" # Let the user override the test.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6921 ac_cv_prog_AS="${ncn_progname}"
6922 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6931 if test -n "$AS"; then
6932 echo "$as_me:$LINENO: result
: $AS" >&5
6933 echo "${ECHO_T}$AS" >&6
6935 echo "$as_me:$LINENO: result
: no
" >&5
6936 echo "${ECHO_T}no
" >&6
6942 for ncn_progname in as; do
6943 if test -n "$ncn_tool_prefix"; then
6944 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6945 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6946 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6947 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6948 if test "${ac_cv_prog_AS+set}" = set; then
6949 echo $ECHO_N "(cached
) $ECHO_C" >&6
6951 if test -n "$AS"; then
6952 ac_cv_prog_AS="$AS" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6962 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6971 if test -n "$AS"; then
6972 echo "$as_me:$LINENO: result
: $AS" >&5
6973 echo "${ECHO_T}$AS" >&6
6975 echo "$as_me:$LINENO: result
: no
" >&5
6976 echo "${ECHO_T}no
" >&6
6980 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6981 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6982 set dummy ${ncn_progname}; ac_word=$2
6983 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6985 if test "${ac_cv_prog_AS+set}" = set; then
6986 echo $ECHO_N "(cached
) $ECHO_C" >&6
6988 if test -n "$AS"; then
6989 ac_cv_prog_AS="$AS" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_AS="${ncn_progname}"
6999 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7008 if test -n "$AS"; then
7009 echo "$as_me:$LINENO: result
: $AS" >&5
7010 echo "${ECHO_T}$AS" >&6
7012 echo "$as_me:$LINENO: result
: no
" >&5
7013 echo "${ECHO_T}no
" >&6
7017 test -n "$ac_cv_prog_AS" && break
7020 if test -z "$ac_cv_prog_AS" ; then
7022 if test $build = $host ; then
7025 AS="${ncn_tool_prefix}$2"
7031 if test -n "$DLLTOOL"; then
7032 ac_cv_prog_DLLTOOL=$DLLTOOL
7033 elif test -n "$ac_cv_prog_DLLTOOL"; then
7034 DLLTOOL=$ac_cv_prog_DLLTOOL
7037 if test -n "$ac_cv_prog_DLLTOOL"; then
7038 for ncn_progname in dlltool; do
7039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7040 set dummy ${ncn_progname}; ac_word=$2
7041 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7043 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7044 echo $ECHO_N "(cached
) $ECHO_C" >&6
7046 if test -n "$DLLTOOL"; then
7047 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir=.
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_prog_DLLTOOL="${ncn_progname}"
7057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7065 DLLTOOL=$ac_cv_prog_DLLTOOL
7066 if test -n "$DLLTOOL"; then
7067 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7068 echo "${ECHO_T}$DLLTOOL" >&6
7070 echo "$as_me:$LINENO: result
: no
" >&5
7071 echo "${ECHO_T}no
" >&6
7077 for ncn_progname in dlltool; do
7078 if test -n "$ncn_tool_prefix"; then
7079 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7080 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7081 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7083 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7084 echo $ECHO_N "(cached
) $ECHO_C" >&6
7086 if test -n "$DLLTOOL"; then
7087 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7097 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 DLLTOOL=$ac_cv_prog_DLLTOOL
7106 if test -n "$DLLTOOL"; then
7107 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7108 echo "${ECHO_T}$DLLTOOL" >&6
7110 echo "$as_me:$LINENO: result
: no
" >&5
7111 echo "${ECHO_T}no
" >&6
7115 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7117 set dummy ${ncn_progname}; ac_word=$2
7118 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7119 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7120 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7121 echo $ECHO_N "(cached
) $ECHO_C" >&6
7123 if test -n "$DLLTOOL"; then
7124 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_DLLTOOL="${ncn_progname}"
7134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7142 DLLTOOL=$ac_cv_prog_DLLTOOL
7143 if test -n "$DLLTOOL"; then
7144 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7145 echo "${ECHO_T}$DLLTOOL" >&6
7147 echo "$as_me:$LINENO: result
: no
" >&5
7148 echo "${ECHO_T}no
" >&6
7152 test -n "$ac_cv_prog_DLLTOOL" && break
7155 if test -z "$ac_cv_prog_DLLTOOL" ; then
7157 if test $build = $host ; then
7160 DLLTOOL="${ncn_tool_prefix}$2"
7166 if test -n "$LD"; then
7168 elif test -n "$ac_cv_prog_LD"; then
7172 if test -n "$ac_cv_prog_LD"; then
7173 for ncn_progname in ld; do
7174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7175 set dummy ${ncn_progname}; ac_word=$2
7176 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7177 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7178 if test "${ac_cv_prog_LD+set}" = set; then
7179 echo $ECHO_N "(cached
) $ECHO_C" >&6
7181 if test -n "$LD"; then
7182 ac_cv_prog_LD="$LD" # Let the user override the test.
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir=.
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7191 ac_cv_prog_LD="${ncn_progname}"
7192 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7201 if test -n "$LD"; then
7202 echo "$as_me:$LINENO: result
: $LD" >&5
7203 echo "${ECHO_T}$LD" >&6
7205 echo "$as_me:$LINENO: result
: no
" >&5
7206 echo "${ECHO_T}no
" >&6
7212 for ncn_progname in ld; do
7213 if test -n "$ncn_tool_prefix"; then
7214 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7215 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7216 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7218 if test "${ac_cv_prog_LD+set}" = set; then
7219 echo $ECHO_N "(cached
) $ECHO_C" >&6
7221 if test -n "$LD"; then
7222 ac_cv_prog_LD="$LD" # Let the user override the test.
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7241 if test -n "$LD"; then
7242 echo "$as_me:$LINENO: result
: $LD" >&5
7243 echo "${ECHO_T}$LD" >&6
7245 echo "$as_me:$LINENO: result
: no
" >&5
7246 echo "${ECHO_T}no
" >&6
7250 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7252 set dummy ${ncn_progname}; ac_word=$2
7253 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7254 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7255 if test "${ac_cv_prog_LD+set}" = set; then
7256 echo $ECHO_N "(cached
) $ECHO_C" >&6
7258 if test -n "$LD"; then
7259 ac_cv_prog_LD="$LD" # Let the user override the test.
7261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 test -z "$as_dir" && as_dir=.
7266 for ac_exec_ext in '' $ac_executable_extensions; do
7267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7268 ac_cv_prog_LD="${ncn_progname}"
7269 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7278 if test -n "$LD"; then
7279 echo "$as_me:$LINENO: result
: $LD" >&5
7280 echo "${ECHO_T}$LD" >&6
7282 echo "$as_me:$LINENO: result
: no
" >&5
7283 echo "${ECHO_T}no
" >&6
7287 test -n "$ac_cv_prog_LD" && break
7290 if test -z "$ac_cv_prog_LD" ; then
7292 if test $build = $host ; then
7295 LD="${ncn_tool_prefix}$2"
7301 if test -n "$LIPO"; then
7302 ac_cv_prog_LIPO=$LIPO
7303 elif test -n "$ac_cv_prog_LIPO"; then
7304 LIPO=$ac_cv_prog_LIPO
7307 if test -n "$ac_cv_prog_LIPO"; then
7308 for ncn_progname in lipo; do
7309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7310 set dummy ${ncn_progname}; ac_word=$2
7311 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7312 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7313 if test "${ac_cv_prog_LIPO+set}" = set; then
7314 echo $ECHO_N "(cached
) $ECHO_C" >&6
7316 if test -n "$LIPO"; then
7317 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_LIPO="${ncn_progname}"
7327 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7335 LIPO=$ac_cv_prog_LIPO
7336 if test -n "$LIPO"; then
7337 echo "$as_me:$LINENO: result
: $LIPO" >&5
7338 echo "${ECHO_T}$LIPO" >&6
7340 echo "$as_me:$LINENO: result
: no
" >&5
7341 echo "${ECHO_T}no
" >&6
7347 for ncn_progname in lipo; do
7348 if test -n "$ncn_tool_prefix"; then
7349 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7350 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7351 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7352 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7353 if test "${ac_cv_prog_LIPO+set}" = set; then
7354 echo $ECHO_N "(cached
) $ECHO_C" >&6
7356 if test -n "$LIPO"; then
7357 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7367 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7375 LIPO=$ac_cv_prog_LIPO
7376 if test -n "$LIPO"; then
7377 echo "$as_me:$LINENO: result
: $LIPO" >&5
7378 echo "${ECHO_T}$LIPO" >&6
7380 echo "$as_me:$LINENO: result
: no
" >&5
7381 echo "${ECHO_T}no
" >&6
7385 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7387 set dummy ${ncn_progname}; ac_word=$2
7388 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7389 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7390 if test "${ac_cv_prog_LIPO+set}" = set; then
7391 echo $ECHO_N "(cached
) $ECHO_C" >&6
7393 if test -n "$LIPO"; then
7394 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403 ac_cv_prog_LIPO="${ncn_progname}"
7404 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7412 LIPO=$ac_cv_prog_LIPO
7413 if test -n "$LIPO"; then
7414 echo "$as_me:$LINENO: result
: $LIPO" >&5
7415 echo "${ECHO_T}$LIPO" >&6
7417 echo "$as_me:$LINENO: result
: no
" >&5
7418 echo "${ECHO_T}no
" >&6
7422 test -n "$ac_cv_prog_LIPO" && break
7425 if test -z "$ac_cv_prog_LIPO" ; then
7427 if test $build = $host ; then
7430 LIPO="${ncn_tool_prefix}$2"
7436 if test -n "$NM"; then
7438 elif test -n "$ac_cv_prog_NM"; then
7442 if test -n "$ac_cv_prog_NM"; then
7443 for ncn_progname in nm; do
7444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7445 set dummy ${ncn_progname}; ac_word=$2
7446 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7447 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7448 if test "${ac_cv_prog_NM+set}" = set; then
7449 echo $ECHO_N "(cached
) $ECHO_C" >&6
7451 if test -n "$NM"; then
7452 ac_cv_prog_NM="$NM" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461 ac_cv_prog_NM="${ncn_progname}"
7462 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 if test -n "$NM"; then
7472 echo "$as_me:$LINENO: result
: $NM" >&5
7473 echo "${ECHO_T}$NM" >&6
7475 echo "$as_me:$LINENO: result
: no
" >&5
7476 echo "${ECHO_T}no
" >&6
7482 for ncn_progname in nm; do
7483 if test -n "$ncn_tool_prefix"; then
7484 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7485 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7486 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7487 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7488 if test "${ac_cv_prog_NM+set}" = set; then
7489 echo $ECHO_N "(cached
) $ECHO_C" >&6
7491 if test -n "$NM"; then
7492 ac_cv_prog_NM="$NM" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7501 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7502 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7511 if test -n "$NM"; then
7512 echo "$as_me:$LINENO: result
: $NM" >&5
7513 echo "${ECHO_T}$NM" >&6
7515 echo "$as_me:$LINENO: result
: no
" >&5
7516 echo "${ECHO_T}no
" >&6
7520 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7522 set dummy ${ncn_progname}; ac_word=$2
7523 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7524 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7525 if test "${ac_cv_prog_NM+set}" = set; then
7526 echo $ECHO_N "(cached
) $ECHO_C" >&6
7528 if test -n "$NM"; then
7529 ac_cv_prog_NM="$NM" # Let the user override the test.
7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir=.
7536 for ac_exec_ext in '' $ac_executable_extensions; do
7537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7538 ac_cv_prog_NM="${ncn_progname}"
7539 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7548 if test -n "$NM"; then
7549 echo "$as_me:$LINENO: result
: $NM" >&5
7550 echo "${ECHO_T}$NM" >&6
7552 echo "$as_me:$LINENO: result
: no
" >&5
7553 echo "${ECHO_T}no
" >&6
7557 test -n "$ac_cv_prog_NM" && break
7560 if test -z "$ac_cv_prog_NM" ; then
7562 if test $build = $host ; then
7565 NM="${ncn_tool_prefix}$2"
7571 if test -n "$RANLIB"; then
7572 ac_cv_prog_RANLIB=$RANLIB
7573 elif test -n "$ac_cv_prog_RANLIB"; then
7574 RANLIB=$ac_cv_prog_RANLIB
7577 if test -n "$ac_cv_prog_RANLIB"; then
7578 for ncn_progname in ranlib; do
7579 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7580 set dummy ${ncn_progname}; ac_word=$2
7581 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7582 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7583 if test "${ac_cv_prog_RANLIB+set}" = set; then
7584 echo $ECHO_N "(cached
) $ECHO_C" >&6
7586 if test -n "$RANLIB"; then
7587 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_RANLIB="${ncn_progname}"
7597 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7605 RANLIB=$ac_cv_prog_RANLIB
7606 if test -n "$RANLIB"; then
7607 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7608 echo "${ECHO_T}$RANLIB" >&6
7610 echo "$as_me:$LINENO: result
: no
" >&5
7611 echo "${ECHO_T}no
" >&6
7617 for ncn_progname in ranlib; do
7618 if test -n "$ncn_tool_prefix"; then
7619 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7620 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7621 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7622 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7623 if test "${ac_cv_prog_RANLIB+set}" = set; then
7624 echo $ECHO_N "(cached
) $ECHO_C" >&6
7626 if test -n "$RANLIB"; then
7627 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7637 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7645 RANLIB=$ac_cv_prog_RANLIB
7646 if test -n "$RANLIB"; then
7647 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7648 echo "${ECHO_T}$RANLIB" >&6
7650 echo "$as_me:$LINENO: result
: no
" >&5
7651 echo "${ECHO_T}no
" >&6
7655 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7657 set dummy ${ncn_progname}; ac_word=$2
7658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7660 if test "${ac_cv_prog_RANLIB+set}" = set; then
7661 echo $ECHO_N "(cached
) $ECHO_C" >&6
7663 if test -n "$RANLIB"; then
7664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7670 test -z "$as_dir" && as_dir=.
7671 for ac_exec_ext in '' $ac_executable_extensions; do
7672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7673 ac_cv_prog_RANLIB="${ncn_progname}"
7674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7682 RANLIB=$ac_cv_prog_RANLIB
7683 if test -n "$RANLIB"; then
7684 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7685 echo "${ECHO_T}$RANLIB" >&6
7687 echo "$as_me:$LINENO: result
: no
" >&5
7688 echo "${ECHO_T}no
" >&6
7692 test -n "$ac_cv_prog_RANLIB" && break
7695 if test -z "$ac_cv_prog_RANLIB" ; then
7701 if test -n "$STRIP"; then
7702 ac_cv_prog_STRIP=$STRIP
7703 elif test -n "$ac_cv_prog_STRIP"; then
7704 STRIP=$ac_cv_prog_STRIP
7707 if test -n "$ac_cv_prog_STRIP"; then
7708 for ncn_progname in strip; do
7709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7710 set dummy ${ncn_progname}; ac_word=$2
7711 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7712 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7713 if test "${ac_cv_prog_STRIP+set}" = set; then
7714 echo $ECHO_N "(cached
) $ECHO_C" >&6
7716 if test -n "$STRIP"; then
7717 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_STRIP="${ncn_progname}"
7727 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7735 STRIP=$ac_cv_prog_STRIP
7736 if test -n "$STRIP"; then
7737 echo "$as_me:$LINENO: result
: $STRIP" >&5
7738 echo "${ECHO_T}$STRIP" >&6
7740 echo "$as_me:$LINENO: result
: no
" >&5
7741 echo "${ECHO_T}no
" >&6
7747 for ncn_progname in strip; do
7748 if test -n "$ncn_tool_prefix"; then
7749 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7750 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7751 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7752 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7753 if test "${ac_cv_prog_STRIP+set}" = set; then
7754 echo $ECHO_N "(cached
) $ECHO_C" >&6
7756 if test -n "$STRIP"; then
7757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7766 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7767 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7775 STRIP=$ac_cv_prog_STRIP
7776 if test -n "$STRIP"; then
7777 echo "$as_me:$LINENO: result
: $STRIP" >&5
7778 echo "${ECHO_T}$STRIP" >&6
7780 echo "$as_me:$LINENO: result
: no
" >&5
7781 echo "${ECHO_T}no
" >&6
7785 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7787 set dummy ${ncn_progname}; ac_word=$2
7788 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7789 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7790 if test "${ac_cv_prog_STRIP+set}" = set; then
7791 echo $ECHO_N "(cached
) $ECHO_C" >&6
7793 if test -n "$STRIP"; then
7794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7803 ac_cv_prog_STRIP="${ncn_progname}"
7804 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7812 STRIP=$ac_cv_prog_STRIP
7813 if test -n "$STRIP"; then
7814 echo "$as_me:$LINENO: result
: $STRIP" >&5
7815 echo "${ECHO_T}$STRIP" >&6
7817 echo "$as_me:$LINENO: result
: no
" >&5
7818 echo "${ECHO_T}no
" >&6
7822 test -n "$ac_cv_prog_STRIP" && break
7825 if test -z "$ac_cv_prog_STRIP" ; then
7831 if test -n "$WINDRES"; then
7832 ac_cv_prog_WINDRES=$WINDRES
7833 elif test -n "$ac_cv_prog_WINDRES"; then
7834 WINDRES=$ac_cv_prog_WINDRES
7837 if test -n "$ac_cv_prog_WINDRES"; then
7838 for ncn_progname in windres; do
7839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7840 set dummy ${ncn_progname}; ac_word=$2
7841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7843 if test "${ac_cv_prog_WINDRES+set}" = set; then
7844 echo $ECHO_N "(cached
) $ECHO_C" >&6
7846 if test -n "$WINDRES"; then
7847 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_prog_WINDRES="${ncn_progname}"
7857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7865 WINDRES=$ac_cv_prog_WINDRES
7866 if test -n "$WINDRES"; then
7867 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7868 echo "${ECHO_T}$WINDRES" >&6
7870 echo "$as_me:$LINENO: result
: no
" >&5
7871 echo "${ECHO_T}no
" >&6
7877 for ncn_progname in windres; do
7878 if test -n "$ncn_tool_prefix"; then
7879 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7880 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7881 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7883 if test "${ac_cv_prog_WINDRES+set}" = set; then
7884 echo $ECHO_N "(cached
) $ECHO_C" >&6
7886 if test -n "$WINDRES"; then
7887 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7897 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7905 WINDRES=$ac_cv_prog_WINDRES
7906 if test -n "$WINDRES"; then
7907 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7908 echo "${ECHO_T}$WINDRES" >&6
7910 echo "$as_me:$LINENO: result
: no
" >&5
7911 echo "${ECHO_T}no
" >&6
7915 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7917 set dummy ${ncn_progname}; ac_word=$2
7918 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7919 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7920 if test "${ac_cv_prog_WINDRES+set}" = set; then
7921 echo $ECHO_N "(cached
) $ECHO_C" >&6
7923 if test -n "$WINDRES"; then
7924 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_WINDRES="${ncn_progname}"
7934 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7942 WINDRES=$ac_cv_prog_WINDRES
7943 if test -n "$WINDRES"; then
7944 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7945 echo "${ECHO_T}$WINDRES" >&6
7947 echo "$as_me:$LINENO: result
: no
" >&5
7948 echo "${ECHO_T}no
" >&6
7952 test -n "$ac_cv_prog_WINDRES" && break
7955 if test -z "$ac_cv_prog_WINDRES" ; then
7957 if test $build = $host ; then
7960 WINDRES="${ncn_tool_prefix}$2"
7966 if test -n "$WINDMC"; then
7967 ac_cv_prog_WINDMC=$WINDMC
7968 elif test -n "$ac_cv_prog_WINDMC"; then
7969 WINDMC=$ac_cv_prog_WINDMC
7972 if test -n "$ac_cv_prog_WINDMC"; then
7973 for ncn_progname in windmc; do
7974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7975 set dummy ${ncn_progname}; ac_word=$2
7976 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7977 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7978 if test "${ac_cv_prog_WINDMC+set}" = set; then
7979 echo $ECHO_N "(cached
) $ECHO_C" >&6
7981 if test -n "$WINDMC"; then
7982 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_WINDMC="${ncn_progname}"
7992 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 WINDMC=$ac_cv_prog_WINDMC
8001 if test -n "$WINDMC"; then
8002 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8003 echo "${ECHO_T}$WINDMC" >&6
8005 echo "$as_me:$LINENO: result
: no
" >&5
8006 echo "${ECHO_T}no
" >&6
8012 for ncn_progname in windmc; do
8013 if test -n "$ncn_tool_prefix"; then
8014 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8015 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8016 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8017 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8018 if test "${ac_cv_prog_WINDMC+set}" = set; then
8019 echo $ECHO_N "(cached
) $ECHO_C" >&6
8021 if test -n "$WINDMC"; then
8022 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8032 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 WINDMC=$ac_cv_prog_WINDMC
8041 if test -n "$WINDMC"; then
8042 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8043 echo "${ECHO_T}$WINDMC" >&6
8045 echo "$as_me:$LINENO: result
: no
" >&5
8046 echo "${ECHO_T}no
" >&6
8050 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8052 set dummy ${ncn_progname}; ac_word=$2
8053 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8054 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8055 if test "${ac_cv_prog_WINDMC+set}" = set; then
8056 echo $ECHO_N "(cached
) $ECHO_C" >&6
8058 if test -n "$WINDMC"; then
8059 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_WINDMC="${ncn_progname}"
8069 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8077 WINDMC=$ac_cv_prog_WINDMC
8078 if test -n "$WINDMC"; then
8079 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8080 echo "${ECHO_T}$WINDMC" >&6
8082 echo "$as_me:$LINENO: result
: no
" >&5
8083 echo "${ECHO_T}no
" >&6
8087 test -n "$ac_cv_prog_WINDMC" && break
8090 if test -z "$ac_cv_prog_WINDMC" ; then
8092 if test $build = $host ; then
8095 WINDMC="${ncn_tool_prefix}$2"
8101 if test -n "$OBJCOPY"; then
8102 ac_cv_prog_OBJCOPY=$OBJCOPY
8103 elif test -n "$ac_cv_prog_OBJCOPY"; then
8104 OBJCOPY=$ac_cv_prog_OBJCOPY
8107 if test -n "$ac_cv_prog_OBJCOPY"; then
8108 for ncn_progname in objcopy; do
8109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8110 set dummy ${ncn_progname}; ac_word=$2
8111 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8112 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8113 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8114 echo $ECHO_N "(cached
) $ECHO_C" >&6
8116 if test -n "$OBJCOPY"; then
8117 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_OBJCOPY="${ncn_progname}"
8127 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8135 OBJCOPY=$ac_cv_prog_OBJCOPY
8136 if test -n "$OBJCOPY"; then
8137 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8138 echo "${ECHO_T}$OBJCOPY" >&6
8140 echo "$as_me:$LINENO: result
: no
" >&5
8141 echo "${ECHO_T}no
" >&6
8147 for ncn_progname in objcopy; do
8148 if test -n "$ncn_tool_prefix"; then
8149 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8150 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8151 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8152 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8153 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8154 echo $ECHO_N "(cached
) $ECHO_C" >&6
8156 if test -n "$OBJCOPY"; then
8157 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8166 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8167 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8175 OBJCOPY=$ac_cv_prog_OBJCOPY
8176 if test -n "$OBJCOPY"; then
8177 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8178 echo "${ECHO_T}$OBJCOPY" >&6
8180 echo "$as_me:$LINENO: result
: no
" >&5
8181 echo "${ECHO_T}no
" >&6
8185 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8186 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8187 set dummy ${ncn_progname}; ac_word=$2
8188 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8189 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8190 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8191 echo $ECHO_N "(cached
) $ECHO_C" >&6
8193 if test -n "$OBJCOPY"; then
8194 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_OBJCOPY="${ncn_progname}"
8204 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8212 OBJCOPY=$ac_cv_prog_OBJCOPY
8213 if test -n "$OBJCOPY"; then
8214 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8215 echo "${ECHO_T}$OBJCOPY" >&6
8217 echo "$as_me:$LINENO: result
: no
" >&5
8218 echo "${ECHO_T}no
" >&6
8222 test -n "$ac_cv_prog_OBJCOPY" && break
8225 if test -z "$ac_cv_prog_OBJCOPY" ; then
8227 if test $build = $host ; then
8230 OBJCOPY="${ncn_tool_prefix}$2"
8236 if test -n "$OBJDUMP"; then
8237 ac_cv_prog_OBJDUMP=$OBJDUMP
8238 elif test -n "$ac_cv_prog_OBJDUMP"; then
8239 OBJDUMP=$ac_cv_prog_OBJDUMP
8242 if test -n "$ac_cv_prog_OBJDUMP"; then
8243 for ncn_progname in objdump; do
8244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8245 set dummy ${ncn_progname}; ac_word=$2
8246 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8247 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8248 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8249 echo $ECHO_N "(cached
) $ECHO_C" >&6
8251 if test -n "$OBJDUMP"; then
8252 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OBJDUMP="${ncn_progname}"
8262 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8270 OBJDUMP=$ac_cv_prog_OBJDUMP
8271 if test -n "$OBJDUMP"; then
8272 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8273 echo "${ECHO_T}$OBJDUMP" >&6
8275 echo "$as_me:$LINENO: result
: no
" >&5
8276 echo "${ECHO_T}no
" >&6
8282 for ncn_progname in objdump; do
8283 if test -n "$ncn_tool_prefix"; then
8284 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8285 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8286 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8287 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8288 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8289 echo $ECHO_N "(cached
) $ECHO_C" >&6
8291 if test -n "$OBJDUMP"; then
8292 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8302 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8310 OBJDUMP=$ac_cv_prog_OBJDUMP
8311 if test -n "$OBJDUMP"; then
8312 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8313 echo "${ECHO_T}$OBJDUMP" >&6
8315 echo "$as_me:$LINENO: result
: no
" >&5
8316 echo "${ECHO_T}no
" >&6
8320 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8321 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8322 set dummy ${ncn_progname}; ac_word=$2
8323 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8324 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8325 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8326 echo $ECHO_N "(cached
) $ECHO_C" >&6
8328 if test -n "$OBJDUMP"; then
8329 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335 test -z "$as_dir" && as_dir=.
8336 for ac_exec_ext in '' $ac_executable_extensions; do
8337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8338 ac_cv_prog_OBJDUMP="${ncn_progname}"
8339 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8347 OBJDUMP=$ac_cv_prog_OBJDUMP
8348 if test -n "$OBJDUMP"; then
8349 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8350 echo "${ECHO_T}$OBJDUMP" >&6
8352 echo "$as_me:$LINENO: result
: no
" >&5
8353 echo "${ECHO_T}no
" >&6
8357 test -n "$ac_cv_prog_OBJDUMP" && break
8360 if test -z "$ac_cv_prog_OBJDUMP" ; then
8362 if test $build = $host ; then
8365 OBJDUMP="${ncn_tool_prefix}$2"
8376 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8377 if test "${with_build_time_tools+set}" = set; then
8378 withval="$with_build_time_tools"
8382 with_build_time_tools=
8383 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8384 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8388 with_build_time_tools=
8393 if test -n "$CC_FOR_TARGET"; then
8394 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8395 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8396 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8399 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8400 for ncn_progname in cc gcc; do
8401 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8402 set dummy ${ncn_progname}; ac_word=$2
8403 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8404 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8405 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8406 echo $ECHO_N "(cached
) $ECHO_C" >&6
8408 if test -n "$CC_FOR_TARGET"; then
8409 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8419 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8427 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8428 if test -n "$CC_FOR_TARGET"; then
8429 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8430 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8432 echo "$as_me:$LINENO: result
: no
" >&5
8433 echo "${ECHO_T}no
" >&6
8439 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8440 for ncn_progname in cc gcc; do
8441 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8442 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8443 if test -x $with_build_time_tools/${ncn_progname}; then
8444 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8445 echo "$as_me:$LINENO: result
: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result
: no
" >&5
8450 echo "${ECHO_T}no
" >&6
8455 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8456 for ncn_progname in cc gcc; do
8457 if test -n "$ncn_target_tool_prefix"; then
8458 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8459 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8460 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8461 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8462 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8463 echo $ECHO_N "(cached
) $ECHO_C" >&6
8465 if test -n "$CC_FOR_TARGET"; then
8466 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8476 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8484 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8485 if test -n "$CC_FOR_TARGET"; then
8486 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8487 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8489 echo "$as_me:$LINENO: result
: no
" >&5
8490 echo "${ECHO_T}no
" >&6
8494 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8495 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8496 set dummy ${ncn_progname}; ac_word=$2
8497 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8498 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8499 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8500 echo $ECHO_N "(cached
) $ECHO_C" >&6
8502 if test -n "$CC_FOR_TARGET"; then
8503 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8509 test -z "$as_dir" && as_dir=.
8510 for ac_exec_ext in '' $ac_executable_extensions; do
8511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8512 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8513 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8521 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8522 if test -n "$CC_FOR_TARGET"; then
8523 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8524 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8526 echo "$as_me:$LINENO: result
: no
" >&5
8527 echo "${ECHO_T}no
" >&6
8531 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8535 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8537 if test $build = $target ; then
8540 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8543 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8548 if test -n "$CXX_FOR_TARGET"; then
8549 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8550 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8551 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8554 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8555 for ncn_progname in c++ g++ cxx gxx; do
8556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8557 set dummy ${ncn_progname}; ac_word=$2
8558 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8560 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8561 echo $ECHO_N "(cached
) $ECHO_C" >&6
8563 if test -n "$CXX_FOR_TARGET"; then
8564 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir=.
8571 for ac_exec_ext in '' $ac_executable_extensions; do
8572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8573 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8583 if test -n "$CXX_FOR_TARGET"; then
8584 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8585 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8587 echo "$as_me:$LINENO: result
: no
" >&5
8588 echo "${ECHO_T}no
" >&6
8594 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8595 for ncn_progname in c++ g++ cxx gxx; do
8596 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8597 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8598 if test -x $with_build_time_tools/${ncn_progname}; then
8599 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8600 echo "$as_me:$LINENO: result
: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result
: no
" >&5
8605 echo "${ECHO_T}no
" >&6
8610 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8611 for ncn_progname in c++ g++ cxx gxx; do
8612 if test -n "$ncn_target_tool_prefix"; then
8613 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8614 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8615 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8616 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8617 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8618 echo $ECHO_N "(cached
) $ECHO_C" >&6
8620 if test -n "$CXX_FOR_TARGET"; then
8621 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8631 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8639 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8640 if test -n "$CXX_FOR_TARGET"; then
8641 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8642 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8644 echo "$as_me:$LINENO: result
: no
" >&5
8645 echo "${ECHO_T}no
" >&6
8649 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8651 set dummy ${ncn_progname}; ac_word=$2
8652 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8653 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8654 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8655 echo $ECHO_N "(cached
) $ECHO_C" >&6
8657 if test -n "$CXX_FOR_TARGET"; then
8658 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir=.
8665 for ac_exec_ext in '' $ac_executable_extensions; do
8666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8667 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8668 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8676 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8677 if test -n "$CXX_FOR_TARGET"; then
8678 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8679 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8681 echo "$as_me:$LINENO: result
: no
" >&5
8682 echo "${ECHO_T}no
" >&6
8686 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8690 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8691 set dummy c++ g++ cxx gxx
8692 if test $build = $target ; then
8695 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8698 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8703 if test -n "$GCC_FOR_TARGET"; then
8704 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8705 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8706 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8709 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8710 for ncn_progname in gcc; do
8711 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8712 set dummy ${ncn_progname}; ac_word=$2
8713 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8714 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8715 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8716 echo $ECHO_N "(cached
) $ECHO_C" >&6
8718 if test -n "$GCC_FOR_TARGET"; then
8719 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8725 test -z "$as_dir" && as_dir=.
8726 for ac_exec_ext in '' $ac_executable_extensions; do
8727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8728 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8729 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8737 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8738 if test -n "$GCC_FOR_TARGET"; then
8739 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8740 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8742 echo "$as_me:$LINENO: result
: no
" >&5
8743 echo "${ECHO_T}no
" >&6
8749 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8750 for ncn_progname in gcc; do
8751 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8752 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8753 if test -x $with_build_time_tools/${ncn_progname}; then
8754 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8755 echo "$as_me:$LINENO: result
: yes" >&5
8756 echo "${ECHO_T}yes" >&6
8759 echo "$as_me:$LINENO: result
: no
" >&5
8760 echo "${ECHO_T}no
" >&6
8765 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8766 for ncn_progname in gcc; do
8767 if test -n "$ncn_target_tool_prefix"; then
8768 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8769 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8770 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8771 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8772 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8773 echo $ECHO_N "(cached
) $ECHO_C" >&6
8775 if test -n "$GCC_FOR_TARGET"; then
8776 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8782 test -z "$as_dir" && as_dir=.
8783 for ac_exec_ext in '' $ac_executable_extensions; do
8784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8785 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8786 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8794 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8795 if test -n "$GCC_FOR_TARGET"; then
8796 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8797 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8799 echo "$as_me:$LINENO: result
: no
" >&5
8800 echo "${ECHO_T}no
" >&6
8804 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8806 set dummy ${ncn_progname}; ac_word=$2
8807 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8808 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8809 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8810 echo $ECHO_N "(cached
) $ECHO_C" >&6
8812 if test -n "$GCC_FOR_TARGET"; then
8813 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8822 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8823 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8831 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8832 if test -n "$GCC_FOR_TARGET"; then
8833 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8834 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8836 echo "$as_me:$LINENO: result
: no
" >&5
8837 echo "${ECHO_T}no
" >&6
8841 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8845 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8846 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8848 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8853 if test -n "$GCJ_FOR_TARGET"; then
8854 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8855 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8856 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8859 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8860 for ncn_progname in gcj; do
8861 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8862 set dummy ${ncn_progname}; ac_word=$2
8863 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8864 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8865 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8866 echo $ECHO_N "(cached
) $ECHO_C" >&6
8868 if test -n "$GCJ_FOR_TARGET"; then
8869 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir=.
8876 for ac_exec_ext in '' $ac_executable_extensions; do
8877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8878 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8879 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8887 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8888 if test -n "$GCJ_FOR_TARGET"; then
8889 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8890 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8892 echo "$as_me:$LINENO: result
: no
" >&5
8893 echo "${ECHO_T}no
" >&6
8899 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8900 for ncn_progname in gcj; do
8901 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8902 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8903 if test -x $with_build_time_tools/${ncn_progname}; then
8904 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8905 echo "$as_me:$LINENO: result
: yes" >&5
8906 echo "${ECHO_T}yes" >&6
8909 echo "$as_me:$LINENO: result
: no
" >&5
8910 echo "${ECHO_T}no
" >&6
8915 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8916 for ncn_progname in gcj; do
8917 if test -n "$ncn_target_tool_prefix"; then
8918 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8919 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8920 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8921 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8922 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8923 echo $ECHO_N "(cached
) $ECHO_C" >&6
8925 if test -n "$GCJ_FOR_TARGET"; then
8926 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8932 test -z "$as_dir" && as_dir=.
8933 for ac_exec_ext in '' $ac_executable_extensions; do
8934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8935 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8936 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8944 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8945 if test -n "$GCJ_FOR_TARGET"; then
8946 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8947 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8949 echo "$as_me:$LINENO: result
: no
" >&5
8950 echo "${ECHO_T}no
" >&6
8954 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8956 set dummy ${ncn_progname}; ac_word=$2
8957 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8958 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8959 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8960 echo $ECHO_N "(cached
) $ECHO_C" >&6
8962 if test -n "$GCJ_FOR_TARGET"; then
8963 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8973 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8981 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8982 if test -n "$GCJ_FOR_TARGET"; then
8983 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8984 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8986 echo "$as_me:$LINENO: result
: no
" >&5
8987 echo "${ECHO_T}no
" >&6
8991 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8995 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8997 if test $build = $target ; then
9000 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9003 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9008 if test -n "$GFORTRAN_FOR_TARGET"; then
9009 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9010 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9011 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9014 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9015 for ncn_progname in gfortran; do
9016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9017 set dummy ${ncn_progname}; ac_word=$2
9018 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9019 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9020 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9021 echo $ECHO_N "(cached
) $ECHO_C" >&6
9023 if test -n "$GFORTRAN_FOR_TARGET"; then
9024 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9030 test -z "$as_dir" && as_dir=.
9031 for ac_exec_ext in '' $ac_executable_extensions; do
9032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9033 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9034 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9042 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9043 if test -n "$GFORTRAN_FOR_TARGET"; then
9044 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9045 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9047 echo "$as_me:$LINENO: result
: no
" >&5
9048 echo "${ECHO_T}no
" >&6
9054 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9055 for ncn_progname in gfortran; do
9056 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9057 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9058 if test -x $with_build_time_tools/${ncn_progname}; then
9059 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9060 echo "$as_me:$LINENO: result
: yes" >&5
9061 echo "${ECHO_T}yes" >&6
9064 echo "$as_me:$LINENO: result
: no
" >&5
9065 echo "${ECHO_T}no
" >&6
9070 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9071 for ncn_progname in gfortran; do
9072 if test -n "$ncn_target_tool_prefix"; then
9073 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9074 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9075 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9076 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9077 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9078 echo $ECHO_N "(cached
) $ECHO_C" >&6
9080 if test -n "$GFORTRAN_FOR_TARGET"; then
9081 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9087 test -z "$as_dir" && as_dir=.
9088 for ac_exec_ext in '' $ac_executable_extensions; do
9089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9090 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9091 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9099 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9100 if test -n "$GFORTRAN_FOR_TARGET"; then
9101 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9102 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9104 echo "$as_me:$LINENO: result
: no
" >&5
9105 echo "${ECHO_T}no
" >&6
9109 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9111 set dummy ${ncn_progname}; ac_word=$2
9112 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9113 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9114 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9115 echo $ECHO_N "(cached
) $ECHO_C" >&6
9117 if test -n "$GFORTRAN_FOR_TARGET"; then
9118 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9127 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9128 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9136 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9137 if test -n "$GFORTRAN_FOR_TARGET"; then
9138 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9139 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9141 echo "$as_me:$LINENO: result
: no
" >&5
9142 echo "${ECHO_T}no
" >&6
9146 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9150 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9152 if test $build = $target ; then
9153 GFORTRAN_FOR_TARGET="$2"
9155 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9158 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9163 cat > conftest.c << \EOF
9168 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9169 have_gcc_for_target=yes
9171 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9172 have_gcc_for_target=no
9179 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9180 if test -n "$with_build_time_tools"; then
9181 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9182 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9183 if test -x $with_build_time_tools/ar; then
9184 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9185 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9186 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9187 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9189 echo "$as_me:$LINENO: result
: no
" >&5
9190 echo "${ECHO_T}no
" >&6
9192 elif test $build != $host && test $have_gcc_for_target = yes; then
9193 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9194 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9195 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9198 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9199 # Extract the first word of "ar", so it can be a program name with args.
9200 set dummy ar; ac_word=$2
9201 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9202 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9203 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9204 echo $ECHO_N "(cached
) $ECHO_C" >&6
9206 case $AR_FOR_TARGET in
9208 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212 for as_dir in $gcc_cv_tool_dirs
9215 test -z "$as_dir" && as_dir=.
9216 for ac_exec_ext in '' $ac_executable_extensions; do
9217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9218 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9219 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9228 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9230 if test -n "$AR_FOR_TARGET"; then
9231 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9232 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9234 echo "$as_me:$LINENO: result
: no
" >&5
9235 echo "${ECHO_T}no
" >&6
9239 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9242 if test -n "$AR_FOR_TARGET"; then
9243 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9244 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9245 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9248 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9249 for ncn_progname in ar; do
9250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9251 set dummy ${ncn_progname}; ac_word=$2
9252 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9253 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9254 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9255 echo $ECHO_N "(cached
) $ECHO_C" >&6
9257 if test -n "$AR_FOR_TARGET"; then
9258 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 test -z "$as_dir" && as_dir=.
9265 for ac_exec_ext in '' $ac_executable_extensions; do
9266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9267 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9268 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9276 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9277 if test -n "$AR_FOR_TARGET"; then
9278 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9279 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9281 echo "$as_me:$LINENO: result
: no
" >&5
9282 echo "${ECHO_T}no
" >&6
9288 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9289 for ncn_progname in ar; do
9290 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9291 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9292 if test -x $with_build_time_tools/${ncn_progname}; then
9293 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9294 echo "$as_me:$LINENO: result
: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result
: no
" >&5
9299 echo "${ECHO_T}no
" >&6
9304 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9305 for ncn_progname in ar; do
9306 if test -n "$ncn_target_tool_prefix"; then
9307 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9308 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9311 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9312 echo $ECHO_N "(cached
) $ECHO_C" >&6
9314 if test -n "$AR_FOR_TARGET"; then
9315 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321 test -z "$as_dir" && as_dir=.
9322 for ac_exec_ext in '' $ac_executable_extensions; do
9323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9324 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9333 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9334 if test -n "$AR_FOR_TARGET"; then
9335 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9336 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9338 echo "$as_me:$LINENO: result
: no
" >&5
9339 echo "${ECHO_T}no
" >&6
9343 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9345 set dummy ${ncn_progname}; ac_word=$2
9346 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9348 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9349 echo $ECHO_N "(cached
) $ECHO_C" >&6
9351 if test -n "$AR_FOR_TARGET"; then
9352 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 test -z "$as_dir" && as_dir=.
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9361 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9370 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9371 if test -n "$AR_FOR_TARGET"; then
9372 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9373 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9375 echo "$as_me:$LINENO: result
: no
" >&5
9376 echo "${ECHO_T}no
" >&6
9380 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9384 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9386 if test $build = $target ; then
9389 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9392 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9396 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9402 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9403 if test -n "$with_build_time_tools"; then
9404 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9405 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9406 if test -x $with_build_time_tools/as; then
9407 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9408 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9409 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9410 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9412 echo "$as_me:$LINENO: result
: no
" >&5
9413 echo "${ECHO_T}no
" >&6
9415 elif test $build != $host && test $have_gcc_for_target = yes; then
9416 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9417 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9418 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9421 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9422 # Extract the first word of "as
", so it can be a program name with args.
9423 set dummy as; ac_word=$2
9424 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9425 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9426 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9427 echo $ECHO_N "(cached
) $ECHO_C" >&6
9429 case $AS_FOR_TARGET in
9431 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 for as_dir in $gcc_cv_tool_dirs
9438 test -z "$as_dir" && as_dir=.
9439 for ac_exec_ext in '' $ac_executable_extensions; do
9440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9441 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9442 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9451 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9453 if test -n "$AS_FOR_TARGET"; then
9454 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9455 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9457 echo "$as_me:$LINENO: result
: no
" >&5
9458 echo "${ECHO_T}no
" >&6
9462 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9465 if test -n "$AS_FOR_TARGET"; then
9466 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9467 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9468 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9471 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9472 for ncn_progname in as; do
9473 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9474 set dummy ${ncn_progname}; ac_word=$2
9475 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9476 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9477 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9478 echo $ECHO_N "(cached
) $ECHO_C" >&6
9480 if test -n "$AS_FOR_TARGET"; then
9481 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9490 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9491 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9499 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9500 if test -n "$AS_FOR_TARGET"; then
9501 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9502 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9504 echo "$as_me:$LINENO: result
: no
" >&5
9505 echo "${ECHO_T}no
" >&6
9511 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9512 for ncn_progname in as; do
9513 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9514 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9515 if test -x $with_build_time_tools/${ncn_progname}; then
9516 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9517 echo "$as_me:$LINENO: result
: yes" >&5
9518 echo "${ECHO_T}yes" >&6
9521 echo "$as_me:$LINENO: result
: no
" >&5
9522 echo "${ECHO_T}no
" >&6
9527 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9528 for ncn_progname in as; do
9529 if test -n "$ncn_target_tool_prefix"; then
9530 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9531 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9532 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9533 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9534 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9535 echo $ECHO_N "(cached
) $ECHO_C" >&6
9537 if test -n "$AS_FOR_TARGET"; then
9538 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9547 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9548 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9556 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9557 if test -n "$AS_FOR_TARGET"; then
9558 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9559 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9561 echo "$as_me:$LINENO: result
: no
" >&5
9562 echo "${ECHO_T}no
" >&6
9566 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9568 set dummy ${ncn_progname}; ac_word=$2
9569 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9571 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9572 echo $ECHO_N "(cached
) $ECHO_C" >&6
9574 if test -n "$AS_FOR_TARGET"; then
9575 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9581 test -z "$as_dir" && as_dir=.
9582 for ac_exec_ext in '' $ac_executable_extensions; do
9583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9584 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9593 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9594 if test -n "$AS_FOR_TARGET"; then
9595 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9596 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9598 echo "$as_me:$LINENO: result
: no
" >&5
9599 echo "${ECHO_T}no
" >&6
9603 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9607 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9609 if test $build = $target ; then
9612 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9615 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9619 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9625 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9626 if test -n "$with_build_time_tools"; then
9627 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9628 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9629 if test -x $with_build_time_tools/dlltool; then
9630 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9631 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9632 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9633 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9635 echo "$as_me:$LINENO: result
: no
" >&5
9636 echo "${ECHO_T}no
" >&6
9638 elif test $build != $host && test $have_gcc_for_target = yes; then
9639 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9640 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9641 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9644 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9645 # Extract the first word of "dlltool
", so it can be a program name with args.
9646 set dummy dlltool; ac_word=$2
9647 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9648 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9649 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9650 echo $ECHO_N "(cached
) $ECHO_C" >&6
9652 case $DLLTOOL_FOR_TARGET in
9654 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9658 for as_dir in $gcc_cv_tool_dirs
9661 test -z "$as_dir" && as_dir=.
9662 for ac_exec_ext in '' $ac_executable_extensions; do
9663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9664 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9665 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9674 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9676 if test -n "$DLLTOOL_FOR_TARGET"; then
9677 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9678 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9680 echo "$as_me:$LINENO: result
: no
" >&5
9681 echo "${ECHO_T}no
" >&6
9685 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9688 if test -n "$DLLTOOL_FOR_TARGET"; then
9689 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9690 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9691 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9694 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9695 for ncn_progname in dlltool; do
9696 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9697 set dummy ${ncn_progname}; ac_word=$2
9698 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9699 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9700 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9701 echo $ECHO_N "(cached
) $ECHO_C" >&6
9703 if test -n "$DLLTOOL_FOR_TARGET"; then
9704 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9710 test -z "$as_dir" && as_dir=.
9711 for ac_exec_ext in '' $ac_executable_extensions; do
9712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9713 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9714 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9722 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9723 if test -n "$DLLTOOL_FOR_TARGET"; then
9724 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9725 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9727 echo "$as_me:$LINENO: result
: no
" >&5
9728 echo "${ECHO_T}no
" >&6
9734 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9735 for ncn_progname in dlltool; do
9736 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9737 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9738 if test -x $with_build_time_tools/${ncn_progname}; then
9739 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9740 echo "$as_me:$LINENO: result
: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9744 echo "$as_me:$LINENO: result
: no
" >&5
9745 echo "${ECHO_T}no
" >&6
9750 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9751 for ncn_progname in dlltool; do
9752 if test -n "$ncn_target_tool_prefix"; then
9753 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9754 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9755 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9756 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9757 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9758 echo $ECHO_N "(cached
) $ECHO_C" >&6
9760 if test -n "$DLLTOOL_FOR_TARGET"; then
9761 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9767 test -z "$as_dir" && as_dir=.
9768 for ac_exec_ext in '' $ac_executable_extensions; do
9769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9770 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9771 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9779 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9780 if test -n "$DLLTOOL_FOR_TARGET"; then
9781 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9782 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9784 echo "$as_me:$LINENO: result
: no
" >&5
9785 echo "${ECHO_T}no
" >&6
9789 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9791 set dummy ${ncn_progname}; ac_word=$2
9792 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9793 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9794 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9795 echo $ECHO_N "(cached
) $ECHO_C" >&6
9797 if test -n "$DLLTOOL_FOR_TARGET"; then
9798 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 test -z "$as_dir" && as_dir=.
9805 for ac_exec_ext in '' $ac_executable_extensions; do
9806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9807 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9808 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9816 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9817 if test -n "$DLLTOOL_FOR_TARGET"; then
9818 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9819 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9821 echo "$as_me:$LINENO: result
: no
" >&5
9822 echo "${ECHO_T}no
" >&6
9826 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9830 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9832 if test $build = $target ; then
9833 DLLTOOL_FOR_TARGET="$2"
9835 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9838 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9842 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9848 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9849 if test -n "$with_build_time_tools"; then
9850 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9851 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9852 if test -x $with_build_time_tools/ld; then
9853 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9854 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9855 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9856 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9858 echo "$as_me:$LINENO: result
: no
" >&5
9859 echo "${ECHO_T}no
" >&6
9861 elif test $build != $host && test $have_gcc_for_target = yes; then
9862 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9863 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9864 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9867 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9868 # Extract the first word of "ld
", so it can be a program name with args.
9869 set dummy ld; ac_word=$2
9870 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9871 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9872 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9873 echo $ECHO_N "(cached
) $ECHO_C" >&6
9875 case $LD_FOR_TARGET in
9877 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9881 for as_dir in $gcc_cv_tool_dirs
9884 test -z "$as_dir" && as_dir=.
9885 for ac_exec_ext in '' $ac_executable_extensions; do
9886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9887 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9888 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9897 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9899 if test -n "$LD_FOR_TARGET"; then
9900 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9901 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9903 echo "$as_me:$LINENO: result
: no
" >&5
9904 echo "${ECHO_T}no
" >&6
9908 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9911 if test -n "$LD_FOR_TARGET"; then
9912 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9913 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9914 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9917 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9918 for ncn_progname in ld; do
9919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9920 set dummy ${ncn_progname}; ac_word=$2
9921 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9922 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9923 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9924 echo $ECHO_N "(cached
) $ECHO_C" >&6
9926 if test -n "$LD_FOR_TARGET"; then
9927 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir=.
9934 for ac_exec_ext in '' $ac_executable_extensions; do
9935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9936 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9937 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9945 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9946 if test -n "$LD_FOR_TARGET"; then
9947 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9948 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9950 echo "$as_me:$LINENO: result
: no
" >&5
9951 echo "${ECHO_T}no
" >&6
9957 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9958 for ncn_progname in ld; do
9959 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9960 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9961 if test -x $with_build_time_tools/${ncn_progname}; then
9962 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9963 echo "$as_me:$LINENO: result
: yes" >&5
9964 echo "${ECHO_T}yes" >&6
9967 echo "$as_me:$LINENO: result
: no
" >&5
9968 echo "${ECHO_T}no
" >&6
9973 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9974 for ncn_progname in ld; do
9975 if test -n "$ncn_target_tool_prefix"; then
9976 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9977 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9978 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9979 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9980 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9981 echo $ECHO_N "(cached
) $ECHO_C" >&6
9983 if test -n "$LD_FOR_TARGET"; then
9984 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9990 test -z "$as_dir" && as_dir=.
9991 for ac_exec_ext in '' $ac_executable_extensions; do
9992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9993 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9994 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10002 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10003 if test -n "$LD_FOR_TARGET"; then
10004 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10005 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10007 echo "$as_me:$LINENO: result
: no
" >&5
10008 echo "${ECHO_T}no
" >&6
10012 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10014 set dummy ${ncn_progname}; ac_word=$2
10015 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10016 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10017 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10018 echo $ECHO_N "(cached
) $ECHO_C" >&6
10020 if test -n "$LD_FOR_TARGET"; then
10021 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10024 for as_dir in $PATH
10027 test -z "$as_dir" && as_dir=.
10028 for ac_exec_ext in '' $ac_executable_extensions; do
10029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10030 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10039 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10040 if test -n "$LD_FOR_TARGET"; then
10041 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10042 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10044 echo "$as_me:$LINENO: result
: no
" >&5
10045 echo "${ECHO_T}no
" >&6
10049 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10053 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10055 if test $build = $target ; then
10058 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10061 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10065 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10071 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10072 if test -n "$with_build_time_tools"; then
10073 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10074 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10075 if test -x $with_build_time_tools/lipo; then
10076 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10077 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10078 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10079 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10081 echo "$as_me:$LINENO: result
: no
" >&5
10082 echo "${ECHO_T}no
" >&6
10084 elif test $build != $host && test $have_gcc_for_target = yes; then
10085 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10086 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10087 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10090 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10091 # Extract the first word of "lipo
", so it can be a program name with args.
10092 set dummy lipo; ac_word=$2
10093 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10094 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10095 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10096 echo $ECHO_N "(cached
) $ECHO_C" >&6
10098 case $LIPO_FOR_TARGET in
10100 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $gcc_cv_tool_dirs
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10111 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10120 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10122 if test -n "$LIPO_FOR_TARGET"; then
10123 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10124 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10126 echo "$as_me:$LINENO: result
: no
" >&5
10127 echo "${ECHO_T}no
" >&6
10131 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10134 if test -n "$LIPO_FOR_TARGET"; then
10135 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10136 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10137 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10140 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10141 for ncn_progname in lipo; do
10142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_progname}; ac_word=$2
10144 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10145 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10146 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10147 echo $ECHO_N "(cached
) $ECHO_C" >&6
10149 if test -n "$LIPO_FOR_TARGET"; then
10150 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10159 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10160 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10168 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10169 if test -n "$LIPO_FOR_TARGET"; then
10170 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10171 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10173 echo "$as_me:$LINENO: result
: no
" >&5
10174 echo "${ECHO_T}no
" >&6
10180 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10181 for ncn_progname in lipo; do
10182 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10183 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10184 if test -x $with_build_time_tools/${ncn_progname}; then
10185 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10186 echo "$as_me:$LINENO: result
: yes" >&5
10187 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result
: no
" >&5
10191 echo "${ECHO_T}no
" >&6
10196 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10197 for ncn_progname in lipo; do
10198 if test -n "$ncn_target_tool_prefix"; then
10199 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10200 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10201 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10202 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10203 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10204 echo $ECHO_N "(cached
) $ECHO_C" >&6
10206 if test -n "$LIPO_FOR_TARGET"; then
10207 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10210 for as_dir in $PATH
10213 test -z "$as_dir" && as_dir=.
10214 for ac_exec_ext in '' $ac_executable_extensions; do
10215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10216 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10217 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10225 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10226 if test -n "$LIPO_FOR_TARGET"; then
10227 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10228 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10230 echo "$as_me:$LINENO: result
: no
" >&5
10231 echo "${ECHO_T}no
" >&6
10235 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10237 set dummy ${ncn_progname}; ac_word=$2
10238 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10240 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10241 echo $ECHO_N "(cached
) $ECHO_C" >&6
10243 if test -n "$LIPO_FOR_TARGET"; then
10244 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10247 for as_dir in $PATH
10250 test -z "$as_dir" && as_dir=.
10251 for ac_exec_ext in '' $ac_executable_extensions; do
10252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10253 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10262 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10263 if test -n "$LIPO_FOR_TARGET"; then
10264 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10265 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10267 echo "$as_me:$LINENO: result
: no
" >&5
10268 echo "${ECHO_T}no
" >&6
10272 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10276 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10278 if test $build = $target ; then
10279 LIPO_FOR_TARGET="$2"
10281 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10284 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10288 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10294 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10295 if test -n "$with_build_time_tools"; then
10296 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10297 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10298 if test -x $with_build_time_tools/nm; then
10299 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10300 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10301 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10302 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10304 echo "$as_me:$LINENO: result
: no
" >&5
10305 echo "${ECHO_T}no
" >&6
10307 elif test $build != $host && test $have_gcc_for_target = yes; then
10308 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10309 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10310 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10313 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10314 # Extract the first word of "nm
", so it can be a program name with args.
10315 set dummy nm; ac_word=$2
10316 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10317 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10318 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10319 echo $ECHO_N "(cached
) $ECHO_C" >&6
10321 case $NM_FOR_TARGET in
10323 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10327 for as_dir in $gcc_cv_tool_dirs
10330 test -z "$as_dir" && as_dir=.
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10333 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10343 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10345 if test -n "$NM_FOR_TARGET"; then
10346 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10347 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10349 echo "$as_me:$LINENO: result
: no
" >&5
10350 echo "${ECHO_T}no
" >&6
10354 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10357 if test -n "$NM_FOR_TARGET"; then
10358 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10359 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10360 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10363 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10364 for ncn_progname in nm; do
10365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10366 set dummy ${ncn_progname}; ac_word=$2
10367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10369 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10370 echo $ECHO_N "(cached
) $ECHO_C" >&6
10372 if test -n "$NM_FOR_TARGET"; then
10373 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 for as_dir in $PATH
10379 test -z "$as_dir" && as_dir=.
10380 for ac_exec_ext in '' $ac_executable_extensions; do
10381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10391 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10392 if test -n "$NM_FOR_TARGET"; then
10393 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10394 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10396 echo "$as_me:$LINENO: result
: no
" >&5
10397 echo "${ECHO_T}no
" >&6
10403 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10404 for ncn_progname in nm; do
10405 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10406 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10407 if test -x $with_build_time_tools/${ncn_progname}; then
10408 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10409 echo "$as_me:$LINENO: result
: yes" >&5
10410 echo "${ECHO_T}yes" >&6
10413 echo "$as_me:$LINENO: result
: no
" >&5
10414 echo "${ECHO_T}no
" >&6
10419 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10420 for ncn_progname in nm; do
10421 if test -n "$ncn_target_tool_prefix"; then
10422 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10423 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10424 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10425 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10426 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10427 echo $ECHO_N "(cached
) $ECHO_C" >&6
10429 if test -n "$NM_FOR_TARGET"; then
10430 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10433 for as_dir in $PATH
10436 test -z "$as_dir" && as_dir=.
10437 for ac_exec_ext in '' $ac_executable_extensions; do
10438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10439 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10440 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10448 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10449 if test -n "$NM_FOR_TARGET"; then
10450 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10451 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10453 echo "$as_me:$LINENO: result
: no
" >&5
10454 echo "${ECHO_T}no
" >&6
10458 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10460 set dummy ${ncn_progname}; ac_word=$2
10461 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10463 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10464 echo $ECHO_N "(cached
) $ECHO_C" >&6
10466 if test -n "$NM_FOR_TARGET"; then
10467 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10485 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10486 if test -n "$NM_FOR_TARGET"; then
10487 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10488 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10490 echo "$as_me:$LINENO: result
: no
" >&5
10491 echo "${ECHO_T}no
" >&6
10495 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10499 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10501 if test $build = $target ; then
10504 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10507 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10511 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10517 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10518 if test -n "$with_build_time_tools"; then
10519 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10520 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10521 if test -x $with_build_time_tools/objdump; then
10522 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10523 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10524 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10525 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10527 echo "$as_me:$LINENO: result
: no
" >&5
10528 echo "${ECHO_T}no
" >&6
10530 elif test $build != $host && test $have_gcc_for_target = yes; then
10531 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10532 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10533 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10536 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10537 # Extract the first word of "objdump
", so it can be a program name with args.
10538 set dummy objdump; ac_word=$2
10539 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10540 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10541 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10542 echo $ECHO_N "(cached
) $ECHO_C" >&6
10544 case $OBJDUMP_FOR_TARGET in
10546 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10550 for as_dir in $gcc_cv_tool_dirs
10553 test -z "$as_dir" && as_dir=.
10554 for ac_exec_ext in '' $ac_executable_extensions; do
10555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10556 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10557 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10566 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10568 if test -n "$OBJDUMP_FOR_TARGET"; then
10569 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10570 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10572 echo "$as_me:$LINENO: result
: no
" >&5
10573 echo "${ECHO_T}no
" >&6
10577 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10580 if test -n "$OBJDUMP_FOR_TARGET"; then
10581 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10582 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10583 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10586 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10587 for ncn_progname in objdump; do
10588 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10589 set dummy ${ncn_progname}; ac_word=$2
10590 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10591 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10592 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10593 echo $ECHO_N "(cached
) $ECHO_C" >&6
10595 if test -n "$OBJDUMP_FOR_TARGET"; then
10596 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10599 for as_dir in $PATH
10602 test -z "$as_dir" && as_dir=.
10603 for ac_exec_ext in '' $ac_executable_extensions; do
10604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10605 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10606 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10615 if test -n "$OBJDUMP_FOR_TARGET"; then
10616 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10617 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10619 echo "$as_me:$LINENO: result
: no
" >&5
10620 echo "${ECHO_T}no
" >&6
10626 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10627 for ncn_progname in objdump; do
10628 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10629 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10630 if test -x $with_build_time_tools/${ncn_progname}; then
10631 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10632 echo "$as_me:$LINENO: result
: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10636 echo "$as_me:$LINENO: result
: no
" >&5
10637 echo "${ECHO_T}no
" >&6
10642 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10643 for ncn_progname in objdump; do
10644 if test -n "$ncn_target_tool_prefix"; then
10645 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10646 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10647 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10648 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10649 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10650 echo $ECHO_N "(cached
) $ECHO_C" >&6
10652 if test -n "$OBJDUMP_FOR_TARGET"; then
10653 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10656 for as_dir in $PATH
10659 test -z "$as_dir" && as_dir=.
10660 for ac_exec_ext in '' $ac_executable_extensions; do
10661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10662 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10663 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10671 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10672 if test -n "$OBJDUMP_FOR_TARGET"; then
10673 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10674 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10676 echo "$as_me:$LINENO: result
: no
" >&5
10677 echo "${ECHO_T}no
" >&6
10681 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10683 set dummy ${ncn_progname}; ac_word=$2
10684 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10685 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10686 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10687 echo $ECHO_N "(cached
) $ECHO_C" >&6
10689 if test -n "$OBJDUMP_FOR_TARGET"; then
10690 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10693 for as_dir in $PATH
10696 test -z "$as_dir" && as_dir=.
10697 for ac_exec_ext in '' $ac_executable_extensions; do
10698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10699 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10700 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10708 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10709 if test -n "$OBJDUMP_FOR_TARGET"; then
10710 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10711 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10713 echo "$as_me:$LINENO: result
: no
" >&5
10714 echo "${ECHO_T}no
" >&6
10718 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10722 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10724 if test $build = $target ; then
10725 OBJDUMP_FOR_TARGET="$2"
10727 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10730 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10734 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10740 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10741 if test -n "$with_build_time_tools"; then
10742 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10743 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10744 if test -x $with_build_time_tools/ranlib; then
10745 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10746 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10747 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10748 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10750 echo "$as_me:$LINENO: result
: no
" >&5
10751 echo "${ECHO_T}no
" >&6
10753 elif test $build != $host && test $have_gcc_for_target = yes; then
10754 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10755 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10756 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10759 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10760 # Extract the first word of "ranlib
", so it can be a program name with args.
10761 set dummy ranlib; ac_word=$2
10762 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10763 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10764 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10765 echo $ECHO_N "(cached
) $ECHO_C" >&6
10767 case $RANLIB_FOR_TARGET in
10769 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10773 for as_dir in $gcc_cv_tool_dirs
10776 test -z "$as_dir" && as_dir=.
10777 for ac_exec_ext in '' $ac_executable_extensions; do
10778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10779 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10780 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10789 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10791 if test -n "$RANLIB_FOR_TARGET"; then
10792 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10793 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10795 echo "$as_me:$LINENO: result
: no
" >&5
10796 echo "${ECHO_T}no
" >&6
10800 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10803 if test -n "$RANLIB_FOR_TARGET"; then
10804 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10805 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10806 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10809 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10810 for ncn_progname in ranlib; do
10811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10812 set dummy ${ncn_progname}; ac_word=$2
10813 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10815 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10816 echo $ECHO_N "(cached
) $ECHO_C" >&6
10818 if test -n "$RANLIB_FOR_TARGET"; then
10819 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10822 for as_dir in $PATH
10825 test -z "$as_dir" && as_dir=.
10826 for ac_exec_ext in '' $ac_executable_extensions; do
10827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10828 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10829 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10837 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10838 if test -n "$RANLIB_FOR_TARGET"; then
10839 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10840 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10842 echo "$as_me:$LINENO: result
: no
" >&5
10843 echo "${ECHO_T}no
" >&6
10849 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10850 for ncn_progname in ranlib; do
10851 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10852 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10853 if test -x $with_build_time_tools/${ncn_progname}; then
10854 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10855 echo "$as_me:$LINENO: result
: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10859 echo "$as_me:$LINENO: result
: no
" >&5
10860 echo "${ECHO_T}no
" >&6
10865 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10866 for ncn_progname in ranlib; do
10867 if test -n "$ncn_target_tool_prefix"; then
10868 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10869 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10870 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10871 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10872 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10873 echo $ECHO_N "(cached
) $ECHO_C" >&6
10875 if test -n "$RANLIB_FOR_TARGET"; then
10876 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10885 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10886 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10894 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10895 if test -n "$RANLIB_FOR_TARGET"; then
10896 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10897 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10899 echo "$as_me:$LINENO: result
: no
" >&5
10900 echo "${ECHO_T}no
" >&6
10904 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10906 set dummy ${ncn_progname}; ac_word=$2
10907 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10908 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10909 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10910 echo $ECHO_N "(cached
) $ECHO_C" >&6
10912 if test -n "$RANLIB_FOR_TARGET"; then
10913 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10919 test -z "$as_dir" && as_dir=.
10920 for ac_exec_ext in '' $ac_executable_extensions; do
10921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10922 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10931 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10932 if test -n "$RANLIB_FOR_TARGET"; then
10933 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10934 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10936 echo "$as_me:$LINENO: result
: no
" >&5
10937 echo "${ECHO_T}no
" >&6
10941 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10945 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10947 if test $build = $target ; then
10948 RANLIB_FOR_TARGET="$2"
10950 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10953 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10957 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10963 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10964 if test -n "$with_build_time_tools"; then
10965 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10966 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10967 if test -x $with_build_time_tools/strip; then
10968 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10969 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10970 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10971 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10973 echo "$as_me:$LINENO: result
: no
" >&5
10974 echo "${ECHO_T}no
" >&6
10976 elif test $build != $host && test $have_gcc_for_target = yes; then
10977 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10978 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10979 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10982 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10983 # Extract the first word of "strip
", so it can be a program name with args.
10984 set dummy strip; ac_word=$2
10985 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10986 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10987 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10988 echo $ECHO_N "(cached
) $ECHO_C" >&6
10990 case $STRIP_FOR_TARGET in
10992 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10996 for as_dir in $gcc_cv_tool_dirs
10999 test -z "$as_dir" && as_dir=.
11000 for ac_exec_ext in '' $ac_executable_extensions; do
11001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11002 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11012 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11014 if test -n "$STRIP_FOR_TARGET"; then
11015 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11016 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11018 echo "$as_me:$LINENO: result
: no
" >&5
11019 echo "${ECHO_T}no
" >&6
11023 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11026 if test -n "$STRIP_FOR_TARGET"; then
11027 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11028 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11029 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11032 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11033 for ncn_progname in strip; do
11034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11035 set dummy ${ncn_progname}; ac_word=$2
11036 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11038 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11039 echo $ECHO_N "(cached
) $ECHO_C" >&6
11041 if test -n "$STRIP_FOR_TARGET"; then
11042 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11045 for as_dir in $PATH
11048 test -z "$as_dir" && as_dir=.
11049 for ac_exec_ext in '' $ac_executable_extensions; do
11050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11051 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11060 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11061 if test -n "$STRIP_FOR_TARGET"; then
11062 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11063 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11065 echo "$as_me:$LINENO: result
: no
" >&5
11066 echo "${ECHO_T}no
" >&6
11072 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11073 for ncn_progname in strip; do
11074 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11075 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11076 if test -x $with_build_time_tools/${ncn_progname}; then
11077 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11078 echo "$as_me:$LINENO: result
: yes" >&5
11079 echo "${ECHO_T}yes" >&6
11082 echo "$as_me:$LINENO: result
: no
" >&5
11083 echo "${ECHO_T}no
" >&6
11088 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11089 for ncn_progname in strip; do
11090 if test -n "$ncn_target_tool_prefix"; then
11091 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11092 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11093 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11094 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11095 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11096 echo $ECHO_N "(cached
) $ECHO_C" >&6
11098 if test -n "$STRIP_FOR_TARGET"; then
11099 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11102 for as_dir in $PATH
11105 test -z "$as_dir" && as_dir=.
11106 for ac_exec_ext in '' $ac_executable_extensions; do
11107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11108 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11109 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11117 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11118 if test -n "$STRIP_FOR_TARGET"; then
11119 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11120 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11122 echo "$as_me:$LINENO: result
: no
" >&5
11123 echo "${ECHO_T}no
" >&6
11127 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11128 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11129 set dummy ${ncn_progname}; ac_word=$2
11130 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11131 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11132 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11133 echo $ECHO_N "(cached
) $ECHO_C" >&6
11135 if test -n "$STRIP_FOR_TARGET"; then
11136 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11139 for as_dir in $PATH
11142 test -z "$as_dir" && as_dir=.
11143 for ac_exec_ext in '' $ac_executable_extensions; do
11144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11145 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11146 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11154 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11155 if test -n "$STRIP_FOR_TARGET"; then
11156 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11157 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11159 echo "$as_me:$LINENO: result
: no
" >&5
11160 echo "${ECHO_T}no
" >&6
11164 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11168 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11170 if test $build = $target ; then
11171 STRIP_FOR_TARGET="$2"
11173 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11176 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11180 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11186 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11187 if test -n "$with_build_time_tools"; then
11188 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11189 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11190 if test -x $with_build_time_tools/windres; then
11191 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11192 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11193 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11194 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11196 echo "$as_me:$LINENO: result
: no
" >&5
11197 echo "${ECHO_T}no
" >&6
11199 elif test $build != $host && test $have_gcc_for_target = yes; then
11200 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11201 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11202 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11205 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11206 # Extract the first word of "windres
", so it can be a program name with args.
11207 set dummy windres; ac_word=$2
11208 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11209 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11210 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11211 echo $ECHO_N "(cached
) $ECHO_C" >&6
11213 case $WINDRES_FOR_TARGET in
11215 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $gcc_cv_tool_dirs
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11225 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11226 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11235 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11237 if test -n "$WINDRES_FOR_TARGET"; then
11238 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11239 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11241 echo "$as_me:$LINENO: result
: no
" >&5
11242 echo "${ECHO_T}no
" >&6
11246 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11249 if test -n "$WINDRES_FOR_TARGET"; then
11250 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11251 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11252 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11255 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11256 for ncn_progname in windres; do
11257 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11258 set dummy ${ncn_progname}; ac_word=$2
11259 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11260 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11261 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11262 echo $ECHO_N "(cached
) $ECHO_C" >&6
11264 if test -n "$WINDRES_FOR_TARGET"; then
11265 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11275 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11283 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11284 if test -n "$WINDRES_FOR_TARGET"; then
11285 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11286 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11288 echo "$as_me:$LINENO: result
: no
" >&5
11289 echo "${ECHO_T}no
" >&6
11295 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11296 for ncn_progname in windres; do
11297 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11298 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11299 if test -x $with_build_time_tools/${ncn_progname}; then
11300 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11301 echo "$as_me:$LINENO: result
: yes" >&5
11302 echo "${ECHO_T}yes" >&6
11305 echo "$as_me:$LINENO: result
: no
" >&5
11306 echo "${ECHO_T}no
" >&6
11311 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11312 for ncn_progname in windres; do
11313 if test -n "$ncn_target_tool_prefix"; then
11314 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11315 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11316 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11317 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11318 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11319 echo $ECHO_N "(cached
) $ECHO_C" >&6
11321 if test -n "$WINDRES_FOR_TARGET"; then
11322 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11325 for as_dir in $PATH
11328 test -z "$as_dir" && as_dir=.
11329 for ac_exec_ext in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11331 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11332 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11340 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11341 if test -n "$WINDRES_FOR_TARGET"; then
11342 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11343 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11345 echo "$as_me:$LINENO: result
: no
" >&5
11346 echo "${ECHO_T}no
" >&6
11350 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11352 set dummy ${ncn_progname}; ac_word=$2
11353 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11354 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11355 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11356 echo $ECHO_N "(cached
) $ECHO_C" >&6
11358 if test -n "$WINDRES_FOR_TARGET"; then
11359 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11362 for as_dir in $PATH
11365 test -z "$as_dir" && as_dir=.
11366 for ac_exec_ext in '' $ac_executable_extensions; do
11367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11368 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11369 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11377 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11378 if test -n "$WINDRES_FOR_TARGET"; then
11379 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11380 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11382 echo "$as_me:$LINENO: result
: no
" >&5
11383 echo "${ECHO_T}no
" >&6
11387 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11391 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11393 if test $build = $target ; then
11394 WINDRES_FOR_TARGET="$2"
11396 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11399 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11403 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11409 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11410 if test -n "$with_build_time_tools"; then
11411 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11412 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11413 if test -x $with_build_time_tools/windmc; then
11414 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11415 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11416 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11417 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11419 echo "$as_me:$LINENO: result
: no
" >&5
11420 echo "${ECHO_T}no
" >&6
11422 elif test $build != $host && test $have_gcc_for_target = yes; then
11423 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11424 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11425 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11428 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11429 # Extract the first word of "windmc
", so it can be a program name with args.
11430 set dummy windmc; ac_word=$2
11431 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11432 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11433 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11434 echo $ECHO_N "(cached
) $ECHO_C" >&6
11436 case $WINDMC_FOR_TARGET in
11438 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11442 for as_dir in $gcc_cv_tool_dirs
11445 test -z "$as_dir" && as_dir=.
11446 for ac_exec_ext in '' $ac_executable_extensions; do
11447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11448 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11449 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11458 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11460 if test -n "$WINDMC_FOR_TARGET"; then
11461 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11462 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11464 echo "$as_me:$LINENO: result
: no
" >&5
11465 echo "${ECHO_T}no
" >&6
11469 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11472 if test -n "$WINDMC_FOR_TARGET"; then
11473 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11474 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11475 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11478 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11479 for ncn_progname in windmc; do
11480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11481 set dummy ${ncn_progname}; ac_word=$2
11482 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11483 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11484 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11485 echo $ECHO_N "(cached
) $ECHO_C" >&6
11487 if test -n "$WINDMC_FOR_TARGET"; then
11488 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11491 for as_dir in $PATH
11494 test -z "$as_dir" && as_dir=.
11495 for ac_exec_ext in '' $ac_executable_extensions; do
11496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11497 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11498 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11506 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11507 if test -n "$WINDMC_FOR_TARGET"; then
11508 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11509 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11511 echo "$as_me:$LINENO: result
: no
" >&5
11512 echo "${ECHO_T}no
" >&6
11518 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11519 for ncn_progname in windmc; do
11520 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11521 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11522 if test -x $with_build_time_tools/${ncn_progname}; then
11523 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11524 echo "$as_me:$LINENO: result
: yes" >&5
11525 echo "${ECHO_T}yes" >&6
11528 echo "$as_me:$LINENO: result
: no
" >&5
11529 echo "${ECHO_T}no
" >&6
11534 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11535 for ncn_progname in windmc; do
11536 if test -n "$ncn_target_tool_prefix"; then
11537 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11538 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11539 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11540 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11541 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11542 echo $ECHO_N "(cached
) $ECHO_C" >&6
11544 if test -n "$WINDMC_FOR_TARGET"; then
11545 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $PATH
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11554 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11555 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11563 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11564 if test -n "$WINDMC_FOR_TARGET"; then
11565 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11566 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11568 echo "$as_me:$LINENO: result
: no
" >&5
11569 echo "${ECHO_T}no
" >&6
11573 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11575 set dummy ${ncn_progname}; ac_word=$2
11576 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11577 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11578 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11579 echo $ECHO_N "(cached
) $ECHO_C" >&6
11581 if test -n "$WINDMC_FOR_TARGET"; then
11582 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11591 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11592 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11600 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11601 if test -n "$WINDMC_FOR_TARGET"; then
11602 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11603 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11605 echo "$as_me:$LINENO: result
: no
" >&5
11606 echo "${ECHO_T}no
" >&6
11610 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11614 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11616 if test $build = $target ; then
11617 WINDMC_FOR_TARGET="$2"
11619 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11622 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11626 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11630 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11632 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11633 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11634 if test "x
${build}" != "x
${host}" ; then
11635 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11636 # We already found the complete path
11637 ac_dir=`dirname $AR_FOR_TARGET`
11638 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11639 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11641 # Canadian cross, just use what we found
11642 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11643 echo "${ECHO_T}pre-installed
" >&6
11647 case " ${configdirs} " in
11652 if test $ok = yes; then
11653 # An in-tree tool is available and we can use it
11654 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11655 echo "$as_me:$LINENO: result
: just compiled
" >&5
11656 echo "${ECHO_T}just compiled
" >&6
11657 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11658 # We already found the complete path
11659 ac_dir=`dirname $AR_FOR_TARGET`
11660 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11661 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11662 elif test "x
$target" = "x
$host"; then
11663 # We can use an host tool
11664 AR_FOR_TARGET='$(AR)'
11665 echo "$as_me:$LINENO: result
: host tool
" >&5
11666 echo "${ECHO_T}host tool
" >&6
11668 # We need a cross tool
11669 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11670 echo "${ECHO_T}pre-installed
" >&6
11674 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11675 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11676 if test "x
${build}" != "x
${host}" ; then
11677 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11678 # We already found the complete path
11679 ac_dir=`dirname $AS_FOR_TARGET`
11680 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11681 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11683 # Canadian cross, just use what we found
11684 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11685 echo "${ECHO_T}pre-installed
" >&6
11689 case " ${configdirs} " in
11694 if test $ok = yes; then
11695 # An in-tree tool is available and we can use it
11696 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11697 echo "$as_me:$LINENO: result
: just compiled
" >&5
11698 echo "${ECHO_T}just compiled
" >&6
11699 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11700 # We already found the complete path
11701 ac_dir=`dirname $AS_FOR_TARGET`
11702 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11703 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11704 elif test "x
$target" = "x
$host"; then
11705 # We can use an host tool
11706 AS_FOR_TARGET='$(AS)'
11707 echo "$as_me:$LINENO: result
: host tool
" >&5
11708 echo "${ECHO_T}host tool
" >&6
11710 # We need a cross tool
11711 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11712 echo "${ECHO_T}pre-installed
" >&6
11716 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11717 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11718 if test "x
${build}" != "x
${host}" ; then
11719 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11720 # We already found the complete path
11721 ac_dir=`dirname $CC_FOR_TARGET`
11722 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11723 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11725 # Canadian cross, just use what we found
11726 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11727 echo "${ECHO_T}pre-installed
" >&6
11731 case " ${configdirs} " in
11736 if test $ok = yes; then
11737 # An in-tree tool is available and we can use it
11738 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11739 echo "$as_me:$LINENO: result
: just compiled
" >&5
11740 echo "${ECHO_T}just compiled
" >&6
11741 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11742 # We already found the complete path
11743 ac_dir=`dirname $CC_FOR_TARGET`
11744 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11745 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11746 elif test "x
$target" = "x
$host"; then
11747 # We can use an host tool
11748 CC_FOR_TARGET='$(CC)'
11749 echo "$as_me:$LINENO: result
: host tool
" >&5
11750 echo "${ECHO_T}host tool
" >&6
11752 # We need a cross tool
11753 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11754 echo "${ECHO_T}pre-installed
" >&6
11758 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
11759 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
11760 if test "x
${build}" != "x
${host}" ; then
11761 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11762 # We already found the complete path
11763 ac_dir=`dirname $CXX_FOR_TARGET`
11764 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11765 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11767 # Canadian cross, just use what we found
11768 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11769 echo "${ECHO_T}pre-installed
" >&6
11773 case " ${configdirs} " in
11777 case ,${enable_languages}, in
11781 if test $ok = yes; then
11782 # An in-tree tool is available and we can use it
11783 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'
11784 echo "$as_me:$LINENO: result
: just compiled
" >&5
11785 echo "${ECHO_T}just compiled
" >&6
11786 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
11787 # We already found the complete path
11788 ac_dir=`dirname $CXX_FOR_TARGET`
11789 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11790 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11791 elif test "x
$target" = "x
$host"; then
11792 # We can use an host tool
11793 CXX_FOR_TARGET='$(CXX)'
11794 echo "$as_me:$LINENO: result
: host tool
" >&5
11795 echo "${ECHO_T}host tool
" >&6
11797 # We need a cross tool
11798 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11799 echo "${ECHO_T}pre-installed
" >&6
11803 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
11804 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
11805 if test "x
${build}" != "x
${host}" ; then
11806 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11807 # We already found the complete path
11808 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11809 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11810 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11812 # Canadian cross, just use what we found
11813 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11814 echo "${ECHO_T}pre-installed
" >&6
11818 case " ${configdirs} " in
11822 case ,${enable_languages}, in
11826 if test $ok = yes; then
11827 # An in-tree tool is available and we can use it
11828 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'
11829 echo "$as_me:$LINENO: result
: just compiled
" >&5
11830 echo "${ECHO_T}just compiled
" >&6
11831 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
11832 # We already found the complete path
11833 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11834 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11835 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11836 elif test "x
$target" = "x
$host"; then
11837 # We can use an host tool
11838 RAW_CXX_FOR_TARGET='$(CXX)'
11839 echo "$as_me:$LINENO: result
: host tool
" >&5
11840 echo "${ECHO_T}host tool
" >&6
11842 # We need a cross tool
11843 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11844 echo "${ECHO_T}pre-installed
" >&6
11848 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
11849 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
11850 if test "x
${build}" != "x
${host}" ; then
11851 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11852 # We already found the complete path
11853 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11854 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11855 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11857 # Canadian cross, just use what we found
11858 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11859 echo "${ECHO_T}pre-installed
" >&6
11863 case " ${configdirs} " in
11868 if test $ok = yes; then
11869 # An in-tree tool is available and we can use it
11870 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11871 echo "$as_me:$LINENO: result
: just compiled
" >&5
11872 echo "${ECHO_T}just compiled
" >&6
11873 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
11874 # We already found the complete path
11875 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11876 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11877 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11878 elif test "x
$target" = "x
$host"; then
11879 # We can use an host tool
11880 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11881 echo "$as_me:$LINENO: result
: host tool
" >&5
11882 echo "${ECHO_T}host tool
" >&6
11884 # We need a cross tool
11885 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11886 echo "${ECHO_T}pre-installed
" >&6
11890 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
11891 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
11892 if test "x
${build}" != "x
${host}" ; then
11893 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11894 # We already found the complete path
11895 ac_dir=`dirname $GCC_FOR_TARGET`
11896 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11897 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11899 # Canadian cross, just use what we found
11900 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11901 echo "${ECHO_T}pre-installed
" >&6
11905 case " ${configdirs} " in
11910 if test $ok = yes; then
11911 # An in-tree tool is available and we can use it
11912 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11913 echo "$as_me:$LINENO: result
: just compiled
" >&5
11914 echo "${ECHO_T}just compiled
" >&6
11915 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
11916 # We already found the complete path
11917 ac_dir=`dirname $GCC_FOR_TARGET`
11918 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11919 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11920 elif test "x
$target" = "x
$host"; then
11921 # We can use an host tool
11922 GCC_FOR_TARGET='$()'
11923 echo "$as_me:$LINENO: result
: host tool
" >&5
11924 echo "${ECHO_T}host tool
" >&6
11926 # We need a cross tool
11927 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11928 echo "${ECHO_T}pre-installed
" >&6
11932 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11933 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11934 if test "x
${build}" != "x
${host}" ; then
11935 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11936 # We already found the complete path
11937 ac_dir=`dirname $GCJ_FOR_TARGET`
11938 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11939 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11941 # Canadian cross, just use what we found
11942 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11943 echo "${ECHO_T}pre-installed
" >&6
11947 case " ${configdirs} " in
11951 case ,${enable_languages}, in
11955 if test $ok = yes; then
11956 # An in-tree tool is available and we can use it
11957 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11958 echo "$as_me:$LINENO: result
: just compiled
" >&5
11959 echo "${ECHO_T}just compiled
" >&6
11960 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11961 # We already found the complete path
11962 ac_dir=`dirname $GCJ_FOR_TARGET`
11963 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11964 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11965 elif test "x
$target" = "x
$host"; then
11966 # We can use an host tool
11967 GCJ_FOR_TARGET='$(GCJ)'
11968 echo "$as_me:$LINENO: result
: host tool
" >&5
11969 echo "${ECHO_T}host tool
" >&6
11971 # We need a cross tool
11972 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11973 echo "${ECHO_T}pre-installed
" >&6
11977 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11978 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11979 if test "x
${build}" != "x
${host}" ; then
11980 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11981 # We already found the complete path
11982 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11983 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11984 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11986 # Canadian cross, just use what we found
11987 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11988 echo "${ECHO_T}pre-installed
" >&6
11992 case " ${configdirs} " in
11996 case ,${enable_languages}, in
12000 if test $ok = yes; then
12001 # An in-tree tool is available and we can use it
12002 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12003 echo "$as_me:$LINENO: result
: just compiled
" >&5
12004 echo "${ECHO_T}just compiled
" >&6
12005 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12006 # We already found the complete path
12007 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12008 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12009 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12010 elif test "x
$target" = "x
$host"; then
12011 # We can use an host tool
12012 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12013 echo "$as_me:$LINENO: result
: host tool
" >&5
12014 echo "${ECHO_T}host tool
" >&6
12016 # We need a cross tool
12017 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12018 echo "${ECHO_T}pre-installed
" >&6
12022 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12023 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12024 if test "x
${build}" != "x
${host}" ; then
12025 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12026 # We already found the complete path
12027 ac_dir=`dirname $LD_FOR_TARGET`
12028 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12029 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12031 # Canadian cross, just use what we found
12032 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12033 echo "${ECHO_T}pre-installed
" >&6
12037 case " ${configdirs} " in
12042 if test $ok = yes; then
12043 # An in-tree tool is available and we can use it
12044 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12045 echo "$as_me:$LINENO: result
: just compiled
" >&5
12046 echo "${ECHO_T}just compiled
" >&6
12047 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12048 # We already found the complete path
12049 ac_dir=`dirname $LD_FOR_TARGET`
12050 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12051 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12052 elif test "x
$target" = "x
$host"; then
12053 # We can use an host tool
12054 LD_FOR_TARGET='$(LD)'
12055 echo "$as_me:$LINENO: result
: host tool
" >&5
12056 echo "${ECHO_T}host tool
" >&6
12058 # We need a cross tool
12059 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12060 echo "${ECHO_T}pre-installed
" >&6
12064 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12065 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12066 if test "x
${build}" != "x
${host}" ; then
12067 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12068 # We already found the complete path
12069 ac_dir=`dirname $LIPO_FOR_TARGET`
12070 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12071 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12073 # Canadian cross, just use what we found
12074 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12075 echo "${ECHO_T}pre-installed
" >&6
12078 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12079 # We already found the complete path
12080 ac_dir=`dirname $LIPO_FOR_TARGET`
12081 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12082 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12083 elif test "x
$target" = "x
$host"; then
12084 # We can use an host tool
12085 LIPO_FOR_TARGET='$(LIPO)'
12086 echo "$as_me:$LINENO: result
: host tool
" >&5
12087 echo "${ECHO_T}host tool
" >&6
12089 # We need a cross tool
12090 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12091 echo "${ECHO_T}pre-installed
" >&6
12095 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12096 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12097 if test "x
${build}" != "x
${host}" ; then
12098 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12099 # We already found the complete path
12100 ac_dir=`dirname $NM_FOR_TARGET`
12101 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12102 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12104 # Canadian cross, just use what we found
12105 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12106 echo "${ECHO_T}pre-installed
" >&6
12110 case " ${configdirs} " in
12115 if test $ok = yes; then
12116 # An in-tree tool is available and we can use it
12117 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12118 echo "$as_me:$LINENO: result
: just compiled
" >&5
12119 echo "${ECHO_T}just compiled
" >&6
12120 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12121 # We already found the complete path
12122 ac_dir=`dirname $NM_FOR_TARGET`
12123 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12124 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12125 elif test "x
$target" = "x
$host"; then
12126 # We can use an host tool
12127 NM_FOR_TARGET='$(NM)'
12128 echo "$as_me:$LINENO: result
: host tool
" >&5
12129 echo "${ECHO_T}host tool
" >&6
12131 # We need a cross tool
12132 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12133 echo "${ECHO_T}pre-installed
" >&6
12137 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12138 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12139 if test "x
${build}" != "x
${host}" ; then
12140 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12141 # We already found the complete path
12142 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12143 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12144 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12146 # Canadian cross, just use what we found
12147 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12148 echo "${ECHO_T}pre-installed
" >&6
12152 case " ${configdirs} " in
12157 if test $ok = yes; then
12158 # An in-tree tool is available and we can use it
12159 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12160 echo "$as_me:$LINENO: result
: just compiled
" >&5
12161 echo "${ECHO_T}just compiled
" >&6
12162 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12163 # We already found the complete path
12164 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12165 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12166 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12167 elif test "x
$target" = "x
$host"; then
12168 # We can use an host tool
12169 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12170 echo "$as_me:$LINENO: result
: host tool
" >&5
12171 echo "${ECHO_T}host tool
" >&6
12173 # We need a cross tool
12174 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12175 echo "${ECHO_T}pre-installed
" >&6
12179 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12180 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12181 if test "x
${build}" != "x
${host}" ; then
12182 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12183 # We already found the complete path
12184 ac_dir=`dirname $RANLIB_FOR_TARGET`
12185 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12186 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12188 # Canadian cross, just use what we found
12189 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12190 echo "${ECHO_T}pre-installed
" >&6
12194 case " ${configdirs} " in
12199 if test $ok = yes; then
12200 # An in-tree tool is available and we can use it
12201 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12202 echo "$as_me:$LINENO: result
: just compiled
" >&5
12203 echo "${ECHO_T}just compiled
" >&6
12204 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12205 # We already found the complete path
12206 ac_dir=`dirname $RANLIB_FOR_TARGET`
12207 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12208 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12209 elif test "x
$target" = "x
$host"; then
12210 # We can use an host tool
12211 RANLIB_FOR_TARGET='$(RANLIB)'
12212 echo "$as_me:$LINENO: result
: host tool
" >&5
12213 echo "${ECHO_T}host tool
" >&6
12215 # We need a cross tool
12216 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12217 echo "${ECHO_T}pre-installed
" >&6
12221 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12222 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12223 if test "x
${build}" != "x
${host}" ; then
12224 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12225 # We already found the complete path
12226 ac_dir=`dirname $STRIP_FOR_TARGET`
12227 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12228 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12230 # Canadian cross, just use what we found
12231 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12232 echo "${ECHO_T}pre-installed
" >&6
12236 case " ${configdirs} " in
12241 if test $ok = yes; then
12242 # An in-tree tool is available and we can use it
12243 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12244 echo "$as_me:$LINENO: result
: just compiled
" >&5
12245 echo "${ECHO_T}just compiled
" >&6
12246 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12247 # We already found the complete path
12248 ac_dir=`dirname $STRIP_FOR_TARGET`
12249 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12250 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12251 elif test "x
$target" = "x
$host"; then
12252 # We can use an host tool
12253 STRIP_FOR_TARGET='$(STRIP)'
12254 echo "$as_me:$LINENO: result
: host tool
" >&5
12255 echo "${ECHO_T}host tool
" >&6
12257 # We need a cross tool
12258 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12259 echo "${ECHO_T}pre-installed
" >&6
12263 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12264 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12265 if test "x
${build}" != "x
${host}" ; then
12266 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12267 # We already found the complete path
12268 ac_dir=`dirname $WINDRES_FOR_TARGET`
12269 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12270 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12272 # Canadian cross, just use what we found
12273 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12274 echo "${ECHO_T}pre-installed
" >&6
12278 case " ${configdirs} " in
12283 if test $ok = yes; then
12284 # An in-tree tool is available and we can use it
12285 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12286 echo "$as_me:$LINENO: result
: just compiled
" >&5
12287 echo "${ECHO_T}just compiled
" >&6
12288 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12289 # We already found the complete path
12290 ac_dir=`dirname $WINDRES_FOR_TARGET`
12291 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12292 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12293 elif test "x
$target" = "x
$host"; then
12294 # We can use an host tool
12295 WINDRES_FOR_TARGET='$(WINDRES)'
12296 echo "$as_me:$LINENO: result
: host tool
" >&5
12297 echo "${ECHO_T}host tool
" >&6
12299 # We need a cross tool
12300 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12301 echo "${ECHO_T}pre-installed
" >&6
12305 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12306 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12307 if test "x
${build}" != "x
${host}" ; then
12308 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12309 # We already found the complete path
12310 ac_dir=`dirname $WINDMC_FOR_TARGET`
12311 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12312 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12314 # Canadian cross, just use what we found
12315 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12316 echo "${ECHO_T}pre-installed
" >&6
12320 case " ${configdirs} " in
12325 if test $ok = yes; then
12326 # An in-tree tool is available and we can use it
12327 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12328 echo "$as_me:$LINENO: result
: just compiled
" >&5
12329 echo "${ECHO_T}just compiled
" >&6
12330 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12331 # We already found the complete path
12332 ac_dir=`dirname $WINDMC_FOR_TARGET`
12333 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12334 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12335 elif test "x
$target" = "x
$host"; then
12336 # We can use an host tool
12337 WINDMC_FOR_TARGET='$(WINDMC)'
12338 echo "$as_me:$LINENO: result
: host tool
" >&5
12339 echo "${ECHO_T}host tool
" >&6
12341 # We need a cross tool
12342 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12343 echo "${ECHO_T}pre-installed
" >&6
12351 # Certain tools may need extra flags.
12352 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12353 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12354 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12356 # When building target libraries, except in a Canadian cross, we use
12357 # the same toolchain as the compiler we just built.
12358 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12359 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12360 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12361 if test $host = $build; then
12362 case " $configdirs " in
12364 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12365 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12366 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12375 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12376 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12377 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12378 if test "${enable_maintainer_mode+set}" = set; then
12379 enableval="$enable_maintainer_mode"
12380 USE_MAINTAINER_MODE=$enableval
12382 USE_MAINTAINER_MODE=no
12384 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12385 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12388 if test "$USE_MAINTAINER_MODE" = yes; then
12389 MAINTAINER_MODE_TRUE=
12390 MAINTAINER_MODE_FALSE='#'
12392 MAINTAINER_MODE_TRUE='#'
12393 MAINTAINER_MODE_FALSE=
12395 MAINT=$MAINTAINER_MODE_TRUE
12397 # ---------------------
12398 # GCC bootstrap support
12399 # ---------------------
12401 # Stage specific cflags for build.
12406 yes) stage1_cflags="-g -Wa,-J" ;;
12407 *) stage1_cflags="-g -J" ;;
12411 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12412 if test "$GCC" = yes; then
12413 saved_CFLAGS="$CFLAGS"
12415 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12416 CFLAGS="$CFLAGS -fkeep-inline-functions"
12417 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12418 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12419 cat >conftest.$ac_ext <<_ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12426 #if (__GNUC__ < 3) \
12427 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12428 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12429 #error http://gcc.gnu.org/PR29382
12440 rm -f conftest.$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>conftest.er1
12444 grep -v '^ *+' conftest.er1 >conftest.err
12446 cat conftest.err >&5
12447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12448 (exit $ac_status); } &&
12449 { ac_try='test -z "$ac_c_werror_flag"
12450 || test ! -s conftest.err'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12455 (exit $ac_status); }; } &&
12456 { ac_try='test -s conftest.$ac_objext'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12461 (exit $ac_status); }; }; then
12462 echo "$as_me:$LINENO: result
: yes" >&5
12463 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12465 echo "$as_me: failed program was
:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12468 echo "$as_me:$LINENO: result
: no
" >&5
12469 echo "${ECHO_T}no
" >&6
12471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12473 CFLAGS="$saved_CFLAGS"
12478 # Enable --enable-checking in stage1 of the compiler.
12479 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12480 if test "${enable_stage1_checking+set}" = set; then
12481 enableval="$enable_stage1_checking"
12482 stage1_checking=--enable-checking=${enable_stage1_checking}
12484 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12485 stage1_checking=--enable-checking=yes,types
12487 stage1_checking=--enable-checking=$enable_checking,types
12492 # Enable -Werror in bootstrap stage2 and later.
12493 # Check whether --enable-werror or --disable-werror was given.
12494 if test "${enable_werror+set}" = set; then
12495 enableval="$enable_werror"
12498 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12504 case ${enable_werror} in
12505 yes) stage2_werror_flag="--enable-werror-always" ;;
12506 *) stage2_werror_flag="" ;;
12510 # Flags needed to enable html installing and building
12512 # Check whether --with-datarootdir or --without-datarootdir was given.
12513 if test "${with_datarootdir+set}" = set; then
12514 withval="$with_datarootdir"
12515 datarootdir="\
${prefix}/${withval}"
12517 datarootdir="\
${prefix}/share
"
12521 # Check whether --with-docdir or --without-docdir was given.
12522 if test "${with_docdir+set}" = set; then
12523 withval="$with_docdir"
12524 docdir="\
${prefix}/${withval}"
12526 docdir="\
${datarootdir}/doc
"
12530 # Check whether --with-pdfdir or --without-pdfdir was given.
12531 if test "${with_pdfdir+set}" = set; then
12532 withval="$with_pdfdir"
12533 pdfdir="\
${prefix}/${withval}"
12535 pdfdir="\
${docdir}"
12539 # Check whether --with-htmldir or --without-htmldir was given.
12540 if test "${with_htmldir+set}" = set; then
12541 withval="$with_htmldir"
12542 htmldir="\
${prefix}/${withval}"
12544 htmldir="\
${docdir}"
12552 ac_config_files="$ac_config_files Makefile
"
12553 cat >confcache <<\_ACEOF
12554 # This file is a shell script that caches the results of configure
12555 # tests run on this system so they can be shared between configure
12556 # scripts and configure runs, see configure's option --config-cache.
12557 # It is not useful on other systems. If it contains results you don't
12558 # want to keep, you may remove or edit it.
12560 # config.status only pays attention to the cache file if you give it
12561 # the --recheck option to rerun configure.
12563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12565 # following values.
12569 # The following way of writing the cache mishandles newlines in values,
12570 # but we know of no workaround that is simple, portable, and efficient.
12571 # So, don't put newlines in cache variables' values.
12572 # Ultrix sh set writes to stderr and can't be redirected directly,
12573 # and sets the high bit in the cache file unless we assign to the vars.
12576 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12578 # `set' does not quote correctly, so add quotes (double-quote
12579 # substitution turns \\\\ into \\, and sed turns \\ into \).
12582 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12585 # `set' quotes correctly as required by POSIX, so do not add quotes.
12587 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12594 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12596 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12598 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12599 if test -w $cache_file; then
12600 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12601 cat confcache >$cache_file
12603 echo "not updating unwritable cache
$cache_file"
12608 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12609 # Let make expand exec_prefix.
12610 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12612 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12613 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12614 # trailing colons and then remove the whole line if VPATH becomes empty
12615 # (actually we leave an empty line to preserve line numbers).
12616 if test "x
$srcdir" = x.; then
12617 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12618 s/:*\$(srcdir):*/:/;
12619 s/:*\${srcdir}:*/:/;
12621 s/^\([^=]*=[ ]*\):*/\1/;
12627 # Transform confdefs.h into DEFS.
12628 # Protect against shell expansion while executing Makefile rules.
12629 # Protect against Makefile macro expansion.
12631 # If the first sed substitution is executed (which looks for macros that
12632 # take arguments), then we branch to the quote section. Otherwise,
12633 # look for a macro that doesn't take arguments.
12634 cat >confdef2opt.sed <<\_ACEOF
12637 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12639 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12643 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12649 # We use echo to avoid assuming a particular line-breaking character.
12650 # The extra dot is to prevent the shell from consuming trailing
12651 # line-breaks from the sub-command output. A line-break within
12652 # single-quotes doesn't work because, if this script is created in a
12653 # platform that uses two characters for line-breaks (e.g., DOS), tr
12655 ac_LF_and_DOT
=`echo; echo .`
12656 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12657 rm -f confdef2opt.
sed
12662 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12663 # 1. Remove the extension, and $U if already installed.
12664 ac_i
=`echo "$ac_i" |
12665 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12667 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12668 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12670 LIBOBJS
=$ac_libobjs
12672 LTLIBOBJS
=$ac_ltlibobjs
12676 : ${CONFIG_STATUS=./config.status}
12677 ac_clean_files_save
=$ac_clean_files
12678 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12679 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12680 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12681 cat >$CONFIG_STATUS <<_ACEOF
12683 # Generated by $as_me.
12684 # Run this file to recreate the current configuration.
12685 # Compiler output produced by configure, useful for debugging
12686 # configure, is in config.log if it exists.
12689 ac_cs_recheck=false
12691 SHELL=\${CONFIG_SHELL-$SHELL}
12694 cat >>$CONFIG_STATUS <<\_ACEOF
12695 ## --------------------- ##
12696 ## M4sh Initialization. ##
12697 ## --------------------- ##
12699 # Be Bourne compatible
12700 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12703 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12704 # is contrary to our usage. Disable this feature.
12705 alias -g '${1+"$@"}'='"$@"'
12706 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12709 DUALCASE
=1; export DUALCASE
# for MKS sh
12711 # Support unset when possible.
12712 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12719 # Work around bugs in pre-3.0 UWIN ksh.
12720 $as_unset ENV MAIL MAILPATH
12727 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12728 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12729 LC_TELEPHONE LC_TIME
12731 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12732 eval $as_var=C
; export $as_var
12738 # Required to use basename.
12739 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12745 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12746 as_basename
=basename
12752 # Name of the executable.
12753 as_me
=`$as_basename "$0" ||
12754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12755 X"$0" : 'X\(//\)$' \| \
12756 X"$0" : 'X\(/\)$' \| \
12757 . : '\(.\)' 2>/dev/null ||
12759 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12760 /^X\/\(\/\/\)$/{ s//\1/; q; }
12761 /^X\/\(\/\).*/{ s//\1/; q; }
12765 # PATH needs CR, and LINENO needs CR and PATH.
12766 # Avoid depending upon Character Ranges.
12767 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12768 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12769 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12770 as_cr_digits
='0123456789'
12771 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12773 # The user is always right.
12774 if test "${PATH_SEPARATOR+set}" != set; then
12775 echo "#! /bin/sh" >conf$$.sh
12776 echo "exit 0" >>conf$$.sh
12778 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12787 as_lineno_1
=$LINENO
12788 as_lineno_2
=$LINENO
12789 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12790 test "x$as_lineno_1" != "x$as_lineno_2" &&
12791 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12792 # Find who we are. Look in the path if we contain no path at all
12795 *[\\/]* ) as_myself
=$0 ;;
12796 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12797 for as_dir
in $PATH
12800 test -z "$as_dir" && as_dir
=.
12801 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12806 # We did not find ourselves, most probably we were run as `sh COMMAND'
12807 # in which case we are not to be found in the path.
12808 if test "x$as_myself" = x
; then
12811 if test ! -f "$as_myself"; then
12812 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12813 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12814 { (exit 1); exit 1; }; }
12816 case $CONFIG_SHELL in
12818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12819 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12822 test -z "$as_dir" && as_dir
=.
12823 for as_base
in sh bash ksh sh5
; do
12826 if ("$as_dir/$as_base" -c '
12827 as_lineno_1=$LINENO
12828 as_lineno_2=$LINENO
12829 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12830 test "x$as_lineno_1" != "x$as_lineno_2" &&
12831 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12832 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12833 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12834 CONFIG_SHELL
=$as_dir/$as_base
12835 export CONFIG_SHELL
12836 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12844 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12845 # uniformly replaced by the line number. The first 'sed' inserts a
12846 # line-number line before each line; the second 'sed' does the real
12847 # work. The second script uses 'N' to pair each line-number line
12848 # with the numbered line, and appends trailing '-' during
12849 # substitution so that $LINENO is not a special case at line end.
12850 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12851 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12852 sed '=' <$as_myself |
12857 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12860 s,^['$as_cr_digits']*\n,,
12861 ' >$as_me.lineno
&&
12862 chmod +x
$as_me.lineno ||
12863 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12864 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12865 { (exit 1); exit 1; }; }
12867 # Don't try to exec as it changes $[0], causing all sort of problems
12868 # (the dirname of $[0] is not the place where we might find the
12869 # original and so on. Autoconf is especially sensible to this).
12871 # Exit status is that of the last command.
12876 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12877 *c
*,-n*) ECHO_N
= ECHO_C
='
12879 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12880 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12883 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12889 rm -f conf$$ conf$$.exe conf$$.
file
12891 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12892 # We could just check for DJGPP; but this test a) works b) is more generic
12893 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12894 if test -f conf$$.exe
; then
12895 # Don't use ln at all; we don't have any links
12900 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12905 rm -f conf$$ conf$$.exe conf$$.
file
12907 if mkdir
-p .
2>/dev
/null
; then
12910 test -d .
/-p && rmdir .
/-p
12914 as_executable_p
="test -f"
12916 # Sed expression to map a string onto a valid CPP name.
12917 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12919 # Sed expression to map a string onto a valid variable name.
12920 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12924 # We need space, tab and new line, in precisely that order.
12934 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12935 # report actual input values of CONFIG_FILES etc. instead of their
12936 # values after options handling. Logging --version etc. is OK.
12940 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12941 ## Running $as_me. ##
12946 This file was extended by $as_me, which was
12947 generated by GNU Autoconf 2.59. Invocation command line was
12949 CONFIG_FILES = $CONFIG_FILES
12950 CONFIG_HEADERS = $CONFIG_HEADERS
12951 CONFIG_LINKS = $CONFIG_LINKS
12952 CONFIG_COMMANDS = $CONFIG_COMMANDS
12956 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12960 # Files that config.status was made for.
12961 if test -n "$ac_config_files"; then
12962 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12965 if test -n "$ac_config_headers"; then
12966 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12969 if test -n "$ac_config_links"; then
12970 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12973 if test -n "$ac_config_commands"; then
12974 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12977 cat >>$CONFIG_STATUS <<\_ACEOF
12980 \`$as_me' instantiates files from templates according to the
12981 current configuration.
12983 Usage: $0 [OPTIONS] [FILE]...
12985 -h, --help print this help, then exit
12986 -V, --version print version number, then exit
12987 -q, --quiet do not print progress messages
12988 -d, --debug don't remove temporary files
12989 --recheck update $as_me by reconfiguring in the same conditions
12990 --file=FILE[:TEMPLATE]
12991 instantiate the configuration file FILE
12993 Configuration files:
12996 Report bugs to <bug-autoconf@gnu.org>."
12999 cat >>$CONFIG_STATUS <<_ACEOF
13002 configured by $0, generated by GNU Autoconf 2.59,
13003 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13005 Copyright (C) 2003 Free Software Foundation, Inc.
13006 This config.status script is free software; the Free Software Foundation
13007 gives unlimited permission to copy, distribute and modify it."
13012 cat >>$CONFIG_STATUS <<\_ACEOF
13013 # If no file are specified by the user, then we need to provide default
13014 # value. By we need to know if files were specified by the user.
13020 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13021 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13029 *) # This is not an option, so the user has probably given explicit
13032 ac_need_defaults
=false
;;
13036 # Handling of the options.
13038 cat >>$CONFIG_STATUS <<\_ACEOF
13039 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13041 --version |
--vers* |
-V )
13042 echo "$ac_cs_version"; exit 0 ;;
13044 # Conflict between --help and --header
13045 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13046 Try \`$0 --help' for more information." >&5
13047 echo "$as_me: error: ambiguous option: $1
13048 Try \`$0 --help' for more information." >&2;}
13049 { (exit 1); exit 1; }; };;
13050 --help |
--hel |
-h )
13051 echo "$ac_cs_usage"; exit 0 ;;
13052 --debug |
--d* |
-d )
13054 --file |
--fil |
--fi |
--f )
13056 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13057 ac_need_defaults
=false
;;
13058 --header |
--heade |
--head |
--hea )
13060 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13061 ac_need_defaults
=false
;;
13062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13063 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13066 # This is an error.
13067 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13068 Try \`$0 --help' for more information." >&5
13069 echo "$as_me: error: unrecognized option: $1
13070 Try \`$0 --help' for more information." >&2;}
13071 { (exit 1); exit 1; }; } ;;
13073 *) ac_config_targets
="$ac_config_targets $1" ;;
13079 ac_configure_extra_args
=
13081 if $ac_cs_silent; then
13083 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13087 cat >>$CONFIG_STATUS <<_ACEOF
13088 if \$ac_cs_recheck; then
13089 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13090 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13099 cat >>$CONFIG_STATUS <<\_ACEOF
13100 for ac_config_target
in $ac_config_targets
13102 case "$ac_config_target" in
13103 # Handling of arguments.
13104 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13105 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13106 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13107 { (exit 1); exit 1; }; };;
13111 # If the user did not use the arguments to specify the items to instantiate,
13112 # then the envvar interface is used. Set only those that are not.
13113 # We use the long form for the default assignment because of an extremely
13114 # bizarre bug on SunOS 4.1.3.
13115 if $ac_need_defaults; then
13116 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13119 # Have a temporary directory for convenience. Make it in the build tree
13120 # simply because there is no reason to put it here, and in addition,
13121 # creating and moving files from /tmp can sometimes cause problems.
13122 # Create a temporary directory, and hook for its removal unless debugging.
13125 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13126 trap '{ (exit 1); exit 1; }' 1 2 13 15
13129 # Create a (secure) tmp directory for tmp files.
13132 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13133 test -n "$tmp" && test -d "$tmp"
13136 tmp
=.
/confstat$$
-$RANDOM
13137 (umask 077 && mkdir
$tmp)
13140 echo "$me: cannot create a temporary directory in ." >&2
13141 { (exit 1); exit 1; }
13146 cat >>$CONFIG_STATUS <<_ACEOF
13149 # CONFIG_FILES section.
13152 # No need to generate the scripts if there are no CONFIG_FILES.
13153 # This happens for instance when ./config.status config.h
13154 if test -n "\$CONFIG_FILES"; then
13155 # Protect against being on the right side of a sed subst in config.status.
13156 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13157 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13158 s,@SHELL@,$SHELL,;t t
13159 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13160 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13161 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13162 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13163 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13164 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13165 s,@exec_prefix@,$exec_prefix,;t t
13166 s,@prefix@,$prefix,;t t
13167 s,@program_transform_name@,$program_transform_name,;t t
13168 s,@bindir@,$bindir,;t t
13169 s,@sbindir@,$sbindir,;t t
13170 s,@libexecdir@,$libexecdir,;t t
13171 s,@datadir@,$datadir,;t t
13172 s,@sysconfdir@,$sysconfdir,;t t
13173 s,@sharedstatedir@,$sharedstatedir,;t t
13174 s,@localstatedir@,$localstatedir,;t t
13175 s,@libdir@,$libdir,;t t
13176 s,@includedir@,$includedir,;t t
13177 s,@oldincludedir@,$oldincludedir,;t t
13178 s,@infodir@,$infodir,;t t
13179 s,@mandir@,$mandir,;t t
13180 s,@build_alias@,$build_alias,;t t
13181 s,@host_alias@,$host_alias,;t t
13182 s,@target_alias@,$target_alias,;t t
13183 s,@DEFS@,$DEFS,;t t
13184 s,@ECHO_C@,$ECHO_C,;t t
13185 s,@ECHO_N@,$ECHO_N,;t t
13186 s,@ECHO_T@,$ECHO_T,;t t
13187 s,@LIBS@,$LIBS,;t t
13188 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13189 s,@build@,$build,;t t
13190 s,@build_cpu@,$build_cpu,;t t
13191 s,@build_vendor@,$build_vendor,;t t
13192 s,@build_os@,$build_os,;t t
13193 s,@build_noncanonical@,$build_noncanonical,;t t
13194 s,@host_noncanonical@,$host_noncanonical,;t t
13195 s,@target_noncanonical@,$target_noncanonical,;t t
13196 s,@host@,$host,;t t
13197 s,@host_cpu@,$host_cpu,;t t
13198 s,@host_vendor@,$host_vendor,;t t
13199 s,@host_os@,$host_os,;t t
13200 s,@target@,$target,;t t
13201 s,@target_cpu@,$target_cpu,;t t
13202 s,@target_vendor@,$target_vendor,;t t
13203 s,@target_os@,$target_os,;t t
13204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13208 s,@LN_S@,$LN_S,;t t
13209 s,@build_libsubdir@,$build_libsubdir,;t t
13210 s,@build_subdir@,$build_subdir,;t t
13211 s,@host_subdir@,$host_subdir,;t t
13212 s,@target_subdir@,$target_subdir,;t t
13214 s,@CFLAGS@,$CFLAGS,;t t
13215 s,@LDFLAGS@,$LDFLAGS,;t t
13216 s,@CPPFLAGS@,$CPPFLAGS,;t t
13217 s,@ac_ct_CC@,$ac_ct_CC,;t t
13218 s,@EXEEXT@,$EXEEXT,;t t
13219 s,@OBJEXT@,$OBJEXT,;t t
13221 s,@CXXFLAGS@,$CXXFLAGS,;t t
13222 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13223 s,@GNATBIND@,$GNATBIND,;t t
13224 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13225 s,@GNATMAKE@,$GNATMAKE,;t t
13226 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13227 s,@do_compare@,$do_compare,;t t
13228 s,@gmplibs@,$gmplibs,;t t
13229 s,@gmpinc@,$gmpinc,;t t
13230 s,@ppllibs@,$ppllibs,;t t
13231 s,@pplinc@,$pplinc,;t t
13232 s,@clooglibs@,$clooglibs,;t t
13233 s,@clooginc@,$clooginc,;t t
13234 s,@stage1_languages@,$stage1_languages,;t t
13235 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13236 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13237 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13238 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13239 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13240 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13241 s,@tooldir@,$tooldir,;t t
13242 s,@build_tooldir@,$build_tooldir,;t t
13243 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13244 s,@GDB_TK@,$GDB_TK,;t t
13245 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13246 s,@build_configargs@,$build_configargs,;t t
13247 s,@build_configdirs@,$build_configdirs,;t t
13248 s,@host_configargs@,$host_configargs,;t t
13249 s,@configdirs@,$configdirs,;t t
13250 s,@target_configargs@,$target_configargs,;t t
13251 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13252 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13253 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13254 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13255 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13256 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13257 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13258 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13259 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13260 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13261 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13262 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13263 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13264 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13265 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13266 s,@config_shell@,$config_shell,;t t
13267 s,@YACC@,$YACC,;t t
13268 s,@BISON@,$BISON,;t t
13271 s,@FLEX@,$FLEX,;t t
13272 s,@MAKEINFO@,$MAKEINFO,;t t
13273 s,@EXPECT@,$EXPECT,;t t
13274 s,@RUNTEST@,$RUNTEST,;t t
13277 s,@DLLTOOL@,$DLLTOOL,;t t
13279 s,@LIPO@,$LIPO,;t t
13281 s,@RANLIB@,$RANLIB,;t t
13282 s,@STRIP@,$STRIP,;t t
13283 s,@WINDRES@,$WINDRES,;t t
13284 s,@WINDMC@,$WINDMC,;t t
13285 s,@OBJCOPY@,$OBJCOPY,;t t
13286 s,@OBJDUMP@,$OBJDUMP,;t t
13287 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13288 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13289 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13290 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13291 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13292 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13293 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13294 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13295 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13296 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13297 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13298 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13299 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13300 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13301 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13302 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13303 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13304 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13305 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13306 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13307 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13308 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13309 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13310 s,@MAINT@,$MAINT,;t t
13311 s,@stage1_cflags@,$stage1_cflags,;t t
13312 s,@stage1_checking@,$stage1_checking,;t t
13313 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13314 s,@datarootdir@,$datarootdir,;t t
13315 s,@docdir@,$docdir,;t t
13316 s,@pdfdir@,$pdfdir,;t t
13317 s,@htmldir@,$htmldir,;t t
13318 s,@LIBOBJS@,$LIBOBJS,;t t
13319 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13320 /@serialization_dependencies@/r $serialization_dependencies
13321 s,@serialization_dependencies@,,;t t
13322 /@host_makefile_frag@/r $host_makefile_frag
13323 s,@host_makefile_frag@,,;t t
13324 /@target_makefile_frag@/r $target_makefile_frag
13325 s,@target_makefile_frag@,,;t t
13326 /@alphaieee_frag@/r $alphaieee_frag
13327 s,@alphaieee_frag@,,;t t
13328 /@ospace_frag@/r $ospace_frag
13329 s,@ospace_frag@,,;t t
13334 cat >>$CONFIG_STATUS <<\_ACEOF
13335 # Split the substitutions into bite-sized pieces for seds with
13336 # small command number limits, like on Digital OSF/1 and HP-UX.
13337 ac_max_sed_lines
=48
13338 ac_sed_frag
=1 # Number of current file.
13339 ac_beg
=1 # First line for current file.
13340 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13343 while $ac_more_lines; do
13344 if test $ac_beg -gt 1; then
13345 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13347 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13349 if test ! -s $tmp/subs.frag
; then
13350 ac_more_lines
=false
13352 # The purpose of the label and of the branching condition is to
13353 # speed up the sed processing (if there are no `@' at all, there
13354 # is no need to browse any of the substitutions).
13355 # These are the two extra sed commands mentioned above.
13357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13358 if test -z "$ac_sed_cmds"; then
13359 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13361 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13363 ac_sed_frag
=`expr $ac_sed_frag + 1`
13365 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13368 if test -z "$ac_sed_cmds"; then
13371 fi # test -n "$CONFIG_FILES"
13374 cat >>$CONFIG_STATUS <<\_ACEOF
13375 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13376 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13378 - |
*:- |
*:-:* ) # input from stdin
13380 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13381 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13382 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13383 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13384 * ) ac_file_in
=$ac_file.
in ;;
13387 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13388 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13390 X"$ac_file" : 'X\(//\)[^/]' \| \
13391 X"$ac_file" : 'X\(//\)$' \| \
13392 X"$ac_file" : 'X\(/\)' \| \
13393 . : '\(.\)' 2>/dev/null ||
13395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13396 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13397 /^X\(\/\/\)$/{ s//\1/; q; }
13398 /^X\(\/\).*/{ s//\1/; q; }
13400 { if $as_mkdir_p; then
13405 while test ! -d "$as_dir"; do
13406 as_dirs
="$as_dir $as_dirs"
13407 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13409 X"$as_dir" : 'X\(//\)[^/]' \| \
13410 X"$as_dir" : 'X\(//\)$' \| \
13411 X"$as_dir" : 'X\(/\)' \| \
13412 . : '\(.\)' 2>/dev/null ||
13414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13416 /^X\(\/\/\)$/{ s//\1/; q; }
13417 /^X\(\/\).*/{ s//\1/; q; }
13420 test ! -n "$as_dirs" || mkdir
$as_dirs
13421 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13422 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13423 { (exit 1); exit 1; }; }; }
13427 if test "$ac_dir" != .
; then
13428 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13429 # A "../" for each directory in $ac_dir_suffix.
13430 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13432 ac_dir_suffix
= ac_top_builddir
=
13436 .
) # No --srcdir option. We are building in place.
13438 if test -z "$ac_top_builddir"; then
13441 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13443 [\\/]* | ?
:[\\/]* ) # Absolute path.
13444 ac_srcdir
=$srcdir$ac_dir_suffix;
13445 ac_top_srcdir
=$srcdir ;;
13446 *) # Relative path.
13447 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13448 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13451 # Do not use `cd foo && pwd` to compute absolute paths, because
13452 # the directories may not exist.
13454 .
) ac_abs_builddir
="$ac_dir";;
13457 .
) ac_abs_builddir
=`pwd`;;
13458 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13459 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13462 case $ac_abs_builddir in
13463 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13465 case ${ac_top_builddir}.
in
13466 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13467 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13468 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13471 case $ac_abs_builddir in
13472 .
) ac_abs_srcdir
=$ac_srcdir;;
13475 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13476 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13477 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13480 case $ac_abs_builddir in
13481 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13483 case $ac_top_srcdir in
13484 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13485 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13486 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13492 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13493 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13496 if test x
"$ac_file" != x-
; then
13497 { echo "$as_me:$LINENO: creating $ac_file" >&5
13498 echo "$as_me: creating $ac_file" >&6;}
13501 # Let's still pretend it is `configure' which instantiates (i.e., don't
13502 # use $as_me), people would be surprised to read:
13503 # /* config.h. Generated by config.status. */
13504 if test x
"$ac_file" = x-
; then
13507 configure_input
="$ac_file. "
13509 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13510 sed 's,.*/,,'` by configure."
13512 # First look for the input files in the build tree, otherwise in the
13514 ac_file_inputs
=`IFS=:
13515 for f in $ac_file_in; do
13517 -) echo $tmp/stdin ;;
13519 # Absolute (can't be DOS-style, as IFS=:)
13520 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13521 echo "$as_me: error: cannot find input file: $f" >&2;}
13522 { (exit 1); exit 1; }; }
13525 if test -f "$f"; then
13528 elif test -f "$srcdir/$f"; then
13533 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13534 echo "$as_me: error: cannot find input file: $f" >&2;}
13535 { (exit 1); exit 1; }; }
13538 done` ||
{ (exit 1); exit 1; }
13540 cat >>$CONFIG_STATUS <<_ACEOF
13544 cat >>$CONFIG_STATUS <<\_ACEOF
13546 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13547 s
,@configure_input@
,$configure_input,;t t
13548 s
,@srcdir@
,$ac_srcdir,;t t
13549 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13550 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13551 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13552 s
,@builddir@
,$ac_builddir,;t t
13553 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13554 s
,@top_builddir@
,$ac_top_builddir,;t t
13555 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13556 s
,@INSTALL@
,$ac_INSTALL,;t t
13557 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13559 if test x"$ac_file" != x-; then
13560 mv $tmp/out $ac_file
13569 cat >>$CONFIG_STATUS <<\_ACEOF
13571 { (exit 0); exit 0; }
13573 chmod +x $CONFIG_STATUS
13574 ac_clean_files=$ac_clean_files_save
13577 # configure is writing to config.log, and then calls config.status.
13578 # config.status does its own redirection, appending to config.log.
13579 # Unfortunately, on DOS this fails, as config.log is still kept open
13580 # by configure, so config.status won't be able to write to it; its
13581 # output is simply discarded. So we exec the FD to /dev/null,
13582 # effectively closing config.log, so it can be properly (re)opened and
13583 # appended to by config.status. When coming back to configure, we
13584 # need to make the FD available again.
13585 if test "$no_create" != yes; then
13587 ac_config_status_args=
13588 test "$silent" = yes &&
13589 ac_config_status_args="$ac_config_status_args --quiet"
13591 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13593 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13594 # would make configure fail if this is the last instruction.
13595 $ac_cs_success || { (exit 1); exit 1; }