2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="move-if-change"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc extra_mpfr_configure_flags extra_mpc_gmp_configure_flags extra_mpc_mpfr_configure_flags ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
719 ac_env_CC_set
=${CC+set}
721 ac_cv_env_CC_set
=${CC+set}
722 ac_cv_env_CC_value
=$CC
723 ac_env_CFLAGS_set
=${CFLAGS+set}
724 ac_env_CFLAGS_value
=$CFLAGS
725 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value
=$CFLAGS
727 ac_env_LDFLAGS_set
=${LDFLAGS+set}
728 ac_env_LDFLAGS_value
=$LDFLAGS
729 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value
=$LDFLAGS
731 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value
=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
735 ac_env_CXX_set
=${CXX+set}
736 ac_env_CXX_value
=$CXX
737 ac_cv_env_CXX_set
=${CXX+set}
738 ac_cv_env_CXX_value
=$CXX
739 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
740 ac_env_CXXFLAGS_value
=$CXXFLAGS
741 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
742 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
743 ac_env_AR_set
=${AR+set}
745 ac_cv_env_AR_set
=${AR+set}
746 ac_cv_env_AR_value
=$AR
747 ac_env_AS_set
=${AS+set}
749 ac_cv_env_AS_set
=${AS+set}
750 ac_cv_env_AS_value
=$AS
751 ac_env_DLLTOOL_set
=${DLLTOOL+set}
752 ac_env_DLLTOOL_value
=$DLLTOOL
753 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
754 ac_cv_env_DLLTOOL_value
=$DLLTOOL
755 ac_env_LD_set
=${LD+set}
757 ac_cv_env_LD_set
=${LD+set}
758 ac_cv_env_LD_value
=$LD
759 ac_env_LIPO_set
=${LIPO+set}
760 ac_env_LIPO_value
=$LIPO
761 ac_cv_env_LIPO_set
=${LIPO+set}
762 ac_cv_env_LIPO_value
=$LIPO
763 ac_env_NM_set
=${NM+set}
765 ac_cv_env_NM_set
=${NM+set}
766 ac_cv_env_NM_value
=$NM
767 ac_env_RANLIB_set
=${RANLIB+set}
768 ac_env_RANLIB_value
=$RANLIB
769 ac_cv_env_RANLIB_set
=${RANLIB+set}
770 ac_cv_env_RANLIB_value
=$RANLIB
771 ac_env_STRIP_set
=${STRIP+set}
772 ac_env_STRIP_value
=$STRIP
773 ac_cv_env_STRIP_set
=${STRIP+set}
774 ac_cv_env_STRIP_value
=$STRIP
775 ac_env_WINDRES_set
=${WINDRES+set}
776 ac_env_WINDRES_value
=$WINDRES
777 ac_cv_env_WINDRES_set
=${WINDRES+set}
778 ac_cv_env_WINDRES_value
=$WINDRES
779 ac_env_WINDMC_set
=${WINDMC+set}
780 ac_env_WINDMC_value
=$WINDMC
781 ac_cv_env_WINDMC_set
=${WINDMC+set}
782 ac_cv_env_WINDMC_value
=$WINDMC
783 ac_env_OBJCOPY_set
=${OBJCOPY+set}
784 ac_env_OBJCOPY_value
=$OBJCOPY
785 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
786 ac_cv_env_OBJCOPY_value
=$OBJCOPY
787 ac_env_OBJDUMP_set
=${OBJDUMP+set}
788 ac_env_OBJDUMP_value
=$OBJDUMP
789 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
790 ac_cv_env_OBJDUMP_value
=$OBJDUMP
791 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
792 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
793 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
794 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
795 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
796 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
797 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
798 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
799 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
800 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
801 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
802 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
803 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
804 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
805 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
806 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
807 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
808 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
809 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
810 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
811 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
812 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
813 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
814 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
815 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
816 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
817 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
818 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
819 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
820 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
821 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
822 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
823 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
824 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
825 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
826 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
827 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
828 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
829 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
830 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
831 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
832 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
833 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
834 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
835 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
836 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
837 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
838 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
839 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
840 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
841 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
842 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
843 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
844 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
845 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
846 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
847 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
848 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
849 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
850 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
851 ac_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
852 ac_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
853 ac_cv_env_WINDMC_FOR_TARGET_set
=${WINDMC_FOR_TARGET+set}
854 ac_cv_env_WINDMC_FOR_TARGET_value
=$WINDMC_FOR_TARGET
857 # Report the --help message.
859 if test "$ac_init_help" = "long"; then
860 # Omit some internal or obsolete options to make the list less imposing.
861 # This message is too long to be a string in the A/UX 3.1 sh.
863 \`configure' configures this package to adapt to many kinds of systems.
865 Usage: $0 [OPTION]... [VAR=VALUE]...
867 To assign environment variables (e.g., CC, CFLAGS...), specify them as
868 VAR=VALUE. See below for descriptions of some of the useful variables.
870 Defaults for the options are specified in brackets.
873 -h, --help display this help and exit
874 --help=short display options specific to this package
875 --help=recursive display the short help of all the included packages
876 -V, --version display version information and exit
877 -q, --quiet, --silent do not print \`checking...' messages
878 --cache-file=FILE cache test results in FILE [disabled]
879 -C, --config-cache alias for \`--cache-file=config.cache'
880 -n, --no-create do not create output files
881 --srcdir=DIR find the sources in DIR [configure dir or \`..']
886 Installation directories:
887 --prefix=PREFIX install architecture-independent files in PREFIX
889 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 By default, \`make install' will install all the files in
893 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
894 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
895 for instance \`--prefix=\$HOME'.
897 For better control, use the options below.
899 Fine tuning of the installation directories:
900 --bindir=DIR user executables [EPREFIX/bin]
901 --sbindir=DIR system admin executables [EPREFIX/sbin]
902 --libexecdir=DIR program executables [EPREFIX/libexec]
903 --datadir=DIR read-only architecture-independent data [PREFIX/share]
904 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
905 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
906 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
907 --libdir=DIR object code libraries [EPREFIX/lib]
908 --includedir=DIR C header files [PREFIX/include]
909 --oldincludedir=DIR C header files for non-gcc [/usr/include]
910 --infodir=DIR info documentation [PREFIX/info]
911 --mandir=DIR man documentation [PREFIX/man]
917 --program-prefix=PREFIX prepend PREFIX to installed program names
918 --program-suffix=SUFFIX append SUFFIX to installed program names
919 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
922 --build=BUILD configure
for building on BUILD
[guessed
]
923 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
924 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
928 if test -n "$ac_init_help"; then
933 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
934 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
935 --enable-gold use gold instead of ld
936 --enable-libada build libada directory
937 --enable-libssp build libssp directory
938 --disable-ppl-version-check disable check
for PPL version
939 --disable-cloog-version-check disable check
for CLooG version
940 --enable-stage1-languages[=all
] choose additional languages to build during
941 stage1. Mostly useful
for compiler development.
942 --enable-objc-gc enable use of Boehm
's garbage collector with the
943 GNU Objective-C runtime
944 --enable-bootstrap enable bootstrapping [yes if native build]
945 --enable-serial-[{host,target,build}-]configure
946 force sequential configuration of
947 sub-packages for the host, target or build
948 machine, or all sub-packages
949 --enable-maintainer-mode enable make rules and dependencies not useful
950 (and sometimes confusing) to the casual installer
951 --enable-stage1-checking[=all] choose additional checking for stage1
953 --enable-werror enable -Werror in bootstrap stage2 and later
956 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
957 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
958 --with-build-libsubdir=DIR Directory where to find libraries for build system
959 --with-mpc=PATH specify prefix directory for installed MPC package.
960 Equivalent to --with-mpc-include=PATH/include
961 plus --with-mpc-lib=PATH/lib
962 --with-mpc-include=PATH
963 specify directory for installed MPC include files
964 --with-mpc-lib=PATH specify directory for the installed MPC library
965 --with-mpfr-dir=PATH this option has been REMOVED
966 --with-mpfr=PATH specify prefix directory for installed MPFR package.
967 Equivalent to --with-mpfr-include=PATH/include
968 plus --with-mpfr-lib=PATH/lib
969 --with-mpfr-include=PATH
970 specify directory for installed MPFR include files
971 --with-mpfr-lib=PATH specify directory for the installed MPFR library
972 --with-gmp-dir=PATH this option has been REMOVED
973 --with-gmp=PATH specify prefix directory for the installed GMP package.
974 Equivalent to --with-gmp-include=PATH/include
975 plus --with-gmp-lib=PATH/lib
976 --with-gmp-include=PATH specify directory for installed GMP include files
977 --with-gmp-lib=PATH specify directory for the installed GMP library
978 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
979 when linking with PPL
980 --with-ppl=PATH Specify prefix directory for the installed PPL package
981 Equivalent to --with-ppl-include=PATH/include
982 plus --with-ppl-lib=PATH/lib
983 --with-ppl-include=PATH Specify directory for installed PPL include files
984 --with-ppl-lib=PATH Specify the directory for the installed PPL library
985 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
986 Equivalent to --with-cloog-include=PATH/include
987 plus --with-cloog-lib=PATH/lib
988 --with-cloog-include=PATH Specify directory for installed CLooG include files
989 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
990 --with-build-sysroot=SYSROOT
991 use sysroot as the system root during the build
992 --with-debug-prefix-map='A
=B C
=D ...
'
993 map A to B, C to D ... in debug information
994 --with-build-time-tools=PATH
995 use given path to find target tools during the build
996 --with-datarootdir use datarootdir as the data root directory.
997 --with-docdir install documentation in this directory.
998 --with-pdfdir install pdf in this directory.
999 --with-htmldir install html in this directory.
1001 Some influential environment variables:
1002 CC C compiler command
1003 CFLAGS C compiler flags
1004 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1005 nonstandard directory <lib dir>
1006 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1007 headers in a nonstandard directory <include dir>
1008 CXX C++ compiler command
1009 CXXFLAGS C++ compiler flags
1012 DLLTOOL DLLTOOL for the host
1014 LIPO LIPO for the host
1016 RANLIB RANLIB for the host
1017 STRIP STRIP for the host
1018 WINDRES WINDRES for the host
1019 WINDMC WINDMC for the host
1020 OBJCOPY OBJCOPY for the host
1021 OBJDUMP OBJDUMP for the host
1031 GFORTRAN for the target
1037 DLLTOOL for the target
1045 OBJDUMP for the target
1047 RANLIB for the target
1049 STRIP for the target
1051 WINDRES for the target
1053 WINDMC for the target
1055 Use these variables to override the choices made by `configure' or to
help
1056 it to
find libraries and programs with nonstandard names
/locations.
1061 if test "$ac_init_help" = "recursive"; then
1062 # If there are subdirs, report their specific --help.
1064 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1065 test -d $ac_dir ||
continue
1068 if test "$ac_dir" != .
; then
1069 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1070 # A "../" for each directory in $ac_dir_suffix.
1071 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1073 ac_dir_suffix
= ac_top_builddir
=
1077 .
) # No --srcdir option. We are building in place.
1079 if test -z "$ac_top_builddir"; then
1082 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1084 [\\/]* | ?
:[\\/]* ) # Absolute path.
1085 ac_srcdir
=$srcdir$ac_dir_suffix;
1086 ac_top_srcdir
=$srcdir ;;
1088 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1089 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1092 # Do not use `cd foo && pwd` to compute absolute paths, because
1093 # the directories may not exist.
1095 .
) ac_abs_builddir
="$ac_dir";;
1098 .
) ac_abs_builddir
=`pwd`;;
1099 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1100 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1103 case $ac_abs_builddir in
1104 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1106 case ${ac_top_builddir}.
in
1107 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1108 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1109 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1112 case $ac_abs_builddir in
1113 .
) ac_abs_srcdir
=$ac_srcdir;;
1116 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1117 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1118 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1121 case $ac_abs_builddir in
1122 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1124 case $ac_top_srcdir in
1125 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1126 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1127 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1132 # Check for guested configure; otherwise get Cygnus style configure.
1133 if test -f $ac_srcdir/configure.gnu
; then
1135 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1136 elif test -f $ac_srcdir/configure
; then
1138 $SHELL $ac_srcdir/configure
--help=recursive
1139 elif test -f $ac_srcdir/configure.ac ||
1140 test -f $ac_srcdir/configure.
in; then
1142 $ac_configure --help
1144 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1150 test -n "$ac_init_help" && exit 0
1151 if $ac_init_version; then
1154 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1155 This configure
script is free software
; the Free Software Foundation
1156 gives unlimited permission to copy
, distribute and modify it.
1162 This file contains any messages produced by compilers while
1163 running configure, to aid debugging if configure makes a mistake.
1165 It was created by $as_me, which was
1166 generated by GNU Autoconf 2.59. Invocation command line was
1177 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1178 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1179 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1180 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1181 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1183 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1184 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1186 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1187 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1188 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1189 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1190 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1191 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1192 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1200 test -z "$as_dir" && as_dir
=.
1201 echo "PATH: $as_dir"
1216 # Keep a trace of the command line.
1217 # Strip out --no-create and --no-recursion so they do not pile up.
1218 # Strip out --silent because we don't want to record it for future runs.
1219 # Also quote any args containing shell meta-characters.
1220 # Make two passes to allow for proper duplicate-argument suppression.
1225 ac_must_keep_next
=false
1231 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1232 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1233 |
-silent |
--silent |
--silen |
--sile |
--sil)
1235 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1241 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1242 if test $ac_must_keep_next = true
; then
1243 ac_must_keep_next
=false
# Got value, back to normal.
1246 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1247 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1248 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1249 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1250 case "$ac_configure_args0 " in
1251 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1254 -* ) ac_must_keep_next
=true
;;
1257 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1258 # Get rid of the leading space.
1264 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1265 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1267 # When interrupted or exit'd, cleanup temporary files, and complete
1268 # config.log. We remove comments because anyway the quotes in there
1269 # would cause problems or look ugly.
1270 # WARNING: Be sure not to use single quotes in there, as some shells,
1271 # such as our DU 5.0 friend, will then `close' the trap.
1272 trap 'exit_status=$?
1273 # Save into config.log some information that might help in debugging.
1278 ## ---------------- ##
1279 ## Cache variables. ##
1280 ## ---------------- ##
1283 # The following way of writing the cache mishandles newlines in values,
1286 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1289 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1290 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1294 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1301 ## ----------------- ##
1302 ## Output variables. ##
1303 ## ----------------- ##
1306 for ac_var in $ac_subst_vars
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -n "$ac_subst_files"; then
1320 for ac_var in $ac_subst_files
1322 eval ac_val=$`echo $ac_var`
1323 echo "$ac_var='"'"'$ac_val'"'"'"
1328 if test -s confdefs.h; then
1335 sed "/^$/d" confdefs.h | sort
1338 test "$ac_signal" != 0 &&
1339 echo "$as_me: caught signal $ac_signal"
1340 echo "$as_me: exit $exit_status"
1342 rm -f core *.core &&
1343 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1346 for ac_signal
in 1 2 13 15; do
1347 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1351 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1352 rm -rf conftest
* confdefs.h
1353 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1356 # Predefined preprocessor variables.
1358 cat >>confdefs.h
<<_ACEOF
1359 #define PACKAGE_NAME "$PACKAGE_NAME"
1363 cat >>confdefs.h
<<_ACEOF
1364 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1368 cat >>confdefs.h
<<_ACEOF
1369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1373 cat >>confdefs.h
<<_ACEOF
1374 #define PACKAGE_STRING "$PACKAGE_STRING"
1378 cat >>confdefs.h
<<_ACEOF
1379 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1383 # Let the site file select an alternate cache file if it wants to.
1384 # Prefer explicitly selected file to automatically selected ones.
1385 if test -z "$CONFIG_SITE"; then
1386 if test "x$prefix" != xNONE
; then
1387 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1389 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1392 for ac_site_file
in $CONFIG_SITE; do
1393 if test -r "$ac_site_file"; then
1394 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1395 echo "$as_me: loading site script $ac_site_file" >&6;}
1396 sed 's/^/| /' "$ac_site_file" >&5
1401 if test -r "$cache_file"; then
1402 # Some versions of bash will fail to source /dev/null (special
1403 # files actually), so we avoid doing that.
1404 if test -f "$cache_file"; then
1405 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1406 echo "$as_me: loading cache $cache_file" >&6;}
1408 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1409 *) . .
/$cache_file;;
1413 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1414 echo "$as_me: creating cache $cache_file" >&6;}
1418 # Check that the precious variables saved in the cache have kept the same
1420 ac_cache_corrupted
=false
1421 for ac_var
in `(set) 2>&1 |
1422 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1423 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1424 eval ac_new_set
=\
$ac_env_${ac_var}_set
1425 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1426 eval ac_new_val
="\$ac_env_${ac_var}_value"
1427 case $ac_old_set,$ac_new_set in
1429 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1430 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1431 ac_cache_corrupted
=: ;;
1433 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1434 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1435 ac_cache_corrupted
=: ;;
1438 if test "x$ac_old_val" != "x$ac_new_val"; then
1439 # differences in whitespace do not lead to failure.
1440 ac_old_val_w
=`echo x $ac_old_val`
1441 ac_new_val_w
=`echo x $ac_new_val`
1442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1443 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1444 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1445 ac_cache_corrupted
=:
1447 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1448 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1449 eval $ac_var=\
$ac_old_val
1451 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1452 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1453 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1454 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1457 # Pass precious variables to config.status.
1458 if test "$ac_new_set" = set; then
1460 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1461 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1462 *) ac_arg
=$ac_var=$ac_new_val ;;
1464 case " $ac_configure_args " in
1465 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1466 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1470 if $ac_cache_corrupted; then
1471 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1473 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1474 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1475 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1476 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1477 { (exit 1); exit 1; }; }
1481 ac_cpp
='$CPP $CPPFLAGS'
1482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1510 # if PWD already has a value, it is probably wrong.
1511 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1513 # Export original configure arguments for use by sub-configures.
1514 # Quote arguments with shell meta charatcers.
1515 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1516 set -- "$progname" "$@"
1520 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1521 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1522 # if the argument is of the form -foo=baz, quote the baz part only
1523 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1526 # Add the quoted argument to the list.
1527 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1529 if test "$silent" = yes; then
1530 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1532 # Remove the initial space we just introduced and, as these will be
1533 # expanded by make, quote '$'.
1534 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1537 # Find the build, host, and target systems.
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh
; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 case ${build_alias} in
1596 "") build_noncanonical
=${build} ;;
1597 *) build_noncanonical
=${build_alias} ;;
1602 case ${host_alias} in
1603 "") host_noncanonical
=${build_noncanonical} ;;
1604 *) host_noncanonical
=${host_alias} ;;
1609 case ${target_alias} in
1610 "") target_noncanonical
=${host_noncanonical} ;;
1611 *) target_noncanonical
=${target_alias} ;;
1617 test "$host_noncanonical" = "$target_noncanonical" &&
1618 test "$program_prefix$program_suffix$program_transform_name" = \
1620 program_transform_name
=s
,y
,y
,
1622 echo "$as_me:$LINENO: checking host system type" >&5
1623 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1624 if test "${ac_cv_host+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 ac_cv_host_alias
=$host_alias
1628 test -z "$ac_cv_host_alias" &&
1629 ac_cv_host_alias
=$ac_cv_build_alias
1630 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1631 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1632 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1633 { (exit 1); exit 1; }; }
1636 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1637 echo "${ECHO_T}$ac_cv_host" >&6
1639 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1640 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1641 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1644 echo "$as_me:$LINENO: checking target system type" >&5
1645 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1646 if test "${ac_cv_target+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 ac_cv_target_alias
=$target_alias
1650 test "x$ac_cv_target_alias" = "x" &&
1651 ac_cv_target_alias
=$ac_cv_host_alias
1652 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1653 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1654 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1655 { (exit 1); exit 1; }; }
1658 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1659 echo "${ECHO_T}$ac_cv_target" >&6
1660 target
=$ac_cv_target
1661 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1662 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1663 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1666 # The aliases save the names the user supplied, while $host etc.
1667 # will get canonicalized.
1668 test -n "$target_alias" &&
1669 test "$program_prefix$program_suffix$program_transform_name" = \
1671 program_prefix
=${target_alias}-
1672 test "$program_prefix" != NONE
&&
1673 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1674 # Use a double $ so make ignores it.
1675 test "$program_suffix" != NONE
&&
1676 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1677 # Double any \ or $. echo might interpret backslashes.
1678 # By default was `s,x,x', remove it if useless.
1679 cat <<\_ACEOF
>conftest.
sed
1680 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1682 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1687 # Get 'install' or 'install-sh' and its variants.
1688 # Find a good install program. We prefer a C program (faster),
1689 # so one script is as good as another. But avoid the broken or
1690 # incompatible versions:
1691 # SysV /etc/install, /usr/sbin/install
1692 # SunOS /usr/etc/install
1693 # IRIX /sbin/install
1695 # AmigaOS /C/install, which installs bootblocks on floppy discs
1696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1699 # OS/2's system install, which has a completely different semantic
1700 # ./install, which can be erroneously created by make from ./install.sh.
1701 # Reject install programs that cannot install multiple files.
1702 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1703 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1704 if test -z "$INSTALL"; then
1705 if test "${ac_cv_path_install+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir
=.
1713 # Account for people who put trailing slashes in PATH elements.
1715 .
/ | .
// |
/cC
/* | \
1716 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1717 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1720 # OSF1 and SCO ODT 3.0 have their own names for install.
1721 # Don't use installbsd from OSF since it installs stuff as root
1723 for ac_prog
in ginstall scoinst
install; do
1724 for ac_exec_ext
in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1726 if test $ac_prog = install &&
1727 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1728 # AIX install. It has an incompatible calling convention.
1730 elif test $ac_prog = install &&
1731 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1732 # program-specific install script used by HP pwplus--don't use.
1735 rm -rf conftest.one conftest.two conftest.dir
1736 echo one
> conftest.one
1737 echo two
> conftest.two
1739 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1740 test -s conftest.one
&& test -s conftest.two
&&
1741 test -s conftest.dir
/conftest.one
&&
1742 test -s conftest.dir
/conftest.two
1744 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1755 rm -rf conftest.one conftest.two conftest.dir
1758 if test "${ac_cv_path_install+set}" = set; then
1759 INSTALL
=$ac_cv_path_install
1761 # As a last resort, use the slow shell script. Don't cache a
1762 # value for INSTALL within a source directory, because that will
1763 # break other packages using the cache if that directory is
1764 # removed, or if the value is a relative name.
1765 INSTALL
=$ac_install_sh
1768 echo "$as_me:$LINENO: result: $INSTALL" >&5
1769 echo "${ECHO_T}$INSTALL" >&6
1771 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1772 # It thinks the first close brace ends the variable substitution.
1773 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1775 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1777 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1779 echo "$as_me:$LINENO: checking whether ln works" >&5
1780 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1781 if test "${acx_cv_prog_LN+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 rm -f conftestdata_t
1785 echo >conftestdata_f
1786 if ln conftestdata_f conftestdata_t
2>/dev
/null
1792 rm -f conftestdata_f conftestdata_t
1795 if test $acx_cv_prog_LN = no
; then
1797 echo "$as_me:$LINENO: result: no, using $LN" >&5
1798 echo "${ECHO_T}no, using $LN" >&6
1800 LN
="$acx_cv_prog_LN"
1801 echo "$as_me:$LINENO: result: yes" >&5
1802 echo "${ECHO_T}yes" >&6
1805 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1806 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1808 if test "$LN_S" = "ln -s"; then
1809 echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6
1812 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1813 echo "${ECHO_T}no, using $LN_S" >&6
1817 ### we might need to use some other shell than /bin/sh for running subshells
1818 ### If we are on Windows, search for the shell. This will permit people
1819 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1820 ### without also having to set CONFIG_SHELL. This code will work when
1821 ### using bash, which sets OSTYPE.
1824 if test x
${CONFIG_SHELL} = x
; then
1825 if test ! -f /bin
/sh
; then
1826 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1827 CONFIG_SHELL
=${SHELL}
1830 for prog
in sh sh.exe bash bash.exe
; do
1831 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1832 for dir
in $PATH; do
1833 test -z "$dir" && dir
=.
1834 if test -f $dir/$prog; then
1835 CONFIG_SHELL
=$dir/$prog
1841 test -n "${CONFIG_SHELL}" && break
1849 config_shell
=${CONFIG_SHELL-/bin/sh}
1851 moveifchange
=${srcdir}/move-if-change
1853 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1855 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1857 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1858 INSTALL
="${srcpwd}/install-sh -c"
1861 # Set srcdir to "." if that's what it is.
1862 # This is important for multilib support.
1864 if test "${pwd}" = "${srcpwd}" ; then
1872 ### To add a new directory to the tree, first choose whether it is a target
1873 ### or a host dependent tool. Then put it into the appropriate list
1874 ### (library or tools, host or target), doing a dependency sort.
1876 # Subdirs will be configured in the order listed in build_configdirs,
1877 # configdirs, or target_configdirs; see the serialization section below.
1879 # Dependency sorting is only needed when *configuration* must be done in
1880 # a particular order. In all cases a dependency should be specified in
1881 # the Makefile, whether or not it's implicitly specified here.
1883 # Double entries in build_configdirs, configdirs, or target_configdirs may
1884 # cause circular dependencies and break everything horribly.
1886 # these library is used by various programs built for the build
1889 build_libs
="build-libiberty"
1891 # these tools are built for the build environment
1892 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1894 # these libraries are used by various programs built for the host environment
1896 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
1898 # these tools are built for the host environment
1899 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1900 # know that we are building the simulator.
1901 # binutils, gas and ld appear in that order because it makes sense to run
1902 # "make check" in that particular order.
1903 # If --enable-gold is used, "gold" will replace "ld".
1904 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"
1906 # libgcj represents the runtime libraries only used by gcj.
1907 libgcj
="target-libffi \
1912 # these libraries are built for the target environment, and are built after
1913 # the host libraries and the host tools (which may be a cross compiler)
1915 target_libraries
="target-libgcc \
1920 target-libstdc++-v3 \
1923 target-libgfortran \
1929 # these tools are built using the target libraries, and are intended to
1930 # run only in the target environment
1932 # note: any program that *uses* libraries that are in the "target_libraries"
1933 # list belongs in this list. those programs are also very likely
1934 # candidates for the "native_only" list which follows
1936 target_tools
="target-examples target-groff target-gperf target-rda"
1938 ################################################################################
1940 ## All tools belong in one of the four categories, and are assigned above
1941 ## We assign ${configdirs} this way to remove all embedded newlines. This
1942 ## is important because configure will choke if they ever get through.
1943 ## ${configdirs} is directories we build using the host tools.
1944 ## ${target_configdirs} is directories we build using the target tools.
1945 configdirs
=`echo ${host_libs} ${host_tools}`
1946 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1947 build_configdirs
=`echo ${build_libs} ${build_tools}`
1951 ################################################################################
1953 srcname
="gnu development package"
1955 # This gets set non-empty for some net releases of packages.
1958 # Define is_cross_compiler to save on calls to 'test'.
1960 if test x
"${host}" = x
"${target}" ; then
1961 is_cross_compiler
=no
1963 is_cross_compiler
=yes
1966 # Find the build and target subdir names.
1968 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1969 # have matching libraries, they should use host libraries: Makefile.tpl
1970 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1971 # However, they still use the build modules, because the corresponding
1972 # host modules (e.g. bison) are only built for the host when bootstrap
1974 # - build_subdir is where we find build modules, and never changes.
1975 # - build_libsubdir is where we find build libraries, and can be overridden.
1977 # Prefix 'build-' so this never conflicts with target_subdir.
1978 build_subdir
="build-${build_noncanonical}"
1980 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1981 if test "${with_build_libsubdir+set}" = set; then
1982 withval
="$with_build_libsubdir"
1983 build_libsubdir
="$withval"
1985 build_libsubdir
="$build_subdir"
1987 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1988 if ( test $srcdir = .
&& test -d gcc
) \
1989 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1990 host_subdir
="host-${host_noncanonical}"
1995 target_subdir
=${target_noncanonical}
1998 # Skipdirs are removed silently.
2000 # Noconfigdirs are removed loudly.
2004 # Make sure we don't let GNU ld be added if we didn't want it.
2005 if test x
$with_gnu_ld = xno
; then
2007 noconfigdirs
="$noconfigdirs ld gold"
2011 # Make sure we don't let GNU as be added if we didn't want it.
2012 if test x
$with_gnu_as = xno
; then
2014 noconfigdirs
="$noconfigdirs gas"
2017 # some tools are so dependent upon X11 that if we're not building with X,
2018 # it's not even worth trying to configure, much less build, that tool.
2021 yes |
"") ;; # the default value for this tree is that X11 is available
2023 skipdirs
="${skipdirs} tk itcl libgui"
2024 # We won't be able to build gdbtk without X.
2027 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2030 # Some tools are only suitable for building in a "native" situation.
2031 # Remove these if host!=target.
2032 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"
2034 # Similarly, some are only suitable for cross toolchains.
2035 # Remove these if host=target.
2036 cross_only
="target-libgloss target-newlib target-opcodes"
2038 case $is_cross_compiler in
2039 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2040 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2043 # If both --with-headers and --with-libs are specified, default to
2045 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2046 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2047 if test x
"${with_newlib}" = x
; then
2052 # Recognize --with-newlib/--without-newlib.
2053 case ${with_newlib} in
2054 no
) skipdirs
="${skipdirs} target-newlib" ;;
2055 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2058 # Handle --enable-gold.
2060 # Check whether --enable-gold or --disable-gold was given.
2061 if test "${enable_gold+set}" = set; then
2062 enableval
="$enable_gold"
2063 ENABLE_GOLD
=$enableval
2067 if test "${ENABLE_GOLD}" = "yes"; then
2068 # Check for ELF target.
2071 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2072 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2073 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2075 *-*-linux*aout
* |
*-*-linux*oldld
*)
2083 if test "$is_elf" = "yes"; then
2084 # Check for target supported by gold.
2086 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2087 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2093 # Configure extra directories which are host specific
2097 configdirs
="$configdirs libtermcap" ;;
2100 # A target can indicate whether a language isn't supported for some reason.
2101 # Only spaces may be used in this macro; not newlines or tabs.
2102 unsupported_languages
=
2104 # Remove more programs from consideration, based on the host or
2105 # target this usually means that a port of the program doesn't
2110 noconfigdirs
="$noconfigdirs byacc"
2112 i
[3456789]86-*-vsta)
2113 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2115 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2116 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2119 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2121 i
[3456789]86-*-mingw32*)
2122 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2123 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2125 i
[3456789]86-*-beos*)
2126 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2129 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2132 noconfigdirs
="$noconfigdirs rcs"
2135 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2138 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2143 # Check whether --enable-libada or --disable-libada was given.
2144 if test "${enable_libada+set}" = set; then
2145 enableval
="$enable_libada"
2146 ENABLE_LIBADA
=$enableval
2150 if test "${ENABLE_LIBADA}" != "yes" ; then
2151 noconfigdirs
="$noconfigdirs gnattools"
2154 # Check whether --enable-libssp or --disable-libssp was given.
2155 if test "${enable_libssp+set}" = set; then
2156 enableval
="$enable_libssp"
2157 ENABLE_LIBSSP
=$enableval
2162 # Save it here so that, even in case of --enable-libgcj, if the Java
2163 # front-end isn't enabled, we still get libgcj disabled.
2164 libgcj_saved
=$libgcj
2165 case $enable_libgcj in
2167 # If we reset it here, it won't get added to noconfigdirs in the
2168 # target-specific build rules, so it will be forcibly enabled
2169 # (unless the Java language itself isn't enabled).
2173 # Make sure we get it printed in the list of not supported target libs.
2174 noconfigdirs
="$noconfigdirs ${libgcj}"
2179 # Disable libmudflap on some systems.
2180 if test x
$enable_libmudflap = x
; then
2182 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2183 # Enable libmudflap by default in GNU and friends.
2186 # Enable libmudflap by default in FreeBSD.
2189 # Disable it by default everywhere else.
2190 noconfigdirs
="$noconfigdirs target-libmudflap"
2195 # Disable libgomp on non POSIX hosted systems.
2196 if test x
$enable_libgomp = x
; then
2197 # Enable libgomp by default on hosted POSIX systems.
2199 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2201 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2203 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2205 *-*-darwin* |
*-*-aix*)
2208 noconfigdirs
="$noconfigdirs target-libgomp"
2213 # Default libgloss CPU subdirectory.
2214 libgloss_dir
="$target_cpu"
2218 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2221 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2222 noconfigdirs
="$noconfigdirs sim target-rda"
2224 i
[3456789]86-*-darwin* | x86_64-
*-darwin[912]*)
2225 noconfigdirs
="$noconfigdirs ld gas gprof"
2226 noconfigdirs
="$noconfigdirs sim target-rda"
2229 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2230 noconfigdirs
="$noconfigdirs sim target-rda"
2231 noconfigdirs
="$noconfigdirs ${libgcj}"
2233 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2234 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2237 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2238 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2239 && test -f /usr
/local
/include
/gmp.h
; then
2243 # Skip some stuff that's unsupported on some FreeBSD configurations.
2248 noconfigdirs
="$noconfigdirs ${libgcj}"
2253 # Remove unsupported stuff on all kaOS configurations.
2254 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2255 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2256 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2257 noconfigdirs
="$noconfigdirs target-libgloss"
2260 # Skip some stuff on all NetBSD configurations.
2261 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2263 # Skip some stuff that's unsupported on some NetBSD configurations.
2265 i
*86-*-netbsdelf*) ;;
2266 arm
*-*-netbsdelf*) ;;
2268 noconfigdirs
="$noconfigdirs ${libgcj}"
2273 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2276 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2278 # The tpf target doesn't support gdb yet.
2280 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2283 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2286 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2289 # ld works, but does not support shared libraries.
2290 # newlib is not 64 bit ready. I'm not sure about fileutils.
2291 # gas doesn't generate exception information.
2292 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2295 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2298 # newlib is not 64 bit ready
2299 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2302 # newlib is not 64 bit ready
2303 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2306 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2309 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2311 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2312 noconfigdirs
="$noconfigdirs ${libgcj}"
2313 noconfigdirs
="$noconfigdirs target-examples"
2314 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2315 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2316 noconfigdirs
="$noconfigdirs expect dejagnu"
2317 # the C++ libraries don't build on top of CE's C libraries
2318 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2319 noconfigdirs
="$noconfigdirs target-newlib"
2321 *-*-cygwin*) ;; # keep gdb and readline
2322 *) noconfigdirs
="$noconfigdirs gdb readline"
2328 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2332 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2333 noconfigdirs
="$noconfigdirs ${libgcj}"
2336 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2337 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2340 arm
*-*-linux-gnueabi)
2341 noconfigdirs
="$noconfigdirs target-qthreads"
2342 case ${with_newlib} in
2343 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2348 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2352 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2355 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2358 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2361 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2364 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2367 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2370 noconfigdirs
="$noconfigdirs gdb"
2371 if test x
${is_cross_compiler} != xno
; then
2372 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2375 c4x-
*-* | tic4x-
*-*)
2376 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2378 c54x
*-*-* | tic54x-
*-*)
2379 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2382 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2384 cris-
*-* | crisv32-
*-*)
2385 unsupported_languages
="$unsupported_languages java"
2388 unsupported_languages
="$unsupported_languages fortran"
2389 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2391 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2393 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2395 unsupported_languages
="$unsupported_languages fortran"
2396 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2401 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2404 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2407 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2409 ep9312-
*-elf | ep9312-
*-coff)
2413 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2416 noconfigdirs
="$noconfigdirs ${libgcj}"
2419 noconfigdirs
="$noconfigdirs ${libgcj}"
2420 noconfigdirs
="$noconfigdirs gprof"
2423 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2426 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2428 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2430 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2431 # In this case, it's because the hppa64-linux target is for
2432 # the kernel only at this point and has no libc, and thus no
2433 # headers, crt*.o, etc., all of which are needed by these.
2434 noconfigdirs
="$noconfigdirs target-zlib"
2436 parisc
*-*-linux* | hppa
*-*-linux*)
2440 hppa
*-*-openbsd* | \
2442 noconfigdirs
="$noconfigdirs ${libgcj}"
2445 noconfigdirs
="$noconfigdirs ld shellutils"
2451 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2452 # build on HP-UX 10.20.
2453 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2456 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2459 # No gdb support yet.
2460 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2463 # No gdb or ld support yet.
2464 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2467 # No gdb or ld support yet.
2468 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
2472 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2473 noconfigdirs
="$noconfigdirs ${libgcj}"
2476 i
[3456789]86-*-linux*)
2477 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2478 # not build java stuff by default.
2481 noconfigdirs
="$noconfigdirs ${libgcj}";;
2484 # This section makes it possible to build newlib natively on linux.
2485 # If we are using a cross compiler then don't configure newlib.
2486 if test x
${is_cross_compiler} != xno
; then
2487 noconfigdirs
="$noconfigdirs target-newlib"
2489 noconfigdirs
="$noconfigdirs target-libgloss"
2490 # If we are not using a cross compiler, do configure newlib.
2491 # Note however, that newlib will only be configured in this situation
2492 # if the --with-newlib option has been given, because otherwise
2493 # 'target-newlib' will appear in skipdirs.
2495 i
[3456789]86-*-mingw32*)
2496 target_configdirs
="$target_configdirs target-winsup"
2497 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2500 target_configdirs
="$target_configdirs target-winsup"
2501 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2504 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2505 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
2506 # always build newlib if winsup directory is present.
2507 if test -d "$srcdir/winsup/cygwin"; then
2508 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2509 elif test -d "$srcdir/newlib"; then
2510 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2513 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2514 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2517 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2519 i
[3456789]86-*-sco3.2v5
*)
2520 # The linker does not yet know about weak symbols in COFF,
2521 # and is not configured to handle mixed ELF and COFF.
2522 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2524 i
[3456789]86-*-sco*)
2525 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2527 i
[3456789]86-*-solaris2*)
2528 noconfigdirs
="$noconfigdirs target-libgloss"
2530 i
[3456789]86-*-sysv4*)
2531 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2533 i
[3456789]86-*-beos*)
2534 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2536 i
[3456789]86-*-rdos*)
2537 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2540 noconfigdirs
="$noconfigdirs ${libgcj}"
2542 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2543 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2544 libgloss_dir
=m68hc11
2547 noconfigdirs
="$noconfigdirs ${libgcj}"
2550 noconfigdirs
="$noconfigdirs ${libgcj}"
2552 m68
*-*-* | fido-
*-*)
2556 # The EPOC C++ environment does not support exceptions or rtti,
2557 # and so building libstdc++-v3 tends not to always work.
2558 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2561 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2562 unsupported_languages
="$unsupported_languages fortran java"
2565 noconfigdirs
="$noconfigdirs ${libgcj}"
2568 noconfigdirs
="$noconfigdirs ${libgcj}"
2571 noconfigdirs
="$noconfigdirs sim"
2574 # copied from rs6000-*-* entry
2575 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2577 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2578 target_configdirs
="$target_configdirs target-winsup"
2579 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2580 # always build newlib.
2581 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2583 # This is temporary until we can link against shared libraries
2584 powerpcle-
*-solaris*)
2585 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2589 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2592 noconfigdirs
="$noconfigdirs ${libgcj}"
2595 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2599 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2602 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2605 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2608 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2611 skipdirs
="$skipdirs target-libiberty"
2612 noconfigdirs
="$noconfigdirs ${libgcj}"
2613 if test x
$with_newlib = xyes
; then
2614 noconfigdirs
="$noconfigdirs gprof"
2619 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2622 # Linking libjava exceeds command-line length limits on at least
2623 # IRIX 6.2, but not on IRIX 6.5.
2624 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2625 # <oldham@codesourcery.com>
2626 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2629 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2635 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2639 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2643 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2644 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2645 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2646 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2648 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2650 sparclet-
*-aout* | sparc86x-
*-*)
2654 noconfigdirs
="$noconfigdirs ${libgcj}"
2657 noconfigdirs
="$noconfigdirs ${libgcj}"
2661 noconfigdirs
="$noconfigdirs ${libgcj}"
2665 noconfigdirs
="$noconfigdirs ${libgcj}"
2666 if test x
${is_cross_compiler} != xno
; then
2667 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2672 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2673 noconfigdirs
="$noconfigdirs ${libgcj}"
2675 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2678 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2681 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2684 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2687 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2690 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2696 noconfigdirs
="$noconfigdirs ${libgcj}"
2699 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2701 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2702 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2708 noconfigdirs
="$noconfigdirs ${libgcj}"
2712 # If we aren't building newlib, then don't build libgloss, since libgloss
2713 # depends upon some newlib header files.
2714 case "${noconfigdirs}" in
2715 *target-libgloss
*) ;;
2716 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2719 # Work in distributions that contain no compiler tools, like Autoconf.
2721 host_makefile_frag
=/dev
/null
2722 if test -d ${srcdir}/config
; then
2725 # Avoid "too much defining" errors from HPUX compiler.
2726 tentative_cc
="cc -Wp,-H256000"
2727 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2728 # If it's HP/UX ar, this should be harmless.
2732 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2735 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2736 # chokes on bfd, the compiler won't let you assign integers to enums, and
2737 # other problems. Defining CC to gcc is a questionable way to say "don't use
2738 # the apollo compiler" (the preferred version of GCC could be called cc,
2739 # or whatever), but I'm not sure leaving CC as cc is any better...
2740 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2741 # Used to have BISON=yacc.
2745 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2748 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2749 tentative_cc
="cc -Xa"
2750 host_makefile_frag
="config/mh-cxux"
2752 m88k-motorola-sysv
*)
2755 tentative_cc
="cc -Wf,-XNg1000"
2756 host_makefile_frag
="config/mh-decstation"
2759 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2760 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2761 host_makefile_frag
="config/mh-necv4"
2764 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2765 # environment. Also bump switch table size so that cp-parse will
2766 # compile. Bump string length limit so linker builds.
2767 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2770 host_makefile_frag
="config/mh-sysv4"
2773 # This is for a MIPS running RISC/os 4.52C.
2775 # This is needed for GDB, but needs to be in the top-level make because
2776 # if a library is compiled with the bsd headers and gets linked with the
2777 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2778 # a different size).
2779 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2780 # known except to select the sysv environment. Could we use /proc instead?
2781 # These "sysv environments" and "bsd environments" often end up being a pain.
2783 # This is not part of CFLAGS because perhaps not all C compilers have this
2785 tentative_cc
="cc -systype sysv"
2790 i
[3456789]86-*-sysv5*)
2791 host_makefile_frag
="config/mh-sysv5"
2793 i
[3456789]86-*-dgux*)
2794 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2795 host_makefile_frag
="config/mh-dgux386"
2797 i
[3456789]86-ncr-sysv4.3
*)
2798 # The MetaWare compiler will generate a copyright message unless you
2799 # turn it off by adding the -Hnocopyr flag.
2800 tentative_cc
="cc -Hnocopyr"
2802 i
[3456789]86-ncr-sysv4*)
2803 # for an NCR 3000 (i486/SVR4) system.
2804 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2805 # This compiler not only emits obnoxious copyright messages every time
2806 # you run it, but it chokes and dies on a whole bunch of GNU source
2807 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2808 tentative_cc
="/usr/ccs/ATT/cc"
2809 host_makefile_frag
="config/mh-ncr3000"
2811 i
[3456789]86-*-sco3.2v5
*)
2813 i
[3456789]86-*-sco*)
2814 # The native C compiler botches some simple uses of const. Unfortunately,
2815 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2816 tentative_cc
="cc -Dconst="
2817 host_makefile_frag
="config/mh-sco"
2819 i
[3456789]86-*-udk*)
2820 host_makefile_frag
="config/mh-sysv5"
2822 i
[3456789]86-*-solaris2*)
2823 host_makefile_frag
="config/mh-sysv4"
2825 i
[3456789]86-*-msdosdjgpp*)
2826 host_makefile_frag
="config/mh-djgpp"
2830 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2831 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2832 echo a
>cygwin-cat-check
2833 if test `cat cygwin-cat-check` == a
; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2841 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2842 Please either mount the build directory in binary mode or run the following
2843 commands before running any configure script:
2847 echo "$as_me: error: The cat command does not ignore carriage return characters.
2848 Please either mount the build directory in binary mode or run the following
2849 commands before running any configure script:
2853 { (exit 1); exit 1; }; }
2856 host_makefile_frag
="config/mh-cygwin"
2859 host_makefile_frag
="config/mh-mingw"
2862 host_makefile_frag
="config/mh-interix"
2865 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2869 host_makefile_frag
="config/mh-solaris"
2872 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2873 # without overflowing the jump tables (-J says to use a 32 bit table)
2874 tentative_cc
="cc -J"
2877 tentative_cc
="cc -Wp,-H256000"
2878 host_makefile_frag
="config/mh-pa-hpux10"
2880 hppa
*-hp-hpux* | hppa
*-*-hiux*)
2881 tentative_cc
="cc -Wp,-H256000"
2882 host_makefile_frag
="config/mh-pa"
2885 host_makefile_frag
="config/mh-pa"
2887 *-hp-hpux* |
*-*-hiux*)
2888 tentative_cc
="cc -Wp,-H256000"
2891 # /bin/cc is less than useful for our purposes. Always use GCC
2892 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2893 host_makefile_frag
="config/mh-lynxrs6k"
2896 host_makefile_frag
="config/mh-ppc-darwin"
2899 host_makefile_frag
="config/mh-ppc-aix"
2902 host_makefile_frag
="config/mh-ppc-aix"
2905 # /bin/cc is less than useful for our purposes. Always use GCC
2906 tentative_cc
="/bin/gcc"
2909 host_makefile_frag
="config/mh-sysv4"
2911 # This is placed last to prevent interfering with the cases above.
2913 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2914 host_makefile_frag
="config/mh-x86omitfp"
2919 # If we aren't going to be using gcc, see if we can extract a definition
2920 # of CC from the fragment.
2921 # Actually, use the 'pre-extracted' version above.
2922 if test -z "${CC}" && test "${build}" = "${host}" ; then
2923 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2925 for dir
in $PATH; do
2926 test -z "$dir" && dir
=.
2927 if test -f $dir/gcc
; then
2933 if test -z "${found}" && test -n "${tentative_cc}" ; then
2938 if test "${build}" != "${host}" ; then
2939 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
2940 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
2941 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2942 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
2943 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
2944 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
2945 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
2946 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
2947 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
2948 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
2949 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
2950 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
2952 AR_FOR_BUILD
="\$(AR)"
2953 AS_FOR_BUILD
="\$(AS)"
2954 CC_FOR_BUILD
="\$(CC)"
2955 CXX_FOR_BUILD
="\$(CXX)"
2956 GCJ_FOR_BUILD
="\$(GCJ)"
2957 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
2958 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
2959 LD_FOR_BUILD
="\$(LD)"
2960 NM_FOR_BUILD
="\$(NM)"
2961 RANLIB_FOR_BUILD
="\$(RANLIB)"
2962 WINDRES_FOR_BUILD
="\$(WINDRES)"
2963 WINDMC_FOR_BUILD
="\$(WINDMC)"
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_CC+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC
="$CC" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$CC"; then
3000 echo "$as_me:$LINENO: result: $CC" >&5
3001 echo "${ECHO_T}$CC" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3008 if test -z "$ac_cv_prog_CC"; then
3010 # Extract the first word of "gcc", so it can be a program name with args.
3011 set dummy gcc
; ac_word
=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$ac_ct_CC"; then
3018 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_CC
="gcc"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3037 if test -n "$ac_ct_CC"; then
3038 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3039 echo "${ECHO_T}$ac_ct_CC" >&6
3041 echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3050 if test -z "$CC"; then
3051 if test -n "$ac_tool_prefix"; then
3052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3053 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3054 echo "$as_me:$LINENO: checking for $ac_word" >&5
3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3056 if test "${ac_cv_prog_CC+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 if test -n "$CC"; then
3060 ac_cv_prog_CC
="$CC" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir
=.
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 if test -n "$CC"; then
3080 echo "$as_me:$LINENO: result: $CC" >&5
3081 echo "${ECHO_T}$CC" >&6
3083 echo "$as_me:$LINENO: result: no" >&5
3084 echo "${ECHO_T}no" >&6
3088 if test -z "$ac_cv_prog_CC"; then
3090 # Extract the first word of "cc", so it can be a program name with args.
3091 set dummy cc
; ac_word
=$2
3092 echo "$as_me:$LINENO: checking for $ac_word" >&5
3093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3094 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3095 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 if test -n "$ac_ct_CC"; then
3098 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir
=.
3105 for ac_exec_ext
in '' $ac_executable_extensions; do
3106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_ac_ct_CC
="cc"
3108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3117 if test -n "$ac_ct_CC"; then
3118 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3119 echo "${ECHO_T}$ac_ct_CC" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3131 if test -z "$CC"; then
3132 # Extract the first word of "cc", so it can be a program name with args.
3133 set dummy cc
; ac_word
=$2
3134 echo "$as_me:$LINENO: checking for $ac_word" >&5
3135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3136 if test "${ac_cv_prog_CC+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC
="$CC" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3151 ac_prog_rejected
=yes
3155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test $ac_prog_rejected = yes; then
3162 # We found a bogon in the path, so make sure we never use it.
3163 set dummy
$ac_cv_prog_CC
3165 if test $# != 0; then
3166 # We chose a different compiler from the bogus one.
3167 # However, it has the same basename, so the bogon will be chosen
3168 # first if we set CC to just the basename; use the full file name.
3170 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3176 if test -n "$CC"; then
3177 echo "$as_me:$LINENO: result: $CC" >&5
3178 echo "${ECHO_T}$CC" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3185 if test -z "$CC"; then
3186 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3190 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3191 echo "$as_me:$LINENO: checking for $ac_word" >&5
3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3193 if test "${ac_cv_prog_CC+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -n "$CC"; then
3197 ac_cv_prog_CC
="$CC" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 if test -n "$CC"; then
3217 echo "$as_me:$LINENO: result: $CC" >&5
3218 echo "${ECHO_T}$CC" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3224 test -n "$CC" && break
3227 if test -z "$CC"; then
3231 # Extract the first word of "$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_prog; ac_word
=$2
3233 echo "$as_me:$LINENO: checking for $ac_word" >&5
3234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 if test -n "$ac_ct_CC"; then
3239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_CC
="$ac_prog"
3249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3258 if test -n "$ac_ct_CC"; then
3259 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3260 echo "${ECHO_T}$ac_ct_CC" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3266 test -n "$ac_ct_CC" && break
3275 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3276 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3278 See \`config.log' for more details." >&5
3279 echo "$as_me: error: no acceptable C compiler found in \$PATH
3280 See \`config.log' for more details." >&2;}
3281 { (exit 1); exit 1; }; }; }
3283 # Provide some information about the compiler.
3284 echo "$as_me:$LINENO:" \
3285 "checking for C compiler version" >&5
3286 ac_compiler
=`set X $ac_compile; echo $2`
3287 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3288 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }
3292 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3293 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }
3297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3298 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }
3303 cat >conftest.
$ac_ext <<_ACEOF
3306 cat confdefs.h
>>conftest.
$ac_ext
3307 cat >>conftest.
$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3318 ac_clean_files_save
=$ac_clean_files
3319 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3320 # Try to create an executable without -o first, disregard a.out.
3321 # It will help us diagnose broken compilers, and finding out an intuition
3323 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3324 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3325 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3326 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3327 (eval $ac_link_default) 2>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; then
3331 # Find the output, starting from the most likely. This scheme is
3332 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3335 # Be careful to initialize this variable, since it used to be cached.
3336 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3338 # b.out is created by i960 compilers.
3339 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3341 test -f "$ac_file" ||
continue
3343 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3346 # This is the source file.
3349 # We found the default executable, but exeext='' is most
3353 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354 # FIXME: I believe we export ac_cv_exeext for Libtool,
3355 # but it would be cool to find out if it's true. Does anybody
3356 # maintain Libtool? --akim.
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.
$ac_ext >&5
3367 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3368 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3370 See \`config.log' for more details." >&5
3371 echo "$as_me: error: C compiler cannot create executables
3372 See \`config.log' for more details." >&2;}
3373 { (exit 77); exit 77; }; }; }
3376 ac_exeext
=$ac_cv_exeext
3377 echo "$as_me:$LINENO: result: $ac_file" >&5
3378 echo "${ECHO_T}$ac_file" >&6
3380 # Check the compiler produces executables we can run. If not, either
3381 # the compiler is broken, or we cross compile.
3382 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3383 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3384 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3385 # If not cross compiling, check that we can run a simple program.
3386 if test "$cross_compiling" != yes; then
3387 if { ac_try
='./$ac_file'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3395 if test "$cross_compiling" = maybe
; then
3398 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3399 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3401 If you meant to cross compile, use \`--host'.
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details." >&2;}
3406 { (exit 1); exit 1; }; }; }
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3413 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3414 ac_clean_files
=$ac_clean_files_save
3415 # Check the compiler produces executables we can run. If not, either
3416 # the compiler is broken, or we cross compile.
3417 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3418 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3419 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3420 echo "${ECHO_T}$cross_compiling" >&6
3422 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3423 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; then
3429 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3430 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3431 # work properly (i.e., refer to `conftest.exe'), while it won't with
3433 for ac_file
in conftest.exe conftest conftest.
*; do
3434 test -f "$ac_file" ||
continue
3436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3437 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3444 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3445 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3447 See \`config.log' for more details." >&5
3448 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3449 See \`config.log' for more details." >&2;}
3450 { (exit 1); exit 1; }; }; }
3453 rm -f conftest
$ac_cv_exeext
3454 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3455 echo "${ECHO_T}$ac_cv_exeext" >&6
3457 rm -f conftest.
$ac_ext
3458 EXEEXT
=$ac_cv_exeext
3460 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3461 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3462 if test "${ac_cv_objext+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 cat >conftest.
$ac_ext <<_ACEOF
3468 cat confdefs.h
>>conftest.
$ac_ext
3469 cat >>conftest.
$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3480 rm -f conftest.o conftest.obj
3481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3482 (eval $ac_compile) 2>&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; then
3486 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3489 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3498 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details." >&5
3501 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3502 See \`config.log' for more details." >&2;}
3503 { (exit 1); exit 1; }; }; }
3506 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3508 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3509 echo "${ECHO_T}$ac_cv_objext" >&6
3510 OBJEXT
=$ac_cv_objext
3512 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3513 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3514 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3535 rm -f conftest.
$ac_objext
3536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3537 (eval $ac_compile) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } &&
3544 { ac_try
='test -z "$ac_c_werror_flag"
3545 || test ! -s conftest.err'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; } &&
3551 { ac_try
='test -s conftest.$ac_objext'
3552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; }; then
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3565 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3568 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3569 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3570 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3571 ac_test_CFLAGS
=${CFLAGS+set}
3572 ac_save_CFLAGS
=$CFLAGS
3574 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3576 if test "${ac_cv_prog_cc_g+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3594 rm -f conftest.
$ac_objext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3596 (eval $ac_compile) 2>conftest.er1
3598 grep -v '^ *+' conftest.er1
>conftest.err
3600 cat conftest.err
>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try
='test -z "$ac_c_werror_flag"
3604 || test ! -s conftest.err'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; } &&
3610 { ac_try
='test -s conftest.$ac_objext'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; }; then
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3626 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3627 if test "$ac_test_CFLAGS" = set; then
3628 CFLAGS
=$ac_save_CFLAGS
3629 elif test $ac_cv_prog_cc_g = yes; then
3630 if test "$GCC" = yes; then
3636 if test "$GCC" = yes; then
3642 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3643 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3644 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 ac_cv_prog_cc_stdc
=no
3649 cat >conftest.
$ac_ext <<_ACEOF
3652 cat confdefs.h
>>conftest.
$ac_ext
3653 cat >>conftest.
$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3657 #include <sys/types.h>
3658 #include <sys/stat.h>
3659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3660 struct buf { int x; };
3661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3662 static char *e (p, i)
3668 static char *f (char * (*g) (char **, int), char **p, ...)
3673 s = g (p, va_arg (v,int));
3678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3679 function prototypes and stuff, but not '\xHH' hex character constants.
3680 These don't provoke an error unfortunately, instead are silently treated
3681 as 'x'. The following induces an error, until -std1 is added to get
3682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3683 array size at least. It's necessary to write '\x00'==0 to get something
3684 that's true only with -std1. */
3685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3687 int test (int i, double x);
3688 struct s1 {int (*f) (int a);};
3689 struct s2 {int (*f) (double a);};
3690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3696 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3701 # Don't try gcc -ansi; that turns off useful extensions and
3702 # breaks some systems' header files.
3703 # AIX -qlanglvl=ansi
3704 # Ultrix and OSF/1 -std1
3705 # HP-UX 10.20 and later -Ae
3706 # HP-UX older versions -Aa -D_HPUX_SOURCE
3707 # SVR4 -Xc -D__EXTENSIONS__
3708 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3710 CC
="$ac_save_CC $ac_arg"
3711 rm -f conftest.
$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713 (eval $ac_compile) 2>conftest.er1
3715 grep -v '^ *+' conftest.er1
>conftest.err
3717 cat conftest.err
>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try
='test -z "$ac_c_werror_flag"
3721 || test ! -s conftest.err'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; } &&
3727 { ac_try
='test -s conftest.$ac_objext'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; }; then
3733 ac_cv_prog_cc_stdc
=$ac_arg
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.
$ac_ext >&5
3740 rm -f conftest.err conftest.
$ac_objext
3742 rm -f conftest.
$ac_ext conftest.
$ac_objext
3747 case "x$ac_cv_prog_cc_stdc" in
3749 echo "$as_me:$LINENO: result: none needed" >&5
3750 echo "${ECHO_T}none needed" >&6 ;;
3752 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3753 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3754 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3757 # Some people use a C++ compiler to compile C. Since we use `exit',
3758 # in C++ we need to declare it. In case someone uses the same compiler
3759 # for both compiling C and C++ we need to have the C++ compiler decide
3760 # the declaration of exit, since it's the most demanding environment.
3761 cat >conftest.
$ac_ext <<_ACEOF
3766 rm -f conftest.
$ac_objext
3767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3768 (eval $ac_compile) 2>conftest.er1
3770 grep -v '^ *+' conftest.er1
>conftest.err
3772 cat conftest.err
>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } &&
3775 { ac_try
='test -z "$ac_c_werror_flag"
3776 || test ! -s conftest.err'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try
='test -s conftest.$ac_objext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; }; then
3788 for ac_declaration
in \
3790 'extern "C" void std::exit (int) throw (); using std::exit;' \
3791 'extern "C" void std::exit (int); using std::exit;' \
3792 'extern "C" void exit (int) throw ();' \
3793 'extern "C" void exit (int);' \
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3812 rm -f conftest.
$ac_objext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3814 (eval $ac_compile) 2>conftest.er1
3816 grep -v '^ *+' conftest.er1
>conftest.err
3818 cat conftest.err
>&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } &&
3821 { ac_try
='test -z "$ac_c_werror_flag"
3822 || test ! -s conftest.err'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; } &&
3828 { ac_try
='test -s conftest.$ac_objext'
3829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; }; then
3836 echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.
$ac_ext >&5
3841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3842 cat >conftest.
$ac_ext <<_ACEOF
3845 cat confdefs.h
>>conftest.
$ac_ext
3846 cat >>conftest.
$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3857 rm -f conftest.
$ac_objext
3858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3859 (eval $ac_compile) 2>conftest.er1
3861 grep -v '^ *+' conftest.er1
>conftest.err
3863 cat conftest.err
>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); } &&
3866 { ac_try
='test -z "$ac_c_werror_flag"
3867 || test ! -s conftest.err'
3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try
='test -s conftest.$ac_objext'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3888 if test -n "$ac_declaration"; then
3889 echo '#ifdef __cplusplus' >>confdefs.h
3890 echo $ac_declaration >>confdefs.h
3891 echo '#endif' >>confdefs.h
3895 echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.
$ac_ext >&5
3899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3901 ac_cpp
='$CPP $CPPFLAGS'
3902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3907 ac_cpp
='$CXXCPP $CPPFLAGS'
3908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3911 if test -n "$ac_tool_prefix"; then
3912 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3915 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3916 echo "$as_me:$LINENO: checking for $ac_word" >&5
3917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3918 if test "${ac_cv_prog_CXX+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 if test -n "$CXX"; then
3922 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir
=.
3929 for ac_exec_ext
in '' $ac_executable_extensions; do
3930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 if test -n "$CXX"; then
3942 echo "$as_me:$LINENO: result: $CXX" >&5
3943 echo "${ECHO_T}$CXX" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3949 test -n "$CXX" && break
3952 if test -z "$CXX"; then
3954 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3956 # Extract the first word of "$ac_prog", so it can be a program name with args.
3957 set dummy
$ac_prog; ac_word
=$2
3958 echo "$as_me:$LINENO: checking for $ac_word" >&5
3959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3960 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 if test -n "$ac_ct_CXX"; then
3964 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 for ac_exec_ext
in '' $ac_executable_extensions; do
3972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3983 if test -n "$ac_ct_CXX"; then
3984 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3985 echo "${ECHO_T}$ac_ct_CXX" >&6
3987 echo "$as_me:$LINENO: result: no" >&5
3988 echo "${ECHO_T}no" >&6
3991 test -n "$ac_ct_CXX" && break
3993 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3999 # Provide some information about the compiler.
4000 echo "$as_me:$LINENO:" \
4001 "checking for C++ compiler version" >&5
4002 ac_compiler
=`set X $ac_compile; echo $2`
4003 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4004 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); }
4008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4009 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }
4013 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4014 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }
4019 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4020 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4021 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 cat >conftest.
$ac_ext <<_ACEOF
4027 cat confdefs.h
>>conftest.
$ac_ext
4028 cat >>conftest.
$ac_ext <<_ACEOF
4029 /* end confdefs.h. */
4042 rm -f conftest.
$ac_objext
4043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4044 (eval $ac_compile) 2>conftest.er1
4046 grep -v '^ *+' conftest.er1
>conftest.err
4048 cat conftest.err
>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try
='test -z "$ac_cxx_werror_flag"
4052 || test ! -s conftest.err'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; } &&
4058 { ac_try
='test -s conftest.$ac_objext'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; }; then
4066 echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.
$ac_ext >&5
4071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4072 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4075 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4076 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4077 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4078 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4079 ac_save_CXXFLAGS
=$CXXFLAGS
4081 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4082 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4083 if test "${ac_cv_prog_cxx_g+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 cat >conftest.
$ac_ext <<_ACEOF
4089 cat confdefs.h
>>conftest.
$ac_ext
4090 cat >>conftest.
$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4101 rm -f conftest.
$ac_objext
4102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4103 (eval $ac_compile) 2>conftest.er1
4105 grep -v '^ *+' conftest.er1
>conftest.err
4107 cat conftest.err
>&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } &&
4110 { ac_try
='test -z "$ac_cxx_werror_flag"
4111 || test ! -s conftest.err'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; } &&
4117 { ac_try
='test -s conftest.$ac_objext'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; }; then
4123 ac_cv_prog_cxx_g
=yes
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.
$ac_ext >&5
4130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4132 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4133 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4134 if test "$ac_test_CXXFLAGS" = set; then
4135 CXXFLAGS
=$ac_save_CXXFLAGS
4136 elif test $ac_cv_prog_cxx_g = yes; then
4137 if test "$GXX" = yes; then
4143 if test "$GXX" = yes; then
4149 for ac_declaration
in \
4151 'extern "C" void std::exit (int) throw (); using std::exit;' \
4152 'extern "C" void std::exit (int); using std::exit;' \
4153 'extern "C" void exit (int) throw ();' \
4154 'extern "C" void exit (int);' \
4157 cat >conftest.
$ac_ext <<_ACEOF
4160 cat confdefs.h
>>conftest.
$ac_ext
4161 cat >>conftest.
$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4173 rm -f conftest.
$ac_objext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4175 (eval $ac_compile) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1
>conftest.err
4179 cat conftest.err
>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try
='test -z "$ac_cxx_werror_flag"
4183 || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try
='test -s conftest.$ac_objext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.
$ac_ext >&5
4202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4203 cat >conftest.
$ac_ext <<_ACEOF
4206 cat confdefs.h
>>conftest.
$ac_ext
4207 cat >>conftest.
$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4218 rm -f conftest.
$ac_objext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>conftest.er1
4222 grep -v '^ *+' conftest.er1
>conftest.err
4224 cat conftest.err
>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } &&
4227 { ac_try
='test -z "$ac_cxx_werror_flag"
4228 || test ! -s conftest.err'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try
='test -s conftest.$ac_objext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4249 if test -n "$ac_declaration"; then
4250 echo '#ifdef __cplusplus' >>confdefs.h
4251 echo $ac_declaration >>confdefs.h
4252 echo '#endif' >>confdefs.h
4256 ac_cpp
='$CPP $CPPFLAGS'
4257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4262 # We must set the default linker to the linker used by gcc for the correct
4263 # operation of libtool. If LD is not defined and we are using gcc, try to
4264 # set the LD default to the ld used by gcc.
4265 if test -z "$LD"; then
4266 if test "$GCC" = yes; then
4269 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4271 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4273 case $gcc_prog_ld in
4274 # Accept absolute paths.
4275 [\\/]* |
[A-Za-z
]:[\\/]*)
4276 LD
="$gcc_prog_ld" ;;
4284 if test -n "$ac_tool_prefix"; then
4285 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4286 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4287 echo "$as_me:$LINENO: checking for $ac_word" >&5
4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4289 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 if test -n "$GNATBIND"; then
4293 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 GNATBIND
=$ac_cv_prog_GNATBIND
4312 if test -n "$GNATBIND"; then
4313 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4314 echo "${ECHO_T}$GNATBIND" >&6
4316 echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6
4321 if test -z "$ac_cv_prog_GNATBIND"; then
4322 ac_ct_GNATBIND
=$GNATBIND
4323 # Extract the first word of "gnatbind", so it can be a program name with args.
4324 set dummy gnatbind
; ac_word
=$2
4325 echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 if test -n "$ac_ct_GNATBIND"; then
4331 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4337 test -z "$as_dir" && as_dir
=.
4338 for ac_exec_ext
in '' $ac_executable_extensions; do
4339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4340 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4350 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4351 if test -n "$ac_ct_GNATBIND"; then
4352 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4353 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4359 GNATBIND
=$ac_ct_GNATBIND
4361 GNATBIND
="$ac_cv_prog_GNATBIND"
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4366 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4367 echo "$as_me:$LINENO: checking for $ac_word" >&5
4368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4369 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 if test -n "$GNATMAKE"; then
4373 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 GNATMAKE
=$ac_cv_prog_GNATMAKE
4392 if test -n "$GNATMAKE"; then
4393 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4394 echo "${ECHO_T}$GNATMAKE" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4401 if test -z "$ac_cv_prog_GNATMAKE"; then
4402 ac_ct_GNATMAKE
=$GNATMAKE
4403 # Extract the first word of "gnatmake", so it can be a program name with args.
4404 set dummy gnatmake
; ac_word
=$2
4405 echo "$as_me:$LINENO: checking for $ac_word" >&5
4406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4407 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 if test -n "$ac_ct_GNATMAKE"; then
4411 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir
=.
4418 for ac_exec_ext
in '' $ac_executable_extensions; do
4419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4430 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4431 if test -n "$ac_ct_GNATMAKE"; then
4432 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4433 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4435 echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6
4439 GNATMAKE
=$ac_ct_GNATMAKE
4441 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4444 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4445 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4446 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 cat >conftest.adb
<<EOF
4450 procedure conftest is begin null; end conftest;
4452 acx_cv_cc_gcc_supports_ada
=no
4453 # There is a bug in old released versions of GCC which causes the
4454 # driver to exit successfully when the appropriate language module
4455 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4456 # Therefore we must check for the error message as well as an
4457 # unsuccessful exit.
4458 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4459 # given a .adb file, but produce no object file. So we must check
4460 # if an object file was really produced to guard against this.
4461 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4462 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4463 acx_cv_cc_gcc_supports_ada
=yes
4467 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4468 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4470 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4476 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4477 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4478 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4484 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4485 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4488 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4491 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4492 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4495 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4501 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4502 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4503 do_compare
="$gcc_cv_prog_cmp_skip"
4507 # Check for GMP, MPFR and MPC
4508 gmplibs
="-lmpfr -lgmp"
4515 # Specify a location for mpc
4516 # check for this first so it ends up on the link line before mpfr.
4518 # Check whether --with-mpc or --without-mpc was given.
4519 if test "${with_mpc+set}" = set; then
4524 # Check whether --with-mpc_include or --without-mpc_include was given.
4525 if test "${with_mpc_include+set}" = set; then
4526 withval
="$with_mpc_include"
4530 # Check whether --with-mpc_lib or --without-mpc_lib was given.
4531 if test "${with_mpc_lib+set}" = set; then
4532 withval
="$with_mpc_lib"
4536 if test "x$with_mpc" != x
; then
4537 mpclibs
="-L$with_mpc/lib -lmpc"
4538 mpcinc
="-I$with_mpc/include $mpcinc"
4540 if test "x$with_mpc_include" != x
; then
4541 mpcinc
="-I$with_mpc_include $mpcinc"
4543 if test "x$with_mpc_lib" != x
; then
4544 mpclibs
="-L$with_mpc_lib -lmpc"
4546 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
4547 mpclibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
4548 mpcinc
='-I$$s/mpc/src '"$mpcinc"
4549 # Do not test the mpc version. Assume that it is sufficient, since
4550 # it is in the source tree, and the library has not been built yet
4551 # but it would be included on the link line in the version check below
4552 # hence making the test fail.
4556 # Specify a location for mpfr
4557 # check for this first so it ends up on the link line before gmp.
4559 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4560 if test "${with_mpfr_dir+set}" = set; then
4561 withval
="$with_mpfr_dir"
4562 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4563 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4564 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4565 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4566 { (exit 1); exit 1; }; }
4570 # Check whether --with-mpfr or --without-mpfr was given.
4571 if test "${with_mpfr+set}" = set; then
4572 withval
="$with_mpfr"
4576 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4577 if test "${with_mpfr_include+set}" = set; then
4578 withval
="$with_mpfr_include"
4582 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4583 if test "${with_mpfr_lib+set}" = set; then
4584 withval
="$with_mpfr_lib"
4588 if test "x$with_mpfr" != x
; then
4589 gmplibs
="-L$with_mpfr/lib $gmplibs"
4590 gmpinc
="-I$with_mpfr/include"
4592 if test "x$with_mpfr_include" != x
; then
4593 gmpinc
="-I$with_mpfr_include"
4595 if test "x$with_mpfr_lib" != x
; then
4596 gmplibs
="-L$with_mpfr_lib $gmplibs"
4598 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4599 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4600 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4601 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr'
4602 # Do not test the mpfr version. Assume that it is sufficient, since
4603 # it is in the source tree, and the library has not been built yet
4604 # but it would be included on the link line in the version check below
4605 # hence making the test fail.
4609 # Specify a location for gmp
4611 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4612 if test "${with_gmp_dir+set}" = set; then
4613 withval
="$with_gmp_dir"
4614 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4615 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4616 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4617 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4618 { (exit 1); exit 1; }; }
4622 # Check whether --with-gmp or --without-gmp was given.
4623 if test "${with_gmp+set}" = set; then
4628 # Check whether --with-gmp_include or --without-gmp_include was given.
4629 if test "${with_gmp_include+set}" = set; then
4630 withval
="$with_gmp_include"
4634 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4635 if test "${with_gmp_lib+set}" = set; then
4636 withval
="$with_gmp_lib"
4641 if test "x$with_gmp" != x
; then
4642 gmplibs
="-L$with_gmp/lib $gmplibs"
4643 gmpinc
="-I$with_gmp/include $gmpinc"
4645 if test "x$with_gmp_include" != x
; then
4646 gmpinc
="-I$with_gmp_include $gmpinc"
4648 if test "x$with_gmp_lib" != x
; then
4649 gmplibs
="-L$with_gmp_lib $gmplibs"
4651 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4652 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4653 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4654 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
4655 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
4656 # Do not test the gmp version. Assume that it is sufficient, since
4657 # it is in the source tree, and the library has not been built yet
4658 # but it would be included on the link line in the version check below
4659 # hence making the test fail.
4663 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4665 saved_CFLAGS
="$CFLAGS"
4666 CFLAGS
="$CFLAGS $gmpinc"
4667 # Check GMP actually works
4668 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4669 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4671 cat >conftest.
$ac_ext <<_ACEOF
4674 cat confdefs.h
>>conftest.
$ac_ext
4675 cat >>conftest.
$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4682 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
4690 rm -f conftest.
$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 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_objext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6; have_gmp
=no
4721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4723 # If we have GMP, check the MPFR version.
4724 if test x
"$have_gmp" = xyes
; then
4725 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4726 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4727 cat >conftest.
$ac_ext <<_ACEOF
4730 cat confdefs.h
>>conftest.
$ac_ext
4731 cat >>conftest.
$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4739 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4747 rm -f conftest.
$ac_objext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749 (eval $ac_compile) 2>conftest.er1
4751 grep -v '^ *+' conftest.er1
>conftest.err
4753 cat conftest.err
>&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try
='test -z "$ac_c_werror_flag"
4757 || test ! -s conftest.err'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; } &&
4763 { ac_try
='test -s conftest.$ac_objext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4769 cat >conftest.
$ac_ext <<_ACEOF
4772 cat confdefs.h
>>conftest.
$ac_ext
4773 cat >>conftest.
$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4781 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4789 rm -f conftest.
$ac_objext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>conftest.er1
4793 grep -v '^ *+' conftest.er1
>conftest.err
4795 cat conftest.err
>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try
='test -z "$ac_c_werror_flag"
4799 || test ! -s conftest.err'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; } &&
4805 { ac_try
='test -s conftest.$ac_objext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.
$ac_ext >&5
4817 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4818 echo "${ECHO_T}buggy but acceptable" >&6
4820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 echo "$as_me: failed program was:" >&5
4823 sed 's/^/| /' conftest.
$ac_ext >&5
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6; have_gmp
=no
4828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4831 # Check for the MPC header version.
4832 if test x
"$have_mpc" != xyes
; then
4833 CFLAGS
="$CFLAGS $mpcinc"
4834 echo "$as_me:$LINENO: checking for the correct version of mpc.h" >&5
4835 echo $ECHO_N "checking for the correct version of mpc.h... $ECHO_C" >&6
4836 cat >conftest.
$ac_ext <<_ACEOF
4839 cat confdefs.h
>>conftest.
$ac_ext
4840 cat >>conftest.
$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4847 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
4855 rm -f conftest.
$ac_objext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>conftest.er1
4859 grep -v '^ *+' conftest.er1
>conftest.err
4861 cat conftest.err
>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try
='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try
='test -s conftest.$ac_objext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6; have_mpc
=maybe
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.
$ac_ext >&5
4883 echo "$as_me:$LINENO: result: no" >&5
4884 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
4886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4889 # Now check the MPFR library.
4890 if test x
"$have_gmp" = xyes
; then
4892 LIBS
="$LIBS $gmplibs"
4893 echo "$as_me:$LINENO: checking for the correct version of the gmp/mpfr libraries" >&5
4894 echo $ECHO_N "checking for the correct version of the gmp/mpfr libraries... $ECHO_C" >&6
4895 cat >conftest.
$ac_ext <<_ACEOF
4898 cat confdefs.h
>>conftest.
$ac_ext
4899 cat >>conftest.
$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4912 mpfr_atan2 (n, n, x, GMP_RNDN);
4913 mpfr_erfc (n, x, GMP_RNDN);
4914 mpfr_subnormalize (x, t, GMP_RNDN);
4920 rm -f conftest.
$ac_objext conftest
$ac_exeext
4921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4922 (eval $ac_link) 2>conftest.er1
4924 grep -v '^ *+' conftest.er1
>conftest.err
4926 cat conftest.err
>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try
='test -z "$ac_c_werror_flag"
4930 || test ! -s conftest.err'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; } &&
4936 { ac_try
='test -s conftest$ac_exeext'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 echo "$as_me:$LINENO: result: yes" >&5
4943 echo "${ECHO_T}yes" >&6
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.
$ac_ext >&5
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6; have_gmp
=no
4951 rm -f conftest.err conftest.
$ac_objext \
4952 conftest
$ac_exeext conftest.
$ac_ext
4956 if test x
"$have_mpc" = xmaybe
; then
4958 LIBS
="$LIBS $mpclibs $gmplibs"
4959 echo "$as_me:$LINENO: checking for the correct version of the mpc library" >&5
4960 echo $ECHO_N "checking for the correct version of the mpc library... $ECHO_C" >&6
4961 cat >conftest.
$ac_ext <<_ACEOF
4964 cat confdefs.h
>>conftest.
$ac_ext
4965 cat >>conftest.
$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4974 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
4975 mpc_sin (n, n, MPC_RNDNN);
4976 mpc_cos (n, n, MPC_RNDNN);
4977 mpc_tan (n, n, MPC_RNDNN);
4978 mpc_sinh (n, n, MPC_RNDNN);
4979 mpc_cosh (n, n, MPC_RNDNN);
4980 mpc_tanh (n, n, MPC_RNDNN);
4981 mpc_exp (n, n, MPC_RNDNN);
4982 mpc_log (n, n, MPC_RNDNN);
4983 mpc_sqrt (n, n, MPC_RNDNN);
4984 mpc_proj (n, n, MPC_RNDNN);
4985 mpc_neg (n, n, MPC_RNDNN);
4986 mpc_sqr (n, n, MPC_RNDNN);
4993 rm -f conftest.
$ac_objext conftest
$ac_exeext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4995 (eval $ac_link) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1
>conftest.err
4999 cat conftest.err
>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try
='test -z "$ac_c_werror_flag"
5003 || test ! -s conftest.err'
5004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; } &&
5009 { ac_try
='test -s conftest$ac_exeext'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6; have_mpc
=yes
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6; have_mpc
=no
; mpclibs
= ; mpcinc
=
5024 rm -f conftest.err conftest.
$ac_objext \
5025 conftest
$ac_exeext conftest.
$ac_ext
5029 CFLAGS
="$saved_CFLAGS"
5031 if test x
$have_gmp != xyes
; then
5032 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5033 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5034 Copies of these libraries' source code can be found at their respective
5035 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5036 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5037 If you obtained GMP and/or MPFR from a vendor distribution package, make
5038 sure that you have installed both the libraries and the header files.
5039 They may be located in separate packages." >&5
5040 echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5041 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5042 Copies of these libraries' source code can be found at their respective
5043 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5044 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5045 If you obtained GMP and/or MPFR from a vendor distribution package, make
5046 sure that you have installed both the libraries and the header files.
5047 They may be located in separate packages." >&2;}
5048 { (exit 1); exit 1; }; }
5052 gmpinc
="$mpcinc $gmpinc"
5053 gmplibs
="$mpclibs $gmplibs"
5055 # Flags needed for both GMP, MPFR and/or MPC.
5062 # Allow host libstdc++ to be specified for static linking with PPL.
5064 # Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
5065 if test "${with_host_libstdcxx+set}" = set; then
5066 withval
="$with_host_libstdcxx"
5070 case $with_host_libstdcxx in
5072 { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
5073 echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
5074 { (exit 1); exit 1; }; }
5080 ppl_minor_version
=10
5081 ppllibs
=" -lppl_c -lppl -lgmpxx $with_host_libstdcxx "
5085 # Check whether --with-ppl or --without-ppl was given.
5086 if test "${with_ppl+set}" = set; then
5093 # Check whether --with-ppl_include or --without-ppl_include was given.
5094 if test "${with_ppl_include+set}" = set; then
5095 withval
="$with_ppl_include"
5099 # Check whether --with-ppl_lib or --without-ppl_lib was given.
5100 if test "${with_ppl_lib+set}" = set; then
5101 withval
="$with_ppl_lib"
5110 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
5111 pplinc
="-I$with_ppl/include $pplinc"
5112 LIBS
="$ppllibs $LIBS"
5115 if test "x$with_ppl_include" != x
; then
5116 pplinc
="-I$with_ppl_include $pplinc"
5118 if test "x$with_ppl_lib" != x
; then
5119 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
5120 LIBS
="$ppllibs $LIBS"
5122 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5123 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '"$with_host_libstdcxx "
5124 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5125 LIBS
="$ppllibs $LIBS"
5128 # Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
5129 if test "${enable_ppl_version_check+set}" = set; then
5130 enableval
="$enable_ppl_version_check"
5131 ENABLE_PPL_CHECK
=$enableval
5133 ENABLE_PPL_CHECK
=yes
5136 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5137 saved_CFLAGS
="$CFLAGS"
5138 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5139 echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5140 echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
5141 cat >conftest.
$ac_ext <<_ACEOF
5144 cat confdefs.h
>>conftest.
$ac_ext
5145 cat >>conftest.
$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5152 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5160 rm -f conftest.
$ac_objext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 (eval $ac_compile) 2>conftest.er1
5164 grep -v '^ *+' conftest.er1
>conftest.err
5166 cat conftest.err
>&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } &&
5169 { ac_try
='test -z "$ac_c_werror_flag"
5170 || test ! -s conftest.err'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
5176 { ac_try
='test -s conftest.$ac_objext'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; }; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5185 echo "$as_me: failed program was:" >&5
5186 sed 's/^/| /' conftest.
$ac_ext >&5
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6; ppllibs
= ; pplinc
=
5191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5192 CFLAGS
="$saved_CFLAGS"
5195 # Flags needed for PPL
5201 clooglibs
=" -lcloog "
5202 clooginc
=" -DCLOOG_PPL_BACKEND "
5205 # Check whether --with-cloog or --without-cloog was given.
5206 if test "${with_cloog+set}" = set; then
5207 withval
="$with_cloog"
5213 # Check whether --with-cloog_include or --without-cloog_include was given.
5214 if test "${with_cloog_include+set}" = set; then
5215 withval
="$with_cloog_include"
5219 # Check whether --with-cloog_lib or --without-cloog_lib was given.
5220 if test "${with_cloog_lib+set}" = set; then
5221 withval
="$with_cloog_lib"
5231 clooglibs
="-L$with_cloog/lib -lcloog"
5232 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5233 LIBS
="$clooglibs $LIBS"
5236 if test "x$with_cloog_include" != x
; then
5237 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5239 if test "x$with_cloog_lib" != x
; then
5240 clooglibs
="-L$with_cloog_lib -lcloog"
5241 LIBS
="$clooglibs $LIBS"
5243 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5244 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5245 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5246 LIBS
="$clooglibs $LIBS"
5249 # Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5250 if test "${enable_cloog_version_check+set}" = set; then
5251 enableval
="$enable_cloog_version_check"
5252 ENABLE_CLOOG_CHECK
=$enableval
5254 ENABLE_CLOOG_CHECK
=yes
5257 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5258 saved_CFLAGS
="$CFLAGS"
5259 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5260 echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5261 echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5262 cat >conftest.
$ac_ext <<_ACEOF
5265 cat confdefs.h
>>conftest.
$ac_ext
5266 cat >>conftest.
$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5268 #include "cloog/cloog.h"
5273 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5281 rm -f conftest.
$ac_objext
5282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5283 (eval $ac_compile) 2>conftest.er1
5285 grep -v '^ *+' conftest.er1
>conftest.err
5287 cat conftest.err
>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } &&
5290 { ac_try
='test -z "$ac_c_werror_flag"
5291 || test ! -s conftest.err'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try
='test -s conftest.$ac_objext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me: failed program was:" >&5
5307 sed 's/^/| /' conftest.
$ac_ext >&5
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6; clooglibs
= ; clooginc
=
5312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5313 CFLAGS
="$saved_CFLAGS"
5316 # Flags needed for CLOOG
5321 # By default, C is the only stage 1 language.
5322 stage1_languages
=,c
,
5324 # Figure out what language subdirectories are present.
5325 # Look if the user specified --enable-languages="..."; if not, use
5326 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5328 # NB: embedded tabs in this IF block -- do not untabify
5329 if test -d ${srcdir}/gcc
; then
5330 if test x
"${enable_languages+set}" != xset
; then
5331 if test x
"${LANGUAGES+set}" = xset
; then
5332 enable_languages
="${LANGUAGES}"
5333 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5335 enable_languages
=all
5338 if test x
"${enable_languages}" = x ||
5339 test x
"${enable_languages}" = xyes
;
5341 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5345 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5347 # 'f95' is the old name for the 'fortran' language. We issue a warning
5348 # and make the substitution.
5349 case ,${enable_languages}, in
5351 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5352 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5356 # First scan to see if an enabled language requires some other language.
5357 # We assume that a given config-lang.in will list all the language
5358 # front ends it requires, even if some are required indirectly.
5359 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5360 case ${lang_frag} in
5362 # The odd quoting in the next line works around
5363 # an apparent bug in bash 1.12 on linux.
5364 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5366 # From the config-lang.in, get $language, $lang_requires
5370 for other
in ${lang_requires} ; do
5371 case ,${enable_languages}, in
5375 echo " \`$other' language required by \`$language'; enabling" 1>&2
5376 enable_languages
="${enable_languages},${other}"
5384 new_enable_languages
=,c
,
5385 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5386 potential_languages
=,c
,
5388 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5389 case ${lang_frag} in
5391 # The odd quoting in the next line works around
5392 # an apparent bug in bash 1.12 on linux.
5393 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5395 # From the config-lang.in, get $language, $target_libs,
5396 # $lang_dirs, $boot_language, and $build_by_default
5402 build_by_default
=yes
5404 if test x
${language} = x
; then
5405 echo "${lang_frag} doesn't set \$language." 1>&2
5409 case ,${enable_languages}, in
5411 # Language was explicitly selected; include it.
5415 # 'all' was selected, select it if it is a default language
5416 add_this_lang
=${build_by_default}
5423 # Disable languages that need other directories if these aren't available.
5424 for i
in $subdir_requires; do
5425 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5426 case ,${enable_languages}, in
5428 # Specifically requested language; tell them.
5429 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5430 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5431 { (exit 1); exit 1; }; }
5435 add_this_lang
=unsupported
5440 # Disable Ada if no preexisting GNAT is available.
5441 case ,${enable_languages},:${language}:${have_gnat} in
5442 *,${language},*:ada
:no
)
5443 # Specifically requested language; tell them.
5444 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5445 echo "$as_me: error: GNAT is required to build $language" >&2;}
5446 { (exit 1); exit 1; }; }
5450 add_this_lang
=unsupported
5454 # Disable a language that is unsupported by the target.
5455 case " $unsupported_languages " in
5457 add_this_lang
=unsupported
5461 case $add_this_lang in
5463 # Remove language-dependent dirs.
5464 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5467 # Remove language-dependent dirs; still show language as supported.
5468 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5469 potential_languages
="${potential_languages}${language},"
5472 new_enable_languages
="${new_enable_languages}${language},"
5473 potential_languages
="${potential_languages}${language},"
5474 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5475 case ${boot_language} in
5477 # Add to (comma-separated) list of stage 1 languages.
5478 stage1_languages
="${stage1_languages}${language},"
5487 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5488 if test "${enable_stage1_languages+set}" = set; then
5489 enableval
="$enable_stage1_languages"
5490 case ,${enable_stage1_languages}, in
5492 # Set it to something that will have no effect in the loop below
5493 enable_stage1_languages
=c
;;
5495 enable_stage1_languages
=`echo $new_enable_languages | \
5496 sed -e "s/^,//" -e "s/,$//" ` ;;
5498 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5499 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5502 # Add "good" languages from enable_stage1_languages to stage1_languages,
5503 # while "bad" languages go in missing_languages. Leave no duplicates.
5504 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5505 case $potential_languages in
5507 case $stage1_languages in
5509 *) stage1_languages
="$stage1_languages$i," ;;
5512 case $missing_languages in
5514 *) missing_languages
="$missing_languages$i," ;;
5520 # Remove leading/trailing commas that were added for simplicity
5521 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5522 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5523 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5524 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5526 if test "x$missing_languages" != x
; then
5527 { { echo "$as_me:$LINENO: error:
5528 The following requested languages could not be built: ${missing_languages}
5529 Supported languages are: ${potential_languages}" >&5
5530 echo "$as_me: error:
5531 The following requested languages could not be built: ${missing_languages}
5532 Supported languages are: ${potential_languages}" >&2;}
5533 { (exit 1); exit 1; }; }
5535 if test "x$new_enable_languages" != "x$enable_languages"; then
5536 echo The following languages will be built
: ${new_enable_languages}
5537 enable_languages
="$new_enable_languages"
5541 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5544 # Handle --disable-<component> generically.
5545 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5546 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5547 varname
=`echo $dirname | sed -e s/+/_/g`
5548 if eval test x\
${enable_${varname}} "=" xno
; then
5549 noconfigdirs
="$noconfigdirs $dir"
5553 # Check for Boehm's garbage collector
5554 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5555 if test "${enable_objc_gc+set}" = set; then
5556 enableval
="$enable_objc_gc"
5557 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5558 *,objc
,*:*:yes:*target-boehm-gc
*)
5559 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5560 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5561 { (exit 1); exit 1; }; }
5566 # Make sure we only build Boehm's garbage collector if required.
5567 case ,${enable_languages},:${enable_objc_gc} in
5569 # Keep target-boehm-gc if requested for Objective-C.
5572 # Otherwise remove target-boehm-gc depending on target-libjava.
5573 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5574 noconfigdirs
="$noconfigdirs target-boehm-gc"
5579 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5580 # $build_configdirs and $target_configdirs.
5581 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5584 for dir
in .
$skipdirs $noconfigdirs ; do
5585 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5586 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5587 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5588 if test -r $srcdir/$dirname/configure
; then
5589 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5592 notsupp
="$notsupp $dir"
5596 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5597 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5598 if test -r $srcdir/$dirname/configure
; then
5599 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5602 notsupp
="$notsupp $dir"
5606 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5607 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5608 if test -r $srcdir/$dirname/configure
; then
5609 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5612 notsupp
="$notsupp $dir"
5618 # Sometimes the tools are distributed with libiberty but with no other
5619 # libraries. In that case, we don't want to build target-libiberty.
5620 # Don't let libgcc imply libiberty either.
5621 if test -n "${target_configdirs}" ; then
5624 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5625 if test "$i" = "libgcc"; then
5626 libgcc
=target-libgcc
5627 elif test "$i" != "libiberty" ; then
5628 if test -r $srcdir/$i/configure
; then
5634 if test -z "${others}" ; then
5635 target_configdirs
=$libgcc
5639 # Quietly strip out all directories which aren't configurable in this tree.
5640 # This relies on all configurable subdirectories being autoconfiscated, which
5642 build_configdirs_all
="$build_configdirs"
5644 for i
in ${build_configdirs_all} ; do
5645 j
=`echo $i | sed -e s/build-//g`
5646 if test -f ${srcdir}/$j/configure
; then
5647 build_configdirs
="${build_configdirs} $i"
5651 configdirs_all
="$configdirs"
5653 for i
in ${configdirs_all} ; do
5654 if test -f ${srcdir}/$i/configure
; then
5655 configdirs
="${configdirs} $i"
5659 target_configdirs_all
="$target_configdirs"
5661 for i
in ${target_configdirs_all} ; do
5662 j
=`echo $i | sed -e s/target-//g`
5663 if test -f ${srcdir}/$j/configure
; then
5664 target_configdirs
="${target_configdirs} $i"
5668 # Produce a warning message for the subdirs we can't configure.
5669 # This isn't especially interesting in the Cygnus tree, but in the individual
5670 # FSF releases, it's important to let people know when their machine isn't
5671 # supported by the one or two programs in a package.
5673 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5674 # If $appdirs is non-empty, at least one of those directories must still
5675 # be configured, or we error out. (E.g., if the gas release supports a
5676 # specified target in some subdirs but not the gas subdir, we shouldn't
5677 # pretend that all is well.)
5678 if test -n "$appdirs" ; then
5679 for dir
in $appdirs ; do
5680 if test -r $dir/Makefile.
in ; then
5681 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5685 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
5691 if test -n "$appdirs" ; then
5692 echo "*** This configuration is not supported by this package." 1>&2
5696 # Okay, some application will build, or we don't care to check. Still
5697 # notify of subdirs not getting built.
5698 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5699 echo " ${notsupp}" 1>&2
5700 echo " (Any other directories should still work fine.)" 1>&2
5708 # To find our prefix, in gcc_cv_tool_prefix.
5710 # The user is always right.
5711 if test "${PATH_SEPARATOR+set}" != set; then
5712 echo "#! /bin/sh" >conf$$.sh
5713 echo "exit 0" >>conf$$.sh
5715 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5725 if test "x$exec_prefix" = xNONE
; then
5726 if test "x$prefix" = xNONE
; then
5727 gcc_cv_tool_prefix
=$ac_default_prefix
5729 gcc_cv_tool_prefix
=$prefix
5732 gcc_cv_tool_prefix
=$exec_prefix
5735 # If there is no compiler in the tree, use the PATH only. In any
5736 # case, if there is no compiler in the tree nobody should use
5737 # AS_FOR_TARGET and LD_FOR_TARGET.
5738 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5739 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5740 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5741 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5742 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5743 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5744 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5745 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5750 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5751 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5759 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5760 if test "${with_build_sysroot+set}" = set; then
5761 withval
="$with_build_sysroot"
5762 if test x
"$withval" != x
; then
5763 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5766 SYSROOT_CFLAGS_FOR_TARGET
=
5771 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5772 if test "${with_debug_prefix_map+set}" = set; then
5773 withval
="$with_debug_prefix_map"
5774 if test x
"$withval" != x
; then
5775 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5776 for debug_map
in $withval; do
5777 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5781 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5785 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5786 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5787 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5788 # We want to ensure that TARGET libraries (which we know are built with
5789 # gcc) are built with "-O2 -g", so include those options when setting
5790 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5791 if test "x$CFLAGS_FOR_TARGET" = x
; then
5792 CFLAGS_FOR_TARGET
=$CFLAGS
5795 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5798 *" -g "* |
*" -g3 "*) ;;
5799 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5804 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5805 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5806 case " $CXXFLAGS " in
5808 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5810 case " $CXXFLAGS " in
5811 *" -g "* |
*" -g3 "*) ;;
5812 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5817 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5818 # the named directory are copied to $(tooldir)/sys-include.
5819 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5820 if test x
${is_cross_compiler} = xno
; then
5821 echo 1>&2 '***' --with-headers is only supported when cross compiling
5824 if test x
"${with_headers}" != xyes
; then
5825 x
=${gcc_cv_tool_prefix}
5826 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5830 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5831 # the name directories are copied to $(tooldir)/lib. Multiple directories
5833 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5834 if test x
${is_cross_compiler} = xno
; then
5835 echo 1>&2 '***' --with-libs is only supported when cross compiling
5838 if test x
"${with_libs}" != xyes
; then
5839 # Copy the libraries in reverse order, so that files in the first named
5840 # library override files in subsequent libraries.
5841 x
=${gcc_cv_tool_prefix}
5842 for l
in ${with_libs}; do
5843 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5848 # Set with_gnu_as and with_gnu_ld as appropriate.
5850 # This is done by determining whether or not the appropriate directory
5851 # is available, and by checking whether or not specific configurations
5852 # have requested that this magic not happen.
5854 # The command line options always override the explicit settings in
5855 # configure.in, and the settings in configure.in override this magic.
5857 # If the default for a toolchain is to use GNU as and ld, and you don't
5858 # want to do that, then you should use the --without-gnu-as and
5859 # --without-gnu-ld options for the configure script.
5861 if test x
${use_gnu_as} = x
&&
5862 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5864 extra_host_args
="$extra_host_args --with-gnu-as"
5867 if test x
${use_gnu_ld} = x
&&
5868 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5870 extra_host_args
="$extra_host_args --with-gnu-ld"
5873 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5874 # can detect this case.
5876 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5878 extra_host_args
="$extra_host_args --with-newlib"
5881 # Handle ${copy_dirs}
5882 set fnord
${copy_dirs}
5884 while test $# != 0 ; do
5885 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5888 echo Copying
$1 to
$2
5890 # Use the install script to create the directory and all required
5891 # parent directories.
5892 if test -d $2 ; then
5896 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5899 # Copy the directory, assuming we have tar.
5900 # FIXME: Should we use B in the second tar? Not all systems support it.
5901 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5903 # It is the responsibility of the user to correctly adjust all
5904 # symlinks. If somebody can figure out how to handle them correctly
5905 # here, feel free to add the code.
5912 # Determine a target-dependent exec_prefix that the installed
5913 # gcc will search in. Keep this list sorted by triplet, with
5914 # the *-*-osname triplets last.
5918 md_exec_prefix
=/gnu
/lib
/gcc-lib
5920 i
[34567]86-pc-msdosdjgpp*)
5921 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5923 i
[34567]86-*-sco3.2v5
*)
5924 if test $with_gnu_as = yes; then
5925 md_exec_prefix
=/usr
/gnu
/bin
5927 md_exec_prefix
=/usr
/ccs
/bin
/elf
5932 powerpc-
*-chorusos* | \
5933 powerpc
*-*-eabi* | \
5934 powerpc
*-*-sysv* | \
5935 powerpc
*-*-kaos* | \
5937 md_exec_prefix
=/usr
/ccs
/bin
5942 md_exec_prefix
=/usr
/ccs
/bin
5957 md_exec_prefix
=/usr
/ccs
/bin
5961 extra_arflags_for_target
=
5962 extra_nmflags_for_target
=
5963 extra_ranlibflags_for_target
=
5964 target_makefile_frag
=/dev
/null
5967 target_makefile_frag
="config/mt-mep"
5970 target_makefile_frag
="config/mt-spu"
5973 target_makefile_frag
="config/mt-sde"
5975 mipsisa
*-*-elfoabi*)
5976 target_makefile_frag
="config/mt-mips-elfoabi"
5978 mips
*-*-*linux
* | mips
*-*-gnu*)
5979 target_makefile_frag
="config/mt-mips-gnu"
5982 target_makefile_frag
="config/mt-netware"
5984 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
5985 target_makefile_frag
="config/mt-gnu"
5987 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5988 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5989 # commands to handle both 32-bit and 64-bit objects. These flags are
5990 # harmless if we're using GNU nm or ar.
5991 extra_arflags_for_target
=" -X32_64"
5992 extra_nmflags_for_target
=" -B -X32_64"
5995 # ranlib from Darwin requires the -c flag to look at common symbols.
5996 extra_ranlibflags_for_target
=" -c"
5998 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5999 target_makefile_frag
="config/mt-wince"
6003 alphaieee_frag
=/dev
/null
6006 # This just makes sure to use the -mieee option to build target libs.
6007 # This should probably be set individually by each library.
6008 alphaieee_frag
="config/mt-alphaieee"
6012 # If --enable-target-optspace always use -Os instead of -O2 to build
6013 # the target libraries, similarly if it is not specified, use -Os
6014 # on selected platforms.
6015 ospace_frag
=/dev
/null
6016 case "${enable_target_optspace}:${target}" in
6018 ospace_frag
="config/mt-ospace"
6021 ospace_frag
="config/mt-d30v"
6023 :m32r-
* |
:d10v-
* |
:fr30-
*)
6024 ospace_frag
="config/mt-ospace"
6029 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6033 # Default to using --with-stabs for certain targets.
6034 if test x
${with_stabs} = x
; then
6038 mips
*-*-* | alpha
*-*-osf*)
6040 extra_host_args
="${extra_host_args} --with-stabs"
6045 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6046 # them automatically.
6049 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6053 # Some systems (e.g., one of the i386-aix systems the gas testers are
6054 # using) don't handle "\$" correctly, so don't use it here.
6055 tooldir
='${exec_prefix}'/${target_noncanonical}
6056 build_tooldir
=${tooldir}
6058 # Create a .gdbinit file which runs the one in srcdir
6059 # and tells GDB to look there for source files.
6061 if test -r ${srcdir}/.gdbinit
; then
6064 *) cat > .
/.gdbinit
<<EOF
6068 source ${srcdir}/.gdbinit
6074 # Make sure that the compiler is able to generate an executable. If it
6075 # can't, we are probably in trouble. We don't care whether we can run the
6076 # executable--we might be using a cross compiler--we only care whether it
6077 # can be created. At this point the main configure script has set CC.
6079 echo "int main () { return 0; }" > conftest.c
6080 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6081 if test $?
= 0 ; then
6082 if test -s conftest ||
test -s conftest.exe
; then
6088 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6089 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6096 # The Solaris /usr/ucb/cc compiler does not appear to work.
6098 sparc-sun-solaris2
*)
6099 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6100 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6102 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6103 if test -d /opt
/cygnus
/bin
; then
6104 if test "$could_use" = "" ; then
6105 could_use
="/opt/cygnus/bin"
6107 could_use
="$could_use or /opt/cygnus/bin"
6110 if test "$could_use" = "" ; then
6111 echo "Warning: compilation may fail because you're using"
6112 echo "/usr/ucb/cc. You should change your PATH or CC "
6113 echo "variable and rerun configure."
6115 echo "Warning: compilation may fail because you're using"
6116 echo "/usr/ucb/cc, when you should use the C compiler from"
6117 echo "$could_use. You should change your"
6118 echo "PATH or CC variable and rerun configure."
6124 # Decide which environment variable is used to find dynamic libraries.
6126 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6127 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6128 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6129 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6132 # On systems where the dynamic library environment variable is PATH,
6133 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6134 # built executables to PATH.
6135 if test "$RPATH_ENVVAR" = PATH
; then
6136 GCC_SHLIB_SUBDIR
=/shlib
6141 # Record target_configdirs and the configure arguments for target and
6142 # build configuration in Makefile.
6143 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6144 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6146 # Determine whether gdb needs tk/tcl or not.
6147 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6148 # and in that case we want gdb to be built without tk. Ugh!
6149 # In fact I believe gdb is the *only* package directly dependent on tk,
6150 # so we should be able to put the 'maybe's in unconditionally and
6151 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6152 # 100% sure that that's safe though.
6154 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6155 case "$enable_gdbtk" in
6159 GDB_TK
="${gdb_tk}" ;;
6161 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6162 # distro. Eventually someone will fix this and move Insight, nee
6163 # gdbtk to a separate directory.
6164 if test -d ${srcdir}/gdb
/gdbtk
; then
6171 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6172 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6174 # Strip out unwanted targets.
6176 # While at that, we remove Makefiles if we were started for recursive
6177 # configuration, so that the top-level Makefile reconfigures them,
6178 # like we used to do when configure itself was recursive.
6180 # Loop over modules. $extrasub must be used with care, limiting as
6181 # much as possible the usage of range addresses. That's because autoconf
6182 # splits the sed script to overcome limits in the number of commands,
6183 # and relying on carefully-timed sed passes may turn out to be very hard
6184 # to maintain later. In this particular case, you just have to be careful
6185 # not to nest @if/@endif pairs, because configure will not warn you at all.
6187 # Check whether --enable-bootstrap or --disable-bootstrap was given.
6188 if test "${enable_bootstrap+set}" = set; then
6189 enableval
="$enable_bootstrap"
6192 enable_bootstrap
=default
6195 # Issue errors and warnings for invalid/strange bootstrap combinations.
6196 case "$configdirs" in
6197 *gcc
*) have_compiler
=yes ;;
6198 *) have_compiler
=no
;;
6201 case "$have_compiler:$host:$target:$enable_bootstrap" in
6204 # Default behavior. Enable bootstrap if we have a compiler
6205 # and we are in a native configuration.
6206 yes:$build:$build:default
)
6207 enable_bootstrap
=yes ;;
6210 enable_bootstrap
=no
;;
6212 # We have a compiler and we are in a native configuration, bootstrap is ok
6213 yes:$build:$build:yes)
6216 # Other configurations, but we have a compiler. Assume the user knows
6219 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
6220 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6223 # No compiler: if they passed --enable-bootstrap explicitly, fail
6225 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
6226 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
6227 { (exit 1); exit 1; }; } ;;
6229 # Fail if wrong command line
6231 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
6232 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
6233 { (exit 1); exit 1; }; }
6237 # Adjust the toplevel makefile according to whether bootstrap was selected.
6238 case "$enable_bootstrap" in
6240 bootstrap_suffix
=bootstrap
;;
6242 bootstrap_suffix
=no-bootstrap
;;
6245 for module
in ${build_configdirs} ; do
6246 if test -z "${no_recursion}" \
6247 && test -f ${build_subdir}/${module}/Makefile
; then
6248 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6249 rm -f ${build_subdir}/${module}/Makefile
6252 /^@if build-$module\$/d
6253 /^@endif build-$module\$/d
6254 /^@if build-$module-$bootstrap_suffix\$/d
6255 /^@endif build-$module-$bootstrap_suffix\$/d"
6257 for module
in ${configdirs} ; do
6258 if test -z "${no_recursion}"; then
6259 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6260 if test -f ${file}; then
6261 echo 1>&2 "*** removing ${file} to force reconfigure"
6268 /^@endif $module\$/d
6269 /^@if $module-$bootstrap_suffix\$/d
6270 /^@endif $module-$bootstrap_suffix\$/d"
6272 for module
in ${target_configdirs} ; do
6273 if test -z "${no_recursion}" \
6274 && test -f ${target_subdir}/${module}/Makefile
; then
6275 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6276 rm -f ${target_subdir}/${module}/Makefile
6279 /^@if target-$module\$/d
6280 /^@endif target-$module\$/d
6281 /^@if target-$module-$bootstrap_suffix\$/d
6282 /^@endif target-$module-$bootstrap_suffix\$/d"
6286 /^@if /,/^@endif /d"
6288 # Create the serialization dependencies. This uses a temporary file.
6290 # Check whether --enable-serial-configure or --disable-serial-configure was given.
6291 if test "${enable_serial_configure+set}" = set; then
6292 enableval
="$enable_serial_configure"
6296 case ${enable_serial_configure} in
6298 enable_serial_build_configure
=yes
6299 enable_serial_host_configure
=yes
6300 enable_serial_target_configure
=yes
6304 # These force 'configure's to be done one at a time, to avoid problems
6305 # with contention over a shared config.cache.
6307 echo '# serdep.tmp' > serdep.tmp
6309 test "x${enable_serial_build_configure}" = xyes
&&
6310 for item
in ${build_configdirs} ; do
6313 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6318 test "x${enable_serial_host_configure}" = xyes
&&
6319 for item
in ${configdirs} ; do
6322 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6327 test "x${enable_serial_target_configure}" = xyes
&&
6328 for item
in ${target_configdirs} ; do
6331 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6335 serialization_dependencies
=serdep.tmp
6338 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6339 # target, nonopt, and variable assignments. These are the ones we
6340 # might not want to pass down to subconfigures. Also strip
6341 # program-prefix, program-suffix, and program-transform-name, so that
6342 # we can pass down a consistent program-transform-name.
6346 eval "set -- $ac_configure_args"
6349 if test X
"$skip_next" = X
"yes"; then
6353 if test X
"$keep_next" = X
"yes"; then
6356 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6358 baseargs
="$baseargs '$ac_arg'"
6363 # Handle separated arguments. Based on the logic generated by
6366 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6367 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6368 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6369 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6395 -program-prefix* | \
6396 -program-suffix* | \
6397 -program-transform-name* )
6398 skip_next
=$separate_arg
6402 # An option. Add it.
6405 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6407 baseargs
="$baseargs '$ac_arg'"
6408 keep_next
=$separate_arg
6411 # Either a variable assignment, or a nonopt (triplet). Don't
6412 # pass it down; let the Makefile handle this.
6417 # Remove the initial space we just introduced and, as these will be
6418 # expanded by make, quote '$'.
6419 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6421 # Add in --program-transform-name, after --program-prefix and
6422 # --program-suffix have been applied to it. Autoconf has already
6423 # doubled dollar signs and backslashes in program_transform_name; we want
6424 # the backslashes un-doubled, and then the entire thing wrapped in single
6425 # quotes, because this will be expanded first by make and then by the shell.
6426 # Also, because we want to override the logic in subdir configure scripts to
6427 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6428 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6429 ${program_transform_name}
6431 gcc_transform_name
=`cat conftestsed.out`
6432 rm -f conftestsed.out
6433 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6434 if test "$silent" = yes; then
6435 baseargs
="$baseargs --silent"
6438 # For the build-side libraries, we just need to pretend we're native,
6439 # and not use the same cache file. Multilibs are neither needed nor
6441 build_configargs
="--cache-file=../config.cache ${baseargs}"
6443 # For host modules, accept cache file option, or specification as blank.
6444 case "${cache_file}" in
6446 cache_file_option
="" ;;
6447 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6448 cache_file_option
="--cache-file=${cache_file}" ;;
6450 cache_file_option
="--cache-file=../${cache_file}" ;;
6453 # Host dirs don't like to share a cache file either, horribly enough.
6454 # This seems to be due to autoconf 2.5x stupidity.
6455 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6457 target_configargs
=${baseargs}
6459 # Passing a --with-cross-host argument lets the target libraries know
6460 # whether they are being built with a cross-compiler or being built
6461 # native. However, it would be better to use other mechanisms to make the
6462 # sorts of decisions they want to make on this basis. Please consider
6463 # this option to be deprecated. FIXME.
6464 if test x
${is_cross_compiler} = xyes
; then
6465 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6468 # Default to --enable-multilib.
6469 if test x
${enable_multilib} = x
; then
6470 target_configargs
="--enable-multilib ${target_configargs}"
6473 # Pass --with-newlib if appropriate. Note that target_configdirs has
6474 # changed from the earlier setting of with_newlib.
6475 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6476 target_configargs
="--with-newlib ${target_configargs}"
6479 # Different target subdirs use different values of certain variables
6480 # (notably CXX). Worse, multilibs use *lots* of different values.
6481 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6482 # it doesn't automatically accept command-line overrides of them.
6483 # This means it's not safe for target subdirs to share a cache file,
6484 # which is disgusting, but there you have it. Hopefully this can be
6485 # fixed in future. It's still worthwhile to use a cache file for each
6486 # directory. I think.
6488 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6489 # We need to pass --target, as newer autoconf's requires consistency
6490 # for target_alias and gcc doesn't manage it consistently.
6491 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6494 case " $target_configdirs " in
6496 case " $target_configargs " in
6497 *" --with-newlib "*)
6500 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' ;;
6503 # If we're not building GCC, don't discard standard headers.
6504 if test -d ${srcdir}/gcc
; then
6505 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6507 if test "${build}" != "${host}"; then
6508 # On Canadian crosses, CC_FOR_TARGET will have already been set
6509 # by `configure', so we won't have an opportunity to add -Bgcc/
6510 # to it. This is right: we don't want to search that directory
6511 # for binaries, but we want the header files in there, so add
6513 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6515 # Someone might think of using the pre-installed headers on
6516 # Canadian crosses, in case the installed compiler is not fully
6517 # compatible with the compiler being built. In this case, it
6518 # would be better to flag an error than risking having
6519 # incompatible object files being constructed. We can't
6520 # guarantee that an error will be flagged, but let's hope the
6521 # compiler will do it, when presented with incompatible header
6526 case "${target}-${is_cross_compiler}" in
6527 i
[3456789]86-*-linux*-no)
6528 # Here host == target, so we don't need to build gcc,
6529 # so we don't want to discard standard headers.
6530 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6533 # If we're building newlib, use its generic headers last, but search
6534 # for any libc-related directories first (so make it the last -B
6536 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6538 # If we're building libgloss, find the startup file, simulator library
6539 # and linker script.
6540 case " $target_configdirs " in
6542 # Look for startup file, simulator library and maybe linker script.
6543 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6544 # Look for libnosys.a in case the target needs it.
6545 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6546 # Most targets have the linker script in the source directory.
6547 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6558 # Can't be handled as Cygwin above since Mingw does not use newlib.
6559 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' ;;
6562 # Allow the user to override the flags for
6563 # our build compiler if desired.
6564 if test x
"${build}" = x
"${host}" ; then
6565 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6566 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6567 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6570 # On Canadian crosses, we'll be searching the right directories for
6571 # the previously-installed cross compiler, so don't bother to add
6572 # flags for directories within the install tree of the compiler
6573 # being built; programs in there won't even run.
6574 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6575 # Search for pre-installed headers if nothing else fits.
6576 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6579 if test "x
${use_gnu_ld}" = x &&
6580 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6581 # Arrange for us to find uninstalled linker scripts.
6582 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6585 # Search for other target-specific linker scripts and such.
6588 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6592 # Makefile fragments.
6593 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6595 eval fragval=\$$frag
6596 if test $fragval != /dev/null; then
6597 eval $frag=${srcdir}/$fragval
6605 # Miscellanea: directories, flags, etc.
6614 # Build module lists & subconfigure args.
6618 # Host module lists & subconfigure args.
6622 # Target module lists & subconfigure args.
6644 # Generate default definitions for YACC, M4, LEX and other programs that run
6645 # on the build machine. These are used if the Makefile can't locate these
6646 # programs in objdir.
6647 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6649 for ac_prog in 'bison -y' byacc yacc
6651 # Extract the first word of "$ac_prog", so it can be a program name with args.
6652 set dummy $ac_prog; ac_word=$2
6653 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6654 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6655 if test "${ac_cv_prog_YACC+set}" = set; then
6656 echo $ECHO_N "(cached
) $ECHO_C" >&6
6658 if test -n "$YACC"; then
6659 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668 ac_cv_prog_YACC="$ac_prog"
6669 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6677 YACC=$ac_cv_prog_YACC
6678 if test -n "$YACC"; then
6679 echo "$as_me:$LINENO: result
: $YACC" >&5
6680 echo "${ECHO_T}$YACC" >&6
6682 echo "$as_me:$LINENO: result
: no
" >&5
6683 echo "${ECHO_T}no
" >&6
6686 test -n "$YACC" && break
6688 test -n "$YACC" || YACC="$MISSING bison
-y"
6690 case " $build_configdirs " in
6691 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6692 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6695 for ac_prog in bison
6697 # Extract the first word of "$ac_prog", so it can be a program name with args.
6698 set dummy $ac_prog; ac_word=$2
6699 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6700 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6701 if test "${ac_cv_prog_BISON+set}" = set; then
6702 echo $ECHO_N "(cached
) $ECHO_C" >&6
6704 if test -n "$BISON"; then
6705 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_BISON="$ac_prog"
6715 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6723 BISON=$ac_cv_prog_BISON
6724 if test -n "$BISON"; then
6725 echo "$as_me:$LINENO: result
: $BISON" >&5
6726 echo "${ECHO_T}$BISON" >&6
6728 echo "$as_me:$LINENO: result
: no
" >&5
6729 echo "${ECHO_T}no
" >&6
6732 test -n "$BISON" && break
6734 test -n "$BISON" || BISON="$MISSING bison
"
6736 case " $build_configdirs " in
6737 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6740 for ac_prog in gm4 gnum4 m4
6742 # Extract the first word of "$ac_prog", so it can be a program name with args.
6743 set dummy $ac_prog; ac_word=$2
6744 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6745 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6746 if test "${ac_cv_prog_M4+set}" = set; then
6747 echo $ECHO_N "(cached
) $ECHO_C" >&6
6749 if test -n "$M4"; then
6750 ac_cv_prog_M4="$M4" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_M4="$ac_prog"
6760 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6769 if test -n "$M4"; then
6770 echo "$as_me:$LINENO: result
: $M4" >&5
6771 echo "${ECHO_T}$M4" >&6
6773 echo "$as_me:$LINENO: result
: no
" >&5
6774 echo "${ECHO_T}no
" >&6
6777 test -n "$M4" && break
6779 test -n "$M4" || M4="$MISSING m4"
6781 case " $build_configdirs " in
6782 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6785 for ac_prog in flex lex
6787 # Extract the first word of "$ac_prog", so it can be a program name with args.
6788 set dummy $ac_prog; ac_word=$2
6789 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6790 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6791 if test "${ac_cv_prog_LEX+set}" = set; then
6792 echo $ECHO_N "(cached
) $ECHO_C" >&6
6794 if test -n "$LEX"; then
6795 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_LEX="$ac_prog"
6805 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6814 if test -n "$LEX"; then
6815 echo "$as_me:$LINENO: result
: $LEX" >&5
6816 echo "${ECHO_T}$LEX" >&6
6818 echo "$as_me:$LINENO: result
: no
" >&5
6819 echo "${ECHO_T}no
" >&6
6822 test -n "$LEX" && break
6824 test -n "$LEX" || LEX="$MISSING flex
"
6826 case " $build_configdirs " in
6827 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6828 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6833 # Extract the first word of "$ac_prog", so it can be a program name with args.
6834 set dummy $ac_prog; ac_word=$2
6835 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6837 if test "${ac_cv_prog_FLEX+set}" = set; then
6838 echo $ECHO_N "(cached
) $ECHO_C" >&6
6840 if test -n "$FLEX"; then
6841 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_FLEX="$ac_prog"
6851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6859 FLEX=$ac_cv_prog_FLEX
6860 if test -n "$FLEX"; then
6861 echo "$as_me:$LINENO: result
: $FLEX" >&5
6862 echo "${ECHO_T}$FLEX" >&6
6864 echo "$as_me:$LINENO: result
: no
" >&5
6865 echo "${ECHO_T}no
" >&6
6868 test -n "$FLEX" && break
6870 test -n "$FLEX" || FLEX="$MISSING flex
"
6872 case " $build_configdirs " in
6873 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6876 for ac_prog in makeinfo
6878 # Extract the first word of "$ac_prog", so it can be a program name with args.
6879 set dummy $ac_prog; ac_word=$2
6880 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6881 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6882 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6883 echo $ECHO_N "(cached
) $ECHO_C" >&6
6885 if test -n "$MAKEINFO"; then
6886 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_MAKEINFO="$ac_prog"
6896 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6904 MAKEINFO=$ac_cv_prog_MAKEINFO
6905 if test -n "$MAKEINFO"; then
6906 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6907 echo "${ECHO_T}$MAKEINFO" >&6
6909 echo "$as_me:$LINENO: result
: no
" >&5
6910 echo "${ECHO_T}no
" >&6
6913 test -n "$MAKEINFO" && break
6915 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6917 case " $build_configdirs " in
6918 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6921 # For an installed makeinfo, we require it to be from texinfo 4.7 or
6922 # higher, else we use the "missing
" dummy.
6923 if ${MAKEINFO} --version \
6924 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6927 MAKEINFO="$MISSING makeinfo
"
6933 # FIXME: expect and dejagnu may become build tools?
6935 for ac_prog in expect
6937 # Extract the first word of "$ac_prog", so it can be a program name with args.
6938 set dummy $ac_prog; ac_word=$2
6939 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6940 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6941 if test "${ac_cv_prog_EXPECT+set}" = set; then
6942 echo $ECHO_N "(cached
) $ECHO_C" >&6
6944 if test -n "$EXPECT"; then
6945 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_EXPECT="$ac_prog"
6955 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 EXPECT=$ac_cv_prog_EXPECT
6964 if test -n "$EXPECT"; then
6965 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6966 echo "${ECHO_T}$EXPECT" >&6
6968 echo "$as_me:$LINENO: result
: no
" >&5
6969 echo "${ECHO_T}no
" >&6
6972 test -n "$EXPECT" && break
6974 test -n "$EXPECT" || EXPECT="expect
"
6976 case " $configdirs " in
6978 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6982 for ac_prog in runtest
6984 # Extract the first word of "$ac_prog", so it can be a program name with args.
6985 set dummy $ac_prog; ac_word=$2
6986 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6987 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6988 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6989 echo $ECHO_N "(cached
) $ECHO_C" >&6
6991 if test -n "$RUNTEST"; then
6992 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_RUNTEST="$ac_prog"
7002 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7010 RUNTEST=$ac_cv_prog_RUNTEST
7011 if test -n "$RUNTEST"; then
7012 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
7013 echo "${ECHO_T}$RUNTEST" >&6
7015 echo "$as_me:$LINENO: result
: no
" >&5
7016 echo "${ECHO_T}no
" >&6
7019 test -n "$RUNTEST" && break
7021 test -n "$RUNTEST" || RUNTEST="runtest
"
7023 case " $configdirs " in
7025 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7032 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7033 ncn_target_tool_prefix=
7034 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7038 if test -n "$AR"; then
7040 elif test -n "$ac_cv_prog_AR"; then
7044 if test -n "$ac_cv_prog_AR"; then
7045 for ncn_progname in ar; do
7046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7047 set dummy ${ncn_progname}; ac_word=$2
7048 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7049 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7050 if test "${ac_cv_prog_AR+set}" = set; then
7051 echo $ECHO_N "(cached
) $ECHO_C" >&6
7053 if test -n "$AR"; then
7054 ac_cv_prog_AR="$AR" # Let the user override the test.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7063 ac_cv_prog_AR="${ncn_progname}"
7064 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7073 if test -n "$AR"; then
7074 echo "$as_me:$LINENO: result
: $AR" >&5
7075 echo "${ECHO_T}$AR" >&6
7077 echo "$as_me:$LINENO: result
: no
" >&5
7078 echo "${ECHO_T}no
" >&6
7084 for ncn_progname in ar; do
7085 if test -n "$ncn_tool_prefix"; then
7086 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7087 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7088 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7089 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7090 if test "${ac_cv_prog_AR+set}" = set; then
7091 echo $ECHO_N "(cached
) $ECHO_C" >&6
7093 if test -n "$AR"; then
7094 ac_cv_prog_AR="$AR" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7104 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7113 if test -n "$AR"; then
7114 echo "$as_me:$LINENO: result
: $AR" >&5
7115 echo "${ECHO_T}$AR" >&6
7117 echo "$as_me:$LINENO: result
: no
" >&5
7118 echo "${ECHO_T}no
" >&6
7122 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7123 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7124 set dummy ${ncn_progname}; ac_word=$2
7125 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7126 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7127 if test "${ac_cv_prog_AR+set}" = set; then
7128 echo $ECHO_N "(cached
) $ECHO_C" >&6
7130 if test -n "$AR"; then
7131 ac_cv_prog_AR="$AR" # Let the user override the test.
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_AR="${ncn_progname}"
7141 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7150 if test -n "$AR"; then
7151 echo "$as_me:$LINENO: result
: $AR" >&5
7152 echo "${ECHO_T}$AR" >&6
7154 echo "$as_me:$LINENO: result
: no
" >&5
7155 echo "${ECHO_T}no
" >&6
7159 test -n "$ac_cv_prog_AR" && break
7162 if test -z "$ac_cv_prog_AR" ; then
7164 if test $build = $host ; then
7167 AR="${ncn_tool_prefix}$2"
7173 if test -n "$AS"; then
7175 elif test -n "$ac_cv_prog_AS"; then
7179 if test -n "$ac_cv_prog_AS"; then
7180 for ncn_progname in as; do
7181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7182 set dummy ${ncn_progname}; ac_word=$2
7183 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7184 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7185 if test "${ac_cv_prog_AS+set}" = set; then
7186 echo $ECHO_N "(cached
) $ECHO_C" >&6
7188 if test -n "$AS"; then
7189 ac_cv_prog_AS="$AS" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_AS="${ncn_progname}"
7199 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7208 if test -n "$AS"; then
7209 echo "$as_me:$LINENO: result
: $AS" >&5
7210 echo "${ECHO_T}$AS" >&6
7212 echo "$as_me:$LINENO: result
: no
" >&5
7213 echo "${ECHO_T}no
" >&6
7219 for ncn_progname in as; do
7220 if test -n "$ncn_tool_prefix"; then
7221 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7222 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7223 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7224 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7225 if test "${ac_cv_prog_AS+set}" = set; then
7226 echo $ECHO_N "(cached
) $ECHO_C" >&6
7228 if test -n "$AS"; then
7229 ac_cv_prog_AS="$AS" # Let the user override the test.
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7239 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7248 if test -n "$AS"; then
7249 echo "$as_me:$LINENO: result
: $AS" >&5
7250 echo "${ECHO_T}$AS" >&6
7252 echo "$as_me:$LINENO: result
: no
" >&5
7253 echo "${ECHO_T}no
" >&6
7257 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7258 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7259 set dummy ${ncn_progname}; ac_word=$2
7260 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7262 if test "${ac_cv_prog_AS+set}" = set; then
7263 echo $ECHO_N "(cached
) $ECHO_C" >&6
7265 if test -n "$AS"; then
7266 ac_cv_prog_AS="$AS" # Let the user override the test.
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_prog_AS="${ncn_progname}"
7276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7285 if test -n "$AS"; then
7286 echo "$as_me:$LINENO: result
: $AS" >&5
7287 echo "${ECHO_T}$AS" >&6
7289 echo "$as_me:$LINENO: result
: no
" >&5
7290 echo "${ECHO_T}no
" >&6
7294 test -n "$ac_cv_prog_AS" && break
7297 if test -z "$ac_cv_prog_AS" ; then
7299 if test $build = $host ; then
7302 AS="${ncn_tool_prefix}$2"
7308 if test -n "$DLLTOOL"; then
7309 ac_cv_prog_DLLTOOL=$DLLTOOL
7310 elif test -n "$ac_cv_prog_DLLTOOL"; then
7311 DLLTOOL=$ac_cv_prog_DLLTOOL
7314 if test -n "$ac_cv_prog_DLLTOOL"; then
7315 for ncn_progname in dlltool; do
7316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7317 set dummy ${ncn_progname}; ac_word=$2
7318 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7319 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7320 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7321 echo $ECHO_N "(cached
) $ECHO_C" >&6
7323 if test -n "$DLLTOOL"; then
7324 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_DLLTOOL="${ncn_progname}"
7334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7342 DLLTOOL=$ac_cv_prog_DLLTOOL
7343 if test -n "$DLLTOOL"; then
7344 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7345 echo "${ECHO_T}$DLLTOOL" >&6
7347 echo "$as_me:$LINENO: result
: no
" >&5
7348 echo "${ECHO_T}no
" >&6
7354 for ncn_progname in dlltool; do
7355 if test -n "$ncn_tool_prefix"; then
7356 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7357 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7358 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7359 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7360 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7361 echo $ECHO_N "(cached
) $ECHO_C" >&6
7363 if test -n "$DLLTOOL"; then
7364 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7374 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7382 DLLTOOL=$ac_cv_prog_DLLTOOL
7383 if test -n "$DLLTOOL"; then
7384 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7385 echo "${ECHO_T}$DLLTOOL" >&6
7387 echo "$as_me:$LINENO: result
: no
" >&5
7388 echo "${ECHO_T}no
" >&6
7392 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7394 set dummy ${ncn_progname}; ac_word=$2
7395 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7396 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7397 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7398 echo $ECHO_N "(cached
) $ECHO_C" >&6
7400 if test -n "$DLLTOOL"; then
7401 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_DLLTOOL="${ncn_progname}"
7411 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7419 DLLTOOL=$ac_cv_prog_DLLTOOL
7420 if test -n "$DLLTOOL"; then
7421 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7422 echo "${ECHO_T}$DLLTOOL" >&6
7424 echo "$as_me:$LINENO: result
: no
" >&5
7425 echo "${ECHO_T}no
" >&6
7429 test -n "$ac_cv_prog_DLLTOOL" && break
7432 if test -z "$ac_cv_prog_DLLTOOL" ; then
7434 if test $build = $host ; then
7437 DLLTOOL="${ncn_tool_prefix}$2"
7443 if test -n "$LD"; then
7445 elif test -n "$ac_cv_prog_LD"; then
7449 if test -n "$ac_cv_prog_LD"; then
7450 for ncn_progname in ld; do
7451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7452 set dummy ${ncn_progname}; ac_word=$2
7453 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7454 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7455 if test "${ac_cv_prog_LD+set}" = set; then
7456 echo $ECHO_N "(cached
) $ECHO_C" >&6
7458 if test -n "$LD"; then
7459 ac_cv_prog_LD="$LD" # Let the user override the test.
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 test -z "$as_dir" && as_dir=.
7466 for ac_exec_ext in '' $ac_executable_extensions; do
7467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7468 ac_cv_prog_LD="${ncn_progname}"
7469 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7478 if test -n "$LD"; then
7479 echo "$as_me:$LINENO: result
: $LD" >&5
7480 echo "${ECHO_T}$LD" >&6
7482 echo "$as_me:$LINENO: result
: no
" >&5
7483 echo "${ECHO_T}no
" >&6
7489 for ncn_progname in ld; do
7490 if test -n "$ncn_tool_prefix"; then
7491 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7492 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7493 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7494 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7495 if test "${ac_cv_prog_LD+set}" = set; then
7496 echo $ECHO_N "(cached
) $ECHO_C" >&6
7498 if test -n "$LD"; then
7499 ac_cv_prog_LD="$LD" # Let the user override the test.
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7509 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7518 if test -n "$LD"; then
7519 echo "$as_me:$LINENO: result
: $LD" >&5
7520 echo "${ECHO_T}$LD" >&6
7522 echo "$as_me:$LINENO: result
: no
" >&5
7523 echo "${ECHO_T}no
" >&6
7527 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7529 set dummy ${ncn_progname}; ac_word=$2
7530 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7531 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7532 if test "${ac_cv_prog_LD+set}" = set; then
7533 echo $ECHO_N "(cached
) $ECHO_C" >&6
7535 if test -n "$LD"; then
7536 ac_cv_prog_LD="$LD" # Let the user override the test.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_LD="${ncn_progname}"
7546 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7555 if test -n "$LD"; then
7556 echo "$as_me:$LINENO: result
: $LD" >&5
7557 echo "${ECHO_T}$LD" >&6
7559 echo "$as_me:$LINENO: result
: no
" >&5
7560 echo "${ECHO_T}no
" >&6
7564 test -n "$ac_cv_prog_LD" && break
7567 if test -z "$ac_cv_prog_LD" ; then
7569 if test $build = $host ; then
7572 LD="${ncn_tool_prefix}$2"
7578 if test -n "$LIPO"; then
7579 ac_cv_prog_LIPO=$LIPO
7580 elif test -n "$ac_cv_prog_LIPO"; then
7581 LIPO=$ac_cv_prog_LIPO
7584 if test -n "$ac_cv_prog_LIPO"; then
7585 for ncn_progname in lipo; do
7586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7587 set dummy ${ncn_progname}; ac_word=$2
7588 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7589 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7590 if test "${ac_cv_prog_LIPO+set}" = set; then
7591 echo $ECHO_N "(cached
) $ECHO_C" >&6
7593 if test -n "$LIPO"; then
7594 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_LIPO="${ncn_progname}"
7604 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7612 LIPO=$ac_cv_prog_LIPO
7613 if test -n "$LIPO"; then
7614 echo "$as_me:$LINENO: result
: $LIPO" >&5
7615 echo "${ECHO_T}$LIPO" >&6
7617 echo "$as_me:$LINENO: result
: no
" >&5
7618 echo "${ECHO_T}no
" >&6
7624 for ncn_progname in lipo; do
7625 if test -n "$ncn_tool_prefix"; then
7626 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7627 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7628 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7629 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7630 if test "${ac_cv_prog_LIPO+set}" = set; then
7631 echo $ECHO_N "(cached
) $ECHO_C" >&6
7633 if test -n "$LIPO"; then
7634 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7644 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7652 LIPO=$ac_cv_prog_LIPO
7653 if test -n "$LIPO"; then
7654 echo "$as_me:$LINENO: result
: $LIPO" >&5
7655 echo "${ECHO_T}$LIPO" >&6
7657 echo "$as_me:$LINENO: result
: no
" >&5
7658 echo "${ECHO_T}no
" >&6
7662 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7664 set dummy ${ncn_progname}; ac_word=$2
7665 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7666 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7667 if test "${ac_cv_prog_LIPO+set}" = set; then
7668 echo $ECHO_N "(cached
) $ECHO_C" >&6
7670 if test -n "$LIPO"; then
7671 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_LIPO="${ncn_progname}"
7681 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7689 LIPO=$ac_cv_prog_LIPO
7690 if test -n "$LIPO"; then
7691 echo "$as_me:$LINENO: result
: $LIPO" >&5
7692 echo "${ECHO_T}$LIPO" >&6
7694 echo "$as_me:$LINENO: result
: no
" >&5
7695 echo "${ECHO_T}no
" >&6
7699 test -n "$ac_cv_prog_LIPO" && break
7702 if test -z "$ac_cv_prog_LIPO" ; then
7704 if test $build = $host ; then
7707 LIPO="${ncn_tool_prefix}$2"
7713 if test -n "$NM"; then
7715 elif test -n "$ac_cv_prog_NM"; then
7719 if test -n "$ac_cv_prog_NM"; then
7720 for ncn_progname in nm; do
7721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7722 set dummy ${ncn_progname}; ac_word=$2
7723 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7724 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7725 if test "${ac_cv_prog_NM+set}" = set; then
7726 echo $ECHO_N "(cached
) $ECHO_C" >&6
7728 if test -n "$NM"; then
7729 ac_cv_prog_NM="$NM" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_NM="${ncn_progname}"
7739 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7748 if test -n "$NM"; then
7749 echo "$as_me:$LINENO: result
: $NM" >&5
7750 echo "${ECHO_T}$NM" >&6
7752 echo "$as_me:$LINENO: result
: no
" >&5
7753 echo "${ECHO_T}no
" >&6
7759 for ncn_progname in nm; do
7760 if test -n "$ncn_tool_prefix"; then
7761 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7762 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7763 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7764 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7765 if test "${ac_cv_prog_NM+set}" = set; then
7766 echo $ECHO_N "(cached
) $ECHO_C" >&6
7768 if test -n "$NM"; then
7769 ac_cv_prog_NM="$NM" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7779 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 if test -n "$NM"; then
7789 echo "$as_me:$LINENO: result
: $NM" >&5
7790 echo "${ECHO_T}$NM" >&6
7792 echo "$as_me:$LINENO: result
: no
" >&5
7793 echo "${ECHO_T}no
" >&6
7797 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7798 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7799 set dummy ${ncn_progname}; ac_word=$2
7800 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7801 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7802 if test "${ac_cv_prog_NM+set}" = set; then
7803 echo $ECHO_N "(cached
) $ECHO_C" >&6
7805 if test -n "$NM"; then
7806 ac_cv_prog_NM="$NM" # Let the user override the test.
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815 ac_cv_prog_NM="${ncn_progname}"
7816 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7825 if test -n "$NM"; then
7826 echo "$as_me:$LINENO: result
: $NM" >&5
7827 echo "${ECHO_T}$NM" >&6
7829 echo "$as_me:$LINENO: result
: no
" >&5
7830 echo "${ECHO_T}no
" >&6
7834 test -n "$ac_cv_prog_NM" && break
7837 if test -z "$ac_cv_prog_NM" ; then
7839 if test $build = $host ; then
7842 NM="${ncn_tool_prefix}$2"
7848 if test -n "$RANLIB"; then
7849 ac_cv_prog_RANLIB=$RANLIB
7850 elif test -n "$ac_cv_prog_RANLIB"; then
7851 RANLIB=$ac_cv_prog_RANLIB
7854 if test -n "$ac_cv_prog_RANLIB"; then
7855 for ncn_progname in ranlib; do
7856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7857 set dummy ${ncn_progname}; ac_word=$2
7858 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7859 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7860 if test "${ac_cv_prog_RANLIB+set}" = set; then
7861 echo $ECHO_N "(cached
) $ECHO_C" >&6
7863 if test -n "$RANLIB"; then
7864 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_RANLIB="${ncn_progname}"
7874 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7882 RANLIB=$ac_cv_prog_RANLIB
7883 if test -n "$RANLIB"; then
7884 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7885 echo "${ECHO_T}$RANLIB" >&6
7887 echo "$as_me:$LINENO: result
: no
" >&5
7888 echo "${ECHO_T}no
" >&6
7894 for ncn_progname in ranlib; do
7895 if test -n "$ncn_tool_prefix"; then
7896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7898 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7900 if test "${ac_cv_prog_RANLIB+set}" = set; then
7901 echo $ECHO_N "(cached
) $ECHO_C" >&6
7903 if test -n "$RANLIB"; then
7904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7914 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7922 RANLIB=$ac_cv_prog_RANLIB
7923 if test -n "$RANLIB"; then
7924 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7925 echo "${ECHO_T}$RANLIB" >&6
7927 echo "$as_me:$LINENO: result
: no
" >&5
7928 echo "${ECHO_T}no
" >&6
7932 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7934 set dummy ${ncn_progname}; ac_word=$2
7935 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7937 if test "${ac_cv_prog_RANLIB+set}" = set; then
7938 echo $ECHO_N "(cached
) $ECHO_C" >&6
7940 if test -n "$RANLIB"; then
7941 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_RANLIB="${ncn_progname}"
7951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7959 RANLIB=$ac_cv_prog_RANLIB
7960 if test -n "$RANLIB"; then
7961 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7962 echo "${ECHO_T}$RANLIB" >&6
7964 echo "$as_me:$LINENO: result
: no
" >&5
7965 echo "${ECHO_T}no
" >&6
7969 test -n "$ac_cv_prog_RANLIB" && break
7972 if test -z "$ac_cv_prog_RANLIB" ; then
7978 if test -n "$STRIP"; then
7979 ac_cv_prog_STRIP=$STRIP
7980 elif test -n "$ac_cv_prog_STRIP"; then
7981 STRIP=$ac_cv_prog_STRIP
7984 if test -n "$ac_cv_prog_STRIP"; then
7985 for ncn_progname in strip; do
7986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7987 set dummy ${ncn_progname}; ac_word=$2
7988 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7989 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7990 if test "${ac_cv_prog_STRIP+set}" = set; then
7991 echo $ECHO_N "(cached
) $ECHO_C" >&6
7993 if test -n "$STRIP"; then
7994 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_STRIP="${ncn_progname}"
8004 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8012 STRIP=$ac_cv_prog_STRIP
8013 if test -n "$STRIP"; then
8014 echo "$as_me:$LINENO: result
: $STRIP" >&5
8015 echo "${ECHO_T}$STRIP" >&6
8017 echo "$as_me:$LINENO: result
: no
" >&5
8018 echo "${ECHO_T}no
" >&6
8024 for ncn_progname in strip; do
8025 if test -n "$ncn_tool_prefix"; then
8026 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8027 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8028 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8030 if test "${ac_cv_prog_STRIP+set}" = set; then
8031 echo $ECHO_N "(cached
) $ECHO_C" >&6
8033 if test -n "$STRIP"; then
8034 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8052 STRIP=$ac_cv_prog_STRIP
8053 if test -n "$STRIP"; then
8054 echo "$as_me:$LINENO: result
: $STRIP" >&5
8055 echo "${ECHO_T}$STRIP" >&6
8057 echo "$as_me:$LINENO: result
: no
" >&5
8058 echo "${ECHO_T}no
" >&6
8062 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8063 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8064 set dummy ${ncn_progname}; ac_word=$2
8065 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8066 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8067 if test "${ac_cv_prog_STRIP+set}" = set; then
8068 echo $ECHO_N "(cached
) $ECHO_C" >&6
8070 if test -n "$STRIP"; then
8071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir=.
8078 for ac_exec_ext in '' $ac_executable_extensions; do
8079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_STRIP="${ncn_progname}"
8081 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8089 STRIP=$ac_cv_prog_STRIP
8090 if test -n "$STRIP"; then
8091 echo "$as_me:$LINENO: result
: $STRIP" >&5
8092 echo "${ECHO_T}$STRIP" >&6
8094 echo "$as_me:$LINENO: result
: no
" >&5
8095 echo "${ECHO_T}no
" >&6
8099 test -n "$ac_cv_prog_STRIP" && break
8102 if test -z "$ac_cv_prog_STRIP" ; then
8108 if test -n "$WINDRES"; then
8109 ac_cv_prog_WINDRES=$WINDRES
8110 elif test -n "$ac_cv_prog_WINDRES"; then
8111 WINDRES=$ac_cv_prog_WINDRES
8114 if test -n "$ac_cv_prog_WINDRES"; then
8115 for ncn_progname in windres; do
8116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8117 set dummy ${ncn_progname}; ac_word=$2
8118 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8119 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8120 if test "${ac_cv_prog_WINDRES+set}" = set; then
8121 echo $ECHO_N "(cached
) $ECHO_C" >&6
8123 if test -n "$WINDRES"; then
8124 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir=.
8131 for ac_exec_ext in '' $ac_executable_extensions; do
8132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8133 ac_cv_prog_WINDRES="${ncn_progname}"
8134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8142 WINDRES=$ac_cv_prog_WINDRES
8143 if test -n "$WINDRES"; then
8144 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8145 echo "${ECHO_T}$WINDRES" >&6
8147 echo "$as_me:$LINENO: result
: no
" >&5
8148 echo "${ECHO_T}no
" >&6
8154 for ncn_progname in windres; do
8155 if test -n "$ncn_tool_prefix"; then
8156 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8157 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8158 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8159 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8160 if test "${ac_cv_prog_WINDRES+set}" = set; then
8161 echo $ECHO_N "(cached
) $ECHO_C" >&6
8163 if test -n "$WINDRES"; then
8164 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8174 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8182 WINDRES=$ac_cv_prog_WINDRES
8183 if test -n "$WINDRES"; then
8184 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8185 echo "${ECHO_T}$WINDRES" >&6
8187 echo "$as_me:$LINENO: result
: no
" >&5
8188 echo "${ECHO_T}no
" >&6
8192 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8194 set dummy ${ncn_progname}; ac_word=$2
8195 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8196 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8197 if test "${ac_cv_prog_WINDRES+set}" = set; then
8198 echo $ECHO_N "(cached
) $ECHO_C" >&6
8200 if test -n "$WINDRES"; then
8201 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8210 ac_cv_prog_WINDRES="${ncn_progname}"
8211 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8219 WINDRES=$ac_cv_prog_WINDRES
8220 if test -n "$WINDRES"; then
8221 echo "$as_me:$LINENO: result
: $WINDRES" >&5
8222 echo "${ECHO_T}$WINDRES" >&6
8224 echo "$as_me:$LINENO: result
: no
" >&5
8225 echo "${ECHO_T}no
" >&6
8229 test -n "$ac_cv_prog_WINDRES" && break
8232 if test -z "$ac_cv_prog_WINDRES" ; then
8234 if test $build = $host ; then
8237 WINDRES="${ncn_tool_prefix}$2"
8243 if test -n "$WINDMC"; then
8244 ac_cv_prog_WINDMC=$WINDMC
8245 elif test -n "$ac_cv_prog_WINDMC"; then
8246 WINDMC=$ac_cv_prog_WINDMC
8249 if test -n "$ac_cv_prog_WINDMC"; then
8250 for ncn_progname in windmc; do
8251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8252 set dummy ${ncn_progname}; ac_word=$2
8253 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8254 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8255 if test "${ac_cv_prog_WINDMC+set}" = set; then
8256 echo $ECHO_N "(cached
) $ECHO_C" >&6
8258 if test -n "$WINDMC"; then
8259 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8268 ac_cv_prog_WINDMC="${ncn_progname}"
8269 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8277 WINDMC=$ac_cv_prog_WINDMC
8278 if test -n "$WINDMC"; then
8279 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8280 echo "${ECHO_T}$WINDMC" >&6
8282 echo "$as_me:$LINENO: result
: no
" >&5
8283 echo "${ECHO_T}no
" >&6
8289 for ncn_progname in windmc; do
8290 if test -n "$ncn_tool_prefix"; then
8291 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8292 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8293 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8294 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8295 if test "${ac_cv_prog_WINDMC+set}" = set; then
8296 echo $ECHO_N "(cached
) $ECHO_C" >&6
8298 if test -n "$WINDMC"; then
8299 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8309 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8317 WINDMC=$ac_cv_prog_WINDMC
8318 if test -n "$WINDMC"; then
8319 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8320 echo "${ECHO_T}$WINDMC" >&6
8322 echo "$as_me:$LINENO: result
: no
" >&5
8323 echo "${ECHO_T}no
" >&6
8327 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8329 set dummy ${ncn_progname}; ac_word=$2
8330 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8331 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8332 if test "${ac_cv_prog_WINDMC+set}" = set; then
8333 echo $ECHO_N "(cached
) $ECHO_C" >&6
8335 if test -n "$WINDMC"; then
8336 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8345 ac_cv_prog_WINDMC="${ncn_progname}"
8346 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8354 WINDMC=$ac_cv_prog_WINDMC
8355 if test -n "$WINDMC"; then
8356 echo "$as_me:$LINENO: result
: $WINDMC" >&5
8357 echo "${ECHO_T}$WINDMC" >&6
8359 echo "$as_me:$LINENO: result
: no
" >&5
8360 echo "${ECHO_T}no
" >&6
8364 test -n "$ac_cv_prog_WINDMC" && break
8367 if test -z "$ac_cv_prog_WINDMC" ; then
8369 if test $build = $host ; then
8372 WINDMC="${ncn_tool_prefix}$2"
8378 if test -n "$OBJCOPY"; then
8379 ac_cv_prog_OBJCOPY=$OBJCOPY
8380 elif test -n "$ac_cv_prog_OBJCOPY"; then
8381 OBJCOPY=$ac_cv_prog_OBJCOPY
8384 if test -n "$ac_cv_prog_OBJCOPY"; then
8385 for ncn_progname in objcopy; do
8386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8387 set dummy ${ncn_progname}; ac_word=$2
8388 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8389 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8390 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8391 echo $ECHO_N "(cached
) $ECHO_C" >&6
8393 if test -n "$OBJCOPY"; then
8394 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_OBJCOPY="${ncn_progname}"
8404 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8412 OBJCOPY=$ac_cv_prog_OBJCOPY
8413 if test -n "$OBJCOPY"; then
8414 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8415 echo "${ECHO_T}$OBJCOPY" >&6
8417 echo "$as_me:$LINENO: result
: no
" >&5
8418 echo "${ECHO_T}no
" >&6
8424 for ncn_progname in objcopy; do
8425 if test -n "$ncn_tool_prefix"; then
8426 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8427 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8428 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8429 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8430 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8431 echo $ECHO_N "(cached
) $ECHO_C" >&6
8433 if test -n "$OBJCOPY"; then
8434 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir=.
8441 for ac_exec_ext in '' $ac_executable_extensions; do
8442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8443 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8444 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8452 OBJCOPY=$ac_cv_prog_OBJCOPY
8453 if test -n "$OBJCOPY"; then
8454 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8455 echo "${ECHO_T}$OBJCOPY" >&6
8457 echo "$as_me:$LINENO: result
: no
" >&5
8458 echo "${ECHO_T}no
" >&6
8462 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8463 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8464 set dummy ${ncn_progname}; ac_word=$2
8465 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8466 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8467 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8468 echo $ECHO_N "(cached
) $ECHO_C" >&6
8470 if test -n "$OBJCOPY"; then
8471 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8477 test -z "$as_dir" && as_dir=.
8478 for ac_exec_ext in '' $ac_executable_extensions; do
8479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8480 ac_cv_prog_OBJCOPY="${ncn_progname}"
8481 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8489 OBJCOPY=$ac_cv_prog_OBJCOPY
8490 if test -n "$OBJCOPY"; then
8491 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8492 echo "${ECHO_T}$OBJCOPY" >&6
8494 echo "$as_me:$LINENO: result
: no
" >&5
8495 echo "${ECHO_T}no
" >&6
8499 test -n "$ac_cv_prog_OBJCOPY" && break
8502 if test -z "$ac_cv_prog_OBJCOPY" ; then
8504 if test $build = $host ; then
8507 OBJCOPY="${ncn_tool_prefix}$2"
8513 if test -n "$OBJDUMP"; then
8514 ac_cv_prog_OBJDUMP=$OBJDUMP
8515 elif test -n "$ac_cv_prog_OBJDUMP"; then
8516 OBJDUMP=$ac_cv_prog_OBJDUMP
8519 if test -n "$ac_cv_prog_OBJDUMP"; then
8520 for ncn_progname in objdump; do
8521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8522 set dummy ${ncn_progname}; ac_word=$2
8523 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8524 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8525 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8526 echo $ECHO_N "(cached
) $ECHO_C" >&6
8528 if test -n "$OBJDUMP"; then
8529 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir=.
8536 for ac_exec_ext in '' $ac_executable_extensions; do
8537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8538 ac_cv_prog_OBJDUMP="${ncn_progname}"
8539 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8547 OBJDUMP=$ac_cv_prog_OBJDUMP
8548 if test -n "$OBJDUMP"; then
8549 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8550 echo "${ECHO_T}$OBJDUMP" >&6
8552 echo "$as_me:$LINENO: result
: no
" >&5
8553 echo "${ECHO_T}no
" >&6
8559 for ncn_progname in objdump; do
8560 if test -n "$ncn_tool_prefix"; then
8561 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8562 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8563 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8564 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8565 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8566 echo $ECHO_N "(cached
) $ECHO_C" >&6
8568 if test -n "$OBJDUMP"; then
8569 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8575 test -z "$as_dir" && as_dir=.
8576 for ac_exec_ext in '' $ac_executable_extensions; do
8577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8578 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8579 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8587 OBJDUMP=$ac_cv_prog_OBJDUMP
8588 if test -n "$OBJDUMP"; then
8589 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8590 echo "${ECHO_T}$OBJDUMP" >&6
8592 echo "$as_me:$LINENO: result
: no
" >&5
8593 echo "${ECHO_T}no
" >&6
8597 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8599 set dummy ${ncn_progname}; ac_word=$2
8600 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8601 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8602 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8603 echo $ECHO_N "(cached
) $ECHO_C" >&6
8605 if test -n "$OBJDUMP"; then
8606 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir=.
8613 for ac_exec_ext in '' $ac_executable_extensions; do
8614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_OBJDUMP="${ncn_progname}"
8616 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8624 OBJDUMP=$ac_cv_prog_OBJDUMP
8625 if test -n "$OBJDUMP"; then
8626 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8627 echo "${ECHO_T}$OBJDUMP" >&6
8629 echo "$as_me:$LINENO: result
: no
" >&5
8630 echo "${ECHO_T}no
" >&6
8634 test -n "$ac_cv_prog_OBJDUMP" && break
8637 if test -z "$ac_cv_prog_OBJDUMP" ; then
8639 if test $build = $host ; then
8642 OBJDUMP="${ncn_tool_prefix}$2"
8653 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8654 if test "${with_build_time_tools+set}" = set; then
8655 withval="$with_build_time_tools"
8659 with_build_time_tools=
8660 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8661 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8665 with_build_time_tools=
8670 if test -n "$CC_FOR_TARGET"; then
8671 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8672 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8673 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8676 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8677 for ncn_progname in cc gcc; do
8678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8679 set dummy ${ncn_progname}; ac_word=$2
8680 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8681 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8682 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8683 echo $ECHO_N "(cached
) $ECHO_C" >&6
8685 if test -n "$CC_FOR_TARGET"; then
8686 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692 test -z "$as_dir" && as_dir=.
8693 for ac_exec_ext in '' $ac_executable_extensions; do
8694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8695 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8696 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8705 if test -n "$CC_FOR_TARGET"; then
8706 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8707 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8709 echo "$as_me:$LINENO: result
: no
" >&5
8710 echo "${ECHO_T}no
" >&6
8716 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8717 for ncn_progname in cc gcc; do
8718 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8719 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8720 if test -x $with_build_time_tools/${ncn_progname}; then
8721 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8722 echo "$as_me:$LINENO: result
: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result
: no
" >&5
8727 echo "${ECHO_T}no
" >&6
8732 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8733 for ncn_progname in cc gcc; do
8734 if test -n "$ncn_target_tool_prefix"; then
8735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8737 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8738 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8739 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8740 echo $ECHO_N "(cached
) $ECHO_C" >&6
8742 if test -n "$CC_FOR_TARGET"; then
8743 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8761 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8762 if test -n "$CC_FOR_TARGET"; then
8763 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8764 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8766 echo "$as_me:$LINENO: result
: no
" >&5
8767 echo "${ECHO_T}no
" >&6
8771 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8773 set dummy ${ncn_progname}; ac_word=$2
8774 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8775 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8776 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8777 echo $ECHO_N "(cached
) $ECHO_C" >&6
8779 if test -n "$CC_FOR_TARGET"; then
8780 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 test -z "$as_dir" && as_dir=.
8787 for ac_exec_ext in '' $ac_executable_extensions; do
8788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8789 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8790 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8798 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8799 if test -n "$CC_FOR_TARGET"; then
8800 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8801 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8803 echo "$as_me:$LINENO: result
: no
" >&5
8804 echo "${ECHO_T}no
" >&6
8808 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8812 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8814 if test $build = $target ; then
8817 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8820 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8825 if test -n "$CXX_FOR_TARGET"; then
8826 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8827 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8828 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8831 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8832 for ncn_progname in c++ g++ cxx gxx; do
8833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8834 set dummy ${ncn_progname}; ac_word=$2
8835 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8837 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8838 echo $ECHO_N "(cached
) $ECHO_C" >&6
8840 if test -n "$CXX_FOR_TARGET"; then
8841 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8859 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8860 if test -n "$CXX_FOR_TARGET"; then
8861 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8862 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8864 echo "$as_me:$LINENO: result
: no
" >&5
8865 echo "${ECHO_T}no
" >&6
8871 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8872 for ncn_progname in c++ g++ cxx gxx; do
8873 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8874 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8875 if test -x $with_build_time_tools/${ncn_progname}; then
8876 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8877 echo "$as_me:$LINENO: result
: yes" >&5
8878 echo "${ECHO_T}yes" >&6
8881 echo "$as_me:$LINENO: result
: no
" >&5
8882 echo "${ECHO_T}no
" >&6
8887 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8888 for ncn_progname in c++ g++ cxx gxx; do
8889 if test -n "$ncn_target_tool_prefix"; then
8890 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8891 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8892 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8894 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8895 echo $ECHO_N "(cached
) $ECHO_C" >&6
8897 if test -n "$CXX_FOR_TARGET"; then
8898 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8904 test -z "$as_dir" && as_dir=.
8905 for ac_exec_ext in '' $ac_executable_extensions; do
8906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8907 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8916 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8917 if test -n "$CXX_FOR_TARGET"; then
8918 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8919 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8921 echo "$as_me:$LINENO: result
: no
" >&5
8922 echo "${ECHO_T}no
" >&6
8926 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8928 set dummy ${ncn_progname}; ac_word=$2
8929 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8930 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8931 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8932 echo $ECHO_N "(cached
) $ECHO_C" >&6
8934 if test -n "$CXX_FOR_TARGET"; then
8935 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8945 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8953 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8954 if test -n "$CXX_FOR_TARGET"; then
8955 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8956 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8958 echo "$as_me:$LINENO: result
: no
" >&5
8959 echo "${ECHO_T}no
" >&6
8963 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8967 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8968 set dummy c++ g++ cxx gxx
8969 if test $build = $target ; then
8972 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8975 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8980 if test -n "$GCC_FOR_TARGET"; then
8981 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8982 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8983 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8986 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8987 for ncn_progname in gcc; do
8988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8989 set dummy ${ncn_progname}; ac_word=$2
8990 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8991 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8992 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8993 echo $ECHO_N "(cached
) $ECHO_C" >&6
8995 if test -n "$GCC_FOR_TARGET"; then
8996 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir=.
9003 for ac_exec_ext in '' $ac_executable_extensions; do
9004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9005 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9006 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9014 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9015 if test -n "$GCC_FOR_TARGET"; then
9016 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9017 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9019 echo "$as_me:$LINENO: result
: no
" >&5
9020 echo "${ECHO_T}no
" >&6
9026 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9027 for ncn_progname in gcc; do
9028 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9029 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9030 if test -x $with_build_time_tools/${ncn_progname}; then
9031 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9032 echo "$as_me:$LINENO: result
: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9036 echo "$as_me:$LINENO: result
: no
" >&5
9037 echo "${ECHO_T}no
" >&6
9042 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9043 for ncn_progname in gcc; do
9044 if test -n "$ncn_target_tool_prefix"; then
9045 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9046 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9047 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9049 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9050 echo $ECHO_N "(cached
) $ECHO_C" >&6
9052 if test -n "$GCC_FOR_TARGET"; then
9053 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059 test -z "$as_dir" && as_dir=.
9060 for ac_exec_ext in '' $ac_executable_extensions; do
9061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9062 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9063 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9071 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9072 if test -n "$GCC_FOR_TARGET"; then
9073 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9074 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9076 echo "$as_me:$LINENO: result
: no
" >&5
9077 echo "${ECHO_T}no
" >&6
9081 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9083 set dummy ${ncn_progname}; ac_word=$2
9084 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9086 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9087 echo $ECHO_N "(cached
) $ECHO_C" >&6
9089 if test -n "$GCC_FOR_TARGET"; then
9090 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9096 test -z "$as_dir" && as_dir=.
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9099 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9108 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9109 if test -n "$GCC_FOR_TARGET"; then
9110 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9111 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
9113 echo "$as_me:$LINENO: result
: no
" >&5
9114 echo "${ECHO_T}no
" >&6
9118 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9122 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9123 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9125 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9130 if test -n "$GCJ_FOR_TARGET"; then
9131 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9132 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9133 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9136 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9137 for ncn_progname in gcj; do
9138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9139 set dummy ${ncn_progname}; ac_word=$2
9140 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9141 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9142 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9143 echo $ECHO_N "(cached
) $ECHO_C" >&6
9145 if test -n "$GCJ_FOR_TARGET"; then
9146 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 test -z "$as_dir" && as_dir=.
9153 for ac_exec_ext in '' $ac_executable_extensions; do
9154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9155 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9156 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9164 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9165 if test -n "$GCJ_FOR_TARGET"; then
9166 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9167 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9169 echo "$as_me:$LINENO: result
: no
" >&5
9170 echo "${ECHO_T}no
" >&6
9176 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9177 for ncn_progname in gcj; do
9178 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9179 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9180 if test -x $with_build_time_tools/${ncn_progname}; then
9181 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9182 echo "$as_me:$LINENO: result
: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result
: no
" >&5
9187 echo "${ECHO_T}no
" >&6
9192 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9193 for ncn_progname in gcj; do
9194 if test -n "$ncn_target_tool_prefix"; then
9195 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9196 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9197 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9199 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9200 echo $ECHO_N "(cached
) $ECHO_C" >&6
9202 if test -n "$GCJ_FOR_TARGET"; then
9203 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir=.
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9212 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9213 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9221 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9222 if test -n "$GCJ_FOR_TARGET"; then
9223 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9224 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9226 echo "$as_me:$LINENO: result
: no
" >&5
9227 echo "${ECHO_T}no
" >&6
9231 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9232 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9233 set dummy ${ncn_progname}; ac_word=$2
9234 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9235 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9236 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9237 echo $ECHO_N "(cached
) $ECHO_C" >&6
9239 if test -n "$GCJ_FOR_TARGET"; then
9240 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 test -z "$as_dir" && as_dir=.
9247 for ac_exec_ext in '' $ac_executable_extensions; do
9248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9249 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9250 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9258 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9259 if test -n "$GCJ_FOR_TARGET"; then
9260 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9261 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
9263 echo "$as_me:$LINENO: result
: no
" >&5
9264 echo "${ECHO_T}no
" >&6
9268 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9272 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9274 if test $build = $target ; then
9277 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9280 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9285 if test -n "$GFORTRAN_FOR_TARGET"; then
9286 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9287 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9288 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9291 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9292 for ncn_progname in gfortran; do
9293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9294 set dummy ${ncn_progname}; ac_word=$2
9295 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9296 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9297 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9298 echo $ECHO_N "(cached
) $ECHO_C" >&6
9300 if test -n "$GFORTRAN_FOR_TARGET"; then
9301 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9307 test -z "$as_dir" && as_dir=.
9308 for ac_exec_ext in '' $ac_executable_extensions; do
9309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9311 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9319 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9320 if test -n "$GFORTRAN_FOR_TARGET"; then
9321 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9322 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9324 echo "$as_me:$LINENO: result
: no
" >&5
9325 echo "${ECHO_T}no
" >&6
9331 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9332 for ncn_progname in gfortran; do
9333 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9334 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9335 if test -x $with_build_time_tools/${ncn_progname}; then
9336 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9337 echo "$as_me:$LINENO: result
: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result
: no
" >&5
9342 echo "${ECHO_T}no
" >&6
9347 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9348 for ncn_progname in gfortran; do
9349 if test -n "$ncn_target_tool_prefix"; then
9350 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9351 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9352 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9353 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9354 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9355 echo $ECHO_N "(cached
) $ECHO_C" >&6
9357 if test -n "$GFORTRAN_FOR_TARGET"; then
9358 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9376 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9377 if test -n "$GFORTRAN_FOR_TARGET"; then
9378 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9379 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9381 echo "$as_me:$LINENO: result
: no
" >&5
9382 echo "${ECHO_T}no
" >&6
9386 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9388 set dummy ${ncn_progname}; ac_word=$2
9389 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9390 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9391 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9392 echo $ECHO_N "(cached
) $ECHO_C" >&6
9394 if test -n "$GFORTRAN_FOR_TARGET"; then
9395 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401 test -z "$as_dir" && as_dir=.
9402 for ac_exec_ext in '' $ac_executable_extensions; do
9403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9404 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9405 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9413 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9414 if test -n "$GFORTRAN_FOR_TARGET"; then
9415 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9416 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
9418 echo "$as_me:$LINENO: result
: no
" >&5
9419 echo "${ECHO_T}no
" >&6
9423 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9427 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9429 if test $build = $target ; then
9430 GFORTRAN_FOR_TARGET="$2"
9432 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9435 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9440 cat > conftest.c << \EOF
9445 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9446 have_gcc_for_target=yes
9448 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9449 have_gcc_for_target=no
9456 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9457 if test -n "$with_build_time_tools"; then
9458 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9459 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
9460 if test -x $with_build_time_tools/ar; then
9461 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9462 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9463 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9464 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
9466 echo "$as_me:$LINENO: result
: no
" >&5
9467 echo "${ECHO_T}no
" >&6
9469 elif test $build != $host && test $have_gcc_for_target = yes; then
9470 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9471 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9472 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9475 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9476 # Extract the first word of "ar", so it can be a program name with args.
9477 set dummy ar; ac_word=$2
9478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9480 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9481 echo $ECHO_N "(cached
) $ECHO_C" >&6
9483 case $AR_FOR_TARGET in
9485 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9489 for as_dir in $gcc_cv_tool_dirs
9492 test -z "$as_dir" && as_dir=.
9493 for ac_exec_ext in '' $ac_executable_extensions; do
9494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9495 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9496 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9505 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9507 if test -n "$AR_FOR_TARGET"; then
9508 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9509 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9511 echo "$as_me:$LINENO: result
: no
" >&5
9512 echo "${ECHO_T}no
" >&6
9516 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9519 if test -n "$AR_FOR_TARGET"; then
9520 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9521 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9522 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9525 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9526 for ncn_progname in ar; do
9527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9528 set dummy ${ncn_progname}; ac_word=$2
9529 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9530 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9531 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9532 echo $ECHO_N "(cached
) $ECHO_C" >&6
9534 if test -n "$AR_FOR_TARGET"; then
9535 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir=.
9542 for ac_exec_ext in '' $ac_executable_extensions; do
9543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9544 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9545 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9553 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9554 if test -n "$AR_FOR_TARGET"; then
9555 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9556 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9558 echo "$as_me:$LINENO: result
: no
" >&5
9559 echo "${ECHO_T}no
" >&6
9565 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9566 for ncn_progname in ar; do
9567 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9568 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9569 if test -x $with_build_time_tools/${ncn_progname}; then
9570 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9571 echo "$as_me:$LINENO: result
: yes" >&5
9572 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result
: no
" >&5
9576 echo "${ECHO_T}no
" >&6
9581 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9582 for ncn_progname in ar; do
9583 if test -n "$ncn_target_tool_prefix"; then
9584 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9585 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9586 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9587 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9588 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9589 echo $ECHO_N "(cached
) $ECHO_C" >&6
9591 if test -n "$AR_FOR_TARGET"; then
9592 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598 test -z "$as_dir" && as_dir=.
9599 for ac_exec_ext in '' $ac_executable_extensions; do
9600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9601 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9602 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9610 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9611 if test -n "$AR_FOR_TARGET"; then
9612 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9613 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9615 echo "$as_me:$LINENO: result
: no
" >&5
9616 echo "${ECHO_T}no
" >&6
9620 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9622 set dummy ${ncn_progname}; ac_word=$2
9623 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9624 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9625 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9626 echo $ECHO_N "(cached
) $ECHO_C" >&6
9628 if test -n "$AR_FOR_TARGET"; then
9629 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 test -z "$as_dir" && as_dir=.
9636 for ac_exec_ext in '' $ac_executable_extensions; do
9637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9638 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9647 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9648 if test -n "$AR_FOR_TARGET"; then
9649 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9650 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9652 echo "$as_me:$LINENO: result
: no
" >&5
9653 echo "${ECHO_T}no
" >&6
9657 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9661 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9663 if test $build = $target ; then
9666 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9669 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9673 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9679 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9680 if test -n "$with_build_time_tools"; then
9681 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9682 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
9683 if test -x $with_build_time_tools/as; then
9684 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9685 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9686 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9687 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9689 echo "$as_me:$LINENO: result
: no
" >&5
9690 echo "${ECHO_T}no
" >&6
9692 elif test $build != $host && test $have_gcc_for_target = yes; then
9693 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9694 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9695 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9698 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9699 # Extract the first word of "as
", so it can be a program name with args.
9700 set dummy as; ac_word=$2
9701 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9702 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9703 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9704 echo $ECHO_N "(cached
) $ECHO_C" >&6
9706 case $AS_FOR_TARGET in
9708 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9712 for as_dir in $gcc_cv_tool_dirs
9715 test -z "$as_dir" && as_dir=.
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9718 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9719 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9728 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9730 if test -n "$AS_FOR_TARGET"; then
9731 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9732 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9734 echo "$as_me:$LINENO: result
: no
" >&5
9735 echo "${ECHO_T}no
" >&6
9739 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9742 if test -n "$AS_FOR_TARGET"; then
9743 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9744 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9745 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9748 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9749 for ncn_progname in as; do
9750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9751 set dummy ${ncn_progname}; ac_word=$2
9752 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9753 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9754 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9755 echo $ECHO_N "(cached
) $ECHO_C" >&6
9757 if test -n "$AS_FOR_TARGET"; then
9758 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9767 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9768 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9776 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9777 if test -n "$AS_FOR_TARGET"; then
9778 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9779 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9781 echo "$as_me:$LINENO: result
: no
" >&5
9782 echo "${ECHO_T}no
" >&6
9788 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9789 for ncn_progname in as; do
9790 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9791 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9792 if test -x $with_build_time_tools/${ncn_progname}; then
9793 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9794 echo "$as_me:$LINENO: result
: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9798 echo "$as_me:$LINENO: result
: no
" >&5
9799 echo "${ECHO_T}no
" >&6
9804 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9805 for ncn_progname in as; do
9806 if test -n "$ncn_target_tool_prefix"; then
9807 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9808 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9809 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9810 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9811 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9812 echo $ECHO_N "(cached
) $ECHO_C" >&6
9814 if test -n "$AS_FOR_TARGET"; then
9815 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 test -z "$as_dir" && as_dir=.
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9825 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9833 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9834 if test -n "$AS_FOR_TARGET"; then
9835 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9836 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9838 echo "$as_me:$LINENO: result
: no
" >&5
9839 echo "${ECHO_T}no
" >&6
9843 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9845 set dummy ${ncn_progname}; ac_word=$2
9846 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9847 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9848 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9849 echo $ECHO_N "(cached
) $ECHO_C" >&6
9851 if test -n "$AS_FOR_TARGET"; then
9852 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9862 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9870 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9871 if test -n "$AS_FOR_TARGET"; then
9872 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9873 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9875 echo "$as_me:$LINENO: result
: no
" >&5
9876 echo "${ECHO_T}no
" >&6
9880 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9884 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9886 if test $build = $target ; then
9889 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9892 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9896 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9902 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9903 if test -n "$with_build_time_tools"; then
9904 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9905 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
9906 if test -x $with_build_time_tools/dlltool; then
9907 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9908 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9909 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9910 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9912 echo "$as_me:$LINENO: result
: no
" >&5
9913 echo "${ECHO_T}no
" >&6
9915 elif test $build != $host && test $have_gcc_for_target = yes; then
9916 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9917 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9918 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9921 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9922 # Extract the first word of "dlltool
", so it can be a program name with args.
9923 set dummy dlltool; ac_word=$2
9924 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9925 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9926 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9927 echo $ECHO_N "(cached
) $ECHO_C" >&6
9929 case $DLLTOOL_FOR_TARGET in
9931 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9935 for as_dir in $gcc_cv_tool_dirs
9938 test -z "$as_dir" && as_dir=.
9939 for ac_exec_ext in '' $ac_executable_extensions; do
9940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9941 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9942 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9951 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9953 if test -n "$DLLTOOL_FOR_TARGET"; then
9954 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9955 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9957 echo "$as_me:$LINENO: result
: no
" >&5
9958 echo "${ECHO_T}no
" >&6
9962 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9965 if test -n "$DLLTOOL_FOR_TARGET"; then
9966 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9967 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9968 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9971 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9972 for ncn_progname in dlltool; do
9973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9974 set dummy ${ncn_progname}; ac_word=$2
9975 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9976 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9977 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9978 echo $ECHO_N "(cached
) $ECHO_C" >&6
9980 if test -n "$DLLTOOL_FOR_TARGET"; then
9981 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9987 test -z "$as_dir" && as_dir=.
9988 for ac_exec_ext in '' $ac_executable_extensions; do
9989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9990 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9991 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9999 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10000 if test -n "$DLLTOOL_FOR_TARGET"; then
10001 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10002 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10004 echo "$as_me:$LINENO: result
: no
" >&5
10005 echo "${ECHO_T}no
" >&6
10011 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10012 for ncn_progname in dlltool; do
10013 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10014 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10015 if test -x $with_build_time_tools/${ncn_progname}; then
10016 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10017 echo "$as_me:$LINENO: result
: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10021 echo "$as_me:$LINENO: result
: no
" >&5
10022 echo "${ECHO_T}no
" >&6
10027 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10028 for ncn_progname in dlltool; do
10029 if test -n "$ncn_target_tool_prefix"; then
10030 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10031 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10032 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10033 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10034 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10035 echo $ECHO_N "(cached
) $ECHO_C" >&6
10037 if test -n "$DLLTOOL_FOR_TARGET"; then
10038 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10041 for as_dir in $PATH
10044 test -z "$as_dir" && as_dir=.
10045 for ac_exec_ext in '' $ac_executable_extensions; do
10046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10047 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10048 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10056 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10057 if test -n "$DLLTOOL_FOR_TARGET"; then
10058 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10059 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10061 echo "$as_me:$LINENO: result
: no
" >&5
10062 echo "${ECHO_T}no
" >&6
10066 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10068 set dummy ${ncn_progname}; ac_word=$2
10069 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10070 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10071 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10072 echo $ECHO_N "(cached
) $ECHO_C" >&6
10074 if test -n "$DLLTOOL_FOR_TARGET"; then
10075 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10081 test -z "$as_dir" && as_dir=.
10082 for ac_exec_ext in '' $ac_executable_extensions; do
10083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10084 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10085 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10093 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10094 if test -n "$DLLTOOL_FOR_TARGET"; then
10095 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10096 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
10098 echo "$as_me:$LINENO: result
: no
" >&5
10099 echo "${ECHO_T}no
" >&6
10103 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10107 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10109 if test $build = $target ; then
10110 DLLTOOL_FOR_TARGET="$2"
10112 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10115 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10119 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10125 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10126 if test -n "$with_build_time_tools"; then
10127 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
10128 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
10129 if test -x $with_build_time_tools/ld; then
10130 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10131 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10132 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10133 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
10135 echo "$as_me:$LINENO: result
: no
" >&5
10136 echo "${ECHO_T}no
" >&6
10138 elif test $build != $host && test $have_gcc_for_target = yes; then
10139 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10140 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10141 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10144 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10145 # Extract the first word of "ld
", so it can be a program name with args.
10146 set dummy ld; ac_word=$2
10147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10149 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
10150 echo $ECHO_N "(cached
) $ECHO_C" >&6
10152 case $LD_FOR_TARGET in
10154 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $gcc_cv_tool_dirs
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10174 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10176 if test -n "$LD_FOR_TARGET"; then
10177 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10178 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10180 echo "$as_me:$LINENO: result
: no
" >&5
10181 echo "${ECHO_T}no
" >&6
10185 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10188 if test -n "$LD_FOR_TARGET"; then
10189 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10190 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10191 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10194 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10195 for ncn_progname in ld; do
10196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10197 set dummy ${ncn_progname}; ac_word=$2
10198 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10199 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10200 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10201 echo $ECHO_N "(cached
) $ECHO_C" >&6
10203 if test -n "$LD_FOR_TARGET"; then
10204 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10213 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10214 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10222 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10223 if test -n "$LD_FOR_TARGET"; then
10224 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10225 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10227 echo "$as_me:$LINENO: result
: no
" >&5
10228 echo "${ECHO_T}no
" >&6
10234 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10235 for ncn_progname in ld; do
10236 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10237 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10238 if test -x $with_build_time_tools/${ncn_progname}; then
10239 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10240 echo "$as_me:$LINENO: result
: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10244 echo "$as_me:$LINENO: result
: no
" >&5
10245 echo "${ECHO_T}no
" >&6
10250 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10251 for ncn_progname in ld; do
10252 if test -n "$ncn_target_tool_prefix"; then
10253 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10254 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10257 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10258 echo $ECHO_N "(cached
) $ECHO_C" >&6
10260 if test -n "$LD_FOR_TARGET"; then
10261 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10267 test -z "$as_dir" && as_dir=.
10268 for ac_exec_ext in '' $ac_executable_extensions; do
10269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10270 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10279 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10280 if test -n "$LD_FOR_TARGET"; then
10281 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10282 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10284 echo "$as_me:$LINENO: result
: no
" >&5
10285 echo "${ECHO_T}no
" >&6
10289 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10291 set dummy ${ncn_progname}; ac_word=$2
10292 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10293 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10294 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10295 echo $ECHO_N "(cached
) $ECHO_C" >&6
10297 if test -n "$LD_FOR_TARGET"; then
10298 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $PATH
10304 test -z "$as_dir" && as_dir=.
10305 for ac_exec_ext in '' $ac_executable_extensions; do
10306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10307 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10308 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10316 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10317 if test -n "$LD_FOR_TARGET"; then
10318 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10319 echo "${ECHO_T}$LD_FOR_TARGET" >&6
10321 echo "$as_me:$LINENO: result
: no
" >&5
10322 echo "${ECHO_T}no
" >&6
10326 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10330 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10332 if test $build = $target ; then
10335 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10338 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10342 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10348 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10349 if test -n "$with_build_time_tools"; then
10350 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10351 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
10352 if test -x $with_build_time_tools/lipo; then
10353 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10354 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10355 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10356 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
10358 echo "$as_me:$LINENO: result
: no
" >&5
10359 echo "${ECHO_T}no
" >&6
10361 elif test $build != $host && test $have_gcc_for_target = yes; then
10362 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10363 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10364 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10367 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10368 # Extract the first word of "lipo
", so it can be a program name with args.
10369 set dummy lipo; ac_word=$2
10370 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10372 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10373 echo $ECHO_N "(cached
) $ECHO_C" >&6
10375 case $LIPO_FOR_TARGET in
10377 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $gcc_cv_tool_dirs
10384 test -z "$as_dir" && as_dir=.
10385 for ac_exec_ext in '' $ac_executable_extensions; do
10386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10387 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10388 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10397 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10399 if test -n "$LIPO_FOR_TARGET"; then
10400 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10401 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10403 echo "$as_me:$LINENO: result
: no
" >&5
10404 echo "${ECHO_T}no
" >&6
10408 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10411 if test -n "$LIPO_FOR_TARGET"; then
10412 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10413 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10414 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10417 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10418 for ncn_progname in lipo; do
10419 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10420 set dummy ${ncn_progname}; ac_word=$2
10421 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10422 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10423 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10424 echo $ECHO_N "(cached
) $ECHO_C" >&6
10426 if test -n "$LIPO_FOR_TARGET"; then
10427 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10430 for as_dir in $PATH
10433 test -z "$as_dir" && as_dir=.
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10437 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10445 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10446 if test -n "$LIPO_FOR_TARGET"; then
10447 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10448 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10450 echo "$as_me:$LINENO: result
: no
" >&5
10451 echo "${ECHO_T}no
" >&6
10457 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10458 for ncn_progname in lipo; do
10459 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10460 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10461 if test -x $with_build_time_tools/${ncn_progname}; then
10462 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10463 echo "$as_me:$LINENO: result
: yes" >&5
10464 echo "${ECHO_T}yes" >&6
10467 echo "$as_me:$LINENO: result
: no
" >&5
10468 echo "${ECHO_T}no
" >&6
10473 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10474 for ncn_progname in lipo; do
10475 if test -n "$ncn_target_tool_prefix"; then
10476 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10477 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10478 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10480 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10481 echo $ECHO_N "(cached
) $ECHO_C" >&6
10483 if test -n "$LIPO_FOR_TARGET"; then
10484 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10490 test -z "$as_dir" && as_dir=.
10491 for ac_exec_ext in '' $ac_executable_extensions; do
10492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10493 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10502 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10503 if test -n "$LIPO_FOR_TARGET"; then
10504 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10505 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10507 echo "$as_me:$LINENO: result
: no
" >&5
10508 echo "${ECHO_T}no
" >&6
10512 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10514 set dummy ${ncn_progname}; ac_word=$2
10515 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10517 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10518 echo $ECHO_N "(cached
) $ECHO_C" >&6
10520 if test -n "$LIPO_FOR_TARGET"; then
10521 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in $PATH
10527 test -z "$as_dir" && as_dir=.
10528 for ac_exec_ext in '' $ac_executable_extensions; do
10529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10530 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10539 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10540 if test -n "$LIPO_FOR_TARGET"; then
10541 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10542 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
10544 echo "$as_me:$LINENO: result
: no
" >&5
10545 echo "${ECHO_T}no
" >&6
10549 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10553 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10555 if test $build = $target ; then
10556 LIPO_FOR_TARGET="$2"
10558 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10561 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10565 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10571 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10572 if test -n "$with_build_time_tools"; then
10573 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10574 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
10575 if test -x $with_build_time_tools/nm; then
10576 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10577 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10578 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10579 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10581 echo "$as_me:$LINENO: result
: no
" >&5
10582 echo "${ECHO_T}no
" >&6
10584 elif test $build != $host && test $have_gcc_for_target = yes; then
10585 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10586 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10587 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10590 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10591 # Extract the first word of "nm
", so it can be a program name with args.
10592 set dummy nm; ac_word=$2
10593 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10594 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10595 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10596 echo $ECHO_N "(cached
) $ECHO_C" >&6
10598 case $NM_FOR_TARGET in
10600 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10604 for as_dir in $gcc_cv_tool_dirs
10607 test -z "$as_dir" && as_dir=.
10608 for ac_exec_ext in '' $ac_executable_extensions; do
10609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10610 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10611 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10620 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10622 if test -n "$NM_FOR_TARGET"; then
10623 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10624 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10626 echo "$as_me:$LINENO: result
: no
" >&5
10627 echo "${ECHO_T}no
" >&6
10631 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10634 if test -n "$NM_FOR_TARGET"; then
10635 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10636 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10637 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10640 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10641 for ncn_progname in nm; do
10642 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10643 set dummy ${ncn_progname}; ac_word=$2
10644 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10645 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10646 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10647 echo $ECHO_N "(cached
) $ECHO_C" >&6
10649 if test -n "$NM_FOR_TARGET"; then
10650 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10653 for as_dir in $PATH
10656 test -z "$as_dir" && as_dir=.
10657 for ac_exec_ext in '' $ac_executable_extensions; do
10658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10659 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10660 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10668 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10669 if test -n "$NM_FOR_TARGET"; then
10670 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10671 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10673 echo "$as_me:$LINENO: result
: no
" >&5
10674 echo "${ECHO_T}no
" >&6
10680 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10681 for ncn_progname in nm; do
10682 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10683 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10684 if test -x $with_build_time_tools/${ncn_progname}; then
10685 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10686 echo "$as_me:$LINENO: result
: yes" >&5
10687 echo "${ECHO_T}yes" >&6
10690 echo "$as_me:$LINENO: result
: no
" >&5
10691 echo "${ECHO_T}no
" >&6
10696 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10697 for ncn_progname in nm; do
10698 if test -n "$ncn_target_tool_prefix"; then
10699 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10700 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10701 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10702 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10703 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10704 echo $ECHO_N "(cached
) $ECHO_C" >&6
10706 if test -n "$NM_FOR_TARGET"; then
10707 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10710 for as_dir in $PATH
10713 test -z "$as_dir" && as_dir=.
10714 for ac_exec_ext in '' $ac_executable_extensions; do
10715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10717 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10725 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10726 if test -n "$NM_FOR_TARGET"; then
10727 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10728 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10730 echo "$as_me:$LINENO: result
: no
" >&5
10731 echo "${ECHO_T}no
" >&6
10735 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10737 set dummy ${ncn_progname}; ac_word=$2
10738 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10739 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10740 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10741 echo $ECHO_N "(cached
) $ECHO_C" >&6
10743 if test -n "$NM_FOR_TARGET"; then
10744 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10747 for as_dir in $PATH
10750 test -z "$as_dir" && as_dir=.
10751 for ac_exec_ext in '' $ac_executable_extensions; do
10752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10753 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10762 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10763 if test -n "$NM_FOR_TARGET"; then
10764 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10765 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10767 echo "$as_me:$LINENO: result
: no
" >&5
10768 echo "${ECHO_T}no
" >&6
10772 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10776 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10778 if test $build = $target ; then
10781 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10784 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10788 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10794 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10795 if test -n "$with_build_time_tools"; then
10796 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10797 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
10798 if test -x $with_build_time_tools/objdump; then
10799 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10800 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10801 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10802 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10804 echo "$as_me:$LINENO: result
: no
" >&5
10805 echo "${ECHO_T}no
" >&6
10807 elif test $build != $host && test $have_gcc_for_target = yes; then
10808 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10809 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10810 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10813 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10814 # Extract the first word of "objdump
", so it can be a program name with args.
10815 set dummy objdump; ac_word=$2
10816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10818 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10819 echo $ECHO_N "(cached
) $ECHO_C" >&6
10821 case $OBJDUMP_FOR_TARGET in
10823 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $gcc_cv_tool_dirs
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10834 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10843 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10845 if test -n "$OBJDUMP_FOR_TARGET"; then
10846 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10847 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10849 echo "$as_me:$LINENO: result
: no
" >&5
10850 echo "${ECHO_T}no
" >&6
10854 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10857 if test -n "$OBJDUMP_FOR_TARGET"; then
10858 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10859 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10860 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10863 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10864 for ncn_progname in objdump; do
10865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10866 set dummy ${ncn_progname}; ac_word=$2
10867 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10868 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10869 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10870 echo $ECHO_N "(cached
) $ECHO_C" >&6
10872 if test -n "$OBJDUMP_FOR_TARGET"; then
10873 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 for as_dir in $PATH
10879 test -z "$as_dir" && as_dir=.
10880 for ac_exec_ext in '' $ac_executable_extensions; do
10881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10882 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10883 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10891 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10892 if test -n "$OBJDUMP_FOR_TARGET"; then
10893 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10894 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10896 echo "$as_me:$LINENO: result
: no
" >&5
10897 echo "${ECHO_T}no
" >&6
10903 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10904 for ncn_progname in objdump; do
10905 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10906 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10907 if test -x $with_build_time_tools/${ncn_progname}; then
10908 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10909 echo "$as_me:$LINENO: result
: yes" >&5
10910 echo "${ECHO_T}yes" >&6
10913 echo "$as_me:$LINENO: result
: no
" >&5
10914 echo "${ECHO_T}no
" >&6
10919 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10920 for ncn_progname in objdump; do
10921 if test -n "$ncn_target_tool_prefix"; then
10922 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10923 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10924 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10925 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10926 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10927 echo $ECHO_N "(cached
) $ECHO_C" >&6
10929 if test -n "$OBJDUMP_FOR_TARGET"; then
10930 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10933 for as_dir in $PATH
10936 test -z "$as_dir" && as_dir=.
10937 for ac_exec_ext in '' $ac_executable_extensions; do
10938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10939 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10940 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10948 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10949 if test -n "$OBJDUMP_FOR_TARGET"; then
10950 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10951 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10953 echo "$as_me:$LINENO: result
: no
" >&5
10954 echo "${ECHO_T}no
" >&6
10958 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10959 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10960 set dummy ${ncn_progname}; ac_word=$2
10961 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10962 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10963 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10964 echo $ECHO_N "(cached
) $ECHO_C" >&6
10966 if test -n "$OBJDUMP_FOR_TARGET"; then
10967 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10970 for as_dir in $PATH
10973 test -z "$as_dir" && as_dir=.
10974 for ac_exec_ext in '' $ac_executable_extensions; do
10975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10977 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10985 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10986 if test -n "$OBJDUMP_FOR_TARGET"; then
10987 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10988 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10990 echo "$as_me:$LINENO: result
: no
" >&5
10991 echo "${ECHO_T}no
" >&6
10995 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10999 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11001 if test $build = $target ; then
11002 OBJDUMP_FOR_TARGET="$2"
11004 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11007 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11011 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11017 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11018 if test -n "$with_build_time_tools"; then
11019 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
11020 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
11021 if test -x $with_build_time_tools/ranlib; then
11022 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11023 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11024 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11025 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
11027 echo "$as_me:$LINENO: result
: no
" >&5
11028 echo "${ECHO_T}no
" >&6
11030 elif test $build != $host && test $have_gcc_for_target = yes; then
11031 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11032 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11033 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11036 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11037 # Extract the first word of "ranlib
", so it can be a program name with args.
11038 set dummy ranlib; ac_word=$2
11039 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11041 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
11042 echo $ECHO_N "(cached
) $ECHO_C" >&6
11044 case $RANLIB_FOR_TARGET in
11046 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11050 for as_dir in $gcc_cv_tool_dirs
11053 test -z "$as_dir" && as_dir=.
11054 for ac_exec_ext in '' $ac_executable_extensions; do
11055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11056 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11066 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11068 if test -n "$RANLIB_FOR_TARGET"; then
11069 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11070 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11072 echo "$as_me:$LINENO: result
: no
" >&5
11073 echo "${ECHO_T}no
" >&6
11077 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11080 if test -n "$RANLIB_FOR_TARGET"; then
11081 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11082 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11083 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11086 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11087 for ncn_progname in ranlib; do
11088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11089 set dummy ${ncn_progname}; ac_word=$2
11090 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11091 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11092 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11093 echo $ECHO_N "(cached
) $ECHO_C" >&6
11095 if test -n "$RANLIB_FOR_TARGET"; then
11096 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11106 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11114 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11115 if test -n "$RANLIB_FOR_TARGET"; then
11116 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11117 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11119 echo "$as_me:$LINENO: result
: no
" >&5
11120 echo "${ECHO_T}no
" >&6
11126 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11127 for ncn_progname in ranlib; do
11128 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11129 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11130 if test -x $with_build_time_tools/${ncn_progname}; then
11131 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11132 echo "$as_me:$LINENO: result
: yes" >&5
11133 echo "${ECHO_T}yes" >&6
11136 echo "$as_me:$LINENO: result
: no
" >&5
11137 echo "${ECHO_T}no
" >&6
11142 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11143 for ncn_progname in ranlib; do
11144 if test -n "$ncn_target_tool_prefix"; then
11145 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11147 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11149 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11150 echo $ECHO_N "(cached
) $ECHO_C" >&6
11152 if test -n "$RANLIB_FOR_TARGET"; then
11153 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11156 for as_dir in $PATH
11159 test -z "$as_dir" && as_dir=.
11160 for ac_exec_ext in '' $ac_executable_extensions; do
11161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11162 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11163 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11171 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11172 if test -n "$RANLIB_FOR_TARGET"; then
11173 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11174 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11176 echo "$as_me:$LINENO: result
: no
" >&5
11177 echo "${ECHO_T}no
" >&6
11181 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11183 set dummy ${ncn_progname}; ac_word=$2
11184 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11185 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11186 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11187 echo $ECHO_N "(cached
) $ECHO_C" >&6
11189 if test -n "$RANLIB_FOR_TARGET"; then
11190 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11193 for as_dir in $PATH
11196 test -z "$as_dir" && as_dir=.
11197 for ac_exec_ext in '' $ac_executable_extensions; do
11198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11199 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11200 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11208 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11209 if test -n "$RANLIB_FOR_TARGET"; then
11210 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11211 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
11213 echo "$as_me:$LINENO: result
: no
" >&5
11214 echo "${ECHO_T}no
" >&6
11218 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11222 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11224 if test $build = $target ; then
11225 RANLIB_FOR_TARGET="$2"
11227 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11230 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11234 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11240 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11241 if test -n "$with_build_time_tools"; then
11242 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
11243 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
11244 if test -x $with_build_time_tools/strip; then
11245 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11246 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11247 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11248 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
11250 echo "$as_me:$LINENO: result
: no
" >&5
11251 echo "${ECHO_T}no
" >&6
11253 elif test $build != $host && test $have_gcc_for_target = yes; then
11254 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11255 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11256 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11259 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11260 # Extract the first word of "strip
", so it can be a program name with args.
11261 set dummy strip; ac_word=$2
11262 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11263 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11264 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11265 echo $ECHO_N "(cached
) $ECHO_C" >&6
11267 case $STRIP_FOR_TARGET in
11269 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11273 for as_dir in $gcc_cv_tool_dirs
11276 test -z "$as_dir" && as_dir=.
11277 for ac_exec_ext in '' $ac_executable_extensions; do
11278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11279 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11289 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11291 if test -n "$STRIP_FOR_TARGET"; then
11292 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11293 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11295 echo "$as_me:$LINENO: result
: no
" >&5
11296 echo "${ECHO_T}no
" >&6
11300 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11303 if test -n "$STRIP_FOR_TARGET"; then
11304 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11305 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11306 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11309 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11310 for ncn_progname in strip; do
11311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11312 set dummy ${ncn_progname}; ac_word=$2
11313 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11314 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11315 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11316 echo $ECHO_N "(cached
) $ECHO_C" >&6
11318 if test -n "$STRIP_FOR_TARGET"; then
11319 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11322 for as_dir in $PATH
11325 test -z "$as_dir" && as_dir=.
11326 for ac_exec_ext in '' $ac_executable_extensions; do
11327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11328 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11329 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11337 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11338 if test -n "$STRIP_FOR_TARGET"; then
11339 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11340 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11342 echo "$as_me:$LINENO: result
: no
" >&5
11343 echo "${ECHO_T}no
" >&6
11349 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11350 for ncn_progname in strip; do
11351 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11352 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11353 if test -x $with_build_time_tools/${ncn_progname}; then
11354 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11355 echo "$as_me:$LINENO: result
: yes" >&5
11356 echo "${ECHO_T}yes" >&6
11359 echo "$as_me:$LINENO: result
: no
" >&5
11360 echo "${ECHO_T}no
" >&6
11365 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11366 for ncn_progname in strip; do
11367 if test -n "$ncn_target_tool_prefix"; then
11368 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11369 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11370 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11372 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11373 echo $ECHO_N "(cached
) $ECHO_C" >&6
11375 if test -n "$STRIP_FOR_TARGET"; then
11376 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11379 for as_dir in $PATH
11382 test -z "$as_dir" && as_dir=.
11383 for ac_exec_ext in '' $ac_executable_extensions; do
11384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11386 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11394 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11395 if test -n "$STRIP_FOR_TARGET"; then
11396 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11397 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11399 echo "$as_me:$LINENO: result
: no
" >&5
11400 echo "${ECHO_T}no
" >&6
11404 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11406 set dummy ${ncn_progname}; ac_word=$2
11407 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11408 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11409 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11410 echo $ECHO_N "(cached
) $ECHO_C" >&6
11412 if test -n "$STRIP_FOR_TARGET"; then
11413 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11423 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11431 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11432 if test -n "$STRIP_FOR_TARGET"; then
11433 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11434 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
11436 echo "$as_me:$LINENO: result
: no
" >&5
11437 echo "${ECHO_T}no
" >&6
11441 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11445 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11447 if test $build = $target ; then
11448 STRIP_FOR_TARGET="$2"
11450 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11453 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11457 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11463 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11464 if test -n "$with_build_time_tools"; then
11465 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11466 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
11467 if test -x $with_build_time_tools/windres; then
11468 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11469 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11470 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11471 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
11473 echo "$as_me:$LINENO: result
: no
" >&5
11474 echo "${ECHO_T}no
" >&6
11476 elif test $build != $host && test $have_gcc_for_target = yes; then
11477 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11478 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11479 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11482 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11483 # Extract the first word of "windres
", so it can be a program name with args.
11484 set dummy windres; ac_word=$2
11485 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11486 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11487 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11488 echo $ECHO_N "(cached
) $ECHO_C" >&6
11490 case $WINDRES_FOR_TARGET in
11492 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11496 for as_dir in $gcc_cv_tool_dirs
11499 test -z "$as_dir" && as_dir=.
11500 for ac_exec_ext in '' $ac_executable_extensions; do
11501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11502 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11503 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11512 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11514 if test -n "$WINDRES_FOR_TARGET"; then
11515 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11516 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11518 echo "$as_me:$LINENO: result
: no
" >&5
11519 echo "${ECHO_T}no
" >&6
11523 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11526 if test -n "$WINDRES_FOR_TARGET"; then
11527 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11528 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11529 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11532 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11533 for ncn_progname in windres; do
11534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11535 set dummy ${ncn_progname}; ac_word=$2
11536 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11537 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11538 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11539 echo $ECHO_N "(cached
) $ECHO_C" >&6
11541 if test -n "$WINDRES_FOR_TARGET"; then
11542 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11545 for as_dir in $PATH
11548 test -z "$as_dir" && as_dir=.
11549 for ac_exec_ext in '' $ac_executable_extensions; do
11550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11551 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11552 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11560 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11561 if test -n "$WINDRES_FOR_TARGET"; then
11562 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11563 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11565 echo "$as_me:$LINENO: result
: no
" >&5
11566 echo "${ECHO_T}no
" >&6
11572 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11573 for ncn_progname in windres; do
11574 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11575 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11576 if test -x $with_build_time_tools/${ncn_progname}; then
11577 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11578 echo "$as_me:$LINENO: result
: yes" >&5
11579 echo "${ECHO_T}yes" >&6
11582 echo "$as_me:$LINENO: result
: no
" >&5
11583 echo "${ECHO_T}no
" >&6
11588 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11589 for ncn_progname in windres; do
11590 if test -n "$ncn_target_tool_prefix"; then
11591 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11592 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11593 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11594 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11595 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11596 echo $ECHO_N "(cached
) $ECHO_C" >&6
11598 if test -n "$WINDRES_FOR_TARGET"; then
11599 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11602 for as_dir in $PATH
11605 test -z "$as_dir" && as_dir=.
11606 for ac_exec_ext in '' $ac_executable_extensions; do
11607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11608 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11609 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11617 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11618 if test -n "$WINDRES_FOR_TARGET"; then
11619 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11620 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11622 echo "$as_me:$LINENO: result
: no
" >&5
11623 echo "${ECHO_T}no
" >&6
11627 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11629 set dummy ${ncn_progname}; ac_word=$2
11630 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11631 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11632 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11633 echo $ECHO_N "(cached
) $ECHO_C" >&6
11635 if test -n "$WINDRES_FOR_TARGET"; then
11636 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11639 for as_dir in $PATH
11642 test -z "$as_dir" && as_dir=.
11643 for ac_exec_ext in '' $ac_executable_extensions; do
11644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11645 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11646 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11654 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11655 if test -n "$WINDRES_FOR_TARGET"; then
11656 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11657 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11659 echo "$as_me:$LINENO: result
: no
" >&5
11660 echo "${ECHO_T}no
" >&6
11664 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11668 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11670 if test $build = $target ; then
11671 WINDRES_FOR_TARGET="$2"
11673 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11676 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11680 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11686 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11687 if test -n "$with_build_time_tools"; then
11688 echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11689 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6
11690 if test -x $with_build_time_tools/windmc; then
11691 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11692 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11693 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11694 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11696 echo "$as_me:$LINENO: result
: no
" >&5
11697 echo "${ECHO_T}no
" >&6
11699 elif test $build != $host && test $have_gcc_for_target = yes; then
11700 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11701 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11702 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11705 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11706 # Extract the first word of "windmc
", so it can be a program name with args.
11707 set dummy windmc; ac_word=$2
11708 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11709 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11710 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11711 echo $ECHO_N "(cached
) $ECHO_C" >&6
11713 case $WINDMC_FOR_TARGET in
11715 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11719 for as_dir in $gcc_cv_tool_dirs
11722 test -z "$as_dir" && as_dir=.
11723 for ac_exec_ext in '' $ac_executable_extensions; do
11724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11725 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11726 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11735 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11737 if test -n "$WINDMC_FOR_TARGET"; then
11738 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11739 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11741 echo "$as_me:$LINENO: result
: no
" >&5
11742 echo "${ECHO_T}no
" >&6
11746 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11749 if test -n "$WINDMC_FOR_TARGET"; then
11750 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11751 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11752 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11755 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11756 for ncn_progname in windmc; do
11757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11758 set dummy ${ncn_progname}; ac_word=$2
11759 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11760 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11761 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11762 echo $ECHO_N "(cached
) $ECHO_C" >&6
11764 if test -n "$WINDMC_FOR_TARGET"; then
11765 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11768 for as_dir in $PATH
11771 test -z "$as_dir" && as_dir=.
11772 for ac_exec_ext in '' $ac_executable_extensions; do
11773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11774 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11775 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11783 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11784 if test -n "$WINDMC_FOR_TARGET"; then
11785 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11786 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11788 echo "$as_me:$LINENO: result
: no
" >&5
11789 echo "${ECHO_T}no
" >&6
11795 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11796 for ncn_progname in windmc; do
11797 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11798 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
11799 if test -x $with_build_time_tools/${ncn_progname}; then
11800 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11801 echo "$as_me:$LINENO: result
: yes" >&5
11802 echo "${ECHO_T}yes" >&6
11805 echo "$as_me:$LINENO: result
: no
" >&5
11806 echo "${ECHO_T}no
" >&6
11811 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11812 for ncn_progname in windmc; do
11813 if test -n "$ncn_target_tool_prefix"; then
11814 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11815 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11818 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11819 echo $ECHO_N "(cached
) $ECHO_C" >&6
11821 if test -n "$WINDMC_FOR_TARGET"; then
11822 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11828 test -z "$as_dir" && as_dir=.
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11831 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11832 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11840 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11841 if test -n "$WINDMC_FOR_TARGET"; then
11842 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11843 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11845 echo "$as_me:$LINENO: result
: no
" >&5
11846 echo "${ECHO_T}no
" >&6
11850 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11852 set dummy ${ncn_progname}; ac_word=$2
11853 echo "$as_me:$LINENO: checking
for $ac_word" >&5
11854 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
11855 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11856 echo $ECHO_N "(cached
) $ECHO_C" >&6
11858 if test -n "$WINDMC_FOR_TARGET"; then
11859 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11862 for as_dir in $PATH
11865 test -z "$as_dir" && as_dir=.
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11868 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11877 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11878 if test -n "$WINDMC_FOR_TARGET"; then
11879 echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11880 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11882 echo "$as_me:$LINENO: result
: no
" >&5
11883 echo "${ECHO_T}no
" >&6
11887 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11891 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11893 if test $build = $target ; then
11894 WINDMC_FOR_TARGET="$2"
11896 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11899 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11903 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11907 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11909 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
11910 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
11911 if test "x
${build}" != "x
${host}" ; then
11912 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11913 # We already found the complete path
11914 ac_dir=`dirname $AR_FOR_TARGET`
11915 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11916 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11918 # Canadian cross, just use what we found
11919 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11920 echo "${ECHO_T}pre-installed
" >&6
11924 case " ${configdirs} " in
11929 if test $ok = yes; then
11930 # An in-tree tool is available and we can use it
11931 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11932 echo "$as_me:$LINENO: result
: just compiled
" >&5
11933 echo "${ECHO_T}just compiled
" >&6
11934 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
11935 # We already found the complete path
11936 ac_dir=`dirname $AR_FOR_TARGET`
11937 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11938 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11939 elif test "x
$target" = "x
$host"; then
11940 # We can use an host tool
11941 AR_FOR_TARGET='$(AR)'
11942 echo "$as_me:$LINENO: result
: host tool
" >&5
11943 echo "${ECHO_T}host tool
" >&6
11945 # We need a cross tool
11946 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11947 echo "${ECHO_T}pre-installed
" >&6
11951 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
11952 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
11953 if test "x
${build}" != "x
${host}" ; then
11954 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11955 # We already found the complete path
11956 ac_dir=`dirname $AS_FOR_TARGET`
11957 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11958 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11960 # Canadian cross, just use what we found
11961 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11962 echo "${ECHO_T}pre-installed
" >&6
11966 case " ${configdirs} " in
11971 if test $ok = yes; then
11972 # An in-tree tool is available and we can use it
11973 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11974 echo "$as_me:$LINENO: result
: just compiled
" >&5
11975 echo "${ECHO_T}just compiled
" >&6
11976 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
11977 # We already found the complete path
11978 ac_dir=`dirname $AS_FOR_TARGET`
11979 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
11980 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
11981 elif test "x
$target" = "x
$host"; then
11982 # We can use an host tool
11983 AS_FOR_TARGET='$(AS)'
11984 echo "$as_me:$LINENO: result
: host tool
" >&5
11985 echo "${ECHO_T}host tool
" >&6
11987 # We need a cross tool
11988 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11989 echo "${ECHO_T}pre-installed
" >&6
11993 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
11994 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
11995 if test "x
${build}" != "x
${host}" ; then
11996 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
11997 # We already found the complete path
11998 ac_dir=`dirname $CC_FOR_TARGET`
11999 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12000 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12002 # Canadian cross, just use what we found
12003 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12004 echo "${ECHO_T}pre-installed
" >&6
12008 case " ${configdirs} " in
12013 if test $ok = yes; then
12014 # An in-tree tool is available and we can use it
12015 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12016 echo "$as_me:$LINENO: result
: just compiled
" >&5
12017 echo "${ECHO_T}just compiled
" >&6
12018 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12019 # We already found the complete path
12020 ac_dir=`dirname $CC_FOR_TARGET`
12021 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12022 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12023 elif test "x
$target" = "x
$host"; then
12024 # We can use an host tool
12025 CC_FOR_TARGET='$(CC)'
12026 echo "$as_me:$LINENO: result
: host tool
" >&5
12027 echo "${ECHO_T}host tool
" >&6
12029 # We need a cross tool
12030 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12031 echo "${ECHO_T}pre-installed
" >&6
12035 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
12036 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
12037 if test "x
${build}" != "x
${host}" ; then
12038 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12039 # We already found the complete path
12040 ac_dir=`dirname $CXX_FOR_TARGET`
12041 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12042 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12044 # Canadian cross, just use what we found
12045 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12046 echo "${ECHO_T}pre-installed
" >&6
12050 case " ${configdirs} " in
12054 case ,${enable_languages}, in
12058 if test $ok = yes; then
12059 # An in-tree tool is available and we can use it
12060 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'
12061 echo "$as_me:$LINENO: result
: just compiled
" >&5
12062 echo "${ECHO_T}just compiled
" >&6
12063 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12064 # We already found the complete path
12065 ac_dir=`dirname $CXX_FOR_TARGET`
12066 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12067 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12068 elif test "x
$target" = "x
$host"; then
12069 # We can use an host tool
12070 CXX_FOR_TARGET='$(CXX)'
12071 echo "$as_me:$LINENO: result
: host tool
" >&5
12072 echo "${ECHO_T}host tool
" >&6
12074 # We need a cross tool
12075 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12076 echo "${ECHO_T}pre-installed
" >&6
12080 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
12081 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
12082 if test "x
${build}" != "x
${host}" ; then
12083 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12084 # We already found the complete path
12085 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12086 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12087 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12089 # Canadian cross, just use what we found
12090 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12091 echo "${ECHO_T}pre-installed
" >&6
12095 case " ${configdirs} " in
12099 case ,${enable_languages}, in
12103 if test $ok = yes; then
12104 # An in-tree tool is available and we can use it
12105 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'
12106 echo "$as_me:$LINENO: result
: just compiled
" >&5
12107 echo "${ECHO_T}just compiled
" >&6
12108 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12109 # We already found the complete path
12110 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12111 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12112 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12113 elif test "x
$target" = "x
$host"; then
12114 # We can use an host tool
12115 RAW_CXX_FOR_TARGET='$(CXX)'
12116 echo "$as_me:$LINENO: result
: host tool
" >&5
12117 echo "${ECHO_T}host tool
" >&6
12119 # We need a cross tool
12120 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12121 echo "${ECHO_T}pre-installed
" >&6
12125 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
12126 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
12127 if test "x
${build}" != "x
${host}" ; then
12128 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12129 # We already found the complete path
12130 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12131 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12132 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12134 # Canadian cross, just use what we found
12135 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12136 echo "${ECHO_T}pre-installed
" >&6
12140 case " ${configdirs} " in
12145 if test $ok = yes; then
12146 # An in-tree tool is available and we can use it
12147 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12148 echo "$as_me:$LINENO: result
: just compiled
" >&5
12149 echo "${ECHO_T}just compiled
" >&6
12150 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12151 # We already found the complete path
12152 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12153 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12154 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12155 elif test "x
$target" = "x
$host"; then
12156 # We can use an host tool
12157 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12158 echo "$as_me:$LINENO: result
: host tool
" >&5
12159 echo "${ECHO_T}host tool
" >&6
12161 # We need a cross tool
12162 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12163 echo "${ECHO_T}pre-installed
" >&6
12167 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
12168 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
12169 if test "x
${build}" != "x
${host}" ; then
12170 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12171 # We already found the complete path
12172 ac_dir=`dirname $GCC_FOR_TARGET`
12173 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12174 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12176 # Canadian cross, just use what we found
12177 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12178 echo "${ECHO_T}pre-installed
" >&6
12182 case " ${configdirs} " in
12187 if test $ok = yes; then
12188 # An in-tree tool is available and we can use it
12189 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12190 echo "$as_me:$LINENO: result
: just compiled
" >&5
12191 echo "${ECHO_T}just compiled
" >&6
12192 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12193 # We already found the complete path
12194 ac_dir=`dirname $GCC_FOR_TARGET`
12195 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12196 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12197 elif test "x
$target" = "x
$host"; then
12198 # We can use an host tool
12199 GCC_FOR_TARGET='$()'
12200 echo "$as_me:$LINENO: result
: host tool
" >&5
12201 echo "${ECHO_T}host tool
" >&6
12203 # We need a cross tool
12204 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12205 echo "${ECHO_T}pre-installed
" >&6
12209 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
12210 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
12211 if test "x
${build}" != "x
${host}" ; then
12212 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12213 # We already found the complete path
12214 ac_dir=`dirname $GCJ_FOR_TARGET`
12215 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12216 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12218 # Canadian cross, just use what we found
12219 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12220 echo "${ECHO_T}pre-installed
" >&6
12224 case " ${configdirs} " in
12228 case ,${enable_languages}, in
12232 if test $ok = yes; then
12233 # An in-tree tool is available and we can use it
12234 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12235 echo "$as_me:$LINENO: result
: just compiled
" >&5
12236 echo "${ECHO_T}just compiled
" >&6
12237 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12238 # We already found the complete path
12239 ac_dir=`dirname $GCJ_FOR_TARGET`
12240 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12241 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12242 elif test "x
$target" = "x
$host"; then
12243 # We can use an host tool
12244 GCJ_FOR_TARGET='$(GCJ)'
12245 echo "$as_me:$LINENO: result
: host tool
" >&5
12246 echo "${ECHO_T}host tool
" >&6
12248 # We need a cross tool
12249 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12250 echo "${ECHO_T}pre-installed
" >&6
12254 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12255 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
12256 if test "x
${build}" != "x
${host}" ; then
12257 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12258 # We already found the complete path
12259 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12260 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12261 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12263 # Canadian cross, just use what we found
12264 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12265 echo "${ECHO_T}pre-installed
" >&6
12269 case " ${configdirs} " in
12273 case ,${enable_languages}, in
12277 if test $ok = yes; then
12278 # An in-tree tool is available and we can use it
12279 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12280 echo "$as_me:$LINENO: result
: just compiled
" >&5
12281 echo "${ECHO_T}just compiled
" >&6
12282 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12283 # We already found the complete path
12284 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12285 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12286 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12287 elif test "x
$target" = "x
$host"; then
12288 # We can use an host tool
12289 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12290 echo "$as_me:$LINENO: result
: host tool
" >&5
12291 echo "${ECHO_T}host tool
" >&6
12293 # We need a cross tool
12294 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12295 echo "${ECHO_T}pre-installed
" >&6
12299 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12300 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
12301 if test "x
${build}" != "x
${host}" ; then
12302 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12303 # We already found the complete path
12304 ac_dir=`dirname $LD_FOR_TARGET`
12305 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12306 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12308 # Canadian cross, just use what we found
12309 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12310 echo "${ECHO_T}pre-installed
" >&6
12314 case " ${configdirs} " in
12319 if test $ok = yes; then
12320 # An in-tree tool is available and we can use it
12321 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12322 echo "$as_me:$LINENO: result
: just compiled
" >&5
12323 echo "${ECHO_T}just compiled
" >&6
12324 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12325 # We already found the complete path
12326 ac_dir=`dirname $LD_FOR_TARGET`
12327 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12328 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12329 elif test "x
$target" = "x
$host"; then
12330 # We can use an host tool
12331 LD_FOR_TARGET='$(LD)'
12332 echo "$as_me:$LINENO: result
: host tool
" >&5
12333 echo "${ECHO_T}host tool
" >&6
12335 # We need a cross tool
12336 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12337 echo "${ECHO_T}pre-installed
" >&6
12341 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12342 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
12343 if test "x
${build}" != "x
${host}" ; then
12344 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12345 # We already found the complete path
12346 ac_dir=`dirname $LIPO_FOR_TARGET`
12347 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12348 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12350 # Canadian cross, just use what we found
12351 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12352 echo "${ECHO_T}pre-installed
" >&6
12355 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12356 # We already found the complete path
12357 ac_dir=`dirname $LIPO_FOR_TARGET`
12358 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12359 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12360 elif test "x
$target" = "x
$host"; then
12361 # We can use an host tool
12362 LIPO_FOR_TARGET='$(LIPO)'
12363 echo "$as_me:$LINENO: result
: host tool
" >&5
12364 echo "${ECHO_T}host tool
" >&6
12366 # We need a cross tool
12367 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12368 echo "${ECHO_T}pre-installed
" >&6
12372 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12373 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
12374 if test "x
${build}" != "x
${host}" ; then
12375 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12376 # We already found the complete path
12377 ac_dir=`dirname $NM_FOR_TARGET`
12378 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12379 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12381 # Canadian cross, just use what we found
12382 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12383 echo "${ECHO_T}pre-installed
" >&6
12387 case " ${configdirs} " in
12392 if test $ok = yes; then
12393 # An in-tree tool is available and we can use it
12394 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12395 echo "$as_me:$LINENO: result
: just compiled
" >&5
12396 echo "${ECHO_T}just compiled
" >&6
12397 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12398 # We already found the complete path
12399 ac_dir=`dirname $NM_FOR_TARGET`
12400 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12401 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12402 elif test "x
$target" = "x
$host"; then
12403 # We can use an host tool
12404 NM_FOR_TARGET='$(NM)'
12405 echo "$as_me:$LINENO: result
: host tool
" >&5
12406 echo "${ECHO_T}host tool
" >&6
12408 # We need a cross tool
12409 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12410 echo "${ECHO_T}pre-installed
" >&6
12414 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12415 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
12416 if test "x
${build}" != "x
${host}" ; then
12417 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12418 # We already found the complete path
12419 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12420 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12421 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12423 # Canadian cross, just use what we found
12424 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12425 echo "${ECHO_T}pre-installed
" >&6
12429 case " ${configdirs} " in
12434 if test $ok = yes; then
12435 # An in-tree tool is available and we can use it
12436 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12437 echo "$as_me:$LINENO: result
: just compiled
" >&5
12438 echo "${ECHO_T}just compiled
" >&6
12439 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12440 # We already found the complete path
12441 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12442 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12443 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12444 elif test "x
$target" = "x
$host"; then
12445 # We can use an host tool
12446 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12447 echo "$as_me:$LINENO: result
: host tool
" >&5
12448 echo "${ECHO_T}host tool
" >&6
12450 # We need a cross tool
12451 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12452 echo "${ECHO_T}pre-installed
" >&6
12456 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12457 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
12458 if test "x
${build}" != "x
${host}" ; then
12459 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12460 # We already found the complete path
12461 ac_dir=`dirname $RANLIB_FOR_TARGET`
12462 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12463 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12465 # Canadian cross, just use what we found
12466 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12467 echo "${ECHO_T}pre-installed
" >&6
12471 case " ${configdirs} " in
12476 if test $ok = yes; then
12477 # An in-tree tool is available and we can use it
12478 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12479 echo "$as_me:$LINENO: result
: just compiled
" >&5
12480 echo "${ECHO_T}just compiled
" >&6
12481 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12482 # We already found the complete path
12483 ac_dir=`dirname $RANLIB_FOR_TARGET`
12484 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12485 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12486 elif test "x
$target" = "x
$host"; then
12487 # We can use an host tool
12488 RANLIB_FOR_TARGET='$(RANLIB)'
12489 echo "$as_me:$LINENO: result
: host tool
" >&5
12490 echo "${ECHO_T}host tool
" >&6
12492 # We need a cross tool
12493 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12494 echo "${ECHO_T}pre-installed
" >&6
12498 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12499 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
12500 if test "x
${build}" != "x
${host}" ; then
12501 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12502 # We already found the complete path
12503 ac_dir=`dirname $STRIP_FOR_TARGET`
12504 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12505 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12507 # Canadian cross, just use what we found
12508 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12509 echo "${ECHO_T}pre-installed
" >&6
12513 case " ${configdirs} " in
12518 if test $ok = yes; then
12519 # An in-tree tool is available and we can use it
12520 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12521 echo "$as_me:$LINENO: result
: just compiled
" >&5
12522 echo "${ECHO_T}just compiled
" >&6
12523 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12524 # We already found the complete path
12525 ac_dir=`dirname $STRIP_FOR_TARGET`
12526 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12527 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12528 elif test "x
$target" = "x
$host"; then
12529 # We can use an host tool
12530 STRIP_FOR_TARGET='$(STRIP)'
12531 echo "$as_me:$LINENO: result
: host tool
" >&5
12532 echo "${ECHO_T}host tool
" >&6
12534 # We need a cross tool
12535 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12536 echo "${ECHO_T}pre-installed
" >&6
12540 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12541 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
12542 if test "x
${build}" != "x
${host}" ; then
12543 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12544 # We already found the complete path
12545 ac_dir=`dirname $WINDRES_FOR_TARGET`
12546 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12547 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12549 # Canadian cross, just use what we found
12550 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12551 echo "${ECHO_T}pre-installed
" >&6
12555 case " ${configdirs} " in
12560 if test $ok = yes; then
12561 # An in-tree tool is available and we can use it
12562 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12563 echo "$as_me:$LINENO: result
: just compiled
" >&5
12564 echo "${ECHO_T}just compiled
" >&6
12565 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12566 # We already found the complete path
12567 ac_dir=`dirname $WINDRES_FOR_TARGET`
12568 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12569 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12570 elif test "x
$target" = "x
$host"; then
12571 # We can use an host tool
12572 WINDRES_FOR_TARGET='$(WINDRES)'
12573 echo "$as_me:$LINENO: result
: host tool
" >&5
12574 echo "${ECHO_T}host tool
" >&6
12576 # We need a cross tool
12577 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12578 echo "${ECHO_T}pre-installed
" >&6
12582 echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12583 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6
12584 if test "x
${build}" != "x
${host}" ; then
12585 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12586 # We already found the complete path
12587 ac_dir=`dirname $WINDMC_FOR_TARGET`
12588 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12589 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12591 # Canadian cross, just use what we found
12592 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12593 echo "${ECHO_T}pre-installed
" >&6
12597 case " ${configdirs} " in
12602 if test $ok = yes; then
12603 # An in-tree tool is available and we can use it
12604 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12605 echo "$as_me:$LINENO: result
: just compiled
" >&5
12606 echo "${ECHO_T}just compiled
" >&6
12607 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12608 # We already found the complete path
12609 ac_dir=`dirname $WINDMC_FOR_TARGET`
12610 echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12611 echo "${ECHO_T}pre-installed
in $ac_dir" >&6
12612 elif test "x
$target" = "x
$host"; then
12613 # We can use an host tool
12614 WINDMC_FOR_TARGET='$(WINDMC)'
12615 echo "$as_me:$LINENO: result
: host tool
" >&5
12616 echo "${ECHO_T}host tool
" >&6
12618 # We need a cross tool
12619 echo "$as_me:$LINENO: result
: pre-installed
" >&5
12620 echo "${ECHO_T}pre-installed
" >&6
12628 # Certain tools may need extra flags.
12629 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12630 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12631 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12633 # When building target libraries, except in a Canadian cross, we use
12634 # the same toolchain as the compiler we just built.
12635 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12636 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12637 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12638 if test $host = $build; then
12639 case " $configdirs " in
12641 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12642 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12643 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12652 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12653 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
12654 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12655 if test "${enable_maintainer_mode+set}" = set; then
12656 enableval="$enable_maintainer_mode"
12657 USE_MAINTAINER_MODE=$enableval
12659 USE_MAINTAINER_MODE=no
12661 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12662 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12665 if test "$USE_MAINTAINER_MODE" = yes; then
12666 MAINTAINER_MODE_TRUE=
12667 MAINTAINER_MODE_FALSE='#'
12669 MAINTAINER_MODE_TRUE='#'
12670 MAINTAINER_MODE_FALSE=
12672 MAINT=$MAINTAINER_MODE_TRUE
12674 # ---------------------
12675 # GCC bootstrap support
12676 # ---------------------
12678 # Stage specific cflags for build.
12683 yes) stage1_cflags="-g -Wa,-J" ;;
12684 *) stage1_cflags="-g -J" ;;
12688 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12689 if test "$GCC" = yes; then
12690 saved_CFLAGS="$CFLAGS"
12692 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12693 CFLAGS="$CFLAGS -fkeep-inline-functions"
12694 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12695 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
12696 cat >conftest.$ac_ext <<_ACEOF
12699 cat confdefs.h >>conftest.$ac_ext
12700 cat >>conftest.$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12703 #if (__GNUC__ < 3) \
12704 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12705 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12706 #error http://gcc.gnu.org/PR29382
12717 rm -f conftest.$ac_objext
12718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12719 (eval $ac_compile) 2>conftest.er1
12721 grep -v '^ *+' conftest.er1 >conftest.err
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12725 (exit $ac_status); } &&
12726 { ac_try='test -z "$ac_c_werror_flag"
12727 || test ! -s conftest.err'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12732 (exit $ac_status); }; } &&
12733 { ac_try='test -s conftest.$ac_objext'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12738 (exit $ac_status); }; }; then
12739 echo "$as_me:$LINENO: result
: yes" >&5
12740 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12742 echo "$as_me: failed program was
:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 echo "$as_me:$LINENO: result
: no
" >&5
12746 echo "${ECHO_T}no
" >&6
12748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12750 CFLAGS="$saved_CFLAGS"
12755 # Enable --enable-checking in stage1 of the compiler.
12756 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12757 if test "${enable_stage1_checking+set}" = set; then
12758 enableval="$enable_stage1_checking"
12759 stage1_checking=--enable-checking=${enable_stage1_checking}
12761 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12762 stage1_checking=--enable-checking=yes,types
12764 stage1_checking=--enable-checking=$enable_checking,types
12769 # Enable -Werror in bootstrap stage2 and later.
12770 # Check whether --enable-werror or --disable-werror was given.
12771 if test "${enable_werror+set}" = set; then
12772 enableval="$enable_werror"
12775 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12781 case ${enable_werror} in
12782 yes) stage2_werror_flag="--enable-werror-always" ;;
12783 *) stage2_werror_flag="" ;;
12787 # Flags needed to enable html installing and building
12789 # Check whether --with-datarootdir or --without-datarootdir was given.
12790 if test "${with_datarootdir+set}" = set; then
12791 withval="$with_datarootdir"
12792 datarootdir="\
${prefix}/${withval}"
12794 datarootdir="\
${prefix}/share
"
12798 # Check whether --with-docdir or --without-docdir was given.
12799 if test "${with_docdir+set}" = set; then
12800 withval="$with_docdir"
12801 docdir="\
${prefix}/${withval}"
12803 docdir="\
${datarootdir}/doc
"
12807 # Check whether --with-pdfdir or --without-pdfdir was given.
12808 if test "${with_pdfdir+set}" = set; then
12809 withval="$with_pdfdir"
12810 pdfdir="\
${prefix}/${withval}"
12812 pdfdir="\
${docdir}"
12816 # Check whether --with-htmldir or --without-htmldir was given.
12817 if test "${with_htmldir+set}" = set; then
12818 withval="$with_htmldir"
12819 htmldir="\
${prefix}/${withval}"
12821 htmldir="\
${docdir}"
12829 ac_config_files="$ac_config_files Makefile
"
12830 cat >confcache <<\_ACEOF
12831 # This file is a shell script that caches the results of configure
12832 # tests run on this system so they can be shared between configure
12833 # scripts and configure runs, see configure's option --config-cache.
12834 # It is not useful on other systems. If it contains results you don't
12835 # want to keep, you may remove or edit it.
12837 # config.status only pays attention to the cache file if you give it
12838 # the --recheck option to rerun configure.
12840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12842 # following values.
12846 # The following way of writing the cache mishandles newlines in values,
12847 # but we know of no workaround that is simple, portable, and efficient.
12848 # So, don't put newlines in cache variables' values.
12849 # Ultrix sh set writes to stderr and can't be redirected directly,
12850 # and sets the high bit in the cache file unless we assign to the vars.
12853 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12855 # `set' does not quote correctly, so add quotes (double-quote
12856 # substitution turns \\\\ into \\, and sed turns \\ into \).
12859 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12862 # `set' quotes correctly as required by POSIX, so do not add quotes.
12864 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
12871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12873 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12875 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12876 if test -w $cache_file; then
12877 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
12878 cat confcache >$cache_file
12880 echo "not updating unwritable cache
$cache_file"
12885 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
12886 # Let make expand exec_prefix.
12887 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
12889 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12890 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12891 # trailing colons and then remove the whole line if VPATH becomes empty
12892 # (actually we leave an empty line to preserve line numbers).
12893 if test "x
$srcdir" = x.; then
12894 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12895 s/:*\$(srcdir):*/:/;
12896 s/:*\${srcdir}:*/:/;
12898 s/^\([^=]*=[ ]*\):*/\1/;
12904 # Transform confdefs.h into DEFS.
12905 # Protect against shell expansion while executing Makefile rules.
12906 # Protect against Makefile macro expansion.
12908 # If the first sed substitution is executed (which looks for macros that
12909 # take arguments), then we branch to the quote section. Otherwise,
12910 # look for a macro that doesn't take arguments.
12911 cat >confdef2opt.sed <<\_ACEOF
12914 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12916 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12920 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
12926 # We use echo to avoid assuming a particular line-breaking character.
12927 # The extra dot is to prevent the shell from consuming trailing
12928 # line-breaks from the sub-command output. A line-break within
12929 # single-quotes doesn't work because, if this script is created in a
12930 # platform that uses two characters for line-breaks (e.g., DOS), tr
12932 ac_LF_and_DOT
=`echo; echo .`
12933 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12934 rm -f confdef2opt.
sed
12939 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12940 # 1. Remove the extension, and $U if already installed.
12941 ac_i
=`echo "$ac_i" |
12942 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12944 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12945 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12947 LIBOBJS
=$ac_libobjs
12949 LTLIBOBJS
=$ac_ltlibobjs
12953 : ${CONFIG_STATUS=./config.status}
12954 ac_clean_files_save
=$ac_clean_files
12955 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12956 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12957 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12958 cat >$CONFIG_STATUS <<_ACEOF
12960 # Generated by $as_me.
12961 # Run this file to recreate the current configuration.
12962 # Compiler output produced by configure, useful for debugging
12963 # configure, is in config.log if it exists.
12966 ac_cs_recheck=false
12968 SHELL=\${CONFIG_SHELL-$SHELL}
12971 cat >>$CONFIG_STATUS <<\_ACEOF
12972 ## --------------------- ##
12973 ## M4sh Initialization. ##
12974 ## --------------------- ##
12976 # Be Bourne compatible
12977 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12980 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12981 # is contrary to our usage. Disable this feature.
12982 alias -g '${1+"$@"}'='"$@"'
12983 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12986 DUALCASE
=1; export DUALCASE
# for MKS sh
12988 # Support unset when possible.
12989 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12996 # Work around bugs in pre-3.0 UWIN ksh.
12997 $as_unset ENV MAIL MAILPATH
13004 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13005 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13006 LC_TELEPHONE LC_TIME
13008 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13009 eval $as_var=C
; export $as_var
13015 # Required to use basename.
13016 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13022 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13023 as_basename
=basename
13029 # Name of the executable.
13030 as_me
=`$as_basename "$0" ||
13031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13032 X"$0" : 'X\(//\)$' \| \
13033 X"$0" : 'X\(/\)$' \| \
13034 . : '\(.\)' 2>/dev/null ||
13036 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13037 /^X\/\(\/\/\)$/{ s//\1/; q; }
13038 /^X\/\(\/\).*/{ s//\1/; q; }
13042 # PATH needs CR, and LINENO needs CR and PATH.
13043 # Avoid depending upon Character Ranges.
13044 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13045 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13046 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13047 as_cr_digits
='0123456789'
13048 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13050 # The user is always right.
13051 if test "${PATH_SEPARATOR+set}" != set; then
13052 echo "#! /bin/sh" >conf$$.sh
13053 echo "exit 0" >>conf$$.sh
13055 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13064 as_lineno_1
=$LINENO
13065 as_lineno_2
=$LINENO
13066 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13067 test "x$as_lineno_1" != "x$as_lineno_2" &&
13068 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13069 # Find who we are. Look in the path if we contain no path at all
13072 *[\\/]* ) as_myself
=$0 ;;
13073 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13074 for as_dir
in $PATH
13077 test -z "$as_dir" && as_dir
=.
13078 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13083 # We did not find ourselves, most probably we were run as `sh COMMAND'
13084 # in which case we are not to be found in the path.
13085 if test "x$as_myself" = x
; then
13088 if test ! -f "$as_myself"; then
13089 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13090 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13091 { (exit 1); exit 1; }; }
13093 case $CONFIG_SHELL in
13095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13096 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13099 test -z "$as_dir" && as_dir
=.
13100 for as_base
in sh bash ksh sh5
; do
13103 if ("$as_dir/$as_base" -c '
13104 as_lineno_1=$LINENO
13105 as_lineno_2=$LINENO
13106 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13107 test "x$as_lineno_1" != "x$as_lineno_2" &&
13108 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13109 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13110 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13111 CONFIG_SHELL
=$as_dir/$as_base
13112 export CONFIG_SHELL
13113 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13121 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13122 # uniformly replaced by the line number. The first 'sed' inserts a
13123 # line-number line before each line; the second 'sed' does the real
13124 # work. The second script uses 'N' to pair each line-number line
13125 # with the numbered line, and appends trailing '-' during
13126 # substitution so that $LINENO is not a special case at line end.
13127 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13128 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13129 sed '=' <$as_myself |
13134 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13137 s,^['$as_cr_digits']*\n,,
13138 ' >$as_me.lineno
&&
13139 chmod +x
$as_me.lineno ||
13140 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13141 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13142 { (exit 1); exit 1; }; }
13144 # Don't try to exec as it changes $[0], causing all sort of problems
13145 # (the dirname of $[0] is not the place where we might find the
13146 # original and so on. Autoconf is especially sensible to this).
13148 # Exit status is that of the last command.
13153 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13154 *c
*,-n*) ECHO_N
= ECHO_C
='
13156 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13157 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13160 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13166 rm -f conf$$ conf$$.exe conf$$.
file
13168 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13169 # We could just check for DJGPP; but this test a) works b) is more generic
13170 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13171 if test -f conf$$.exe
; then
13172 # Don't use ln at all; we don't have any links
13177 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13182 rm -f conf$$ conf$$.exe conf$$.
file
13184 if mkdir
-p .
2>/dev
/null
; then
13187 test -d .
/-p && rmdir .
/-p
13191 as_executable_p
="test -f"
13193 # Sed expression to map a string onto a valid CPP name.
13194 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13196 # Sed expression to map a string onto a valid variable name.
13197 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13201 # We need space, tab and new line, in precisely that order.
13211 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13212 # report actual input values of CONFIG_FILES etc. instead of their
13213 # values after options handling. Logging --version etc. is OK.
13217 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13218 ## Running $as_me. ##
13223 This file was extended by $as_me, which was
13224 generated by GNU Autoconf 2.59. Invocation command line was
13226 CONFIG_FILES = $CONFIG_FILES
13227 CONFIG_HEADERS = $CONFIG_HEADERS
13228 CONFIG_LINKS = $CONFIG_LINKS
13229 CONFIG_COMMANDS = $CONFIG_COMMANDS
13233 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13237 # Files that config.status was made for.
13238 if test -n "$ac_config_files"; then
13239 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13242 if test -n "$ac_config_headers"; then
13243 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13246 if test -n "$ac_config_links"; then
13247 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13250 if test -n "$ac_config_commands"; then
13251 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13254 cat >>$CONFIG_STATUS <<\_ACEOF
13257 \`$as_me' instantiates files from templates according to the
13258 current configuration.
13260 Usage: $0 [OPTIONS] [FILE]...
13262 -h, --help print this help, then exit
13263 -V, --version print version number, then exit
13264 -q, --quiet do not print progress messages
13265 -d, --debug don't remove temporary files
13266 --recheck update $as_me by reconfiguring in the same conditions
13267 --file=FILE[:TEMPLATE]
13268 instantiate the configuration file FILE
13270 Configuration files:
13273 Report bugs to <bug-autoconf@gnu.org>."
13276 cat >>$CONFIG_STATUS <<_ACEOF
13279 configured by $0, generated by GNU Autoconf 2.59,
13280 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13282 Copyright (C) 2003 Free Software Foundation, Inc.
13283 This config.status script is free software; the Free Software Foundation
13284 gives unlimited permission to copy, distribute and modify it."
13289 cat >>$CONFIG_STATUS <<\_ACEOF
13290 # If no file are specified by the user, then we need to provide default
13291 # value. By we need to know if files were specified by the user.
13297 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13298 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13306 *) # This is not an option, so the user has probably given explicit
13309 ac_need_defaults
=false
;;
13313 # Handling of the options.
13315 cat >>$CONFIG_STATUS <<\_ACEOF
13316 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13318 --version |
--vers* |
-V )
13319 echo "$ac_cs_version"; exit 0 ;;
13321 # Conflict between --help and --header
13322 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13323 Try \`$0 --help' for more information." >&5
13324 echo "$as_me: error: ambiguous option: $1
13325 Try \`$0 --help' for more information." >&2;}
13326 { (exit 1); exit 1; }; };;
13327 --help |
--hel |
-h )
13328 echo "$ac_cs_usage"; exit 0 ;;
13329 --debug |
--d* |
-d )
13331 --file |
--fil |
--fi |
--f )
13333 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13334 ac_need_defaults
=false
;;
13335 --header |
--heade |
--head |
--hea )
13337 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13338 ac_need_defaults
=false
;;
13339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13340 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13343 # This is an error.
13344 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13345 Try \`$0 --help' for more information." >&5
13346 echo "$as_me: error: unrecognized option: $1
13347 Try \`$0 --help' for more information." >&2;}
13348 { (exit 1); exit 1; }; } ;;
13350 *) ac_config_targets
="$ac_config_targets $1" ;;
13356 ac_configure_extra_args
=
13358 if $ac_cs_silent; then
13360 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13364 cat >>$CONFIG_STATUS <<_ACEOF
13365 if \$ac_cs_recheck; then
13366 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13367 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13376 cat >>$CONFIG_STATUS <<\_ACEOF
13377 for ac_config_target
in $ac_config_targets
13379 case "$ac_config_target" in
13380 # Handling of arguments.
13381 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13382 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13383 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13384 { (exit 1); exit 1; }; };;
13388 # If the user did not use the arguments to specify the items to instantiate,
13389 # then the envvar interface is used. Set only those that are not.
13390 # We use the long form for the default assignment because of an extremely
13391 # bizarre bug on SunOS 4.1.3.
13392 if $ac_need_defaults; then
13393 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13396 # Have a temporary directory for convenience. Make it in the build tree
13397 # simply because there is no reason to put it here, and in addition,
13398 # creating and moving files from /tmp can sometimes cause problems.
13399 # Create a temporary directory, and hook for its removal unless debugging.
13402 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13403 trap '{ (exit 1); exit 1; }' 1 2 13 15
13406 # Create a (secure) tmp directory for tmp files.
13409 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13410 test -n "$tmp" && test -d "$tmp"
13413 tmp
=.
/confstat$$
-$RANDOM
13414 (umask 077 && mkdir
$tmp)
13417 echo "$me: cannot create a temporary directory in ." >&2
13418 { (exit 1); exit 1; }
13423 cat >>$CONFIG_STATUS <<_ACEOF
13426 # CONFIG_FILES section.
13429 # No need to generate the scripts if there are no CONFIG_FILES.
13430 # This happens for instance when ./config.status config.h
13431 if test -n "\$CONFIG_FILES"; then
13432 # Protect against being on the right side of a sed subst in config.status.
13433 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13434 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13435 s,@SHELL@,$SHELL,;t t
13436 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13437 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13438 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13439 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13440 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13441 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13442 s,@exec_prefix@,$exec_prefix,;t t
13443 s,@prefix@,$prefix,;t t
13444 s,@program_transform_name@,$program_transform_name,;t t
13445 s,@bindir@,$bindir,;t t
13446 s,@sbindir@,$sbindir,;t t
13447 s,@libexecdir@,$libexecdir,;t t
13448 s,@datadir@,$datadir,;t t
13449 s,@sysconfdir@,$sysconfdir,;t t
13450 s,@sharedstatedir@,$sharedstatedir,;t t
13451 s,@localstatedir@,$localstatedir,;t t
13452 s,@libdir@,$libdir,;t t
13453 s,@includedir@,$includedir,;t t
13454 s,@oldincludedir@,$oldincludedir,;t t
13455 s,@infodir@,$infodir,;t t
13456 s,@mandir@,$mandir,;t t
13457 s,@build_alias@,$build_alias,;t t
13458 s,@host_alias@,$host_alias,;t t
13459 s,@target_alias@,$target_alias,;t t
13460 s,@DEFS@,$DEFS,;t t
13461 s,@ECHO_C@,$ECHO_C,;t t
13462 s,@ECHO_N@,$ECHO_N,;t t
13463 s,@ECHO_T@,$ECHO_T,;t t
13464 s,@LIBS@,$LIBS,;t t
13465 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13466 s,@build@,$build,;t t
13467 s,@build_cpu@,$build_cpu,;t t
13468 s,@build_vendor@,$build_vendor,;t t
13469 s,@build_os@,$build_os,;t t
13470 s,@build_noncanonical@,$build_noncanonical,;t t
13471 s,@host_noncanonical@,$host_noncanonical,;t t
13472 s,@target_noncanonical@,$target_noncanonical,;t t
13473 s,@host@,$host,;t t
13474 s,@host_cpu@,$host_cpu,;t t
13475 s,@host_vendor@,$host_vendor,;t t
13476 s,@host_os@,$host_os,;t t
13477 s,@target@,$target,;t t
13478 s,@target_cpu@,$target_cpu,;t t
13479 s,@target_vendor@,$target_vendor,;t t
13480 s,@target_os@,$target_os,;t t
13481 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13482 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13483 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13485 s,@LN_S@,$LN_S,;t t
13486 s,@build_libsubdir@,$build_libsubdir,;t t
13487 s,@build_subdir@,$build_subdir,;t t
13488 s,@host_subdir@,$host_subdir,;t t
13489 s,@target_subdir@,$target_subdir,;t t
13491 s,@CFLAGS@,$CFLAGS,;t t
13492 s,@LDFLAGS@,$LDFLAGS,;t t
13493 s,@CPPFLAGS@,$CPPFLAGS,;t t
13494 s,@ac_ct_CC@,$ac_ct_CC,;t t
13495 s,@EXEEXT@,$EXEEXT,;t t
13496 s,@OBJEXT@,$OBJEXT,;t t
13498 s,@CXXFLAGS@,$CXXFLAGS,;t t
13499 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13500 s,@GNATBIND@,$GNATBIND,;t t
13501 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13502 s,@GNATMAKE@,$GNATMAKE,;t t
13503 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13504 s,@do_compare@,$do_compare,;t t
13505 s,@gmplibs@,$gmplibs,;t t
13506 s,@gmpinc@,$gmpinc,;t t
13507 s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
13508 s,@extra_mpc_gmp_configure_flags@,$extra_mpc_gmp_configure_flags,;t t
13509 s,@extra_mpc_mpfr_configure_flags@,$extra_mpc_mpfr_configure_flags,;t t
13510 s,@ppllibs@,$ppllibs,;t t
13511 s,@pplinc@,$pplinc,;t t
13512 s,@clooglibs@,$clooglibs,;t t
13513 s,@clooginc@,$clooginc,;t t
13514 s,@stage1_languages@,$stage1_languages,;t t
13515 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13516 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13517 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13518 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13519 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13520 s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13521 s,@tooldir@,$tooldir,;t t
13522 s,@build_tooldir@,$build_tooldir,;t t
13523 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13524 s,@GDB_TK@,$GDB_TK,;t t
13525 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13526 s,@build_configargs@,$build_configargs,;t t
13527 s,@build_configdirs@,$build_configdirs,;t t
13528 s,@host_configargs@,$host_configargs,;t t
13529 s,@configdirs@,$configdirs,;t t
13530 s,@target_configargs@,$target_configargs,;t t
13531 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13532 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13533 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13534 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13535 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13536 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13537 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13538 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13539 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13540 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13541 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13542 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13543 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13544 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13545 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13546 s,@config_shell@,$config_shell,;t t
13547 s,@YACC@,$YACC,;t t
13548 s,@BISON@,$BISON,;t t
13551 s,@FLEX@,$FLEX,;t t
13552 s,@MAKEINFO@,$MAKEINFO,;t t
13553 s,@EXPECT@,$EXPECT,;t t
13554 s,@RUNTEST@,$RUNTEST,;t t
13557 s,@DLLTOOL@,$DLLTOOL,;t t
13559 s,@LIPO@,$LIPO,;t t
13561 s,@RANLIB@,$RANLIB,;t t
13562 s,@STRIP@,$STRIP,;t t
13563 s,@WINDRES@,$WINDRES,;t t
13564 s,@WINDMC@,$WINDMC,;t t
13565 s,@OBJCOPY@,$OBJCOPY,;t t
13566 s,@OBJDUMP@,$OBJDUMP,;t t
13567 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13568 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13569 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13570 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13571 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13572 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13573 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13574 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13575 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13576 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13577 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13578 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13579 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13580 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13581 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13582 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13583 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13584 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13585 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13586 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13587 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13588 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13589 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13590 s,@MAINT@,$MAINT,;t t
13591 s,@stage1_cflags@,$stage1_cflags,;t t
13592 s,@stage1_checking@,$stage1_checking,;t t
13593 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13594 s,@datarootdir@,$datarootdir,;t t
13595 s,@docdir@,$docdir,;t t
13596 s,@pdfdir@,$pdfdir,;t t
13597 s,@htmldir@,$htmldir,;t t
13598 s,@LIBOBJS@,$LIBOBJS,;t t
13599 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13600 /@serialization_dependencies@/r $serialization_dependencies
13601 s,@serialization_dependencies@,,;t t
13602 /@host_makefile_frag@/r $host_makefile_frag
13603 s,@host_makefile_frag@,,;t t
13604 /@target_makefile_frag@/r $target_makefile_frag
13605 s,@target_makefile_frag@,,;t t
13606 /@alphaieee_frag@/r $alphaieee_frag
13607 s,@alphaieee_frag@,,;t t
13608 /@ospace_frag@/r $ospace_frag
13609 s,@ospace_frag@,,;t t
13614 cat >>$CONFIG_STATUS <<\_ACEOF
13615 # Split the substitutions into bite-sized pieces for seds with
13616 # small command number limits, like on Digital OSF/1 and HP-UX.
13617 ac_max_sed_lines
=48
13618 ac_sed_frag
=1 # Number of current file.
13619 ac_beg
=1 # First line for current file.
13620 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13623 while $ac_more_lines; do
13624 if test $ac_beg -gt 1; then
13625 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13627 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13629 if test ! -s $tmp/subs.frag
; then
13630 ac_more_lines
=false
13632 # The purpose of the label and of the branching condition is to
13633 # speed up the sed processing (if there are no `@' at all, there
13634 # is no need to browse any of the substitutions).
13635 # These are the two extra sed commands mentioned above.
13637 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13638 if test -z "$ac_sed_cmds"; then
13639 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13641 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13643 ac_sed_frag
=`expr $ac_sed_frag + 1`
13645 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13648 if test -z "$ac_sed_cmds"; then
13651 fi # test -n "$CONFIG_FILES"
13654 cat >>$CONFIG_STATUS <<\_ACEOF
13655 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13656 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13658 - |
*:- |
*:-:* ) # input from stdin
13660 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13661 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13662 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13663 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13664 * ) ac_file_in
=$ac_file.
in ;;
13667 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13668 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13670 X"$ac_file" : 'X\(//\)[^/]' \| \
13671 X"$ac_file" : 'X\(//\)$' \| \
13672 X"$ac_file" : 'X\(/\)' \| \
13673 . : '\(.\)' 2>/dev/null ||
13675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13677 /^X\(\/\/\)$/{ s//\1/; q; }
13678 /^X\(\/\).*/{ s//\1/; q; }
13680 { if $as_mkdir_p; then
13685 while test ! -d "$as_dir"; do
13686 as_dirs
="$as_dir $as_dirs"
13687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13689 X"$as_dir" : 'X\(//\)[^/]' \| \
13690 X"$as_dir" : 'X\(//\)$' \| \
13691 X"$as_dir" : 'X\(/\)' \| \
13692 . : '\(.\)' 2>/dev/null ||
13694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13696 /^X\(\/\/\)$/{ s//\1/; q; }
13697 /^X\(\/\).*/{ s//\1/; q; }
13700 test ! -n "$as_dirs" || mkdir
$as_dirs
13701 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13703 { (exit 1); exit 1; }; }; }
13707 if test "$ac_dir" != .
; then
13708 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13709 # A "../" for each directory in $ac_dir_suffix.
13710 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13712 ac_dir_suffix
= ac_top_builddir
=
13716 .
) # No --srcdir option. We are building in place.
13718 if test -z "$ac_top_builddir"; then
13721 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13723 [\\/]* | ?
:[\\/]* ) # Absolute path.
13724 ac_srcdir
=$srcdir$ac_dir_suffix;
13725 ac_top_srcdir
=$srcdir ;;
13726 *) # Relative path.
13727 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13728 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13731 # Do not use `cd foo && pwd` to compute absolute paths, because
13732 # the directories may not exist.
13734 .
) ac_abs_builddir
="$ac_dir";;
13737 .
) ac_abs_builddir
=`pwd`;;
13738 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13739 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13742 case $ac_abs_builddir in
13743 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13745 case ${ac_top_builddir}.
in
13746 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13747 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13748 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13751 case $ac_abs_builddir in
13752 .
) ac_abs_srcdir
=$ac_srcdir;;
13755 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13756 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13757 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13760 case $ac_abs_builddir in
13761 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13763 case $ac_top_srcdir in
13764 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13765 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13766 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13772 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13773 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13776 if test x
"$ac_file" != x-
; then
13777 { echo "$as_me:$LINENO: creating $ac_file" >&5
13778 echo "$as_me: creating $ac_file" >&6;}
13781 # Let's still pretend it is `configure' which instantiates (i.e., don't
13782 # use $as_me), people would be surprised to read:
13783 # /* config.h. Generated by config.status. */
13784 if test x
"$ac_file" = x-
; then
13787 configure_input
="$ac_file. "
13789 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13790 sed 's,.*/,,'` by configure."
13792 # First look for the input files in the build tree, otherwise in the
13794 ac_file_inputs
=`IFS=:
13795 for f in $ac_file_in; do
13797 -) echo $tmp/stdin ;;
13799 # Absolute (can't be DOS-style, as IFS=:)
13800 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13801 echo "$as_me: error: cannot find input file: $f" >&2;}
13802 { (exit 1); exit 1; }; }
13805 if test -f "$f"; then
13808 elif test -f "$srcdir/$f"; then
13813 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13814 echo "$as_me: error: cannot find input file: $f" >&2;}
13815 { (exit 1); exit 1; }; }
13818 done` ||
{ (exit 1); exit 1; }
13820 cat >>$CONFIG_STATUS <<_ACEOF
13824 cat >>$CONFIG_STATUS <<\_ACEOF
13826 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13827 s
,@configure_input@
,$configure_input,;t t
13828 s
,@srcdir@
,$ac_srcdir,;t t
13829 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13830 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13831 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13832 s
,@builddir@
,$ac_builddir,;t t
13833 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13834 s
,@top_builddir@
,$ac_top_builddir,;t t
13835 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13836 s
,@INSTALL@
,$ac_INSTALL,;t t
13837 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13839 if test x"$ac_file" != x-; then
13840 mv $tmp/out $ac_file
13849 cat >>$CONFIG_STATUS <<\_ACEOF
13851 { (exit 0); exit 0; }
13853 chmod +x $CONFIG_STATUS
13854 ac_clean_files=$ac_clean_files_save
13857 # configure is writing to config.log, and then calls config.status.
13858 # config.status does its own redirection, appending to config.log.
13859 # Unfortunately, on DOS this fails, as config.log is still kept open
13860 # by configure, so config.status won't be able to write to it; its
13861 # output is simply discarded. So we exec the FD to /dev/null,
13862 # effectively closing config.log, so it can be properly (re)opened and
13863 # appended to by config.status. When coming back to configure, we
13864 # need to make the FD available again.
13865 if test "$no_create" != yes; then
13867 ac_config_status_args=
13868 test "$silent" = yes &&
13869 ac_config_status_args="$ac_config_status_args --quiet"
13871 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13873 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13874 # would make configure fail if this is the last instruction.
13875 $ac_cs_success || { (exit 1); exit 1; }